@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.js CHANGED
@@ -506,6 +506,7 @@ ${input.slice(result.pos)}
506
506
  MemberBracketContent,
507
507
  SliceParameters,
508
508
  PropertyAccess,
509
+ PropertyGlob,
509
510
  SuperProperty,
510
511
  MetaProperty,
511
512
  Parameters,
@@ -563,10 +564,14 @@ ${input.slice(result.pos)}
563
564
  Block,
564
565
  ThenClause,
565
566
  BracedOrEmptyBlock,
567
+ NoPostfixBracedOrEmptyBlock,
566
568
  EmptyBlock,
567
569
  EmptyBareBlock,
568
570
  BracedBlock,
571
+ NoPostfixBracedBlock,
572
+ NonSingleBracedBlock,
569
573
  SingleLineStatements,
574
+ PostfixedSingleLineStatements,
570
575
  BracedContent,
571
576
  NestedBlockStatements,
572
577
  NestedBlockStatement,
@@ -622,6 +627,8 @@ ${input.slice(result.pos)}
622
627
  UnaryOp,
623
628
  ModuleItem,
624
629
  StatementListItem,
630
+ PostfixedStatement,
631
+ PostfixedExpression,
625
632
  PostfixStatement,
626
633
  Statement,
627
634
  EmptyStatement,
@@ -1013,10 +1020,10 @@ ${input.slice(result.pos)}
1013
1020
  var $L13 = $L("import");
1014
1021
  var $L14 = $L("!");
1015
1022
  var $L15 = $L("-");
1016
- var $L16 = $L("super[");
1017
- var $L17 = $L("import.meta");
1018
- var $L18 = $L("");
1019
- var $L19 = $L(")");
1023
+ var $L16 = $L("import.meta");
1024
+ var $L17 = $L("");
1025
+ var $L18 = $L(")");
1026
+ var $L19 = $L(",");
1020
1027
  var $L20 = $L("->");
1021
1028
  var $L21 = $L("}");
1022
1029
  var $L22 = $L("null");
@@ -1102,75 +1109,74 @@ ${input.slice(result.pos)}
1102
1109
  var $L102 = $L("catch");
1103
1110
  var $L103 = $L("class");
1104
1111
  var $L104 = $L("#{");
1105
- var $L105 = $L(",");
1106
- var $L106 = $L("declare");
1107
- var $L107 = $L("default");
1108
- var $L108 = $L("delete");
1109
- var $L109 = $L("do");
1110
- var $L110 = $L("..");
1111
- var $L111 = $L("...");
1112
- var $L112 = $L("::");
1113
- var $L113 = $L('"');
1114
- var $L114 = $L("else");
1115
- var $L115 = $L("export");
1116
- var $L116 = $L("extends");
1117
- var $L117 = $L("finally");
1118
- var $L118 = $L("for");
1119
- var $L119 = $L("from");
1120
- var $L120 = $L("function");
1121
- var $L121 = $L("get");
1122
- var $L122 = $L("set");
1123
- var $L123 = $L("if");
1124
- var $L124 = $L("let");
1125
- var $L125 = $L("const");
1126
- var $L126 = $L("loop");
1127
- var $L127 = $L("new");
1128
- var $L128 = $L("<");
1129
- var $L129 = $L("{");
1130
- var $L130 = $L("operator");
1131
- var $L131 = $L("public");
1132
- var $L132 = $L("private");
1133
- var $L133 = $L("protected");
1134
- var $L134 = $L("|>");
1135
- var $L135 = $L("readonly");
1136
- var $L136 = $L("return");
1137
- var $L137 = $L("satisfies");
1138
- var $L138 = $L("'");
1139
- var $L139 = $L("static");
1140
- var $L140 = $L("${");
1141
- var $L141 = $L("switch");
1142
- var $L142 = $L("target");
1143
- var $L143 = $L("then");
1144
- var $L144 = $L("this");
1145
- var $L145 = $L("throw");
1146
- var $L146 = $L('"""');
1147
- var $L147 = $L("'''");
1148
- var $L148 = $L("///");
1149
- var $L149 = $L("```");
1150
- var $L150 = $L("try");
1151
- var $L151 = $L("typeof");
1152
- var $L152 = $L("unless");
1153
- var $L153 = $L("until");
1154
- var $L154 = $L("var");
1155
- var $L155 = $L("void");
1156
- var $L156 = $L("when");
1157
- var $L157 = $L("while");
1158
- var $L158 = $L("yield");
1159
- var $L159 = $L("/>");
1160
- var $L160 = $L("</");
1161
- var $L161 = $L("<>");
1162
- var $L162 = $L("</>");
1163
- var $L163 = $L("<!--");
1164
- var $L164 = $L("-->");
1165
- var $L165 = $L("type");
1166
- var $L166 = $L("interface");
1167
- var $L167 = $L("namespace");
1168
- var $L168 = $L("asserts");
1169
- var $L169 = $L("keyof");
1170
- var $L170 = $L("infer");
1171
- var $L171 = $L("[]");
1172
- var $L172 = $L("civet");
1173
- var $R0 = $R(new RegExp("(as|for|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1112
+ var $L105 = $L("declare");
1113
+ var $L106 = $L("default");
1114
+ var $L107 = $L("delete");
1115
+ var $L108 = $L("do");
1116
+ var $L109 = $L("..");
1117
+ var $L110 = $L("...");
1118
+ var $L111 = $L("::");
1119
+ var $L112 = $L('"');
1120
+ var $L113 = $L("else");
1121
+ var $L114 = $L("export");
1122
+ var $L115 = $L("extends");
1123
+ var $L116 = $L("finally");
1124
+ var $L117 = $L("for");
1125
+ var $L118 = $L("from");
1126
+ var $L119 = $L("function");
1127
+ var $L120 = $L("get");
1128
+ var $L121 = $L("set");
1129
+ var $L122 = $L("if");
1130
+ var $L123 = $L("let");
1131
+ var $L124 = $L("const");
1132
+ var $L125 = $L("loop");
1133
+ var $L126 = $L("new");
1134
+ var $L127 = $L("<");
1135
+ var $L128 = $L("{");
1136
+ var $L129 = $L("operator");
1137
+ var $L130 = $L("public");
1138
+ var $L131 = $L("private");
1139
+ var $L132 = $L("protected");
1140
+ var $L133 = $L("|>");
1141
+ var $L134 = $L("readonly");
1142
+ var $L135 = $L("return");
1143
+ var $L136 = $L("satisfies");
1144
+ var $L137 = $L("'");
1145
+ var $L138 = $L("static");
1146
+ var $L139 = $L("${");
1147
+ var $L140 = $L("switch");
1148
+ var $L141 = $L("target");
1149
+ var $L142 = $L("then");
1150
+ var $L143 = $L("this");
1151
+ var $L144 = $L("throw");
1152
+ var $L145 = $L('"""');
1153
+ var $L146 = $L("'''");
1154
+ var $L147 = $L("///");
1155
+ var $L148 = $L("```");
1156
+ var $L149 = $L("try");
1157
+ var $L150 = $L("typeof");
1158
+ var $L151 = $L("unless");
1159
+ var $L152 = $L("until");
1160
+ var $L153 = $L("var");
1161
+ var $L154 = $L("void");
1162
+ var $L155 = $L("when");
1163
+ var $L156 = $L("while");
1164
+ var $L157 = $L("yield");
1165
+ var $L158 = $L("/>");
1166
+ var $L159 = $L("</");
1167
+ var $L160 = $L("<>");
1168
+ var $L161 = $L("</>");
1169
+ var $L162 = $L("<!--");
1170
+ var $L163 = $L("-->");
1171
+ var $L164 = $L("type");
1172
+ var $L165 = $L("interface");
1173
+ var $L166 = $L("namespace");
1174
+ var $L167 = $L("asserts");
1175
+ var $L168 = $L("keyof");
1176
+ var $L169 = $L("infer");
1177
+ var $L170 = $L("[]");
1178
+ var $L171 = $L("civet");
1179
+ var $R0 = $R(new RegExp("(as|for|while|until|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1174
1180
  var $R1 = $R(new RegExp("[0-9]", "suy"));
1175
1181
  var $R2 = $R(new RegExp("[&]", "suy"));
1176
1182
  var $R3 = $R(new RegExp("[!~+-]+", "suy"));
@@ -1551,7 +1557,7 @@ ${input.slice(result.pos)}
1551
1557
  return result;
1552
1558
  }
1553
1559
  }
1554
- var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1560
+ var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|while|until|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1555
1561
  var ForbiddenImplicitCalls$1 = $EXPECT($L0, fail, 'ForbiddenImplicitCalls "/ "');
1556
1562
  var ForbiddenImplicitCalls$2 = AtAt;
1557
1563
  var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L1, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
@@ -2346,10 +2352,11 @@ ${input.slice(result.pos)}
2346
2352
  return result;
2347
2353
  }
2348
2354
  }
2349
- var FatArrowBody$0 = ExplicitBlock;
2350
- var FatArrowBody$1 = ImplicitNestedBlock;
2351
- var FatArrowBody$2 = AssignmentExpression;
2352
- var FatArrowBody$3 = EmptyBlock;
2355
+ var FatArrowBody$0 = $T($S($N(EOS), PostfixedExpression, $N(SemicolonDelimiter)), function(value) {
2356
+ var exp = value[1];
2357
+ return exp;
2358
+ });
2359
+ var FatArrowBody$1 = BracedOrEmptyBlock;
2353
2360
  function FatArrowBody(state) {
2354
2361
  let eventData;
2355
2362
  if (state.events) {
@@ -2361,12 +2368,12 @@ ${input.slice(result.pos)}
2361
2368
  }
2362
2369
  }
2363
2370
  if (state.tokenize) {
2364
- const result = $TOKEN("FatArrowBody", state, FatArrowBody$0(state) || FatArrowBody$1(state) || FatArrowBody$2(state) || FatArrowBody$3(state));
2371
+ const result = $TOKEN("FatArrowBody", state, FatArrowBody$0(state) || FatArrowBody$1(state));
2365
2372
  if (state.events)
2366
2373
  state.events.exit?.("FatArrowBody", state, result, eventData);
2367
2374
  return result;
2368
2375
  } else {
2369
- const result = FatArrowBody$0(state) || FatArrowBody$1(state) || FatArrowBody$2(state) || FatArrowBody$3(state);
2376
+ const result = FatArrowBody$0(state) || FatArrowBody$1(state);
2370
2377
  if (state.events)
2371
2378
  state.events.exit?.("FatArrowBody", state, result, eventData);
2372
2379
  return result;
@@ -2607,11 +2614,11 @@ ${input.slice(result.pos)}
2607
2614
  return result;
2608
2615
  }
2609
2616
  }
2610
- var ParenthesizedExpression$0 = $TS($S(OpenParen, ExtendedExpression, $E($S($Q(TrailingComment), PostfixStatement)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
2617
+ var ParenthesizedExpression$0 = $TS($S(OpenParen, PostfixedExpression, __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4) {
2611
2618
  var exp = $2;
2612
- var post = $3;
2613
- if (post) {
2614
- return module2.attachPostfixStatementAsExpression(exp, post);
2619
+ switch (exp.type) {
2620
+ case "IterationExpression":
2621
+ return $2;
2615
2622
  }
2616
2623
  return {
2617
2624
  type: "ParenthesizedExpression",
@@ -3225,17 +3232,17 @@ ${input.slice(result.pos)}
3225
3232
  }
3226
3233
  var CallExpression$0 = $TS($S($EXPECT($L12, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3227
3234
  var rest = $3;
3228
- return {
3235
+ return module2.processGlob({
3229
3236
  type: "CallExpression",
3230
3237
  children: [$1, ...$2, ...rest.flat()]
3231
- };
3238
+ });
3232
3239
  });
3233
3240
  var CallExpression$1 = $TS($S($EXPECT($L13, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3234
3241
  var rest = $3;
3235
- return {
3242
+ return module2.processGlob({
3236
3243
  type: "CallExpression",
3237
3244
  children: [$1, ...$2, ...rest.flat()]
3238
- };
3245
+ });
3239
3246
  });
3240
3247
  var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3241
3248
  var member = $1;
@@ -3243,10 +3250,10 @@ ${input.slice(result.pos)}
3243
3250
  var rest = $3;
3244
3251
  if (rest.length || trailing.length) {
3245
3252
  rest = rest.flat();
3246
- return {
3247
- type: rest.length && rest[rest.length - 1].type === "Call" ? "CallExpression" : "MemberExpression",
3253
+ return module2.processGlob({
3254
+ type: "CallExpression",
3248
3255
  children: [member, ...trailing, ...rest]
3249
- };
3256
+ });
3250
3257
  }
3251
3258
  return member;
3252
3259
  });
@@ -3273,7 +3280,12 @@ ${input.slice(result.pos)}
3273
3280
  }
3274
3281
  }
3275
3282
  var CallExpressionRest$0 = MemberExpressionRest;
3276
- var CallExpressionRest$1 = TemplateLiteral;
3283
+ var CallExpressionRest$1 = $TV($C(TemplateLiteral, StringLiteral), function($skip, $loc, $0, $1) {
3284
+ if ($1.type === "StringLiteral") {
3285
+ return "`" + $1.token.slice(1, -1).replace(/(`|\$\{)/g, "\\$1") + "`";
3286
+ }
3287
+ return $1;
3288
+ });
3277
3289
  var CallExpressionRest$2 = $TS($S($E($C(OptionalShorthand, NonNullAssertion)), ArgumentsWithTrailingMemberExpressions), function($skip, $loc, $0, $1, $2) {
3278
3290
  if (!$1)
3279
3291
  return $2;
@@ -3354,18 +3366,16 @@ ${input.slice(result.pos)}
3354
3366
  return result;
3355
3367
  }
3356
3368
  }
3357
- var MemberExpression$0 = $TS($S(PrimaryExpression, $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3369
+ var MemberExpression$0 = $TS($S($C(PrimaryExpression, SuperProperty, MetaProperty), $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
3358
3370
  var rest = $2;
3359
- if (rest.length) {
3360
- return {
3371
+ if (rest.length || Array.isArray($1)) {
3372
+ return module2.processGlob({
3361
3373
  type: "MemberExpression",
3362
- children: [$1].concat(rest.flat())
3363
- };
3374
+ children: [$1, ...rest].flat()
3375
+ });
3364
3376
  }
3365
3377
  return $1;
3366
3378
  });
3367
- var MemberExpression$1 = SuperProperty;
3368
- var MemberExpression$2 = MetaProperty;
3369
3379
  function MemberExpression(state) {
3370
3380
  let eventData;
3371
3381
  if (state.events) {
@@ -3377,12 +3387,12 @@ ${input.slice(result.pos)}
3377
3387
  }
3378
3388
  }
3379
3389
  if (state.tokenize) {
3380
- const result = $TOKEN("MemberExpression", state, MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state));
3390
+ const result = $TOKEN("MemberExpression", state, MemberExpression$0(state));
3381
3391
  if (state.events)
3382
3392
  state.events.exit?.("MemberExpression", state, result, eventData);
3383
3393
  return result;
3384
3394
  } else {
3385
- const result = MemberExpression$0(state) || MemberExpression$1(state) || MemberExpression$2(state);
3395
+ const result = MemberExpression$0(state);
3386
3396
  if (state.events)
3387
3397
  state.events.exit?.("MemberExpression", state, result, eventData);
3388
3398
  return result;
@@ -3398,7 +3408,8 @@ ${input.slice(result.pos)}
3398
3408
  return $2;
3399
3409
  });
3400
3410
  var MemberExpressionRest$1 = PropertyAccess;
3401
- var MemberExpressionRest$2 = NonNullAssertion;
3411
+ var MemberExpressionRest$2 = PropertyGlob;
3412
+ var MemberExpressionRest$3 = NonNullAssertion;
3402
3413
  function MemberExpressionRest(state) {
3403
3414
  let eventData;
3404
3415
  if (state.events) {
@@ -3410,18 +3421,18 @@ ${input.slice(result.pos)}
3410
3421
  }
3411
3422
  }
3412
3423
  if (state.tokenize) {
3413
- const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state));
3424
+ const result = $TOKEN("MemberExpressionRest", state, MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state));
3414
3425
  if (state.events)
3415
3426
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3416
3427
  return result;
3417
3428
  } else {
3418
- const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state);
3429
+ const result = MemberExpressionRest$0(state) || MemberExpressionRest$1(state) || MemberExpressionRest$2(state) || MemberExpressionRest$3(state);
3419
3430
  if (state.events)
3420
3431
  state.events.exit?.("MemberExpressionRest", state, result, eventData);
3421
3432
  return result;
3422
3433
  }
3423
3434
  }
3424
- var MemberBracketContent$0 = $TS($S(OpenBracket, $C(SliceParameters, ExtendedExpression), __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
3435
+ var MemberBracketContent$0 = $TS($S(OpenBracket, $C(SliceParameters, PostfixedExpression), __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
3425
3436
  var open = $1;
3426
3437
  var exp = $2;
3427
3438
  var ws = $3;
@@ -3610,7 +3621,37 @@ ${input.slice(result.pos)}
3610
3621
  return result;
3611
3622
  }
3612
3623
  }
3613
- var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3624
+ var PropertyGlob$0 = $TS($S(Dot, ObjectBindingPattern), function($skip, $loc, $0, $1, $2) {
3625
+ var pattern = $2;
3626
+ return {
3627
+ type: "PropertyGlob",
3628
+ pattern,
3629
+ children: $0
3630
+ };
3631
+ });
3632
+ function PropertyGlob(state) {
3633
+ let eventData;
3634
+ if (state.events) {
3635
+ const result = state.events.enter?.("PropertyGlob", state);
3636
+ if (result) {
3637
+ if (result.cache)
3638
+ return result.cache;
3639
+ eventData = result.data;
3640
+ }
3641
+ }
3642
+ if (state.tokenize) {
3643
+ const result = $TOKEN("PropertyGlob", state, PropertyGlob$0(state));
3644
+ if (state.events)
3645
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3646
+ return result;
3647
+ } else {
3648
+ const result = PropertyGlob$0(state);
3649
+ if (state.events)
3650
+ state.events.exit?.("PropertyGlob", state, result, eventData);
3651
+ return result;
3652
+ }
3653
+ }
3654
+ var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), MemberBracketContent);
3614
3655
  var SuperProperty$1 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3615
3656
  function SuperProperty(state) {
3616
3657
  let eventData;
@@ -3635,7 +3676,7 @@ ${input.slice(result.pos)}
3635
3676
  }
3636
3677
  }
3637
3678
  var MetaProperty$0 = $S(New, Dot, Target);
3638
- var MetaProperty$1 = $TS($S($EXPECT($L17, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3679
+ var MetaProperty$1 = $TS($S($EXPECT($L16, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3639
3680
  return { $loc, token: $1 };
3640
3681
  });
3641
3682
  function MetaProperty(state) {
@@ -3661,7 +3702,7 @@ ${input.slice(result.pos)}
3661
3702
  }
3662
3703
  }
3663
3704
  var Parameters$0 = NonEmptyParameters;
3664
- var Parameters$1 = $TV($EXPECT($L18, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3705
+ var Parameters$1 = $TV($EXPECT($L17, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3665
3706
  return {
3666
3707
  type: "Parameters",
3667
3708
  children: [{ $loc, token: "()" }],
@@ -3822,7 +3863,7 @@ ${input.slice(result.pos)}
3822
3863
  }
3823
3864
  }
3824
3865
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3825
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L19, fail, 'ParameterElementDelimiter ")"')));
3866
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3826
3867
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3827
3868
  return value[1];
3828
3869
  });
@@ -3984,7 +4025,8 @@ ${input.slice(result.pos)}
3984
4025
  var c = $2;
3985
4026
  return {
3986
4027
  type: "ObjectBindingPattern",
3987
- children: [$1, ...c.children, ...$3, $4],
4028
+ children: [$1, ...c.children, $3, $4],
4029
+ content: c.children,
3988
4030
  names: c.names
3989
4031
  };
3990
4032
  });
@@ -4281,23 +4323,32 @@ ${input.slice(result.pos)}
4281
4323
  }
4282
4324
  var BindingProperty$0 = BindingRestProperty;
4283
4325
  var BindingProperty$1 = $TS($S($E(_), PropertyName, __, Colon, $C(BindingIdentifier, BindingPattern), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
4326
+ var name = $2;
4284
4327
  var b = $5;
4328
+ var init = $6;
4285
4329
  return {
4330
+ name,
4331
+ value: b,
4332
+ init,
4286
4333
  names: b.names,
4287
4334
  children: $0
4288
4335
  };
4289
4336
  });
4290
4337
  var BindingProperty$2 = $TS($S(BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2) {
4291
4338
  var b = $1;
4339
+ var init = $2;
4292
4340
  if (b.type === "AtBinding") {
4293
4341
  return {
4294
4342
  type: "AtBindingProperty",
4295
4343
  ref: b.ref,
4344
+ init,
4296
4345
  names: [],
4297
4346
  children: $0
4298
4347
  };
4299
4348
  }
4300
4349
  return {
4350
+ name: b,
4351
+ init,
4301
4352
  names: b.names,
4302
4353
  children: $0
4303
4354
  };
@@ -4432,10 +4483,12 @@ ${input.slice(result.pos)}
4432
4483
  children: $0
4433
4484
  };
4434
4485
  });
4435
- var BindingElement$2 = $TV($EXPECT($L18, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4486
+ var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
4436
4487
  return {
4437
- type: "ElisionElement",
4438
- children: [],
4488
+ children: [{
4489
+ type: "ElisionElement",
4490
+ children: [""]
4491
+ }],
4439
4492
  names: []
4440
4493
  };
4441
4494
  });
@@ -4503,7 +4556,7 @@ ${input.slice(result.pos)}
4503
4556
  return result;
4504
4557
  }
4505
4558
  }
4506
- var EmptyBindingPattern$0 = $TV($EXPECT($L18, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4559
+ var EmptyBindingPattern$0 = $TV($EXPECT($L17, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4507
4560
  const ref = {
4508
4561
  type: "Ref",
4509
4562
  base: "ref",
@@ -4979,10 +5032,12 @@ ${input.slice(result.pos)}
4979
5032
  children: [ws, binding]
4980
5033
  };
4981
5034
  });
4982
- var MatchingElement$3 = $TV($EXPECT($L18, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
5035
+ var MatchingElement$3 = $TV($Y($S($E(_), $EXPECT($L19, fail, 'MatchingElement ","'))), function($skip, $loc, $0, $1) {
4983
5036
  return {
4984
- type: "ElisionElement",
4985
- children: [],
5037
+ children: [{
5038
+ type: "ElisionElement",
5039
+ children: [""]
5040
+ }],
4986
5041
  names: []
4987
5042
  };
4988
5043
  });
@@ -5031,7 +5086,11 @@ ${input.slice(result.pos)}
5031
5086
  return result;
5032
5087
  }
5033
5088
  }
5034
- var FunctionDeclaration$0 = FunctionExpression;
5089
+ var FunctionDeclaration$0 = $TS($S(FunctionExpression), function($skip, $loc, $0, $1) {
5090
+ if ($1.id)
5091
+ return $1;
5092
+ return module2.makeLeftHandSideExpression($1);
5093
+ });
5035
5094
  function FunctionDeclaration(state) {
5036
5095
  let eventData;
5037
5096
  if (state.events) {
@@ -5545,6 +5604,30 @@ ${input.slice(result.pos)}
5545
5604
  return result;
5546
5605
  }
5547
5606
  }
5607
+ var NoPostfixBracedOrEmptyBlock$0 = NoPostfixBracedBlock;
5608
+ var NoPostfixBracedOrEmptyBlock$1 = EmptyBlock;
5609
+ function NoPostfixBracedOrEmptyBlock(state) {
5610
+ let eventData;
5611
+ if (state.events) {
5612
+ const result = state.events.enter?.("NoPostfixBracedOrEmptyBlock", state);
5613
+ if (result) {
5614
+ if (result.cache)
5615
+ return result.cache;
5616
+ eventData = result.data;
5617
+ }
5618
+ }
5619
+ if (state.tokenize) {
5620
+ const result = $TOKEN("NoPostfixBracedOrEmptyBlock", state, NoPostfixBracedOrEmptyBlock$0(state) || NoPostfixBracedOrEmptyBlock$1(state));
5621
+ if (state.events)
5622
+ state.events.exit?.("NoPostfixBracedOrEmptyBlock", state, result, eventData);
5623
+ return result;
5624
+ } else {
5625
+ const result = NoPostfixBracedOrEmptyBlock$0(state) || NoPostfixBracedOrEmptyBlock$1(state);
5626
+ if (state.events)
5627
+ state.events.exit?.("NoPostfixBracedOrEmptyBlock", state, result, eventData);
5628
+ return result;
5629
+ }
5630
+ }
5548
5631
  var EmptyBlock$0 = $TS($S(InsertOpenBrace, InsertCloseBrace), function($skip, $loc, $0, $1, $2) {
5549
5632
  const expressions = [];
5550
5633
  return {
@@ -5577,7 +5660,7 @@ ${input.slice(result.pos)}
5577
5660
  return result;
5578
5661
  }
5579
5662
  }
5580
- var EmptyBareBlock$0 = $TV($EXPECT($L18, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5663
+ var EmptyBareBlock$0 = $TV($EXPECT($L17, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5581
5664
  const expressions = [];
5582
5665
  return {
5583
5666
  type: "BlockStatement",
@@ -5608,26 +5691,44 @@ ${input.slice(result.pos)}
5608
5691
  return result;
5609
5692
  }
5610
5693
  }
5611
- var BracedBlock$0 = $TS($S($Q(TrailingComment), OpenBrace, BracedContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5612
- var block = $3;
5613
- return {
5614
- type: "BlockStatement",
5615
- expressions: block.expressions,
5616
- children: [$1, $2, ...block.children, $4, $5],
5617
- bare: false
5618
- };
5619
- return block;
5620
- });
5621
- var BracedBlock$1 = ImplicitNestedBlock;
5622
- var BracedBlock$2 = $TS($S(InsertOpenBrace, $Y(EOS), ObjectLiteral, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
5694
+ var BracedBlock$0 = NonSingleBracedBlock;
5695
+ var BracedBlock$1 = $TS($S(InsertOpenBrace, $N(EOS), PostfixedSingleLineStatements, InsertSpace, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5696
+ var o = $1;
5623
5697
  var s = $3;
5698
+ var ws = $4;
5699
+ var c = $5;
5700
+ if (!s.children.length)
5701
+ return $skip;
5624
5702
  return {
5625
5703
  type: "BlockStatement",
5626
- expressions: [s],
5627
- children: [$1, s, $3]
5704
+ expressions: s.expressions,
5705
+ children: [o, s.children, ws, c]
5628
5706
  };
5629
5707
  });
5630
- var BracedBlock$3 = $TS($S(InsertOpenBrace, $N(EOS), SingleLineStatements, InsertSpace, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5708
+ function BracedBlock(state) {
5709
+ let eventData;
5710
+ if (state.events) {
5711
+ const result = state.events.enter?.("BracedBlock", state);
5712
+ if (result) {
5713
+ if (result.cache)
5714
+ return result.cache;
5715
+ eventData = result.data;
5716
+ }
5717
+ }
5718
+ if (state.tokenize) {
5719
+ const result = $TOKEN("BracedBlock", state, BracedBlock$0(state) || BracedBlock$1(state));
5720
+ if (state.events)
5721
+ state.events.exit?.("BracedBlock", state, result, eventData);
5722
+ return result;
5723
+ } else {
5724
+ const result = BracedBlock$0(state) || BracedBlock$1(state);
5725
+ if (state.events)
5726
+ state.events.exit?.("BracedBlock", state, result, eventData);
5727
+ return result;
5728
+ }
5729
+ }
5730
+ var NoPostfixBracedBlock$0 = NonSingleBracedBlock;
5731
+ var NoPostfixBracedBlock$1 = $TS($S(InsertOpenBrace, $N(EOS), SingleLineStatements, InsertSpace, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5631
5732
  var o = $1;
5632
5733
  var s = $3;
5633
5734
  var ws = $4;
@@ -5640,10 +5741,10 @@ ${input.slice(result.pos)}
5640
5741
  children: [o, s.children, ws, c]
5641
5742
  };
5642
5743
  });
5643
- function BracedBlock(state) {
5744
+ function NoPostfixBracedBlock(state) {
5644
5745
  let eventData;
5645
5746
  if (state.events) {
5646
- const result = state.events.enter?.("BracedBlock", state);
5747
+ const result = state.events.enter?.("NoPostfixBracedBlock", state);
5647
5748
  if (result) {
5648
5749
  if (result.cache)
5649
5750
  return result.cache;
@@ -5651,14 +5752,55 @@ ${input.slice(result.pos)}
5651
5752
  }
5652
5753
  }
5653
5754
  if (state.tokenize) {
5654
- const result = $TOKEN("BracedBlock", state, BracedBlock$0(state) || BracedBlock$1(state) || BracedBlock$2(state) || BracedBlock$3(state));
5755
+ const result = $TOKEN("NoPostfixBracedBlock", state, NoPostfixBracedBlock$0(state) || NoPostfixBracedBlock$1(state));
5655
5756
  if (state.events)
5656
- state.events.exit?.("BracedBlock", state, result, eventData);
5757
+ state.events.exit?.("NoPostfixBracedBlock", state, result, eventData);
5657
5758
  return result;
5658
5759
  } else {
5659
- const result = BracedBlock$0(state) || BracedBlock$1(state) || BracedBlock$2(state) || BracedBlock$3(state);
5760
+ const result = NoPostfixBracedBlock$0(state) || NoPostfixBracedBlock$1(state);
5660
5761
  if (state.events)
5661
- state.events.exit?.("BracedBlock", state, result, eventData);
5762
+ state.events.exit?.("NoPostfixBracedBlock", state, result, eventData);
5763
+ return result;
5764
+ }
5765
+ }
5766
+ var NonSingleBracedBlock$0 = $TS($S($Q(TrailingComment), OpenBrace, BracedContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
5767
+ var block = $3;
5768
+ return {
5769
+ type: "BlockStatement",
5770
+ expressions: block.expressions,
5771
+ children: [$1, $2, ...block.children, $4, $5],
5772
+ bare: false
5773
+ };
5774
+ return block;
5775
+ });
5776
+ var NonSingleBracedBlock$1 = ImplicitNestedBlock;
5777
+ var NonSingleBracedBlock$2 = $TS($S(InsertOpenBrace, $Y(EOS), ObjectLiteral, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
5778
+ var s = $3;
5779
+ return {
5780
+ type: "BlockStatement",
5781
+ expressions: [s],
5782
+ children: [$1, s, $3]
5783
+ };
5784
+ });
5785
+ function NonSingleBracedBlock(state) {
5786
+ let eventData;
5787
+ if (state.events) {
5788
+ const result = state.events.enter?.("NonSingleBracedBlock", state);
5789
+ if (result) {
5790
+ if (result.cache)
5791
+ return result.cache;
5792
+ eventData = result.data;
5793
+ }
5794
+ }
5795
+ if (state.tokenize) {
5796
+ const result = $TOKEN("NonSingleBracedBlock", state, NonSingleBracedBlock$0(state) || NonSingleBracedBlock$1(state) || NonSingleBracedBlock$2(state));
5797
+ if (state.events)
5798
+ state.events.exit?.("NonSingleBracedBlock", state, result, eventData);
5799
+ return result;
5800
+ } else {
5801
+ const result = NonSingleBracedBlock$0(state) || NonSingleBracedBlock$1(state) || NonSingleBracedBlock$2(state);
5802
+ if (state.events)
5803
+ state.events.exit?.("NonSingleBracedBlock", state, result, eventData);
5662
5804
  return result;
5663
5805
  }
5664
5806
  }
@@ -5697,6 +5839,41 @@ ${input.slice(result.pos)}
5697
5839
  return result;
5698
5840
  }
5699
5841
  }
5842
+ 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) {
5843
+ var stmts = $1;
5844
+ var last = $2;
5845
+ const children = [...stmts];
5846
+ if (last)
5847
+ children.push(last);
5848
+ return {
5849
+ type: "BlockStatement",
5850
+ expressions: children,
5851
+ children,
5852
+ bare: true
5853
+ };
5854
+ });
5855
+ function PostfixedSingleLineStatements(state) {
5856
+ let eventData;
5857
+ if (state.events) {
5858
+ const result = state.events.enter?.("PostfixedSingleLineStatements", state);
5859
+ if (result) {
5860
+ if (result.cache)
5861
+ return result.cache;
5862
+ eventData = result.data;
5863
+ }
5864
+ }
5865
+ if (state.tokenize) {
5866
+ const result = $TOKEN("PostfixedSingleLineStatements", state, PostfixedSingleLineStatements$0(state));
5867
+ if (state.events)
5868
+ state.events.exit?.("PostfixedSingleLineStatements", state, result, eventData);
5869
+ return result;
5870
+ } else {
5871
+ const result = PostfixedSingleLineStatements$0(state);
5872
+ if (state.events)
5873
+ state.events.exit?.("PostfixedSingleLineStatements", state, result, eventData);
5874
+ return result;
5875
+ }
5876
+ }
5700
5877
  var BracedContent$0 = NestedBlockStatements;
5701
5878
  var BracedContent$1 = $TS($S($Q(TrailingComment), Statement), function($skip, $loc, $0, $1, $2) {
5702
5879
  const expressions = [["", $2]];
@@ -6711,7 +6888,7 @@ ${input.slice(result.pos)}
6711
6888
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
6712
6889
  return value[1];
6713
6890
  });
6714
- 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) {
6891
+ 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) {
6715
6892
  return "";
6716
6893
  });
6717
6894
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -6997,7 +7174,7 @@ ${input.slice(result.pos)}
6997
7174
  return result;
6998
7175
  }
6999
7176
  }
7000
- var ComputedPropertyName$0 = $TS($S(OpenBracket, ExtendedExpression, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
7177
+ var ComputedPropertyName$0 = $TS($S(OpenBracket, PostfixedExpression, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
7001
7178
  var expression = $2;
7002
7179
  return {
7003
7180
  type: "ComputedPropertyName",
@@ -7541,7 +7718,12 @@ ${input.slice(result.pos)}
7541
7718
  return "??";
7542
7719
  });
7543
7720
  var BinaryOpSymbol$28 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7544
- return $1;
7721
+ return {
7722
+ $loc,
7723
+ token: $1,
7724
+ relational: true,
7725
+ special: true
7726
+ };
7545
7727
  });
7546
7728
  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) {
7547
7729
  return {
@@ -7699,13 +7881,7 @@ ${input.slice(result.pos)}
7699
7881
  }
7700
7882
  }
7701
7883
  var StatementListItem$0 = Declaration;
7702
- var StatementListItem$1 = $TS($S(Statement, $E($S($Q(TrailingComment), PostfixStatement))), function($skip, $loc, $0, $1, $2) {
7703
- var statement = $1;
7704
- var post = $2;
7705
- if (post)
7706
- return module2.addPostfixStatement(statement, ...post);
7707
- return statement;
7708
- });
7884
+ var StatementListItem$1 = PostfixedStatement;
7709
7885
  function StatementListItem(state) {
7710
7886
  let eventData;
7711
7887
  if (state.events) {
@@ -7728,6 +7904,64 @@ ${input.slice(result.pos)}
7728
7904
  return result;
7729
7905
  }
7730
7906
  }
7907
+ var PostfixedStatement$0 = $TS($S(Statement, $E($S($Q(TrailingComment), PostfixStatement))), function($skip, $loc, $0, $1, $2) {
7908
+ var statement = $1;
7909
+ var post = $2;
7910
+ if (post)
7911
+ return module2.addPostfixStatement(statement, ...post);
7912
+ return statement;
7913
+ });
7914
+ function PostfixedStatement(state) {
7915
+ let eventData;
7916
+ if (state.events) {
7917
+ const result = state.events.enter?.("PostfixedStatement", state);
7918
+ if (result) {
7919
+ if (result.cache)
7920
+ return result.cache;
7921
+ eventData = result.data;
7922
+ }
7923
+ }
7924
+ if (state.tokenize) {
7925
+ const result = $TOKEN("PostfixedStatement", state, PostfixedStatement$0(state));
7926
+ if (state.events)
7927
+ state.events.exit?.("PostfixedStatement", state, result, eventData);
7928
+ return result;
7929
+ } else {
7930
+ const result = PostfixedStatement$0(state);
7931
+ if (state.events)
7932
+ state.events.exit?.("PostfixedStatement", state, result, eventData);
7933
+ return result;
7934
+ }
7935
+ }
7936
+ var PostfixedExpression$0 = $TS($S(ExtendedExpression, $E($S($Q(TrailingComment), PostfixStatement))), function($skip, $loc, $0, $1, $2) {
7937
+ var expression = $1;
7938
+ var post = $2;
7939
+ if (post)
7940
+ return module2.attachPostfixStatementAsExpression(expression, post);
7941
+ return expression;
7942
+ });
7943
+ function PostfixedExpression(state) {
7944
+ let eventData;
7945
+ if (state.events) {
7946
+ const result = state.events.enter?.("PostfixedExpression", state);
7947
+ if (result) {
7948
+ if (result.cache)
7949
+ return result.cache;
7950
+ eventData = result.data;
7951
+ }
7952
+ }
7953
+ if (state.tokenize) {
7954
+ const result = $TOKEN("PostfixedExpression", state, PostfixedExpression$0(state));
7955
+ if (state.events)
7956
+ state.events.exit?.("PostfixedExpression", state, result, eventData);
7957
+ return result;
7958
+ } else {
7959
+ const result = PostfixedExpression$0(state);
7960
+ if (state.events)
7961
+ state.events.exit?.("PostfixedExpression", state, result, eventData);
7962
+ return result;
7963
+ }
7964
+ }
7731
7965
  var PostfixStatement$0 = ForClause;
7732
7966
  var PostfixStatement$1 = IfClause;
7733
7967
  var PostfixStatement$2 = LoopClause;
@@ -7763,12 +7997,8 @@ ${input.slice(result.pos)}
7763
7997
  var Statement$5 = TryStatement;
7764
7998
  var Statement$6 = EmptyStatement;
7765
7999
  var Statement$7 = $TS($S(ExpressionStatement), function($skip, $loc, $0, $1) {
7766
- if ($1.type === "ObjectExpression") {
7767
- return {
7768
- type: "ParenthesizedExpression",
7769
- children: ["(", $1, ")"],
7770
- expression: $1
7771
- };
8000
+ if ($1.type === "ObjectExpression" || $1.type === "FunctionExpression" && !$1.id) {
8001
+ return module2.makeLeftHandSideExpression($1);
7772
8002
  }
7773
8003
  return $1;
7774
8004
  });
@@ -7856,6 +8086,8 @@ ${input.slice(result.pos)}
7856
8086
  children.push(e);
7857
8087
  return {
7858
8088
  type: "IfStatement",
8089
+ then: block,
8090
+ else: e,
7859
8091
  children
7860
8092
  };
7861
8093
  });
@@ -7933,7 +8165,7 @@ ${input.slice(result.pos)}
7933
8165
  var UnlessClause$0 = $TS($S(Unless, Condition), function($skip, $loc, $0, $1, $2) {
7934
8166
  var kind = $1;
7935
8167
  var condition = $2;
7936
- kind.token = "if";
8168
+ kind = { ...kind, token: "if" };
7937
8169
  return {
7938
8170
  type: "IfStatement",
7939
8171
  children: [kind, ["(!", condition, ")"]]
@@ -8162,16 +8394,7 @@ ${input.slice(result.pos)}
8162
8394
  return result;
8163
8395
  }
8164
8396
  }
8165
- var NestedBlockExpression$0 = $TS($S(Nested, ExtendedExpression, $E($S($Q(TrailingComment), PostfixStatement)), ExpressionDelimiter), function($skip, $loc, $0, $1, $2, $3, $4) {
8166
- var ws = $1;
8167
- var exp = $2;
8168
- var post = $3;
8169
- var d = $4;
8170
- if (post) {
8171
- return [ws, module2.attachPostfixStatementAsExpression(exp, post), d];
8172
- }
8173
- return [ws, exp, d];
8174
- });
8397
+ var NestedBlockExpression$0 = $S(Nested, PostfixedExpression, ExpressionDelimiter);
8175
8398
  function NestedBlockExpression(state) {
8176
8399
  let eventData;
8177
8400
  if (state.events) {
@@ -8307,7 +8530,7 @@ ${input.slice(result.pos)}
8307
8530
  return result;
8308
8531
  }
8309
8532
  }
8310
- var DoWhileStatement$0 = $T($S(Do, BracedBlock, __, WhileClause), function(value) {
8533
+ var DoWhileStatement$0 = $T($S(Do, NoPostfixBracedBlock, __, WhileClause), function(value) {
8311
8534
  var block = value[1];
8312
8535
  return { "type": "IterationStatement", "children": value, "block": block };
8313
8536
  });
@@ -8475,9 +8698,11 @@ ${input.slice(result.pos)}
8475
8698
  var ForStatementControl$1 = $TS($S(CoffeeForLoopsEnabled, CoffeeForStatementParameters, $E(WhenCondition)), function($skip, $loc, $0, $1, $2, $3) {
8476
8699
  if ($3) {
8477
8700
  const indent = module2.currentIndent.token + " ";
8701
+ const block = "continue\n";
8478
8702
  $2.blockPrefix.push([indent, {
8479
8703
  type: "IfStatement",
8480
- children: ["if (!(", module2.insertTrimmingSpace($3, ""), ")) continue\n"]
8704
+ then: block,
8705
+ children: ["if (!(", module2.insertTrimmingSpace($3, ""), ")) ", block]
8481
8706
  }]);
8482
8707
  }
8483
8708
  return $2;
@@ -9236,7 +9461,7 @@ ${input.slice(result.pos)}
9236
9461
  }
9237
9462
  }
9238
9463
  var ImpliedColon$0 = $S(__, Colon);
9239
- var ImpliedColon$1 = $TV($EXPECT($L18, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9464
+ var ImpliedColon$1 = $TV($EXPECT($L17, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9240
9465
  return { $loc, token: ":" };
9241
9466
  });
9242
9467
  function ImpliedColon(state) {
@@ -9261,7 +9486,7 @@ ${input.slice(result.pos)}
9261
9486
  return result;
9262
9487
  }
9263
9488
  }
9264
- var TryStatement$0 = $TS($S(Try, BracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4) {
9489
+ var TryStatement$0 = $TS($S(Try, NoPostfixBracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4) {
9265
9490
  var t = $1;
9266
9491
  var b = $2;
9267
9492
  var c = $3;
@@ -9490,7 +9715,7 @@ ${input.slice(result.pos)}
9490
9715
  return result;
9491
9716
  }
9492
9717
  }
9493
- var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9718
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L17, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9494
9719
  module2.suppressIndentedApplication = true;
9495
9720
  });
9496
9721
  function SuppressIndentedApplication(state) {
@@ -9515,7 +9740,7 @@ ${input.slice(result.pos)}
9515
9740
  return result;
9516
9741
  }
9517
9742
  }
9518
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9743
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L17, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9519
9744
  if (module2.suppressIndentedApplication)
9520
9745
  return $skip;
9521
9746
  return;
@@ -9542,7 +9767,7 @@ ${input.slice(result.pos)}
9542
9767
  return result;
9543
9768
  }
9544
9769
  }
9545
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9770
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L17, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9546
9771
  module2.suppressTrailingMemberProperty.push(true);
9547
9772
  });
9548
9773
  function SuppressTrailingMemberProperty(state) {
@@ -9567,7 +9792,7 @@ ${input.slice(result.pos)}
9567
9792
  return result;
9568
9793
  }
9569
9794
  }
9570
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9795
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L17, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9571
9796
  if (module2.trailingMemberPropertySuppressed)
9572
9797
  return $skip;
9573
9798
  });
@@ -9781,7 +10006,7 @@ ${input.slice(result.pos)}
9781
10006
  return result;
9782
10007
  }
9783
10008
  }
9784
- var ImpliedImport$0 = $TV($EXPECT($L18, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
10009
+ var ImpliedImport$0 = $TV($EXPECT($L17, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9785
10010
  return { $loc, token: "import " };
9786
10011
  });
9787
10012
  function ImpliedImport(state) {
@@ -10757,7 +10982,7 @@ ${input.slice(result.pos)}
10757
10982
  }
10758
10983
  }
10759
10984
  var NumericLiteral$0 = $TS($S(NumericLiteralKind), function($skip, $loc, $0, $1) {
10760
- return { $loc, token: $1 };
10985
+ return { type: "NumericLiteral", $loc, token: $1 };
10761
10986
  });
10762
10987
  function NumericLiteral(state) {
10763
10988
  let eventData;
@@ -11028,6 +11253,7 @@ ${input.slice(result.pos)}
11028
11253
  var StringLiteral$0 = $TS($S(DoubleQuote, DoubleStringCharacters, DoubleQuote), function($skip, $loc, $0, $1, $2, $3) {
11029
11254
  var str = $2;
11030
11255
  return {
11256
+ type: "StringLiteral",
11031
11257
  token: `"${module2.modifyString(str.token)}"`,
11032
11258
  $loc
11033
11259
  };
@@ -11035,6 +11261,7 @@ ${input.slice(result.pos)}
11035
11261
  var StringLiteral$1 = $TS($S(SingleQuote, SingleStringCharacters, SingleQuote), function($skip, $loc, $0, $1, $2, $3) {
11036
11262
  var str = $2;
11037
11263
  return {
11264
+ type: "StringLiteral",
11038
11265
  token: `'${module2.modifyString(str.token)}'`,
11039
11266
  $loc
11040
11267
  };
@@ -11161,7 +11388,7 @@ ${input.slice(result.pos)}
11161
11388
  return result;
11162
11389
  }
11163
11390
  }
11164
- var CoffeeStringSubstitution$0 = $S(CoffeeSubstitutionStart, ExtendedExpression, __, CloseBrace);
11391
+ var CoffeeStringSubstitution$0 = $S(CoffeeSubstitutionStart, PostfixedExpression, __, CloseBrace);
11165
11392
  function CoffeeStringSubstitution(state) {
11166
11393
  let eventData;
11167
11394
  if (state.events) {
@@ -11601,7 +11828,7 @@ ${input.slice(result.pos)}
11601
11828
  return result;
11602
11829
  }
11603
11830
  }
11604
- var TemplateSubstitution$0 = $S(SubstitutionStart, ExtendedExpression, __, CloseBrace);
11831
+ var TemplateSubstitution$0 = $S(SubstitutionStart, PostfixedExpression, __, CloseBrace);
11605
11832
  function TemplateSubstitution(state) {
11606
11833
  let eventData;
11607
11834
  if (state.events) {
@@ -12148,7 +12375,7 @@ ${input.slice(result.pos)}
12148
12375
  }
12149
12376
  }
12150
12377
  var StatementDelimiter$0 = SemicolonDelimiter;
12151
- 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);
12378
+ 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);
12152
12379
  var StatementDelimiter$2 = $Y(EOS);
12153
12380
  function StatementDelimiter(state) {
12154
12381
  let eventData;
@@ -12223,7 +12450,7 @@ ${input.slice(result.pos)}
12223
12450
  return result;
12224
12451
  }
12225
12452
  }
12226
- var Loc$0 = $TV($EXPECT($L18, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12453
+ var Loc$0 = $TV($EXPECT($L17, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12227
12454
  return { $loc, token: "" };
12228
12455
  });
12229
12456
  function Loc(state) {
@@ -12598,7 +12825,7 @@ ${input.slice(result.pos)}
12598
12825
  return result;
12599
12826
  }
12600
12827
  }
12601
- var CloseParen$0 = $TV($EXPECT($L19, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12828
+ var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12602
12829
  return { $loc, token: $1 };
12603
12830
  });
12604
12831
  function CloseParen(state) {
@@ -12673,7 +12900,7 @@ ${input.slice(result.pos)}
12673
12900
  return result;
12674
12901
  }
12675
12902
  }
12676
- var Comma$0 = $TV($EXPECT($L105, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12903
+ var Comma$0 = $TV($EXPECT($L19, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12677
12904
  return { $loc, token: $1 };
12678
12905
  });
12679
12906
  function Comma(state) {
@@ -12723,7 +12950,7 @@ ${input.slice(result.pos)}
12723
12950
  return result;
12724
12951
  }
12725
12952
  }
12726
- var Declare$0 = $TS($S($EXPECT($L106, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12953
+ var Declare$0 = $TS($S($EXPECT($L105, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12727
12954
  return { $loc, token: $1 };
12728
12955
  });
12729
12956
  function Declare(state) {
@@ -12748,7 +12975,7 @@ ${input.slice(result.pos)}
12748
12975
  return result;
12749
12976
  }
12750
12977
  }
12751
- var Default$0 = $TS($S($EXPECT($L107, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12978
+ var Default$0 = $TS($S($EXPECT($L106, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12752
12979
  return { $loc, token: $1 };
12753
12980
  });
12754
12981
  function Default(state) {
@@ -12773,7 +13000,7 @@ ${input.slice(result.pos)}
12773
13000
  return result;
12774
13001
  }
12775
13002
  }
12776
- var Delete$0 = $TS($S($EXPECT($L108, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13003
+ var Delete$0 = $TS($S($EXPECT($L107, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12777
13004
  return { $loc, token: $1 };
12778
13005
  });
12779
13006
  function Delete(state) {
@@ -12798,7 +13025,7 @@ ${input.slice(result.pos)}
12798
13025
  return result;
12799
13026
  }
12800
13027
  }
12801
- var Do$0 = $TS($S($EXPECT($L109, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13028
+ var Do$0 = $TS($S($EXPECT($L108, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12802
13029
  return { $loc, token: $1 };
12803
13030
  });
12804
13031
  function Do(state) {
@@ -12848,7 +13075,7 @@ ${input.slice(result.pos)}
12848
13075
  return result;
12849
13076
  }
12850
13077
  }
12851
- var DotDot$0 = $TV($EXPECT($L110, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13078
+ var DotDot$0 = $TV($EXPECT($L109, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
12852
13079
  return { $loc, token: $1 };
12853
13080
  });
12854
13081
  function DotDot(state) {
@@ -12873,7 +13100,7 @@ ${input.slice(result.pos)}
12873
13100
  return result;
12874
13101
  }
12875
13102
  }
12876
- var DotDotDot$0 = $TV($EXPECT($L111, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13103
+ var DotDotDot$0 = $TV($EXPECT($L110, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
12877
13104
  return { $loc, token: $1 };
12878
13105
  });
12879
13106
  function DotDotDot(state) {
@@ -12898,7 +13125,7 @@ ${input.slice(result.pos)}
12898
13125
  return result;
12899
13126
  }
12900
13127
  }
12901
- var DoubleColon$0 = $TV($EXPECT($L112, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13128
+ var DoubleColon$0 = $TV($EXPECT($L111, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
12902
13129
  return { $loc, token: $1 };
12903
13130
  });
12904
13131
  function DoubleColon(state) {
@@ -12923,7 +13150,7 @@ ${input.slice(result.pos)}
12923
13150
  return result;
12924
13151
  }
12925
13152
  }
12926
- var DoubleQuote$0 = $TV($EXPECT($L113, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13153
+ var DoubleQuote$0 = $TV($EXPECT($L112, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
12927
13154
  return { $loc, token: $1 };
12928
13155
  });
12929
13156
  function DoubleQuote(state) {
@@ -12948,7 +13175,7 @@ ${input.slice(result.pos)}
12948
13175
  return result;
12949
13176
  }
12950
13177
  }
12951
- var Else$0 = $TS($S($EXPECT($L114, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13178
+ var Else$0 = $TS($S($EXPECT($L113, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12952
13179
  return { $loc, token: $1 };
12953
13180
  });
12954
13181
  function Else(state) {
@@ -12998,7 +13225,7 @@ ${input.slice(result.pos)}
12998
13225
  return result;
12999
13226
  }
13000
13227
  }
13001
- var Export$0 = $TS($S($EXPECT($L115, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13228
+ var Export$0 = $TS($S($EXPECT($L114, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13002
13229
  return { $loc, token: $1 };
13003
13230
  });
13004
13231
  function Export(state) {
@@ -13023,7 +13250,7 @@ ${input.slice(result.pos)}
13023
13250
  return result;
13024
13251
  }
13025
13252
  }
13026
- var Extends$0 = $TS($S($EXPECT($L116, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13253
+ var Extends$0 = $TS($S($EXPECT($L115, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13027
13254
  return { $loc, token: $1 };
13028
13255
  });
13029
13256
  function Extends(state) {
@@ -13048,7 +13275,7 @@ ${input.slice(result.pos)}
13048
13275
  return result;
13049
13276
  }
13050
13277
  }
13051
- var Finally$0 = $TS($S($EXPECT($L117, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13278
+ var Finally$0 = $TS($S($EXPECT($L116, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13052
13279
  return { $loc, token: $1 };
13053
13280
  });
13054
13281
  function Finally(state) {
@@ -13073,7 +13300,7 @@ ${input.slice(result.pos)}
13073
13300
  return result;
13074
13301
  }
13075
13302
  }
13076
- var For$0 = $TS($S($EXPECT($L118, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13303
+ var For$0 = $TS($S($EXPECT($L117, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13077
13304
  return { $loc, token: $1 };
13078
13305
  });
13079
13306
  function For(state) {
@@ -13098,7 +13325,7 @@ ${input.slice(result.pos)}
13098
13325
  return result;
13099
13326
  }
13100
13327
  }
13101
- var From$0 = $TS($S($EXPECT($L119, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13328
+ var From$0 = $TS($S($EXPECT($L118, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13102
13329
  return { $loc, token: $1 };
13103
13330
  });
13104
13331
  function From(state) {
@@ -13123,7 +13350,7 @@ ${input.slice(result.pos)}
13123
13350
  return result;
13124
13351
  }
13125
13352
  }
13126
- var Function$0 = $TS($S($EXPECT($L120, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13353
+ var Function$0 = $TS($S($EXPECT($L119, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13127
13354
  return { $loc, token: $1 };
13128
13355
  });
13129
13356
  function Function(state) {
@@ -13148,7 +13375,7 @@ ${input.slice(result.pos)}
13148
13375
  return result;
13149
13376
  }
13150
13377
  }
13151
- var GetOrSet$0 = $TS($S($C($EXPECT($L121, fail, 'GetOrSet "get"'), $EXPECT($L122, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13378
+ var GetOrSet$0 = $TS($S($C($EXPECT($L120, fail, 'GetOrSet "get"'), $EXPECT($L121, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13152
13379
  return { $loc, token: $1, type: "GetOrSet" };
13153
13380
  });
13154
13381
  function GetOrSet(state) {
@@ -13173,7 +13400,7 @@ ${input.slice(result.pos)}
13173
13400
  return result;
13174
13401
  }
13175
13402
  }
13176
- var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13403
+ var If$0 = $TV($TEXT($S($EXPECT($L122, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13177
13404
  return { $loc, token: $1 };
13178
13405
  });
13179
13406
  function If(state) {
@@ -13248,7 +13475,7 @@ ${input.slice(result.pos)}
13248
13475
  return result;
13249
13476
  }
13250
13477
  }
13251
- var LetOrConst$0 = $TS($S($C($EXPECT($L124, fail, 'LetOrConst "let"'), $EXPECT($L125, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13478
+ var LetOrConst$0 = $TS($S($C($EXPECT($L123, fail, 'LetOrConst "let"'), $EXPECT($L124, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13252
13479
  return { $loc, token: $1 };
13253
13480
  });
13254
13481
  function LetOrConst(state) {
@@ -13273,7 +13500,7 @@ ${input.slice(result.pos)}
13273
13500
  return result;
13274
13501
  }
13275
13502
  }
13276
- var Loop$0 = $TS($S($EXPECT($L126, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13503
+ var Loop$0 = $TS($S($EXPECT($L125, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13277
13504
  return { $loc, token: "while(true)" };
13278
13505
  });
13279
13506
  function Loop(state) {
@@ -13298,7 +13525,7 @@ ${input.slice(result.pos)}
13298
13525
  return result;
13299
13526
  }
13300
13527
  }
13301
- var New$0 = $TS($S($EXPECT($L127, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13528
+ var New$0 = $TS($S($EXPECT($L126, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13302
13529
  return { $loc, token: $1 };
13303
13530
  });
13304
13531
  function New(state) {
@@ -13373,7 +13600,7 @@ ${input.slice(result.pos)}
13373
13600
  return result;
13374
13601
  }
13375
13602
  }
13376
- var OpenAngleBracket$0 = $TV($EXPECT($L128, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13603
+ var OpenAngleBracket$0 = $TV($EXPECT($L127, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13377
13604
  return { $loc, token: $1 };
13378
13605
  });
13379
13606
  function OpenAngleBracket(state) {
@@ -13398,7 +13625,7 @@ ${input.slice(result.pos)}
13398
13625
  return result;
13399
13626
  }
13400
13627
  }
13401
- var OpenBrace$0 = $TV($EXPECT($L129, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13628
+ var OpenBrace$0 = $TV($EXPECT($L128, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13402
13629
  return { $loc, token: $1 };
13403
13630
  });
13404
13631
  function OpenBrace(state) {
@@ -13473,7 +13700,7 @@ ${input.slice(result.pos)}
13473
13700
  return result;
13474
13701
  }
13475
13702
  }
13476
- var Operator$0 = $TS($S($EXPECT($L130, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13703
+ var Operator$0 = $TS($S($EXPECT($L129, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13477
13704
  return { $loc, token: $1 };
13478
13705
  });
13479
13706
  function Operator(state) {
@@ -13498,7 +13725,7 @@ ${input.slice(result.pos)}
13498
13725
  return result;
13499
13726
  }
13500
13727
  }
13501
- var Public$0 = $TS($S($EXPECT($L131, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13728
+ var Public$0 = $TS($S($EXPECT($L130, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13502
13729
  return { $loc, token: $1 };
13503
13730
  });
13504
13731
  function Public(state) {
@@ -13523,7 +13750,7 @@ ${input.slice(result.pos)}
13523
13750
  return result;
13524
13751
  }
13525
13752
  }
13526
- var Private$0 = $TS($S($EXPECT($L132, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13753
+ var Private$0 = $TS($S($EXPECT($L131, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13527
13754
  return { $loc, token: $1 };
13528
13755
  });
13529
13756
  function Private(state) {
@@ -13548,7 +13775,7 @@ ${input.slice(result.pos)}
13548
13775
  return result;
13549
13776
  }
13550
13777
  }
13551
- var Protected$0 = $TS($S($EXPECT($L133, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13778
+ var Protected$0 = $TS($S($EXPECT($L132, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13552
13779
  return { $loc, token: $1 };
13553
13780
  });
13554
13781
  function Protected(state) {
@@ -13573,7 +13800,7 @@ ${input.slice(result.pos)}
13573
13800
  return result;
13574
13801
  }
13575
13802
  }
13576
- var Pipe$0 = $TV($EXPECT($L134, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13803
+ var Pipe$0 = $TV($EXPECT($L133, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13577
13804
  return { $loc, token: $1 };
13578
13805
  });
13579
13806
  function Pipe(state) {
@@ -13623,7 +13850,7 @@ ${input.slice(result.pos)}
13623
13850
  return result;
13624
13851
  }
13625
13852
  }
13626
- var Readonly$0 = $TS($S($EXPECT($L135, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13853
+ var Readonly$0 = $TS($S($EXPECT($L134, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13627
13854
  return { $loc, token: $1, ts: true };
13628
13855
  });
13629
13856
  function Readonly(state) {
@@ -13648,7 +13875,7 @@ ${input.slice(result.pos)}
13648
13875
  return result;
13649
13876
  }
13650
13877
  }
13651
- var Return$0 = $TS($S($EXPECT($L136, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13878
+ var Return$0 = $TS($S($EXPECT($L135, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13652
13879
  return { $loc, token: $1 };
13653
13880
  });
13654
13881
  function Return(state) {
@@ -13673,7 +13900,7 @@ ${input.slice(result.pos)}
13673
13900
  return result;
13674
13901
  }
13675
13902
  }
13676
- var Satisfies$0 = $TS($S($EXPECT($L137, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13903
+ var Satisfies$0 = $TS($S($EXPECT($L136, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13677
13904
  return { $loc, token: $1 };
13678
13905
  });
13679
13906
  function Satisfies(state) {
@@ -13723,7 +13950,7 @@ ${input.slice(result.pos)}
13723
13950
  return result;
13724
13951
  }
13725
13952
  }
13726
- var SingleQuote$0 = $TV($EXPECT($L138, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13953
+ var SingleQuote$0 = $TV($EXPECT($L137, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
13727
13954
  return { $loc, token: $1 };
13728
13955
  });
13729
13956
  function SingleQuote(state) {
@@ -13773,7 +14000,7 @@ ${input.slice(result.pos)}
13773
14000
  return result;
13774
14001
  }
13775
14002
  }
13776
- var Static$0 = $TS($S($EXPECT($L139, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14003
+ var Static$0 = $TS($S($EXPECT($L138, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13777
14004
  return { $loc, token: $1 };
13778
14005
  });
13779
14006
  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) {
@@ -13801,7 +14028,7 @@ ${input.slice(result.pos)}
13801
14028
  return result;
13802
14029
  }
13803
14030
  }
13804
- var SubstitutionStart$0 = $TV($EXPECT($L140, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
14031
+ var SubstitutionStart$0 = $TV($EXPECT($L139, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
13805
14032
  return { $loc, token: $1 };
13806
14033
  });
13807
14034
  function SubstitutionStart(state) {
@@ -13826,7 +14053,7 @@ ${input.slice(result.pos)}
13826
14053
  return result;
13827
14054
  }
13828
14055
  }
13829
- var Switch$0 = $TS($S($EXPECT($L141, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14056
+ var Switch$0 = $TS($S($EXPECT($L140, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13830
14057
  return { $loc, token: $1 };
13831
14058
  });
13832
14059
  function Switch(state) {
@@ -13851,7 +14078,7 @@ ${input.slice(result.pos)}
13851
14078
  return result;
13852
14079
  }
13853
14080
  }
13854
- var Target$0 = $TS($S($EXPECT($L142, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14081
+ var Target$0 = $TS($S($EXPECT($L141, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13855
14082
  return { $loc, token: $1 };
13856
14083
  });
13857
14084
  function Target(state) {
@@ -13876,7 +14103,7 @@ ${input.slice(result.pos)}
13876
14103
  return result;
13877
14104
  }
13878
14105
  }
13879
- var Then$0 = $TS($S(__, $EXPECT($L143, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14106
+ var Then$0 = $TS($S(__, $EXPECT($L142, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
13880
14107
  return { $loc, token: "" };
13881
14108
  });
13882
14109
  function Then(state) {
@@ -13901,7 +14128,7 @@ ${input.slice(result.pos)}
13901
14128
  return result;
13902
14129
  }
13903
14130
  }
13904
- var This$0 = $TS($S($EXPECT($L144, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14131
+ var This$0 = $TS($S($EXPECT($L143, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13905
14132
  return { $loc, token: $1 };
13906
14133
  });
13907
14134
  function This(state) {
@@ -13926,7 +14153,7 @@ ${input.slice(result.pos)}
13926
14153
  return result;
13927
14154
  }
13928
14155
  }
13929
- var Throw$0 = $TS($S($EXPECT($L145, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14156
+ var Throw$0 = $TS($S($EXPECT($L144, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13930
14157
  return { $loc, token: $1 };
13931
14158
  });
13932
14159
  function Throw(state) {
@@ -13951,7 +14178,7 @@ ${input.slice(result.pos)}
13951
14178
  return result;
13952
14179
  }
13953
14180
  }
13954
- var TripleDoubleQuote$0 = $TV($EXPECT($L146, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14181
+ var TripleDoubleQuote$0 = $TV($EXPECT($L145, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
13955
14182
  return { $loc, token: "`" };
13956
14183
  });
13957
14184
  function TripleDoubleQuote(state) {
@@ -13976,7 +14203,7 @@ ${input.slice(result.pos)}
13976
14203
  return result;
13977
14204
  }
13978
14205
  }
13979
- var TripleSingleQuote$0 = $TV($EXPECT($L147, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14206
+ var TripleSingleQuote$0 = $TV($EXPECT($L146, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
13980
14207
  return { $loc, token: "`" };
13981
14208
  });
13982
14209
  function TripleSingleQuote(state) {
@@ -14001,7 +14228,7 @@ ${input.slice(result.pos)}
14001
14228
  return result;
14002
14229
  }
14003
14230
  }
14004
- var TripleSlash$0 = $TV($EXPECT($L148, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14231
+ var TripleSlash$0 = $TV($EXPECT($L147, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14005
14232
  return { $loc, token: "/" };
14006
14233
  });
14007
14234
  function TripleSlash(state) {
@@ -14026,7 +14253,7 @@ ${input.slice(result.pos)}
14026
14253
  return result;
14027
14254
  }
14028
14255
  }
14029
- var TripleTick$0 = $TV($EXPECT($L149, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14256
+ var TripleTick$0 = $TV($EXPECT($L148, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14030
14257
  return { $loc, token: "`" };
14031
14258
  });
14032
14259
  function TripleTick(state) {
@@ -14051,7 +14278,7 @@ ${input.slice(result.pos)}
14051
14278
  return result;
14052
14279
  }
14053
14280
  }
14054
- var Try$0 = $TS($S($EXPECT($L150, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14281
+ var Try$0 = $TS($S($EXPECT($L149, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14055
14282
  return { $loc, token: $1 };
14056
14283
  });
14057
14284
  function Try(state) {
@@ -14076,7 +14303,7 @@ ${input.slice(result.pos)}
14076
14303
  return result;
14077
14304
  }
14078
14305
  }
14079
- var Typeof$0 = $TS($S($EXPECT($L151, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14306
+ var Typeof$0 = $TS($S($EXPECT($L150, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14080
14307
  return { $loc, token: $1 };
14081
14308
  });
14082
14309
  function Typeof(state) {
@@ -14101,7 +14328,7 @@ ${input.slice(result.pos)}
14101
14328
  return result;
14102
14329
  }
14103
14330
  }
14104
- var Unless$0 = $TS($S($EXPECT($L152, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14331
+ var Unless$0 = $TS($S($EXPECT($L151, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14105
14332
  return { $loc, token: $1 };
14106
14333
  });
14107
14334
  function Unless(state) {
@@ -14126,7 +14353,7 @@ ${input.slice(result.pos)}
14126
14353
  return result;
14127
14354
  }
14128
14355
  }
14129
- var Until$0 = $TS($S($EXPECT($L153, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14356
+ var Until$0 = $TS($S($EXPECT($L152, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14130
14357
  return { $loc, token: $1 };
14131
14358
  });
14132
14359
  function Until(state) {
@@ -14151,7 +14378,7 @@ ${input.slice(result.pos)}
14151
14378
  return result;
14152
14379
  }
14153
14380
  }
14154
- var Var$0 = $TS($S($EXPECT($L154, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14381
+ var Var$0 = $TS($S($EXPECT($L153, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14155
14382
  return { $loc, token: $1 };
14156
14383
  });
14157
14384
  function Var(state) {
@@ -14176,7 +14403,7 @@ ${input.slice(result.pos)}
14176
14403
  return result;
14177
14404
  }
14178
14405
  }
14179
- var Void$0 = $TS($S($EXPECT($L155, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14406
+ var Void$0 = $TS($S($EXPECT($L154, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14180
14407
  return { $loc, token: $1 };
14181
14408
  });
14182
14409
  function Void(state) {
@@ -14201,7 +14428,7 @@ ${input.slice(result.pos)}
14201
14428
  return result;
14202
14429
  }
14203
14430
  }
14204
- var When$0 = $TS($S($EXPECT($L156, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14431
+ var When$0 = $TS($S($EXPECT($L155, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14205
14432
  return { $loc, token: "case" };
14206
14433
  });
14207
14434
  function When(state) {
@@ -14226,7 +14453,7 @@ ${input.slice(result.pos)}
14226
14453
  return result;
14227
14454
  }
14228
14455
  }
14229
- var While$0 = $TS($S($EXPECT($L157, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14456
+ var While$0 = $TS($S($EXPECT($L156, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14230
14457
  return { $loc, token: $1 };
14231
14458
  });
14232
14459
  function While(state) {
@@ -14251,7 +14478,7 @@ ${input.slice(result.pos)}
14251
14478
  return result;
14252
14479
  }
14253
14480
  }
14254
- var Yield$0 = $TS($S($EXPECT($L158, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14481
+ var Yield$0 = $TS($S($EXPECT($L157, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14255
14482
  return { $loc, token: $1 };
14256
14483
  });
14257
14484
  function Yield(state) {
@@ -14397,7 +14624,7 @@ ${input.slice(result.pos)}
14397
14624
  return result;
14398
14625
  }
14399
14626
  }
14400
- 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) {
14627
+ 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) {
14401
14628
  return { type: "JSXElement", children: $0, tag: $2 };
14402
14629
  });
14403
14630
  function JSXSelfClosingElement(state) {
@@ -14448,7 +14675,7 @@ ${input.slice(result.pos)}
14448
14675
  return result;
14449
14676
  }
14450
14677
  }
14451
- var JSXOpeningElement$0 = $S($EXPECT($L128, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14678
+ var JSXOpeningElement$0 = $S($EXPECT($L127, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14452
14679
  function JSXOpeningElement(state) {
14453
14680
  let eventData;
14454
14681
  if (state.events) {
@@ -14477,7 +14704,7 @@ ${input.slice(result.pos)}
14477
14704
  return $skip;
14478
14705
  return $0;
14479
14706
  });
14480
- var JSXOptionalClosingElement$1 = $EXPECT($L18, fail, 'JSXOptionalClosingElement ""');
14707
+ var JSXOptionalClosingElement$1 = $EXPECT($L17, fail, 'JSXOptionalClosingElement ""');
14481
14708
  function JSXOptionalClosingElement(state) {
14482
14709
  let eventData;
14483
14710
  if (state.events) {
@@ -14500,7 +14727,7 @@ ${input.slice(result.pos)}
14500
14727
  return result;
14501
14728
  }
14502
14729
  }
14503
- var JSXClosingElement$0 = $S($EXPECT($L160, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14730
+ var JSXClosingElement$0 = $S($EXPECT($L159, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14504
14731
  function JSXClosingElement(state) {
14505
14732
  let eventData;
14506
14733
  if (state.events) {
@@ -14539,7 +14766,7 @@ ${input.slice(result.pos)}
14539
14766
  ];
14540
14767
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
14541
14768
  });
14542
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L161, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14769
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L160, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14543
14770
  var children = $3;
14544
14771
  $0 = $0.slice(1);
14545
14772
  return {
@@ -14570,7 +14797,7 @@ ${input.slice(result.pos)}
14570
14797
  return result;
14571
14798
  }
14572
14799
  }
14573
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L161, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14800
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L160, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14574
14801
  module2.JSXTagStack.push("");
14575
14802
  return $1;
14576
14803
  });
@@ -14601,7 +14828,7 @@ ${input.slice(result.pos)}
14601
14828
  return $skip;
14602
14829
  return $0;
14603
14830
  });
14604
- var JSXOptionalClosingFragment$1 = $EXPECT($L18, fail, 'JSXOptionalClosingFragment ""');
14831
+ var JSXOptionalClosingFragment$1 = $EXPECT($L17, fail, 'JSXOptionalClosingFragment ""');
14605
14832
  function JSXOptionalClosingFragment(state) {
14606
14833
  let eventData;
14607
14834
  if (state.events) {
@@ -14624,7 +14851,7 @@ ${input.slice(result.pos)}
14624
14851
  return result;
14625
14852
  }
14626
14853
  }
14627
- var JSXClosingFragment$0 = $EXPECT($L162, fail, 'JSXClosingFragment "</>"');
14854
+ var JSXClosingFragment$0 = $EXPECT($L161, fail, 'JSXClosingFragment "</>"');
14628
14855
  function JSXClosingFragment(state) {
14629
14856
  let eventData;
14630
14857
  if (state.events) {
@@ -14916,7 +15143,7 @@ ${input.slice(result.pos)}
14916
15143
  return ["{", $1, "}"];
14917
15144
  });
14918
15145
  var JSXShorthandString$2 = StringLiteral;
14919
- var JSXShorthandString$3 = $S(OpenBrace, ExtendedExpression, $E(Whitespace), CloseBrace);
15146
+ var JSXShorthandString$3 = $S(OpenBrace, PostfixedExpression, $E(Whitespace), CloseBrace);
14920
15147
  function JSXShorthandString(state) {
14921
15148
  let eventData;
14922
15149
  if (state.events) {
@@ -14986,7 +15213,7 @@ ${input.slice(result.pos)}
14986
15213
  return result;
14987
15214
  }
14988
15215
  }
14989
- var JSXAttributeValue$0 = $S(OpenBrace, ExtendedExpression, $E(Whitespace), CloseBrace);
15216
+ var JSXAttributeValue$0 = $S(OpenBrace, PostfixedExpression, $E(Whitespace), CloseBrace);
14990
15217
  var JSXAttributeValue$1 = JSXElement;
14991
15218
  var JSXAttributeValue$2 = JSXFragment;
14992
15219
  var JSXAttributeValue$3 = $TS($S(InsertInlineOpenBrace, InlineJSXAttributeValue, InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3) {
@@ -15177,7 +15404,7 @@ ${input.slice(result.pos)}
15177
15404
  }
15178
15405
  }
15179
15406
  var InlineJSXCallExpression$0 = $S($EXPECT($L12, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
15180
- var InlineJSXCallExpression$1 = $S($EXPECT($L13, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
15407
+ var InlineJSXCallExpression$1 = $S($EXPECT($L13, fail, 'InlineJSXCallExpression "import"'), OpenParen, PostfixedExpression, __, CloseParen);
15181
15408
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
15182
15409
  if ($2.length)
15183
15410
  return $0;
@@ -15520,7 +15747,7 @@ ${input.slice(result.pos)}
15520
15747
  return result;
15521
15748
  }
15522
15749
  }
15523
- var JSXComment$0 = $TS($S($EXPECT($L163, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L164, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15750
+ var JSXComment$0 = $TS($S($EXPECT($L162, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L163, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15524
15751
  return ["{/*", $2, "*/}"];
15525
15752
  });
15526
15753
  function JSXComment(state) {
@@ -15599,7 +15826,7 @@ ${input.slice(result.pos)}
15599
15826
  return result;
15600
15827
  }
15601
15828
  }
15602
- var JSXChildExpression$0 = $S($E(Whitespace), $E($S(DotDotDot, $E(Whitespace))), ExtendedExpression);
15829
+ var JSXChildExpression$0 = $S($E(Whitespace), $E($S(DotDotDot, $E(Whitespace))), PostfixedExpression);
15603
15830
  function JSXChildExpression(state) {
15604
15831
  let eventData;
15605
15832
  if (state.events) {
@@ -15818,7 +16045,7 @@ ${input.slice(result.pos)}
15818
16045
  return result;
15819
16046
  }
15820
16047
  }
15821
- var TypeKeyword$0 = $S($EXPECT($L165, fail, 'TypeKeyword "type"'), NonIdContinue);
16048
+ var TypeKeyword$0 = $S($EXPECT($L164, fail, 'TypeKeyword "type"'), NonIdContinue);
15822
16049
  function TypeKeyword(state) {
15823
16050
  let eventData;
15824
16051
  if (state.events) {
@@ -15841,7 +16068,7 @@ ${input.slice(result.pos)}
15841
16068
  return result;
15842
16069
  }
15843
16070
  }
15844
- var Interface$0 = $S($EXPECT($L166, fail, 'Interface "interface"'), NonIdContinue);
16071
+ var Interface$0 = $S($EXPECT($L165, fail, 'Interface "interface"'), NonIdContinue);
15845
16072
  function Interface(state) {
15846
16073
  let eventData;
15847
16074
  if (state.events) {
@@ -15864,7 +16091,7 @@ ${input.slice(result.pos)}
15864
16091
  return result;
15865
16092
  }
15866
16093
  }
15867
- var Namespace$0 = $S($EXPECT($L167, fail, 'Namespace "namespace"'), NonIdContinue);
16094
+ var Namespace$0 = $S($EXPECT($L166, fail, 'Namespace "namespace"'), NonIdContinue);
15868
16095
  function Namespace(state) {
15869
16096
  let eventData;
15870
16097
  if (state.events) {
@@ -16112,7 +16339,7 @@ ${input.slice(result.pos)}
16112
16339
  return result;
16113
16340
  }
16114
16341
  }
16115
- 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)));
16342
+ 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)));
16116
16343
  function TypeIndexSignature(state) {
16117
16344
  let eventData;
16118
16345
  if (state.events) {
@@ -16184,7 +16411,7 @@ ${input.slice(result.pos)}
16184
16411
  return result;
16185
16412
  }
16186
16413
  }
16187
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L168, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16414
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L167, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16188
16415
  const children = [...$1, $2];
16189
16416
  if ($3)
16190
16417
  children.push($3);
@@ -16343,10 +16570,10 @@ ${input.slice(result.pos)}
16343
16570
  return result;
16344
16571
  }
16345
16572
  }
16346
- var TypeUnaryOp$0 = $S($EXPECT($L169, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16347
- var TypeUnaryOp$1 = $S($EXPECT($L151, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16348
- var TypeUnaryOp$2 = $S($EXPECT($L170, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16349
- var TypeUnaryOp$3 = $S($EXPECT($L135, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16573
+ var TypeUnaryOp$0 = $S($EXPECT($L168, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16574
+ var TypeUnaryOp$1 = $S($EXPECT($L150, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16575
+ var TypeUnaryOp$2 = $S($EXPECT($L169, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16576
+ var TypeUnaryOp$3 = $S($EXPECT($L134, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16350
16577
  function TypeUnaryOp(state) {
16351
16578
  let eventData;
16352
16579
  if (state.events) {
@@ -16544,7 +16771,7 @@ ${input.slice(result.pos)}
16544
16771
  return result;
16545
16772
  }
16546
16773
  }
16547
- 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) {
16774
+ 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) {
16548
16775
  if ($2)
16549
16776
  return $0;
16550
16777
  return $1;
@@ -16573,10 +16800,10 @@ ${input.slice(result.pos)}
16573
16800
  }
16574
16801
  var TypeLiteral$0 = TemplateLiteral;
16575
16802
  var TypeLiteral$1 = Literal;
16576
- var TypeLiteral$2 = $TS($S($EXPECT($L155, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16803
+ var TypeLiteral$2 = $TS($S($EXPECT($L154, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16577
16804
  return { $loc, token: "void" };
16578
16805
  });
16579
- var TypeLiteral$3 = $TV($EXPECT($L171, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16806
+ var TypeLiteral$3 = $TV($EXPECT($L170, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16580
16807
  return { $loc, token: "[]" };
16581
16808
  });
16582
16809
  function TypeLiteral(state) {
@@ -16651,7 +16878,7 @@ ${input.slice(result.pos)}
16651
16878
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
16652
16879
  return value[1];
16653
16880
  });
16654
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L19, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16881
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16655
16882
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
16656
16883
  function InlineInterfacePropertyDelimiter(state) {
16657
16884
  let eventData;
@@ -16760,7 +16987,7 @@ ${input.slice(result.pos)}
16760
16987
  return result;
16761
16988
  }
16762
16989
  }
16763
- var TypeArguments$0 = $TS($S($EXPECT($L128, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16990
+ var TypeArguments$0 = $TS($S($EXPECT($L127, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16764
16991
  return { ts: true, children: $0 };
16765
16992
  });
16766
16993
  function TypeArguments(state) {
@@ -16831,7 +17058,7 @@ ${input.slice(result.pos)}
16831
17058
  return result;
16832
17059
  }
16833
17060
  }
16834
- var TypeParameters$0 = $TS($S(__, $EXPECT($L128, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17061
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L127, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
16835
17062
  var parameters = $3;
16836
17063
  return {
16837
17064
  type: "TypeParameters",
@@ -16885,7 +17112,7 @@ ${input.slice(result.pos)}
16885
17112
  return result;
16886
17113
  }
16887
17114
  }
16888
- var TypeConstraint$0 = $S(__, $EXPECT($L116, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17115
+ var TypeConstraint$0 = $S(__, $EXPECT($L115, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
16889
17116
  function TypeConstraint(state) {
16890
17117
  let eventData;
16891
17118
  if (state.events) {
@@ -17036,7 +17263,7 @@ ${input.slice(result.pos)}
17036
17263
  return result;
17037
17264
  }
17038
17265
  }
17039
- 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) {
17266
+ 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) {
17040
17267
  var options = $3;
17041
17268
  return {
17042
17269
  type: "CivetPrologue",
@@ -17197,7 +17424,7 @@ ${input.slice(result.pos)}
17197
17424
  return result;
17198
17425
  }
17199
17426
  }
17200
- var Debugger$0 = $TV($EXPECT($L18, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17427
+ var Debugger$0 = $TV($EXPECT($L17, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17201
17428
  debugger;
17202
17429
  });
17203
17430
  function Debugger(state) {
@@ -17222,7 +17449,7 @@ ${input.slice(result.pos)}
17222
17449
  return result;
17223
17450
  }
17224
17451
  }
17225
- var InsertSemicolon$0 = $TV($EXPECT($L18, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17452
+ var InsertSemicolon$0 = $TV($EXPECT($L17, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17226
17453
  return { $loc, token: ";" };
17227
17454
  });
17228
17455
  function InsertSemicolon(state) {
@@ -17247,7 +17474,7 @@ ${input.slice(result.pos)}
17247
17474
  return result;
17248
17475
  }
17249
17476
  }
17250
- var InsertOpenParen$0 = $TV($EXPECT($L18, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17477
+ var InsertOpenParen$0 = $TV($EXPECT($L17, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17251
17478
  return { $loc, token: "(" };
17252
17479
  });
17253
17480
  function InsertOpenParen(state) {
@@ -17272,7 +17499,7 @@ ${input.slice(result.pos)}
17272
17499
  return result;
17273
17500
  }
17274
17501
  }
17275
- var InsertCloseParen$0 = $TV($EXPECT($L18, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17502
+ var InsertCloseParen$0 = $TV($EXPECT($L17, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17276
17503
  return { $loc, token: ")" };
17277
17504
  });
17278
17505
  function InsertCloseParen(state) {
@@ -17297,7 +17524,7 @@ ${input.slice(result.pos)}
17297
17524
  return result;
17298
17525
  }
17299
17526
  }
17300
- var InsertOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17527
+ var InsertOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17301
17528
  return [{ $loc, token: " " }, { $loc, token: "{" }];
17302
17529
  });
17303
17530
  function InsertOpenBrace(state) {
@@ -17322,7 +17549,7 @@ ${input.slice(result.pos)}
17322
17549
  return result;
17323
17550
  }
17324
17551
  }
17325
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17552
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17326
17553
  return { $loc, token: "{" };
17327
17554
  });
17328
17555
  function InsertInlineOpenBrace(state) {
@@ -17347,7 +17574,7 @@ ${input.slice(result.pos)}
17347
17574
  return result;
17348
17575
  }
17349
17576
  }
17350
- var InsertCloseBrace$0 = $TV($EXPECT($L18, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17577
+ var InsertCloseBrace$0 = $TV($EXPECT($L17, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17351
17578
  return { $loc, token: "}" };
17352
17579
  });
17353
17580
  function InsertCloseBrace(state) {
@@ -17372,7 +17599,7 @@ ${input.slice(result.pos)}
17372
17599
  return result;
17373
17600
  }
17374
17601
  }
17375
- var InsertOpenBracket$0 = $TV($EXPECT($L18, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17602
+ var InsertOpenBracket$0 = $TV($EXPECT($L17, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17376
17603
  return { $loc, token: "[" };
17377
17604
  });
17378
17605
  function InsertOpenBracket(state) {
@@ -17397,7 +17624,7 @@ ${input.slice(result.pos)}
17397
17624
  return result;
17398
17625
  }
17399
17626
  }
17400
- var InsertCloseBracket$0 = $TV($EXPECT($L18, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17627
+ var InsertCloseBracket$0 = $TV($EXPECT($L17, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17401
17628
  return { $loc, token: "]" };
17402
17629
  });
17403
17630
  function InsertCloseBracket(state) {
@@ -17422,7 +17649,7 @@ ${input.slice(result.pos)}
17422
17649
  return result;
17423
17650
  }
17424
17651
  }
17425
- var InsertComma$0 = $TV($EXPECT($L18, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17652
+ var InsertComma$0 = $TV($EXPECT($L17, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17426
17653
  return { $loc, token: "," };
17427
17654
  });
17428
17655
  function InsertComma(state) {
@@ -17447,7 +17674,7 @@ ${input.slice(result.pos)}
17447
17674
  return result;
17448
17675
  }
17449
17676
  }
17450
- var InsertConst$0 = $TV($EXPECT($L18, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17677
+ var InsertConst$0 = $TV($EXPECT($L17, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17451
17678
  return { $loc, token: "const " };
17452
17679
  });
17453
17680
  function InsertConst(state) {
@@ -17472,7 +17699,7 @@ ${input.slice(result.pos)}
17472
17699
  return result;
17473
17700
  }
17474
17701
  }
17475
- var InsertLet$0 = $TV($EXPECT($L18, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17702
+ var InsertLet$0 = $TV($EXPECT($L17, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17476
17703
  return { $loc, token: "let " };
17477
17704
  });
17478
17705
  function InsertLet(state) {
@@ -17497,7 +17724,7 @@ ${input.slice(result.pos)}
17497
17724
  return result;
17498
17725
  }
17499
17726
  }
17500
- var InsertReadonly$0 = $TV($EXPECT($L18, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17727
+ var InsertReadonly$0 = $TV($EXPECT($L17, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17501
17728
  return { ts: true, children: [{ $loc, token: "readonly " }] };
17502
17729
  });
17503
17730
  function InsertReadonly(state) {
@@ -17522,7 +17749,7 @@ ${input.slice(result.pos)}
17522
17749
  return result;
17523
17750
  }
17524
17751
  }
17525
- var InsertNewline$0 = $TV($EXPECT($L18, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17752
+ var InsertNewline$0 = $TV($EXPECT($L17, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17526
17753
  return "\n";
17527
17754
  });
17528
17755
  function InsertNewline(state) {
@@ -17547,7 +17774,7 @@ ${input.slice(result.pos)}
17547
17774
  return result;
17548
17775
  }
17549
17776
  }
17550
- var InsertIndent$0 = $TV($EXPECT($L18, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17777
+ var InsertIndent$0 = $TV($EXPECT($L17, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17551
17778
  return module2.currentIndent.token;
17552
17779
  });
17553
17780
  function InsertIndent(state) {
@@ -17572,7 +17799,7 @@ ${input.slice(result.pos)}
17572
17799
  return result;
17573
17800
  }
17574
17801
  }
17575
- var InsertSpace$0 = $TV($EXPECT($L18, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17802
+ var InsertSpace$0 = $TV($EXPECT($L17, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17576
17803
  return { $loc, token: " " };
17577
17804
  });
17578
17805
  function InsertSpace(state) {
@@ -17597,7 +17824,7 @@ ${input.slice(result.pos)}
17597
17824
  return result;
17598
17825
  }
17599
17826
  }
17600
- var InsertDot$0 = $TV($EXPECT($L18, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17827
+ var InsertDot$0 = $TV($EXPECT($L17, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17601
17828
  return { $loc, token: "." };
17602
17829
  });
17603
17830
  function InsertDot(state) {
@@ -17622,7 +17849,7 @@ ${input.slice(result.pos)}
17622
17849
  return result;
17623
17850
  }
17624
17851
  }
17625
- var InsertBreak$0 = $TV($EXPECT($L18, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17852
+ var InsertBreak$0 = $TV($EXPECT($L17, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17626
17853
  return { $loc, token: ";break;" };
17627
17854
  });
17628
17855
  function InsertBreak(state) {
@@ -17647,7 +17874,7 @@ ${input.slice(result.pos)}
17647
17874
  return result;
17648
17875
  }
17649
17876
  }
17650
- var InsertVar$0 = $TV($EXPECT($L18, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17877
+ var InsertVar$0 = $TV($EXPECT($L17, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17651
17878
  return { $loc, token: "var " };
17652
17879
  });
17653
17880
  function InsertVar(state) {
@@ -17672,7 +17899,7 @@ ${input.slice(result.pos)}
17672
17899
  return result;
17673
17900
  }
17674
17901
  }
17675
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17902
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17676
17903
  if (module2.config.coffeeBinaryExistential)
17677
17904
  return;
17678
17905
  return $skip;
@@ -17699,7 +17926,7 @@ ${input.slice(result.pos)}
17699
17926
  return result;
17700
17927
  }
17701
17928
  }
17702
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17929
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17703
17930
  if (module2.config.coffeeBooleans)
17704
17931
  return;
17705
17932
  return $skip;
@@ -17726,7 +17953,7 @@ ${input.slice(result.pos)}
17726
17953
  return result;
17727
17954
  }
17728
17955
  }
17729
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17956
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17730
17957
  if (module2.config.coffeeClasses)
17731
17958
  return;
17732
17959
  return $skip;
@@ -17753,7 +17980,7 @@ ${input.slice(result.pos)}
17753
17980
  return result;
17754
17981
  }
17755
17982
  }
17756
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17983
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17757
17984
  if (module2.config.coffeeComment)
17758
17985
  return;
17759
17986
  return $skip;
@@ -17780,7 +18007,7 @@ ${input.slice(result.pos)}
17780
18007
  return result;
17781
18008
  }
17782
18009
  }
17783
- var CoffeeDoEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
18010
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17784
18011
  if (module2.config.coffeeDo)
17785
18012
  return;
17786
18013
  return $skip;
@@ -17807,7 +18034,7 @@ ${input.slice(result.pos)}
17807
18034
  return result;
17808
18035
  }
17809
18036
  }
17810
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
18037
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17811
18038
  if (module2.config.coffeeForLoops)
17812
18039
  return;
17813
18040
  return $skip;
@@ -17834,7 +18061,7 @@ ${input.slice(result.pos)}
17834
18061
  return result;
17835
18062
  }
17836
18063
  }
17837
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
18064
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
17838
18065
  if (module2.config.coffeeInterpolation)
17839
18066
  return;
17840
18067
  return $skip;
@@ -17861,7 +18088,7 @@ ${input.slice(result.pos)}
17861
18088
  return result;
17862
18089
  }
17863
18090
  }
17864
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
18091
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
17865
18092
  if (module2.config.coffeeIsnt)
17866
18093
  return;
17867
18094
  return $skip;
@@ -17888,7 +18115,7 @@ ${input.slice(result.pos)}
17888
18115
  return result;
17889
18116
  }
17890
18117
  }
17891
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
18118
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
17892
18119
  if (module2.config.coffeeJSX)
17893
18120
  return;
17894
18121
  return $skip;
@@ -17915,7 +18142,7 @@ ${input.slice(result.pos)}
17915
18142
  return result;
17916
18143
  }
17917
18144
  }
17918
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
18145
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
17919
18146
  if (module2.config.coffeeLineContinuation)
17920
18147
  return;
17921
18148
  return $skip;
@@ -17942,7 +18169,7 @@ ${input.slice(result.pos)}
17942
18169
  return result;
17943
18170
  }
17944
18171
  }
17945
- var CoffeeNotEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
18172
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
17946
18173
  if (module2.config.coffeeNot)
17947
18174
  return;
17948
18175
  return $skip;
@@ -17969,7 +18196,7 @@ ${input.slice(result.pos)}
17969
18196
  return result;
17970
18197
  }
17971
18198
  }
17972
- var CoffeeOfEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
18199
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
17973
18200
  if (module2.config.coffeeOf)
17974
18201
  return;
17975
18202
  return $skip;
@@ -17996,7 +18223,7 @@ ${input.slice(result.pos)}
17996
18223
  return result;
17997
18224
  }
17998
18225
  }
17999
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18226
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
18000
18227
  if (module2.config.coffeePrototype)
18001
18228
  return;
18002
18229
  return $skip;
@@ -18023,7 +18250,7 @@ ${input.slice(result.pos)}
18023
18250
  return result;
18024
18251
  }
18025
18252
  }
18026
- var ObjectIsEnabled$0 = $TV($EXPECT($L18, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18253
+ var ObjectIsEnabled$0 = $TV($EXPECT($L17, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18027
18254
  if (module2.config.objectIs)
18028
18255
  return;
18029
18256
  return $skip;
@@ -18050,7 +18277,7 @@ ${input.slice(result.pos)}
18050
18277
  return result;
18051
18278
  }
18052
18279
  }
18053
- var Reset$0 = $TV($EXPECT($L18, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18280
+ var Reset$0 = $TV($EXPECT($L17, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18054
18281
  module2.indentLevels = [{
18055
18282
  level: 0,
18056
18283
  token: ""
@@ -18328,13 +18555,69 @@ ${input.slice(result.pos)}
18328
18555
  return result;
18329
18556
  }
18330
18557
  }
18331
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L18, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18558
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L17, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18332
18559
  var directives = $2;
18333
18560
  directives.forEach((directive) => {
18334
18561
  if (directive.type === "CivetPrologue") {
18335
18562
  Object.assign(module2.config, directive.config);
18336
18563
  }
18337
18564
  });
18565
+ module2.processGlob = (node) => {
18566
+ const { children } = node;
18567
+ for (let i = 0; i < children.length; i++) {
18568
+ const glob = children[i];
18569
+ if (glob?.type === "PropertyGlob") {
18570
+ const prefix = children.slice(0, i).concat(glob.children[0]);
18571
+ const parts = [];
18572
+ for (const part of glob.pattern.content) {
18573
+ if (part.init) {
18574
+ throw new Error("Glob pattern cannot have initializers");
18575
+ }
18576
+ if (part.type === "AtBindingProperty") {
18577
+ throw new Error("Glob pattern cannot have @property");
18578
+ }
18579
+ if (part.type === "BindingRestProperty") {
18580
+ throw new Error("Glob pattern cannot have ...rest property");
18581
+ }
18582
+ const name = part.value ? module2.insertTrimmingSpace(part.value, "") : part.name;
18583
+ const value = prefix.concat(module2.insertTrimmingSpace(part.name, ""));
18584
+ const wValue = part.value && module2.getTrimmingSpace(part.value);
18585
+ if (wValue)
18586
+ value.unshift(wValue);
18587
+ parts.push({
18588
+ type: "Property",
18589
+ name,
18590
+ value,
18591
+ names: part.names,
18592
+ children: [
18593
+ module2.isWhitespaceOrEmpty(part.children[0]) && part.children[0],
18594
+ name,
18595
+ module2.isWhitespaceOrEmpty(part.children[2]) && part.children[2],
18596
+ part.children[3]?.token === ":" ? part.children[3] : ":",
18597
+ value,
18598
+ part.children[part.children.length - 1]
18599
+ ]
18600
+ });
18601
+ }
18602
+ const object = {
18603
+ type: "ObjectExpression",
18604
+ children: [
18605
+ glob.pattern.children[0],
18606
+ ...parts,
18607
+ glob.pattern.children.at(-2),
18608
+ glob.pattern.children.at(-1)
18609
+ ]
18610
+ };
18611
+ if (i === children.length - 1)
18612
+ return object;
18613
+ return module2.processGlob({
18614
+ ...node,
18615
+ children: [object, ...children.slice(i + 1)]
18616
+ });
18617
+ }
18618
+ }
18619
+ return node;
18620
+ };
18338
18621
  module2.processUnaryExpression = (pre, exp, post) => {
18339
18622
  if (post?.token === "?") {
18340
18623
  post = {
@@ -18416,10 +18699,11 @@ ${input.slice(result.pos)}
18416
18699
  children.push(block);
18417
18700
  if (!module2.isWhitespaceOrEmpty(ws))
18418
18701
  children.push(ws);
18419
- return Object.assign({}, post, {
18420
- children,
18421
- block
18422
- });
18702
+ post = { ...post, children, block };
18703
+ if (post.type === "IfStatement") {
18704
+ post.then = block;
18705
+ }
18706
+ return post;
18423
18707
  };
18424
18708
  function expressionizeIteration(exp) {
18425
18709
  const resultsRef = {
@@ -18492,9 +18776,9 @@ ${input.slice(result.pos)}
18492
18776
  insertPush(exp.expressions[exp.expressions.length - 1], ref);
18493
18777
  return;
18494
18778
  case "IfStatement":
18495
- insertPush(exp.children[2], ref);
18496
- if (exp.children[3])
18497
- insertPush(exp.children[3][2], ref);
18779
+ insertPush(exp.then, ref);
18780
+ if (exp.else)
18781
+ insertPush(exp.else[2], ref);
18498
18782
  else
18499
18783
  exp.children.push([" else {\n", indent, ref, ".push(undefined)\n", indent, "}"]);
18500
18784
  return;
@@ -18550,7 +18834,9 @@ ${input.slice(result.pos)}
18550
18834
  }
18551
18835
  if (!Array.isArray(node))
18552
18836
  return;
18553
- const [, exp] = node;
18837
+ const [, exp, semi] = node;
18838
+ if (semi?.type === "SemicolonDelimiter")
18839
+ return;
18554
18840
  let indent = node[0];
18555
18841
  if (Array.isArray(indent))
18556
18842
  indent = indent[indent.length - 1];
@@ -18573,9 +18859,9 @@ ${input.slice(result.pos)}
18573
18859
  insertReturn(exp.expressions[exp.expressions.length - 1]);
18574
18860
  return;
18575
18861
  case "IfStatement":
18576
- insertReturn(exp.children[2]);
18577
- if (exp.children[3])
18578
- insertReturn(exp.children[3][2]);
18862
+ insertReturn(exp.then);
18863
+ if (exp.else)
18864
+ insertReturn(exp.else[2]);
18579
18865
  else
18580
18866
  exp.children.push(["\n", indent, wrapWithReturn()]);
18581
18867
  return;
@@ -18612,6 +18898,8 @@ ${input.slice(result.pos)}
18612
18898
  module2.isWhitespaceOrEmpty = function(node) {
18613
18899
  if (!node)
18614
18900
  return true;
18901
+ if (node.type === "Ref")
18902
+ return false;
18615
18903
  if (node.token)
18616
18904
  return node.token.match(/^\s*$/);
18617
18905
  if (node.children)
@@ -18636,6 +18924,14 @@ ${input.slice(result.pos)}
18636
18924
  const op = expandedOps[i];
18637
18925
  if (op.special) {
18638
18926
  let [a, wsOp, op2, wsB, b] = expandedOps.slice(i - 2, i + 3);
18927
+ if (op2.token === "instanceof" && b.type === "Literal" && b.children?.[0]?.type === "StringLiteral") {
18928
+ a = ["typeof ", module2.makeLeftHandSideExpression(a)];
18929
+ if (op2.negated) {
18930
+ op2 = { ...op2, token: "!==", negated: false };
18931
+ } else {
18932
+ op2 = { ...op2, token: "===" };
18933
+ }
18934
+ }
18639
18935
  if (op2.asConst) {
18640
18936
  a = module2.makeAsConst(a);
18641
18937
  b = module2.makeAsConst(b);
@@ -18676,7 +18972,7 @@ ${input.slice(result.pos)}
18676
18972
  return expandedOps;
18677
18973
  };
18678
18974
  module2.expandChainedComparisons = function([first, binops]) {
18679
- const relationalOps = ["==", "===", "!=", "!==", "<", "<=", ">", ">=", "in", "instanceof"];
18975
+ const relationalOps = ["==", "===", "!=", "!==", "<", "<=", ">", ">=", "in"];
18680
18976
  const lowerPrecedenceOps = ["??", "&&", "||", "&", "|", "^"];
18681
18977
  let results = [];
18682
18978
  let i = 0;
@@ -18782,6 +19078,16 @@ ${input.slice(result.pos)}
18782
19078
  });
18783
19079
  return target;
18784
19080
  };
19081
+ module2.getTrimmingSpace = function(target) {
19082
+ if (!target)
19083
+ return;
19084
+ if (Array.isArray(target))
19085
+ return module2.getTrimmingSpace(target[0]);
19086
+ if (target.children)
19087
+ return module2.getTrimmingSpace(target.children[0]);
19088
+ if (target.token)
19089
+ return target.token.match(/^ ?/)[0];
19090
+ };
18785
19091
  const initialSpacingRe = /^(?:\r?\n|\n)*((?:\r?\n|\n)\s+)/;
18786
19092
  module2.dedentBlockSubstitutions = function($02) {
18787
19093
  const [s, strWithSubstitutions, e] = $02;
@@ -19237,7 +19543,7 @@ ${input.slice(result.pos)}
19237
19543
  break;
19238
19544
  case "Literal":
19239
19545
  case "StringLiteral":
19240
- case void 0:
19546
+ case "NumericLiteral":
19241
19547
  conditions.push([name, " in ", ref]);
19242
19548
  subRef = [ref, "[", name, "]"];
19243
19549
  break;
@@ -19300,7 +19606,8 @@ ${input.slice(result.pos)}
19300
19606
  switch (name.type) {
19301
19607
  case "ComputedPropertyName":
19302
19608
  case "Literal":
19303
- case void 0:
19609
+ case "StringLiteral":
19610
+ case "NumericLiteral":
19304
19611
  return {
19305
19612
  ...p,
19306
19613
  children: [ws, name, ": ", match, sep]
@@ -19404,7 +19711,11 @@ ${input.slice(result.pos)}
19404
19711
  const prefix = [];
19405
19712
  switch (pattern.type) {
19406
19713
  case "ArrayMatchingPattern":
19714
+ if (pattern.length === 0)
19715
+ break;
19407
19716
  case "ObjectMatchingPattern": {
19717
+ if (pattern.properties?.length === 0)
19718
+ break;
19408
19719
  let [splices, thisAssignments] = gatherBindingCode(pattern);
19409
19720
  splices = splices.map((s2) => [", ", nonMatcherBindings(s2)]);
19410
19721
  thisAssignments = thisAssignments.map((a) => [indent, a, ";\n"]);
@@ -19423,7 +19734,9 @@ ${input.slice(result.pos)}
19423
19734
  const e = i < l - 1 ? ["\nelse "] : [];
19424
19735
  prev.push({
19425
19736
  type: "IfStatement",
19426
- children: ["if", condition, block, ...e, next]
19737
+ children: ["if", condition, block, ...e, next],
19738
+ then: block,
19739
+ else: e
19427
19740
  });
19428
19741
  prev = next;
19429
19742
  });
@@ -19838,7 +20151,7 @@ ${input.slice(result.pos)}
19838
20151
  return result;
19839
20152
  }
19840
20153
  }
19841
- var PopIndent$0 = $TV($EXPECT($L18, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
20154
+ var PopIndent$0 = $TV($EXPECT($L17, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
19842
20155
  if (module2.config.verbose) {
19843
20156
  console.log("popping indent", module2.indentLevels[module2.indentLevels.length - 1], "->", module2.indentLevels[module2.indentLevels.length - 2]);
19844
20157
  }
@@ -20340,7 +20653,7 @@ var parse;
20340
20653
  var uncacheable;
20341
20654
  ({ parse } = import_parser.default);
20342
20655
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
20343
- 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"]);
20656
+ 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"]);
20344
20657
  var compile = function(src, options) {
20345
20658
  var ast, code, events, filename, ref, result, sm, srcMapJSON;
20346
20659
  if (!options) {