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