@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.js CHANGED
@@ -208,7 +208,7 @@ var require_lib = __commonJS({
208
208
  ref.children = [makeLeftHandSideExpression(arg)];
209
209
  return {
210
210
  type: "UnwrappedExpression",
211
- children: [skipIfOnlyWS(fn.leadingComment), ...body, skipIfOnlyWS(fn.trailingComment)]
211
+ children: [skipIfOnlyWS(fn.leadingComment), body, skipIfOnlyWS(fn.trailingComment)]
212
212
  };
213
213
  }
214
214
  expr = fn.expr;
@@ -630,12 +630,20 @@ var require_lib = __commonJS({
630
630
  children
631
631
  };
632
632
  }
633
+ function isExistence(exp) {
634
+ if (exp.type === "ParenthesizedExpression" && exp.implicit) {
635
+ exp = exp.expression;
636
+ }
637
+ if (exp.type === "Existence") {
638
+ return exp;
639
+ }
640
+ }
633
641
  function expandChainedComparisons([first, binops]) {
634
642
  const relationalOps = ["==", "===", "!=", "!==", "<", "<=", ">", ">=", "in"];
635
643
  const lowerPrecedenceOps = ["??", "&&", "||", "&", "|", "^"];
636
644
  let results = [];
637
645
  let i = 0;
638
- let l = binops.length;
646
+ const l = binops.length;
639
647
  let start = 0;
640
648
  let chains = [];
641
649
  while (i < l) {
@@ -651,12 +659,15 @@ var require_lib = __commonJS({
651
659
  processChains();
652
660
  return results;
653
661
  function processChains() {
662
+ first = expandExistence(first);
654
663
  if (chains.length > 1) {
655
664
  chains.forEach((index, k) => {
656
665
  if (k > 0) {
657
666
  results.push(" ", "&&", " ");
658
667
  }
659
- const [pre, op, post, exp] = binops[index];
668
+ const binop = binops[index];
669
+ let [pre, op, post, exp] = binop;
670
+ exp = binop[3] = expandExistence(exp);
660
671
  let endIndex;
661
672
  if (k < chains.length - 1) {
662
673
  endIndex = chains[k + 1];
@@ -673,6 +684,14 @@ var require_lib = __commonJS({
673
684
  }
674
685
  chains.length = 0;
675
686
  }
687
+ function expandExistence(exp) {
688
+ const existence = isExistence(exp);
689
+ if (existence) {
690
+ results.push(existence, " ", "&&", " ");
691
+ return existence.expression;
692
+ }
693
+ return exp;
694
+ }
676
695
  }
677
696
  function processParams(f) {
678
697
  const { type, parameters, block } = f;
@@ -1125,6 +1144,7 @@ var require_lib = __commonJS({
1125
1144
  function makeLeftHandSideExpression(expression) {
1126
1145
  switch (expression.type) {
1127
1146
  case "Ref":
1147
+ case "AmpersandRef":
1128
1148
  case "Identifier":
1129
1149
  case "Literal":
1130
1150
  case "CallExpression":
@@ -1139,7 +1159,8 @@ var require_lib = __commonJS({
1139
1159
  return {
1140
1160
  type: "ParenthesizedExpression",
1141
1161
  children: ["(", expression, ")"],
1142
- expression
1162
+ expression,
1163
+ implicit: true
1143
1164
  };
1144
1165
  }
1145
1166
  }
@@ -2247,27 +2268,20 @@ var require_lib = __commonJS({
2247
2268
  if (post?.token === "?") {
2248
2269
  post = {
2249
2270
  $loc: post.$loc,
2250
- token: " != null"
2271
+ token: "!="
2251
2272
  };
2252
- switch (exp.type) {
2253
- case "Identifier":
2254
- case "Literal":
2255
- case "AmpersandRef":
2256
- return {
2257
- ...exp,
2258
- children: [...pre, ...exp.children, post]
2259
- };
2260
- default:
2261
- const expression = {
2262
- ...exp,
2263
- children: [...pre, "(", exp.children, ")", post]
2264
- };
2265
- return {
2266
- type: "ParenthesizedExpression",
2267
- children: ["(", expression, ")"],
2268
- expression
2269
- };
2273
+ if (pre.length) {
2274
+ exp = {
2275
+ type: "UnaryExpression",
2276
+ children: [...pre, exp, void 0]
2277
+ };
2270
2278
  }
2279
+ const existence = {
2280
+ type: "Existence",
2281
+ expression: exp,
2282
+ children: [exp, " ", post, " ", "null"]
2283
+ };
2284
+ return makeLeftHandSideExpression(existence);
2271
2285
  }
2272
2286
  if (exp.type === "Literal") {
2273
2287
  if (pre.length === 1 && pre[0].token === "-") {
@@ -3140,6 +3154,7 @@ ${input.slice(result.pos)}
3140
3154
  OperatorAssignmentOp,
3141
3155
  AssignmentOpSymbol,
3142
3156
  CoffeeWordAssignmentOp,
3157
+ NotDedentedBinaryOp,
3143
3158
  BinaryOp,
3144
3159
  BinaryOpSymbol,
3145
3160
  Xor,
@@ -3210,10 +3225,15 @@ ${input.slice(result.pos)}
3210
3225
  Condition,
3211
3226
  DeclarationCondition,
3212
3227
  ExpressionWithIndentedApplicationForbidden,
3228
+ ExpressionWithObjectApplicationForbidden,
3213
3229
  ForbidClassImplicitCall,
3214
3230
  AllowClassImplicitCall,
3215
3231
  RestoreClassImplicitCall,
3216
3232
  ClassImplicitCallForbidden,
3233
+ ForbidBracedApplication,
3234
+ AllowBracedApplication,
3235
+ RestoreBracedApplication,
3236
+ BracedApplicationAllowed,
3217
3237
  ForbidIndentedApplication,
3218
3238
  AllowIndentedApplication,
3219
3239
  RestoreIndentedApplication,
@@ -3493,6 +3513,7 @@ ${input.slice(result.pos)}
3493
3513
  TypeIndex,
3494
3514
  TypeSuffix,
3495
3515
  ReturnTypeSuffix,
3516
+ ReturnType,
3496
3517
  TypePredicate,
3497
3518
  Type,
3498
3519
  TypeBinary,
@@ -3582,161 +3603,161 @@ ${input.slice(result.pos)}
3582
3603
  Nested
3583
3604
  });
3584
3605
  var $L0 = $L("");
3585
- var $L1 = $L("/ ");
3586
- var $L2 = $L("=");
3587
- var $L3 = $L("(");
3588
- var $L4 = $L("?");
3589
- var $L5 = $L(".");
3590
- var $L6 = $L("++");
3591
- var $L7 = $L("--");
3592
- var $L8 = $L("=>");
3593
- var $L9 = $L("\u21D2");
3594
- var $L10 = $L(" ");
3595
- var $L11 = $L(":");
3596
- var $L12 = $L("implements");
3597
- var $L13 = $L("<:");
3598
- var $L14 = $L("#");
3599
- var $L15 = $L("super");
3600
- var $L16 = $L("import");
3601
- var $L17 = $L("!");
3602
- var $L18 = $L("^");
3603
- var $L19 = $L("-");
3604
- var $L20 = $L("import.meta");
3605
- var $L21 = $L("return.value");
3606
- var $L22 = $L(",");
3607
- var $L23 = $L("->");
3608
- var $L24 = $L("\u2192");
3609
- var $L25 = $L("}");
3610
- var $L26 = $L("null");
3611
- var $L27 = $L("true");
3612
- var $L28 = $L("false");
3613
- var $L29 = $L("yes");
3614
- var $L30 = $L("on");
3615
- var $L31 = $L("no");
3616
- var $L32 = $L("off");
3617
- var $L33 = $L(">");
3618
- var $L34 = $L("]");
3619
- var $L35 = $L("**=");
3620
- var $L36 = $L("*=");
3621
- var $L37 = $L("/=");
3622
- var $L38 = $L("%=");
3623
- var $L39 = $L("+=");
3624
- var $L40 = $L("-=");
3625
- var $L41 = $L("<<=");
3626
- var $L42 = $L(">>>=");
3627
- var $L43 = $L(">>=");
3628
- var $L44 = $L("&&=");
3629
- var $L45 = $L("&=");
3630
- var $L46 = $L("^=");
3631
- var $L47 = $L("||=");
3632
- var $L48 = $L("|=");
3633
- var $L49 = $L("??=");
3634
- var $L50 = $L("?=");
3635
- var $L51 = $L("and=");
3636
- var $L52 = $L("or=");
3637
- var $L53 = $L("**");
3638
- var $L54 = $L("*");
3639
- var $L55 = $L("/");
3640
- var $L56 = $L("%%");
3641
- var $L57 = $L("%");
3642
- var $L58 = $L("+");
3643
- var $L59 = $L("<=");
3644
- var $L60 = $L("\u2264");
3645
- var $L61 = $L(">=");
3646
- var $L62 = $L("\u2265");
3647
- var $L63 = $L("<?");
3648
- var $L64 = $L("!<?");
3649
- var $L65 = $L("<<");
3650
- var $L66 = $L("\xAB");
3651
- var $L67 = $L(">>>");
3652
- var $L68 = $L("\u22D9");
3653
- var $L69 = $L(">>");
3654
- var $L70 = $L("\xBB");
3655
- var $L71 = $L("!==");
3656
- var $L72 = $L("\u2262");
3657
- var $L73 = $L("!=");
3658
- var $L74 = $L("\u2260");
3659
- var $L75 = $L("isnt");
3660
- var $L76 = $L("===");
3661
- var $L77 = $L("\u2263");
3662
- var $L78 = $L("\u2A76");
3663
- var $L79 = $L("==");
3664
- var $L80 = $L("\u2261");
3665
- var $L81 = $L("\u2A75");
3666
- var $L82 = $L("and");
3667
- var $L83 = $L("&&");
3668
- var $L84 = $L("of");
3669
- var $L85 = $L("or");
3670
- var $L86 = $L("||");
3671
- var $L87 = $L("\u2016");
3672
- var $L88 = $L("^^");
3673
- var $L89 = $L("xor");
3674
- var $L90 = $L("xnor");
3675
- var $L91 = $L("??");
3676
- var $L92 = $L("\u2047");
3677
- var $L93 = $L("instanceof");
3678
- var $L94 = $L("\u2208");
3679
- var $L95 = $L("\u220B");
3680
- var $L96 = $L("\u220C");
3681
- var $L97 = $L("\u2209");
3682
- var $L98 = $L("&");
3683
- var $L99 = $L("|");
3684
- var $L100 = $L(";");
3685
- var $L101 = $L("$:");
3686
- var $L102 = $L("own");
3687
- var $L103 = $L("break");
3688
- var $L104 = $L("continue");
3689
- var $L105 = $L("debugger");
3690
- var $L106 = $L("assert");
3691
- var $L107 = $L(":=");
3692
- var $L108 = $L("\u2254");
3693
- var $L109 = $L(".=");
3694
- var $L110 = $L("/*");
3695
- var $L111 = $L("*/");
3696
- var $L112 = $L("\\");
3697
- var $L113 = $L("[");
3698
- var $L114 = $L("`");
3699
- var $L115 = $L("abstract");
3700
- var $L116 = $L("as");
3701
- var $L117 = $L("@");
3702
- var $L118 = $L("@@");
3703
- var $L119 = $L("async");
3704
- var $L120 = $L("await");
3705
- var $L121 = $L("by");
3706
- var $L122 = $L("case");
3707
- var $L123 = $L("catch");
3708
- var $L124 = $L("class");
3709
- var $L125 = $L(")");
3710
- var $L126 = $L("#{");
3711
- var $L127 = $L("declare");
3712
- var $L128 = $L("default");
3713
- var $L129 = $L("delete");
3714
- var $L130 = $L("do");
3715
- var $L131 = $L("..");
3716
- var $L132 = $L("\u2025");
3717
- var $L133 = $L("...");
3718
- var $L134 = $L("\u2026");
3719
- var $L135 = $L("::");
3720
- var $L136 = $L('"');
3721
- var $L137 = $L("else");
3722
- var $L138 = $L("export");
3723
- var $L139 = $L("extends");
3724
- var $L140 = $L("finally");
3725
- var $L141 = $L("for");
3726
- var $L142 = $L("from");
3727
- var $L143 = $L("function");
3728
- var $L144 = $L("get");
3729
- var $L145 = $L("set");
3730
- var $L146 = $L("if");
3731
- var $L147 = $L("in");
3732
- var $L148 = $L("let");
3733
- var $L149 = $L("const");
3734
- var $L150 = $L("is");
3735
- var $L151 = $L("loop");
3736
- var $L152 = $L("new");
3737
- var $L153 = $L("not");
3738
- var $L154 = $L("<");
3739
- var $L155 = $L("{");
3606
+ var $L1 = $L("{");
3607
+ var $L2 = $L("/ ");
3608
+ var $L3 = $L("=");
3609
+ var $L4 = $L("(");
3610
+ var $L5 = $L("?");
3611
+ var $L6 = $L(".");
3612
+ var $L7 = $L("++");
3613
+ var $L8 = $L("--");
3614
+ var $L9 = $L("=>");
3615
+ var $L10 = $L("\u21D2");
3616
+ var $L11 = $L(" ");
3617
+ var $L12 = $L(":");
3618
+ var $L13 = $L("implements");
3619
+ var $L14 = $L("<:");
3620
+ var $L15 = $L("#");
3621
+ var $L16 = $L("super");
3622
+ var $L17 = $L("import");
3623
+ var $L18 = $L("!");
3624
+ var $L19 = $L("^");
3625
+ var $L20 = $L("-");
3626
+ var $L21 = $L("import.meta");
3627
+ var $L22 = $L("return.value");
3628
+ var $L23 = $L(",");
3629
+ var $L24 = $L("->");
3630
+ var $L25 = $L("\u2192");
3631
+ var $L26 = $L("}");
3632
+ var $L27 = $L("null");
3633
+ var $L28 = $L("true");
3634
+ var $L29 = $L("false");
3635
+ var $L30 = $L("yes");
3636
+ var $L31 = $L("on");
3637
+ var $L32 = $L("no");
3638
+ var $L33 = $L("off");
3639
+ var $L34 = $L(">");
3640
+ var $L35 = $L("]");
3641
+ var $L36 = $L("**=");
3642
+ var $L37 = $L("*=");
3643
+ var $L38 = $L("/=");
3644
+ var $L39 = $L("%=");
3645
+ var $L40 = $L("+=");
3646
+ var $L41 = $L("-=");
3647
+ var $L42 = $L("<<=");
3648
+ var $L43 = $L(">>>=");
3649
+ var $L44 = $L(">>=");
3650
+ var $L45 = $L("&&=");
3651
+ var $L46 = $L("&=");
3652
+ var $L47 = $L("^=");
3653
+ var $L48 = $L("||=");
3654
+ var $L49 = $L("|=");
3655
+ var $L50 = $L("??=");
3656
+ var $L51 = $L("?=");
3657
+ var $L52 = $L("and=");
3658
+ var $L53 = $L("or=");
3659
+ var $L54 = $L("**");
3660
+ var $L55 = $L("*");
3661
+ var $L56 = $L("/");
3662
+ var $L57 = $L("%%");
3663
+ var $L58 = $L("%");
3664
+ var $L59 = $L("+");
3665
+ var $L60 = $L("<=");
3666
+ var $L61 = $L("\u2264");
3667
+ var $L62 = $L(">=");
3668
+ var $L63 = $L("\u2265");
3669
+ var $L64 = $L("<?");
3670
+ var $L65 = $L("!<?");
3671
+ var $L66 = $L("<<");
3672
+ var $L67 = $L("\xAB");
3673
+ var $L68 = $L(">>>");
3674
+ var $L69 = $L("\u22D9");
3675
+ var $L70 = $L(">>");
3676
+ var $L71 = $L("\xBB");
3677
+ var $L72 = $L("!==");
3678
+ var $L73 = $L("\u2262");
3679
+ var $L74 = $L("!=");
3680
+ var $L75 = $L("\u2260");
3681
+ var $L76 = $L("isnt");
3682
+ var $L77 = $L("===");
3683
+ var $L78 = $L("\u2263");
3684
+ var $L79 = $L("\u2A76");
3685
+ var $L80 = $L("==");
3686
+ var $L81 = $L("\u2261");
3687
+ var $L82 = $L("\u2A75");
3688
+ var $L83 = $L("and");
3689
+ var $L84 = $L("&&");
3690
+ var $L85 = $L("of");
3691
+ var $L86 = $L("or");
3692
+ var $L87 = $L("||");
3693
+ var $L88 = $L("\u2016");
3694
+ var $L89 = $L("^^");
3695
+ var $L90 = $L("xor");
3696
+ var $L91 = $L("xnor");
3697
+ var $L92 = $L("??");
3698
+ var $L93 = $L("\u2047");
3699
+ var $L94 = $L("instanceof");
3700
+ var $L95 = $L("\u2208");
3701
+ var $L96 = $L("\u220B");
3702
+ var $L97 = $L("\u220C");
3703
+ var $L98 = $L("\u2209");
3704
+ var $L99 = $L("&");
3705
+ var $L100 = $L("|");
3706
+ var $L101 = $L(";");
3707
+ var $L102 = $L("$:");
3708
+ var $L103 = $L("own");
3709
+ var $L104 = $L("break");
3710
+ var $L105 = $L("continue");
3711
+ var $L106 = $L("debugger");
3712
+ var $L107 = $L("assert");
3713
+ var $L108 = $L(":=");
3714
+ var $L109 = $L("\u2254");
3715
+ var $L110 = $L(".=");
3716
+ var $L111 = $L("/*");
3717
+ var $L112 = $L("*/");
3718
+ var $L113 = $L("\\");
3719
+ var $L114 = $L("[");
3720
+ var $L115 = $L("`");
3721
+ var $L116 = $L("abstract");
3722
+ var $L117 = $L("as");
3723
+ var $L118 = $L("@");
3724
+ var $L119 = $L("@@");
3725
+ var $L120 = $L("async");
3726
+ var $L121 = $L("await");
3727
+ var $L122 = $L("by");
3728
+ var $L123 = $L("case");
3729
+ var $L124 = $L("catch");
3730
+ var $L125 = $L("class");
3731
+ var $L126 = $L(")");
3732
+ var $L127 = $L("#{");
3733
+ var $L128 = $L("declare");
3734
+ var $L129 = $L("default");
3735
+ var $L130 = $L("delete");
3736
+ var $L131 = $L("do");
3737
+ var $L132 = $L("..");
3738
+ var $L133 = $L("\u2025");
3739
+ var $L134 = $L("...");
3740
+ var $L135 = $L("\u2026");
3741
+ var $L136 = $L("::");
3742
+ var $L137 = $L('"');
3743
+ var $L138 = $L("else");
3744
+ var $L139 = $L("export");
3745
+ var $L140 = $L("extends");
3746
+ var $L141 = $L("finally");
3747
+ var $L142 = $L("for");
3748
+ var $L143 = $L("from");
3749
+ var $L144 = $L("function");
3750
+ var $L145 = $L("get");
3751
+ var $L146 = $L("set");
3752
+ var $L147 = $L("if");
3753
+ var $L148 = $L("in");
3754
+ var $L149 = $L("let");
3755
+ var $L150 = $L("const");
3756
+ var $L151 = $L("is");
3757
+ var $L152 = $L("loop");
3758
+ var $L153 = $L("new");
3759
+ var $L154 = $L("not");
3760
+ var $L155 = $L("<");
3740
3761
  var $L156 = $L("operator");
3741
3762
  var $L157 = $L("public");
3742
3763
  var $L158 = $L("private");
@@ -3797,7 +3818,7 @@ ${input.slice(result.pos)}
3797
3818
  var $R6 = $R(new RegExp("[!+-]", "suy"));
3798
3819
  var $R7 = $R(new RegExp("<(?!\\p{ID_Start}|[_$])", "suy"));
3799
3820
  var $R8 = $R(new RegExp("!\\^\\^?", "suy"));
3800
- var $R9 = $R(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*&)", "suy"));
3821
+ var $R9 = $R(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*[&.])", "suy"));
3801
3822
  var $R10 = $R(new RegExp("(?=[\\s\\)])", "suy"));
3802
3823
  var $R11 = $R(new RegExp('[^;"\\s]+', "suy"));
3803
3824
  var $R12 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
@@ -4288,7 +4309,7 @@ ${input.slice(result.pos)}
4288
4309
  }
4289
4310
  }
4290
4311
  var ApplicationStart$0 = $S(IndentedApplicationAllowed, $Y(NestedImplicitObjectLiteral));
4291
- var ApplicationStart$1 = $S($N(EOS), $Y($S(_, $N(ForbiddenImplicitCalls))));
4312
+ var ApplicationStart$1 = $S($N(EOS), $Y($S(_, $C(BracedApplicationAllowed, $N($EXPECT($L1, fail, 'ApplicationStart "{"'))), $N(ForbiddenImplicitCalls))));
4292
4313
  function ApplicationStart(state) {
4293
4314
  let eventData;
4294
4315
  if (state.events) {
@@ -4312,10 +4333,10 @@ ${input.slice(result.pos)}
4312
4333
  }
4313
4334
  }
4314
4335
  var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
4315
- var ForbiddenImplicitCalls$1 = $EXPECT($L1, fail, 'ForbiddenImplicitCalls "/ "');
4336
+ var ForbiddenImplicitCalls$1 = $EXPECT($L2, fail, 'ForbiddenImplicitCalls "/ "');
4316
4337
  var ForbiddenImplicitCalls$2 = $S(ClassImplicitCallForbidden, $C(Class, AtAt));
4317
- var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L2, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
4318
- var ForbiddenImplicitCalls$4 = $TS($S(Identifier, $N($EXPECT($L3, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
4338
+ var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L3, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
4339
+ var ForbiddenImplicitCalls$4 = $TS($S(Identifier, $N($EXPECT($L4, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
4319
4340
  var id = $1;
4320
4341
  if (module2.operators.has(id.name))
4321
4342
  return $0;
@@ -4380,7 +4401,7 @@ ${input.slice(result.pos)}
4380
4401
  return result;
4381
4402
  }
4382
4403
  }
4383
- 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) {
4404
+ 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) {
4384
4405
  return $1.concat($2);
4385
4406
  });
4386
4407
  function TrailingMemberExpressions(state) {
@@ -4678,9 +4699,9 @@ ${input.slice(result.pos)}
4678
4699
  var rhs = $2;
4679
4700
  return [[], op, [], rhs];
4680
4701
  });
4681
- var BinaryOpRHS$1 = $T($S(NewlineBinaryOpAllowed, $S(NotDedented, BinaryOp, $C(_, $S(EOS, __)), RHS)), function(value) {
4682
- var rhs = value[1];
4683
- return rhs;
4702
+ var BinaryOpRHS$1 = $TS($S(NewlineBinaryOpAllowed, $S(NotDedentedBinaryOp, $C(_, $S(EOS, __)), RHS)), function($skip, $loc, $0, $1, $2) {
4703
+ var rhs = $2;
4704
+ return [...rhs[0], ...rhs.slice(1)];
4684
4705
  });
4685
4706
  var BinaryOpRHS$2 = $T($S($N(NewlineBinaryOpAllowed), SingleLineBinaryOpRHS), function(value) {
4686
4707
  return value[1];
@@ -4819,10 +4840,7 @@ ${input.slice(result.pos)}
4819
4840
  }
4820
4841
  }
4821
4842
  var UnaryPostfix$0 = QuestionMark;
4822
- var UnaryPostfix$1 = $T($P($S(__, As, Type)), function(value) {
4823
- return { "ts": true, "children": value };
4824
- });
4825
- var UnaryPostfix$2 = $T($P($S(__, Satisfies, Type)), function(value) {
4843
+ var UnaryPostfix$1 = $T($P($S(__, $C(As, Satisfies), Type)), function(value) {
4826
4844
  return { "ts": true, "children": value };
4827
4845
  });
4828
4846
  function UnaryPostfix(state) {
@@ -4836,12 +4854,12 @@ ${input.slice(result.pos)}
4836
4854
  }
4837
4855
  }
4838
4856
  if (state.tokenize) {
4839
- const result = $TOKEN("UnaryPostfix", state, UnaryPostfix$0(state) || UnaryPostfix$1(state) || UnaryPostfix$2(state));
4857
+ const result = $TOKEN("UnaryPostfix", state, UnaryPostfix$0(state) || UnaryPostfix$1(state));
4840
4858
  if (state.events)
4841
4859
  state.events.exit?.("UnaryPostfix", state, result, eventData);
4842
4860
  return result;
4843
4861
  } else {
4844
- const result = UnaryPostfix$0(state) || UnaryPostfix$1(state) || UnaryPostfix$2(state);
4862
+ const result = UnaryPostfix$0(state) || UnaryPostfix$1(state);
4845
4863
  if (state.events)
4846
4864
  state.events.exit?.("UnaryPostfix", state, result, eventData);
4847
4865
  return result;
@@ -4885,7 +4903,7 @@ ${input.slice(result.pos)}
4885
4903
  return result;
4886
4904
  }
4887
4905
  }
4888
- var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L6, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L7, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
4906
+ var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L7, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L8, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
4889
4907
  return { $loc, token: $1 };
4890
4908
  });
4891
4909
  function UpdateExpressionSymbol(state) {
@@ -5021,7 +5039,7 @@ ${input.slice(result.pos)}
5021
5039
  return result;
5022
5040
  }
5023
5041
  }
5024
- var ActualAssignment$0 = $TS($S($P($S(__, UpdateExpression, WAssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
5042
+ var ActualAssignment$0 = $TS($S($P($S(NotDedented, UpdateExpression, WAssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
5025
5043
  $1 = $1.map((x) => [x[0], x[1], ...x[2]]);
5026
5044
  $0 = [$1, $2];
5027
5045
  return {
@@ -5150,7 +5168,7 @@ ${input.slice(result.pos)}
5150
5168
  return result;
5151
5169
  }
5152
5170
  }
5153
- var FatArrow$0 = $TS($S($E(_), $C($EXPECT($L8, fail, 'FatArrow "=>"'), $EXPECT($L9, fail, 'FatArrow "\u21D2"'))), function($skip, $loc, $0, $1, $2) {
5171
+ var FatArrow$0 = $TS($S($E(_), $C($EXPECT($L9, fail, 'FatArrow "=>"'), $EXPECT($L10, fail, 'FatArrow "\u21D2"'))), function($skip, $loc, $0, $1, $2) {
5154
5172
  var ws = $1;
5155
5173
  if (!ws)
5156
5174
  return " =>";
@@ -5234,7 +5252,7 @@ ${input.slice(result.pos)}
5234
5252
  }
5235
5253
  }
5236
5254
  var TernaryRest$0 = NestedTernaryRest;
5237
- 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) {
5255
+ 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) {
5238
5256
  return $0.slice(2);
5239
5257
  });
5240
5258
  function TernaryRest(state) {
@@ -5452,6 +5470,15 @@ ${input.slice(result.pos)}
5452
5470
  switch (exp.type) {
5453
5471
  case "IterationExpression":
5454
5472
  return exp;
5473
+ case "ParenthesizedExpression":
5474
+ if (exp.implicit) {
5475
+ return {
5476
+ ...exp,
5477
+ children: [open, exp.expression, ws, close],
5478
+ implicit: false
5479
+ };
5480
+ }
5481
+ break;
5455
5482
  }
5456
5483
  return {
5457
5484
  type: "ParenthesizedExpression",
@@ -5504,7 +5531,7 @@ ${input.slice(result.pos)}
5504
5531
  return result;
5505
5532
  }
5506
5533
  }
5507
- var ClassExpression$0 = $S($E(Decorators), $E($S(Abstract, __)), Class, $N($EXPECT($L11, fail, 'ClassExpression ":"')), $E(ClassBinding), $E(ClassHeritage), ClassBody);
5534
+ var ClassExpression$0 = $S($E(Decorators), $E($S(Abstract, __)), Class, $N($EXPECT($L12, fail, 'ClassExpression ":"')), $E(ClassBinding), $E(ClassHeritage), ClassBody);
5508
5535
  function ClassExpression(state) {
5509
5536
  let eventData;
5510
5537
  if (state.events) {
@@ -5599,7 +5626,7 @@ ${input.slice(result.pos)}
5599
5626
  return result;
5600
5627
  }
5601
5628
  }
5602
- var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L10, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5629
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L11, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5603
5630
  var l = $1;
5604
5631
  var ws = $2;
5605
5632
  var lt = $3;
@@ -5635,7 +5662,7 @@ ${input.slice(result.pos)}
5635
5662
  return result;
5636
5663
  }
5637
5664
  }
5638
- var ExtendsTarget$0 = $TS($S(ExpressionWithIndentedApplicationForbidden, $E(TypeArguments)), function($skip, $loc, $0, $1, $2) {
5665
+ var ExtendsTarget$0 = $TS($S(ExpressionWithObjectApplicationForbidden, $E(TypeArguments)), function($skip, $loc, $0, $1, $2) {
5639
5666
  var exp = $1;
5640
5667
  var ta = $2;
5641
5668
  exp = makeLeftHandSideExpression(exp);
@@ -5693,7 +5720,7 @@ ${input.slice(result.pos)}
5693
5720
  return result;
5694
5721
  }
5695
5722
  }
5696
- var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L10, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5723
+ var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L11, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
5697
5724
  var l = $1;
5698
5725
  var ws = $2;
5699
5726
  var token = $3;
@@ -5703,7 +5730,7 @@ ${input.slice(result.pos)}
5703
5730
  }
5704
5731
  return { children };
5705
5732
  });
5706
- var ImplementsToken$1 = $TS($S(__, $EXPECT($L12, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5733
+ var ImplementsToken$1 = $TS($S(__, $EXPECT($L13, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5707
5734
  $2 = { $loc, token: $2 };
5708
5735
  return [$1, $2];
5709
5736
  });
@@ -5729,7 +5756,7 @@ ${input.slice(result.pos)}
5729
5756
  return result;
5730
5757
  }
5731
5758
  }
5732
- var ImplementsShorthand$0 = $TV($EXPECT($L13, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
5759
+ var ImplementsShorthand$0 = $TV($EXPECT($L14, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
5733
5760
  return { $loc, token: "implements " };
5734
5761
  });
5735
5762
  function ImplementsShorthand(state) {
@@ -6143,7 +6170,7 @@ ${input.slice(result.pos)}
6143
6170
  }
6144
6171
  }
6145
6172
  var ThisLiteral$0 = This;
6146
- var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L14, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
6173
+ var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L15, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
6147
6174
  var at = $1;
6148
6175
  var id = $2;
6149
6176
  return [at, ".", id];
@@ -6197,7 +6224,7 @@ ${input.slice(result.pos)}
6197
6224
  return result;
6198
6225
  }
6199
6226
  }
6200
- var LeftHandSideExpression$0 = $S($P($S(New, $N($C($EXPECT($L5, fail, 'LeftHandSideExpression "."'), $EXPECT($L11, fail, 'LeftHandSideExpression ":"'))), __)), CallExpression, $E(TypeArguments));
6227
+ var LeftHandSideExpression$0 = $S($P($S(New, $N($C($EXPECT($L6, fail, 'LeftHandSideExpression "."'), $EXPECT($L12, fail, 'LeftHandSideExpression ":"'))), __)), CallExpression, $E(TypeArguments));
6201
6228
  var LeftHandSideExpression$1 = CallExpression;
6202
6229
  function LeftHandSideExpression(state) {
6203
6230
  let eventData;
@@ -6221,14 +6248,14 @@ ${input.slice(result.pos)}
6221
6248
  return result;
6222
6249
  }
6223
6250
  }
6224
- var CallExpression$0 = $TS($S($EXPECT($L15, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6251
+ var CallExpression$0 = $TS($S($EXPECT($L16, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6225
6252
  var rest = $3;
6226
6253
  return processCallMemberExpression({
6227
6254
  type: "CallExpression",
6228
6255
  children: [$1, ...$2, ...rest.flat()]
6229
6256
  });
6230
6257
  });
6231
- var CallExpression$1 = $TS($S($EXPECT($L16, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6258
+ var CallExpression$1 = $TS($S($EXPECT($L17, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
6232
6259
  var rest = $3;
6233
6260
  return processCallMemberExpression({
6234
6261
  type: "CallExpression",
@@ -6356,7 +6383,7 @@ ${input.slice(result.pos)}
6356
6383
  return result;
6357
6384
  }
6358
6385
  }
6359
- var NonNullAssertion$0 = $T($S($EXPECT($L17, fail, 'NonNullAssertion "!"'), $N($EXPECT($L18, fail, 'NonNullAssertion "^"'))), function(value) {
6386
+ var NonNullAssertion$0 = $T($S($EXPECT($L18, fail, 'NonNullAssertion "!"'), $N($EXPECT($L19, fail, 'NonNullAssertion "^"'))), function(value) {
6360
6387
  return { "type": "NonNullAssertion", "ts": true, "children": value[0] };
6361
6388
  });
6362
6389
  function NonNullAssertion(state) {
@@ -6496,7 +6523,7 @@ ${input.slice(result.pos)}
6496
6523
  ]
6497
6524
  };
6498
6525
  });
6499
- var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L19, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
6526
+ var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L20, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
6500
6527
  var dot = $1;
6501
6528
  var neg = $2;
6502
6529
  var num = $3;
@@ -6716,8 +6743,8 @@ ${input.slice(result.pos)}
6716
6743
  return result;
6717
6744
  }
6718
6745
  }
6719
- var SuperProperty$0 = $S($EXPECT($L15, fail, 'SuperProperty "super"'), MemberBracketContent);
6720
- var SuperProperty$1 = $S($EXPECT($L15, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
6746
+ var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super"'), MemberBracketContent);
6747
+ var SuperProperty$1 = $S($EXPECT($L16, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
6721
6748
  function SuperProperty(state) {
6722
6749
  let eventData;
6723
6750
  if (state.events) {
@@ -6741,7 +6768,7 @@ ${input.slice(result.pos)}
6741
6768
  }
6742
6769
  }
6743
6770
  var MetaProperty$0 = $S(New, Dot, Target);
6744
- var MetaProperty$1 = $TS($S($EXPECT($L20, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6771
+ var MetaProperty$1 = $TS($S($EXPECT($L21, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
6745
6772
  return { $loc, token: $1 };
6746
6773
  });
6747
6774
  var MetaProperty$2 = ReturnValue;
@@ -6767,7 +6794,7 @@ ${input.slice(result.pos)}
6767
6794
  return result;
6768
6795
  }
6769
6796
  }
6770
- var ReturnValue$0 = $TV($C($S($EXPECT($L21, fail, 'ReturnValue "return.value"'), NonIdContinue), $S(Return, $Y(AfterReturnShorthand))), function($skip, $loc, $0, $1) {
6797
+ var ReturnValue$0 = $TV($C($S($EXPECT($L22, fail, 'ReturnValue "return.value"'), NonIdContinue), $S(Return, $Y(AfterReturnShorthand))), function($skip, $loc, $0, $1) {
6771
6798
  return { type: "ReturnValue", children: [$1[0]] };
6772
6799
  });
6773
6800
  function ReturnValue(state) {
@@ -7103,7 +7130,7 @@ ${input.slice(result.pos)}
7103
7130
  return result;
7104
7131
  }
7105
7132
  }
7106
- var PinPattern$0 = $TS($S($EXPECT($L18, fail, 'PinPattern "^"'), Identifier), function($skip, $loc, $0, $1, $2) {
7133
+ var PinPattern$0 = $TS($S($EXPECT($L19, fail, 'PinPattern "^"'), Identifier), function($skip, $loc, $0, $1, $2) {
7107
7134
  var identifier = $2;
7108
7135
  return {
7109
7136
  type: "PinPattern",
@@ -7476,7 +7503,7 @@ ${input.slice(result.pos)}
7476
7503
  names: value.names
7477
7504
  };
7478
7505
  });
7479
- var BindingProperty$2 = $TS($S($E(_), $E($EXPECT($L18, fail, 'BindingProperty "^"')), BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4) {
7506
+ var BindingProperty$2 = $TS($S($E(_), $E($EXPECT($L19, fail, 'BindingProperty "^"')), BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4) {
7480
7507
  var ws = $1;
7481
7508
  var pin = $2;
7482
7509
  var binding = $3;
@@ -7650,7 +7677,7 @@ ${input.slice(result.pos)}
7650
7677
  children: [ws, binding]
7651
7678
  };
7652
7679
  });
7653
- var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L22, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
7680
+ var BindingElement$2 = $TV($Y($S($E(_), $EXPECT($L23, fail, 'BindingElement ","'))), function($skip, $loc, $0, $1) {
7654
7681
  return {
7655
7682
  children: [{
7656
7683
  type: "ElisionElement",
@@ -7892,17 +7919,29 @@ ${input.slice(result.pos)}
7892
7919
  return $skip;
7893
7920
  let body, ref;
7894
7921
  if (!rhs) {
7895
- ref = {
7922
+ body = ref = {
7896
7923
  type: "Ref",
7897
7924
  base: "$",
7898
7925
  id: "$"
7899
7926
  };
7900
- body = [prefix, ref];
7901
7927
  } else {
7902
- ({ ref } = rhs);
7903
- body = [prefix, rhs];
7928
+ let exp = rhs;
7929
+ while (!exp.ref && exp.expression) {
7930
+ exp = exp.expression;
7931
+ }
7932
+ ({ ref } = exp);
7933
+ if (!ref) {
7934
+ throw new Error("Could not find ref in ampersand shorthand block");
7935
+ }
7936
+ body = rhs;
7904
7937
  }
7905
- const children = [ref, " => ", ...body];
7938
+ if (prefix) {
7939
+ body = {
7940
+ type: "UnaryExpression",
7941
+ children: [prefix, body, void 0]
7942
+ };
7943
+ }
7944
+ const children = [ref, " => ", body];
7906
7945
  if (hasAwait(body)) {
7907
7946
  children.unshift("async ");
7908
7947
  }
@@ -8062,7 +8101,7 @@ ${input.slice(result.pos)}
8062
8101
  var callExpRest = $1;
8063
8102
  var unaryPostfix = $2;
8064
8103
  var binopRHS = $3;
8065
- if (!callExpRest && !binopRHS)
8104
+ if (!callExpRest && !binopRHS && !unaryPostfix)
8066
8105
  return $skip;
8067
8106
  const ref = {
8068
8107
  type: "Ref",
@@ -8188,7 +8227,7 @@ ${input.slice(result.pos)}
8188
8227
  return result;
8189
8228
  }
8190
8229
  }
8191
- var Arrow$0 = $TV($C($EXPECT($L23, fail, 'Arrow "->"'), $EXPECT($L24, fail, 'Arrow "\u2192"')), function($skip, $loc, $0, $1) {
8230
+ var Arrow$0 = $TV($C($EXPECT($L24, fail, 'Arrow "->"'), $EXPECT($L25, fail, 'Arrow "\u2192"')), function($skip, $loc, $0, $1) {
8192
8231
  return { $loc, token: "->" };
8193
8232
  });
8194
8233
  function Arrow(state) {
@@ -8654,7 +8693,7 @@ ${input.slice(result.pos)}
8654
8693
  children: [$1, expressions]
8655
8694
  };
8656
8695
  });
8657
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L25, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
8696
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L26, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
8658
8697
  const expressions = [];
8659
8698
  return {
8660
8699
  type: "BlockStatement",
@@ -8835,7 +8874,7 @@ ${input.slice(result.pos)}
8835
8874
  return result;
8836
8875
  }
8837
8876
  }
8838
- var NullLiteral$0 = $TS($S($EXPECT($L26, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8877
+ var NullLiteral$0 = $TS($S($EXPECT($L27, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8839
8878
  return { $loc, token: $1 };
8840
8879
  });
8841
8880
  function NullLiteral(state) {
@@ -8863,7 +8902,7 @@ ${input.slice(result.pos)}
8863
8902
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
8864
8903
  return value[1];
8865
8904
  });
8866
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L27, fail, 'BooleanLiteral "true"'), $EXPECT($L28, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8905
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L28, fail, 'BooleanLiteral "true"'), $EXPECT($L29, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8867
8906
  return { $loc, token: $1 };
8868
8907
  });
8869
8908
  function BooleanLiteral(state) {
@@ -8888,10 +8927,10 @@ ${input.slice(result.pos)}
8888
8927
  return result;
8889
8928
  }
8890
8929
  }
8891
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L29, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L30, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8930
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L30, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L31, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8892
8931
  return { $loc, token: "true" };
8893
8932
  });
8894
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L31, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L32, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8933
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L32, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L33, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
8895
8934
  return { $loc, token: "false" };
8896
8935
  });
8897
8936
  function CoffeeScriptBooleanLiteral(state) {
@@ -8997,7 +9036,7 @@ ${input.slice(result.pos)}
8997
9036
  return result;
8998
9037
  }
8999
9038
  }
9000
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L2, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L2, fail, 'UpcomingAssignment "="'), $EXPECT($L33, fail, 'UpcomingAssignment ">"')))));
9039
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L3, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L3, fail, 'UpcomingAssignment "="'), $EXPECT($L34, fail, 'UpcomingAssignment ">"')))));
9001
9040
  function UpcomingAssignment(state) {
9002
9041
  let eventData;
9003
9042
  if (state.events) {
@@ -9263,7 +9302,7 @@ ${input.slice(result.pos)}
9263
9302
  }
9264
9303
  }
9265
9304
  var ArrayElementDelimiter$0 = $S(__, Comma);
9266
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L34, fail, 'ArrayElementDelimiter "]"')));
9305
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L35, fail, 'ArrayElementDelimiter "]"')));
9267
9306
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
9268
9307
  return value[1];
9269
9308
  });
@@ -9743,7 +9782,7 @@ ${input.slice(result.pos)}
9743
9782
  }
9744
9783
  }
9745
9784
  var ObjectPropertyDelimiter$0 = $S($E(_), Comma);
9746
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L25, fail, 'ObjectPropertyDelimiter "}"')));
9785
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'ObjectPropertyDelimiter "}"')));
9747
9786
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
9748
9787
  return value[1];
9749
9788
  });
@@ -10075,7 +10114,7 @@ ${input.slice(result.pos)}
10075
10114
  expression
10076
10115
  };
10077
10116
  });
10078
- var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L19, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
10117
+ var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L20, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
10079
10118
  return {
10080
10119
  type: "ComputedPropertyName",
10081
10120
  children: $0
@@ -10361,7 +10400,7 @@ ${input.slice(result.pos)}
10361
10400
  return result;
10362
10401
  }
10363
10402
  }
10364
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L14, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
10403
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L15, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
10365
10404
  return {
10366
10405
  type: "Identifier",
10367
10406
  name: $0,
@@ -10449,21 +10488,21 @@ ${input.slice(result.pos)}
10449
10488
  return result;
10450
10489
  }
10451
10490
  }
10452
- var OperatorAssignmentOp$0 = $TS($S(Xor, $EXPECT($L2, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10491
+ var OperatorAssignmentOp$0 = $TS($S(Xor, $EXPECT($L3, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10453
10492
  return {
10454
10493
  special: true,
10455
10494
  call: module2.getRef("xor"),
10456
10495
  children: [$2, ...$4]
10457
10496
  };
10458
10497
  });
10459
- var OperatorAssignmentOp$1 = $TS($S(Xnor, $EXPECT($L2, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10498
+ var OperatorAssignmentOp$1 = $TS($S(Xnor, $EXPECT($L3, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10460
10499
  return {
10461
10500
  special: true,
10462
10501
  call: module2.getRef("xnor"),
10463
10502
  children: [$2, ...$4]
10464
10503
  };
10465
10504
  });
10466
- var OperatorAssignmentOp$2 = $TS($S(Identifier, $EXPECT($L2, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10505
+ var OperatorAssignmentOp$2 = $TS($S(Identifier, $EXPECT($L3, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $E(_)), function($skip, $loc, $0, $1, $2, $3, $4) {
10467
10506
  return {
10468
10507
  special: true,
10469
10508
  call: $1,
@@ -10492,25 +10531,25 @@ ${input.slice(result.pos)}
10492
10531
  return result;
10493
10532
  }
10494
10533
  }
10495
- var AssignmentOpSymbol$0 = $EXPECT($L35, fail, 'AssignmentOpSymbol "**="');
10496
- var AssignmentOpSymbol$1 = $EXPECT($L36, fail, 'AssignmentOpSymbol "*="');
10497
- var AssignmentOpSymbol$2 = $EXPECT($L37, fail, 'AssignmentOpSymbol "/="');
10498
- var AssignmentOpSymbol$3 = $EXPECT($L38, fail, 'AssignmentOpSymbol "%="');
10499
- var AssignmentOpSymbol$4 = $EXPECT($L39, fail, 'AssignmentOpSymbol "+="');
10500
- var AssignmentOpSymbol$5 = $EXPECT($L40, fail, 'AssignmentOpSymbol "-="');
10501
- var AssignmentOpSymbol$6 = $EXPECT($L41, fail, 'AssignmentOpSymbol "<<="');
10502
- var AssignmentOpSymbol$7 = $EXPECT($L42, fail, 'AssignmentOpSymbol ">>>="');
10503
- var AssignmentOpSymbol$8 = $EXPECT($L43, fail, 'AssignmentOpSymbol ">>="');
10504
- var AssignmentOpSymbol$9 = $EXPECT($L44, fail, 'AssignmentOpSymbol "&&="');
10505
- var AssignmentOpSymbol$10 = $EXPECT($L45, fail, 'AssignmentOpSymbol "&="');
10506
- var AssignmentOpSymbol$11 = $EXPECT($L46, fail, 'AssignmentOpSymbol "^="');
10507
- var AssignmentOpSymbol$12 = $EXPECT($L47, fail, 'AssignmentOpSymbol "||="');
10508
- var AssignmentOpSymbol$13 = $EXPECT($L48, fail, 'AssignmentOpSymbol "|="');
10509
- var AssignmentOpSymbol$14 = $EXPECT($L49, fail, 'AssignmentOpSymbol "??="');
10510
- var AssignmentOpSymbol$15 = $T($EXPECT($L50, fail, 'AssignmentOpSymbol "?="'), function(value) {
10534
+ var AssignmentOpSymbol$0 = $EXPECT($L36, fail, 'AssignmentOpSymbol "**="');
10535
+ var AssignmentOpSymbol$1 = $EXPECT($L37, fail, 'AssignmentOpSymbol "*="');
10536
+ var AssignmentOpSymbol$2 = $EXPECT($L38, fail, 'AssignmentOpSymbol "/="');
10537
+ var AssignmentOpSymbol$3 = $EXPECT($L39, fail, 'AssignmentOpSymbol "%="');
10538
+ var AssignmentOpSymbol$4 = $EXPECT($L40, fail, 'AssignmentOpSymbol "+="');
10539
+ var AssignmentOpSymbol$5 = $EXPECT($L41, fail, 'AssignmentOpSymbol "-="');
10540
+ var AssignmentOpSymbol$6 = $EXPECT($L42, fail, 'AssignmentOpSymbol "<<="');
10541
+ var AssignmentOpSymbol$7 = $EXPECT($L43, fail, 'AssignmentOpSymbol ">>>="');
10542
+ var AssignmentOpSymbol$8 = $EXPECT($L44, fail, 'AssignmentOpSymbol ">>="');
10543
+ var AssignmentOpSymbol$9 = $EXPECT($L45, fail, 'AssignmentOpSymbol "&&="');
10544
+ var AssignmentOpSymbol$10 = $EXPECT($L46, fail, 'AssignmentOpSymbol "&="');
10545
+ var AssignmentOpSymbol$11 = $EXPECT($L47, fail, 'AssignmentOpSymbol "^="');
10546
+ var AssignmentOpSymbol$12 = $EXPECT($L48, fail, 'AssignmentOpSymbol "||="');
10547
+ var AssignmentOpSymbol$13 = $EXPECT($L49, fail, 'AssignmentOpSymbol "|="');
10548
+ var AssignmentOpSymbol$14 = $EXPECT($L50, fail, 'AssignmentOpSymbol "??="');
10549
+ var AssignmentOpSymbol$15 = $T($EXPECT($L51, fail, 'AssignmentOpSymbol "?="'), function(value) {
10511
10550
  return "??=";
10512
10551
  });
10513
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L2, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L2, fail, 'AssignmentOpSymbol "="'))), function(value) {
10552
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L3, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L3, fail, 'AssignmentOpSymbol "="'))), function(value) {
10514
10553
  return value[0];
10515
10554
  });
10516
10555
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -10538,10 +10577,10 @@ ${input.slice(result.pos)}
10538
10577
  return result;
10539
10578
  }
10540
10579
  }
10541
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L51, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
10580
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L52, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
10542
10581
  return "&&=";
10543
10582
  });
10544
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L52, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
10583
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L53, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
10545
10584
  return "||=";
10546
10585
  });
10547
10586
  function CoffeeWordAssignmentOp(state) {
@@ -10566,6 +10605,42 @@ ${input.slice(result.pos)}
10566
10605
  return result;
10567
10606
  }
10568
10607
  }
10608
+ var NotDedentedBinaryOp$0 = $TS($S($E(IndentedFurther), $E(_), BinaryOp), function($skip, $loc, $0, $1, $2, $3) {
10609
+ const ws = [];
10610
+ if ($1)
10611
+ ws.push(...$1);
10612
+ if ($2)
10613
+ ws.push(...$2);
10614
+ return [ws, $3];
10615
+ });
10616
+ var NotDedentedBinaryOp$1 = $TS($S(Samedent, $E(_), $N(Identifier), BinaryOp), function($skip, $loc, $0, $1, $2, $3, $4) {
10617
+ const ws = [...$1];
10618
+ if ($2)
10619
+ ws.push(...$2);
10620
+ return [ws, $4];
10621
+ });
10622
+ function NotDedentedBinaryOp(state) {
10623
+ let eventData;
10624
+ if (state.events) {
10625
+ const result = state.events.enter?.("NotDedentedBinaryOp", state);
10626
+ if (result) {
10627
+ if (result.cache)
10628
+ return result.cache;
10629
+ eventData = result.data;
10630
+ }
10631
+ }
10632
+ if (state.tokenize) {
10633
+ const result = $TOKEN("NotDedentedBinaryOp", state, NotDedentedBinaryOp$0(state) || NotDedentedBinaryOp$1(state));
10634
+ if (state.events)
10635
+ state.events.exit?.("NotDedentedBinaryOp", state, result, eventData);
10636
+ return result;
10637
+ } else {
10638
+ const result = NotDedentedBinaryOp$0(state) || NotDedentedBinaryOp$1(state);
10639
+ if (state.events)
10640
+ state.events.exit?.("NotDedentedBinaryOp", state, result, eventData);
10641
+ return result;
10642
+ }
10643
+ }
10569
10644
  var BinaryOp$0 = $TS($S(BinaryOpSymbol), function($skip, $loc, $0, $1) {
10570
10645
  if (typeof $1 === "string")
10571
10646
  return { $loc, token: $1 };
@@ -10612,27 +10687,27 @@ ${input.slice(result.pos)}
10612
10687
  return result;
10613
10688
  }
10614
10689
  }
10615
- var BinaryOpSymbol$0 = $EXPECT($L53, fail, 'BinaryOpSymbol "**"');
10616
- var BinaryOpSymbol$1 = $EXPECT($L54, fail, 'BinaryOpSymbol "*"');
10617
- var BinaryOpSymbol$2 = $EXPECT($L55, fail, 'BinaryOpSymbol "/"');
10618
- var BinaryOpSymbol$3 = $TV($EXPECT($L56, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
10690
+ var BinaryOpSymbol$0 = $EXPECT($L54, fail, 'BinaryOpSymbol "**"');
10691
+ var BinaryOpSymbol$1 = $EXPECT($L55, fail, 'BinaryOpSymbol "*"');
10692
+ var BinaryOpSymbol$2 = $EXPECT($L56, fail, 'BinaryOpSymbol "/"');
10693
+ var BinaryOpSymbol$3 = $TV($EXPECT($L57, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
10619
10694
  return {
10620
10695
  call: module2.getRef("modulo"),
10621
10696
  special: true
10622
10697
  };
10623
10698
  });
10624
- var BinaryOpSymbol$4 = $EXPECT($L57, fail, 'BinaryOpSymbol "%"');
10625
- var BinaryOpSymbol$5 = $EXPECT($L58, fail, 'BinaryOpSymbol "+"');
10626
- var BinaryOpSymbol$6 = $EXPECT($L19, fail, 'BinaryOpSymbol "-"');
10627
- var BinaryOpSymbol$7 = $EXPECT($L59, fail, 'BinaryOpSymbol "<="');
10628
- var BinaryOpSymbol$8 = $T($EXPECT($L60, fail, 'BinaryOpSymbol "\u2264"'), function(value) {
10699
+ var BinaryOpSymbol$4 = $EXPECT($L58, fail, 'BinaryOpSymbol "%"');
10700
+ var BinaryOpSymbol$5 = $EXPECT($L59, fail, 'BinaryOpSymbol "+"');
10701
+ var BinaryOpSymbol$6 = $EXPECT($L20, fail, 'BinaryOpSymbol "-"');
10702
+ var BinaryOpSymbol$7 = $EXPECT($L60, fail, 'BinaryOpSymbol "<="');
10703
+ var BinaryOpSymbol$8 = $T($EXPECT($L61, fail, 'BinaryOpSymbol "\u2264"'), function(value) {
10629
10704
  return "<=";
10630
10705
  });
10631
- var BinaryOpSymbol$9 = $EXPECT($L61, fail, 'BinaryOpSymbol ">="');
10632
- var BinaryOpSymbol$10 = $T($EXPECT($L62, fail, 'BinaryOpSymbol "\u2265"'), function(value) {
10706
+ var BinaryOpSymbol$9 = $EXPECT($L62, fail, 'BinaryOpSymbol ">="');
10707
+ var BinaryOpSymbol$10 = $T($EXPECT($L63, fail, 'BinaryOpSymbol "\u2265"'), function(value) {
10633
10708
  return ">=";
10634
10709
  });
10635
- var BinaryOpSymbol$11 = $TV($EXPECT($L63, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
10710
+ var BinaryOpSymbol$11 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
10636
10711
  return {
10637
10712
  $loc,
10638
10713
  token: "instanceof",
@@ -10640,7 +10715,7 @@ ${input.slice(result.pos)}
10640
10715
  special: true
10641
10716
  };
10642
10717
  });
10643
- var BinaryOpSymbol$12 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
10718
+ var BinaryOpSymbol$12 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
10644
10719
  return {
10645
10720
  $loc,
10646
10721
  token: "instanceof",
@@ -10649,79 +10724,79 @@ ${input.slice(result.pos)}
10649
10724
  negated: true
10650
10725
  };
10651
10726
  });
10652
- var BinaryOpSymbol$13 = $EXPECT($L65, fail, 'BinaryOpSymbol "<<"');
10653
- var BinaryOpSymbol$14 = $T($EXPECT($L66, fail, 'BinaryOpSymbol "\xAB"'), function(value) {
10727
+ var BinaryOpSymbol$13 = $EXPECT($L66, fail, 'BinaryOpSymbol "<<"');
10728
+ var BinaryOpSymbol$14 = $T($EXPECT($L67, fail, 'BinaryOpSymbol "\xAB"'), function(value) {
10654
10729
  return "<<";
10655
10730
  });
10656
10731
  var BinaryOpSymbol$15 = $TR($EXPECT($R7, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10657
10732
  return "<";
10658
10733
  });
10659
- var BinaryOpSymbol$16 = $EXPECT($L67, fail, 'BinaryOpSymbol ">>>"');
10660
- var BinaryOpSymbol$17 = $T($EXPECT($L68, fail, 'BinaryOpSymbol "\u22D9"'), function(value) {
10734
+ var BinaryOpSymbol$16 = $EXPECT($L68, fail, 'BinaryOpSymbol ">>>"');
10735
+ var BinaryOpSymbol$17 = $T($EXPECT($L69, fail, 'BinaryOpSymbol "\u22D9"'), function(value) {
10661
10736
  return ">>>";
10662
10737
  });
10663
- var BinaryOpSymbol$18 = $EXPECT($L69, fail, 'BinaryOpSymbol ">>"');
10664
- var BinaryOpSymbol$19 = $T($EXPECT($L70, fail, 'BinaryOpSymbol "\xBB"'), function(value) {
10738
+ var BinaryOpSymbol$18 = $EXPECT($L70, fail, 'BinaryOpSymbol ">>"');
10739
+ var BinaryOpSymbol$19 = $T($EXPECT($L71, fail, 'BinaryOpSymbol "\xBB"'), function(value) {
10665
10740
  return ">>";
10666
10741
  });
10667
- var BinaryOpSymbol$20 = $EXPECT($L33, fail, 'BinaryOpSymbol ">"');
10668
- var BinaryOpSymbol$21 = $EXPECT($L71, fail, 'BinaryOpSymbol "!=="');
10669
- var BinaryOpSymbol$22 = $T($EXPECT($L72, fail, 'BinaryOpSymbol "\u2262"'), function(value) {
10742
+ var BinaryOpSymbol$20 = $EXPECT($L34, fail, 'BinaryOpSymbol ">"');
10743
+ var BinaryOpSymbol$21 = $EXPECT($L72, fail, 'BinaryOpSymbol "!=="');
10744
+ var BinaryOpSymbol$22 = $T($EXPECT($L73, fail, 'BinaryOpSymbol "\u2262"'), function(value) {
10670
10745
  return "!==";
10671
10746
  });
10672
- var BinaryOpSymbol$23 = $TV($C($EXPECT($L73, fail, 'BinaryOpSymbol "!="'), $EXPECT($L74, fail, 'BinaryOpSymbol "\u2260"')), function($skip, $loc, $0, $1) {
10747
+ var BinaryOpSymbol$23 = $TV($C($EXPECT($L74, fail, 'BinaryOpSymbol "!="'), $EXPECT($L75, fail, 'BinaryOpSymbol "\u2260"')), function($skip, $loc, $0, $1) {
10673
10748
  if (module2.config.coffeeEq)
10674
10749
  return "!==";
10675
10750
  return "!=";
10676
10751
  });
10677
- var BinaryOpSymbol$24 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10752
+ var BinaryOpSymbol$24 = $TS($S($EXPECT($L76, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10678
10753
  if (module2.config.coffeeIsnt)
10679
10754
  return "!==";
10680
10755
  return $skip;
10681
10756
  });
10682
- var BinaryOpSymbol$25 = $EXPECT($L76, fail, 'BinaryOpSymbol "==="');
10683
- var BinaryOpSymbol$26 = $T($C($EXPECT($L77, fail, 'BinaryOpSymbol "\u2263"'), $EXPECT($L78, fail, 'BinaryOpSymbol "\u2A76"')), function(value) {
10757
+ var BinaryOpSymbol$25 = $EXPECT($L77, fail, 'BinaryOpSymbol "==="');
10758
+ var BinaryOpSymbol$26 = $T($C($EXPECT($L78, fail, 'BinaryOpSymbol "\u2263"'), $EXPECT($L79, fail, 'BinaryOpSymbol "\u2A76"')), function(value) {
10684
10759
  return "===";
10685
10760
  });
10686
- var BinaryOpSymbol$27 = $TV($C($EXPECT($L79, fail, 'BinaryOpSymbol "=="'), $EXPECT($L80, fail, 'BinaryOpSymbol "\u2261"'), $EXPECT($L81, fail, 'BinaryOpSymbol "\u2A75"')), function($skip, $loc, $0, $1) {
10761
+ var BinaryOpSymbol$27 = $TV($C($EXPECT($L80, fail, 'BinaryOpSymbol "=="'), $EXPECT($L81, fail, 'BinaryOpSymbol "\u2261"'), $EXPECT($L82, fail, 'BinaryOpSymbol "\u2A75"')), function($skip, $loc, $0, $1) {
10687
10762
  if (module2.config.coffeeEq)
10688
10763
  return "===";
10689
10764
  return "==";
10690
10765
  });
10691
- var BinaryOpSymbol$28 = $T($S($EXPECT($L82, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
10766
+ var BinaryOpSymbol$28 = $T($S($EXPECT($L83, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
10692
10767
  return "&&";
10693
10768
  });
10694
- var BinaryOpSymbol$29 = $EXPECT($L83, fail, 'BinaryOpSymbol "&&"');
10695
- var BinaryOpSymbol$30 = $T($S(CoffeeOfEnabled, $EXPECT($L84, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
10769
+ var BinaryOpSymbol$29 = $EXPECT($L84, fail, 'BinaryOpSymbol "&&"');
10770
+ var BinaryOpSymbol$30 = $T($S(CoffeeOfEnabled, $EXPECT($L85, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
10696
10771
  return "in";
10697
10772
  });
10698
- var BinaryOpSymbol$31 = $T($S($EXPECT($L85, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
10773
+ var BinaryOpSymbol$31 = $T($S($EXPECT($L86, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
10699
10774
  return "||";
10700
10775
  });
10701
- var BinaryOpSymbol$32 = $EXPECT($L86, fail, 'BinaryOpSymbol "||"');
10702
- var BinaryOpSymbol$33 = $T($EXPECT($L87, fail, 'BinaryOpSymbol "\u2016"'), function(value) {
10776
+ var BinaryOpSymbol$32 = $EXPECT($L87, fail, 'BinaryOpSymbol "||"');
10777
+ var BinaryOpSymbol$33 = $T($EXPECT($L88, fail, 'BinaryOpSymbol "\u2016"'), function(value) {
10703
10778
  return "||";
10704
10779
  });
10705
- var BinaryOpSymbol$34 = $TV($C($EXPECT($L88, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L89, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10780
+ var BinaryOpSymbol$34 = $TV($C($EXPECT($L89, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L90, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10706
10781
  return {
10707
10782
  call: module2.getRef("xor"),
10708
10783
  special: true
10709
10784
  };
10710
10785
  });
10711
- var BinaryOpSymbol$35 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L90, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10786
+ var BinaryOpSymbol$35 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L91, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10712
10787
  return {
10713
10788
  call: module2.getRef("xnor"),
10714
10789
  special: true
10715
10790
  };
10716
10791
  });
10717
- var BinaryOpSymbol$36 = $EXPECT($L91, fail, 'BinaryOpSymbol "??"');
10718
- var BinaryOpSymbol$37 = $T($EXPECT($L92, fail, 'BinaryOpSymbol "\u2047"'), function(value) {
10792
+ var BinaryOpSymbol$36 = $EXPECT($L92, fail, 'BinaryOpSymbol "??"');
10793
+ var BinaryOpSymbol$37 = $T($EXPECT($L93, fail, 'BinaryOpSymbol "\u2047"'), function(value) {
10719
10794
  return "??";
10720
10795
  });
10721
- var BinaryOpSymbol$38 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L4, fail, 'BinaryOpSymbol "?"')), function(value) {
10796
+ var BinaryOpSymbol$38 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L5, fail, 'BinaryOpSymbol "?"')), function(value) {
10722
10797
  return "??";
10723
10798
  });
10724
- var BinaryOpSymbol$39 = $TS($S($EXPECT($L93, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10799
+ var BinaryOpSymbol$39 = $TS($S($EXPECT($L94, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10725
10800
  return {
10726
10801
  $loc,
10727
10802
  token: $1,
@@ -10729,7 +10804,7 @@ ${input.slice(result.pos)}
10729
10804
  special: true
10730
10805
  };
10731
10806
  });
10732
- var BinaryOpSymbol$40 = $TS($S(Not, __, $EXPECT($L93, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
10807
+ var BinaryOpSymbol$40 = $TS($S(Not, __, $EXPECT($L94, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4) {
10733
10808
  return {
10734
10809
  $loc,
10735
10810
  token: "instanceof",
@@ -10738,7 +10813,7 @@ ${input.slice(result.pos)}
10738
10813
  negated: true
10739
10814
  };
10740
10815
  });
10741
- var BinaryOpSymbol$41 = $TV($C($S($N(CoffeeOfEnabled), Not, __, In), $S(CoffeeOfEnabled, Not, __, $EXPECT($L84, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10816
+ var BinaryOpSymbol$41 = $TV($C($S($N(CoffeeOfEnabled), Not, __, In), $S(CoffeeOfEnabled, Not, __, $EXPECT($L85, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
10742
10817
  return {
10743
10818
  $loc,
10744
10819
  token: "in",
@@ -10746,7 +10821,7 @@ ${input.slice(result.pos)}
10746
10821
  negated: true
10747
10822
  };
10748
10823
  });
10749
- var BinaryOpSymbol$42 = $TV($C($S(Is, __, In), $EXPECT($L94, fail, 'BinaryOpSymbol "\u2208"')), function($skip, $loc, $0, $1) {
10824
+ var BinaryOpSymbol$42 = $TV($C($S(Is, __, In), $EXPECT($L95, fail, 'BinaryOpSymbol "\u2208"')), function($skip, $loc, $0, $1) {
10750
10825
  return {
10751
10826
  method: "includes",
10752
10827
  relational: true,
@@ -10754,14 +10829,14 @@ ${input.slice(result.pos)}
10754
10829
  special: true
10755
10830
  };
10756
10831
  });
10757
- var BinaryOpSymbol$43 = $TV($EXPECT($L95, fail, 'BinaryOpSymbol "\u220B"'), function($skip, $loc, $0, $1) {
10832
+ var BinaryOpSymbol$43 = $TV($EXPECT($L96, fail, 'BinaryOpSymbol "\u220B"'), function($skip, $loc, $0, $1) {
10758
10833
  return {
10759
10834
  method: "includes",
10760
10835
  relational: true,
10761
10836
  special: true
10762
10837
  };
10763
10838
  });
10764
- var BinaryOpSymbol$44 = $TV($EXPECT($L96, fail, 'BinaryOpSymbol "\u220C"'), function($skip, $loc, $0, $1) {
10839
+ var BinaryOpSymbol$44 = $TV($EXPECT($L97, fail, 'BinaryOpSymbol "\u220C"'), function($skip, $loc, $0, $1) {
10765
10840
  return {
10766
10841
  method: "includes",
10767
10842
  relational: true,
@@ -10778,7 +10853,7 @@ ${input.slice(result.pos)}
10778
10853
  special: true
10779
10854
  };
10780
10855
  });
10781
- var BinaryOpSymbol$46 = $TV($C($S(Is, __, Not, __, In), $EXPECT($L97, fail, 'BinaryOpSymbol "\u2209"')), function($skip, $loc, $0, $1) {
10856
+ var BinaryOpSymbol$46 = $TV($C($S(Is, __, Not, __, In), $EXPECT($L98, fail, 'BinaryOpSymbol "\u2209"')), function($skip, $loc, $0, $1) {
10782
10857
  return {
10783
10858
  method: "includes",
10784
10859
  relational: true,
@@ -10822,9 +10897,9 @@ ${input.slice(result.pos)}
10822
10897
  var BinaryOpSymbol$50 = $TS($S(In), function($skip, $loc, $0, $1) {
10823
10898
  return "in";
10824
10899
  });
10825
- var BinaryOpSymbol$51 = $EXPECT($L98, fail, 'BinaryOpSymbol "&"');
10826
- var BinaryOpSymbol$52 = $EXPECT($L18, fail, 'BinaryOpSymbol "^"');
10827
- var BinaryOpSymbol$53 = $EXPECT($L99, fail, 'BinaryOpSymbol "|"');
10900
+ var BinaryOpSymbol$51 = $EXPECT($L99, fail, 'BinaryOpSymbol "&"');
10901
+ var BinaryOpSymbol$52 = $EXPECT($L19, fail, 'BinaryOpSymbol "^"');
10902
+ var BinaryOpSymbol$53 = $EXPECT($L100, fail, 'BinaryOpSymbol "|"');
10828
10903
  function BinaryOpSymbol(state) {
10829
10904
  let eventData;
10830
10905
  if (state.events) {
@@ -10847,8 +10922,8 @@ ${input.slice(result.pos)}
10847
10922
  return result;
10848
10923
  }
10849
10924
  }
10850
- var Xor$0 = $EXPECT($L88, fail, 'Xor "^^"');
10851
- var Xor$1 = $S($EXPECT($L89, fail, 'Xor "xor"'), NonIdContinue);
10925
+ var Xor$0 = $EXPECT($L89, fail, 'Xor "^^"');
10926
+ var Xor$1 = $S($EXPECT($L90, fail, 'Xor "xor"'), NonIdContinue);
10852
10927
  function Xor(state) {
10853
10928
  let eventData;
10854
10929
  if (state.events) {
@@ -10872,7 +10947,7 @@ ${input.slice(result.pos)}
10872
10947
  }
10873
10948
  }
10874
10949
  var Xnor$0 = $R$0($EXPECT($R8, fail, "Xnor /!\\^\\^?/"));
10875
- var Xnor$1 = $EXPECT($L90, fail, 'Xnor "xnor"');
10950
+ var Xnor$1 = $EXPECT($L91, fail, 'Xnor "xnor"');
10876
10951
  function Xnor(state) {
10877
10952
  let eventData;
10878
10953
  if (state.events) {
@@ -10895,12 +10970,12 @@ ${input.slice(result.pos)}
10895
10970
  return result;
10896
10971
  }
10897
10972
  }
10898
- var UnaryOp$0 = $TR($EXPECT($R9, fail, "UnaryOp /(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10973
+ var UnaryOp$0 = $TR($EXPECT($R9, fail, "UnaryOp /(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*[&.])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10899
10974
  return { $loc, token: $0 };
10900
10975
  });
10901
10976
  var UnaryOp$1 = AwaitOp;
10902
- var UnaryOp$2 = $S($C(Delete, Void, Typeof), $N($EXPECT($L11, fail, 'UnaryOp ":"')), $E(_));
10903
- var UnaryOp$3 = $T($S(Not, $E($EXPECT($L10, fail, 'UnaryOp " "')), $E(_)), function(value) {
10977
+ var UnaryOp$2 = $S($C(Delete, Void, Typeof), $N($EXPECT($L12, fail, 'UnaryOp ":"')), $E(_));
10978
+ var UnaryOp$3 = $T($S(Not, $E($EXPECT($L11, fail, 'UnaryOp " "')), $E(_)), function(value) {
10904
10979
  return [value[0], value[2]];
10905
10980
  });
10906
10981
  function UnaryOp(state) {
@@ -11160,7 +11235,7 @@ ${input.slice(result.pos)}
11160
11235
  return result;
11161
11236
  }
11162
11237
  }
11163
- var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L100, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
11238
+ var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L101, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
11164
11239
  return { type: "EmptyStatement", children: $1 || [] };
11165
11240
  });
11166
11241
  function EmptyStatement(state) {
@@ -11185,7 +11260,7 @@ ${input.slice(result.pos)}
11185
11260
  return result;
11186
11261
  }
11187
11262
  }
11188
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L2, fail, 'BlockStatement "="')))), function(value) {
11263
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L3, fail, 'BlockStatement "="')))), function(value) {
11189
11264
  return value[0];
11190
11265
  });
11191
11266
  function BlockStatement(state) {
@@ -11239,7 +11314,7 @@ ${input.slice(result.pos)}
11239
11314
  var w = $3;
11240
11315
  return [id, colon, w];
11241
11316
  });
11242
- var Label$1 = $S($EXPECT($L101, fail, 'Label "$:"'), Whitespace);
11317
+ var Label$1 = $S($EXPECT($L102, fail, 'Label "$:"'), Whitespace);
11243
11318
  function Label(state) {
11244
11319
  let eventData;
11245
11320
  if (state.events) {
@@ -11384,6 +11459,8 @@ ${input.slice(result.pos)}
11384
11459
  var kind = $1;
11385
11460
  var condition = $2;
11386
11461
  kind = { ...kind, token: "if" };
11462
+ kind.token += getTrimmingSpace(condition);
11463
+ condition = insertTrimmingSpace(condition, "");
11387
11464
  return {
11388
11465
  type: "IfStatement",
11389
11466
  children: [kind, ["(!", condition, ")"]],
@@ -11562,7 +11639,7 @@ ${input.slice(result.pos)}
11562
11639
  children: [$1, exps, $3, $4, $5]
11563
11640
  };
11564
11641
  });
11565
- var ElseExpressionBlock$1 = $T($S($N(EOS), ExpressionWithIndentedApplicationForbidden), function(value) {
11642
+ var ElseExpressionBlock$1 = $T($S($N(EOS), ExpressionWithObjectApplicationForbidden), function(value) {
11566
11643
  return value[1];
11567
11644
  });
11568
11645
  function ElseExpressionBlock(state) {
@@ -12032,7 +12109,7 @@ ${input.slice(result.pos)}
12032
12109
  return result;
12033
12110
  }
12034
12111
  }
12035
- var WhenCondition$0 = $T($S(__, When, ExpressionWithIndentedApplicationForbidden), function(value) {
12112
+ var WhenCondition$0 = $T($S(__, When, ExpressionWithObjectApplicationForbidden), function(value) {
12036
12113
  var exp = value[2];
12037
12114
  return exp;
12038
12115
  });
@@ -12058,7 +12135,7 @@ ${input.slice(result.pos)}
12058
12135
  return result;
12059
12136
  }
12060
12137
  }
12061
- 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) {
12138
+ 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) {
12062
12139
  var open = $2;
12063
12140
  var declaration = $3;
12064
12141
  var index = $4;
@@ -12223,7 +12300,7 @@ ${input.slice(result.pos)}
12223
12300
  return result;
12224
12301
  }
12225
12302
  }
12226
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L102, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
12303
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L103, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
12227
12304
  var own = $1;
12228
12305
  var binding = $2;
12229
12306
  return {
@@ -12269,7 +12346,7 @@ ${input.slice(result.pos)}
12269
12346
  children: $0
12270
12347
  };
12271
12348
  });
12272
- 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) {
12349
+ 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) {
12273
12350
  var open = $2;
12274
12351
  var declaration = $4;
12275
12352
  var op = $6;
@@ -12286,7 +12363,7 @@ ${input.slice(result.pos)}
12286
12363
  children: $0
12287
12364
  };
12288
12365
  });
12289
- 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) {
12366
+ 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) {
12290
12367
  var open = $2;
12291
12368
  var declaration = $3;
12292
12369
  var op = $5;
@@ -12326,14 +12403,14 @@ ${input.slice(result.pos)}
12326
12403
  return result;
12327
12404
  }
12328
12405
  }
12329
- 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) {
12406
+ 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) {
12330
12407
  var open = $2;
12331
12408
  var exp = $4;
12332
12409
  var step = $6;
12333
12410
  var close = $7;
12334
12411
  return forRange(open, null, exp, step, close);
12335
12412
  });
12336
- 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) {
12413
+ 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) {
12337
12414
  var open = $2;
12338
12415
  var exp = $4;
12339
12416
  var step = $6;
@@ -12789,7 +12866,7 @@ ${input.slice(result.pos)}
12789
12866
  return result;
12790
12867
  }
12791
12868
  }
12792
- 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) {
12869
+ 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) {
12793
12870
  var first = $2;
12794
12871
  var rest = $3;
12795
12872
  if (!first)
@@ -12851,7 +12928,7 @@ ${input.slice(result.pos)}
12851
12928
  return result;
12852
12929
  }
12853
12930
  }
12854
- 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) {
12931
+ 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) {
12855
12932
  var t = $1;
12856
12933
  var b = $3;
12857
12934
  var c = $4;
@@ -13055,7 +13132,7 @@ ${input.slice(result.pos)}
13055
13132
  expression
13056
13133
  };
13057
13134
  });
13058
- var Condition$3 = $TS($S(InsertOpenParen, ExpressionWithIndentedApplicationForbidden, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
13135
+ var Condition$3 = $TS($S(InsertOpenParen, ExpressionWithObjectApplicationForbidden, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
13059
13136
  var open = $1;
13060
13137
  var expression = $2;
13061
13138
  var close = $3;
@@ -13162,6 +13239,34 @@ ${input.slice(result.pos)}
13162
13239
  return result;
13163
13240
  }
13164
13241
  }
13242
+ var ExpressionWithObjectApplicationForbidden$0 = $TS($S(ForbidBracedApplication, ForbidIndentedApplication, ForbidNewlineBinaryOp, $E(ExtendedExpression), RestoreNewlineBinaryOp, RestoreBracedApplication, RestoreIndentedApplication), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
13243
+ var exp = $4;
13244
+ if (exp)
13245
+ return exp;
13246
+ return $skip;
13247
+ });
13248
+ function ExpressionWithObjectApplicationForbidden(state) {
13249
+ let eventData;
13250
+ if (state.events) {
13251
+ const result = state.events.enter?.("ExpressionWithObjectApplicationForbidden", state);
13252
+ if (result) {
13253
+ if (result.cache)
13254
+ return result.cache;
13255
+ eventData = result.data;
13256
+ }
13257
+ }
13258
+ if (state.tokenize) {
13259
+ const result = $TOKEN("ExpressionWithObjectApplicationForbidden", state, ExpressionWithObjectApplicationForbidden$0(state));
13260
+ if (state.events)
13261
+ state.events.exit?.("ExpressionWithObjectApplicationForbidden", state, result, eventData);
13262
+ return result;
13263
+ } else {
13264
+ const result = ExpressionWithObjectApplicationForbidden$0(state);
13265
+ if (state.events)
13266
+ state.events.exit?.("ExpressionWithObjectApplicationForbidden", state, result, eventData);
13267
+ return result;
13268
+ }
13269
+ }
13165
13270
  var ForbidClassImplicitCall$0 = $TV($EXPECT($L0, fail, 'ForbidClassImplicitCall ""'), function($skip, $loc, $0, $1) {
13166
13271
  module2.forbidClassImplicitCall.push(true);
13167
13272
  });
@@ -13264,6 +13369,111 @@ ${input.slice(result.pos)}
13264
13369
  return result;
13265
13370
  }
13266
13371
  }
13372
+ var ForbidBracedApplication$0 = $TV($EXPECT($L0, fail, 'ForbidBracedApplication ""'), function($skip, $loc, $0, $1) {
13373
+ module2.forbidBracedApplication.push(true);
13374
+ });
13375
+ function ForbidBracedApplication(state) {
13376
+ let eventData;
13377
+ if (state.events) {
13378
+ const result = state.events.enter?.("ForbidBracedApplication", state);
13379
+ if (result) {
13380
+ if (result.cache)
13381
+ return result.cache;
13382
+ eventData = result.data;
13383
+ }
13384
+ }
13385
+ if (state.tokenize) {
13386
+ const result = $TOKEN("ForbidBracedApplication", state, ForbidBracedApplication$0(state));
13387
+ if (state.events)
13388
+ state.events.exit?.("ForbidBracedApplication", state, result, eventData);
13389
+ return result;
13390
+ } else {
13391
+ const result = ForbidBracedApplication$0(state);
13392
+ if (state.events)
13393
+ state.events.exit?.("ForbidBracedApplication", state, result, eventData);
13394
+ return result;
13395
+ }
13396
+ }
13397
+ var AllowBracedApplication$0 = $TV($EXPECT($L0, fail, 'AllowBracedApplication ""'), function($skip, $loc, $0, $1) {
13398
+ module2.forbidBracedApplication.push(false);
13399
+ });
13400
+ function AllowBracedApplication(state) {
13401
+ let eventData;
13402
+ if (state.events) {
13403
+ const result = state.events.enter?.("AllowBracedApplication", state);
13404
+ if (result) {
13405
+ if (result.cache)
13406
+ return result.cache;
13407
+ eventData = result.data;
13408
+ }
13409
+ }
13410
+ if (state.tokenize) {
13411
+ const result = $TOKEN("AllowBracedApplication", state, AllowBracedApplication$0(state));
13412
+ if (state.events)
13413
+ state.events.exit?.("AllowBracedApplication", state, result, eventData);
13414
+ return result;
13415
+ } else {
13416
+ const result = AllowBracedApplication$0(state);
13417
+ if (state.events)
13418
+ state.events.exit?.("AllowBracedApplication", state, result, eventData);
13419
+ return result;
13420
+ }
13421
+ }
13422
+ var RestoreBracedApplication$0 = $TV($EXPECT($L0, fail, 'RestoreBracedApplication ""'), function($skip, $loc, $0, $1) {
13423
+ module2.forbidBracedApplication.pop();
13424
+ });
13425
+ function RestoreBracedApplication(state) {
13426
+ let eventData;
13427
+ if (state.events) {
13428
+ const result = state.events.enter?.("RestoreBracedApplication", state);
13429
+ if (result) {
13430
+ if (result.cache)
13431
+ return result.cache;
13432
+ eventData = result.data;
13433
+ }
13434
+ }
13435
+ if (state.tokenize) {
13436
+ const result = $TOKEN("RestoreBracedApplication", state, RestoreBracedApplication$0(state));
13437
+ if (state.events)
13438
+ state.events.exit?.("RestoreBracedApplication", state, result, eventData);
13439
+ return result;
13440
+ } else {
13441
+ const result = RestoreBracedApplication$0(state);
13442
+ if (state.events)
13443
+ state.events.exit?.("RestoreBracedApplication", state, result, eventData);
13444
+ return result;
13445
+ }
13446
+ }
13447
+ var BracedApplicationAllowed$0 = $TV($EXPECT($L0, fail, 'BracedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
13448
+ if (module2.config.verbose) {
13449
+ console.log("forbidBracedApplication:", module2.forbidBracedApplication);
13450
+ }
13451
+ if (module2.bracedApplicationForbidden)
13452
+ return $skip;
13453
+ return;
13454
+ });
13455
+ function BracedApplicationAllowed(state) {
13456
+ let eventData;
13457
+ if (state.events) {
13458
+ const result = state.events.enter?.("BracedApplicationAllowed", state);
13459
+ if (result) {
13460
+ if (result.cache)
13461
+ return result.cache;
13462
+ eventData = result.data;
13463
+ }
13464
+ }
13465
+ if (state.tokenize) {
13466
+ const result = $TOKEN("BracedApplicationAllowed", state, BracedApplicationAllowed$0(state));
13467
+ if (state.events)
13468
+ state.events.exit?.("BracedApplicationAllowed", state, result, eventData);
13469
+ return result;
13470
+ } else {
13471
+ const result = BracedApplicationAllowed$0(state);
13472
+ if (state.events)
13473
+ state.events.exit?.("BracedApplicationAllowed", state, result, eventData);
13474
+ return result;
13475
+ }
13476
+ }
13267
13477
  var ForbidIndentedApplication$0 = $TV($EXPECT($L0, fail, 'ForbidIndentedApplication ""'), function($skip, $loc, $0, $1) {
13268
13478
  module2.forbidIndentedApplication.push(true);
13269
13479
  });
@@ -13681,7 +13891,7 @@ ${input.slice(result.pos)}
13681
13891
  return result;
13682
13892
  }
13683
13893
  }
13684
- var AllowAll$0 = $S(AllowTrailingMemberProperty, AllowIndentedApplication, AllowMultiLineImplicitObjectLiteral, AllowClassImplicitCall, AllowNewlineBinaryOp);
13894
+ var AllowAll$0 = $S(AllowTrailingMemberProperty, AllowBracedApplication, AllowIndentedApplication, AllowMultiLineImplicitObjectLiteral, AllowClassImplicitCall, AllowNewlineBinaryOp);
13685
13895
  function AllowAll(state) {
13686
13896
  let eventData;
13687
13897
  if (state.events) {
@@ -13704,7 +13914,7 @@ ${input.slice(result.pos)}
13704
13914
  return result;
13705
13915
  }
13706
13916
  }
13707
- var RestoreAll$0 = $S(RestoreTrailingMemberProperty, RestoreIndentedApplication, RestoreMultiLineImplicitObjectLiteral, RestoreClassImplicitCall, RestoreNewlineBinaryOp);
13917
+ var RestoreAll$0 = $S(RestoreTrailingMemberProperty, RestoreBracedApplication, RestoreIndentedApplication, RestoreMultiLineImplicitObjectLiteral, RestoreClassImplicitCall, RestoreNewlineBinaryOp);
13708
13918
  function RestoreAll(state) {
13709
13919
  let eventData;
13710
13920
  if (state.events) {
@@ -13766,7 +13976,7 @@ ${input.slice(result.pos)}
13766
13976
  var KeywordStatement$2 = $T($S(Debugger), function(value) {
13767
13977
  return { "type": "DebuggerStatement", "children": value };
13768
13978
  });
13769
- var KeywordStatement$3 = $T($S(Return, $N($C($EXPECT($L11, fail, 'KeywordStatement ":"'), $EXPECT($L5, fail, 'KeywordStatement "."'), AfterReturnShorthand)), $E(MaybeNestedExpression)), function(value) {
13979
+ var KeywordStatement$3 = $T($S(Return, $N($C($EXPECT($L12, fail, 'KeywordStatement ":"'), $EXPECT($L6, fail, 'KeywordStatement "."'), AfterReturnShorthand)), $E(MaybeNestedExpression)), function(value) {
13770
13980
  var expression = value[2];
13771
13981
  return { "type": "ReturnStatement", "expression": expression, "children": value };
13772
13982
  });
@@ -13795,7 +14005,7 @@ ${input.slice(result.pos)}
13795
14005
  return result;
13796
14006
  }
13797
14007
  }
13798
- var Break$0 = $TS($S($EXPECT($L103, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14008
+ var Break$0 = $TS($S($EXPECT($L104, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13799
14009
  return { $loc, token: $1 };
13800
14010
  });
13801
14011
  function Break(state) {
@@ -13820,7 +14030,7 @@ ${input.slice(result.pos)}
13820
14030
  return result;
13821
14031
  }
13822
14032
  }
13823
- var Continue$0 = $TS($S($EXPECT($L104, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14033
+ var Continue$0 = $TS($S($EXPECT($L105, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13824
14034
  return { $loc, token: $1 };
13825
14035
  });
13826
14036
  function Continue(state) {
@@ -13845,7 +14055,7 @@ ${input.slice(result.pos)}
13845
14055
  return result;
13846
14056
  }
13847
14057
  }
13848
- var Debugger$0 = $TS($S($EXPECT($L105, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14058
+ var Debugger$0 = $TS($S($EXPECT($L106, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13849
14059
  return { $loc, token: $1 };
13850
14060
  });
13851
14061
  function Debugger(state) {
@@ -14151,7 +14361,7 @@ ${input.slice(result.pos)}
14151
14361
  return result;
14152
14362
  }
14153
14363
  }
14154
- var ImportAssertion$0 = $S($E(_), $EXPECT($L106, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
14364
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L107, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
14155
14365
  function ImportAssertion(state) {
14156
14366
  let eventData;
14157
14367
  if (state.events) {
@@ -14254,7 +14464,7 @@ ${input.slice(result.pos)}
14254
14464
  }
14255
14465
  }
14256
14466
  var ImportAsToken$0 = $S(__, As);
14257
- var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L10, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
14467
+ var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L11, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
14258
14468
  var l = $1;
14259
14469
  var ws = $2;
14260
14470
  var c = $3;
@@ -14723,7 +14933,7 @@ ${input.slice(result.pos)}
14723
14933
  return result;
14724
14934
  }
14725
14935
  }
14726
- var ConstAssignment$0 = $TV($C($EXPECT($L107, fail, 'ConstAssignment ":="'), $EXPECT($L108, fail, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
14936
+ var ConstAssignment$0 = $TV($C($EXPECT($L108, fail, 'ConstAssignment ":="'), $EXPECT($L109, fail, 'ConstAssignment "\u2254"')), function($skip, $loc, $0, $1) {
14727
14937
  return { $loc, token: "=" };
14728
14938
  });
14729
14939
  function ConstAssignment(state) {
@@ -14748,7 +14958,7 @@ ${input.slice(result.pos)}
14748
14958
  return result;
14749
14959
  }
14750
14960
  }
14751
- var LetAssignment$0 = $TV($EXPECT($L109, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
14961
+ var LetAssignment$0 = $TV($EXPECT($L110, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
14752
14962
  return { $loc, token: "=" };
14753
14963
  });
14754
14964
  function LetAssignment(state) {
@@ -15455,7 +15665,7 @@ ${input.slice(result.pos)}
15455
15665
  }
15456
15666
  }
15457
15667
  var RegularExpressionLiteral$0 = HeregexLiteral;
15458
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L55, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L55, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
15668
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L56, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L56, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
15459
15669
  return { type: "RegularExpressionLiteral", $loc, token: $1 };
15460
15670
  });
15461
15671
  function RegularExpressionLiteral(state) {
@@ -16022,7 +16232,7 @@ ${input.slice(result.pos)}
16022
16232
  return result;
16023
16233
  }
16024
16234
  }
16025
- 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) {
16235
+ 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) {
16026
16236
  return { type: "Comment", $loc, token: $1 };
16027
16237
  });
16028
16238
  function JSMultiLineComment(state) {
@@ -16121,7 +16331,7 @@ ${input.slice(result.pos)}
16121
16331
  return result;
16122
16332
  }
16123
16333
  }
16124
- 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) {
16334
+ 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) {
16125
16335
  return { $loc, token: $1 };
16126
16336
  });
16127
16337
  function InlineComment(state) {
@@ -16218,7 +16428,7 @@ ${input.slice(result.pos)}
16218
16428
  var NonNewlineWhitespace$0 = $TR($EXPECT($R47, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16219
16429
  return { $loc, token: $0 };
16220
16430
  });
16221
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L112, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
16431
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L113, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
16222
16432
  return "";
16223
16433
  });
16224
16434
  function NonNewlineWhitespace(state) {
@@ -16370,7 +16580,7 @@ ${input.slice(result.pos)}
16370
16580
  }
16371
16581
  }
16372
16582
  var StatementDelimiter$0 = SemicolonDelimiter;
16373
- 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);
16583
+ 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);
16374
16584
  var StatementDelimiter$2 = $Y(EOS);
16375
16585
  function StatementDelimiter(state) {
16376
16586
  let eventData;
@@ -16470,7 +16680,7 @@ ${input.slice(result.pos)}
16470
16680
  return result;
16471
16681
  }
16472
16682
  }
16473
- var Abstract$0 = $TV($TEXT($S($EXPECT($L115, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L10, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
16683
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L116, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L11, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
16474
16684
  return { $loc, token: $1, ts: true };
16475
16685
  });
16476
16686
  function Abstract(state) {
@@ -16495,7 +16705,7 @@ ${input.slice(result.pos)}
16495
16705
  return result;
16496
16706
  }
16497
16707
  }
16498
- var Ampersand$0 = $TV($EXPECT($L98, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
16708
+ var Ampersand$0 = $TV($EXPECT($L99, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
16499
16709
  return { $loc, token: $1 };
16500
16710
  });
16501
16711
  function Ampersand(state) {
@@ -16520,7 +16730,7 @@ ${input.slice(result.pos)}
16520
16730
  return result;
16521
16731
  }
16522
16732
  }
16523
- var As$0 = $TS($S($EXPECT($L116, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16733
+ var As$0 = $TS($S($EXPECT($L117, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16524
16734
  return { $loc, token: $1 };
16525
16735
  });
16526
16736
  function As(state) {
@@ -16545,7 +16755,7 @@ ${input.slice(result.pos)}
16545
16755
  return result;
16546
16756
  }
16547
16757
  }
16548
- var At$0 = $TV($EXPECT($L117, fail, 'At "@"'), function($skip, $loc, $0, $1) {
16758
+ var At$0 = $TV($EXPECT($L118, fail, 'At "@"'), function($skip, $loc, $0, $1) {
16549
16759
  return { $loc, token: $1 };
16550
16760
  });
16551
16761
  function At(state) {
@@ -16570,7 +16780,7 @@ ${input.slice(result.pos)}
16570
16780
  return result;
16571
16781
  }
16572
16782
  }
16573
- var AtAt$0 = $TV($EXPECT($L118, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
16783
+ var AtAt$0 = $TV($EXPECT($L119, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
16574
16784
  return { $loc, token: "@" };
16575
16785
  });
16576
16786
  function AtAt(state) {
@@ -16595,7 +16805,7 @@ ${input.slice(result.pos)}
16595
16805
  return result;
16596
16806
  }
16597
16807
  }
16598
- var Async$0 = $TS($S($EXPECT($L119, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16808
+ var Async$0 = $TS($S($EXPECT($L120, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16599
16809
  return { $loc, token: $1, type: "Async" };
16600
16810
  });
16601
16811
  function Async(state) {
@@ -16620,7 +16830,7 @@ ${input.slice(result.pos)}
16620
16830
  return result;
16621
16831
  }
16622
16832
  }
16623
- var Await$0 = $TS($S($EXPECT($L120, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16833
+ var Await$0 = $TS($S($EXPECT($L121, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16624
16834
  return { $loc, token: $1, type: "Await" };
16625
16835
  });
16626
16836
  function Await(state) {
@@ -16645,7 +16855,7 @@ ${input.slice(result.pos)}
16645
16855
  return result;
16646
16856
  }
16647
16857
  }
16648
- var Backtick$0 = $TV($EXPECT($L114, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
16858
+ var Backtick$0 = $TV($EXPECT($L115, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
16649
16859
  return { $loc, token: $1 };
16650
16860
  });
16651
16861
  function Backtick(state) {
@@ -16670,7 +16880,7 @@ ${input.slice(result.pos)}
16670
16880
  return result;
16671
16881
  }
16672
16882
  }
16673
- var By$0 = $TS($S($EXPECT($L121, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16883
+ var By$0 = $TS($S($EXPECT($L122, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16674
16884
  return { $loc, token: $1 };
16675
16885
  });
16676
16886
  function By(state) {
@@ -16695,7 +16905,7 @@ ${input.slice(result.pos)}
16695
16905
  return result;
16696
16906
  }
16697
16907
  }
16698
- var Case$0 = $TS($S($EXPECT($L122, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16908
+ var Case$0 = $TS($S($EXPECT($L123, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16699
16909
  return { $loc, token: $1 };
16700
16910
  });
16701
16911
  function Case(state) {
@@ -16720,7 +16930,7 @@ ${input.slice(result.pos)}
16720
16930
  return result;
16721
16931
  }
16722
16932
  }
16723
- var Catch$0 = $TS($S($EXPECT($L123, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16933
+ var Catch$0 = $TS($S($EXPECT($L124, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16724
16934
  return { $loc, token: $1 };
16725
16935
  });
16726
16936
  function Catch(state) {
@@ -16745,7 +16955,7 @@ ${input.slice(result.pos)}
16745
16955
  return result;
16746
16956
  }
16747
16957
  }
16748
- var Class$0 = $TS($S($EXPECT($L124, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16958
+ var Class$0 = $TS($S($EXPECT($L125, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16749
16959
  return { $loc, token: $1 };
16750
16960
  });
16751
16961
  function Class(state) {
@@ -16770,7 +16980,7 @@ ${input.slice(result.pos)}
16770
16980
  return result;
16771
16981
  }
16772
16982
  }
16773
- var CloseBrace$0 = $TV($EXPECT($L25, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
16983
+ var CloseBrace$0 = $TV($EXPECT($L26, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
16774
16984
  return { $loc, token: $1 };
16775
16985
  });
16776
16986
  function CloseBrace(state) {
@@ -16795,7 +17005,7 @@ ${input.slice(result.pos)}
16795
17005
  return result;
16796
17006
  }
16797
17007
  }
16798
- var CloseBracket$0 = $TV($EXPECT($L34, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
17008
+ var CloseBracket$0 = $TV($EXPECT($L35, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
16799
17009
  return { $loc, token: $1 };
16800
17010
  });
16801
17011
  function CloseBracket(state) {
@@ -16820,7 +17030,7 @@ ${input.slice(result.pos)}
16820
17030
  return result;
16821
17031
  }
16822
17032
  }
16823
- var CloseParen$0 = $TV($EXPECT($L125, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
17033
+ var CloseParen$0 = $TV($EXPECT($L126, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
16824
17034
  return { $loc, token: $1 };
16825
17035
  });
16826
17036
  function CloseParen(state) {
@@ -16845,7 +17055,7 @@ ${input.slice(result.pos)}
16845
17055
  return result;
16846
17056
  }
16847
17057
  }
16848
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L126, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
17058
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L127, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
16849
17059
  return { $loc, token: "${" };
16850
17060
  });
16851
17061
  function CoffeeSubstitutionStart(state) {
@@ -16870,7 +17080,7 @@ ${input.slice(result.pos)}
16870
17080
  return result;
16871
17081
  }
16872
17082
  }
16873
- var Colon$0 = $TS($S($EXPECT($L11, fail, 'Colon ":"'), $N($EXPECT($L2, fail, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
17083
+ var Colon$0 = $TS($S($EXPECT($L12, fail, 'Colon ":"'), $N($EXPECT($L3, fail, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
16874
17084
  return { $loc, token: $1 };
16875
17085
  });
16876
17086
  function Colon(state) {
@@ -16895,7 +17105,7 @@ ${input.slice(result.pos)}
16895
17105
  return result;
16896
17106
  }
16897
17107
  }
16898
- var Comma$0 = $TV($EXPECT($L22, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
17108
+ var Comma$0 = $TV($EXPECT($L23, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
16899
17109
  return { $loc, token: $1 };
16900
17110
  });
16901
17111
  function Comma(state) {
@@ -16920,7 +17130,7 @@ ${input.slice(result.pos)}
16920
17130
  return result;
16921
17131
  }
16922
17132
  }
16923
- var ConstructorShorthand$0 = $TV($EXPECT($L117, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
17133
+ var ConstructorShorthand$0 = $TV($EXPECT($L118, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
16924
17134
  return { $loc, token: "constructor" };
16925
17135
  });
16926
17136
  function ConstructorShorthand(state) {
@@ -16945,7 +17155,7 @@ ${input.slice(result.pos)}
16945
17155
  return result;
16946
17156
  }
16947
17157
  }
16948
- var Declare$0 = $TS($S($EXPECT($L127, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17158
+ var Declare$0 = $TS($S($EXPECT($L128, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16949
17159
  return { $loc, token: $1 };
16950
17160
  });
16951
17161
  function Declare(state) {
@@ -16970,7 +17180,7 @@ ${input.slice(result.pos)}
16970
17180
  return result;
16971
17181
  }
16972
17182
  }
16973
- var Default$0 = $TS($S($EXPECT($L128, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17183
+ var Default$0 = $TS($S($EXPECT($L129, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16974
17184
  return { $loc, token: $1 };
16975
17185
  });
16976
17186
  function Default(state) {
@@ -16995,7 +17205,7 @@ ${input.slice(result.pos)}
16995
17205
  return result;
16996
17206
  }
16997
17207
  }
16998
- var Delete$0 = $TS($S($EXPECT($L129, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17208
+ var Delete$0 = $TS($S($EXPECT($L130, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16999
17209
  return { $loc, token: $1 };
17000
17210
  });
17001
17211
  function Delete(state) {
@@ -17020,7 +17230,7 @@ ${input.slice(result.pos)}
17020
17230
  return result;
17021
17231
  }
17022
17232
  }
17023
- var Do$0 = $TS($S($EXPECT($L130, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17233
+ var Do$0 = $TS($S($EXPECT($L131, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17024
17234
  return { $loc, token: $1 };
17025
17235
  });
17026
17236
  function Do(state) {
@@ -17045,7 +17255,7 @@ ${input.slice(result.pos)}
17045
17255
  return result;
17046
17256
  }
17047
17257
  }
17048
- var Dot$0 = $TV($EXPECT($L5, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
17258
+ var Dot$0 = $TV($EXPECT($L6, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
17049
17259
  return { $loc, token: $1 };
17050
17260
  });
17051
17261
  function Dot(state) {
@@ -17070,10 +17280,10 @@ ${input.slice(result.pos)}
17070
17280
  return result;
17071
17281
  }
17072
17282
  }
17073
- var DotDot$0 = $TS($S($EXPECT($L131, fail, 'DotDot ".."'), $N($EXPECT($L5, fail, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
17283
+ var DotDot$0 = $TS($S($EXPECT($L132, fail, 'DotDot ".."'), $N($EXPECT($L6, fail, 'DotDot "."'))), function($skip, $loc, $0, $1, $2) {
17074
17284
  return { $loc, token: $1 };
17075
17285
  });
17076
- var DotDot$1 = $TV($EXPECT($L132, fail, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
17286
+ var DotDot$1 = $TV($EXPECT($L133, fail, 'DotDot "\u2025"'), function($skip, $loc, $0, $1) {
17077
17287
  return { $loc, token: ".." };
17078
17288
  });
17079
17289
  function DotDot(state) {
@@ -17098,10 +17308,10 @@ ${input.slice(result.pos)}
17098
17308
  return result;
17099
17309
  }
17100
17310
  }
17101
- var DotDotDot$0 = $TV($EXPECT($L133, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
17311
+ var DotDotDot$0 = $TV($EXPECT($L134, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
17102
17312
  return { $loc, token: $1 };
17103
17313
  });
17104
- var DotDotDot$1 = $TV($EXPECT($L134, fail, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
17314
+ var DotDotDot$1 = $TV($EXPECT($L135, fail, 'DotDotDot "\u2026"'), function($skip, $loc, $0, $1) {
17105
17315
  return { $loc, token: "..." };
17106
17316
  });
17107
17317
  function DotDotDot(state) {
@@ -17126,7 +17336,7 @@ ${input.slice(result.pos)}
17126
17336
  return result;
17127
17337
  }
17128
17338
  }
17129
- var DoubleColon$0 = $TV($EXPECT($L135, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
17339
+ var DoubleColon$0 = $TV($EXPECT($L136, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
17130
17340
  return { $loc, token: $1 };
17131
17341
  });
17132
17342
  function DoubleColon(state) {
@@ -17151,7 +17361,7 @@ ${input.slice(result.pos)}
17151
17361
  return result;
17152
17362
  }
17153
17363
  }
17154
- var DoubleQuote$0 = $TV($EXPECT($L136, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
17364
+ var DoubleQuote$0 = $TV($EXPECT($L137, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
17155
17365
  return { $loc, token: $1 };
17156
17366
  });
17157
17367
  function DoubleQuote(state) {
@@ -17176,7 +17386,7 @@ ${input.slice(result.pos)}
17176
17386
  return result;
17177
17387
  }
17178
17388
  }
17179
- var Else$0 = $TS($S($EXPECT($L137, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17389
+ var Else$0 = $TS($S($EXPECT($L138, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17180
17390
  return { $loc, token: $1 };
17181
17391
  });
17182
17392
  function Else(state) {
@@ -17201,7 +17411,7 @@ ${input.slice(result.pos)}
17201
17411
  return result;
17202
17412
  }
17203
17413
  }
17204
- var Equals$0 = $TV($EXPECT($L2, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
17414
+ var Equals$0 = $TV($EXPECT($L3, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
17205
17415
  return { $loc, token: $1 };
17206
17416
  });
17207
17417
  function Equals(state) {
@@ -17226,7 +17436,7 @@ ${input.slice(result.pos)}
17226
17436
  return result;
17227
17437
  }
17228
17438
  }
17229
- var Export$0 = $TS($S($EXPECT($L138, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17439
+ var Export$0 = $TS($S($EXPECT($L139, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17230
17440
  return { $loc, token: $1 };
17231
17441
  });
17232
17442
  function Export(state) {
@@ -17251,7 +17461,7 @@ ${input.slice(result.pos)}
17251
17461
  return result;
17252
17462
  }
17253
17463
  }
17254
- var Extends$0 = $TS($S($EXPECT($L139, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17464
+ var Extends$0 = $TS($S($EXPECT($L140, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17255
17465
  return { $loc, token: $1 };
17256
17466
  });
17257
17467
  function Extends(state) {
@@ -17276,7 +17486,7 @@ ${input.slice(result.pos)}
17276
17486
  return result;
17277
17487
  }
17278
17488
  }
17279
- var Finally$0 = $TS($S($EXPECT($L140, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17489
+ var Finally$0 = $TS($S($EXPECT($L141, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17280
17490
  return { $loc, token: $1 };
17281
17491
  });
17282
17492
  function Finally(state) {
@@ -17301,7 +17511,7 @@ ${input.slice(result.pos)}
17301
17511
  return result;
17302
17512
  }
17303
17513
  }
17304
- var For$0 = $TS($S($EXPECT($L141, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17514
+ var For$0 = $TS($S($EXPECT($L142, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17305
17515
  return { $loc, token: $1 };
17306
17516
  });
17307
17517
  function For(state) {
@@ -17326,7 +17536,7 @@ ${input.slice(result.pos)}
17326
17536
  return result;
17327
17537
  }
17328
17538
  }
17329
- var From$0 = $TS($S($EXPECT($L142, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17539
+ var From$0 = $TS($S($EXPECT($L143, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17330
17540
  return { $loc, token: $1 };
17331
17541
  });
17332
17542
  function From(state) {
@@ -17351,7 +17561,7 @@ ${input.slice(result.pos)}
17351
17561
  return result;
17352
17562
  }
17353
17563
  }
17354
- var Function$0 = $TS($S($EXPECT($L143, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17564
+ var Function$0 = $TS($S($EXPECT($L144, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17355
17565
  return { $loc, token: $1 };
17356
17566
  });
17357
17567
  function Function(state) {
@@ -17376,7 +17586,7 @@ ${input.slice(result.pos)}
17376
17586
  return result;
17377
17587
  }
17378
17588
  }
17379
- var GetOrSet$0 = $TS($S($C($EXPECT($L144, fail, 'GetOrSet "get"'), $EXPECT($L145, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17589
+ var GetOrSet$0 = $TS($S($C($EXPECT($L145, fail, 'GetOrSet "get"'), $EXPECT($L146, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17380
17590
  return { $loc, token: $1, type: "GetOrSet" };
17381
17591
  });
17382
17592
  function GetOrSet(state) {
@@ -17401,7 +17611,7 @@ ${input.slice(result.pos)}
17401
17611
  return result;
17402
17612
  }
17403
17613
  }
17404
- var If$0 = $TV($TEXT($S($EXPECT($L146, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L10, fail, 'If " "')))), function($skip, $loc, $0, $1) {
17614
+ var If$0 = $TV($TEXT($S($EXPECT($L147, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L11, fail, 'If " "')))), function($skip, $loc, $0, $1) {
17405
17615
  return { $loc, token: $1 };
17406
17616
  });
17407
17617
  function If(state) {
@@ -17426,7 +17636,7 @@ ${input.slice(result.pos)}
17426
17636
  return result;
17427
17637
  }
17428
17638
  }
17429
- var Import$0 = $TS($S($EXPECT($L16, fail, 'Import "import"'), $Y($EXPECT($R49, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
17639
+ var Import$0 = $TS($S($EXPECT($L17, fail, 'Import "import"'), $Y($EXPECT($R49, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
17430
17640
  return { $loc, token: $1 };
17431
17641
  });
17432
17642
  function Import(state) {
@@ -17451,7 +17661,7 @@ ${input.slice(result.pos)}
17451
17661
  return result;
17452
17662
  }
17453
17663
  }
17454
- var In$0 = $TS($S($EXPECT($L147, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17664
+ var In$0 = $TS($S($EXPECT($L148, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17455
17665
  return { $loc, token: $1 };
17456
17666
  });
17457
17667
  function In(state) {
@@ -17476,7 +17686,7 @@ ${input.slice(result.pos)}
17476
17686
  return result;
17477
17687
  }
17478
17688
  }
17479
- var LetOrConst$0 = $TS($S($C($EXPECT($L148, fail, 'LetOrConst "let"'), $EXPECT($L149, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17689
+ var LetOrConst$0 = $TS($S($C($EXPECT($L149, fail, 'LetOrConst "let"'), $EXPECT($L150, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17480
17690
  return { $loc, token: $1 };
17481
17691
  });
17482
17692
  function LetOrConst(state) {
@@ -17501,7 +17711,7 @@ ${input.slice(result.pos)}
17501
17711
  return result;
17502
17712
  }
17503
17713
  }
17504
- var Const$0 = $TS($S($EXPECT($L149, fail, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17714
+ var Const$0 = $TS($S($EXPECT($L150, fail, 'Const "const"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17505
17715
  return { $loc, token: $1 };
17506
17716
  });
17507
17717
  function Const(state) {
@@ -17526,7 +17736,7 @@ ${input.slice(result.pos)}
17526
17736
  return result;
17527
17737
  }
17528
17738
  }
17529
- var Is$0 = $TS($S($EXPECT($L150, fail, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17739
+ var Is$0 = $TS($S($EXPECT($L151, fail, 'Is "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17530
17740
  return { $loc, token: $1 };
17531
17741
  });
17532
17742
  function Is(state) {
@@ -17575,7 +17785,7 @@ ${input.slice(result.pos)}
17575
17785
  return result;
17576
17786
  }
17577
17787
  }
17578
- var Loop$0 = $TS($S($EXPECT($L151, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17788
+ var Loop$0 = $TS($S($EXPECT($L152, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17579
17789
  return { $loc, token: "while(true)" };
17580
17790
  });
17581
17791
  function Loop(state) {
@@ -17600,7 +17810,7 @@ ${input.slice(result.pos)}
17600
17810
  return result;
17601
17811
  }
17602
17812
  }
17603
- var New$0 = $TS($S($EXPECT($L152, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17813
+ var New$0 = $TS($S($EXPECT($L153, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17604
17814
  return { $loc, token: $1 };
17605
17815
  });
17606
17816
  function New(state) {
@@ -17625,7 +17835,7 @@ ${input.slice(result.pos)}
17625
17835
  return result;
17626
17836
  }
17627
17837
  }
17628
- 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) {
17838
+ 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) {
17629
17839
  return { $loc, token: "!" };
17630
17840
  });
17631
17841
  function Not(state) {
@@ -17650,7 +17860,7 @@ ${input.slice(result.pos)}
17650
17860
  return result;
17651
17861
  }
17652
17862
  }
17653
- var Of$0 = $TS($S($EXPECT($L84, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17863
+ var Of$0 = $TS($S($EXPECT($L85, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17654
17864
  return { $loc, token: $1 };
17655
17865
  });
17656
17866
  function Of(state) {
@@ -17675,7 +17885,7 @@ ${input.slice(result.pos)}
17675
17885
  return result;
17676
17886
  }
17677
17887
  }
17678
- var OpenAngleBracket$0 = $TV($EXPECT($L154, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
17888
+ var OpenAngleBracket$0 = $TV($EXPECT($L155, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
17679
17889
  return { $loc, token: $1 };
17680
17890
  });
17681
17891
  function OpenAngleBracket(state) {
@@ -17700,7 +17910,7 @@ ${input.slice(result.pos)}
17700
17910
  return result;
17701
17911
  }
17702
17912
  }
17703
- var OpenBrace$0 = $TV($EXPECT($L155, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
17913
+ var OpenBrace$0 = $TV($EXPECT($L1, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
17704
17914
  return { $loc, token: $1 };
17705
17915
  });
17706
17916
  function OpenBrace(state) {
@@ -17725,7 +17935,7 @@ ${input.slice(result.pos)}
17725
17935
  return result;
17726
17936
  }
17727
17937
  }
17728
- var OpenBracket$0 = $TV($EXPECT($L113, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
17938
+ var OpenBracket$0 = $TV($EXPECT($L114, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
17729
17939
  return { $loc, token: $1 };
17730
17940
  });
17731
17941
  function OpenBracket(state) {
@@ -17750,7 +17960,7 @@ ${input.slice(result.pos)}
17750
17960
  return result;
17751
17961
  }
17752
17962
  }
17753
- var OpenParen$0 = $TV($EXPECT($L3, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
17963
+ var OpenParen$0 = $TV($EXPECT($L4, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
17754
17964
  return { $loc, token: $1 };
17755
17965
  });
17756
17966
  function OpenParen(state) {
@@ -17906,7 +18116,7 @@ ${input.slice(result.pos)}
17906
18116
  return result;
17907
18117
  }
17908
18118
  }
17909
- var QuestionMark$0 = $TV($EXPECT($L4, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
18119
+ var QuestionMark$0 = $TV($EXPECT($L5, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
17910
18120
  return { $loc, token: $1 };
17911
18121
  });
17912
18122
  function QuestionMark(state) {
@@ -18006,7 +18216,7 @@ ${input.slice(result.pos)}
18006
18216
  return result;
18007
18217
  }
18008
18218
  }
18009
- var Semicolon$0 = $TV($EXPECT($L100, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
18219
+ var Semicolon$0 = $TV($EXPECT($L101, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
18010
18220
  return { $loc, token: $1 };
18011
18221
  });
18012
18222
  function Semicolon(state) {
@@ -18056,7 +18266,7 @@ ${input.slice(result.pos)}
18056
18266
  return result;
18057
18267
  }
18058
18268
  }
18059
- var Star$0 = $TV($EXPECT($L54, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
18269
+ var Star$0 = $TV($EXPECT($L55, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
18060
18270
  return { $loc, token: $1 };
18061
18271
  });
18062
18272
  function Star(state) {
@@ -18084,7 +18294,7 @@ ${input.slice(result.pos)}
18084
18294
  var Static$0 = $TS($S($EXPECT($L170, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
18085
18295
  return { $loc, token: $1 };
18086
18296
  });
18087
- 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) {
18297
+ 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) {
18088
18298
  return { $loc, token: "static " };
18089
18299
  });
18090
18300
  function Static(state) {
@@ -18704,7 +18914,7 @@ ${input.slice(result.pos)}
18704
18914
  return result;
18705
18915
  }
18706
18916
  }
18707
- 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) {
18917
+ 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) {
18708
18918
  return { type: "JSXElement", children: $0, tag: $2 };
18709
18919
  });
18710
18920
  function JSXSelfClosingElement(state) {
@@ -18780,7 +18990,7 @@ ${input.slice(result.pos)}
18780
18990
  return result;
18781
18991
  }
18782
18992
  }
18783
- var JSXOpeningElement$0 = $S($EXPECT($L154, fail, 'JSXOpeningElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L33, fail, 'JSXOpeningElement ">"'));
18993
+ var JSXOpeningElement$0 = $S($EXPECT($L155, fail, 'JSXOpeningElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L34, fail, 'JSXOpeningElement ">"'));
18784
18994
  function JSXOpeningElement(state) {
18785
18995
  let eventData;
18786
18996
  if (state.events) {
@@ -18832,7 +19042,7 @@ ${input.slice(result.pos)}
18832
19042
  return result;
18833
19043
  }
18834
19044
  }
18835
- var JSXClosingElement$0 = $S($EXPECT($L191, fail, 'JSXClosingElement "</"'), $E(Whitespace), JSXElementName, $E(Whitespace), $EXPECT($L33, fail, 'JSXClosingElement ">"'));
19045
+ var JSXClosingElement$0 = $S($EXPECT($L191, fail, 'JSXClosingElement "</"'), $E(Whitespace), JSXElementName, $E(Whitespace), $EXPECT($L34, fail, 'JSXClosingElement ">"'));
18836
19046
  function JSXClosingElement(state) {
18837
19047
  let eventData;
18838
19048
  if (state.events) {
@@ -18978,7 +19188,7 @@ ${input.slice(result.pos)}
18978
19188
  return result;
18979
19189
  }
18980
19190
  }
18981
- var JSXElementName$0 = $TV($Y($S($C($EXPECT($L14, fail, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
19191
+ var JSXElementName$0 = $TV($Y($S($C($EXPECT($L15, fail, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
18982
19192
  return module2.config.defaultElement;
18983
19193
  });
18984
19194
  var JSXElementName$1 = $TEXT($S(JSXIdentifierName, $C($S(Colon, JSXIdentifierName), $Q($S(Dot, JSXIdentifierName)))));
@@ -19205,7 +19415,7 @@ ${input.slice(result.pos)}
19205
19415
  }
19206
19416
  return $skip;
19207
19417
  });
19208
- var JSXAttribute$5 = $TS($S($EXPECT($L14, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
19418
+ var JSXAttribute$5 = $TS($S($EXPECT($L15, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
19209
19419
  return [" ", "id=", $2];
19210
19420
  });
19211
19421
  var JSXAttribute$6 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -19535,7 +19745,7 @@ ${input.slice(result.pos)}
19535
19745
  return result;
19536
19746
  }
19537
19747
  }
19538
- var InlineJSXCallExpression$0 = $TS($S($EXPECT($L15, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19748
+ var InlineJSXCallExpression$0 = $TS($S($EXPECT($L16, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19539
19749
  var args = $2;
19540
19750
  var rest = $3;
19541
19751
  return processCallMemberExpression({
@@ -19547,7 +19757,7 @@ ${input.slice(result.pos)}
19547
19757
  ]
19548
19758
  });
19549
19759
  });
19550
- var InlineJSXCallExpression$1 = $TS($S($EXPECT($L16, fail, 'InlineJSXCallExpression "import"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19760
+ var InlineJSXCallExpression$1 = $TS($S($EXPECT($L17, fail, 'InlineJSXCallExpression "import"'), ExplicitArguments, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
19551
19761
  var args = $2;
19552
19762
  var rest = $3;
19553
19763
  return processCallMemberExpression({
@@ -19795,7 +20005,7 @@ ${input.slice(result.pos)}
19795
20005
  }
19796
20006
  return $skip;
19797
20007
  });
19798
- var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L25, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
20008
+ var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L26, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
19799
20009
  return { children: [], jsxChildren: [] };
19800
20010
  });
19801
20011
  function JSXNestedChildren(state) {
@@ -21020,27 +21230,54 @@ ${input.slice(result.pos)}
21020
21230
  return result;
21021
21231
  }
21022
21232
  }
21023
- var ReturnTypeSuffix$0 = $TS($S($E(_), Colon, $E($S(__, $EXPECT($L202, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
21024
- var asserts = $3;
21025
- var t = $4;
21233
+ var ReturnTypeSuffix$0 = $TS($S($E(_), Colon, ReturnType), function($skip, $loc, $0, $1, $2, $3) {
21234
+ var t = $3;
21235
+ return { ...t, children: [$1, $2, ...t.children] };
21236
+ });
21237
+ function ReturnTypeSuffix(state) {
21238
+ let eventData;
21239
+ if (state.events) {
21240
+ const result = state.events.enter?.("ReturnTypeSuffix", state);
21241
+ if (result) {
21242
+ if (result.cache)
21243
+ return result.cache;
21244
+ eventData = result.data;
21245
+ }
21246
+ }
21247
+ if (state.tokenize) {
21248
+ const result = $TOKEN("ReturnTypeSuffix", state, ReturnTypeSuffix$0(state));
21249
+ if (state.events)
21250
+ state.events.exit?.("ReturnTypeSuffix", state, result, eventData);
21251
+ return result;
21252
+ } else {
21253
+ const result = ReturnTypeSuffix$0(state);
21254
+ if (state.events)
21255
+ state.events.exit?.("ReturnTypeSuffix", state, result, eventData);
21256
+ return result;
21257
+ }
21258
+ }
21259
+ var ReturnType$0 = $TS($S($E($S(__, $EXPECT($L202, fail, 'ReturnType "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2) {
21260
+ var asserts = $1;
21261
+ var t = $2;
21026
21262
  if (asserts) {
21027
21263
  t = {
21028
21264
  type: "AssertsType",
21029
21265
  t,
21030
- children: [asserts[0], asserts[1], t]
21266
+ children: [asserts[0], asserts[1], t],
21267
+ ts: true
21031
21268
  };
21032
21269
  }
21033
21270
  return {
21034
21271
  type: "ReturnTypeAnnotation",
21035
- children: [$1, $2, t],
21272
+ children: [t],
21036
21273
  t,
21037
21274
  ts: true
21038
21275
  };
21039
21276
  });
21040
- function ReturnTypeSuffix(state) {
21277
+ function ReturnType(state) {
21041
21278
  let eventData;
21042
21279
  if (state.events) {
21043
- const result = state.events.enter?.("ReturnTypeSuffix", state);
21280
+ const result = state.events.enter?.("ReturnType", state);
21044
21281
  if (result) {
21045
21282
  if (result.cache)
21046
21283
  return result.cache;
@@ -21048,18 +21285,18 @@ ${input.slice(result.pos)}
21048
21285
  }
21049
21286
  }
21050
21287
  if (state.tokenize) {
21051
- const result = $TOKEN("ReturnTypeSuffix", state, ReturnTypeSuffix$0(state));
21288
+ const result = $TOKEN("ReturnType", state, ReturnType$0(state));
21052
21289
  if (state.events)
21053
- state.events.exit?.("ReturnTypeSuffix", state, result, eventData);
21290
+ state.events.exit?.("ReturnType", state, result, eventData);
21054
21291
  return result;
21055
21292
  } else {
21056
- const result = ReturnTypeSuffix$0(state);
21293
+ const result = ReturnType$0(state);
21057
21294
  if (state.events)
21058
- state.events.exit?.("ReturnTypeSuffix", state, result, eventData);
21295
+ state.events.exit?.("ReturnType", state, result, eventData);
21059
21296
  return result;
21060
21297
  }
21061
21298
  }
21062
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L150, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
21299
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L151, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
21063
21300
  var lhs = $1;
21064
21301
  var rhs = $2;
21065
21302
  if (!rhs)
@@ -21295,8 +21532,8 @@ ${input.slice(result.pos)}
21295
21532
  return result;
21296
21533
  }
21297
21534
  }
21298
- var ImportType$0 = $S($EXPECT($L16, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
21299
- var ImportType$1 = $S($EXPECT($L16, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
21535
+ var ImportType$0 = $S($EXPECT($L17, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
21536
+ var ImportType$1 = $S($EXPECT($L17, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
21300
21537
  function ImportType(state) {
21301
21538
  let eventData;
21302
21539
  if (state.events) {
@@ -21450,7 +21687,7 @@ ${input.slice(result.pos)}
21450
21687
  return result;
21451
21688
  }
21452
21689
  }
21453
- 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) {
21690
+ 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) {
21454
21691
  if ($2)
21455
21692
  return $0;
21456
21693
  return $1;
@@ -21660,7 +21897,7 @@ ${input.slice(result.pos)}
21660
21897
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
21661
21898
  return value[1];
21662
21899
  });
21663
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L11, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L125, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L34, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L25, fail, 'InlineInterfacePropertyDelimiter "}"'))));
21900
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L12, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L126, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L35, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L26, fail, 'InlineInterfacePropertyDelimiter "}"'))));
21664
21901
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
21665
21902
  function InlineInterfacePropertyDelimiter(state) {
21666
21903
  let eventData;
@@ -21684,10 +21921,10 @@ ${input.slice(result.pos)}
21684
21921
  return result;
21685
21922
  }
21686
21923
  }
21687
- var TypeBinaryOp$0 = $TV($EXPECT($L99, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
21924
+ var TypeBinaryOp$0 = $TV($EXPECT($L100, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
21688
21925
  return { $loc, token: "|" };
21689
21926
  });
21690
- var TypeBinaryOp$1 = $TV($EXPECT($L98, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
21927
+ var TypeBinaryOp$1 = $TV($EXPECT($L99, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
21691
21928
  return { $loc, token: "&" };
21692
21929
  });
21693
21930
  function TypeBinaryOp(state) {
@@ -21712,7 +21949,7 @@ ${input.slice(result.pos)}
21712
21949
  return result;
21713
21950
  }
21714
21951
  }
21715
- var FunctionType$0 = $TS($S($E($S(New, $E(_))), Parameters, __, TypeArrowFunction, $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
21952
+ 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) {
21716
21953
  var type = $5;
21717
21954
  if (type) {
21718
21955
  return $0;
@@ -21741,7 +21978,7 @@ ${input.slice(result.pos)}
21741
21978
  return result;
21742
21979
  }
21743
21980
  }
21744
- 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) {
21981
+ 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) {
21745
21982
  return { $loc, token: "=>" };
21746
21983
  });
21747
21984
  function TypeArrowFunction(state) {
@@ -21766,7 +22003,7 @@ ${input.slice(result.pos)}
21766
22003
  return result;
21767
22004
  }
21768
22005
  }
21769
- var TypeArguments$0 = $TS($S($EXPECT($L154, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L33, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
22006
+ var TypeArguments$0 = $TS($S($EXPECT($L155, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L34, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
21770
22007
  return { ts: true, children: $0 };
21771
22008
  });
21772
22009
  function TypeArguments(state) {
@@ -21837,7 +22074,7 @@ ${input.slice(result.pos)}
21837
22074
  return result;
21838
22075
  }
21839
22076
  }
21840
- 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) {
22077
+ 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) {
21841
22078
  var parameters = $3;
21842
22079
  return {
21843
22080
  type: "TypeParameters",
@@ -21868,7 +22105,7 @@ ${input.slice(result.pos)}
21868
22105
  return result;
21869
22106
  }
21870
22107
  }
21871
- var TypeParameter$0 = $S(__, $E($S($EXPECT($L149, fail, 'TypeParameter "const"'), $E(_))), Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
22108
+ var TypeParameter$0 = $S(__, $E($S($EXPECT($L150, fail, 'TypeParameter "const"'), $E(_))), Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
21872
22109
  function TypeParameter(state) {
21873
22110
  let eventData;
21874
22111
  if (state.events) {
@@ -21891,7 +22128,7 @@ ${input.slice(result.pos)}
21891
22128
  return result;
21892
22129
  }
21893
22130
  }
21894
- var TypeConstraint$0 = $S(__, $EXPECT($L139, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
22131
+ var TypeConstraint$0 = $S(__, $EXPECT($L140, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
21895
22132
  function TypeConstraint(state) {
21896
22133
  let eventData;
21897
22134
  if (state.events) {
@@ -21914,7 +22151,7 @@ ${input.slice(result.pos)}
21914
22151
  return result;
21915
22152
  }
21916
22153
  }
21917
- var TypeInitializer$0 = $S(__, $EXPECT($L2, fail, 'TypeInitializer "="'), Type);
22154
+ var TypeInitializer$0 = $S(__, $EXPECT($L3, fail, 'TypeInitializer "="'), Type);
21918
22155
  function TypeInitializer(state) {
21919
22156
  let eventData;
21920
22157
  if (state.events) {
@@ -21938,7 +22175,7 @@ ${input.slice(result.pos)}
21938
22175
  }
21939
22176
  }
21940
22177
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
21941
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L33, fail, 'TypeParameterDelimiter ">"')));
22178
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L34, fail, 'TypeParameterDelimiter ">"')));
21942
22179
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
21943
22180
  return value[1];
21944
22181
  });
@@ -23063,6 +23300,7 @@ ${input.slice(result.pos)}
23063
23300
  }];
23064
23301
  module2.forbidClassImplicitCall = [false];
23065
23302
  module2.forbidIndentedApplication = [false];
23303
+ module2.forbidBracedApplication = [false];
23066
23304
  module2.forbidTrailingMemberProperty = [false];
23067
23305
  module2.forbidMultiLineImplicitObjectLiteral = [false];
23068
23306
  module2.forbidNewlineBinaryOp = [false];
@@ -23089,6 +23327,12 @@ ${input.slice(result.pos)}
23089
23327
  return s[s.length - 1];
23090
23328
  }
23091
23329
  },
23330
+ bracedApplicationForbidden: {
23331
+ get() {
23332
+ const { forbidBracedApplication: s } = module2;
23333
+ return s[s.length - 1];
23334
+ }
23335
+ },
23092
23336
  trailingMemberPropertyForbidden: {
23093
23337
  get() {
23094
23338
  const { forbidTrailingMemberProperty: s } = module2;
@@ -24084,7 +24328,7 @@ var parse;
24084
24328
  var uncacheable;
24085
24329
  ({ parse } = import_parser.default);
24086
24330
  ({ SourceMap: SourceMap2 } = util_exports);
24087
- 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"]);
24331
+ 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"]);
24088
24332
  var compile = function(src, options) {
24089
24333
  var ast, code, events, filename, ref, result, sm;
24090
24334
  if (!options) {