@danielx/civet 0.5.61 → 0.5.63

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.mjs CHANGED
@@ -504,6 +504,7 @@ ${input.slice(result.pos)}
504
504
  MemberBracketContent,
505
505
  SliceParameters,
506
506
  PropertyAccess,
507
+ PropertyGlob,
507
508
  SuperProperty,
508
509
  MetaProperty,
509
510
  Parameters,
@@ -561,10 +562,14 @@ ${input.slice(result.pos)}
561
562
  Block,
562
563
  ThenClause,
563
564
  BracedOrEmptyBlock,
565
+ NoPostfixBracedOrEmptyBlock,
564
566
  EmptyBlock,
565
567
  EmptyBareBlock,
566
568
  BracedBlock,
569
+ NoPostfixBracedBlock,
570
+ NonSingleBracedBlock,
567
571
  SingleLineStatements,
572
+ PostfixedSingleLineStatements,
568
573
  BracedContent,
569
574
  NestedBlockStatements,
570
575
  NestedBlockStatement,
@@ -620,6 +625,8 @@ ${input.slice(result.pos)}
620
625
  UnaryOp,
621
626
  ModuleItem,
622
627
  StatementListItem,
628
+ PostfixedStatement,
629
+ PostfixedExpression,
623
630
  PostfixStatement,
624
631
  Statement,
625
632
  EmptyStatement,
@@ -1011,10 +1018,10 @@ ${input.slice(result.pos)}
1011
1018
  var $L13 = $L("import");
1012
1019
  var $L14 = $L("!");
1013
1020
  var $L15 = $L("-");
1014
- var $L16 = $L("super[");
1015
- var $L17 = $L("import.meta");
1016
- var $L18 = $L("");
1017
- var $L19 = $L(")");
1021
+ var $L16 = $L("import.meta");
1022
+ var $L17 = $L("");
1023
+ var $L18 = $L(")");
1024
+ var $L19 = $L(",");
1018
1025
  var $L20 = $L("->");
1019
1026
  var $L21 = $L("}");
1020
1027
  var $L22 = $L("null");
@@ -1100,75 +1107,74 @@ ${input.slice(result.pos)}
1100
1107
  var $L102 = $L("catch");
1101
1108
  var $L103 = $L("class");
1102
1109
  var $L104 = $L("#{");
1103
- var $L105 = $L(",");
1104
- var $L106 = $L("declare");
1105
- var $L107 = $L("default");
1106
- var $L108 = $L("delete");
1107
- var $L109 = $L("do");
1108
- var $L110 = $L("..");
1109
- var $L111 = $L("...");
1110
- var $L112 = $L("::");
1111
- var $L113 = $L('"');
1112
- var $L114 = $L("else");
1113
- var $L115 = $L("export");
1114
- var $L116 = $L("extends");
1115
- var $L117 = $L("finally");
1116
- var $L118 = $L("for");
1117
- var $L119 = $L("from");
1118
- var $L120 = $L("function");
1119
- var $L121 = $L("get");
1120
- var $L122 = $L("set");
1121
- var $L123 = $L("if");
1122
- var $L124 = $L("let");
1123
- var $L125 = $L("const");
1124
- var $L126 = $L("loop");
1125
- var $L127 = $L("new");
1126
- var $L128 = $L("<");
1127
- var $L129 = $L("{");
1128
- var $L130 = $L("operator");
1129
- var $L131 = $L("public");
1130
- var $L132 = $L("private");
1131
- var $L133 = $L("protected");
1132
- var $L134 = $L("|>");
1133
- var $L135 = $L("readonly");
1134
- var $L136 = $L("return");
1135
- var $L137 = $L("satisfies");
1136
- var $L138 = $L("'");
1137
- var $L139 = $L("static");
1138
- var $L140 = $L("${");
1139
- var $L141 = $L("switch");
1140
- var $L142 = $L("target");
1141
- var $L143 = $L("then");
1142
- var $L144 = $L("this");
1143
- var $L145 = $L("throw");
1144
- var $L146 = $L('"""');
1145
- var $L147 = $L("'''");
1146
- var $L148 = $L("///");
1147
- var $L149 = $L("```");
1148
- var $L150 = $L("try");
1149
- var $L151 = $L("typeof");
1150
- var $L152 = $L("unless");
1151
- var $L153 = $L("until");
1152
- var $L154 = $L("var");
1153
- var $L155 = $L("void");
1154
- var $L156 = $L("when");
1155
- var $L157 = $L("while");
1156
- var $L158 = $L("yield");
1157
- var $L159 = $L("/>");
1158
- var $L160 = $L("</");
1159
- var $L161 = $L("<>");
1160
- var $L162 = $L("</>");
1161
- var $L163 = $L("<!--");
1162
- var $L164 = $L("-->");
1163
- var $L165 = $L("type");
1164
- var $L166 = $L("interface");
1165
- var $L167 = $L("namespace");
1166
- var $L168 = $L("asserts");
1167
- var $L169 = $L("keyof");
1168
- var $L170 = $L("infer");
1169
- var $L171 = $L("[]");
1170
- var $L172 = $L("civet");
1171
- var $R0 = $R(new RegExp("(as|for|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1110
+ var $L105 = $L("declare");
1111
+ var $L106 = $L("default");
1112
+ var $L107 = $L("delete");
1113
+ var $L108 = $L("do");
1114
+ var $L109 = $L("..");
1115
+ var $L110 = $L("...");
1116
+ var $L111 = $L("::");
1117
+ var $L112 = $L('"');
1118
+ var $L113 = $L("else");
1119
+ var $L114 = $L("export");
1120
+ var $L115 = $L("extends");
1121
+ var $L116 = $L("finally");
1122
+ var $L117 = $L("for");
1123
+ var $L118 = $L("from");
1124
+ var $L119 = $L("function");
1125
+ var $L120 = $L("get");
1126
+ var $L121 = $L("set");
1127
+ var $L122 = $L("if");
1128
+ var $L123 = $L("let");
1129
+ var $L124 = $L("const");
1130
+ var $L125 = $L("loop");
1131
+ var $L126 = $L("new");
1132
+ var $L127 = $L("<");
1133
+ var $L128 = $L("{");
1134
+ var $L129 = $L("operator");
1135
+ var $L130 = $L("public");
1136
+ var $L131 = $L("private");
1137
+ var $L132 = $L("protected");
1138
+ var $L133 = $L("|>");
1139
+ var $L134 = $L("readonly");
1140
+ var $L135 = $L("return");
1141
+ var $L136 = $L("satisfies");
1142
+ var $L137 = $L("'");
1143
+ var $L138 = $L("static");
1144
+ var $L139 = $L("${");
1145
+ var $L140 = $L("switch");
1146
+ var $L141 = $L("target");
1147
+ var $L142 = $L("then");
1148
+ var $L143 = $L("this");
1149
+ var $L144 = $L("throw");
1150
+ var $L145 = $L('"""');
1151
+ var $L146 = $L("'''");
1152
+ var $L147 = $L("///");
1153
+ var $L148 = $L("```");
1154
+ var $L149 = $L("try");
1155
+ var $L150 = $L("typeof");
1156
+ var $L151 = $L("unless");
1157
+ var $L152 = $L("until");
1158
+ var $L153 = $L("var");
1159
+ var $L154 = $L("void");
1160
+ var $L155 = $L("when");
1161
+ var $L156 = $L("while");
1162
+ var $L157 = $L("yield");
1163
+ var $L158 = $L("/>");
1164
+ var $L159 = $L("</");
1165
+ var $L160 = $L("<>");
1166
+ var $L161 = $L("</>");
1167
+ var $L162 = $L("<!--");
1168
+ var $L163 = $L("-->");
1169
+ var $L164 = $L("type");
1170
+ var $L165 = $L("interface");
1171
+ var $L166 = $L("namespace");
1172
+ var $L167 = $L("asserts");
1173
+ var $L168 = $L("keyof");
1174
+ var $L169 = $L("infer");
1175
+ var $L170 = $L("[]");
1176
+ var $L171 = $L("civet");
1177
+ var $R0 = $R(new RegExp("(as|for|while|until|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1172
1178
  var $R1 = $R(new RegExp("[0-9]", "suy"));
1173
1179
  var $R2 = $R(new RegExp("[&]", "suy"));
1174
1180
  var $R3 = $R(new RegExp("[!~+-]+", "suy"));
@@ -1549,7 +1555,7 @@ ${input.slice(result.pos)}
1549
1555
  return result;
1550
1556
  }
1551
1557
  }
1552
- var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1558
+ var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|while|until|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1553
1559
  var ForbiddenImplicitCalls$1 = $EXPECT($L0, fail, 'ForbiddenImplicitCalls "/ "');
1554
1560
  var ForbiddenImplicitCalls$2 = AtAt;
1555
1561
  var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L1, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
@@ -2344,10 +2350,11 @@ ${input.slice(result.pos)}
2344
2350
  return result;
2345
2351
  }
2346
2352
  }
2347
- var FatArrowBody$0 = ExplicitBlock;
2348
- var FatArrowBody$1 = ImplicitNestedBlock;
2349
- var FatArrowBody$2 = AssignmentExpression;
2350
- var FatArrowBody$3 = EmptyBlock;
2353
+ var FatArrowBody$0 = $T($S($N(EOS), PostfixedExpression, $N(SemicolonDelimiter)), function(value) {
2354
+ var exp = value[1];
2355
+ return exp;
2356
+ });
2357
+ var FatArrowBody$1 = BracedOrEmptyBlock;
2351
2358
  function FatArrowBody(state) {
2352
2359
  let eventData;
2353
2360
  if (state.events) {
@@ -2359,12 +2366,12 @@ ${input.slice(result.pos)}
2359
2366
  }
2360
2367
  }
2361
2368
  if (state.tokenize) {
2362
- const result = $TOKEN("FatArrowBody", state, FatArrowBody$0(state) || FatArrowBody$1(state) || FatArrowBody$2(state) || FatArrowBody$3(state));
2369
+ const result = $TOKEN("FatArrowBody", state, FatArrowBody$0(state) || FatArrowBody$1(state));
2363
2370
  if (state.events)
2364
2371
  state.events.exit?.("FatArrowBody", state, result, eventData);
2365
2372
  return result;
2366
2373
  } else {
2367
- const result = FatArrowBody$0(state) || FatArrowBody$1(state) || FatArrowBody$2(state) || FatArrowBody$3(state);
2374
+ const result = FatArrowBody$0(state) || FatArrowBody$1(state);
2368
2375
  if (state.events)
2369
2376
  state.events.exit?.("FatArrowBody", state, result, eventData);
2370
2377
  return result;
@@ -2605,11 +2612,11 @@ ${input.slice(result.pos)}
2605
2612
  return result;
2606
2613
  }
2607
2614
  }
2608
- var ParenthesizedExpression$0 = $TS($S(OpenParen, ExtendedExpression, $E($S($Q(TrailingComment), PostfixStatement)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
2615
+ var ParenthesizedExpression$0 = $TS($S(OpenParen, PostfixedExpression, __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4) {
2609
2616
  var exp = $2;
2610
- var post = $3;
2611
- if (post) {
2612
- return module.attachPostfixStatementAsExpression(exp, post);
2617
+ switch (exp.type) {
2618
+ case "IterationExpression":
2619
+ return $2;
2613
2620
  }
2614
2621
  return {
2615
2622
  type: "ParenthesizedExpression",
@@ -3223,17 +3230,17 @@ ${input.slice(result.pos)}
3223
3230
  }
3224
3231
  var CallExpression$0 = $TS($S($EXPECT($L12, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3225
3232
  var rest = $3;
3226
- return {
3233
+ return module.processGlob({
3227
3234
  type: "CallExpression",
3228
3235
  children: [$1, ...$2, ...rest.flat()]
3229
- };
3236
+ });
3230
3237
  });
3231
3238
  var CallExpression$1 = $TS($S($EXPECT($L13, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3232
3239
  var rest = $3;
3233
- return {
3240
+ return module.processGlob({
3234
3241
  type: "CallExpression",
3235
3242
  children: [$1, ...$2, ...rest.flat()]
3236
- };
3243
+ });
3237
3244
  });
3238
3245
  var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3239
3246
  var member = $1;
@@ -3241,10 +3248,10 @@ ${input.slice(result.pos)}
3241
3248
  var rest = $3;
3242
3249
  if (rest.length || trailing.length) {
3243
3250
  rest = rest.flat();
3244
- return {
3245
- type: rest.length && rest[rest.length - 1].type === "Call" ? "CallExpression" : "MemberExpression",
3251
+ return module.processGlob({
3252
+ type: "CallExpression",
3246
3253
  children: [member, ...trailing, ...rest]
3247
- };
3254
+ });
3248
3255
  }
3249
3256
  return member;
3250
3257
  });
@@ -3271,7 +3278,12 @@ ${input.slice(result.pos)}
3271
3278
  }
3272
3279
  }
3273
3280
  var CallExpressionRest$0 = MemberExpressionRest;
3274
- var CallExpressionRest$1 = TemplateLiteral;
3281
+ var CallExpressionRest$1 = $TV($C(TemplateLiteral, StringLiteral), function($skip, $loc, $0, $1) {
3282
+ if ($1.type === "StringLiteral") {
3283
+ return "`" + $1.token.slice(1, -1).replace(/(`|\$\{)/g, "\\$1") + "`";
3284
+ }
3285
+ return $1;
3286
+ });
3275
3287
  var CallExpressionRest$2 = $TS($S($E($C(OptionalShorthand, NonNullAssertion)), ArgumentsWithTrailingMemberExpressions), function($skip, $loc, $0, $1, $2) {
3276
3288
  if (!$1)
3277
3289
  return $2;
@@ -3352,18 +3364,16 @@ ${input.slice(result.pos)}
3352
3364
  return result;
3353
3365
  }
3354
3366
  }
3355
- var MemberExpression$0 = $TS($S(PrimaryExpression, $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3367
+ var MemberExpression$0 = $TS($S($C(PrimaryExpression, SuperProperty, MetaProperty), $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3356
3368
  var rest = $2;
3357
- if (rest.length) {
3358
- return {
3369
+ if (rest.length || Array.isArray($1)) {
3370
+ return module.processGlob({
3359
3371
  type: "MemberExpression",
3360
- children: [$1].concat(rest.flat())
3361
- };
3372
+ children: [$1, ...rest].flat()
3373
+ });
3362
3374
  }
3363
3375
  return $1;
3364
3376
  });
3365
- var MemberExpression$1 = SuperProperty;
3366
- var MemberExpression$2 = MetaProperty;
3367
3377
  function MemberExpression(state) {
3368
3378
  let eventData;
3369
3379
  if (state.events) {
@@ -3375,12 +3385,12 @@ ${input.slice(result.pos)}
3375
3385
  }
3376
3386
  }
3377
3387
  if (state.tokenize) {
3378
- const result = $TOKEN("MemberExpression", state, MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state));
3388
+ const result = $TOKEN("MemberExpression", state, MemberExpression$0(state));
3379
3389
  if (state.events)
3380
3390
  state.events.exit?.("MemberExpression", state, result, eventData);
3381
3391
  return result;
3382
3392
  } else {
3383
- const result = MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state);
3393
+ const result = MemberExpression$0(state);
3384
3394
  if (state.events)
3385
3395
  state.events.exit?.("MemberExpression", state, result, eventData);
3386
3396
  return result;
@@ -3396,7 +3406,8 @@ ${input.slice(result.pos)}
3396
3406
  return $2;
3397
3407
  });
3398
3408
  var MemberExpressionRest$1 = PropertyAccess;
3399
- var MemberExpressionRest$2 = NonNullAssertion;
3409
+ var MemberExpressionRest$2 = PropertyGlob;
3410
+ var MemberExpressionRest$3 = NonNullAssertion;
3400
3411
  function MemberExpressionRest(state) {
3401
3412
  let eventData;
3402
3413
  if (state.events) {
@@ -3408,18 +3419,18 @@ ${input.slice(result.pos)}
3408
3419
  }
3409
3420
  }
3410
3421
  if (state.tokenize) {
3411
- const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state));
3422
+ const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state));
3412
3423
  if (state.events)
3413
3424
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3414
3425
  return result;
3415
3426
  } else {
3416
- const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state);
3427
+ const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state);
3417
3428
  if (state.events)
3418
3429
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3419
3430
  return result;
3420
3431
  }
3421
3432
  }
3422
- var MemberBracketContent$0 = $TS($S(OpenBracket, $C(SliceParameters, ExtendedExpression), __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
3433
+ var MemberBracketContent$0 = $TS($S(OpenBracket, $C(SliceParameters, PostfixedExpression), __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
3423
3434
  var open = $1;
3424
3435
  var exp = $2;
3425
3436
  var ws = $3;
@@ -3608,7 +3619,37 @@ ${input.slice(result.pos)}
3608
3619
  return result;
3609
3620
  }
3610
3621
  }
3611
- var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3622
+ var PropertyGlob$0 = $TS($S(Dot, ObjectBindingPattern), function($skip, $loc, $0, $1, $2) {
3623
+ var pattern = $2;
3624
+ return {
3625
+ type: "PropertyGlob",
3626
+ pattern,
3627
+ children: $0
3628
+ };
3629
+ });
3630
+ function PropertyGlob(state) {
3631
+ let eventData;
3632
+ if (state.events) {
3633
+ const result = state.events.enter?.("PropertyGlob", state);
3634
+ if (result) {
3635
+ if (result.cache)
3636
+ return result.cache;
3637
+ eventData = result.data;
3638
+ }
3639
+ }
3640
+ if (state.tokenize) {
3641
+ const result = $TOKEN("PropertyGlob", state, PropertyGlob$0(state));
3642
+ if (state.events)
3643
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3644
+ return result;
3645
+ } else {
3646
+ const result = PropertyGlob$0(state);
3647
+ if (state.events)
3648
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3649
+ return result;
3650
+ }
3651
+ }
3652
+ var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), MemberBracketContent);
3612
3653
  var SuperProperty$1 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3613
3654
  function SuperProperty(state) {
3614
3655
  let eventData;
@@ -3633,7 +3674,7 @@ ${input.slice(result.pos)}
3633
3674
  }
3634
3675
  }
3635
3676
  var MetaProperty$0 = $S(New, Dot, Target);
3636
- var MetaProperty$1 = $TS($S($EXPECT($L17, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3677
+ var MetaProperty$1 = $TS($S($EXPECT($L16, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3637
3678
  return { $loc, token: $1 };
3638
3679
  });
3639
3680
  function MetaProperty(state) {
@@ -3659,7 +3700,7 @@ ${input.slice(result.pos)}
3659
3700
  }
3660
3701
  }
3661
3702
  var Parameters$0 = NonEmptyParameters;
3662
- var Parameters$1 = $TV($EXPECT($L18, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3703
+ var Parameters$1 = $TV($EXPECT($L17, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3663
3704
  return {
3664
3705
  type: "Parameters",
3665
3706
  children: [{ $loc, token: "()" }],
@@ -3820,7 +3861,7 @@ ${input.slice(result.pos)}
3820
3861
  }
3821
3862
  }
3822
3863
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3823
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L19, fail, 'ParameterElementDelimiter ")"')));
3864
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3824
3865
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3825
3866
  return value[1];
3826
3867
  });
@@ -3982,7 +4023,8 @@ ${input.slice(result.pos)}
3982
4023
  var c = $2;
3983
4024
  return {
3984
4025
  type: "ObjectBindingPattern",
3985
- children: [$1, ...c.children, ...$3, $4],
4026
+ children: [$1, ...c.children, $3, $4],
4027
+ content: c.children,
3986
4028
  names: c.names
3987
4029
  };
3988
4030
  });
@@ -4279,23 +4321,32 @@ ${input.slice(result.pos)}
4279
4321
  }
4280
4322
  var BindingProperty$0 = BindingRestProperty;
4281
4323
  var BindingProperty$1 = $TS($S($E(_), PropertyName, __, Colon, $C(BindingIdentifier, BindingPattern), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4324
+ var name = $2;
4282
4325
  var b = $5;
4326
+ var init = $6;
4283
4327
  return {
4328
+ name,
4329
+ value: b,
4330
+ init,
4284
4331
  names: b.names,
4285
4332
  children: $0
4286
4333
  };
4287
4334
  });
4288
4335
  var BindingProperty$2 = $TS($S(BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2) {
4289
4336
  var b = $1;
4337
+ var init = $2;
4290
4338
  if (b.type === "AtBinding") {
4291
4339
  return {
4292
4340
  type: "AtBindingProperty",
4293
4341
  ref: b.ref,
4342
+ init,
4294
4343
  names: [],
4295
4344
  children: $0
4296
4345
  };
4297
4346
  }
4298
4347
  return {
4348
+ name: b,
4349
+ init,
4299
4350
  names: b.names,
4300
4351
  children: $0
4301
4352
  };
@@ -4430,10 +4481,12 @@ ${input.slice(result.pos)}
4430
4481
  children: $0
4431
4482
  };
4432
4483
  });
4433
- var BindingElement$2 = $TV($EXPECT($L18, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4484
+ var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
4434
4485
  return {
4435
- type: "ElisionElement",
4436
- children: [],
4486
+ children: [{
4487
+ type: "ElisionElement",
4488
+ children: [""]
4489
+ }],
4437
4490
  names: []
4438
4491
  };
4439
4492
  });
@@ -4501,7 +4554,7 @@ ${input.slice(result.pos)}
4501
4554
  return result;
4502
4555
  }
4503
4556
  }
4504
- var EmptyBindingPattern$0 = $TV($EXPECT($L18, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4557
+ var EmptyBindingPattern$0 = $TV($EXPECT($L17, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4505
4558
  const ref = {
4506
4559
  type: "Ref",
4507
4560
  base: "ref",
@@ -4977,10 +5030,12 @@ ${input.slice(result.pos)}
4977
5030
  children: [ws, binding]
4978
5031
  };
4979
5032
  });
4980
- var MatchingElement$3 = $TV($EXPECT($L18, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
5033
+ var MatchingElement$3 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'MatchingElement ","'))), function($skip, $loc, $0, $1) {
4981
5034
  return {
4982
- type: "ElisionElement",
4983
- children: [],
5035
+ children: [{
5036
+ type: "ElisionElement",
5037
+ children: [""]
5038
+ }],
4984
5039
  names: []
4985
5040
  };
4986
5041
  });
@@ -5029,7 +5084,11 @@ ${input.slice(result.pos)}
5029
5084
  return result;
5030
5085
  }
5031
5086
  }
5032
- var FunctionDeclaration$0 = FunctionExpression;
5087
+ var FunctionDeclaration$0 = $TS($S(FunctionExpression), function($skip, $loc, $0, $1) {
5088
+ if ($1.id)
5089
+ return $1;
5090
+ return module.makeLeftHandSideExpression($1);
5091
+ });
5033
5092
  function FunctionDeclaration(state) {
5034
5093
  let eventData;
5035
5094
  if (state.events) {
@@ -5543,6 +5602,30 @@ ${input.slice(result.pos)}
5543
5602
  return result;
5544
5603
  }
5545
5604
  }
5605
+ var NoPostfixBracedOrEmptyBlock$0 = NoPostfixBracedBlock;
5606
+ var NoPostfixBracedOrEmptyBlock$1 = EmptyBlock;
5607
+ function NoPostfixBracedOrEmptyBlock(state) {
5608
+ let eventData;
5609
+ if (state.events) {
5610
+ const result = state.events.enter?.("NoPostfixBracedOrEmptyBlock", state);
5611
+ if (result) {
5612
+ if (result.cache)
5613
+ return result.cache;
5614
+ eventData = result.data;
5615
+ }
5616
+ }
5617
+ if (state.tokenize) {
5618
+ const result = $TOKEN("NoPostfixBracedOrEmptyBlock", state, NoPostfixBracedOrEmptyBlock$0(state) || NoPostfixBracedOrEmptyBlock$1(state));
5619
+ if (state.events)
5620
+ state.events.exit?.("NoPostfixBracedOrEmptyBlock", state, result, eventData);
5621
+ return result;
5622
+ } else {
5623
+ const result = NoPostfixBracedOrEmptyBlock$0(state) || NoPostfixBracedOrEmptyBlock$1(state);
5624
+ if (state.events)
5625
+ state.events.exit?.("NoPostfixBracedOrEmptyBlock", state, result, eventData);
5626
+ return result;
5627
+ }
5628
+ }
5546
5629
  var EmptyBlock$0 = $TS($S(InsertOpenBrace, InsertCloseBrace), function($skip, $loc, $0, $1, $2) {
5547
5630
  const expressions = [];
5548
5631
  return {
@@ -5575,7 +5658,7 @@ ${input.slice(result.pos)}
5575
5658
  return result;
5576
5659
  }
5577
5660
  }
5578
- var EmptyBareBlock$0 = $TV($EXPECT($L18, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5661
+ var EmptyBareBlock$0 = $TV($EXPECT($L17, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5579
5662
  const expressions = [];
5580
5663
  return {
5581
5664
  type: "BlockStatement",
@@ -5606,26 +5689,44 @@ ${input.slice(result.pos)}
5606
5689
  return result;
5607
5690
  }
5608
5691
  }
5609
- var BracedBlock$0 = $TS($S($Q(TrailingComment), OpenBrace, BracedContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5610
- var block = $3;
5611
- return {
5612
- type: "BlockStatement",
5613
- expressions: block.expressions,
5614
- children: [$1, $2, ...block.children, $4, $5],
5615
- bare: false
5616
- };
5617
- return block;
5618
- });
5619
- var BracedBlock$1 = ImplicitNestedBlock;
5620
- var BracedBlock$2 = $TS($S(InsertOpenBrace, $Y(EOS), ObjectLiteral, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
5692
+ var BracedBlock$0 = NonSingleBracedBlock;
5693
+ var BracedBlock$1 = $TS($S(InsertOpenBrace, $N(EOS), PostfixedSingleLineStatements, InsertSpace, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5694
+ var o = $1;
5621
5695
  var s = $3;
5696
+ var ws = $4;
5697
+ var c = $5;
5698
+ if (!s.children.length)
5699
+ return $skip;
5622
5700
  return {
5623
5701
  type: "BlockStatement",
5624
- expressions: [s],
5625
- children: [$1, s, $3]
5702
+ expressions: s.expressions,
5703
+ children: [o, s.children, ws, c]
5626
5704
  };
5627
5705
  });
5628
- var BracedBlock$3 = $TS($S(InsertOpenBrace, $N(EOS), SingleLineStatements, InsertSpace, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5706
+ function BracedBlock(state) {
5707
+ let eventData;
5708
+ if (state.events) {
5709
+ const result = state.events.enter?.("BracedBlock", state);
5710
+ if (result) {
5711
+ if (result.cache)
5712
+ return result.cache;
5713
+ eventData = result.data;
5714
+ }
5715
+ }
5716
+ if (state.tokenize) {
5717
+ const result = $TOKEN("BracedBlock", state, BracedBlock$0(state) || BracedBlock$1(state));
5718
+ if (state.events)
5719
+ state.events.exit?.("BracedBlock", state, result, eventData);
5720
+ return result;
5721
+ } else {
5722
+ const result = BracedBlock$0(state) || BracedBlock$1(state);
5723
+ if (state.events)
5724
+ state.events.exit?.("BracedBlock", state, result, eventData);
5725
+ return result;
5726
+ }
5727
+ }
5728
+ var NoPostfixBracedBlock$0 = NonSingleBracedBlock;
5729
+ var NoPostfixBracedBlock$1 = $TS($S(InsertOpenBrace, $N(EOS), SingleLineStatements, InsertSpace, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5629
5730
  var o = $1;
5630
5731
  var s = $3;
5631
5732
  var ws = $4;
@@ -5638,10 +5739,10 @@ ${input.slice(result.pos)}
5638
5739
  children: [o, s.children, ws, c]
5639
5740
  };
5640
5741
  });
5641
- function BracedBlock(state) {
5742
+ function NoPostfixBracedBlock(state) {
5642
5743
  let eventData;
5643
5744
  if (state.events) {
5644
- const result = state.events.enter?.("BracedBlock", state);
5745
+ const result = state.events.enter?.("NoPostfixBracedBlock", state);
5645
5746
  if (result) {
5646
5747
  if (result.cache)
5647
5748
  return result.cache;
@@ -5649,14 +5750,55 @@ ${input.slice(result.pos)}
5649
5750
  }
5650
5751
  }
5651
5752
  if (state.tokenize) {
5652
- const result = $TOKEN("BracedBlock", state, BracedBlock$0(state) || BracedBlock$1(state) || BracedBlock$2(state) || BracedBlock$3(state));
5753
+ const result = $TOKEN("NoPostfixBracedBlock", state, NoPostfixBracedBlock$0(state) || NoPostfixBracedBlock$1(state));
5653
5754
  if (state.events)
5654
- state.events.exit?.("BracedBlock", state, result, eventData);
5755
+ state.events.exit?.("NoPostfixBracedBlock", state, result, eventData);
5655
5756
  return result;
5656
5757
  } else {
5657
- const result = BracedBlock$0(state) || BracedBlock$1(state) || BracedBlock$2(state) || BracedBlock$3(state);
5758
+ const result = NoPostfixBracedBlock$0(state) || NoPostfixBracedBlock$1(state);
5658
5759
  if (state.events)
5659
- state.events.exit?.("BracedBlock", state, result, eventData);
5760
+ state.events.exit?.("NoPostfixBracedBlock", state, result, eventData);
5761
+ return result;
5762
+ }
5763
+ }
5764
+ var NonSingleBracedBlock$0 = $TS($S($Q(TrailingComment), OpenBrace, BracedContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5765
+ var block = $3;
5766
+ return {
5767
+ type: "BlockStatement",
5768
+ expressions: block.expressions,
5769
+ children: [$1, $2, ...block.children, $4, $5],
5770
+ bare: false
5771
+ };
5772
+ return block;
5773
+ });
5774
+ var NonSingleBracedBlock$1 = ImplicitNestedBlock;
5775
+ var NonSingleBracedBlock$2 = $TS($S(InsertOpenBrace, $Y(EOS), ObjectLiteral, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
5776
+ var s = $3;
5777
+ return {
5778
+ type: "BlockStatement",
5779
+ expressions: [s],
5780
+ children: [$1, s, $3]
5781
+ };
5782
+ });
5783
+ function NonSingleBracedBlock(state) {
5784
+ let eventData;
5785
+ if (state.events) {
5786
+ const result = state.events.enter?.("NonSingleBracedBlock", state);
5787
+ if (result) {
5788
+ if (result.cache)
5789
+ return result.cache;
5790
+ eventData = result.data;
5791
+ }
5792
+ }
5793
+ if (state.tokenize) {
5794
+ const result = $TOKEN("NonSingleBracedBlock", state, NonSingleBracedBlock$0(state) || NonSingleBracedBlock$1(state) || NonSingleBracedBlock$2(state));
5795
+ if (state.events)
5796
+ state.events.exit?.("NonSingleBracedBlock", state, result, eventData);
5797
+ return result;
5798
+ } else {
5799
+ const result = NonSingleBracedBlock$0(state) || NonSingleBracedBlock$1(state) || NonSingleBracedBlock$2(state);
5800
+ if (state.events)
5801
+ state.events.exit?.("NonSingleBracedBlock", state, result, eventData);
5660
5802
  return result;
5661
5803
  }
5662
5804
  }
@@ -5695,6 +5837,41 @@ ${input.slice(result.pos)}
5695
5837
  return result;
5696
5838
  }
5697
5839
  }
5840
+ var PostfixedSingleLineStatements$0 = $TS($S($Q($S($S($E(_), $N(EOS)), PostfixedStatement, SemicolonDelimiter)), $E($S($S($E(_), $N(EOS)), PostfixedStatement, $E(SemicolonDelimiter)))), function($skip, $loc, $0, $1, $2) {
5841
+ var stmts = $1;
5842
+ var last = $2;
5843
+ const children = [...stmts];
5844
+ if (last)
5845
+ children.push(last);
5846
+ return {
5847
+ type: "BlockStatement",
5848
+ expressions: children,
5849
+ children,
5850
+ bare: true
5851
+ };
5852
+ });
5853
+ function PostfixedSingleLineStatements(state) {
5854
+ let eventData;
5855
+ if (state.events) {
5856
+ const result = state.events.enter?.("PostfixedSingleLineStatements", state);
5857
+ if (result) {
5858
+ if (result.cache)
5859
+ return result.cache;
5860
+ eventData = result.data;
5861
+ }
5862
+ }
5863
+ if (state.tokenize) {
5864
+ const result = $TOKEN("PostfixedSingleLineStatements", state, PostfixedSingleLineStatements$0(state));
5865
+ if (state.events)
5866
+ state.events.exit?.("PostfixedSingleLineStatements", state, result, eventData);
5867
+ return result;
5868
+ } else {
5869
+ const result = PostfixedSingleLineStatements$0(state);
5870
+ if (state.events)
5871
+ state.events.exit?.("PostfixedSingleLineStatements", state, result, eventData);
5872
+ return result;
5873
+ }
5874
+ }
5698
5875
  var BracedContent$0 = NestedBlockStatements;
5699
5876
  var BracedContent$1 = $TS($S($Q(TrailingComment), Statement), function($skip, $loc, $0, $1, $2) {
5700
5877
  const expressions = [["", $2]];
@@ -6709,7 +6886,7 @@ ${input.slice(result.pos)}
6709
6886
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
6710
6887
  return value[1];
6711
6888
  });
6712
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L19, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L30, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L21, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
6889
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L18, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L30, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L21, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
6713
6890
  return "";
6714
6891
  });
6715
6892
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -6995,7 +7172,7 @@ ${input.slice(result.pos)}
6995
7172
  return result;
6996
7173
  }
6997
7174
  }
6998
- var ComputedPropertyName$0 = $TS($S(OpenBracket, ExtendedExpression, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
7175
+ var ComputedPropertyName$0 = $TS($S(OpenBracket, PostfixedExpression, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
6999
7176
  var expression = $2;
7000
7177
  return {
7001
7178
  type: "ComputedPropertyName",
@@ -7539,7 +7716,12 @@ ${input.slice(result.pos)}
7539
7716
  return "??";
7540
7717
  });
7541
7718
  var BinaryOpSymbol$28 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7542
- return $1;
7719
+ return {
7720
+ $loc,
7721
+ token: $1,
7722
+ relational: true,
7723
+ special: true
7724
+ };
7543
7725
  });
7544
7726
  var BinaryOpSymbol$29 = $TS($S($EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L75, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7545
7727
  return {
@@ -7697,13 +7879,7 @@ ${input.slice(result.pos)}
7697
7879
  }
7698
7880
  }
7699
7881
  var StatementListItem$0 = Declaration;
7700
- var StatementListItem$1 = $TS($S(Statement, $E($S($Q(TrailingComment), PostfixStatement))), function($skip, $loc, $0, $1, $2) {
7701
- var statement = $1;
7702
- var post = $2;
7703
- if (post)
7704
- return module.addPostfixStatement(statement, ...post);
7705
- return statement;
7706
- });
7882
+ var StatementListItem$1 = PostfixedStatement;
7707
7883
  function StatementListItem(state) {
7708
7884
  let eventData;
7709
7885
  if (state.events) {
@@ -7726,6 +7902,64 @@ ${input.slice(result.pos)}
7726
7902
  return result;
7727
7903
  }
7728
7904
  }
7905
+ var PostfixedStatement$0 = $TS($S(Statement, $E($S($Q(TrailingComment), PostfixStatement))), function($skip, $loc, $0, $1, $2) {
7906
+ var statement = $1;
7907
+ var post = $2;
7908
+ if (post)
7909
+ return module.addPostfixStatement(statement, ...post);
7910
+ return statement;
7911
+ });
7912
+ function PostfixedStatement(state) {
7913
+ let eventData;
7914
+ if (state.events) {
7915
+ const result = state.events.enter?.("PostfixedStatement", state);
7916
+ if (result) {
7917
+ if (result.cache)
7918
+ return result.cache;
7919
+ eventData = result.data;
7920
+ }
7921
+ }
7922
+ if (state.tokenize) {
7923
+ const result = $TOKEN("PostfixedStatement", state, PostfixedStatement$0(state));
7924
+ if (state.events)
7925
+ state.events.exit?.("PostfixedStatement", state, result, eventData);
7926
+ return result;
7927
+ } else {
7928
+ const result = PostfixedStatement$0(state);
7929
+ if (state.events)
7930
+ state.events.exit?.("PostfixedStatement", state, result, eventData);
7931
+ return result;
7932
+ }
7933
+ }
7934
+ var PostfixedExpression$0 = $TS($S(ExtendedExpression, $E($S($Q(TrailingComment), PostfixStatement))), function($skip, $loc, $0, $1, $2) {
7935
+ var expression = $1;
7936
+ var post = $2;
7937
+ if (post)
7938
+ return module.attachPostfixStatementAsExpression(expression, post);
7939
+ return expression;
7940
+ });
7941
+ function PostfixedExpression(state) {
7942
+ let eventData;
7943
+ if (state.events) {
7944
+ const result = state.events.enter?.("PostfixedExpression", state);
7945
+ if (result) {
7946
+ if (result.cache)
7947
+ return result.cache;
7948
+ eventData = result.data;
7949
+ }
7950
+ }
7951
+ if (state.tokenize) {
7952
+ const result = $TOKEN("PostfixedExpression", state, PostfixedExpression$0(state));
7953
+ if (state.events)
7954
+ state.events.exit?.("PostfixedExpression", state, result, eventData);
7955
+ return result;
7956
+ } else {
7957
+ const result = PostfixedExpression$0(state);
7958
+ if (state.events)
7959
+ state.events.exit?.("PostfixedExpression", state, result, eventData);
7960
+ return result;
7961
+ }
7962
+ }
7729
7963
  var PostfixStatement$0 = ForClause;
7730
7964
  var PostfixStatement$1 = IfClause;
7731
7965
  var PostfixStatement$2 = LoopClause;
@@ -7761,12 +7995,8 @@ ${input.slice(result.pos)}
7761
7995
  var Statement$5 = TryStatement;
7762
7996
  var Statement$6 = EmptyStatement;
7763
7997
  var Statement$7 = $TS($S(ExpressionStatement), function($skip, $loc, $0, $1) {
7764
- if ($1.type === "ObjectExpression") {
7765
- return {
7766
- type: "ParenthesizedExpression",
7767
- children: ["(", $1, ")"],
7768
- expression: $1
7769
- };
7998
+ if ($1.type === "ObjectExpression" || $1.type === "FunctionExpression" && !$1.id) {
7999
+ return module.makeLeftHandSideExpression($1);
7770
8000
  }
7771
8001
  return $1;
7772
8002
  });
@@ -7854,6 +8084,8 @@ ${input.slice(result.pos)}
7854
8084
  children.push(e);
7855
8085
  return {
7856
8086
  type: "IfStatement",
8087
+ then: block,
8088
+ else: e,
7857
8089
  children
7858
8090
  };
7859
8091
  });
@@ -7931,7 +8163,7 @@ ${input.slice(result.pos)}
7931
8163
  var UnlessClause$0 = $TS($S(Unless, Condition), function($skip, $loc, $0, $1, $2) {
7932
8164
  var kind = $1;
7933
8165
  var condition = $2;
7934
- kind.token = "if";
8166
+ kind = { ...kind, token: "if" };
7935
8167
  return {
7936
8168
  type: "IfStatement",
7937
8169
  children: [kind, ["(!", condition, ")"]]
@@ -8160,16 +8392,7 @@ ${input.slice(result.pos)}
8160
8392
  return result;
8161
8393
  }
8162
8394
  }
8163
- var NestedBlockExpression$0 = $TS($S(Nested, ExtendedExpression, $E($S($Q(TrailingComment), PostfixStatement)), ExpressionDelimiter), function($skip, $loc, $0, $1, $2, $3, $4) {
8164
- var ws = $1;
8165
- var exp = $2;
8166
- var post = $3;
8167
- var d = $4;
8168
- if (post) {
8169
- return [ws, module.attachPostfixStatementAsExpression(exp, post), d];
8170
- }
8171
- return [ws, exp, d];
8172
- });
8395
+ var NestedBlockExpression$0 = $S(Nested, PostfixedExpression, ExpressionDelimiter);
8173
8396
  function NestedBlockExpression(state) {
8174
8397
  let eventData;
8175
8398
  if (state.events) {
@@ -8305,7 +8528,7 @@ ${input.slice(result.pos)}
8305
8528
  return result;
8306
8529
  }
8307
8530
  }
8308
- var DoWhileStatement$0 = $T($S(Do, BracedBlock, __, WhileClause), function(value) {
8531
+ var DoWhileStatement$0 = $T($S(Do, NoPostfixBracedBlock, __, WhileClause), function(value) {
8309
8532
  var block = value[1];
8310
8533
  return { "type": "IterationStatement", "children": value, "block": block };
8311
8534
  });
@@ -8473,9 +8696,11 @@ ${input.slice(result.pos)}
8473
8696
  var ForStatementControl$1 = $TS($S(CoffeeForLoopsEnabled, CoffeeForStatementParameters, $E(WhenCondition)), function($skip, $loc, $0, $1, $2, $3) {
8474
8697
  if ($3) {
8475
8698
  const indent = module.currentIndent.token + " ";
8699
+ const block = "continue\n";
8476
8700
  $2.blockPrefix.push([indent, {
8477
8701
  type: "IfStatement",
8478
- children: ["if (!(", module.insertTrimmingSpace($3, ""), ")) continue\n"]
8702
+ then: block,
8703
+ children: ["if (!(", module.insertTrimmingSpace($3, ""), ")) ", block]
8479
8704
  }]);
8480
8705
  }
8481
8706
  return $2;
@@ -9234,7 +9459,7 @@ ${input.slice(result.pos)}
9234
9459
  }
9235
9460
  }
9236
9461
  var ImpliedColon$0 = $S(__, Colon);
9237
- var ImpliedColon$1 = $TV($EXPECT($L18, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9462
+ var ImpliedColon$1 = $TV($EXPECT($L17, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9238
9463
  return { $loc, token: ":" };
9239
9464
  });
9240
9465
  function ImpliedColon(state) {
@@ -9259,7 +9484,7 @@ ${input.slice(result.pos)}
9259
9484
  return result;
9260
9485
  }
9261
9486
  }
9262
- var TryStatement$0 = $TS($S(Try, BracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4) {
9487
+ var TryStatement$0 = $TS($S(Try, NoPostfixBracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4) {
9263
9488
  var t = $1;
9264
9489
  var b = $2;
9265
9490
  var c = $3;
@@ -9488,7 +9713,7 @@ ${input.slice(result.pos)}
9488
9713
  return result;
9489
9714
  }
9490
9715
  }
9491
- var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9716
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L17, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9492
9717
  module.suppressIndentedApplication = true;
9493
9718
  });
9494
9719
  function SuppressIndentedApplication(state) {
@@ -9513,7 +9738,7 @@ ${input.slice(result.pos)}
9513
9738
  return result;
9514
9739
  }
9515
9740
  }
9516
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9741
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L17, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9517
9742
  if (module.suppressIndentedApplication)
9518
9743
  return $skip;
9519
9744
  return;
@@ -9540,7 +9765,7 @@ ${input.slice(result.pos)}
9540
9765
  return result;
9541
9766
  }
9542
9767
  }
9543
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9768
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L17, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9544
9769
  module.suppressTrailingMemberProperty.push(true);
9545
9770
  });
9546
9771
  function SuppressTrailingMemberProperty(state) {
@@ -9565,7 +9790,7 @@ ${input.slice(result.pos)}
9565
9790
  return result;
9566
9791
  }
9567
9792
  }
9568
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9793
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L17, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9569
9794
  if (module.trailingMemberPropertySuppressed)
9570
9795
  return $skip;
9571
9796
  });
@@ -9779,7 +10004,7 @@ ${input.slice(result.pos)}
9779
10004
  return result;
9780
10005
  }
9781
10006
  }
9782
- var ImpliedImport$0 = $TV($EXPECT($L18, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
10007
+ var ImpliedImport$0 = $TV($EXPECT($L17, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9783
10008
  return { $loc, token: "import " };
9784
10009
  });
9785
10010
  function ImpliedImport(state) {
@@ -10755,7 +10980,7 @@ ${input.slice(result.pos)}
10755
10980
  }
10756
10981
  }
10757
10982
  var NumericLiteral$0 = $TS($S(NumericLiteralKind), function($skip, $loc, $0, $1) {
10758
- return { $loc, token: $1 };
10983
+ return { type: "NumericLiteral", $loc, token: $1 };
10759
10984
  });
10760
10985
  function NumericLiteral(state) {
10761
10986
  let eventData;
@@ -11026,6 +11251,7 @@ ${input.slice(result.pos)}
11026
11251
  var StringLiteral$0 = $TS($S(DoubleQuote, DoubleStringCharacters, DoubleQuote), function($skip, $loc, $0, $1, $2, $3) {
11027
11252
  var str = $2;
11028
11253
  return {
11254
+ type: "StringLiteral",
11029
11255
  token: `"${module.modifyString(str.token)}"`,
11030
11256
  $loc
11031
11257
  };
@@ -11033,6 +11259,7 @@ ${input.slice(result.pos)}
11033
11259
  var StringLiteral$1 = $TS($S(SingleQuote, SingleStringCharacters, SingleQuote), function($skip, $loc, $0, $1, $2, $3) {
11034
11260
  var str = $2;
11035
11261
  return {
11262
+ type: "StringLiteral",
11036
11263
  token: `'${module.modifyString(str.token)}'`,
11037
11264
  $loc
11038
11265
  };
@@ -11159,7 +11386,7 @@ ${input.slice(result.pos)}
11159
11386
  return result;
11160
11387
  }
11161
11388
  }
11162
- var CoffeeStringSubstitution$0 = $S(CoffeeSubstitutionStart, ExtendedExpression, __, CloseBrace);
11389
+ var CoffeeStringSubstitution$0 = $S(CoffeeSubstitutionStart, PostfixedExpression, __, CloseBrace);
11163
11390
  function CoffeeStringSubstitution(state) {
11164
11391
  let eventData;
11165
11392
  if (state.events) {
@@ -11599,7 +11826,7 @@ ${input.slice(result.pos)}
11599
11826
  return result;
11600
11827
  }
11601
11828
  }
11602
- var TemplateSubstitution$0 = $S(SubstitutionStart, ExtendedExpression, __, CloseBrace);
11829
+ var TemplateSubstitution$0 = $S(SubstitutionStart, PostfixedExpression, __, CloseBrace);
11603
11830
  function TemplateSubstitution(state) {
11604
11831
  let eventData;
11605
11832
  if (state.events) {
@@ -12146,7 +12373,7 @@ ${input.slice(result.pos)}
12146
12373
  }
12147
12374
  }
12148
12375
  var StatementDelimiter$0 = SemicolonDelimiter;
12149
- var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L2, fail, 'StatementDelimiter "("'), $EXPECT($L92, fail, 'StatementDelimiter "["'), $EXPECT($L93, fail, 'StatementDelimiter "`"'), $EXPECT($L56, fail, 'StatementDelimiter "+"'), $EXPECT($L15, fail, 'StatementDelimiter "-"'), $EXPECT($L52, fail, 'StatementDelimiter "*"'), $EXPECT($L53, fail, 'StatementDelimiter "/"'), ObjectLiteral))), InsertSemicolon);
12376
+ var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L2, fail, 'StatementDelimiter "("'), $EXPECT($L92, fail, 'StatementDelimiter "["'), $EXPECT($L93, fail, 'StatementDelimiter "`"'), $EXPECT($L56, fail, 'StatementDelimiter "+"'), $EXPECT($L15, fail, 'StatementDelimiter "-"'), $EXPECT($L52, fail, 'StatementDelimiter "*"'), $EXPECT($L53, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L2, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
12150
12377
  var StatementDelimiter$2 = $Y(EOS);
12151
12378
  function StatementDelimiter(state) {
12152
12379
  let eventData;
@@ -12221,7 +12448,7 @@ ${input.slice(result.pos)}
12221
12448
  return result;
12222
12449
  }
12223
12450
  }
12224
- var Loc$0 = $TV($EXPECT($L18, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12451
+ var Loc$0 = $TV($EXPECT($L17, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12225
12452
  return { $loc, token: "" };
12226
12453
  });
12227
12454
  function Loc(state) {
@@ -12596,7 +12823,7 @@ ${input.slice(result.pos)}
12596
12823
  return result;
12597
12824
  }
12598
12825
  }
12599
- var CloseParen$0 = $TV($EXPECT($L19, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12826
+ var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12600
12827
  return { $loc, token: $1 };
12601
12828
  });
12602
12829
  function CloseParen(state) {
@@ -12671,7 +12898,7 @@ ${input.slice(result.pos)}
12671
12898
  return result;
12672
12899
  }
12673
12900
  }
12674
- var Comma$0 = $TV($EXPECT($L105, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12901
+ var Comma$0 = $TV($EXPECT($L19, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12675
12902
  return { $loc, token: $1 };
12676
12903
  });
12677
12904
  function Comma(state) {
@@ -12721,7 +12948,7 @@ ${input.slice(result.pos)}
12721
12948
  return result;
12722
12949
  }
12723
12950
  }
12724
- var Declare$0 = $TS($S($EXPECT($L106, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12951
+ var Declare$0 = $TS($S($EXPECT($L105, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12725
12952
  return { $loc, token: $1 };
12726
12953
  });
12727
12954
  function Declare(state) {
@@ -12746,7 +12973,7 @@ ${input.slice(result.pos)}
12746
12973
  return result;
12747
12974
  }
12748
12975
  }
12749
- var Default$0 = $TS($S($EXPECT($L107, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12976
+ var Default$0 = $TS($S($EXPECT($L106, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12750
12977
  return { $loc, token: $1 };
12751
12978
  });
12752
12979
  function Default(state) {
@@ -12771,7 +12998,7 @@ ${input.slice(result.pos)}
12771
12998
  return result;
12772
12999
  }
12773
13000
  }
12774
- var Delete$0 = $TS($S($EXPECT($L108, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13001
+ var Delete$0 = $TS($S($EXPECT($L107, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12775
13002
  return { $loc, token: $1 };
12776
13003
  });
12777
13004
  function Delete(state) {
@@ -12796,7 +13023,7 @@ ${input.slice(result.pos)}
12796
13023
  return result;
12797
13024
  }
12798
13025
  }
12799
- var Do$0 = $TS($S($EXPECT($L109, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13026
+ var Do$0 = $TS($S($EXPECT($L108, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12800
13027
  return { $loc, token: $1 };
12801
13028
  });
12802
13029
  function Do(state) {
@@ -12846,7 +13073,7 @@ ${input.slice(result.pos)}
12846
13073
  return result;
12847
13074
  }
12848
13075
  }
12849
- var DotDot$0 = $TV($EXPECT($L110, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13076
+ var DotDot$0 = $TV($EXPECT($L109, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
12850
13077
  return { $loc, token: $1 };
12851
13078
  });
12852
13079
  function DotDot(state) {
@@ -12871,7 +13098,7 @@ ${input.slice(result.pos)}
12871
13098
  return result;
12872
13099
  }
12873
13100
  }
12874
- var DotDotDot$0 = $TV($EXPECT($L111, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13101
+ var DotDotDot$0 = $TV($EXPECT($L110, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
12875
13102
  return { $loc, token: $1 };
12876
13103
  });
12877
13104
  function DotDotDot(state) {
@@ -12896,7 +13123,7 @@ ${input.slice(result.pos)}
12896
13123
  return result;
12897
13124
  }
12898
13125
  }
12899
- var DoubleColon$0 = $TV($EXPECT($L112, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13126
+ var DoubleColon$0 = $TV($EXPECT($L111, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
12900
13127
  return { $loc, token: $1 };
12901
13128
  });
12902
13129
  function DoubleColon(state) {
@@ -12921,7 +13148,7 @@ ${input.slice(result.pos)}
12921
13148
  return result;
12922
13149
  }
12923
13150
  }
12924
- var DoubleQuote$0 = $TV($EXPECT($L113, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13151
+ var DoubleQuote$0 = $TV($EXPECT($L112, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
12925
13152
  return { $loc, token: $1 };
12926
13153
  });
12927
13154
  function DoubleQuote(state) {
@@ -12946,7 +13173,7 @@ ${input.slice(result.pos)}
12946
13173
  return result;
12947
13174
  }
12948
13175
  }
12949
- var Else$0 = $TS($S($EXPECT($L114, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13176
+ var Else$0 = $TS($S($EXPECT($L113, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12950
13177
  return { $loc, token: $1 };
12951
13178
  });
12952
13179
  function Else(state) {
@@ -12996,7 +13223,7 @@ ${input.slice(result.pos)}
12996
13223
  return result;
12997
13224
  }
12998
13225
  }
12999
- var Export$0 = $TS($S($EXPECT($L115, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13226
+ var Export$0 = $TS($S($EXPECT($L114, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13000
13227
  return { $loc, token: $1 };
13001
13228
  });
13002
13229
  function Export(state) {
@@ -13021,7 +13248,7 @@ ${input.slice(result.pos)}
13021
13248
  return result;
13022
13249
  }
13023
13250
  }
13024
- var Extends$0 = $TS($S($EXPECT($L116, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13251
+ var Extends$0 = $TS($S($EXPECT($L115, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13025
13252
  return { $loc, token: $1 };
13026
13253
  });
13027
13254
  function Extends(state) {
@@ -13046,7 +13273,7 @@ ${input.slice(result.pos)}
13046
13273
  return result;
13047
13274
  }
13048
13275
  }
13049
- var Finally$0 = $TS($S($EXPECT($L117, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13276
+ var Finally$0 = $TS($S($EXPECT($L116, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13050
13277
  return { $loc, token: $1 };
13051
13278
  });
13052
13279
  function Finally(state) {
@@ -13071,7 +13298,7 @@ ${input.slice(result.pos)}
13071
13298
  return result;
13072
13299
  }
13073
13300
  }
13074
- var For$0 = $TS($S($EXPECT($L118, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13301
+ var For$0 = $TS($S($EXPECT($L117, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13075
13302
  return { $loc, token: $1 };
13076
13303
  });
13077
13304
  function For(state) {
@@ -13096,7 +13323,7 @@ ${input.slice(result.pos)}
13096
13323
  return result;
13097
13324
  }
13098
13325
  }
13099
- var From$0 = $TS($S($EXPECT($L119, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13326
+ var From$0 = $TS($S($EXPECT($L118, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13100
13327
  return { $loc, token: $1 };
13101
13328
  });
13102
13329
  function From(state) {
@@ -13121,7 +13348,7 @@ ${input.slice(result.pos)}
13121
13348
  return result;
13122
13349
  }
13123
13350
  }
13124
- var Function$0 = $TS($S($EXPECT($L120, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13351
+ var Function$0 = $TS($S($EXPECT($L119, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13125
13352
  return { $loc, token: $1 };
13126
13353
  });
13127
13354
  function Function(state) {
@@ -13146,7 +13373,7 @@ ${input.slice(result.pos)}
13146
13373
  return result;
13147
13374
  }
13148
13375
  }
13149
- var GetOrSet$0 = $TS($S($C($EXPECT($L121, fail, 'GetOrSet "get"'), $EXPECT($L122, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13376
+ var GetOrSet$0 = $TS($S($C($EXPECT($L120, fail, 'GetOrSet "get"'), $EXPECT($L121, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13150
13377
  return { $loc, token: $1, type: "GetOrSet" };
13151
13378
  });
13152
13379
  function GetOrSet(state) {
@@ -13171,7 +13398,7 @@ ${input.slice(result.pos)}
13171
13398
  return result;
13172
13399
  }
13173
13400
  }
13174
- var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13401
+ var If$0 = $TV($TEXT($S($EXPECT($L122, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13175
13402
  return { $loc, token: $1 };
13176
13403
  });
13177
13404
  function If(state) {
@@ -13246,7 +13473,7 @@ ${input.slice(result.pos)}
13246
13473
  return result;
13247
13474
  }
13248
13475
  }
13249
- var LetOrConst$0 = $TS($S($C($EXPECT($L124, fail, 'LetOrConst "let"'), $EXPECT($L125, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13476
+ var LetOrConst$0 = $TS($S($C($EXPECT($L123, fail, 'LetOrConst "let"'), $EXPECT($L124, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13250
13477
  return { $loc, token: $1 };
13251
13478
  });
13252
13479
  function LetOrConst(state) {
@@ -13271,7 +13498,7 @@ ${input.slice(result.pos)}
13271
13498
  return result;
13272
13499
  }
13273
13500
  }
13274
- var Loop$0 = $TS($S($EXPECT($L126, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13501
+ var Loop$0 = $TS($S($EXPECT($L125, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13275
13502
  return { $loc, token: "while(true)" };
13276
13503
  });
13277
13504
  function Loop(state) {
@@ -13296,7 +13523,7 @@ ${input.slice(result.pos)}
13296
13523
  return result;
13297
13524
  }
13298
13525
  }
13299
- var New$0 = $TS($S($EXPECT($L127, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13526
+ var New$0 = $TS($S($EXPECT($L126, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13300
13527
  return { $loc, token: $1 };
13301
13528
  });
13302
13529
  function New(state) {
@@ -13371,7 +13598,7 @@ ${input.slice(result.pos)}
13371
13598
  return result;
13372
13599
  }
13373
13600
  }
13374
- var OpenAngleBracket$0 = $TV($EXPECT($L128, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13601
+ var OpenAngleBracket$0 = $TV($EXPECT($L127, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13375
13602
  return { $loc, token: $1 };
13376
13603
  });
13377
13604
  function OpenAngleBracket(state) {
@@ -13396,7 +13623,7 @@ ${input.slice(result.pos)}
13396
13623
  return result;
13397
13624
  }
13398
13625
  }
13399
- var OpenBrace$0 = $TV($EXPECT($L129, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13626
+ var OpenBrace$0 = $TV($EXPECT($L128, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13400
13627
  return { $loc, token: $1 };
13401
13628
  });
13402
13629
  function OpenBrace(state) {
@@ -13471,7 +13698,7 @@ ${input.slice(result.pos)}
13471
13698
  return result;
13472
13699
  }
13473
13700
  }
13474
- var Operator$0 = $TS($S($EXPECT($L130, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13701
+ var Operator$0 = $TS($S($EXPECT($L129, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13475
13702
  return { $loc, token: $1 };
13476
13703
  });
13477
13704
  function Operator(state) {
@@ -13496,7 +13723,7 @@ ${input.slice(result.pos)}
13496
13723
  return result;
13497
13724
  }
13498
13725
  }
13499
- var Public$0 = $TS($S($EXPECT($L131, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13726
+ var Public$0 = $TS($S($EXPECT($L130, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13500
13727
  return { $loc, token: $1 };
13501
13728
  });
13502
13729
  function Public(state) {
@@ -13521,7 +13748,7 @@ ${input.slice(result.pos)}
13521
13748
  return result;
13522
13749
  }
13523
13750
  }
13524
- var Private$0 = $TS($S($EXPECT($L132, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13751
+ var Private$0 = $TS($S($EXPECT($L131, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13525
13752
  return { $loc, token: $1 };
13526
13753
  });
13527
13754
  function Private(state) {
@@ -13546,7 +13773,7 @@ ${input.slice(result.pos)}
13546
13773
  return result;
13547
13774
  }
13548
13775
  }
13549
- var Protected$0 = $TS($S($EXPECT($L133, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13776
+ var Protected$0 = $TS($S($EXPECT($L132, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13550
13777
  return { $loc, token: $1 };
13551
13778
  });
13552
13779
  function Protected(state) {
@@ -13571,7 +13798,7 @@ ${input.slice(result.pos)}
13571
13798
  return result;
13572
13799
  }
13573
13800
  }
13574
- var Pipe$0 = $TV($EXPECT($L134, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13801
+ var Pipe$0 = $TV($EXPECT($L133, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13575
13802
  return { $loc, token: $1 };
13576
13803
  });
13577
13804
  function Pipe(state) {
@@ -13621,7 +13848,7 @@ ${input.slice(result.pos)}
13621
13848
  return result;
13622
13849
  }
13623
13850
  }
13624
- var Readonly$0 = $TS($S($EXPECT($L135, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13851
+ var Readonly$0 = $TS($S($EXPECT($L134, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13625
13852
  return { $loc, token: $1, ts: true };
13626
13853
  });
13627
13854
  function Readonly(state) {
@@ -13646,7 +13873,7 @@ ${input.slice(result.pos)}
13646
13873
  return result;
13647
13874
  }
13648
13875
  }
13649
- var Return$0 = $TS($S($EXPECT($L136, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13876
+ var Return$0 = $TS($S($EXPECT($L135, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13650
13877
  return { $loc, token: $1 };
13651
13878
  });
13652
13879
  function Return(state) {
@@ -13671,7 +13898,7 @@ ${input.slice(result.pos)}
13671
13898
  return result;
13672
13899
  }
13673
13900
  }
13674
- var Satisfies$0 = $TS($S($EXPECT($L137, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13901
+ var Satisfies$0 = $TS($S($EXPECT($L136, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13675
13902
  return { $loc, token: $1 };
13676
13903
  });
13677
13904
  function Satisfies(state) {
@@ -13721,7 +13948,7 @@ ${input.slice(result.pos)}
13721
13948
  return result;
13722
13949
  }
13723
13950
  }
13724
- var SingleQuote$0 = $TV($EXPECT($L138, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13951
+ var SingleQuote$0 = $TV($EXPECT($L137, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13725
13952
  return { $loc, token: $1 };
13726
13953
  });
13727
13954
  function SingleQuote(state) {
@@ -13771,7 +13998,7 @@ ${input.slice(result.pos)}
13771
13998
  return result;
13772
13999
  }
13773
14000
  }
13774
- var Static$0 = $TS($S($EXPECT($L139, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14001
+ var Static$0 = $TS($S($EXPECT($L138, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13775
14002
  return { $loc, token: $1 };
13776
14003
  });
13777
14004
  var Static$1 = $TS($S($EXPECT($L96, fail, 'Static "@"'), $N($C($EXPECT($L2, fail, 'Static "("'), $EXPECT($L96, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
@@ -13799,7 +14026,7 @@ ${input.slice(result.pos)}
13799
14026
  return result;
13800
14027
  }
13801
14028
  }
13802
- var SubstitutionStart$0 = $TV($EXPECT($L140, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
14029
+ var SubstitutionStart$0 = $TV($EXPECT($L139, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13803
14030
  return { $loc, token: $1 };
13804
14031
  });
13805
14032
  function SubstitutionStart(state) {
@@ -13824,7 +14051,7 @@ ${input.slice(result.pos)}
13824
14051
  return result;
13825
14052
  }
13826
14053
  }
13827
- var Switch$0 = $TS($S($EXPECT($L141, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14054
+ var Switch$0 = $TS($S($EXPECT($L140, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13828
14055
  return { $loc, token: $1 };
13829
14056
  });
13830
14057
  function Switch(state) {
@@ -13849,7 +14076,7 @@ ${input.slice(result.pos)}
13849
14076
  return result;
13850
14077
  }
13851
14078
  }
13852
- var Target$0 = $TS($S($EXPECT($L142, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14079
+ var Target$0 = $TS($S($EXPECT($L141, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13853
14080
  return { $loc, token: $1 };
13854
14081
  });
13855
14082
  function Target(state) {
@@ -13874,7 +14101,7 @@ ${input.slice(result.pos)}
13874
14101
  return result;
13875
14102
  }
13876
14103
  }
13877
- var Then$0 = $TS($S(__, $EXPECT($L143, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14104
+ var Then$0 = $TS($S(__, $EXPECT($L142, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
13878
14105
  return { $loc, token: "" };
13879
14106
  });
13880
14107
  function Then(state) {
@@ -13899,7 +14126,7 @@ ${input.slice(result.pos)}
13899
14126
  return result;
13900
14127
  }
13901
14128
  }
13902
- var This$0 = $TS($S($EXPECT($L144, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14129
+ var This$0 = $TS($S($EXPECT($L143, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13903
14130
  return { $loc, token: $1 };
13904
14131
  });
13905
14132
  function This(state) {
@@ -13924,7 +14151,7 @@ ${input.slice(result.pos)}
13924
14151
  return result;
13925
14152
  }
13926
14153
  }
13927
- var Throw$0 = $TS($S($EXPECT($L145, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14154
+ var Throw$0 = $TS($S($EXPECT($L144, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13928
14155
  return { $loc, token: $1 };
13929
14156
  });
13930
14157
  function Throw(state) {
@@ -13949,7 +14176,7 @@ ${input.slice(result.pos)}
13949
14176
  return result;
13950
14177
  }
13951
14178
  }
13952
- var TripleDoubleQuote$0 = $TV($EXPECT($L146, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14179
+ var TripleDoubleQuote$0 = $TV($EXPECT($L145, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
13953
14180
  return { $loc, token: "`" };
13954
14181
  });
13955
14182
  function TripleDoubleQuote(state) {
@@ -13974,7 +14201,7 @@ ${input.slice(result.pos)}
13974
14201
  return result;
13975
14202
  }
13976
14203
  }
13977
- var TripleSingleQuote$0 = $TV($EXPECT($L147, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14204
+ var TripleSingleQuote$0 = $TV($EXPECT($L146, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
13978
14205
  return { $loc, token: "`" };
13979
14206
  });
13980
14207
  function TripleSingleQuote(state) {
@@ -13999,7 +14226,7 @@ ${input.slice(result.pos)}
13999
14226
  return result;
14000
14227
  }
14001
14228
  }
14002
- var TripleSlash$0 = $TV($EXPECT($L148, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14229
+ var TripleSlash$0 = $TV($EXPECT($L147, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14003
14230
  return { $loc, token: "/" };
14004
14231
  });
14005
14232
  function TripleSlash(state) {
@@ -14024,7 +14251,7 @@ ${input.slice(result.pos)}
14024
14251
  return result;
14025
14252
  }
14026
14253
  }
14027
- var TripleTick$0 = $TV($EXPECT($L149, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14254
+ var TripleTick$0 = $TV($EXPECT($L148, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14028
14255
  return { $loc, token: "`" };
14029
14256
  });
14030
14257
  function TripleTick(state) {
@@ -14049,7 +14276,7 @@ ${input.slice(result.pos)}
14049
14276
  return result;
14050
14277
  }
14051
14278
  }
14052
- var Try$0 = $TS($S($EXPECT($L150, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14279
+ var Try$0 = $TS($S($EXPECT($L149, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14053
14280
  return { $loc, token: $1 };
14054
14281
  });
14055
14282
  function Try(state) {
@@ -14074,7 +14301,7 @@ ${input.slice(result.pos)}
14074
14301
  return result;
14075
14302
  }
14076
14303
  }
14077
- var Typeof$0 = $TS($S($EXPECT($L151, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14304
+ var Typeof$0 = $TS($S($EXPECT($L150, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14078
14305
  return { $loc, token: $1 };
14079
14306
  });
14080
14307
  function Typeof(state) {
@@ -14099,7 +14326,7 @@ ${input.slice(result.pos)}
14099
14326
  return result;
14100
14327
  }
14101
14328
  }
14102
- var Unless$0 = $TS($S($EXPECT($L152, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14329
+ var Unless$0 = $TS($S($EXPECT($L151, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14103
14330
  return { $loc, token: $1 };
14104
14331
  });
14105
14332
  function Unless(state) {
@@ -14124,7 +14351,7 @@ ${input.slice(result.pos)}
14124
14351
  return result;
14125
14352
  }
14126
14353
  }
14127
- var Until$0 = $TS($S($EXPECT($L153, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14354
+ var Until$0 = $TS($S($EXPECT($L152, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14128
14355
  return { $loc, token: $1 };
14129
14356
  });
14130
14357
  function Until(state) {
@@ -14149,7 +14376,7 @@ ${input.slice(result.pos)}
14149
14376
  return result;
14150
14377
  }
14151
14378
  }
14152
- var Var$0 = $TS($S($EXPECT($L154, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14379
+ var Var$0 = $TS($S($EXPECT($L153, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14153
14380
  return { $loc, token: $1 };
14154
14381
  });
14155
14382
  function Var(state) {
@@ -14174,7 +14401,7 @@ ${input.slice(result.pos)}
14174
14401
  return result;
14175
14402
  }
14176
14403
  }
14177
- var Void$0 = $TS($S($EXPECT($L155, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14404
+ var Void$0 = $TS($S($EXPECT($L154, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14178
14405
  return { $loc, token: $1 };
14179
14406
  });
14180
14407
  function Void(state) {
@@ -14199,7 +14426,7 @@ ${input.slice(result.pos)}
14199
14426
  return result;
14200
14427
  }
14201
14428
  }
14202
- var When$0 = $TS($S($EXPECT($L156, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14429
+ var When$0 = $TS($S($EXPECT($L155, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14203
14430
  return { $loc, token: "case" };
14204
14431
  });
14205
14432
  function When(state) {
@@ -14224,7 +14451,7 @@ ${input.slice(result.pos)}
14224
14451
  return result;
14225
14452
  }
14226
14453
  }
14227
- var While$0 = $TS($S($EXPECT($L157, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14454
+ var While$0 = $TS($S($EXPECT($L156, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14228
14455
  return { $loc, token: $1 };
14229
14456
  });
14230
14457
  function While(state) {
@@ -14249,7 +14476,7 @@ ${input.slice(result.pos)}
14249
14476
  return result;
14250
14477
  }
14251
14478
  }
14252
- var Yield$0 = $TS($S($EXPECT($L158, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14479
+ var Yield$0 = $TS($S($EXPECT($L157, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14253
14480
  return { $loc, token: $1 };
14254
14481
  });
14255
14482
  function Yield(state) {
@@ -14395,7 +14622,7 @@ ${input.slice(result.pos)}
14395
14622
  return result;
14396
14623
  }
14397
14624
  }
14398
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L128, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L159, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
14625
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L127, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L158, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
14399
14626
  return { type: "JSXElement", children: $0, tag: $2 };
14400
14627
  });
14401
14628
  function JSXSelfClosingElement(state) {
@@ -14446,7 +14673,7 @@ ${input.slice(result.pos)}
14446
14673
  return result;
14447
14674
  }
14448
14675
  }
14449
- var JSXOpeningElement$0 = $S($EXPECT($L128, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14676
+ var JSXOpeningElement$0 = $S($EXPECT($L127, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14450
14677
  function JSXOpeningElement(state) {
14451
14678
  let eventData;
14452
14679
  if (state.events) {
@@ -14475,7 +14702,7 @@ ${input.slice(result.pos)}
14475
14702
  return $skip;
14476
14703
  return $0;
14477
14704
  });
14478
- var JSXOptionalClosingElement$1 = $EXPECT($L18, fail, 'JSXOptionalClosingElement ""');
14705
+ var JSXOptionalClosingElement$1 = $EXPECT($L17, fail, 'JSXOptionalClosingElement ""');
14479
14706
  function JSXOptionalClosingElement(state) {
14480
14707
  let eventData;
14481
14708
  if (state.events) {
@@ -14498,7 +14725,7 @@ ${input.slice(result.pos)}
14498
14725
  return result;
14499
14726
  }
14500
14727
  }
14501
- var JSXClosingElement$0 = $S($EXPECT($L160, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14728
+ var JSXClosingElement$0 = $S($EXPECT($L159, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14502
14729
  function JSXClosingElement(state) {
14503
14730
  let eventData;
14504
14731
  if (state.events) {
@@ -14537,7 +14764,7 @@ ${input.slice(result.pos)}
14537
14764
  ];
14538
14765
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
14539
14766
  });
14540
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L161, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14767
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L160, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14541
14768
  var children = $3;
14542
14769
  $0 = $0.slice(1);
14543
14770
  return {
@@ -14568,7 +14795,7 @@ ${input.slice(result.pos)}
14568
14795
  return result;
14569
14796
  }
14570
14797
  }
14571
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L161, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14798
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L160, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14572
14799
  module.JSXTagStack.push("");
14573
14800
  return $1;
14574
14801
  });
@@ -14599,7 +14826,7 @@ ${input.slice(result.pos)}
14599
14826
  return $skip;
14600
14827
  return $0;
14601
14828
  });
14602
- var JSXOptionalClosingFragment$1 = $EXPECT($L18, fail, 'JSXOptionalClosingFragment ""');
14829
+ var JSXOptionalClosingFragment$1 = $EXPECT($L17, fail, 'JSXOptionalClosingFragment ""');
14603
14830
  function JSXOptionalClosingFragment(state) {
14604
14831
  let eventData;
14605
14832
  if (state.events) {
@@ -14622,7 +14849,7 @@ ${input.slice(result.pos)}
14622
14849
  return result;
14623
14850
  }
14624
14851
  }
14625
- var JSXClosingFragment$0 = $EXPECT($L162, fail, 'JSXClosingFragment "</>"');
14852
+ var JSXClosingFragment$0 = $EXPECT($L161, fail, 'JSXClosingFragment "</>"');
14626
14853
  function JSXClosingFragment(state) {
14627
14854
  let eventData;
14628
14855
  if (state.events) {
@@ -14914,7 +15141,7 @@ ${input.slice(result.pos)}
14914
15141
  return ["{", $1, "}"];
14915
15142
  });
14916
15143
  var JSXShorthandString$2 = StringLiteral;
14917
- var JSXShorthandString$3 = $S(OpenBrace, ExtendedExpression, $E(Whitespace), CloseBrace);
15144
+ var JSXShorthandString$3 = $S(OpenBrace, PostfixedExpression, $E(Whitespace), CloseBrace);
14918
15145
  function JSXShorthandString(state) {
14919
15146
  let eventData;
14920
15147
  if (state.events) {
@@ -14984,7 +15211,7 @@ ${input.slice(result.pos)}
14984
15211
  return result;
14985
15212
  }
14986
15213
  }
14987
- var JSXAttributeValue$0 = $S(OpenBrace, ExtendedExpression, $E(Whitespace), CloseBrace);
15214
+ var JSXAttributeValue$0 = $S(OpenBrace, PostfixedExpression, $E(Whitespace), CloseBrace);
14988
15215
  var JSXAttributeValue$1 = JSXElement;
14989
15216
  var JSXAttributeValue$2 = JSXFragment;
14990
15217
  var JSXAttributeValue$3 = $TS($S(InsertInlineOpenBrace, InlineJSXAttributeValue, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3) {
@@ -15175,7 +15402,7 @@ ${input.slice(result.pos)}
15175
15402
  }
15176
15403
  }
15177
15404
  var InlineJSXCallExpression$0 = $S($EXPECT($L12, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
15178
- var InlineJSXCallExpression$1 = $S($EXPECT($L13, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
15405
+ var InlineJSXCallExpression$1 = $S($EXPECT($L13, fail, 'InlineJSXCallExpression "import"'), OpenParen, PostfixedExpression, __, CloseParen);
15179
15406
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
15180
15407
  if ($2.length)
15181
15408
  return $0;
@@ -15518,7 +15745,7 @@ ${input.slice(result.pos)}
15518
15745
  return result;
15519
15746
  }
15520
15747
  }
15521
- var JSXComment$0 = $TS($S($EXPECT($L163, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L164, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15748
+ var JSXComment$0 = $TS($S($EXPECT($L162, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L163, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15522
15749
  return ["{/*", $2, "*/}"];
15523
15750
  });
15524
15751
  function JSXComment(state) {
@@ -15597,7 +15824,7 @@ ${input.slice(result.pos)}
15597
15824
  return result;
15598
15825
  }
15599
15826
  }
15600
- var JSXChildExpression$0 = $S($E(Whitespace), $E($S(DotDotDot, $E(Whitespace))), ExtendedExpression);
15827
+ var JSXChildExpression$0 = $S($E(Whitespace), $E($S(DotDotDot, $E(Whitespace))), PostfixedExpression);
15601
15828
  function JSXChildExpression(state) {
15602
15829
  let eventData;
15603
15830
  if (state.events) {
@@ -15816,7 +16043,7 @@ ${input.slice(result.pos)}
15816
16043
  return result;
15817
16044
  }
15818
16045
  }
15819
- var TypeKeyword$0 = $S($EXPECT($L165, fail, 'TypeKeyword "type"'), NonIdContinue);
16046
+ var TypeKeyword$0 = $S($EXPECT($L164, fail, 'TypeKeyword "type"'), NonIdContinue);
15820
16047
  function TypeKeyword(state) {
15821
16048
  let eventData;
15822
16049
  if (state.events) {
@@ -15839,7 +16066,7 @@ ${input.slice(result.pos)}
15839
16066
  return result;
15840
16067
  }
15841
16068
  }
15842
- var Interface$0 = $S($EXPECT($L166, fail, 'Interface "interface"'), NonIdContinue);
16069
+ var Interface$0 = $S($EXPECT($L165, fail, 'Interface "interface"'), NonIdContinue);
15843
16070
  function Interface(state) {
15844
16071
  let eventData;
15845
16072
  if (state.events) {
@@ -15862,7 +16089,7 @@ ${input.slice(result.pos)}
15862
16089
  return result;
15863
16090
  }
15864
16091
  }
15865
- var Namespace$0 = $S($EXPECT($L167, fail, 'Namespace "namespace"'), NonIdContinue);
16092
+ var Namespace$0 = $S($EXPECT($L166, fail, 'Namespace "namespace"'), NonIdContinue);
15866
16093
  function Namespace(state) {
15867
16094
  let eventData;
15868
16095
  if (state.events) {
@@ -16110,7 +16337,7 @@ ${input.slice(result.pos)}
16110
16337
  return result;
16111
16338
  }
16112
16339
  }
16113
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R54, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L135, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R55, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
16340
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R54, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L134, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R55, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
16114
16341
  function TypeIndexSignature(state) {
16115
16342
  let eventData;
16116
16343
  if (state.events) {
@@ -16182,7 +16409,7 @@ ${input.slice(result.pos)}
16182
16409
  return result;
16183
16410
  }
16184
16411
  }
16185
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L168, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16412
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L167, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16186
16413
  const children = [...$1, $2];
16187
16414
  if ($3)
16188
16415
  children.push($3);
@@ -16341,10 +16568,10 @@ ${input.slice(result.pos)}
16341
16568
  return result;
16342
16569
  }
16343
16570
  }
16344
- var TypeUnaryOp$0 = $S($EXPECT($L169, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16345
- var TypeUnaryOp$1 = $S($EXPECT($L151, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16346
- var TypeUnaryOp$2 = $S($EXPECT($L170, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16347
- var TypeUnaryOp$3 = $S($EXPECT($L135, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16571
+ var TypeUnaryOp$0 = $S($EXPECT($L168, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16572
+ var TypeUnaryOp$1 = $S($EXPECT($L150, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16573
+ var TypeUnaryOp$2 = $S($EXPECT($L169, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16574
+ var TypeUnaryOp$3 = $S($EXPECT($L134, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16348
16575
  function TypeUnaryOp(state) {
16349
16576
  let eventData;
16350
16577
  if (state.events) {
@@ -16542,7 +16769,7 @@ ${input.slice(result.pos)}
16542
16769
  return result;
16543
16770
  }
16544
16771
  }
16545
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L116, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
16772
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L115, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
16546
16773
  if ($2)
16547
16774
  return $0;
16548
16775
  return $1;
@@ -16571,10 +16798,10 @@ ${input.slice(result.pos)}
16571
16798
  }
16572
16799
  var TypeLiteral$0 = TemplateLiteral;
16573
16800
  var TypeLiteral$1 = Literal;
16574
- var TypeLiteral$2 = $TS($S($EXPECT($L155, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16801
+ var TypeLiteral$2 = $TS($S($EXPECT($L154, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16575
16802
  return { $loc, token: "void" };
16576
16803
  });
16577
- var TypeLiteral$3 = $TV($EXPECT($L171, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16804
+ var TypeLiteral$3 = $TV($EXPECT($L170, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16578
16805
  return { $loc, token: "[]" };
16579
16806
  });
16580
16807
  function TypeLiteral(state) {
@@ -16649,7 +16876,7 @@ ${input.slice(result.pos)}
16649
16876
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
16650
16877
  return value[1];
16651
16878
  });
16652
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L19, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16879
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16653
16880
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
16654
16881
  function InlineInterfacePropertyDelimiter(state) {
16655
16882
  let eventData;
@@ -16758,7 +16985,7 @@ ${input.slice(result.pos)}
16758
16985
  return result;
16759
16986
  }
16760
16987
  }
16761
- var TypeArguments$0 = $TS($S($EXPECT($L128, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16988
+ var TypeArguments$0 = $TS($S($EXPECT($L127, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16762
16989
  return { ts: true, children: $0 };
16763
16990
  });
16764
16991
  function TypeArguments(state) {
@@ -16829,7 +17056,7 @@ ${input.slice(result.pos)}
16829
17056
  return result;
16830
17057
  }
16831
17058
  }
16832
- var TypeParameters$0 = $TS($S(__, $EXPECT($L128, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17059
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L127, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
16833
17060
  var parameters = $3;
16834
17061
  return {
16835
17062
  type: "TypeParameters",
@@ -16883,7 +17110,7 @@ ${input.slice(result.pos)}
16883
17110
  return result;
16884
17111
  }
16885
17112
  }
16886
- var TypeConstraint$0 = $S(__, $EXPECT($L116, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17113
+ var TypeConstraint$0 = $S(__, $EXPECT($L115, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
16887
17114
  function TypeConstraint(state) {
16888
17115
  let eventData;
16889
17116
  if (state.events) {
@@ -17034,7 +17261,7 @@ ${input.slice(result.pos)}
17034
17261
  return result;
17035
17262
  }
17036
17263
  }
17037
- var CivetPrologueContent$0 = $TS($S($EXPECT($L172, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R58, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
17264
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L171, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R58, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
17038
17265
  var options = $3;
17039
17266
  return {
17040
17267
  type: "CivetPrologue",
@@ -17195,7 +17422,7 @@ ${input.slice(result.pos)}
17195
17422
  return result;
17196
17423
  }
17197
17424
  }
17198
- var Debugger$0 = $TV($EXPECT($L18, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17425
+ var Debugger$0 = $TV($EXPECT($L17, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17199
17426
  debugger;
17200
17427
  });
17201
17428
  function Debugger(state) {
@@ -17220,7 +17447,7 @@ ${input.slice(result.pos)}
17220
17447
  return result;
17221
17448
  }
17222
17449
  }
17223
- var InsertSemicolon$0 = $TV($EXPECT($L18, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17450
+ var InsertSemicolon$0 = $TV($EXPECT($L17, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17224
17451
  return { $loc, token: ";" };
17225
17452
  });
17226
17453
  function InsertSemicolon(state) {
@@ -17245,7 +17472,7 @@ ${input.slice(result.pos)}
17245
17472
  return result;
17246
17473
  }
17247
17474
  }
17248
- var InsertOpenParen$0 = $TV($EXPECT($L18, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17475
+ var InsertOpenParen$0 = $TV($EXPECT($L17, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17249
17476
  return { $loc, token: "(" };
17250
17477
  });
17251
17478
  function InsertOpenParen(state) {
@@ -17270,7 +17497,7 @@ ${input.slice(result.pos)}
17270
17497
  return result;
17271
17498
  }
17272
17499
  }
17273
- var InsertCloseParen$0 = $TV($EXPECT($L18, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17500
+ var InsertCloseParen$0 = $TV($EXPECT($L17, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17274
17501
  return { $loc, token: ")" };
17275
17502
  });
17276
17503
  function InsertCloseParen(state) {
@@ -17295,7 +17522,7 @@ ${input.slice(result.pos)}
17295
17522
  return result;
17296
17523
  }
17297
17524
  }
17298
- var InsertOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17525
+ var InsertOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17299
17526
  return [{ $loc, token: " " }, { $loc, token: "{" }];
17300
17527
  });
17301
17528
  function InsertOpenBrace(state) {
@@ -17320,7 +17547,7 @@ ${input.slice(result.pos)}
17320
17547
  return result;
17321
17548
  }
17322
17549
  }
17323
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17550
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17324
17551
  return { $loc, token: "{" };
17325
17552
  });
17326
17553
  function InsertInlineOpenBrace(state) {
@@ -17345,7 +17572,7 @@ ${input.slice(result.pos)}
17345
17572
  return result;
17346
17573
  }
17347
17574
  }
17348
- var InsertCloseBrace$0 = $TV($EXPECT($L18, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17575
+ var InsertCloseBrace$0 = $TV($EXPECT($L17, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17349
17576
  return { $loc, token: "}" };
17350
17577
  });
17351
17578
  function InsertCloseBrace(state) {
@@ -17370,7 +17597,7 @@ ${input.slice(result.pos)}
17370
17597
  return result;
17371
17598
  }
17372
17599
  }
17373
- var InsertOpenBracket$0 = $TV($EXPECT($L18, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17600
+ var InsertOpenBracket$0 = $TV($EXPECT($L17, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17374
17601
  return { $loc, token: "[" };
17375
17602
  });
17376
17603
  function InsertOpenBracket(state) {
@@ -17395,7 +17622,7 @@ ${input.slice(result.pos)}
17395
17622
  return result;
17396
17623
  }
17397
17624
  }
17398
- var InsertCloseBracket$0 = $TV($EXPECT($L18, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17625
+ var InsertCloseBracket$0 = $TV($EXPECT($L17, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17399
17626
  return { $loc, token: "]" };
17400
17627
  });
17401
17628
  function InsertCloseBracket(state) {
@@ -17420,7 +17647,7 @@ ${input.slice(result.pos)}
17420
17647
  return result;
17421
17648
  }
17422
17649
  }
17423
- var InsertComma$0 = $TV($EXPECT($L18, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17650
+ var InsertComma$0 = $TV($EXPECT($L17, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17424
17651
  return { $loc, token: "," };
17425
17652
  });
17426
17653
  function InsertComma(state) {
@@ -17445,7 +17672,7 @@ ${input.slice(result.pos)}
17445
17672
  return result;
17446
17673
  }
17447
17674
  }
17448
- var InsertConst$0 = $TV($EXPECT($L18, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17675
+ var InsertConst$0 = $TV($EXPECT($L17, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17449
17676
  return { $loc, token: "const " };
17450
17677
  });
17451
17678
  function InsertConst(state) {
@@ -17470,7 +17697,7 @@ ${input.slice(result.pos)}
17470
17697
  return result;
17471
17698
  }
17472
17699
  }
17473
- var InsertLet$0 = $TV($EXPECT($L18, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17700
+ var InsertLet$0 = $TV($EXPECT($L17, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17474
17701
  return { $loc, token: "let " };
17475
17702
  });
17476
17703
  function InsertLet(state) {
@@ -17495,7 +17722,7 @@ ${input.slice(result.pos)}
17495
17722
  return result;
17496
17723
  }
17497
17724
  }
17498
- var InsertReadonly$0 = $TV($EXPECT($L18, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17725
+ var InsertReadonly$0 = $TV($EXPECT($L17, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17499
17726
  return { ts: true, children: [{ $loc, token: "readonly " }] };
17500
17727
  });
17501
17728
  function InsertReadonly(state) {
@@ -17520,7 +17747,7 @@ ${input.slice(result.pos)}
17520
17747
  return result;
17521
17748
  }
17522
17749
  }
17523
- var InsertNewline$0 = $TV($EXPECT($L18, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17750
+ var InsertNewline$0 = $TV($EXPECT($L17, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17524
17751
  return "\n";
17525
17752
  });
17526
17753
  function InsertNewline(state) {
@@ -17545,7 +17772,7 @@ ${input.slice(result.pos)}
17545
17772
  return result;
17546
17773
  }
17547
17774
  }
17548
- var InsertIndent$0 = $TV($EXPECT($L18, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17775
+ var InsertIndent$0 = $TV($EXPECT($L17, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17549
17776
  return module.currentIndent.token;
17550
17777
  });
17551
17778
  function InsertIndent(state) {
@@ -17570,7 +17797,7 @@ ${input.slice(result.pos)}
17570
17797
  return result;
17571
17798
  }
17572
17799
  }
17573
- var InsertSpace$0 = $TV($EXPECT($L18, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17800
+ var InsertSpace$0 = $TV($EXPECT($L17, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17574
17801
  return { $loc, token: " " };
17575
17802
  });
17576
17803
  function InsertSpace(state) {
@@ -17595,7 +17822,7 @@ ${input.slice(result.pos)}
17595
17822
  return result;
17596
17823
  }
17597
17824
  }
17598
- var InsertDot$0 = $TV($EXPECT($L18, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17825
+ var InsertDot$0 = $TV($EXPECT($L17, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17599
17826
  return { $loc, token: "." };
17600
17827
  });
17601
17828
  function InsertDot(state) {
@@ -17620,7 +17847,7 @@ ${input.slice(result.pos)}
17620
17847
  return result;
17621
17848
  }
17622
17849
  }
17623
- var InsertBreak$0 = $TV($EXPECT($L18, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17850
+ var InsertBreak$0 = $TV($EXPECT($L17, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17624
17851
  return { $loc, token: ";break;" };
17625
17852
  });
17626
17853
  function InsertBreak(state) {
@@ -17645,7 +17872,7 @@ ${input.slice(result.pos)}
17645
17872
  return result;
17646
17873
  }
17647
17874
  }
17648
- var InsertVar$0 = $TV($EXPECT($L18, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17875
+ var InsertVar$0 = $TV($EXPECT($L17, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17649
17876
  return { $loc, token: "var " };
17650
17877
  });
17651
17878
  function InsertVar(state) {
@@ -17670,7 +17897,7 @@ ${input.slice(result.pos)}
17670
17897
  return result;
17671
17898
  }
17672
17899
  }
17673
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17900
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17674
17901
  if (module.config.coffeeBinaryExistential)
17675
17902
  return;
17676
17903
  return $skip;
@@ -17697,7 +17924,7 @@ ${input.slice(result.pos)}
17697
17924
  return result;
17698
17925
  }
17699
17926
  }
17700
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17927
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17701
17928
  if (module.config.coffeeBooleans)
17702
17929
  return;
17703
17930
  return $skip;
@@ -17724,7 +17951,7 @@ ${input.slice(result.pos)}
17724
17951
  return result;
17725
17952
  }
17726
17953
  }
17727
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17954
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17728
17955
  if (module.config.coffeeClasses)
17729
17956
  return;
17730
17957
  return $skip;
@@ -17751,7 +17978,7 @@ ${input.slice(result.pos)}
17751
17978
  return result;
17752
17979
  }
17753
17980
  }
17754
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17981
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17755
17982
  if (module.config.coffeeComment)
17756
17983
  return;
17757
17984
  return $skip;
@@ -17778,7 +18005,7 @@ ${input.slice(result.pos)}
17778
18005
  return result;
17779
18006
  }
17780
18007
  }
17781
- var CoffeeDoEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
18008
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17782
18009
  if (module.config.coffeeDo)
17783
18010
  return;
17784
18011
  return $skip;
@@ -17805,7 +18032,7 @@ ${input.slice(result.pos)}
17805
18032
  return result;
17806
18033
  }
17807
18034
  }
17808
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
18035
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17809
18036
  if (module.config.coffeeForLoops)
17810
18037
  return;
17811
18038
  return $skip;
@@ -17832,7 +18059,7 @@ ${input.slice(result.pos)}
17832
18059
  return result;
17833
18060
  }
17834
18061
  }
17835
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18062
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
17836
18063
  if (module.config.coffeeInterpolation)
17837
18064
  return;
17838
18065
  return $skip;
@@ -17859,7 +18086,7 @@ ${input.slice(result.pos)}
17859
18086
  return result;
17860
18087
  }
17861
18088
  }
17862
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18089
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
17863
18090
  if (module.config.coffeeIsnt)
17864
18091
  return;
17865
18092
  return $skip;
@@ -17886,7 +18113,7 @@ ${input.slice(result.pos)}
17886
18113
  return result;
17887
18114
  }
17888
18115
  }
17889
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18116
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
17890
18117
  if (module.config.coffeeJSX)
17891
18118
  return;
17892
18119
  return $skip;
@@ -17913,7 +18140,7 @@ ${input.slice(result.pos)}
17913
18140
  return result;
17914
18141
  }
17915
18142
  }
17916
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18143
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
17917
18144
  if (module.config.coffeeLineContinuation)
17918
18145
  return;
17919
18146
  return $skip;
@@ -17940,7 +18167,7 @@ ${input.slice(result.pos)}
17940
18167
  return result;
17941
18168
  }
17942
18169
  }
17943
- var CoffeeNotEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18170
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
17944
18171
  if (module.config.coffeeNot)
17945
18172
  return;
17946
18173
  return $skip;
@@ -17967,7 +18194,7 @@ ${input.slice(result.pos)}
17967
18194
  return result;
17968
18195
  }
17969
18196
  }
17970
- var CoffeeOfEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18197
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
17971
18198
  if (module.config.coffeeOf)
17972
18199
  return;
17973
18200
  return $skip;
@@ -17994,7 +18221,7 @@ ${input.slice(result.pos)}
17994
18221
  return result;
17995
18222
  }
17996
18223
  }
17997
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18224
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
17998
18225
  if (module.config.coffeePrototype)
17999
18226
  return;
18000
18227
  return $skip;
@@ -18021,7 +18248,7 @@ ${input.slice(result.pos)}
18021
18248
  return result;
18022
18249
  }
18023
18250
  }
18024
- var ObjectIsEnabled$0 = $TV($EXPECT($L18, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18251
+ var ObjectIsEnabled$0 = $TV($EXPECT($L17, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18025
18252
  if (module.config.objectIs)
18026
18253
  return;
18027
18254
  return $skip;
@@ -18048,7 +18275,7 @@ ${input.slice(result.pos)}
18048
18275
  return result;
18049
18276
  }
18050
18277
  }
18051
- var Reset$0 = $TV($EXPECT($L18, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18278
+ var Reset$0 = $TV($EXPECT($L17, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18052
18279
  module.indentLevels = [{
18053
18280
  level: 0,
18054
18281
  token: ""
@@ -18326,13 +18553,69 @@ ${input.slice(result.pos)}
18326
18553
  return result;
18327
18554
  }
18328
18555
  }
18329
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L18, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18556
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L17, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18330
18557
  var directives = $2;
18331
18558
  directives.forEach((directive) => {
18332
18559
  if (directive.type === "CivetPrologue") {
18333
18560
  Object.assign(module.config, directive.config);
18334
18561
  }
18335
18562
  });
18563
+ module.processGlob = (node) => {
18564
+ const { children } = node;
18565
+ for (let i = 0; i < children.length; i++) {
18566
+ const glob = children[i];
18567
+ if (glob?.type === "PropertyGlob") {
18568
+ const prefix = children.slice(0, i).concat(glob.children[0]);
18569
+ const parts = [];
18570
+ for (const part of glob.pattern.content) {
18571
+ if (part.init) {
18572
+ throw new Error("Glob pattern cannot have initializers");
18573
+ }
18574
+ if (part.type === "AtBindingProperty") {
18575
+ throw new Error("Glob pattern cannot have @property");
18576
+ }
18577
+ if (part.type === "BindingRestProperty") {
18578
+ throw new Error("Glob pattern cannot have ...rest property");
18579
+ }
18580
+ const name = part.value ? module.insertTrimmingSpace(part.value, "") : part.name;
18581
+ const value = prefix.concat(module.insertTrimmingSpace(part.name, ""));
18582
+ const wValue = part.value && module.getTrimmingSpace(part.value);
18583
+ if (wValue)
18584
+ value.unshift(wValue);
18585
+ parts.push({
18586
+ type: "Property",
18587
+ name,
18588
+ value,
18589
+ names: part.names,
18590
+ children: [
18591
+ module.isWhitespaceOrEmpty(part.children[0]) && part.children[0],
18592
+ name,
18593
+ module.isWhitespaceOrEmpty(part.children[2]) && part.children[2],
18594
+ part.children[3]?.token === ":" ? part.children[3] : ":",
18595
+ value,
18596
+ part.children[part.children.length - 1]
18597
+ ]
18598
+ });
18599
+ }
18600
+ const object = {
18601
+ type: "ObjectExpression",
18602
+ children: [
18603
+ glob.pattern.children[0],
18604
+ ...parts,
18605
+ glob.pattern.children.at(-2),
18606
+ glob.pattern.children.at(-1)
18607
+ ]
18608
+ };
18609
+ if (i === children.length - 1)
18610
+ return object;
18611
+ return module.processGlob({
18612
+ ...node,
18613
+ children: [object, ...children.slice(i + 1)]
18614
+ });
18615
+ }
18616
+ }
18617
+ return node;
18618
+ };
18336
18619
  module.processUnaryExpression = (pre, exp, post) => {
18337
18620
  if (post?.token === "?") {
18338
18621
  post = {
@@ -18414,10 +18697,11 @@ ${input.slice(result.pos)}
18414
18697
  children.push(block);
18415
18698
  if (!module.isWhitespaceOrEmpty(ws))
18416
18699
  children.push(ws);
18417
- return Object.assign({}, post, {
18418
- children,
18419
- block
18420
- });
18700
+ post = { ...post, children, block };
18701
+ if (post.type === "IfStatement") {
18702
+ post.then = block;
18703
+ }
18704
+ return post;
18421
18705
  };
18422
18706
  function expressionizeIteration(exp) {
18423
18707
  const resultsRef = {
@@ -18490,9 +18774,9 @@ ${input.slice(result.pos)}
18490
18774
  insertPush(exp.expressions[exp.expressions.length - 1], ref);
18491
18775
  return;
18492
18776
  case "IfStatement":
18493
- insertPush(exp.children[2], ref);
18494
- if (exp.children[3])
18495
- insertPush(exp.children[3][2], ref);
18777
+ insertPush(exp.then, ref);
18778
+ if (exp.else)
18779
+ insertPush(exp.else[2], ref);
18496
18780
  else
18497
18781
  exp.children.push([" else {\n", indent, ref, ".push(undefined)\n", indent, "}"]);
18498
18782
  return;
@@ -18548,7 +18832,9 @@ ${input.slice(result.pos)}
18548
18832
  }
18549
18833
  if (!Array.isArray(node))
18550
18834
  return;
18551
- const [, exp] = node;
18835
+ const [, exp, semi] = node;
18836
+ if (semi?.type === "SemicolonDelimiter")
18837
+ return;
18552
18838
  let indent = node[0];
18553
18839
  if (Array.isArray(indent))
18554
18840
  indent = indent[indent.length - 1];
@@ -18571,9 +18857,9 @@ ${input.slice(result.pos)}
18571
18857
  insertReturn(exp.expressions[exp.expressions.length - 1]);
18572
18858
  return;
18573
18859
  case "IfStatement":
18574
- insertReturn(exp.children[2]);
18575
- if (exp.children[3])
18576
- insertReturn(exp.children[3][2]);
18860
+ insertReturn(exp.then);
18861
+ if (exp.else)
18862
+ insertReturn(exp.else[2]);
18577
18863
  else
18578
18864
  exp.children.push(["\n", indent, wrapWithReturn()]);
18579
18865
  return;
@@ -18610,6 +18896,8 @@ ${input.slice(result.pos)}
18610
18896
  module.isWhitespaceOrEmpty = function(node) {
18611
18897
  if (!node)
18612
18898
  return true;
18899
+ if (node.type === "Ref")
18900
+ return false;
18613
18901
  if (node.token)
18614
18902
  return node.token.match(/^\s*$/);
18615
18903
  if (node.children)
@@ -18634,6 +18922,14 @@ ${input.slice(result.pos)}
18634
18922
  const op = expandedOps[i];
18635
18923
  if (op.special) {
18636
18924
  let [a, wsOp, op2, wsB, b] = expandedOps.slice(i - 2, i + 3);
18925
+ if (op2.token === "instanceof" && b.type === "Literal" && b.children?.[0]?.type === "StringLiteral") {
18926
+ a = ["typeof ", module.makeLeftHandSideExpression(a)];
18927
+ if (op2.negated) {
18928
+ op2 = { ...op2, token: "!==", negated: false };
18929
+ } else {
18930
+ op2 = { ...op2, token: "===" };
18931
+ }
18932
+ }
18637
18933
  if (op2.asConst) {
18638
18934
  a = module.makeAsConst(a);
18639
18935
  b = module.makeAsConst(b);
@@ -18674,7 +18970,7 @@ ${input.slice(result.pos)}
18674
18970
  return expandedOps;
18675
18971
  };
18676
18972
  module.expandChainedComparisons = function([first, binops]) {
18677
- const relationalOps = ["==", "===", "!=", "!==", "<", "<=", ">", ">=", "in", "instanceof"];
18973
+ const relationalOps = ["==", "===", "!=", "!==", "<", "<=", ">", ">=", "in"];
18678
18974
  const lowerPrecedenceOps = ["??", "&&", "||", "&", "|", "^"];
18679
18975
  let results = [];
18680
18976
  let i = 0;
@@ -18780,6 +19076,16 @@ ${input.slice(result.pos)}
18780
19076
  });
18781
19077
  return target;
18782
19078
  };
19079
+ module.getTrimmingSpace = function(target) {
19080
+ if (!target)
19081
+ return;
19082
+ if (Array.isArray(target))
19083
+ return module.getTrimmingSpace(target[0]);
19084
+ if (target.children)
19085
+ return module.getTrimmingSpace(target.children[0]);
19086
+ if (target.token)
19087
+ return target.token.match(/^ ?/)[0];
19088
+ };
18783
19089
  const initialSpacingRe = /^(?:\r?\n|\n)*((?:\r?\n|\n)\s+)/;
18784
19090
  module.dedentBlockSubstitutions = function($02) {
18785
19091
  const [s, strWithSubstitutions, e] = $02;
@@ -19235,7 +19541,7 @@ ${input.slice(result.pos)}
19235
19541
  break;
19236
19542
  case "Literal":
19237
19543
  case "StringLiteral":
19238
- case void 0:
19544
+ case "NumericLiteral":
19239
19545
  conditions.push([name, " in ", ref]);
19240
19546
  subRef = [ref, "[", name, "]"];
19241
19547
  break;
@@ -19298,7 +19604,8 @@ ${input.slice(result.pos)}
19298
19604
  switch (name.type) {
19299
19605
  case "ComputedPropertyName":
19300
19606
  case "Literal":
19301
- case void 0:
19607
+ case "StringLiteral":
19608
+ case "NumericLiteral":
19302
19609
  return {
19303
19610
  ...p,
19304
19611
  children: [ws, name, ": ", match, sep]
@@ -19402,7 +19709,11 @@ ${input.slice(result.pos)}
19402
19709
  const prefix = [];
19403
19710
  switch (pattern.type) {
19404
19711
  case "ArrayMatchingPattern":
19712
+ if (pattern.length === 0)
19713
+ break;
19405
19714
  case "ObjectMatchingPattern": {
19715
+ if (pattern.properties?.length === 0)
19716
+ break;
19406
19717
  let [splices, thisAssignments] = gatherBindingCode(pattern);
19407
19718
  splices = splices.map((s2) => [", ", nonMatcherBindings(s2)]);
19408
19719
  thisAssignments = thisAssignments.map((a) => [indent, a, ";\n"]);
@@ -19421,7 +19732,9 @@ ${input.slice(result.pos)}
19421
19732
  const e = i < l - 1 ? ["\nelse "] : [];
19422
19733
  prev.push({
19423
19734
  type: "IfStatement",
19424
- children: ["if", condition, block, ...e, next]
19735
+ children: ["if", condition, block, ...e, next],
19736
+ then: block,
19737
+ else: e
19425
19738
  });
19426
19739
  prev = next;
19427
19740
  });
@@ -19836,7 +20149,7 @@ ${input.slice(result.pos)}
19836
20149
  return result;
19837
20150
  }
19838
20151
  }
19839
- var PopIndent$0 = $TV($EXPECT($L18, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20152
+ var PopIndent$0 = $TV($EXPECT($L17, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
19840
20153
  if (module.config.verbose) {
19841
20154
  console.log("popping indent", module.indentLevels[module.indentLevels.length - 1], "->", module.indentLevels[module.indentLevels.length - 2]);
19842
20155
  }
@@ -20328,7 +20641,7 @@ var parse;
20328
20641
  var uncacheable;
20329
20642
  ({ parse } = import_parser.default);
20330
20643
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
20331
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
20644
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
20332
20645
  var compile = function(src, options) {
20333
20646
  var ast, code, events, filename, ref, result, sm, srcMapJSON;
20334
20647
  if (!options) {