@danielx/civet 0.6.12 → 0.6.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.mjs CHANGED
@@ -206,7 +206,7 @@ var require_lib = __commonJS({
206
206
  ref.children = [makeLeftHandSideExpression(arg)];
207
207
  return {
208
208
  type: "UnwrappedExpression",
209
- children: [skipIfOnlyWS(fn.leadingComment), ...body, skipIfOnlyWS(fn.trailingComment)]
209
+ children: [skipIfOnlyWS(fn.leadingComment), body, skipIfOnlyWS(fn.trailingComment)]
210
210
  };
211
211
  }
212
212
  expr = fn.expr;
@@ -628,12 +628,20 @@ var require_lib = __commonJS({
628
628
  children
629
629
  };
630
630
  }
631
+ function isExistence(exp) {
632
+ if (exp.type === "ParenthesizedExpression" && exp.implicit) {
633
+ exp = exp.expression;
634
+ }
635
+ if (exp.type === "Existence") {
636
+ return exp;
637
+ }
638
+ }
631
639
  function expandChainedComparisons([first, binops]) {
632
640
  const relationalOps = ["==", "===", "!=", "!==", "<", "<=", ">", ">=", "in"];
633
641
  const lowerPrecedenceOps = ["??", "&&", "||", "&", "|", "^"];
634
642
  let results = [];
635
643
  let i = 0;
636
- let l = binops.length;
644
+ const l = binops.length;
637
645
  let start = 0;
638
646
  let chains = [];
639
647
  while (i < l) {
@@ -649,12 +657,15 @@ var require_lib = __commonJS({
649
657
  processChains();
650
658
  return results;
651
659
  function processChains() {
660
+ first = expandExistence(first);
652
661
  if (chains.length > 1) {
653
662
  chains.forEach((index, k) => {
654
663
  if (k > 0) {
655
664
  results.push(" ", "&&", " ");
656
665
  }
657
- const [pre, op, post, exp] = binops[index];
666
+ const binop = binops[index];
667
+ let [pre, op, post, exp] = binop;
668
+ exp = binop[3] = expandExistence(exp);
658
669
  let endIndex;
659
670
  if (k < chains.length - 1) {
660
671
  endIndex = chains[k + 1];
@@ -671,6 +682,14 @@ var require_lib = __commonJS({
671
682
  }
672
683
  chains.length = 0;
673
684
  }
685
+ function expandExistence(exp) {
686
+ const existence = isExistence(exp);
687
+ if (existence) {
688
+ results.push(existence, " ", "&&", " ");
689
+ return existence.expression;
690
+ }
691
+ return exp;
692
+ }
674
693
  }
675
694
  function processParams(f) {
676
695
  const { type, parameters, block } = f;
@@ -1123,6 +1142,7 @@ var require_lib = __commonJS({
1123
1142
  function makeLeftHandSideExpression(expression) {
1124
1143
  switch (expression.type) {
1125
1144
  case "Ref":
1145
+ case "AmpersandRef":
1126
1146
  case "Identifier":
1127
1147
  case "Literal":
1128
1148
  case "CallExpression":
@@ -1137,7 +1157,8 @@ var require_lib = __commonJS({
1137
1157
  return {
1138
1158
  type: "ParenthesizedExpression",
1139
1159
  children: ["(", expression, ")"],
1140
- expression
1160
+ expression,
1161
+ implicit: true
1141
1162
  };
1142
1163
  }
1143
1164
  }
@@ -2245,27 +2266,20 @@ var require_lib = __commonJS({
2245
2266
  if (post?.token === "?") {
2246
2267
  post = {
2247
2268
  $loc: post.$loc,
2248
- token: " != null"
2269
+ token: "!="
2249
2270
  };
2250
- switch (exp.type) {
2251
- case "Identifier":
2252
- case "Literal":
2253
- case "AmpersandRef":
2254
- return {
2255
- ...exp,
2256
- children: [...pre, ...exp.children, post]
2257
- };
2258
- default:
2259
- const expression = {
2260
- ...exp,
2261
- children: [...pre, "(", exp.children, ")", post]
2262
- };
2263
- return {
2264
- type: "ParenthesizedExpression",
2265
- children: ["(", expression, ")"],
2266
- expression
2267
- };
2271
+ if (pre.length) {
2272
+ exp = {
2273
+ type: "UnaryExpression",
2274
+ children: [...pre, exp, void 0]
2275
+ };
2268
2276
  }
2277
+ const existence = {
2278
+ type: "Existence",
2279
+ expression: exp,
2280
+ children: [exp, " ", post, " ", "null"]
2281
+ };
2282
+ return makeLeftHandSideExpression(existence);
2269
2283
  }
2270
2284
  if (exp.type === "Literal") {
2271
2285
  if (pre.length === 1 && pre[0].token === "-") {
@@ -3138,6 +3152,7 @@ ${input.slice(result.pos)}
3138
3152
  OperatorAssignmentOp,
3139
3153
  AssignmentOpSymbol,
3140
3154
  CoffeeWordAssignmentOp,
3155
+ NotDedentedBinaryOp,
3141
3156
  BinaryOp,
3142
3157
  BinaryOpSymbol,
3143
3158
  Xor,
@@ -3208,10 +3223,15 @@ ${input.slice(result.pos)}
3208
3223
  Condition,
3209
3224
  DeclarationCondition,
3210
3225
  ExpressionWithIndentedApplicationForbidden,
3226
+ ExpressionWithObjectApplicationForbidden,
3211
3227
  ForbidClassImplicitCall,
3212
3228
  AllowClassImplicitCall,
3213
3229
  RestoreClassImplicitCall,
3214
3230
  ClassImplicitCallForbidden,
3231
+ ForbidBracedApplication,
3232
+ AllowBracedApplication,
3233
+ RestoreBracedApplication,
3234
+ BracedApplicationAllowed,
3215
3235
  ForbidIndentedApplication,
3216
3236
  AllowIndentedApplication,
3217
3237
  RestoreIndentedApplication,
@@ -3491,6 +3511,7 @@ ${input.slice(result.pos)}
3491
3511
  TypeIndex,
3492
3512
  TypeSuffix,
3493
3513
  ReturnTypeSuffix,
3514
+ ReturnType,
3494
3515
  TypePredicate,
3495
3516
  Type,
3496
3517
  TypeBinary,
@@ -3580,161 +3601,161 @@ ${input.slice(result.pos)}
3580
3601
  Nested
3581
3602
  });
3582
3603
  var $L0 = $L("");
3583
- var $L1 = $L("/ ");
3584
- var $L2 = $L("=");
3585
- var $L3 = $L("(");
3586
- var $L4 = $L("?");
3587
- var $L5 = $L(".");
3588
- var $L6 = $L("++");
3589
- var $L7 = $L("--");
3590
- var $L8 = $L("=>");
3591
- var $L9 = $L("\u21D2");
3592
- var $L10 = $L(" ");
3593
- var $L11 = $L(":");
3594
- var $L12 = $L("implements");
3595
- var $L13 = $L("<:");
3596
- var $L14 = $L("#");
3597
- var $L15 = $L("super");
3598
- var $L16 = $L("import");
3599
- var $L17 = $L("!");
3600
- var $L18 = $L("^");
3601
- var $L19 = $L("-");
3602
- var $L20 = $L("import.meta");
3603
- var $L21 = $L("return.value");
3604
- var $L22 = $L(",");
3605
- var $L23 = $L("->");
3606
- var $L24 = $L("\u2192");
3607
- var $L25 = $L("}");
3608
- var $L26 = $L("null");
3609
- var $L27 = $L("true");
3610
- var $L28 = $L("false");
3611
- var $L29 = $L("yes");
3612
- var $L30 = $L("on");
3613
- var $L31 = $L("no");
3614
- var $L32 = $L("off");
3615
- var $L33 = $L(">");
3616
- var $L34 = $L("]");
3617
- var $L35 = $L("**=");
3618
- var $L36 = $L("*=");
3619
- var $L37 = $L("/=");
3620
- var $L38 = $L("%=");
3621
- var $L39 = $L("+=");
3622
- var $L40 = $L("-=");
3623
- var $L41 = $L("<<=");
3624
- var $L42 = $L(">>>=");
3625
- var $L43 = $L(">>=");
3626
- var $L44 = $L("&&=");
3627
- var $L45 = $L("&=");
3628
- var $L46 = $L("^=");
3629
- var $L47 = $L("||=");
3630
- var $L48 = $L("|=");
3631
- var $L49 = $L("??=");
3632
- var $L50 = $L("?=");
3633
- var $L51 = $L("and=");
3634
- var $L52 = $L("or=");
3635
- var $L53 = $L("**");
3636
- var $L54 = $L("*");
3637
- var $L55 = $L("/");
3638
- var $L56 = $L("%%");
3639
- var $L57 = $L("%");
3640
- var $L58 = $L("+");
3641
- var $L59 = $L("<=");
3642
- var $L60 = $L("\u2264");
3643
- var $L61 = $L(">=");
3644
- var $L62 = $L("\u2265");
3645
- var $L63 = $L("<?");
3646
- var $L64 = $L("!<?");
3647
- var $L65 = $L("<<");
3648
- var $L66 = $L("\xAB");
3649
- var $L67 = $L(">>>");
3650
- var $L68 = $L("\u22D9");
3651
- var $L69 = $L(">>");
3652
- var $L70 = $L("\xBB");
3653
- var $L71 = $L("!==");
3654
- var $L72 = $L("\u2262");
3655
- var $L73 = $L("!=");
3656
- var $L74 = $L("\u2260");
3657
- var $L75 = $L("isnt");
3658
- var $L76 = $L("===");
3659
- var $L77 = $L("\u2263");
3660
- var $L78 = $L("\u2A76");
3661
- var $L79 = $L("==");
3662
- var $L80 = $L("\u2261");
3663
- var $L81 = $L("\u2A75");
3664
- var $L82 = $L("and");
3665
- var $L83 = $L("&&");
3666
- var $L84 = $L("of");
3667
- var $L85 = $L("or");
3668
- var $L86 = $L("||");
3669
- var $L87 = $L("\u2016");
3670
- var $L88 = $L("^^");
3671
- var $L89 = $L("xor");
3672
- var $L90 = $L("xnor");
3673
- var $L91 = $L("??");
3674
- var $L92 = $L("\u2047");
3675
- var $L93 = $L("instanceof");
3676
- var $L94 = $L("\u2208");
3677
- var $L95 = $L("\u220B");
3678
- var $L96 = $L("\u220C");
3679
- var $L97 = $L("\u2209");
3680
- var $L98 = $L("&");
3681
- var $L99 = $L("|");
3682
- var $L100 = $L(";");
3683
- var $L101 = $L("$:");
3684
- var $L102 = $L("own");
3685
- var $L103 = $L("break");
3686
- var $L104 = $L("continue");
3687
- var $L105 = $L("debugger");
3688
- var $L106 = $L("assert");
3689
- var $L107 = $L(":=");
3690
- var $L108 = $L("\u2254");
3691
- var $L109 = $L(".=");
3692
- var $L110 = $L("/*");
3693
- var $L111 = $L("*/");
3694
- var $L112 = $L("\\");
3695
- var $L113 = $L("[");
3696
- var $L114 = $L("`");
3697
- var $L115 = $L("abstract");
3698
- var $L116 = $L("as");
3699
- var $L117 = $L("@");
3700
- var $L118 = $L("@@");
3701
- var $L119 = $L("async");
3702
- var $L120 = $L("await");
3703
- var $L121 = $L("by");
3704
- var $L122 = $L("case");
3705
- var $L123 = $L("catch");
3706
- var $L124 = $L("class");
3707
- var $L125 = $L(")");
3708
- var $L126 = $L("#{");
3709
- var $L127 = $L("declare");
3710
- var $L128 = $L("default");
3711
- var $L129 = $L("delete");
3712
- var $L130 = $L("do");
3713
- var $L131 = $L("..");
3714
- var $L132 = $L("\u2025");
3715
- var $L133 = $L("...");
3716
- var $L134 = $L("\u2026");
3717
- var $L135 = $L("::");
3718
- var $L136 = $L('"');
3719
- var $L137 = $L("else");
3720
- var $L138 = $L("export");
3721
- var $L139 = $L("extends");
3722
- var $L140 = $L("finally");
3723
- var $L141 = $L("for");
3724
- var $L142 = $L("from");
3725
- var $L143 = $L("function");
3726
- var $L144 = $L("get");
3727
- var $L145 = $L("set");
3728
- var $L146 = $L("if");
3729
- var $L147 = $L("in");
3730
- var $L148 = $L("let");
3731
- var $L149 = $L("const");
3732
- var $L150 = $L("is");
3733
- var $L151 = $L("loop");
3734
- var $L152 = $L("new");
3735
- var $L153 = $L("not");
3736
- var $L154 = $L("<");
3737
- var $L155 = $L("{");
3604
+ var $L1 = $L("{");
3605
+ var $L2 = $L("/ ");
3606
+ var $L3 = $L("=");
3607
+ var $L4 = $L("(");
3608
+ var $L5 = $L("?");
3609
+ var $L6 = $L(".");
3610
+ var $L7 = $L("++");
3611
+ var $L8 = $L("--");
3612
+ var $L9 = $L("=>");
3613
+ var $L10 = $L("\u21D2");
3614
+ var $L11 = $L(" ");
3615
+ var $L12 = $L(":");
3616
+ var $L13 = $L("implements");
3617
+ var $L14 = $L("<:");
3618
+ var $L15 = $L("#");
3619
+ var $L16 = $L("super");
3620
+ var $L17 = $L("import");
3621
+ var $L18 = $L("!");
3622
+ var $L19 = $L("^");
3623
+ var $L20 = $L("-");
3624
+ var $L21 = $L("import.meta");
3625
+ var $L22 = $L("return.value");
3626
+ var $L23 = $L(",");
3627
+ var $L24 = $L("->");
3628
+ var $L25 = $L("\u2192");
3629
+ var $L26 = $L("}");
3630
+ var $L27 = $L("null");
3631
+ var $L28 = $L("true");
3632
+ var $L29 = $L("false");
3633
+ var $L30 = $L("yes");
3634
+ var $L31 = $L("on");
3635
+ var $L32 = $L("no");
3636
+ var $L33 = $L("off");
3637
+ var $L34 = $L(">");
3638
+ var $L35 = $L("]");
3639
+ var $L36 = $L("**=");
3640
+ var $L37 = $L("*=");
3641
+ var $L38 = $L("/=");
3642
+ var $L39 = $L("%=");
3643
+ var $L40 = $L("+=");
3644
+ var $L41 = $L("-=");
3645
+ var $L42 = $L("<<=");
3646
+ var $L43 = $L(">>>=");
3647
+ var $L44 = $L(">>=");
3648
+ var $L45 = $L("&&=");
3649
+ var $L46 = $L("&=");
3650
+ var $L47 = $L("^=");
3651
+ var $L48 = $L("||=");
3652
+ var $L49 = $L("|=");
3653
+ var $L50 = $L("??=");
3654
+ var $L51 = $L("?=");
3655
+ var $L52 = $L("and=");
3656
+ var $L53 = $L("or=");
3657
+ var $L54 = $L("**");
3658
+ var $L55 = $L("*");
3659
+ var $L56 = $L("/");
3660
+ var $L57 = $L("%%");
3661
+ var $L58 = $L("%");
3662
+ var $L59 = $L("+");
3663
+ var $L60 = $L("<=");
3664
+ var $L61 = $L("\u2264");
3665
+ var $L62 = $L(">=");
3666
+ var $L63 = $L("\u2265");
3667
+ var $L64 = $L("<?");
3668
+ var $L65 = $L("!<?");
3669
+ var $L66 = $L("<<");
3670
+ var $L67 = $L("\xAB");
3671
+ var $L68 = $L(">>>");
3672
+ var $L69 = $L("\u22D9");
3673
+ var $L70 = $L(">>");
3674
+ var $L71 = $L("\xBB");
3675
+ var $L72 = $L("!==");
3676
+ var $L73 = $L("\u2262");
3677
+ var $L74 = $L("!=");
3678
+ var $L75 = $L("\u2260");
3679
+ var $L76 = $L("isnt");
3680
+ var $L77 = $L("===");
3681
+ var $L78 = $L("\u2263");
3682
+ var $L79 = $L("\u2A76");
3683
+ var $L80 = $L("==");
3684
+ var $L81 = $L("\u2261");
3685
+ var $L82 = $L("\u2A75");
3686
+ var $L83 = $L("and");
3687
+ var $L84 = $L("&&");
3688
+ var $L85 = $L("of");
3689
+ var $L86 = $L("or");
3690
+ var $L87 = $L("||");
3691
+ var $L88 = $L("\u2016");
3692
+ var $L89 = $L("^^");
3693
+ var $L90 = $L("xor");
3694
+ var $L91 = $L("xnor");
3695
+ var $L92 = $L("??");
3696
+ var $L93 = $L("\u2047");
3697
+ var $L94 = $L("instanceof");
3698
+ var $L95 = $L("\u2208");
3699
+ var $L96 = $L("\u220B");
3700
+ var $L97 = $L("\u220C");
3701
+ var $L98 = $L("\u2209");
3702
+ var $L99 = $L("&");
3703
+ var $L100 = $L("|");
3704
+ var $L101 = $L(";");
3705
+ var $L102 = $L("$:");
3706
+ var $L103 = $L("own");
3707
+ var $L104 = $L("break");
3708
+ var $L105 = $L("continue");
3709
+ var $L106 = $L("debugger");
3710
+ var $L107 = $L("assert");
3711
+ var $L108 = $L(":=");
3712
+ var $L109 = $L("\u2254");
3713
+ var $L110 = $L(".=");
3714
+ var $L111 = $L("/*");
3715
+ var $L112 = $L("*/");
3716
+ var $L113 = $L("\\");
3717
+ var $L114 = $L("[");
3718
+ var $L115 = $L("`");
3719
+ var $L116 = $L("abstract");
3720
+ var $L117 = $L("as");
3721
+ var $L118 = $L("@");
3722
+ var $L119 = $L("@@");
3723
+ var $L120 = $L("async");
3724
+ var $L121 = $L("await");
3725
+ var $L122 = $L("by");
3726
+ var $L123 = $L("case");
3727
+ var $L124 = $L("catch");
3728
+ var $L125 = $L("class");
3729
+ var $L126 = $L(")");
3730
+ var $L127 = $L("#{");
3731
+ var $L128 = $L("declare");
3732
+ var $L129 = $L("default");
3733
+ var $L130 = $L("delete");
3734
+ var $L131 = $L("do");
3735
+ var $L132 = $L("..");
3736
+ var $L133 = $L("\u2025");
3737
+ var $L134 = $L("...");
3738
+ var $L135 = $L("\u2026");
3739
+ var $L136 = $L("::");
3740
+ var $L137 = $L('"');
3741
+ var $L138 = $L("else");
3742
+ var $L139 = $L("export");
3743
+ var $L140 = $L("extends");
3744
+ var $L141 = $L("finally");
3745
+ var $L142 = $L("for");
3746
+ var $L143 = $L("from");
3747
+ var $L144 = $L("function");
3748
+ var $L145 = $L("get");
3749
+ var $L146 = $L("set");
3750
+ var $L147 = $L("if");
3751
+ var $L148 = $L("in");
3752
+ var $L149 = $L("let");
3753
+ var $L150 = $L("const");
3754
+ var $L151 = $L("is");
3755
+ var $L152 = $L("loop");
3756
+ var $L153 = $L("new");
3757
+ var $L154 = $L("not");
3758
+ var $L155 = $L("<");
3738
3759
  var $L156 = $L("operator");
3739
3760
  var $L157 = $L("public");
3740
3761
  var $L158 = $L("private");
@@ -3795,7 +3816,7 @@ ${input.slice(result.pos)}
3795
3816
  var $R6 = $R(new RegExp("[!+-]", "suy"));
3796
3817
  var $R7 = $R(new RegExp("<(?!\\p{ID_Start}|[_$])", "suy"));
3797
3818
  var $R8 = $R(new RegExp("!\\^\\^?", "suy"));
3798
- var $R9 = $R(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*&)", "suy"));
3819
+ var $R9 = $R(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*[&.])", "suy"));
3799
3820
  var $R10 = $R(new RegExp("(?=[\\s\\)])", "suy"));
3800
3821
  var $R11 = $R(new RegExp('[^;"\\s]+', "suy"));
3801
3822
  var $R12 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
@@ -4286,7 +4307,7 @@ ${input.slice(result.pos)}
4286
4307
  }
4287
4308
  }
4288
4309
  var ApplicationStart$0 = $S(IndentedApplicationAllowed, $Y(NestedImplicitObjectLiteral));
4289
- var ApplicationStart$1 = $S($N(EOS), $Y($S(_, $N(ForbiddenImplicitCalls))));
4310
+ var ApplicationStart$1 = $S($N(EOS), $Y($S(_, $C(BracedApplicationAllowed, $N($EXPECT($L1, fail, 'ApplicationStart "{"'))), $N(ForbiddenImplicitCalls))));
4290
4311
  function ApplicationStart(state) {
4291
4312
  let eventData;
4292
4313
  if (state.events) {
@@ -4310,10 +4331,10 @@ ${input.slice(result.pos)}
4310
4331
  }
4311
4332
  }
4312
4333
  var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
4313
- var ForbiddenImplicitCalls$1 = $EXPECT($L1, fail, 'ForbiddenImplicitCalls "/ "');
4334
+ var ForbiddenImplicitCalls$1 = $EXPECT($L2, fail, 'ForbiddenImplicitCalls "/ "');
4314
4335
  var ForbiddenImplicitCalls$2 = $S(ClassImplicitCallForbidden, $C(Class, AtAt));
4315
- var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L2, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
4316
- var ForbiddenImplicitCalls$4 = $TS($S(Identifier, $N($EXPECT($L3, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
4336
+ var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L3, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
4337
+ var ForbiddenImplicitCalls$4 = $TS($S(Identifier, $N($EXPECT($L4, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
4317
4338
  var id = $1;
4318
4339
  if (module.operators.has(id.name))
4319
4340
  return $0;
@@ -4378,7 +4399,7 @@ ${input.slice(result.pos)}
4378
4399
  return result;
4379
4400
  }
4380
4401
  }
4381
- var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S($C(Samedent, IndentedFurther), $Y($S($E($EXPECT($L4, fail, 'TrailingMemberExpressions "?"')), $EXPECT($L5, fail, 'TrailingMemberExpressions "."'), $N($EXPECT($R1, fail, "TrailingMemberExpressions /[0-9]/")))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
4402
+ var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S($C(Samedent, IndentedFurther), $Y($S($E($EXPECT($L5, fail, 'TrailingMemberExpressions "?"')), $EXPECT($L6, fail, 'TrailingMemberExpressions "."'), $N($EXPECT($R1, fail, "TrailingMemberExpressions /[0-9]/")))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
4382
4403
  return $1.concat($2);
4383
4404
  });
4384
4405
  function TrailingMemberExpressions(state) {
@@ -4676,9 +4697,9 @@ ${input.slice(result.pos)}
4676
4697
  var rhs = $2;
4677
4698
  return [[], op, [], rhs];
4678
4699
  });
4679
- var BinaryOpRHS$1 = $T($S(NewlineBinaryOpAllowed, $S(NotDedented, BinaryOp, $C(_, $S(EOS, __)), RHS)), function(value) {
4680
- var rhs = value[1];
4681
- return rhs;
4700
+ var BinaryOpRHS$1 = $TS($S(NewlineBinaryOpAllowed, $S(NotDedentedBinaryOp, $C(_, $S(EOS, __)), RHS)), function($skip, $loc, $0, $1, $2) {
4701
+ var rhs = $2;
4702
+ return [...rhs[0], ...rhs.slice(1)];
4682
4703
  });
4683
4704
  var BinaryOpRHS$2 = $T($S($N(NewlineBinaryOpAllowed), SingleLineBinaryOpRHS), function(value) {
4684
4705
  return value[1];
@@ -4817,10 +4838,7 @@ ${input.slice(result.pos)}
4817
4838
  }
4818
4839
  }
4819
4840
  var UnaryPostfix$0 = QuestionMark;
4820
- var UnaryPostfix$1 = $T($P($S(__, As, Type)), function(value) {
4821
- return { "ts": true, "children": value };
4822
- });
4823
- var UnaryPostfix$2 = $T($P($S(__, Satisfies, Type)), function(value) {
4841
+ var UnaryPostfix$1 = $T($P($S(__, $C(As, Satisfies), Type)), function(value) {
4824
4842
  return { "ts": true, "children": value };
4825
4843
  });
4826
4844
  function UnaryPostfix(state) {
@@ -4834,12 +4852,12 @@ ${input.slice(result.pos)}
4834
4852
  }
4835
4853
  }
4836
4854
  if (state.tokenize) {
4837
- const result = $TOKEN("UnaryPostfix", state, UnaryPostfix$0(state) || UnaryPostfix$1(state) || UnaryPostfix$2(state));
4855
+ const result = $TOKEN("UnaryPostfix", state, UnaryPostfix$0(state) || UnaryPostfix$1(state));
4838
4856
  if (state.events)
4839
4857
  state.events.exit?.("UnaryPostfix", state, result, eventData);
4840
4858
  return result;
4841
4859
  } else {
4842
- const result = UnaryPostfix$0(state) || UnaryPostfix$1(state) || UnaryPostfix$2(state);
4860
+ const result = UnaryPostfix$0(state) || UnaryPostfix$1(state);
4843
4861
  if (state.events)
4844
4862
  state.events.exit?.("UnaryPostfix", state, result, eventData);
4845
4863
  return result;
@@ -4883,7 +4901,7 @@ ${input.slice(result.pos)}
4883
4901
  return result;
4884
4902
  }
4885
4903
  }
4886
- var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L6, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L7, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
4904
+ var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L7, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L8, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
4887
4905
  return { $loc, token: $1 };
4888
4906
  });
4889
4907
  function UpdateExpressionSymbol(state) {
@@ -5019,7 +5037,7 @@ ${input.slice(result.pos)}
5019
5037
  return result;
5020
5038
  }
5021
5039
  }
5022
- var ActualAssignment$0 = $TS($S($P($S(__, UpdateExpression, WAssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
5040
+ var ActualAssignment$0 = $TS($S($P($S(NotDedented, UpdateExpression, WAssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
5023
5041
  $1 = $1.map((x) => [x[0], x[1], ...x[2]]);
5024
5042
  $0 = [$1, $2];
5025
5043
  return {
@@ -5148,7 +5166,7 @@ ${input.slice(result.pos)}
5148
5166
  return result;
5149
5167
  }
5150
5168
  }
5151
- var FatArrow$0 = $TS($S($E(_), $C($EXPECT($L8, fail, 'FatArrow "=>"'), $EXPECT($L9, fail, 'FatArrow "\u21D2"'))), function($skip, $loc, $0, $1, $2) {
5169
+ var FatArrow$0 = $TS($S($E(_), $C($EXPECT($L9, fail, 'FatArrow "=>"'), $EXPECT($L10, fail, 'FatArrow "\u21D2"'))), function($skip, $loc, $0, $1, $2) {
5152
5170
  var ws = $1;
5153
5171
  if (!ws)
5154
5172
  return " =>";
@@ -5232,7 +5250,7 @@ ${input.slice(result.pos)}
5232
5250
  }
5233
5251
  }
5234
5252
  var TernaryRest$0 = NestedTernaryRest;
5235
- var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L10, fail, 'TernaryRest " "')), $E(_), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
5253
+ var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L11, fail, 'TernaryRest " "')), $E(_), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
5236
5254
  return $0.slice(2);
5237
5255
  });
5238
5256
  function TernaryRest(state) {
@@ -5450,6 +5468,15 @@ ${input.slice(result.pos)}
5450
5468
  switch (exp.type) {
5451
5469
  case "IterationExpression":
5452
5470
  return exp;
5471
+ case "ParenthesizedExpression":
5472
+ if (exp.implicit) {
5473
+ return {
5474
+ ...exp,
5475
+ children: [open, exp.expression, ws, close],
5476
+ implicit: false
5477
+ };
5478
+ }
5479
+ break;
5453
5480
  }
5454
5481
  return {
5455
5482
  type: "ParenthesizedExpression",
@@ -5502,7 +5529,7 @@ ${input.slice(result.pos)}
5502
5529
  return result;
5503
5530
  }
5504
5531
  }
5505
- var ClassExpression$0 = $S($E(Decorators), $E($S(Abstract, __)), Class, $N($EXPECT($L11, fail, 'ClassExpression ":"')), $E(ClassBinding), $E(ClassHeritage), ClassBody);
5532
+ var ClassExpression$0 = $S($E(Decorators), $E($S(Abstract, __)), Class, $N($EXPECT($L12, fail, 'ClassExpression ":"')), $E(ClassBinding), $E(ClassHeritage), ClassBody);
5506
5533
  function ClassExpression(state) {
5507
5534
  let eventData;
5508
5535
  if (state.events) {
@@ -5597,7 +5624,7 @@ ${input.slice(result.pos)}
5597
5624
  return result;
5598
5625
  }
5599
5626
  }
5600
- var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L10, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5627
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L11, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5601
5628
  var l = $1;
5602
5629
  var ws = $2;
5603
5630
  var lt = $3;
@@ -5633,7 +5660,7 @@ ${input.slice(result.pos)}
5633
5660
  return result;
5634
5661
  }
5635
5662
  }
5636
- var ExtendsTarget$0 = $TS($S(ExpressionWithIndentedApplicationForbidden, $E(TypeArguments)), function($skip, $loc, $0, $1, $2) {
5663
+ var ExtendsTarget$0 = $TS($S(ExpressionWithObjectApplicationForbidden, $E(TypeArguments)), function($skip, $loc, $0, $1, $2) {
5637
5664
  var exp = $1;
5638
5665
  var ta = $2;
5639
5666
  exp = makeLeftHandSideExpression(exp);
@@ -5691,7 +5718,7 @@ ${input.slice(result.pos)}
5691
5718
  return result;
5692
5719
  }
5693
5720
  }
5694
- var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L10, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5721
+ var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L11, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5695
5722
  var l = $1;
5696
5723
  var ws = $2;
5697
5724
  var token = $3;
@@ -5701,7 +5728,7 @@ ${input.slice(result.pos)}
5701
5728
  }
5702
5729
  return { children };
5703
5730
  });
5704
- var ImplementsToken$1 = $TS($S(__, $EXPECT($L12, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5731
+ var ImplementsToken$1 = $TS($S(__, $EXPECT($L13, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5705
5732
  $2 = { $loc, token: $2 };
5706
5733
  return [$1, $2];
5707
5734
  });
@@ -5727,7 +5754,7 @@ ${input.slice(result.pos)}
5727
5754
  return result;
5728
5755
  }
5729
5756
  }
5730
- var ImplementsShorthand$0 = $TV($EXPECT($L13, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
5757
+ var ImplementsShorthand$0 = $TV($EXPECT($L14, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
5731
5758
  return { $loc, token: "implements " };
5732
5759
  });
5733
5760
  function ImplementsShorthand(state) {
@@ -6141,7 +6168,7 @@ ${input.slice(result.pos)}
6141
6168
  }
6142
6169
  }
6143
6170
  var ThisLiteral$0 = This;
6144
- var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L14, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
6171
+ var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L15, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
6145
6172
  var at = $1;
6146
6173
  var id = $2;
6147
6174
  return [at, ".", id];
@@ -6195,7 +6222,7 @@ ${input.slice(result.pos)}
6195
6222
  return result;
6196
6223
  }
6197
6224
  }
6198
- var LeftHandSideExpression$0 = $S($P($S(New, $N($C($EXPECT($L5, fail, 'LeftHandSideExpression "."'), $EXPECT($L11, fail, 'LeftHandSideExpression ":"'))), __)), CallExpression, $E(TypeArguments));
6225
+ var LeftHandSideExpression$0 = $S($P($S(New, $N($C($EXPECT($L6, fail, 'LeftHandSideExpression "."'), $EXPECT($L12, fail, 'LeftHandSideExpression ":"'))), __)), CallExpression, $E(TypeArguments));
6199
6226
  var LeftHandSideExpression$1 = CallExpression;
6200
6227
  function LeftHandSideExpression(state) {
6201
6228
  let eventData;
@@ -6219,14 +6246,14 @@ ${input.slice(result.pos)}
6219
6246
  return result;
6220
6247
  }
6221
6248
  }
6222
- var CallExpression$0 = $TS($S($EXPECT($L15, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6249
+ var CallExpression$0 = $TS($S($EXPECT($L16, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6223
6250
  var rest = $3;
6224
6251
  return processCallMemberExpression({
6225
6252
  type: "CallExpression",
6226
6253
  children: [$1, ...$2, ...rest.flat()]
6227
6254
  });
6228
6255
  });
6229
- var CallExpression$1 = $TS($S($EXPECT($L16, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6256
+ var CallExpression$1 = $TS($S($EXPECT($L17, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6230
6257
  var rest = $3;
6231
6258
  return processCallMemberExpression({
6232
6259
  type: "CallExpression",
@@ -6354,7 +6381,7 @@ ${input.slice(result.pos)}
6354
6381
  return result;
6355
6382
  }
6356
6383
  }
6357
- var NonNullAssertion$0 = $T($S($EXPECT($L17, fail, 'NonNullAssertion "!"'), $N($EXPECT($L18, fail, 'NonNullAssertion "^"'))), function(value) {
6384
+ var NonNullAssertion$0 = $T($S($EXPECT($L18, fail, 'NonNullAssertion "!"'), $N($EXPECT($L19, fail, 'NonNullAssertion "^"'))), function(value) {
6358
6385
  return { "type": "NonNullAssertion", "ts": true, "children": value[0] };
6359
6386
  });
6360
6387
  function NonNullAssertion(state) {
@@ -6494,7 +6521,7 @@ ${input.slice(result.pos)}
6494
6521
  ]
6495
6522
  };
6496
6523
  });
6497
- var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L19, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
6524
+ var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L20, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
6498
6525
  var dot = $1;
6499
6526
  var neg = $2;
6500
6527
  var num = $3;
@@ -6714,8 +6741,8 @@ ${input.slice(result.pos)}
6714
6741
  return result;
6715
6742
  }
6716
6743
  }
6717
- var SuperProperty$0 = $S($EXPECT($L15, fail, 'SuperProperty "super"'), MemberBracketContent);
6718
- var SuperProperty$1 = $S($EXPECT($L15, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
6744
+ var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super"'), MemberBracketContent);
6745
+ var SuperProperty$1 = $S($EXPECT($L16, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
6719
6746
  function SuperProperty(state) {
6720
6747
  let eventData;
6721
6748
  if (state.events) {
@@ -6739,7 +6766,7 @@ ${input.slice(result.pos)}
6739
6766
  }
6740
6767
  }
6741
6768
  var MetaProperty$0 = $S(New, Dot, Target);
6742
- var MetaProperty$1 = $TS($S($EXPECT($L20, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6769
+ var MetaProperty$1 = $TS($S($EXPECT($L21, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6743
6770
  return { $loc, token: $1 };
6744
6771
  });
6745
6772
  var MetaProperty$2 = ReturnValue;
@@ -6765,7 +6792,7 @@ ${input.slice(result.pos)}
6765
6792
  return result;
6766
6793
  }
6767
6794
  }
6768
- var ReturnValue$0 = $TV($C($S($EXPECT($L21, fail, 'ReturnValue "return.value"'), NonIdContinue), $S(Return, $Y(AfterReturnShorthand))), function($skip, $loc, $0, $1) {
6795
+ var ReturnValue$0 = $TV($C($S($EXPECT($L22, fail, 'ReturnValue "return.value"'), NonIdContinue), $S(Return, $Y(AfterReturnShorthand))), function($skip, $loc, $0, $1) {
6769
6796
  return { type: "ReturnValue", children: [$1[0]] };
6770
6797
  });
6771
6798
  function ReturnValue(state) {
@@ -7101,7 +7128,7 @@ ${input.slice(result.pos)}
7101
7128
  return result;
7102
7129
  }
7103
7130
  }
7104
- var PinPattern$0 = $TS($S($EXPECT($L18, fail, 'PinPattern "^"'), Identifier), function($skip, $loc, $0, $1, $2) {
7131
+ var PinPattern$0 = $TS($S($EXPECT($L19, fail, 'PinPattern "^"'), Identifier), function($skip, $loc, $0, $1, $2) {
7105
7132
  var identifier = $2;
7106
7133
  return {
7107
7134
  type: "PinPattern",
@@ -7474,7 +7501,7 @@ ${input.slice(result.pos)}
7474
7501
  names: value.names
7475
7502
  };
7476
7503
  });
7477
- var BindingProperty$2 = $TS($S($E(_), $E($EXPECT($L18, fail, 'BindingProperty "^"')), BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4) {
7504
+ var BindingProperty$2 = $TS($S($E(_), $E($EXPECT($L19, fail, 'BindingProperty "^"')), BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4) {
7478
7505
  var ws = $1;
7479
7506
  var pin = $2;
7480
7507
  var binding = $3;
@@ -7648,7 +7675,7 @@ ${input.slice(result.pos)}
7648
7675
  children: [ws, binding]
7649
7676
  };
7650
7677
  });
7651
- var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L22, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
7678
+ var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L23, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
7652
7679
  return {
7653
7680
  children: [{
7654
7681
  type: "ElisionElement",
@@ -7890,17 +7917,29 @@ ${input.slice(result.pos)}
7890
7917
  return $skip;
7891
7918
  let body, ref;
7892
7919
  if (!rhs) {
7893
- ref = {
7920
+ body = ref = {
7894
7921
  type: "Ref",
7895
7922
  base: "$",
7896
7923
  id: "$"
7897
7924
  };
7898
- body = [prefix, ref];
7899
7925
  } else {
7900
- ({ ref } = rhs);
7901
- body = [prefix, rhs];
7926
+ let exp = rhs;
7927
+ while (!exp.ref && exp.expression) {
7928
+ exp = exp.expression;
7929
+ }
7930
+ ({ ref } = exp);
7931
+ if (!ref) {
7932
+ throw new Error("Could not find ref in ampersand shorthand block");
7933
+ }
7934
+ body = rhs;
7902
7935
  }
7903
- const children = [ref, " => ", ...body];
7936
+ if (prefix) {
7937
+ body = {
7938
+ type: "UnaryExpression",
7939
+ children: [prefix, body, void 0]
7940
+ };
7941
+ }
7942
+ const children = [ref, " => ", body];
7904
7943
  if (hasAwait(body)) {
7905
7944
  children.unshift("async ");
7906
7945
  }
@@ -8060,7 +8099,7 @@ ${input.slice(result.pos)}
8060
8099
  var callExpRest = $1;
8061
8100
  var unaryPostfix = $2;
8062
8101
  var binopRHS = $3;
8063
- if (!callExpRest && !binopRHS)
8102
+ if (!callExpRest && !binopRHS && !unaryPostfix)
8064
8103
  return $skip;
8065
8104
  const ref = {
8066
8105
  type: "Ref",
@@ -8186,7 +8225,7 @@ ${input.slice(result.pos)}
8186
8225
  return result;
8187
8226
  }
8188
8227
  }
8189
- var Arrow$0 = $TV($C($EXPECT($L23, fail, 'Arrow "->"'), $EXPECT($L24, fail, 'Arrow "\u2192"')), function($skip, $loc, $0, $1) {
8228
+ var Arrow$0 = $TV($C($EXPECT($L24, fail, 'Arrow "->"'), $EXPECT($L25, fail, 'Arrow "\u2192"')), function($skip, $loc, $0, $1) {
8190
8229
  return { $loc, token: "->" };
8191
8230
  });
8192
8231
  function Arrow(state) {
@@ -8652,7 +8691,7 @@ ${input.slice(result.pos)}
8652
8691
  children: [$1, expressions]
8653
8692
  };
8654
8693
  });
8655
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L25, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
8694
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L26, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
8656
8695
  const expressions = [];
8657
8696
  return {
8658
8697
  type: "BlockStatement",
@@ -8833,7 +8872,7 @@ ${input.slice(result.pos)}
8833
8872
  return result;
8834
8873
  }
8835
8874
  }
8836
- var NullLiteral$0 = $TS($S($EXPECT($L26, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8875
+ var NullLiteral$0 = $TS($S($EXPECT($L27, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8837
8876
  return { $loc, token: $1 };
8838
8877
  });
8839
8878
  function NullLiteral(state) {
@@ -8861,7 +8900,7 @@ ${input.slice(result.pos)}
8861
8900
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
8862
8901
  return value[1];
8863
8902
  });
8864
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L27, fail, 'BooleanLiteral "true"'), $EXPECT($L28, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8903
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L28, fail, 'BooleanLiteral "true"'), $EXPECT($L29, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8865
8904
  return { $loc, token: $1 };
8866
8905
  });
8867
8906
  function BooleanLiteral(state) {
@@ -8886,10 +8925,10 @@ ${input.slice(result.pos)}
8886
8925
  return result;
8887
8926
  }
8888
8927
  }
8889
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L29, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L30, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8928
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L30, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L31, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8890
8929
  return { $loc, token: "true" };
8891
8930
  });
8892
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L31, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L32, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8931
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L32, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L33, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8893
8932
  return { $loc, token: "false" };
8894
8933
  });
8895
8934
  function CoffeeScriptBooleanLiteral(state) {
@@ -8995,7 +9034,7 @@ ${input.slice(result.pos)}
8995
9034
  return result;
8996
9035
  }
8997
9036
  }
8998
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L2, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L2, fail, 'UpcomingAssignment "="'), $EXPECT($L33, fail, 'UpcomingAssignment ">"')))));
9037
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L3, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L3, fail, 'UpcomingAssignment "="'), $EXPECT($L34, fail, 'UpcomingAssignment ">"')))));
8999
9038
  function UpcomingAssignment(state) {
9000
9039
  let eventData;
9001
9040
  if (state.events) {
@@ -9261,7 +9300,7 @@ ${input.slice(result.pos)}
9261
9300
  }
9262
9301
  }
9263
9302
  var ArrayElementDelimiter$0 = $S(__, Comma);
9264
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L34, fail, 'ArrayElementDelimiter "]"')));
9303
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L35, fail, 'ArrayElementDelimiter "]"')));
9265
9304
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
9266
9305
  return value[1];
9267
9306
  });
@@ -9741,7 +9780,7 @@ ${input.slice(result.pos)}
9741
9780
  }
9742
9781
  }
9743
9782
  var ObjectPropertyDelimiter$0 = $S($E(_), Comma);
9744
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L25, fail, 'ObjectPropertyDelimiter "}"')));
9783
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'ObjectPropertyDelimiter "}"')));
9745
9784
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
9746
9785
  return value[1];
9747
9786
  });
@@ -10073,7 +10112,7 @@ ${input.slice(result.pos)}
10073
10112
  expression
10074
10113
  };
10075
10114
  });
10076
- var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L19, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
10115
+ var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L20, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
10077
10116
  return {
10078
10117
  type: "ComputedPropertyName",
10079
10118
  children: $0
@@ -10359,7 +10398,7 @@ ${input.slice(result.pos)}
10359
10398
  return result;
10360
10399
  }
10361
10400
  }
10362
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L14, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
10401
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L15, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
10363
10402
  return {
10364
10403
  type: "Identifier",
10365
10404
  name: $0,
@@ -10447,21 +10486,21 @@ ${input.slice(result.pos)}
10447
10486
  return result;
10448
10487
  }
10449
10488
  }
10450
- var OperatorAssignmentOp$0 = $TS($S(Xor, $EXPECT($L2, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10489
+ var OperatorAssignmentOp$0 = $TS($S(Xor, $EXPECT($L3, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10451
10490
  return {
10452
10491
  special: true,
10453
10492
  call: module.getRef("xor"),
10454
10493
  children: [$2, ...$4]
10455
10494
  };
10456
10495
  });
10457
- var OperatorAssignmentOp$1 = $TS($S(Xnor, $EXPECT($L2, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10496
+ var OperatorAssignmentOp$1 = $TS($S(Xnor, $EXPECT($L3, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10458
10497
  return {
10459
10498
  special: true,
10460
10499
  call: module.getRef("xnor"),
10461
10500
  children: [$2, ...$4]
10462
10501
  };
10463
10502
  });
10464
- var OperatorAssignmentOp$2 = $TS($S(Identifier, $EXPECT($L2, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10503
+ var OperatorAssignmentOp$2 = $TS($S(Identifier, $EXPECT($L3, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10465
10504
  return {
10466
10505
  special: true,
10467
10506
  call: $1,
@@ -10490,25 +10529,25 @@ ${input.slice(result.pos)}
10490
10529
  return result;
10491
10530
  }
10492
10531
  }
10493
- var AssignmentOpSymbol$0 = $EXPECT($L35, fail, 'AssignmentOpSymbol "**="');
10494
- var AssignmentOpSymbol$1 = $EXPECT($L36, fail, 'AssignmentOpSymbol "*="');
10495
- var AssignmentOpSymbol$2 = $EXPECT($L37, fail, 'AssignmentOpSymbol "/="');
10496
- var AssignmentOpSymbol$3 = $EXPECT($L38, fail, 'AssignmentOpSymbol "%="');
10497
- var AssignmentOpSymbol$4 = $EXPECT($L39, fail, 'AssignmentOpSymbol "+="');
10498
- var AssignmentOpSymbol$5 = $EXPECT($L40, fail, 'AssignmentOpSymbol "-="');
10499
- var AssignmentOpSymbol$6 = $EXPECT($L41, fail, 'AssignmentOpSymbol "<<="');
10500
- var AssignmentOpSymbol$7 = $EXPECT($L42, fail, 'AssignmentOpSymbol ">>>="');
10501
- var AssignmentOpSymbol$8 = $EXPECT($L43, fail, 'AssignmentOpSymbol ">>="');
10502
- var AssignmentOpSymbol$9 = $EXPECT($L44, fail, 'AssignmentOpSymbol "&&="');
10503
- var AssignmentOpSymbol$10 = $EXPECT($L45, fail, 'AssignmentOpSymbol "&="');
10504
- var AssignmentOpSymbol$11 = $EXPECT($L46, fail, 'AssignmentOpSymbol "^="');
10505
- var AssignmentOpSymbol$12 = $EXPECT($L47, fail, 'AssignmentOpSymbol "||="');
10506
- var AssignmentOpSymbol$13 = $EXPECT($L48, fail, 'AssignmentOpSymbol "|="');
10507
- var AssignmentOpSymbol$14 = $EXPECT($L49, fail, 'AssignmentOpSymbol "??="');
10508
- var AssignmentOpSymbol$15 = $T($EXPECT($L50, fail, 'AssignmentOpSymbol "?="'), function(value) {
10532
+ var AssignmentOpSymbol$0 = $EXPECT($L36, fail, 'AssignmentOpSymbol "**="');
10533
+ var AssignmentOpSymbol$1 = $EXPECT($L37, fail, 'AssignmentOpSymbol "*="');
10534
+ var AssignmentOpSymbol$2 = $EXPECT($L38, fail, 'AssignmentOpSymbol "/="');
10535
+ var AssignmentOpSymbol$3 = $EXPECT($L39, fail, 'AssignmentOpSymbol "%="');
10536
+ var AssignmentOpSymbol$4 = $EXPECT($L40, fail, 'AssignmentOpSymbol "+="');
10537
+ var AssignmentOpSymbol$5 = $EXPECT($L41, fail, 'AssignmentOpSymbol "-="');
10538
+ var AssignmentOpSymbol$6 = $EXPECT($L42, fail, 'AssignmentOpSymbol "<<="');
10539
+ var AssignmentOpSymbol$7 = $EXPECT($L43, fail, 'AssignmentOpSymbol ">>>="');
10540
+ var AssignmentOpSymbol$8 = $EXPECT($L44, fail, 'AssignmentOpSymbol ">>="');
10541
+ var AssignmentOpSymbol$9 = $EXPECT($L45, fail, 'AssignmentOpSymbol "&&="');
10542
+ var AssignmentOpSymbol$10 = $EXPECT($L46, fail, 'AssignmentOpSymbol "&="');
10543
+ var AssignmentOpSymbol$11 = $EXPECT($L47, fail, 'AssignmentOpSymbol "^="');
10544
+ var AssignmentOpSymbol$12 = $EXPECT($L48, fail, 'AssignmentOpSymbol "||="');
10545
+ var AssignmentOpSymbol$13 = $EXPECT($L49, fail, 'AssignmentOpSymbol "|="');
10546
+ var AssignmentOpSymbol$14 = $EXPECT($L50, fail, 'AssignmentOpSymbol "??="');
10547
+ var AssignmentOpSymbol$15 = $T($EXPECT($L51, fail, 'AssignmentOpSymbol "?="'), function(value) {
10509
10548
  return "??=";
10510
10549
  });
10511
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L2, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L2, fail, 'AssignmentOpSymbol "="'))), function(value) {
10550
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L3, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L3, fail, 'AssignmentOpSymbol "="'))), function(value) {
10512
10551
  return value[0];
10513
10552
  });
10514
10553
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -10536,10 +10575,10 @@ ${input.slice(result.pos)}
10536
10575
  return result;
10537
10576
  }
10538
10577
  }
10539
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L51, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
10578
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L52, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
10540
10579
  return "&&=";
10541
10580
  });
10542
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L52, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
10581
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L53, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
10543
10582
  return "||=";
10544
10583
  });
10545
10584
  function CoffeeWordAssignmentOp(state) {
@@ -10564,6 +10603,42 @@ ${input.slice(result.pos)}
10564
10603
  return result;
10565
10604
  }
10566
10605
  }
10606
+ var NotDedentedBinaryOp$0 = $TS($S($E(IndentedFurther), $E(_), BinaryOp), function($skip, $loc, $0, $1, $2, $3) {
10607
+ const ws = [];
10608
+ if ($1)
10609
+ ws.push(...$1);
10610
+ if ($2)
10611
+ ws.push(...$2);
10612
+ return [ws, $3];
10613
+ });
10614
+ var NotDedentedBinaryOp$1 = $TS($S(Samedent, $E(_), $N(Identifier), BinaryOp), function($skip, $loc, $0, $1, $2, $3, $4) {
10615
+ const ws = [...$1];
10616
+ if ($2)
10617
+ ws.push(...$2);
10618
+ return [ws, $4];
10619
+ });
10620
+ function NotDedentedBinaryOp(state) {
10621
+ let eventData;
10622
+ if (state.events) {
10623
+ const result = state.events.enter?.("NotDedentedBinaryOp", state);
10624
+ if (result) {
10625
+ if (result.cache)
10626
+ return result.cache;
10627
+ eventData = result.data;
10628
+ }
10629
+ }
10630
+ if (state.tokenize) {
10631
+ const result = $TOKEN("NotDedentedBinaryOp", state, NotDedentedBinaryOp$0(state) || NotDedentedBinaryOp$1(state));
10632
+ if (state.events)
10633
+ state.events.exit?.("NotDedentedBinaryOp", state, result, eventData);
10634
+ return result;
10635
+ } else {
10636
+ const result = NotDedentedBinaryOp$0(state) || NotDedentedBinaryOp$1(state);
10637
+ if (state.events)
10638
+ state.events.exit?.("NotDedentedBinaryOp", state, result, eventData);
10639
+ return result;
10640
+ }
10641
+ }
10567
10642
  var BinaryOp$0 = $TS($S(BinaryOpSymbol), function($skip, $loc, $0, $1) {
10568
10643
  if (typeof $1 === "string")
10569
10644
  return { $loc, token: $1 };
@@ -10610,27 +10685,27 @@ ${input.slice(result.pos)}
10610
10685
  return result;
10611
10686
  }
10612
10687
  }
10613
- var BinaryOpSymbol$0 = $EXPECT($L53, fail, 'BinaryOpSymbol "**"');
10614
- var BinaryOpSymbol$1 = $EXPECT($L54, fail, 'BinaryOpSymbol "*"');
10615
- var BinaryOpSymbol$2 = $EXPECT($L55, fail, 'BinaryOpSymbol "/"');
10616
- var BinaryOpSymbol$3 = $TV($EXPECT($L56, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
10688
+ var BinaryOpSymbol$0 = $EXPECT($L54, fail, 'BinaryOpSymbol "**"');
10689
+ var BinaryOpSymbol$1 = $EXPECT($L55, fail, 'BinaryOpSymbol "*"');
10690
+ var BinaryOpSymbol$2 = $EXPECT($L56, fail, 'BinaryOpSymbol "/"');
10691
+ var BinaryOpSymbol$3 = $TV($EXPECT($L57, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
10617
10692
  return {
10618
10693
  call: module.getRef("modulo"),
10619
10694
  special: true
10620
10695
  };
10621
10696
  });
10622
- var BinaryOpSymbol$4 = $EXPECT($L57, fail, 'BinaryOpSymbol "%"');
10623
- var BinaryOpSymbol$5 = $EXPECT($L58, fail, 'BinaryOpSymbol "+"');
10624
- var BinaryOpSymbol$6 = $EXPECT($L19, fail, 'BinaryOpSymbol "-"');
10625
- var BinaryOpSymbol$7 = $EXPECT($L59, fail, 'BinaryOpSymbol "<="');
10626
- var BinaryOpSymbol$8 = $T($EXPECT($L60, fail, 'BinaryOpSymbol "\u2264"'), function(value) {
10697
+ var BinaryOpSymbol$4 = $EXPECT($L58, fail, 'BinaryOpSymbol "%"');
10698
+ var BinaryOpSymbol$5 = $EXPECT($L59, fail, 'BinaryOpSymbol "+"');
10699
+ var BinaryOpSymbol$6 = $EXPECT($L20, fail, 'BinaryOpSymbol "-"');
10700
+ var BinaryOpSymbol$7 = $EXPECT($L60, fail, 'BinaryOpSymbol "<="');
10701
+ var BinaryOpSymbol$8 = $T($EXPECT($L61, fail, 'BinaryOpSymbol "\u2264"'), function(value) {
10627
10702
  return "<=";
10628
10703
  });
10629
- var BinaryOpSymbol$9 = $EXPECT($L61, fail, 'BinaryOpSymbol ">="');
10630
- var BinaryOpSymbol$10 = $T($EXPECT($L62, fail, 'BinaryOpSymbol "\u2265"'), function(value) {
10704
+ var BinaryOpSymbol$9 = $EXPECT($L62, fail, 'BinaryOpSymbol ">="');
10705
+ var BinaryOpSymbol$10 = $T($EXPECT($L63, fail, 'BinaryOpSymbol "\u2265"'), function(value) {
10631
10706
  return ">=";
10632
10707
  });
10633
- var BinaryOpSymbol$11 = $TV($EXPECT($L63, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
10708
+ var BinaryOpSymbol$11 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
10634
10709
  return {
10635
10710
  $loc,
10636
10711
  token: "instanceof",
@@ -10638,7 +10713,7 @@ ${input.slice(result.pos)}
10638
10713
  special: true
10639
10714
  };
10640
10715
  });
10641
- var BinaryOpSymbol$12 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
10716
+ var BinaryOpSymbol$12 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
10642
10717
  return {
10643
10718
  $loc,
10644
10719
  token: "instanceof",
@@ -10647,79 +10722,79 @@ ${input.slice(result.pos)}
10647
10722
  negated: true
10648
10723
  };
10649
10724
  });
10650
- var BinaryOpSymbol$13 = $EXPECT($L65, fail, 'BinaryOpSymbol "<<"');
10651
- var BinaryOpSymbol$14 = $T($EXPECT($L66, fail, 'BinaryOpSymbol "\xAB"'), function(value) {
10725
+ var BinaryOpSymbol$13 = $EXPECT($L66, fail, 'BinaryOpSymbol "<<"');
10726
+ var BinaryOpSymbol$14 = $T($EXPECT($L67, fail, 'BinaryOpSymbol "\xAB"'), function(value) {
10652
10727
  return "<<";
10653
10728
  });
10654
10729
  var BinaryOpSymbol$15 = $TR($EXPECT($R7, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10655
10730
  return "<";
10656
10731
  });
10657
- var BinaryOpSymbol$16 = $EXPECT($L67, fail, 'BinaryOpSymbol ">>>"');
10658
- var BinaryOpSymbol$17 = $T($EXPECT($L68, fail, 'BinaryOpSymbol "\u22D9"'), function(value) {
10732
+ var BinaryOpSymbol$16 = $EXPECT($L68, fail, 'BinaryOpSymbol ">>>"');
10733
+ var BinaryOpSymbol$17 = $T($EXPECT($L69, fail, 'BinaryOpSymbol "\u22D9"'), function(value) {
10659
10734
  return ">>>";
10660
10735
  });
10661
- var BinaryOpSymbol$18 = $EXPECT($L69, fail, 'BinaryOpSymbol ">>"');
10662
- var BinaryOpSymbol$19 = $T($EXPECT($L70, fail, 'BinaryOpSymbol "\xBB"'), function(value) {
10736
+ var BinaryOpSymbol$18 = $EXPECT($L70, fail, 'BinaryOpSymbol ">>"');
10737
+ var BinaryOpSymbol$19 = $T($EXPECT($L71, fail, 'BinaryOpSymbol "\xBB"'), function(value) {
10663
10738
  return ">>";
10664
10739
  });
10665
- var BinaryOpSymbol$20 = $EXPECT($L33, fail, 'BinaryOpSymbol ">"');
10666
- var BinaryOpSymbol$21 = $EXPECT($L71, fail, 'BinaryOpSymbol "!=="');
10667
- var BinaryOpSymbol$22 = $T($EXPECT($L72, fail, 'BinaryOpSymbol "\u2262"'), function(value) {
10740
+ var BinaryOpSymbol$20 = $EXPECT($L34, fail, 'BinaryOpSymbol ">"');
10741
+ var BinaryOpSymbol$21 = $EXPECT($L72, fail, 'BinaryOpSymbol "!=="');
10742
+ var BinaryOpSymbol$22 = $T($EXPECT($L73, fail, 'BinaryOpSymbol "\u2262"'), function(value) {
10668
10743
  return "!==";
10669
10744
  });
10670
- var BinaryOpSymbol$23 = $TV($C($EXPECT($L73, fail, 'BinaryOpSymbol "!="'), $EXPECT($L74, fail, 'BinaryOpSymbol "\u2260"')), function($skip, $loc, $0, $1) {
10745
+ var BinaryOpSymbol$23 = $TV($C($EXPECT($L74, fail, 'BinaryOpSymbol "!="'), $EXPECT($L75, fail, 'BinaryOpSymbol "\u2260"')), function($skip, $loc, $0, $1) {
10671
10746
  if (module.config.coffeeEq)
10672
10747
  return "!==";
10673
10748
  return "!=";
10674
10749
  });
10675
- var BinaryOpSymbol$24 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10750
+ var BinaryOpSymbol$24 = $TS($S($EXPECT($L76, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10676
10751
  if (module.config.coffeeIsnt)
10677
10752
  return "!==";
10678
10753
  return $skip;
10679
10754
  });
10680
- var BinaryOpSymbol$25 = $EXPECT($L76, fail, 'BinaryOpSymbol "==="');
10681
- var BinaryOpSymbol$26 = $T($C($EXPECT($L77, fail, 'BinaryOpSymbol "\u2263"'), $EXPECT($L78, fail, 'BinaryOpSymbol "\u2A76"')), function(value) {
10755
+ var BinaryOpSymbol$25 = $EXPECT($L77, fail, 'BinaryOpSymbol "==="');
10756
+ var BinaryOpSymbol$26 = $T($C($EXPECT($L78, fail, 'BinaryOpSymbol "\u2263"'), $EXPECT($L79, fail, 'BinaryOpSymbol "\u2A76"')), function(value) {
10682
10757
  return "===";
10683
10758
  });
10684
- var BinaryOpSymbol$27 = $TV($C($EXPECT($L79, fail, 'BinaryOpSymbol "=="'), $EXPECT($L80, fail, 'BinaryOpSymbol "\u2261"'), $EXPECT($L81, fail, 'BinaryOpSymbol "\u2A75"')), function($skip, $loc, $0, $1) {
10759
+ var BinaryOpSymbol$27 = $TV($C($EXPECT($L80, fail, 'BinaryOpSymbol "=="'), $EXPECT($L81, fail, 'BinaryOpSymbol "\u2261"'), $EXPECT($L82, fail, 'BinaryOpSymbol "\u2A75"')), function($skip, $loc, $0, $1) {
10685
10760
  if (module.config.coffeeEq)
10686
10761
  return "===";
10687
10762
  return "==";
10688
10763
  });
10689
- var BinaryOpSymbol$28 = $T($S($EXPECT($L82, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
10764
+ var BinaryOpSymbol$28 = $T($S($EXPECT($L83, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
10690
10765
  return "&&";
10691
10766
  });
10692
- var BinaryOpSymbol$29 = $EXPECT($L83, fail, 'BinaryOpSymbol "&&"');
10693
- var BinaryOpSymbol$30 = $T($S(CoffeeOfEnabled, $EXPECT($L84, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
10767
+ var BinaryOpSymbol$29 = $EXPECT($L84, fail, 'BinaryOpSymbol "&&"');
10768
+ var BinaryOpSymbol$30 = $T($S(CoffeeOfEnabled, $EXPECT($L85, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
10694
10769
  return "in";
10695
10770
  });
10696
- var BinaryOpSymbol$31 = $T($S($EXPECT($L85, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
10771
+ var BinaryOpSymbol$31 = $T($S($EXPECT($L86, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
10697
10772
  return "||";
10698
10773
  });
10699
- var BinaryOpSymbol$32 = $EXPECT($L86, fail, 'BinaryOpSymbol "||"');
10700
- var BinaryOpSymbol$33 = $T($EXPECT($L87, fail, 'BinaryOpSymbol "\u2016"'), function(value) {
10774
+ var BinaryOpSymbol$32 = $EXPECT($L87, fail, 'BinaryOpSymbol "||"');
10775
+ var BinaryOpSymbol$33 = $T($EXPECT($L88, fail, 'BinaryOpSymbol "\u2016"'), function(value) {
10701
10776
  return "||";
10702
10777
  });
10703
- var BinaryOpSymbol$34 = $TV($C($EXPECT($L88, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L89, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10778
+ var BinaryOpSymbol$34 = $TV($C($EXPECT($L89, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L90, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10704
10779
  return {
10705
10780
  call: module.getRef("xor"),
10706
10781
  special: true
10707
10782
  };
10708
10783
  });
10709
- var BinaryOpSymbol$35 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L90, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10784
+ var BinaryOpSymbol$35 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L91, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10710
10785
  return {
10711
10786
  call: module.getRef("xnor"),
10712
10787
  special: true
10713
10788
  };
10714
10789
  });
10715
- var BinaryOpSymbol$36 = $EXPECT($L91, fail, 'BinaryOpSymbol "??"');
10716
- var BinaryOpSymbol$37 = $T($EXPECT($L92, fail, 'BinaryOpSymbol "\u2047"'), function(value) {
10790
+ var BinaryOpSymbol$36 = $EXPECT($L92, fail, 'BinaryOpSymbol "??"');
10791
+ var BinaryOpSymbol$37 = $T($EXPECT($L93, fail, 'BinaryOpSymbol "\u2047"'), function(value) {
10717
10792
  return "??";
10718
10793
  });
10719
- var BinaryOpSymbol$38 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L4, fail, 'BinaryOpSymbol "?"')), function(value) {
10794
+ var BinaryOpSymbol$38 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L5, fail, 'BinaryOpSymbol "?"')), function(value) {
10720
10795
  return "??";
10721
10796
  });
10722
- var BinaryOpSymbol$39 = $TS($S($EXPECT($L93, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10797
+ var BinaryOpSymbol$39 = $TS($S($EXPECT($L94, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10723
10798
  return {
10724
10799
  $loc,
10725
10800
  token: $1,
@@ -10727,7 +10802,7 @@ ${input.slice(result.pos)}
10727
10802
  special: true
10728
10803
  };
10729
10804
  });
10730
- var BinaryOpSymbol$40 = $TS($S(Not, __, $EXPECT($L93, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
10805
+ var BinaryOpSymbol$40 = $TS($S(Not, __, $EXPECT($L94, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
10731
10806
  return {
10732
10807
  $loc,
10733
10808
  token: "instanceof",
@@ -10736,7 +10811,7 @@ ${input.slice(result.pos)}
10736
10811
  negated: true
10737
10812
  };
10738
10813
  });
10739
- var BinaryOpSymbol$41 = $TV($C($S($N(CoffeeOfEnabled), Not, __, In), $S(CoffeeOfEnabled, Not, __, $EXPECT($L84, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10814
+ var BinaryOpSymbol$41 = $TV($C($S($N(CoffeeOfEnabled), Not, __, In), $S(CoffeeOfEnabled, Not, __, $EXPECT($L85, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10740
10815
  return {
10741
10816
  $loc,
10742
10817
  token: "in",
@@ -10744,7 +10819,7 @@ ${input.slice(result.pos)}
10744
10819
  negated: true
10745
10820
  };
10746
10821
  });
10747
- var BinaryOpSymbol$42 = $TV($C($S(Is, __, In), $EXPECT($L94, fail, 'BinaryOpSymbol "\u2208"')), function($skip, $loc, $0, $1) {
10822
+ var BinaryOpSymbol$42 = $TV($C($S(Is, __, In), $EXPECT($L95, fail, 'BinaryOpSymbol "\u2208"')), function($skip, $loc, $0, $1) {
10748
10823
  return {
10749
10824
  method: "includes",
10750
10825
  relational: true,
@@ -10752,14 +10827,14 @@ ${input.slice(result.pos)}
10752
10827
  special: true
10753
10828
  };
10754
10829
  });
10755
- var BinaryOpSymbol$43 = $TV($EXPECT($L95, fail, 'BinaryOpSymbol "\u220B"'), function($skip, $loc, $0, $1) {
10830
+ var BinaryOpSymbol$43 = $TV($EXPECT($L96, fail, 'BinaryOpSymbol "\u220B"'), function($skip, $loc, $0, $1) {
10756
10831
  return {
10757
10832
  method: "includes",
10758
10833
  relational: true,
10759
10834
  special: true
10760
10835
  };
10761
10836
  });
10762
- var BinaryOpSymbol$44 = $TV($EXPECT($L96, fail, 'BinaryOpSymbol "\u220C"'), function($skip, $loc, $0, $1) {
10837
+ var BinaryOpSymbol$44 = $TV($EXPECT($L97, fail, 'BinaryOpSymbol "\u220C"'), function($skip, $loc, $0, $1) {
10763
10838
  return {
10764
10839
  method: "includes",
10765
10840
  relational: true,
@@ -10776,7 +10851,7 @@ ${input.slice(result.pos)}
10776
10851
  special: true
10777
10852
  };
10778
10853
  });
10779
- var BinaryOpSymbol$46 = $TV($C($S(Is, __, Not, __, In), $EXPECT($L97, fail, 'BinaryOpSymbol "\u2209"')), function($skip, $loc, $0, $1) {
10854
+ var BinaryOpSymbol$46 = $TV($C($S(Is, __, Not, __, In), $EXPECT($L98, fail, 'BinaryOpSymbol "\u2209"')), function($skip, $loc, $0, $1) {
10780
10855
  return {
10781
10856
  method: "includes",
10782
10857
  relational: true,
@@ -10820,9 +10895,9 @@ ${input.slice(result.pos)}
10820
10895
  var BinaryOpSymbol$50 = $TS($S(In), function($skip, $loc, $0, $1) {
10821
10896
  return "in";
10822
10897
  });
10823
- var BinaryOpSymbol$51 = $EXPECT($L98, fail, 'BinaryOpSymbol "&"');
10824
- var BinaryOpSymbol$52 = $EXPECT($L18, fail, 'BinaryOpSymbol "^"');
10825
- var BinaryOpSymbol$53 = $EXPECT($L99, fail, 'BinaryOpSymbol "|"');
10898
+ var BinaryOpSymbol$51 = $EXPECT($L99, fail, 'BinaryOpSymbol "&"');
10899
+ var BinaryOpSymbol$52 = $EXPECT($L19, fail, 'BinaryOpSymbol "^"');
10900
+ var BinaryOpSymbol$53 = $EXPECT($L100, fail, 'BinaryOpSymbol "|"');
10826
10901
  function BinaryOpSymbol(state) {
10827
10902
  let eventData;
10828
10903
  if (state.events) {
@@ -10845,8 +10920,8 @@ ${input.slice(result.pos)}
10845
10920
  return result;
10846
10921
  }
10847
10922
  }
10848
- var Xor$0 = $EXPECT($L88, fail, 'Xor "^^"');
10849
- var Xor$1 = $S($EXPECT($L89, fail, 'Xor "xor"'), NonIdContinue);
10923
+ var Xor$0 = $EXPECT($L89, fail, 'Xor "^^"');
10924
+ var Xor$1 = $S($EXPECT($L90, fail, 'Xor "xor"'), NonIdContinue);
10850
10925
  function Xor(state) {
10851
10926
  let eventData;
10852
10927
  if (state.events) {
@@ -10870,7 +10945,7 @@ ${input.slice(result.pos)}
10870
10945
  }
10871
10946
  }
10872
10947
  var Xnor$0 = $R$0($EXPECT($R8, fail, "Xnor /!\\^\\^?/"));
10873
- var Xnor$1 = $EXPECT($L90, fail, 'Xnor "xnor"');
10948
+ var Xnor$1 = $EXPECT($L91, fail, 'Xnor "xnor"');
10874
10949
  function Xnor(state) {
10875
10950
  let eventData;
10876
10951
  if (state.events) {
@@ -10893,12 +10968,12 @@ ${input.slice(result.pos)}
10893
10968
  return result;
10894
10969
  }
10895
10970
  }
10896
- var UnaryOp$0 = $TR($EXPECT($R9, fail, "UnaryOp /(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10971
+ var UnaryOp$0 = $TR($EXPECT($R9, fail, "UnaryOp /(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*[&.])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10897
10972
  return { $loc, token: $0 };
10898
10973
  });
10899
10974
  var UnaryOp$1 = AwaitOp;
10900
- var UnaryOp$2 = $S($C(Delete, Void, Typeof), $N($EXPECT($L11, fail, 'UnaryOp ":"')), $E(_));
10901
- var UnaryOp$3 = $T($S(Not, $E($EXPECT($L10, fail, 'UnaryOp " "')), $E(_)), function(value) {
10975
+ var UnaryOp$2 = $S($C(Delete, Void, Typeof), $N($EXPECT($L12, fail, 'UnaryOp ":"')), $E(_));
10976
+ var UnaryOp$3 = $T($S(Not, $E($EXPECT($L11, fail, 'UnaryOp " "')), $E(_)), function(value) {
10902
10977
  return [value[0], value[2]];
10903
10978
  });
10904
10979
  function UnaryOp(state) {
@@ -11158,7 +11233,7 @@ ${input.slice(result.pos)}
11158
11233
  return result;
11159
11234
  }
11160
11235
  }
11161
- var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L100, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
11236
+ var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L101, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
11162
11237
  return { type: "EmptyStatement", children: $1 || [] };
11163
11238
  });
11164
11239
  function EmptyStatement(state) {
@@ -11183,7 +11258,7 @@ ${input.slice(result.pos)}
11183
11258
  return result;
11184
11259
  }
11185
11260
  }
11186
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L2, fail, 'BlockStatement "="')))), function(value) {
11261
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L3, fail, 'BlockStatement "="')))), function(value) {
11187
11262
  return value[0];
11188
11263
  });
11189
11264
  function BlockStatement(state) {
@@ -11237,7 +11312,7 @@ ${input.slice(result.pos)}
11237
11312
  var w = $3;
11238
11313
  return [id, colon, w];
11239
11314
  });
11240
- var Label$1 = $S($EXPECT($L101, fail, 'Label "$:"'), Whitespace);
11315
+ var Label$1 = $S($EXPECT($L102, fail, 'Label "$:"'), Whitespace);
11241
11316
  function Label(state) {
11242
11317
  let eventData;
11243
11318
  if (state.events) {
@@ -11382,6 +11457,8 @@ ${input.slice(result.pos)}
11382
11457
  var kind = $1;
11383
11458
  var condition = $2;
11384
11459
  kind = { ...kind, token: "if" };
11460
+ kind.token += getTrimmingSpace(condition);
11461
+ condition = insertTrimmingSpace(condition, "");
11385
11462
  return {
11386
11463
  type: "IfStatement",
11387
11464
  children: [kind, ["(!", condition, ")"]],
@@ -11560,7 +11637,7 @@ ${input.slice(result.pos)}
11560
11637
  children: [$1, exps, $3, $4, $5]
11561
11638
  };
11562
11639
  });
11563
- var ElseExpressionBlock$1 = $T($S($N(EOS), ExpressionWithIndentedApplicationForbidden), function(value) {
11640
+ var ElseExpressionBlock$1 = $T($S($N(EOS), ExpressionWithObjectApplicationForbidden), function(value) {
11564
11641
  return value[1];
11565
11642
  });
11566
11643
  function ElseExpressionBlock(state) {
@@ -12030,7 +12107,7 @@ ${input.slice(result.pos)}
12030
12107
  return result;
12031
12108
  }
12032
12109
  }
12033
- var WhenCondition$0 = $T($S(__, When, ExpressionWithIndentedApplicationForbidden), function(value) {
12110
+ var WhenCondition$0 = $T($S(__, When, ExpressionWithObjectApplicationForbidden), function(value) {
12034
12111
  var exp = value[2];
12035
12112
  return exp;
12036
12113
  });
@@ -12056,7 +12133,7 @@ ${input.slice(result.pos)}
12056
12133
  return result;
12057
12134
  }
12058
12135
  }
12059
- var CoffeeForStatementParameters$0 = $TS($S($E($S(Await, __)), InsertOpenParen, CoffeeForDeclaration, $E(CoffeeForIndex), __, $C(In, Of, From), ExpressionWithIndentedApplicationForbidden, $E($S($E(_), By, ExpressionWithIndentedApplicationForbidden)), InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12136
+ var CoffeeForStatementParameters$0 = $TS($S($E($S(Await, __)), InsertOpenParen, CoffeeForDeclaration, $E(CoffeeForIndex), __, $C(In, Of, From), ExpressionWithObjectApplicationForbidden, $E($S($E(_), By, ExpressionWithObjectApplicationForbidden)), InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12060
12137
  var open = $2;
12061
12138
  var declaration = $3;
12062
12139
  var index = $4;
@@ -12221,7 +12298,7 @@ ${input.slice(result.pos)}
12221
12298
  return result;
12222
12299
  }
12223
12300
  }
12224
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L102, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
12301
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L103, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
12225
12302
  var own = $1;
12226
12303
  var binding = $2;
12227
12304
  return {
@@ -12267,7 +12344,7 @@ ${input.slice(result.pos)}
12267
12344
  children: $0
12268
12345
  };
12269
12346
  });
12270
- var ForStatementParameters$2 = $TS($S($E($S(Await, __)), OpenParen, __, ForInOfDeclaration, __, $C(In, Of), ExpressionWithIndentedApplicationForbidden, $E($S(__, By, ExpressionWithIndentedApplicationForbidden)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) {
12347
+ var ForStatementParameters$2 = $TS($S($E($S(Await, __)), OpenParen, __, ForInOfDeclaration, __, $C(In, Of), ExpressionWithObjectApplicationForbidden, $E($S(__, By, ExpressionWithObjectApplicationForbidden)), __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9, $10) {
12271
12348
  var open = $2;
12272
12349
  var declaration = $4;
12273
12350
  var op = $6;
@@ -12284,7 +12361,7 @@ ${input.slice(result.pos)}
12284
12361
  children: $0
12285
12362
  };
12286
12363
  });
12287
- var ForStatementParameters$3 = $TS($S($E($S(Await, __)), InsertOpenParen, ForInOfDeclaration, __, $C(In, Of), ExpressionWithIndentedApplicationForbidden, $E($S(__, By, ExpressionWithIndentedApplicationForbidden)), InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
12364
+ var ForStatementParameters$3 = $TS($S($E($S(Await, __)), InsertOpenParen, ForInOfDeclaration, __, $C(In, Of), ExpressionWithObjectApplicationForbidden, $E($S(__, By, ExpressionWithObjectApplicationForbidden)), InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
12288
12365
  var open = $2;
12289
12366
  var declaration = $3;
12290
12367
  var op = $5;
@@ -12324,14 +12401,14 @@ ${input.slice(result.pos)}
12324
12401
  return result;
12325
12402
  }
12326
12403
  }
12327
- var ForRangeParameters$0 = $TS($S($E($S(Await, __)), OpenParen, OpenBracket, RangeExpression, CloseBracket, $E($S(__, By, ExpressionWithIndentedApplicationForbidden)), CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
12404
+ var ForRangeParameters$0 = $TS($S($E($S(Await, __)), OpenParen, OpenBracket, RangeExpression, CloseBracket, $E($S(__, By, ExpressionWithObjectApplicationForbidden)), CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
12328
12405
  var open = $2;
12329
12406
  var exp = $4;
12330
12407
  var step = $6;
12331
12408
  var close = $7;
12332
12409
  return forRange(open, null, exp, step, close);
12333
12410
  });
12334
- var ForRangeParameters$1 = $TS($S($E($S(Await, __)), InsertOpenParen, OpenBracket, RangeExpression, CloseBracket, $E($S(__, By, ExpressionWithIndentedApplicationForbidden)), InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
12411
+ var ForRangeParameters$1 = $TS($S($E($S(Await, __)), InsertOpenParen, OpenBracket, RangeExpression, CloseBracket, $E($S(__, By, ExpressionWithObjectApplicationForbidden)), InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
12335
12412
  var open = $2;
12336
12413
  var exp = $4;
12337
12414
  var step = $6;
@@ -12787,7 +12864,7 @@ ${input.slice(result.pos)}
12787
12864
  return result;
12788
12865
  }
12789
12866
  }
12790
- var CaseExpressionList$0 = $TS($S(ForbidMultiLineImplicitObjectLiteral, $E($S($Q(_), ExpressionWithIndentedApplicationForbidden, ImpliedColon)), $Q($S(__, Comma, ExpressionWithIndentedApplicationForbidden, ImpliedColon)), RestoreMultiLineImplicitObjectLiteral), function($skip, $loc, $0, $1, $2, $3, $4) {
12867
+ var CaseExpressionList$0 = $TS($S(ForbidMultiLineImplicitObjectLiteral, $E($S($Q(_), ExpressionWithObjectApplicationForbidden, ImpliedColon)), $Q($S(__, Comma, ExpressionWithObjectApplicationForbidden, ImpliedColon)), RestoreMultiLineImplicitObjectLiteral), function($skip, $loc, $0, $1, $2, $3, $4) {
12791
12868
  var first = $2;
12792
12869
  var rest = $3;
12793
12870
  if (!first)
@@ -12849,7 +12926,7 @@ ${input.slice(result.pos)}
12849
12926
  return result;
12850
12927
  }
12851
12928
  }
12852
- var TryStatement$0 = $TS($S(Try, $N($EXPECT($L11, fail, 'TryStatement ":"')), NoPostfixBracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12929
+ var TryStatement$0 = $TS($S(Try, $N($EXPECT($L12, fail, 'TryStatement ":"')), NoPostfixBracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12853
12930
  var t = $1;
12854
12931
  var b = $3;
12855
12932
  var c = $4;
@@ -13053,7 +13130,7 @@ ${input.slice(result.pos)}
13053
13130
  expression
13054
13131
  };
13055
13132
  });
13056
- var Condition$3 = $TS($S(InsertOpenParen, ExpressionWithIndentedApplicationForbidden, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
13133
+ var Condition$3 = $TS($S(InsertOpenParen, ExpressionWithObjectApplicationForbidden, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
13057
13134
  var open = $1;
13058
13135
  var expression = $2;
13059
13136
  var close = $3;
@@ -13160,6 +13237,34 @@ ${input.slice(result.pos)}
13160
13237
  return result;
13161
13238
  }
13162
13239
  }
13240
+ var ExpressionWithObjectApplicationForbidden$0 = $TS($S(ForbidBracedApplication, ForbidIndentedApplication, ForbidNewlineBinaryOp, $E(ExtendedExpression), RestoreNewlineBinaryOp, RestoreBracedApplication, RestoreIndentedApplication), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
13241
+ var exp = $4;
13242
+ if (exp)
13243
+ return exp;
13244
+ return $skip;
13245
+ });
13246
+ function ExpressionWithObjectApplicationForbidden(state) {
13247
+ let eventData;
13248
+ if (state.events) {
13249
+ const result = state.events.enter?.("ExpressionWithObjectApplicationForbidden", state);
13250
+ if (result) {
13251
+ if (result.cache)
13252
+ return result.cache;
13253
+ eventData = result.data;
13254
+ }
13255
+ }
13256
+ if (state.tokenize) {
13257
+ const result = $TOKEN("ExpressionWithObjectApplicationForbidden", state, ExpressionWithObjectApplicationForbidden$0(state));
13258
+ if (state.events)
13259
+ state.events.exit?.("ExpressionWithObjectApplicationForbidden", state, result, eventData);
13260
+ return result;
13261
+ } else {
13262
+ const result = ExpressionWithObjectApplicationForbidden$0(state);
13263
+ if (state.events)
13264
+ state.events.exit?.("ExpressionWithObjectApplicationForbidden", state, result, eventData);
13265
+ return result;
13266
+ }
13267
+ }
13163
13268
  var ForbidClassImplicitCall$0 = $TV($EXPECT($L0, fail, 'ForbidClassImplicitCall ""'), function($skip, $loc, $0, $1) {
13164
13269
  module.forbidClassImplicitCall.push(true);
13165
13270
  });
@@ -13262,6 +13367,111 @@ ${input.slice(result.pos)}
13262
13367
  return result;
13263
13368
  }
13264
13369
  }
13370
+ var ForbidBracedApplication$0 = $TV($EXPECT($L0, fail, 'ForbidBracedApplication ""'), function($skip, $loc, $0, $1) {
13371
+ module.forbidBracedApplication.push(true);
13372
+ });
13373
+ function ForbidBracedApplication(state) {
13374
+ let eventData;
13375
+ if (state.events) {
13376
+ const result = state.events.enter?.("ForbidBracedApplication", state);
13377
+ if (result) {
13378
+ if (result.cache)
13379
+ return result.cache;
13380
+ eventData = result.data;
13381
+ }
13382
+ }
13383
+ if (state.tokenize) {
13384
+ const result = $TOKEN("ForbidBracedApplication", state, ForbidBracedApplication$0(state));
13385
+ if (state.events)
13386
+ state.events.exit?.("ForbidBracedApplication", state, result, eventData);
13387
+ return result;
13388
+ } else {
13389
+ const result = ForbidBracedApplication$0(state);
13390
+ if (state.events)
13391
+ state.events.exit?.("ForbidBracedApplication", state, result, eventData);
13392
+ return result;
13393
+ }
13394
+ }
13395
+ var AllowBracedApplication$0 = $TV($EXPECT($L0, fail, 'AllowBracedApplication ""'), function($skip, $loc, $0, $1) {
13396
+ module.forbidBracedApplication.push(false);
13397
+ });
13398
+ function AllowBracedApplication(state) {
13399
+ let eventData;
13400
+ if (state.events) {
13401
+ const result = state.events.enter?.("AllowBracedApplication", state);
13402
+ if (result) {
13403
+ if (result.cache)
13404
+ return result.cache;
13405
+ eventData = result.data;
13406
+ }
13407
+ }
13408
+ if (state.tokenize) {
13409
+ const result = $TOKEN("AllowBracedApplication", state, AllowBracedApplication$0(state));
13410
+ if (state.events)
13411
+ state.events.exit?.("AllowBracedApplication", state, result, eventData);
13412
+ return result;
13413
+ } else {
13414
+ const result = AllowBracedApplication$0(state);
13415
+ if (state.events)
13416
+ state.events.exit?.("AllowBracedApplication", state, result, eventData);
13417
+ return result;
13418
+ }
13419
+ }
13420
+ var RestoreBracedApplication$0 = $TV($EXPECT($L0, fail, 'RestoreBracedApplication ""'), function($skip, $loc, $0, $1) {
13421
+ module.forbidBracedApplication.pop();
13422
+ });
13423
+ function RestoreBracedApplication(state) {
13424
+ let eventData;
13425
+ if (state.events) {
13426
+ const result = state.events.enter?.("RestoreBracedApplication", state);
13427
+ if (result) {
13428
+ if (result.cache)
13429
+ return result.cache;
13430
+ eventData = result.data;
13431
+ }
13432
+ }
13433
+ if (state.tokenize) {
13434
+ const result = $TOKEN("RestoreBracedApplication", state, RestoreBracedApplication$0(state));
13435
+ if (state.events)
13436
+ state.events.exit?.("RestoreBracedApplication", state, result, eventData);
13437
+ return result;
13438
+ } else {
13439
+ const result = RestoreBracedApplication$0(state);
13440
+ if (state.events)
13441
+ state.events.exit?.("RestoreBracedApplication", state, result, eventData);
13442
+ return result;
13443
+ }
13444
+ }
13445
+ var BracedApplicationAllowed$0 = $TV($EXPECT($L0, fail, 'BracedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
13446
+ if (module.config.verbose) {
13447
+ console.log("forbidBracedApplication:", module.forbidBracedApplication);
13448
+ }
13449
+ if (module.bracedApplicationForbidden)
13450
+ return $skip;
13451
+ return;
13452
+ });
13453
+ function BracedApplicationAllowed(state) {
13454
+ let eventData;
13455
+ if (state.events) {
13456
+ const result = state.events.enter?.("BracedApplicationAllowed", state);
13457
+ if (result) {
13458
+ if (result.cache)
13459
+ return result.cache;
13460
+ eventData = result.data;
13461
+ }
13462
+ }
13463
+ if (state.tokenize) {
13464
+ const result = $TOKEN("BracedApplicationAllowed", state, BracedApplicationAllowed$0(state));
13465
+ if (state.events)
13466
+ state.events.exit?.("BracedApplicationAllowed", state, result, eventData);
13467
+ return result;
13468
+ } else {
13469
+ const result = BracedApplicationAllowed$0(state);
13470
+ if (state.events)
13471
+ state.events.exit?.("BracedApplicationAllowed", state, result, eventData);
13472
+ return result;
13473
+ }
13474
+ }
13265
13475
  var ForbidIndentedApplication$0 = $TV($EXPECT($L0, fail, 'ForbidIndentedApplication ""'), function($skip, $loc, $0, $1) {
13266
13476
  module.forbidIndentedApplication.push(true);
13267
13477
  });
@@ -13679,7 +13889,7 @@ ${input.slice(result.pos)}
13679
13889
  return result;
13680
13890
  }
13681
13891
  }
13682
- var AllowAll$0 = $S(AllowTrailingMemberProperty, AllowIndentedApplication, AllowMultiLineImplicitObjectLiteral, AllowClassImplicitCall, AllowNewlineBinaryOp);
13892
+ var AllowAll$0 = $S(AllowTrailingMemberProperty, AllowBracedApplication, AllowIndentedApplication, AllowMultiLineImplicitObjectLiteral, AllowClassImplicitCall, AllowNewlineBinaryOp);
13683
13893
  function AllowAll(state) {
13684
13894
  let eventData;
13685
13895
  if (state.events) {
@@ -13702,7 +13912,7 @@ ${input.slice(result.pos)}
13702
13912
  return result;
13703
13913
  }
13704
13914
  }
13705
- var RestoreAll$0 = $S(RestoreTrailingMemberProperty, RestoreIndentedApplication, RestoreMultiLineImplicitObjectLiteral, RestoreClassImplicitCall, RestoreNewlineBinaryOp);
13915
+ var RestoreAll$0 = $S(RestoreTrailingMemberProperty, RestoreBracedApplication, RestoreIndentedApplication, RestoreMultiLineImplicitObjectLiteral, RestoreClassImplicitCall, RestoreNewlineBinaryOp);
13706
13916
  function RestoreAll(state) {
13707
13917
  let eventData;
13708
13918
  if (state.events) {
@@ -13764,7 +13974,7 @@ ${input.slice(result.pos)}
13764
13974
  var KeywordStatement$2 = $T($S(Debugger), function(value) {
13765
13975
  return { "type": "DebuggerStatement", "children": value };
13766
13976
  });
13767
- var KeywordStatement$3 = $T($S(Return, $N($C($EXPECT($L11, fail, 'KeywordStatement ":"'), $EXPECT($L5, fail, 'KeywordStatement "."'), AfterReturnShorthand)), $E(MaybeNestedExpression)), function(value) {
13977
+ var KeywordStatement$3 = $T($S(Return, $N($C($EXPECT($L12, fail, 'KeywordStatement ":"'), $EXPECT($L6, fail, 'KeywordStatement "."'), AfterReturnShorthand)), $E(MaybeNestedExpression)), function(value) {
13768
13978
  var expression = value[2];
13769
13979
  return { "type": "ReturnStatement", "expression": expression, "children": value };
13770
13980
  });
@@ -13793,7 +14003,7 @@ ${input.slice(result.pos)}
13793
14003
  return result;
13794
14004
  }
13795
14005
  }
13796
- var Break$0 = $TS($S($EXPECT($L103, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14006
+ var Break$0 = $TS($S($EXPECT($L104, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13797
14007
  return { $loc, token: $1 };
13798
14008
  });
13799
14009
  function Break(state) {
@@ -13818,7 +14028,7 @@ ${input.slice(result.pos)}
13818
14028
  return result;
13819
14029
  }
13820
14030
  }
13821
- var Continue$0 = $TS($S($EXPECT($L104, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14031
+ var Continue$0 = $TS($S($EXPECT($L105, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13822
14032
  return { $loc, token: $1 };
13823
14033
  });
13824
14034
  function Continue(state) {
@@ -13843,7 +14053,7 @@ ${input.slice(result.pos)}
13843
14053
  return result;
13844
14054
  }
13845
14055
  }
13846
- var Debugger$0 = $TS($S($EXPECT($L105, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14056
+ var Debugger$0 = $TS($S($EXPECT($L106, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13847
14057
  return { $loc, token: $1 };
13848
14058
  });
13849
14059
  function Debugger(state) {
@@ -14149,7 +14359,7 @@ ${input.slice(result.pos)}
14149
14359
  return result;
14150
14360
  }
14151
14361
  }
14152
- var ImportAssertion$0 = $S($E(_), $EXPECT($L106, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
14362
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L107, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
14153
14363
  function ImportAssertion(state) {
14154
14364
  let eventData;
14155
14365
  if (state.events) {
@@ -14252,7 +14462,7 @@ ${input.slice(result.pos)}
14252
14462
  }
14253
14463
  }
14254
14464
  var ImportAsToken$0 = $S(__, As);
14255
- var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L10, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
14465
+ var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L11, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
14256
14466
  var l = $1;
14257
14467
  var ws = $2;
14258
14468
  var c = $3;
@@ -14721,7 +14931,7 @@ ${input.slice(result.pos)}
14721
14931
  return result;
14722
14932
  }
14723
14933
  }
14724
- var ConstAssignment$0 = $TV($C($EXPECT($L107, fail, 'ConstAssignment ":="'), $EXPECT($L108, fail, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
14934
+ var ConstAssignment$0 = $TV($C($EXPECT($L108, fail, 'ConstAssignment ":="'), $EXPECT($L109, fail, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
14725
14935
  return { $loc, token: "=" };
14726
14936
  });
14727
14937
  function ConstAssignment(state) {
@@ -14746,7 +14956,7 @@ ${input.slice(result.pos)}
14746
14956
  return result;
14747
14957
  }
14748
14958
  }
14749
- var LetAssignment$0 = $TV($EXPECT($L109, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
14959
+ var LetAssignment$0 = $TV($EXPECT($L110, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
14750
14960
  return { $loc, token: "=" };
14751
14961
  });
14752
14962
  function LetAssignment(state) {
@@ -15453,7 +15663,7 @@ ${input.slice(result.pos)}
15453
15663
  }
15454
15664
  }
15455
15665
  var RegularExpressionLiteral$0 = HeregexLiteral;
15456
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L55, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L55, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
15666
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L56, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L56, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
15457
15667
  return { type: "RegularExpressionLiteral", $loc, token: $1 };
15458
15668
  });
15459
15669
  function RegularExpressionLiteral(state) {
@@ -16020,7 +16230,7 @@ ${input.slice(result.pos)}
16020
16230
  return result;
16021
16231
  }
16022
16232
  }
16023
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L110, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L111, fail, 'JSMultiLineComment "*/"')), $EXPECT($R42, fail, "JSMultiLineComment /./"))), $EXPECT($L111, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
16233
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L111, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L112, fail, 'JSMultiLineComment "*/"')), $EXPECT($R42, fail, "JSMultiLineComment /./"))), $EXPECT($L112, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
16024
16234
  return { type: "Comment", $loc, token: $1 };
16025
16235
  });
16026
16236
  function JSMultiLineComment(state) {
@@ -16119,7 +16329,7 @@ ${input.slice(result.pos)}
16119
16329
  return result;
16120
16330
  }
16121
16331
  }
16122
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L110, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L111, fail, 'InlineComment "*/"')), $EXPECT($R46, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L111, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
16332
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L111, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L112, fail, 'InlineComment "*/"')), $EXPECT($R46, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L112, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
16123
16333
  return { $loc, token: $1 };
16124
16334
  });
16125
16335
  function InlineComment(state) {
@@ -16216,7 +16426,7 @@ ${input.slice(result.pos)}
16216
16426
  var NonNewlineWhitespace$0 = $TR($EXPECT($R47, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16217
16427
  return { $loc, token: $0 };
16218
16428
  });
16219
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L112, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
16429
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L113, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
16220
16430
  return "";
16221
16431
  });
16222
16432
  function NonNewlineWhitespace(state) {
@@ -16368,7 +16578,7 @@ ${input.slice(result.pos)}
16368
16578
  }
16369
16579
  }
16370
16580
  var StatementDelimiter$0 = SemicolonDelimiter;
16371
- var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L3, fail, 'StatementDelimiter "("'), $EXPECT($L113, fail, 'StatementDelimiter "["'), $EXPECT($L114, fail, 'StatementDelimiter "`"'), $EXPECT($L58, fail, 'StatementDelimiter "+"'), $EXPECT($L19, fail, 'StatementDelimiter "-"'), $EXPECT($L54, fail, 'StatementDelimiter "*"'), $EXPECT($L55, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, FatArrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L3, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
16581
+ var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L4, fail, 'StatementDelimiter "("'), $EXPECT($L114, fail, 'StatementDelimiter "["'), $EXPECT($L115, fail, 'StatementDelimiter "`"'), $EXPECT($L59, fail, 'StatementDelimiter "+"'), $EXPECT($L20, fail, 'StatementDelimiter "-"'), $EXPECT($L55, fail, 'StatementDelimiter "*"'), $EXPECT($L56, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, FatArrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L4, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
16372
16582
  var StatementDelimiter$2 = $Y(EOS);
16373
16583
  function StatementDelimiter(state) {
16374
16584
  let eventData;
@@ -16468,7 +16678,7 @@ ${input.slice(result.pos)}
16468
16678
  return result;
16469
16679
  }
16470
16680
  }
16471
- var Abstract$0 = $TV($TEXT($S($EXPECT($L115, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L10, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
16681
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L116, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L11, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
16472
16682
  return { $loc, token: $1, ts: true };
16473
16683
  });
16474
16684
  function Abstract(state) {
@@ -16493,7 +16703,7 @@ ${input.slice(result.pos)}
16493
16703
  return result;
16494
16704
  }
16495
16705
  }
16496
- var Ampersand$0 = $TV($EXPECT($L98, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
16706
+ var Ampersand$0 = $TV($EXPECT($L99, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
16497
16707
  return { $loc, token: $1 };
16498
16708
  });
16499
16709
  function Ampersand(state) {
@@ -16518,7 +16728,7 @@ ${input.slice(result.pos)}
16518
16728
  return result;
16519
16729
  }
16520
16730
  }
16521
- var As$0 = $TS($S($EXPECT($L116, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16731
+ var As$0 = $TS($S($EXPECT($L117, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16522
16732
  return { $loc, token: $1 };
16523
16733
  });
16524
16734
  function As(state) {
@@ -16543,7 +16753,7 @@ ${input.slice(result.pos)}
16543
16753
  return result;
16544
16754
  }
16545
16755
  }
16546
- var At$0 = $TV($EXPECT($L117, fail, 'At "@"'), function($skip, $loc, $0, $1) {
16756
+ var At$0 = $TV($EXPECT($L118, fail, 'At "@"'), function($skip, $loc, $0, $1) {
16547
16757
  return { $loc, token: $1 };
16548
16758
  });
16549
16759
  function At(state) {
@@ -16568,7 +16778,7 @@ ${input.slice(result.pos)}
16568
16778
  return result;
16569
16779
  }
16570
16780
  }
16571
- var AtAt$0 = $TV($EXPECT($L118, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
16781
+ var AtAt$0 = $TV($EXPECT($L119, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
16572
16782
  return { $loc, token: "@" };
16573
16783
  });
16574
16784
  function AtAt(state) {
@@ -16593,7 +16803,7 @@ ${input.slice(result.pos)}
16593
16803
  return result;
16594
16804
  }
16595
16805
  }
16596
- var Async$0 = $TS($S($EXPECT($L119, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16806
+ var Async$0 = $TS($S($EXPECT($L120, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16597
16807
  return { $loc, token: $1, type: "Async" };
16598
16808
  });
16599
16809
  function Async(state) {
@@ -16618,7 +16828,7 @@ ${input.slice(result.pos)}
16618
16828
  return result;
16619
16829
  }
16620
16830
  }
16621
- var Await$0 = $TS($S($EXPECT($L120, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16831
+ var Await$0 = $TS($S($EXPECT($L121, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16622
16832
  return { $loc, token: $1, type: "Await" };
16623
16833
  });
16624
16834
  function Await(state) {
@@ -16643,7 +16853,7 @@ ${input.slice(result.pos)}
16643
16853
  return result;
16644
16854
  }
16645
16855
  }
16646
- var Backtick$0 = $TV($EXPECT($L114, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
16856
+ var Backtick$0 = $TV($EXPECT($L115, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
16647
16857
  return { $loc, token: $1 };
16648
16858
  });
16649
16859
  function Backtick(state) {
@@ -16668,7 +16878,7 @@ ${input.slice(result.pos)}
16668
16878
  return result;
16669
16879
  }
16670
16880
  }
16671
- var By$0 = $TS($S($EXPECT($L121, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16881
+ var By$0 = $TS($S($EXPECT($L122, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16672
16882
  return { $loc, token: $1 };
16673
16883
  });
16674
16884
  function By(state) {
@@ -16693,7 +16903,7 @@ ${input.slice(result.pos)}
16693
16903
  return result;
16694
16904
  }
16695
16905
  }
16696
- var Case$0 = $TS($S($EXPECT($L122, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16906
+ var Case$0 = $TS($S($EXPECT($L123, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16697
16907
  return { $loc, token: $1 };
16698
16908
  });
16699
16909
  function Case(state) {
@@ -16718,7 +16928,7 @@ ${input.slice(result.pos)}
16718
16928
  return result;
16719
16929
  }
16720
16930
  }
16721
- var Catch$0 = $TS($S($EXPECT($L123, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16931
+ var Catch$0 = $TS($S($EXPECT($L124, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16722
16932
  return { $loc, token: $1 };
16723
16933
  });
16724
16934
  function Catch(state) {
@@ -16743,7 +16953,7 @@ ${input.slice(result.pos)}
16743
16953
  return result;
16744
16954
  }
16745
16955
  }
16746
- var Class$0 = $TS($S($EXPECT($L124, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16956
+ var Class$0 = $TS($S($EXPECT($L125, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16747
16957
  return { $loc, token: $1 };
16748
16958
  });
16749
16959
  function Class(state) {
@@ -16768,7 +16978,7 @@ ${input.slice(result.pos)}
16768
16978
  return result;
16769
16979
  }
16770
16980
  }
16771
- var CloseBrace$0 = $TV($EXPECT($L25, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
16981
+ var CloseBrace$0 = $TV($EXPECT($L26, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
16772
16982
  return { $loc, token: $1 };
16773
16983
  });
16774
16984
  function CloseBrace(state) {
@@ -16793,7 +17003,7 @@ ${input.slice(result.pos)}
16793
17003
  return result;
16794
17004
  }
16795
17005
  }
16796
- var CloseBracket$0 = $TV($EXPECT($L34, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
17006
+ var CloseBracket$0 = $TV($EXPECT($L35, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
16797
17007
  return { $loc, token: $1 };
16798
17008
  });
16799
17009
  function CloseBracket(state) {
@@ -16818,7 +17028,7 @@ ${input.slice(result.pos)}
16818
17028
  return result;
16819
17029
  }
16820
17030
  }
16821
- var CloseParen$0 = $TV($EXPECT($L125, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
17031
+ var CloseParen$0 = $TV($EXPECT($L126, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
16822
17032
  return { $loc, token: $1 };
16823
17033
  });
16824
17034
  function CloseParen(state) {
@@ -16843,7 +17053,7 @@ ${input.slice(result.pos)}
16843
17053
  return result;
16844
17054
  }
16845
17055
  }
16846
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L126, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
17056
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L127, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
16847
17057
  return { $loc, token: "${" };
16848
17058
  });
16849
17059
  function CoffeeSubstitutionStart(state) {
@@ -16868,7 +17078,7 @@ ${input.slice(result.pos)}
16868
17078
  return result;
16869
17079
  }
16870
17080
  }
16871
- var Colon$0 = $TS($S($EXPECT($L11, fail, 'Colon ":"'), $N($EXPECT($L2, fail, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
17081
+ var Colon$0 = $TS($S($EXPECT($L12, fail, 'Colon ":"'), $N($EXPECT($L3, fail, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
16872
17082
  return { $loc, token: $1 };
16873
17083
  });
16874
17084
  function Colon(state) {
@@ -16893,7 +17103,7 @@ ${input.slice(result.pos)}
16893
17103
  return result;
16894
17104
  }
16895
17105
  }
16896
- var Comma$0 = $TV($EXPECT($L22, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
17106
+ var Comma$0 = $TV($EXPECT($L23, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
16897
17107
  return { $loc, token: $1 };
16898
17108
  });
16899
17109
  function Comma(state) {
@@ -16918,7 +17128,7 @@ ${input.slice(result.pos)}
16918
17128
  return result;
16919
17129
  }
16920
17130
  }
16921
- var ConstructorShorthand$0 = $TV($EXPECT($L117, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
17131
+ var ConstructorShorthand$0 = $TV($EXPECT($L118, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
16922
17132
  return { $loc, token: "constructor" };
16923
17133
  });
16924
17134
  function ConstructorShorthand(state) {
@@ -16943,7 +17153,7 @@ ${input.slice(result.pos)}
16943
17153
  return result;
16944
17154
  }
16945
17155
  }
16946
- var Declare$0 = $TS($S($EXPECT($L127, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17156
+ var Declare$0 = $TS($S($EXPECT($L128, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16947
17157
  return { $loc, token: $1 };
16948
17158
  });
16949
17159
  function Declare(state) {
@@ -16968,7 +17178,7 @@ ${input.slice(result.pos)}
16968
17178
  return result;
16969
17179
  }
16970
17180
  }
16971
- var Default$0 = $TS($S($EXPECT($L128, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17181
+ var Default$0 = $TS($S($EXPECT($L129, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16972
17182
  return { $loc, token: $1 };
16973
17183
  });
16974
17184
  function Default(state) {
@@ -16993,7 +17203,7 @@ ${input.slice(result.pos)}
16993
17203
  return result;
16994
17204
  }
16995
17205
  }
16996
- var Delete$0 = $TS($S($EXPECT($L129, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17206
+ var Delete$0 = $TS($S($EXPECT($L130, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16997
17207
  return { $loc, token: $1 };
16998
17208
  });
16999
17209
  function Delete(state) {
@@ -17018,7 +17228,7 @@ ${input.slice(result.pos)}
17018
17228
  return result;
17019
17229
  }
17020
17230
  }
17021
- var Do$0 = $TS($S($EXPECT($L130, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17231
+ var Do$0 = $TS($S($EXPECT($L131, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17022
17232
  return { $loc, token: $1 };
17023
17233
  });
17024
17234
  function Do(state) {
@@ -17043,7 +17253,7 @@ ${input.slice(result.pos)}
17043
17253
  return result;
17044
17254
  }
17045
17255
  }
17046
- var Dot$0 = $TV($EXPECT($L5, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
17256
+ var Dot$0 = $TV($EXPECT($L6, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
17047
17257
  return { $loc, token: $1 };
17048
17258
  });
17049
17259
  function Dot(state) {
@@ -17068,10 +17278,10 @@ ${input.slice(result.pos)}
17068
17278
  return result;
17069
17279
  }
17070
17280
  }
17071
- var DotDot$0 = $TS($S($EXPECT($L131, fail, 'DotDot ".."'), $N($EXPECT($L5, fail, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
17281
+ var DotDot$0 = $TS($S($EXPECT($L132, fail, 'DotDot ".."'), $N($EXPECT($L6, fail, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
17072
17282
  return { $loc, token: $1 };
17073
17283
  });
17074
- var DotDot$1 = $TV($EXPECT($L132, fail, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
17284
+ var DotDot$1 = $TV($EXPECT($L133, fail, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
17075
17285
  return { $loc, token: ".." };
17076
17286
  });
17077
17287
  function DotDot(state) {
@@ -17096,10 +17306,10 @@ ${input.slice(result.pos)}
17096
17306
  return result;
17097
17307
  }
17098
17308
  }
17099
- var DotDotDot$0 = $TV($EXPECT($L133, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
17309
+ var DotDotDot$0 = $TV($EXPECT($L134, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
17100
17310
  return { $loc, token: $1 };
17101
17311
  });
17102
- var DotDotDot$1 = $TV($EXPECT($L134, fail, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
17312
+ var DotDotDot$1 = $TV($EXPECT($L135, fail, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
17103
17313
  return { $loc, token: "..." };
17104
17314
  });
17105
17315
  function DotDotDot(state) {
@@ -17124,7 +17334,7 @@ ${input.slice(result.pos)}
17124
17334
  return result;
17125
17335
  }
17126
17336
  }
17127
- var DoubleColon$0 = $TV($EXPECT($L135, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
17337
+ var DoubleColon$0 = $TV($EXPECT($L136, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
17128
17338
  return { $loc, token: $1 };
17129
17339
  });
17130
17340
  function DoubleColon(state) {
@@ -17149,7 +17359,7 @@ ${input.slice(result.pos)}
17149
17359
  return result;
17150
17360
  }
17151
17361
  }
17152
- var DoubleQuote$0 = $TV($EXPECT($L136, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
17362
+ var DoubleQuote$0 = $TV($EXPECT($L137, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
17153
17363
  return { $loc, token: $1 };
17154
17364
  });
17155
17365
  function DoubleQuote(state) {
@@ -17174,7 +17384,7 @@ ${input.slice(result.pos)}
17174
17384
  return result;
17175
17385
  }
17176
17386
  }
17177
- var Else$0 = $TS($S($EXPECT($L137, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17387
+ var Else$0 = $TS($S($EXPECT($L138, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17178
17388
  return { $loc, token: $1 };
17179
17389
  });
17180
17390
  function Else(state) {
@@ -17199,7 +17409,7 @@ ${input.slice(result.pos)}
17199
17409
  return result;
17200
17410
  }
17201
17411
  }
17202
- var Equals$0 = $TV($EXPECT($L2, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
17412
+ var Equals$0 = $TV($EXPECT($L3, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
17203
17413
  return { $loc, token: $1 };
17204
17414
  });
17205
17415
  function Equals(state) {
@@ -17224,7 +17434,7 @@ ${input.slice(result.pos)}
17224
17434
  return result;
17225
17435
  }
17226
17436
  }
17227
- var Export$0 = $TS($S($EXPECT($L138, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17437
+ var Export$0 = $TS($S($EXPECT($L139, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17228
17438
  return { $loc, token: $1 };
17229
17439
  });
17230
17440
  function Export(state) {
@@ -17249,7 +17459,7 @@ ${input.slice(result.pos)}
17249
17459
  return result;
17250
17460
  }
17251
17461
  }
17252
- var Extends$0 = $TS($S($EXPECT($L139, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17462
+ var Extends$0 = $TS($S($EXPECT($L140, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17253
17463
  return { $loc, token: $1 };
17254
17464
  });
17255
17465
  function Extends(state) {
@@ -17274,7 +17484,7 @@ ${input.slice(result.pos)}
17274
17484
  return result;
17275
17485
  }
17276
17486
  }
17277
- var Finally$0 = $TS($S($EXPECT($L140, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17487
+ var Finally$0 = $TS($S($EXPECT($L141, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17278
17488
  return { $loc, token: $1 };
17279
17489
  });
17280
17490
  function Finally(state) {
@@ -17299,7 +17509,7 @@ ${input.slice(result.pos)}
17299
17509
  return result;
17300
17510
  }
17301
17511
  }
17302
- var For$0 = $TS($S($EXPECT($L141, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17512
+ var For$0 = $TS($S($EXPECT($L142, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17303
17513
  return { $loc, token: $1 };
17304
17514
  });
17305
17515
  function For(state) {
@@ -17324,7 +17534,7 @@ ${input.slice(result.pos)}
17324
17534
  return result;
17325
17535
  }
17326
17536
  }
17327
- var From$0 = $TS($S($EXPECT($L142, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17537
+ var From$0 = $TS($S($EXPECT($L143, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17328
17538
  return { $loc, token: $1 };
17329
17539
  });
17330
17540
  function From(state) {
@@ -17349,7 +17559,7 @@ ${input.slice(result.pos)}
17349
17559
  return result;
17350
17560
  }
17351
17561
  }
17352
- var Function$0 = $TS($S($EXPECT($L143, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17562
+ var Function$0 = $TS($S($EXPECT($L144, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17353
17563
  return { $loc, token: $1 };
17354
17564
  });
17355
17565
  function Function(state) {
@@ -17374,7 +17584,7 @@ ${input.slice(result.pos)}
17374
17584
  return result;
17375
17585
  }
17376
17586
  }
17377
- var GetOrSet$0 = $TS($S($C($EXPECT($L144, fail, 'GetOrSet "get"'), $EXPECT($L145, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17587
+ var GetOrSet$0 = $TS($S($C($EXPECT($L145, fail, 'GetOrSet "get"'), $EXPECT($L146, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17378
17588
  return { $loc, token: $1, type: "GetOrSet" };
17379
17589
  });
17380
17590
  function GetOrSet(state) {
@@ -17399,7 +17609,7 @@ ${input.slice(result.pos)}
17399
17609
  return result;
17400
17610
  }
17401
17611
  }
17402
- var If$0 = $TV($TEXT($S($EXPECT($L146, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L10, fail, 'If " "')))), function($skip, $loc, $0, $1) {
17612
+ var If$0 = $TV($TEXT($S($EXPECT($L147, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L11, fail, 'If " "')))), function($skip, $loc, $0, $1) {
17403
17613
  return { $loc, token: $1 };
17404
17614
  });
17405
17615
  function If(state) {
@@ -17424,7 +17634,7 @@ ${input.slice(result.pos)}
17424
17634
  return result;
17425
17635
  }
17426
17636
  }
17427
- var Import$0 = $TS($S($EXPECT($L16, fail, 'Import "import"'), $Y($EXPECT($R49, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
17637
+ var Import$0 = $TS($S($EXPECT($L17, fail, 'Import "import"'), $Y($EXPECT($R49, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
17428
17638
  return { $loc, token: $1 };
17429
17639
  });
17430
17640
  function Import(state) {
@@ -17449,7 +17659,7 @@ ${input.slice(result.pos)}
17449
17659
  return result;
17450
17660
  }
17451
17661
  }
17452
- var In$0 = $TS($S($EXPECT($L147, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17662
+ var In$0 = $TS($S($EXPECT($L148, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17453
17663
  return { $loc, token: $1 };
17454
17664
  });
17455
17665
  function In(state) {
@@ -17474,7 +17684,7 @@ ${input.slice(result.pos)}
17474
17684
  return result;
17475
17685
  }
17476
17686
  }
17477
- var LetOrConst$0 = $TS($S($C($EXPECT($L148, fail, 'LetOrConst "let"'), $EXPECT($L149, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17687
+ var LetOrConst$0 = $TS($S($C($EXPECT($L149, fail, 'LetOrConst "let"'), $EXPECT($L150, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17478
17688
  return { $loc, token: $1 };
17479
17689
  });
17480
17690
  function LetOrConst(state) {
@@ -17499,7 +17709,7 @@ ${input.slice(result.pos)}
17499
17709
  return result;
17500
17710
  }
17501
17711
  }
17502
- var Const$0 = $TS($S($EXPECT($L149, fail, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17712
+ var Const$0 = $TS($S($EXPECT($L150, fail, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17503
17713
  return { $loc, token: $1 };
17504
17714
  });
17505
17715
  function Const(state) {
@@ -17524,7 +17734,7 @@ ${input.slice(result.pos)}
17524
17734
  return result;
17525
17735
  }
17526
17736
  }
17527
- var Is$0 = $TS($S($EXPECT($L150, fail, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17737
+ var Is$0 = $TS($S($EXPECT($L151, fail, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17528
17738
  return { $loc, token: $1 };
17529
17739
  });
17530
17740
  function Is(state) {
@@ -17573,7 +17783,7 @@ ${input.slice(result.pos)}
17573
17783
  return result;
17574
17784
  }
17575
17785
  }
17576
- var Loop$0 = $TS($S($EXPECT($L151, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17786
+ var Loop$0 = $TS($S($EXPECT($L152, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17577
17787
  return { $loc, token: "while(true)" };
17578
17788
  });
17579
17789
  function Loop(state) {
@@ -17598,7 +17808,7 @@ ${input.slice(result.pos)}
17598
17808
  return result;
17599
17809
  }
17600
17810
  }
17601
- var New$0 = $TS($S($EXPECT($L152, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17811
+ var New$0 = $TS($S($EXPECT($L153, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17602
17812
  return { $loc, token: $1 };
17603
17813
  });
17604
17814
  function New(state) {
@@ -17623,7 +17833,7 @@ ${input.slice(result.pos)}
17623
17833
  return result;
17624
17834
  }
17625
17835
  }
17626
- var Not$0 = $TS($S($EXPECT($L153, fail, 'Not "not"'), NonIdContinue, $N($S($E(_), $EXPECT($L11, fail, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
17836
+ var Not$0 = $TS($S($EXPECT($L154, fail, 'Not "not"'), NonIdContinue, $N($S($E(_), $EXPECT($L12, fail, 'Not ":"')))), function($skip, $loc, $0, $1, $2, $3) {
17627
17837
  return { $loc, token: "!" };
17628
17838
  });
17629
17839
  function Not(state) {
@@ -17648,7 +17858,7 @@ ${input.slice(result.pos)}
17648
17858
  return result;
17649
17859
  }
17650
17860
  }
17651
- var Of$0 = $TS($S($EXPECT($L84, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17861
+ var Of$0 = $TS($S($EXPECT($L85, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17652
17862
  return { $loc, token: $1 };
17653
17863
  });
17654
17864
  function Of(state) {
@@ -17673,7 +17883,7 @@ ${input.slice(result.pos)}
17673
17883
  return result;
17674
17884
  }
17675
17885
  }
17676
- var OpenAngleBracket$0 = $TV($EXPECT($L154, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
17886
+ var OpenAngleBracket$0 = $TV($EXPECT($L155, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
17677
17887
  return { $loc, token: $1 };
17678
17888
  });
17679
17889
  function OpenAngleBracket(state) {
@@ -17698,7 +17908,7 @@ ${input.slice(result.pos)}
17698
17908
  return result;
17699
17909
  }
17700
17910
  }
17701
- var OpenBrace$0 = $TV($EXPECT($L155, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
17911
+ var OpenBrace$0 = $TV($EXPECT($L1, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
17702
17912
  return { $loc, token: $1 };
17703
17913
  });
17704
17914
  function OpenBrace(state) {
@@ -17723,7 +17933,7 @@ ${input.slice(result.pos)}
17723
17933
  return result;
17724
17934
  }
17725
17935
  }
17726
- var OpenBracket$0 = $TV($EXPECT($L113, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
17936
+ var OpenBracket$0 = $TV($EXPECT($L114, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
17727
17937
  return { $loc, token: $1 };
17728
17938
  });
17729
17939
  function OpenBracket(state) {
@@ -17748,7 +17958,7 @@ ${input.slice(result.pos)}
17748
17958
  return result;
17749
17959
  }
17750
17960
  }
17751
- var OpenParen$0 = $TV($EXPECT($L3, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
17961
+ var OpenParen$0 = $TV($EXPECT($L4, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
17752
17962
  return { $loc, token: $1 };
17753
17963
  });
17754
17964
  function OpenParen(state) {
@@ -17904,7 +18114,7 @@ ${input.slice(result.pos)}
17904
18114
  return result;
17905
18115
  }
17906
18116
  }
17907
- var QuestionMark$0 = $TV($EXPECT($L4, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
18117
+ var QuestionMark$0 = $TV($EXPECT($L5, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
17908
18118
  return { $loc, token: $1 };
17909
18119
  });
17910
18120
  function QuestionMark(state) {
@@ -18004,7 +18214,7 @@ ${input.slice(result.pos)}
18004
18214
  return result;
18005
18215
  }
18006
18216
  }
18007
- var Semicolon$0 = $TV($EXPECT($L100, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
18217
+ var Semicolon$0 = $TV($EXPECT($L101, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
18008
18218
  return { $loc, token: $1 };
18009
18219
  });
18010
18220
  function Semicolon(state) {
@@ -18054,7 +18264,7 @@ ${input.slice(result.pos)}
18054
18264
  return result;
18055
18265
  }
18056
18266
  }
18057
- var Star$0 = $TV($EXPECT($L54, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
18267
+ var Star$0 = $TV($EXPECT($L55, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
18058
18268
  return { $loc, token: $1 };
18059
18269
  });
18060
18270
  function Star(state) {
@@ -18082,7 +18292,7 @@ ${input.slice(result.pos)}
18082
18292
  var Static$0 = $TS($S($EXPECT($L170, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18083
18293
  return { $loc, token: $1 };
18084
18294
  });
18085
- var Static$1 = $TS($S($EXPECT($L117, fail, 'Static "@"'), $N($C($EXPECT($L3, fail, 'Static "("'), $EXPECT($L117, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
18295
+ var Static$1 = $TS($S($EXPECT($L118, fail, 'Static "@"'), $N($C($EXPECT($L4, fail, 'Static "("'), $EXPECT($L118, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
18086
18296
  return { $loc, token: "static " };
18087
18297
  });
18088
18298
  function Static(state) {
@@ -18702,7 +18912,7 @@ ${input.slice(result.pos)}
18702
18912
  return result;
18703
18913
  }
18704
18914
  }
18705
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L154, fail, 'JSXSelfClosingElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L190, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
18915
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L155, fail, 'JSXSelfClosingElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L190, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
18706
18916
  return { type: "JSXElement", children: $0, tag: $2 };
18707
18917
  });
18708
18918
  function JSXSelfClosingElement(state) {
@@ -18778,7 +18988,7 @@ ${input.slice(result.pos)}
18778
18988
  return result;
18779
18989
  }
18780
18990
  }
18781
- var JSXOpeningElement$0 = $S($EXPECT($L154, fail, 'JSXOpeningElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L33, fail, 'JSXOpeningElement ">"'));
18991
+ var JSXOpeningElement$0 = $S($EXPECT($L155, fail, 'JSXOpeningElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L34, fail, 'JSXOpeningElement ">"'));
18782
18992
  function JSXOpeningElement(state) {
18783
18993
  let eventData;
18784
18994
  if (state.events) {
@@ -18830,7 +19040,7 @@ ${input.slice(result.pos)}
18830
19040
  return result;
18831
19041
  }
18832
19042
  }
18833
- var JSXClosingElement$0 = $S($EXPECT($L191, fail, 'JSXClosingElement "</"'), $E(Whitespace), JSXElementName, $E(Whitespace), $EXPECT($L33, fail, 'JSXClosingElement ">"'));
19043
+ var JSXClosingElement$0 = $S($EXPECT($L191, fail, 'JSXClosingElement "</"'), $E(Whitespace), JSXElementName, $E(Whitespace), $EXPECT($L34, fail, 'JSXClosingElement ">"'));
18834
19044
  function JSXClosingElement(state) {
18835
19045
  let eventData;
18836
19046
  if (state.events) {
@@ -18976,7 +19186,7 @@ ${input.slice(result.pos)}
18976
19186
  return result;
18977
19187
  }
18978
19188
  }
18979
- var JSXElementName$0 = $TV($Y($S($C($EXPECT($L14, fail, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
19189
+ var JSXElementName$0 = $TV($Y($S($C($EXPECT($L15, fail, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
18980
19190
  return module.config.defaultElement;
18981
19191
  });
18982
19192
  var JSXElementName$1 = $TEXT($S(JSXIdentifierName, $C($S(Colon, JSXIdentifierName), $Q($S(Dot, JSXIdentifierName)))));
@@ -19203,7 +19413,7 @@ ${input.slice(result.pos)}
19203
19413
  }
19204
19414
  return $skip;
19205
19415
  });
19206
- var JSXAttribute$5 = $TS($S($EXPECT($L14, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
19416
+ var JSXAttribute$5 = $TS($S($EXPECT($L15, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
19207
19417
  return [" ", "id=", $2];
19208
19418
  });
19209
19419
  var JSXAttribute$6 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -19533,7 +19743,7 @@ ${input.slice(result.pos)}
19533
19743
  return result;
19534
19744
  }
19535
19745
  }
19536
- var InlineJSXCallExpression$0 = $TS($S($EXPECT($L15, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19746
+ var InlineJSXCallExpression$0 = $TS($S($EXPECT($L16, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19537
19747
  var args = $2;
19538
19748
  var rest = $3;
19539
19749
  return processCallMemberExpression({
@@ -19545,7 +19755,7 @@ ${input.slice(result.pos)}
19545
19755
  ]
19546
19756
  });
19547
19757
  });
19548
- var InlineJSXCallExpression$1 = $TS($S($EXPECT($L16, fail, 'InlineJSXCallExpression "import"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19758
+ var InlineJSXCallExpression$1 = $TS($S($EXPECT($L17, fail, 'InlineJSXCallExpression "import"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19549
19759
  var args = $2;
19550
19760
  var rest = $3;
19551
19761
  return processCallMemberExpression({
@@ -19793,7 +20003,7 @@ ${input.slice(result.pos)}
19793
20003
  }
19794
20004
  return $skip;
19795
20005
  });
19796
- var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L25, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
20006
+ var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L26, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
19797
20007
  return { children: [], jsxChildren: [] };
19798
20008
  });
19799
20009
  function JSXNestedChildren(state) {
@@ -21018,27 +21228,54 @@ ${input.slice(result.pos)}
21018
21228
  return result;
21019
21229
  }
21020
21230
  }
21021
- var ReturnTypeSuffix$0 = $TS($S($E(_), Colon, $E($S(__, $EXPECT($L202, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
21022
- var asserts = $3;
21023
- var t = $4;
21231
+ var ReturnTypeSuffix$0 = $TS($S($E(_), Colon, ReturnType), function($skip, $loc, $0, $1, $2, $3) {
21232
+ var t = $3;
21233
+ return { ...t, children: [$1, $2, ...t.children] };
21234
+ });
21235
+ function ReturnTypeSuffix(state) {
21236
+ let eventData;
21237
+ if (state.events) {
21238
+ const result = state.events.enter?.("ReturnTypeSuffix", state);
21239
+ if (result) {
21240
+ if (result.cache)
21241
+ return result.cache;
21242
+ eventData = result.data;
21243
+ }
21244
+ }
21245
+ if (state.tokenize) {
21246
+ const result = $TOKEN("ReturnTypeSuffix", state, ReturnTypeSuffix$0(state));
21247
+ if (state.events)
21248
+ state.events.exit?.("ReturnTypeSuffix", state, result, eventData);
21249
+ return result;
21250
+ } else {
21251
+ const result = ReturnTypeSuffix$0(state);
21252
+ if (state.events)
21253
+ state.events.exit?.("ReturnTypeSuffix", state, result, eventData);
21254
+ return result;
21255
+ }
21256
+ }
21257
+ var ReturnType$0 = $TS($S($E($S(__, $EXPECT($L202, fail, 'ReturnType "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2) {
21258
+ var asserts = $1;
21259
+ var t = $2;
21024
21260
  if (asserts) {
21025
21261
  t = {
21026
21262
  type: "AssertsType",
21027
21263
  t,
21028
- children: [asserts[0], asserts[1], t]
21264
+ children: [asserts[0], asserts[1], t],
21265
+ ts: true
21029
21266
  };
21030
21267
  }
21031
21268
  return {
21032
21269
  type: "ReturnTypeAnnotation",
21033
- children: [$1, $2, t],
21270
+ children: [t],
21034
21271
  t,
21035
21272
  ts: true
21036
21273
  };
21037
21274
  });
21038
- function ReturnTypeSuffix(state) {
21275
+ function ReturnType(state) {
21039
21276
  let eventData;
21040
21277
  if (state.events) {
21041
- const result = state.events.enter?.("ReturnTypeSuffix", state);
21278
+ const result = state.events.enter?.("ReturnType", state);
21042
21279
  if (result) {
21043
21280
  if (result.cache)
21044
21281
  return result.cache;
@@ -21046,18 +21283,18 @@ ${input.slice(result.pos)}
21046
21283
  }
21047
21284
  }
21048
21285
  if (state.tokenize) {
21049
- const result = $TOKEN("ReturnTypeSuffix", state, ReturnTypeSuffix$0(state));
21286
+ const result = $TOKEN("ReturnType", state, ReturnType$0(state));
21050
21287
  if (state.events)
21051
- state.events.exit?.("ReturnTypeSuffix", state, result, eventData);
21288
+ state.events.exit?.("ReturnType", state, result, eventData);
21052
21289
  return result;
21053
21290
  } else {
21054
- const result = ReturnTypeSuffix$0(state);
21291
+ const result = ReturnType$0(state);
21055
21292
  if (state.events)
21056
- state.events.exit?.("ReturnTypeSuffix", state, result, eventData);
21293
+ state.events.exit?.("ReturnType", state, result, eventData);
21057
21294
  return result;
21058
21295
  }
21059
21296
  }
21060
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L150, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
21297
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L151, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
21061
21298
  var lhs = $1;
21062
21299
  var rhs = $2;
21063
21300
  if (!rhs)
@@ -21293,8 +21530,8 @@ ${input.slice(result.pos)}
21293
21530
  return result;
21294
21531
  }
21295
21532
  }
21296
- var ImportType$0 = $S($EXPECT($L16, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
21297
- var ImportType$1 = $S($EXPECT($L16, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
21533
+ var ImportType$0 = $S($EXPECT($L17, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
21534
+ var ImportType$1 = $S($EXPECT($L17, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
21298
21535
  function ImportType(state) {
21299
21536
  let eventData;
21300
21537
  if (state.events) {
@@ -21448,7 +21685,7 @@ ${input.slice(result.pos)}
21448
21685
  return result;
21449
21686
  }
21450
21687
  }
21451
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L139, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
21688
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L140, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
21452
21689
  if ($2)
21453
21690
  return $0;
21454
21691
  return $1;
@@ -21658,7 +21895,7 @@ ${input.slice(result.pos)}
21658
21895
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
21659
21896
  return value[1];
21660
21897
  });
21661
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L11, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L125, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L34, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L25, fail, 'InlineInterfacePropertyDelimiter "}"'))));
21898
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L12, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L126, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L35, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L26, fail, 'InlineInterfacePropertyDelimiter "}"'))));
21662
21899
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
21663
21900
  function InlineInterfacePropertyDelimiter(state) {
21664
21901
  let eventData;
@@ -21682,10 +21919,10 @@ ${input.slice(result.pos)}
21682
21919
  return result;
21683
21920
  }
21684
21921
  }
21685
- var TypeBinaryOp$0 = $TV($EXPECT($L99, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
21922
+ var TypeBinaryOp$0 = $TV($EXPECT($L100, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
21686
21923
  return { $loc, token: "|" };
21687
21924
  });
21688
- var TypeBinaryOp$1 = $TV($EXPECT($L98, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
21925
+ var TypeBinaryOp$1 = $TV($EXPECT($L99, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
21689
21926
  return { $loc, token: "&" };
21690
21927
  });
21691
21928
  function TypeBinaryOp(state) {
@@ -21710,7 +21947,7 @@ ${input.slice(result.pos)}
21710
21947
  return result;
21711
21948
  }
21712
21949
  }
21713
- var FunctionType$0 = $TS($S($E($S(New, $E(_))), Parameters, __, TypeArrowFunction, $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
21950
+ var FunctionType$0 = $TS($S($E($S($E($S(Abstract, $E(_))), New, $E(_))), Parameters, __, TypeArrowFunction, $E(ReturnType)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
21714
21951
  var type = $5;
21715
21952
  if (type) {
21716
21953
  return $0;
@@ -21739,7 +21976,7 @@ ${input.slice(result.pos)}
21739
21976
  return result;
21740
21977
  }
21741
21978
  }
21742
- var TypeArrowFunction$0 = $TV($C($EXPECT($L8, fail, 'TypeArrowFunction "=>"'), $EXPECT($L9, fail, 'TypeArrowFunction "\u21D2"'), $EXPECT($L23, fail, 'TypeArrowFunction "->"'), $EXPECT($L24, fail, 'TypeArrowFunction "\u2192"')), function($skip, $loc, $0, $1) {
21979
+ var TypeArrowFunction$0 = $TV($C($EXPECT($L9, fail, 'TypeArrowFunction "=>"'), $EXPECT($L10, fail, 'TypeArrowFunction "\u21D2"'), $EXPECT($L24, fail, 'TypeArrowFunction "->"'), $EXPECT($L25, fail, 'TypeArrowFunction "\u2192"')), function($skip, $loc, $0, $1) {
21743
21980
  return { $loc, token: "=>" };
21744
21981
  });
21745
21982
  function TypeArrowFunction(state) {
@@ -21764,7 +22001,7 @@ ${input.slice(result.pos)}
21764
22001
  return result;
21765
22002
  }
21766
22003
  }
21767
- var TypeArguments$0 = $TS($S($EXPECT($L154, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L33, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
22004
+ var TypeArguments$0 = $TS($S($EXPECT($L155, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L34, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
21768
22005
  return { ts: true, children: $0 };
21769
22006
  });
21770
22007
  function TypeArguments(state) {
@@ -21835,7 +22072,7 @@ ${input.slice(result.pos)}
21835
22072
  return result;
21836
22073
  }
21837
22074
  }
21838
- var TypeParameters$0 = $TS($S($E(_), $EXPECT($L154, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L33, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
22075
+ var TypeParameters$0 = $TS($S($E(_), $EXPECT($L155, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L34, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
21839
22076
  var parameters = $3;
21840
22077
  return {
21841
22078
  type: "TypeParameters",
@@ -21866,7 +22103,7 @@ ${input.slice(result.pos)}
21866
22103
  return result;
21867
22104
  }
21868
22105
  }
21869
- var TypeParameter$0 = $S(__, $E($S($EXPECT($L149, fail, 'TypeParameter "const"'), $E(_))), Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
22106
+ var TypeParameter$0 = $S(__, $E($S($EXPECT($L150, fail, 'TypeParameter "const"'), $E(_))), Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
21870
22107
  function TypeParameter(state) {
21871
22108
  let eventData;
21872
22109
  if (state.events) {
@@ -21889,7 +22126,7 @@ ${input.slice(result.pos)}
21889
22126
  return result;
21890
22127
  }
21891
22128
  }
21892
- var TypeConstraint$0 = $S(__, $EXPECT($L139, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
22129
+ var TypeConstraint$0 = $S(__, $EXPECT($L140, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
21893
22130
  function TypeConstraint(state) {
21894
22131
  let eventData;
21895
22132
  if (state.events) {
@@ -21912,7 +22149,7 @@ ${input.slice(result.pos)}
21912
22149
  return result;
21913
22150
  }
21914
22151
  }
21915
- var TypeInitializer$0 = $S(__, $EXPECT($L2, fail, 'TypeInitializer "="'), Type);
22152
+ var TypeInitializer$0 = $S(__, $EXPECT($L3, fail, 'TypeInitializer "="'), Type);
21916
22153
  function TypeInitializer(state) {
21917
22154
  let eventData;
21918
22155
  if (state.events) {
@@ -21936,7 +22173,7 @@ ${input.slice(result.pos)}
21936
22173
  }
21937
22174
  }
21938
22175
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
21939
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L33, fail, 'TypeParameterDelimiter ">"')));
22176
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L34, fail, 'TypeParameterDelimiter ">"')));
21940
22177
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
21941
22178
  return value[1];
21942
22179
  });
@@ -23061,6 +23298,7 @@ ${input.slice(result.pos)}
23061
23298
  }];
23062
23299
  module.forbidClassImplicitCall = [false];
23063
23300
  module.forbidIndentedApplication = [false];
23301
+ module.forbidBracedApplication = [false];
23064
23302
  module.forbidTrailingMemberProperty = [false];
23065
23303
  module.forbidMultiLineImplicitObjectLiteral = [false];
23066
23304
  module.forbidNewlineBinaryOp = [false];
@@ -23087,6 +23325,12 @@ ${input.slice(result.pos)}
23087
23325
  return s[s.length - 1];
23088
23326
  }
23089
23327
  },
23328
+ bracedApplicationForbidden: {
23329
+ get() {
23330
+ const { forbidBracedApplication: s } = module;
23331
+ return s[s.length - 1];
23332
+ }
23333
+ },
23090
23334
  trailingMemberPropertyForbidden: {
23091
23335
  get() {
23092
23336
  const { forbidTrailingMemberProperty: s } = module;
@@ -24072,7 +24316,7 @@ var parse;
24072
24316
  var uncacheable;
24073
24317
  ({ parse } = import_parser.default);
24074
24318
  ({ SourceMap: SourceMap2 } = util_exports);
24075
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowClassImplicitCall", "AllowIndentedApplication", "AllowMultiLineImplicitObjectLiteral", "AllowNewlineBinaryOp", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "ClassImplicitCallForbidden", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "ConditionFragment", "Declaration", "Debugger", "Dedented", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidClassImplicitCall", "ForbidIndentedApplication", "ForbidMultiLineImplicitObjectLiteral", "ForbidNewlineBinaryOp", "ForbidTrailingMemberProperty", "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", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedNonAssignmentExtendedExpression", "NestedObject", "NestedPropertyDefinitions", "NewlineBinaryOpAllowed", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PatternExpressionList", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreClassImplicitCall", "RestoreMultiLineImplicitObjectLiteral", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RestoreNewlineBinaryOp", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineBinaryOpRHS", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
24319
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowClassImplicitCall", "AllowBracedApplication", "AllowIndentedApplication", "AllowMultiLineImplicitObjectLiteral", "AllowNewlineBinaryOp", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedApplicationAllowed", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "ClassImplicitCallForbidden", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "ConditionFragment", "Declaration", "Debugger", "Dedented", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExpressionWithObjectApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidClassImplicitCall", "ForbidBracedApplication", "ForbidIndentedApplication", "ForbidMultiLineImplicitObjectLiteral", "ForbidNewlineBinaryOp", "ForbidTrailingMemberProperty", "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", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedNonAssignmentExtendedExpression", "NestedObject", "NestedPropertyDefinitions", "NewlineBinaryOpAllowed", "NonPipelineAssignmentExpression", "NonPipelineExtendedExpression", "NonPipelinePostfixedExpression", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PatternExpressionList", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreClassImplicitCall", "RestoreMultiLineImplicitObjectLiteral", "RestoreBracedApplication", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RestoreNewlineBinaryOp", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineBinaryOpRHS", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
24076
24320
  var compile = function(src, options) {
24077
24321
  var ast, code, events, filename, ref, result, sm;
24078
24322
  if (!options) {