@danielx/civet 0.4.21 → 0.4.22

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -401,6 +401,7 @@ ${input.slice(result.pos)}
401
401
  Expression,
402
402
  Arguments,
403
403
  ApplicationStart,
404
+ IndentedApplicationAllowed,
404
405
  ArgumentsWithTrailingCallExpressions,
405
406
  ArgumentList,
406
407
  NestedArgumentList,
@@ -459,6 +460,7 @@ ${input.slice(result.pos)}
459
460
  ParameterElement,
460
461
  ParameterElementDelimiter,
461
462
  BindingIdentifier,
463
+ AtIdentifierRef,
462
464
  BindingPattern,
463
465
  ObjectBindingPattern,
464
466
  ObjectBindingPatternContent,
@@ -588,6 +590,8 @@ ${input.slice(result.pos)}
588
590
  Finally,
589
591
  CatchParameter,
590
592
  Condition,
593
+ ExpressionWithIndentedApplicationSuppressed,
594
+ SuppressIndentedApplication,
591
595
  ExpressionStatement,
592
596
  KeywordStatement,
593
597
  DebuggerExpression,
@@ -609,6 +613,7 @@ ${input.slice(result.pos)}
609
613
  ExportFromClause,
610
614
  NamedExports,
611
615
  ExportSpecifier,
616
+ ImplicitExportSpecifier,
612
617
  Declaration,
613
618
  HoistableDeclaration,
614
619
  LexicalDeclaration,
@@ -803,6 +808,7 @@ ${input.slice(result.pos)}
803
808
  InsertOpenParen,
804
809
  InsertCloseParen,
805
810
  InsertOpenBrace,
811
+ InsertInlineOpenBrace,
806
812
  InsertCloseBrace,
807
813
  InsertConst,
808
814
  InsertReadonly,
@@ -832,20 +838,20 @@ ${input.slice(result.pos)}
832
838
  PopIndent,
833
839
  Nested
834
840
  });
835
- var $L0 = $L("++");
836
- var $L1 = $L("--");
837
- var $L2 = $L("=>");
838
- var $L3 = $L(" ");
839
- var $L4 = $L("<");
840
- var $L5 = $L("extends");
841
- var $L6 = $L("#");
842
- var $L7 = $L(".");
843
- var $L8 = $L("super");
844
- var $L9 = $L("import");
845
- var $L10 = $L("!");
846
- var $L11 = $L("super[");
847
- var $L12 = $L("import.meta");
848
- var $L13 = $L("");
841
+ var $L0 = $L("");
842
+ var $L1 = $L("++");
843
+ var $L2 = $L("--");
844
+ var $L3 = $L("=>");
845
+ var $L4 = $L(" ");
846
+ var $L5 = $L("<");
847
+ var $L6 = $L("extends");
848
+ var $L7 = $L("#");
849
+ var $L8 = $L(".");
850
+ var $L9 = $L("super");
851
+ var $L10 = $L("import");
852
+ var $L11 = $L("!");
853
+ var $L12 = $L("super[");
854
+ var $L13 = $L("import.meta");
849
855
  var $L14 = $L(")");
850
856
  var $L15 = $L("->");
851
857
  var $L16 = $L("null");
@@ -1023,26 +1029,27 @@ ${input.slice(result.pos)}
1023
1029
  var $R30 = $R(new RegExp("(?:on|off|yes|no)(?!\\p{ID_Continue})", "suy"));
1024
1030
  var $R31 = $R(new RegExp("(?:isnt)(?!\\p{ID_Continue})", "suy"));
1025
1031
  var $R32 = $R(new RegExp("(?:by)(?!\\p{ID_Continue})", "suy"));
1026
- var $R33 = $R(new RegExp("(?:and|as|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|null|or|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})", "suy"));
1027
- var $R34 = $R(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
1028
- var $R35 = $R(new RegExp(".", "suy"));
1029
- var $R36 = $R(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
1030
- var $R37 = $R(new RegExp("###(?!#)", "suy"));
1031
- var $R38 = $R(new RegExp("[^\\r\\n]", "suy"));
1032
- var $R39 = $R(new RegExp("[ \\t]+", "suy"));
1033
- var $R40 = $R(new RegExp("(?!\\p{ID_Continue})", "suy"));
1034
- var $R41 = $R(new RegExp("\\s", "suy"));
1035
- var $R42 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
1036
- var $R43 = $R(new RegExp('"[^"]*"', "suy"));
1037
- var $R44 = $R(new RegExp("'[^']*'", "suy"));
1038
- var $R45 = $R(new RegExp("[^{}<>]+", "suy"));
1039
- var $R46 = $R(new RegExp("[+-]?", "suy"));
1040
- var $R47 = $R(new RegExp("[+-]", "suy"));
1041
- var $R48 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1042
- var $R49 = $R(new RegExp("[\\t ]*", "suy"));
1043
- var $R50 = $R(new RegExp("[\\s]*", "suy"));
1044
- var $R51 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)", "suy"));
1045
- var $R52 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1032
+ var $R33 = $R(new RegExp("(?:of)(?!\\p{ID_Continue})", "suy"));
1033
+ var $R34 = $R(new RegExp("(?:and|as|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|null|or|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})", "suy"));
1034
+ var $R35 = $R(new RegExp("\\/\\/(?!\\/)[^\\r\\n]*", "suy"));
1035
+ var $R36 = $R(new RegExp(".", "suy"));
1036
+ var $R37 = $R(new RegExp("#(?!##(?!#))([^\\r\\n]*)", "suy"));
1037
+ var $R38 = $R(new RegExp("###(?!#)", "suy"));
1038
+ var $R39 = $R(new RegExp("[^\\r\\n]", "suy"));
1039
+ var $R40 = $R(new RegExp("[ \\t]+", "suy"));
1040
+ var $R41 = $R(new RegExp("(?!\\p{ID_Continue})", "suy"));
1041
+ var $R42 = $R(new RegExp("\\s", "suy"));
1042
+ var $R43 = $R(new RegExp("(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*", "suy"));
1043
+ var $R44 = $R(new RegExp('"[^"]*"', "suy"));
1044
+ var $R45 = $R(new RegExp("'[^']*'", "suy"));
1045
+ var $R46 = $R(new RegExp("[^{}<>]+", "suy"));
1046
+ var $R47 = $R(new RegExp("[+-]?", "suy"));
1047
+ var $R48 = $R(new RegExp("[+-]", "suy"));
1048
+ var $R49 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1049
+ var $R50 = $R(new RegExp("[\\t ]*", "suy"));
1050
+ var $R51 = $R(new RegExp("[\\s]*", "suy"));
1051
+ var $R52 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)", "suy"));
1052
+ var $R53 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1046
1053
  var Program$0 = $TS($S(Reset, Init, __, $Q(TopLevelStatement), __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
1047
1054
  var statements = $4;
1048
1055
  module.processProgram(statements);
@@ -1189,7 +1196,7 @@ ${input.slice(result.pos)}
1189
1196
  return result;
1190
1197
  }
1191
1198
  }
1192
- var ApplicationStart$0 = $Y(NestedImplicitObjectLiteral);
1199
+ var ApplicationStart$0 = $S(IndentedApplicationAllowed, $Y(NestedImplicitObjectLiteral));
1193
1200
  var ApplicationStart$1 = $S($N(EOS), $Y($S($P(_), $N(AdditionalReservedWords))));
1194
1201
  function ApplicationStart(state) {
1195
1202
  if (state.events) {
@@ -1209,6 +1216,29 @@ ${input.slice(result.pos)}
1209
1216
  return result;
1210
1217
  }
1211
1218
  }
1219
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L0, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
1220
+ if (module.suppressIndentedApplication)
1221
+ return $skip;
1222
+ return;
1223
+ });
1224
+ function IndentedApplicationAllowed(state) {
1225
+ if (state.events) {
1226
+ const result = state.events.enter?.("IndentedApplicationAllowed", state);
1227
+ if (result)
1228
+ return result.cache;
1229
+ }
1230
+ if (state.tokenize) {
1231
+ const result = $TOKEN("IndentedApplicationAllowed", state, IndentedApplicationAllowed$0(state));
1232
+ if (state.events)
1233
+ state.events.exit?.("IndentedApplicationAllowed", state, result);
1234
+ return result;
1235
+ } else {
1236
+ const result = IndentedApplicationAllowed$0(state);
1237
+ if (state.events)
1238
+ state.events.exit?.("IndentedApplicationAllowed", state, result);
1239
+ return result;
1240
+ }
1241
+ }
1212
1242
  var ArgumentsWithTrailingCallExpressions$0 = $S(Arguments, $Q($S(Samedent, $N(Backtick), CallExpressionRest)));
1213
1243
  function ArgumentsWithTrailingCallExpressions(state) {
1214
1244
  if (state.events) {
@@ -1541,7 +1571,7 @@ ${input.slice(result.pos)}
1541
1571
  return result;
1542
1572
  }
1543
1573
  }
1544
- var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L0, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L1, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
1574
+ var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L1, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L2, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
1545
1575
  return { $loc, token: $1 };
1546
1576
  });
1547
1577
  function UpdateExpressionSymbol(state) {
@@ -1740,7 +1770,7 @@ ${input.slice(result.pos)}
1740
1770
  return result;
1741
1771
  }
1742
1772
  }
1743
- var FatArrow$0 = $TS($S(__, $EXPECT($L2, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
1773
+ var FatArrow$0 = $TS($S(__, $EXPECT($L3, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
1744
1774
  var ws = $1;
1745
1775
  if (!ws.length)
1746
1776
  return " =>";
@@ -1811,7 +1841,7 @@ ${input.slice(result.pos)}
1811
1841
  }
1812
1842
  }
1813
1843
  var TernaryRest$0 = NestedTernaryRest;
1814
- var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L3, fail, 'TernaryRest " "')), $Q(TrailingComment), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
1844
+ var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L4, fail, 'TernaryRest " "')), $Q(TrailingComment), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
1815
1845
  return $0.slice(2);
1816
1846
  });
1817
1847
  function TernaryRest(state) {
@@ -1991,10 +2021,10 @@ ${input.slice(result.pos)}
1991
2021
  return result;
1992
2022
  }
1993
2023
  }
1994
- var ExtendsToken$0 = $TV($EXPECT($L4, fail, 'ExtendsToken "<"'), function($skip, $loc, $0, $1) {
2024
+ var ExtendsToken$0 = $TV($EXPECT($L5, fail, 'ExtendsToken "<"'), function($skip, $loc, $0, $1) {
1995
2025
  return { $loc, token: "extends" };
1996
2026
  });
1997
- var ExtendsToken$1 = $TV($EXPECT($L5, fail, 'ExtendsToken "extends"'), function($skip, $loc, $0, $1) {
2027
+ var ExtendsToken$1 = $TV($EXPECT($L6, fail, 'ExtendsToken "extends"'), function($skip, $loc, $0, $1) {
1998
2028
  return { $loc, token: $1 };
1999
2029
  });
2000
2030
  function ExtendsToken(state) {
@@ -2016,7 +2046,7 @@ ${input.slice(result.pos)}
2016
2046
  }
2017
2047
  }
2018
2048
  var ClassBody$0 = $S(__, OpenBrace, $E(NestedClassElements), __, CloseBrace);
2019
- var ClassBody$1 = $S(InsertOpenBrace, NestedClassElements, InsertNewline, InsertIndent, InsertCloseBrace);
2049
+ var ClassBody$1 = $S(InsertOpenBrace, $E(NestedClassElements), InsertNewline, InsertIndent, InsertCloseBrace);
2020
2050
  function ClassBody(state) {
2021
2051
  if (state.events) {
2022
2052
  const result = state.events.enter?.("ClassBody", state);
@@ -2140,7 +2170,7 @@ ${input.slice(result.pos)}
2140
2170
  }
2141
2171
  }
2142
2172
  var ThisLiteral$0 = This;
2143
- var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L6, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2173
+ var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L7, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2144
2174
  var t = $1;
2145
2175
  var id = $2;
2146
2176
  return [{ ...t, token: "this." }, id];
@@ -2167,7 +2197,7 @@ ${input.slice(result.pos)}
2167
2197
  return result;
2168
2198
  }
2169
2199
  }
2170
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L7, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2200
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L8, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2171
2201
  if ($1.length)
2172
2202
  return $0;
2173
2203
  return $2;
@@ -2190,8 +2220,8 @@ ${input.slice(result.pos)}
2190
2220
  return result;
2191
2221
  }
2192
2222
  }
2193
- var CallExpression$0 = $S($EXPECT($L8, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions);
2194
- var CallExpression$1 = $S($EXPECT($L9, fail, 'CallExpression "import"'), __, OpenParen, ExtendedExpression, __, CloseParen);
2223
+ var CallExpression$0 = $S($EXPECT($L9, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions);
2224
+ var CallExpression$1 = $S($EXPECT($L10, fail, 'CallExpression "import"'), __, OpenParen, ExtendedExpression, __, CloseParen);
2195
2225
  var CallExpression$2 = $TS($S(MemberExpression, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2) {
2196
2226
  if ($2.length)
2197
2227
  return $0;
@@ -2255,7 +2285,7 @@ ${input.slice(result.pos)}
2255
2285
  return result;
2256
2286
  }
2257
2287
  }
2258
- var NonNullAssertion$0 = $T($EXPECT($L10, fail, 'NonNullAssertion "!"'), function(value) {
2288
+ var NonNullAssertion$0 = $T($EXPECT($L11, fail, 'NonNullAssertion "!"'), function(value) {
2259
2289
  return { "ts": true, "children": value };
2260
2290
  });
2261
2291
  function NonNullAssertion(state) {
@@ -2495,7 +2525,7 @@ ${input.slice(result.pos)}
2495
2525
  return result;
2496
2526
  }
2497
2527
  }
2498
- var SuperProperty$0 = $S($EXPECT($L11, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2528
+ var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2499
2529
  function SuperProperty(state) {
2500
2530
  if (state.events) {
2501
2531
  const result = state.events.enter?.("SuperProperty", state);
@@ -2515,7 +2545,7 @@ ${input.slice(result.pos)}
2515
2545
  }
2516
2546
  }
2517
2547
  var MetaProperty$0 = $S(New, Dot, Target);
2518
- var MetaProperty$1 = $TV($EXPECT($L12, fail, 'MetaProperty "import.meta"'), function($skip, $loc, $0, $1) {
2548
+ var MetaProperty$1 = $TV($EXPECT($L13, fail, 'MetaProperty "import.meta"'), function($skip, $loc, $0, $1) {
2519
2549
  return { $loc, token: $1 };
2520
2550
  });
2521
2551
  function MetaProperty(state) {
@@ -2537,7 +2567,7 @@ ${input.slice(result.pos)}
2537
2567
  }
2538
2568
  }
2539
2569
  var Parameters$0 = NonEmptyParameters;
2540
- var Parameters$1 = $TV($EXPECT($L13, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
2570
+ var Parameters$1 = $TV($EXPECT($L0, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
2541
2571
  return {
2542
2572
  type: "Parameters",
2543
2573
  children: [{ $loc, token: "()" }],
@@ -2698,21 +2728,18 @@ ${input.slice(result.pos)}
2698
2728
  return result;
2699
2729
  }
2700
2730
  }
2701
- var BindingIdentifier$0 = $TS($S(__, $E(At), Identifier), function($skip, $loc, $0, $1, $2, $3) {
2731
+ var BindingIdentifier$0 = $TS($S(__, At, AtIdentifierRef), function($skip, $loc, $0, $1, $2, $3) {
2702
2732
  var ws = $1;
2703
- var at = $2;
2704
- var id = $3;
2705
- if (at) {
2706
- const ref = {
2707
- type: "Ref",
2708
- base: id.name
2709
- };
2710
- return {
2711
- type: "AtBinding",
2712
- children: [...ws, ref],
2713
- ref
2714
- };
2715
- }
2733
+ var ref = $3;
2734
+ return {
2735
+ type: "AtBinding",
2736
+ children: [...ws, ref],
2737
+ ref
2738
+ };
2739
+ });
2740
+ var BindingIdentifier$1 = $TS($S(__, Identifier), function($skip, $loc, $0, $1, $2) {
2741
+ var ws = $1;
2742
+ var id = $2;
2716
2743
  return {
2717
2744
  ...id,
2718
2745
  children: [...ws, ...id.children]
@@ -2725,17 +2752,51 @@ ${input.slice(result.pos)}
2725
2752
  return result.cache;
2726
2753
  }
2727
2754
  if (state.tokenize) {
2728
- const result = $TOKEN("BindingIdentifier", state, BindingIdentifier$0(state));
2755
+ const result = $TOKEN("BindingIdentifier", state, BindingIdentifier$0(state) || BindingIdentifier$1(state));
2729
2756
  if (state.events)
2730
2757
  state.events.exit?.("BindingIdentifier", state, result);
2731
2758
  return result;
2732
2759
  } else {
2733
- const result = BindingIdentifier$0(state);
2760
+ const result = BindingIdentifier$0(state) || BindingIdentifier$1(state);
2734
2761
  if (state.events)
2735
2762
  state.events.exit?.("BindingIdentifier", state, result);
2736
2763
  return result;
2737
2764
  }
2738
2765
  }
2766
+ var AtIdentifierRef$0 = $TV(ReservedWord, function($skip, $loc, $0, $1) {
2767
+ var r = $0;
2768
+ return {
2769
+ type: "Ref",
2770
+ base: `_${r}`,
2771
+ id: r
2772
+ };
2773
+ });
2774
+ var AtIdentifierRef$1 = $TV(IdentifierName, function($skip, $loc, $0, $1) {
2775
+ var id = $0;
2776
+ return {
2777
+ type: "Ref",
2778
+ base: id.name,
2779
+ id: id.name
2780
+ };
2781
+ });
2782
+ function AtIdentifierRef(state) {
2783
+ if (state.events) {
2784
+ const result = state.events.enter?.("AtIdentifierRef", state);
2785
+ if (result)
2786
+ return result.cache;
2787
+ }
2788
+ if (state.tokenize) {
2789
+ const result = $TOKEN("AtIdentifierRef", state, AtIdentifierRef$0(state) || AtIdentifierRef$1(state));
2790
+ if (state.events)
2791
+ state.events.exit?.("AtIdentifierRef", state, result);
2792
+ return result;
2793
+ } else {
2794
+ const result = AtIdentifierRef$0(state) || AtIdentifierRef$1(state);
2795
+ if (state.events)
2796
+ state.events.exit?.("AtIdentifierRef", state, result);
2797
+ return result;
2798
+ }
2799
+ }
2739
2800
  var BindingPattern$0 = $TS($S(__, ObjectBindingPattern), function($skip, $loc, $0, $1, $2) {
2740
2801
  var p = $2;
2741
2802
  return {
@@ -3227,8 +3288,12 @@ ${input.slice(result.pos)}
3227
3288
  return result;
3228
3289
  }
3229
3290
  }
3230
- var EmptyBindingPattern$0 = $TV($EXPECT($L13, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
3231
- const ref = { type: "Ref", base: "ref" };
3291
+ var EmptyBindingPattern$0 = $TV($EXPECT($L0, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
3292
+ const ref = {
3293
+ type: "Ref",
3294
+ base: "ref",
3295
+ id: "ref"
3296
+ };
3232
3297
  return {
3233
3298
  type: "EmptyBinding",
3234
3299
  children: [ref],
@@ -4173,7 +4238,7 @@ ${input.slice(result.pos)}
4173
4238
  return result;
4174
4239
  }
4175
4240
  }
4176
- var ArrayElementDelimiter$0 = $S($Q(_), Comma);
4241
+ var ArrayElementDelimiter$0 = $S(__, Comma);
4177
4242
  var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'ArrayElementDelimiter "]"')));
4178
4243
  var ArrayElementDelimiter$2 = $TV($Y(EOS), function($skip, $loc, $0, $1) {
4179
4244
  return { $loc, token: "," };
@@ -4231,7 +4296,7 @@ ${input.slice(result.pos)}
4231
4296
  return result;
4232
4297
  }
4233
4298
  }
4234
- var ElementListRest$0 = $S($S(__, Comma, __), ArrayElementExpression);
4299
+ var ElementListRest$0 = $S($S(__, Comma), ArrayElementExpression);
4235
4300
  function ElementListRest(state) {
4236
4301
  if (state.events) {
4237
4302
  const result = state.events.enter?.("ElementListRest", state);
@@ -4258,6 +4323,7 @@ ${input.slice(result.pos)}
4258
4323
  exp = {
4259
4324
  type: "Ref",
4260
4325
  base: "ref",
4326
+ id: "ref",
4261
4327
  names: []
4262
4328
  };
4263
4329
  }
@@ -4515,10 +4581,10 @@ ${input.slice(result.pos)}
4515
4581
  return result;
4516
4582
  }
4517
4583
  }
4518
- var InlineObjectLiteral$0 = $TS($S(InsertOpenBrace, SnugNamedProperty, ImplicitInlineObjectPropertyDelimiter, $Q($S(NamedProperty, ImplicitInlineObjectPropertyDelimiter)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4584
+ var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, ImplicitInlineObjectPropertyDelimiter, $Q($S(NamedProperty, ImplicitInlineObjectPropertyDelimiter)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4519
4585
  var open = $1;
4520
4586
  var close = $5;
4521
- return [open[1], $2, $3, ...$4, close];
4587
+ return [open, $2, $3, ...$4, close];
4522
4588
  });
4523
4589
  function InlineObjectLiteral(state) {
4524
4590
  if (state.events) {
@@ -4844,7 +4910,7 @@ ${input.slice(result.pos)}
4844
4910
  return result;
4845
4911
  }
4846
4912
  }
4847
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L6, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
4913
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L7, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
4848
4914
  return {
4849
4915
  type: "Identifier",
4850
4916
  name: $0,
@@ -4996,7 +5062,7 @@ ${input.slice(result.pos)}
4996
5062
  var BinaryOpSymbol$6 = $EXPECT($L53, fail, 'BinaryOpSymbol "<="');
4997
5063
  var BinaryOpSymbol$7 = $EXPECT($L54, fail, 'BinaryOpSymbol ">="');
4998
5064
  var BinaryOpSymbol$8 = $EXPECT($L55, fail, 'BinaryOpSymbol "<<"');
4999
- var BinaryOpSymbol$9 = $EXPECT($L4, fail, 'BinaryOpSymbol "<"');
5065
+ var BinaryOpSymbol$9 = $EXPECT($L5, fail, 'BinaryOpSymbol "<"');
5000
5066
  var BinaryOpSymbol$10 = $EXPECT($L56, fail, 'BinaryOpSymbol ">>>"');
5001
5067
  var BinaryOpSymbol$11 = $EXPECT($L57, fail, 'BinaryOpSymbol ">>"');
5002
5068
  var BinaryOpSymbol$12 = $EXPECT($L25, fail, 'BinaryOpSymbol ">"');
@@ -5045,26 +5111,33 @@ ${input.slice(result.pos)}
5045
5111
  special: true
5046
5112
  };
5047
5113
  });
5048
- var BinaryOpSymbol$28 = $TS($S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5114
+ var BinaryOpSymbol$28 = $TS($S(CoffeeNotEnabled, $EXPECT($L72, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L66, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5115
+ return {
5116
+ $loc,
5117
+ token: "in",
5118
+ special: true
5119
+ };
5120
+ });
5121
+ var BinaryOpSymbol$29 = $TS($S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
5049
5122
  return {
5050
5123
  ref: module.getIndexOfRef(),
5051
5124
  suffix: " >= 0",
5052
5125
  special: true
5053
5126
  };
5054
5127
  });
5055
- var BinaryOpSymbol$29 = $TS($S(CoffeeOfEnabled, $EXPECT($L72, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5128
+ var BinaryOpSymbol$30 = $TS($S(CoffeeOfEnabled, $EXPECT($L72, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5056
5129
  return {
5057
5130
  ref: module.getIndexOfRef(),
5058
5131
  suffix: " < 0",
5059
5132
  special: true
5060
5133
  };
5061
5134
  });
5062
- var BinaryOpSymbol$30 = $TS($S($EXPECT($L73, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5135
+ var BinaryOpSymbol$31 = $TS($S($EXPECT($L73, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5063
5136
  return $1;
5064
5137
  });
5065
- var BinaryOpSymbol$31 = $EXPECT($L74, fail, 'BinaryOpSymbol "&"');
5066
- var BinaryOpSymbol$32 = $EXPECT($L75, fail, 'BinaryOpSymbol "^"');
5067
- var BinaryOpSymbol$33 = $EXPECT($L76, fail, 'BinaryOpSymbol "|"');
5138
+ var BinaryOpSymbol$32 = $EXPECT($L74, fail, 'BinaryOpSymbol "&"');
5139
+ var BinaryOpSymbol$33 = $EXPECT($L75, fail, 'BinaryOpSymbol "^"');
5140
+ var BinaryOpSymbol$34 = $EXPECT($L76, fail, 'BinaryOpSymbol "|"');
5068
5141
  function BinaryOpSymbol(state) {
5069
5142
  if (state.events) {
5070
5143
  const result = state.events.enter?.("BinaryOpSymbol", state);
@@ -5072,12 +5145,12 @@ ${input.slice(result.pos)}
5072
5145
  return result.cache;
5073
5146
  }
5074
5147
  if (state.tokenize) {
5075
- const result = $TOKEN("BinaryOpSymbol", state, BinaryOpSymbol$0(state) || BinaryOpSymbol$1(state) || BinaryOpSymbol$2(state) || BinaryOpSymbol$3(state) || BinaryOpSymbol$4(state) || BinaryOpSymbol$5(state) || BinaryOpSymbol$6(state) || BinaryOpSymbol$7(state) || BinaryOpSymbol$8(state) || BinaryOpSymbol$9(state) || BinaryOpSymbol$10(state) || BinaryOpSymbol$11(state) || BinaryOpSymbol$12(state) || BinaryOpSymbol$13(state) || BinaryOpSymbol$14(state) || BinaryOpSymbol$15(state) || BinaryOpSymbol$16(state) || BinaryOpSymbol$17(state) || BinaryOpSymbol$18(state) || BinaryOpSymbol$19(state) || BinaryOpSymbol$20(state) || BinaryOpSymbol$21(state) || BinaryOpSymbol$22(state) || BinaryOpSymbol$23(state) || BinaryOpSymbol$24(state) || BinaryOpSymbol$25(state) || BinaryOpSymbol$26(state) || BinaryOpSymbol$27(state) || BinaryOpSymbol$28(state) || BinaryOpSymbol$29(state) || BinaryOpSymbol$30(state) || BinaryOpSymbol$31(state) || BinaryOpSymbol$32(state) || BinaryOpSymbol$33(state));
5148
+ const result = $TOKEN("BinaryOpSymbol", state, BinaryOpSymbol$0(state) || BinaryOpSymbol$1(state) || BinaryOpSymbol$2(state) || BinaryOpSymbol$3(state) || BinaryOpSymbol$4(state) || BinaryOpSymbol$5(state) || BinaryOpSymbol$6(state) || BinaryOpSymbol$7(state) || BinaryOpSymbol$8(state) || BinaryOpSymbol$9(state) || BinaryOpSymbol$10(state) || BinaryOpSymbol$11(state) || BinaryOpSymbol$12(state) || BinaryOpSymbol$13(state) || BinaryOpSymbol$14(state) || BinaryOpSymbol$15(state) || BinaryOpSymbol$16(state) || BinaryOpSymbol$17(state) || BinaryOpSymbol$18(state) || BinaryOpSymbol$19(state) || BinaryOpSymbol$20(state) || BinaryOpSymbol$21(state) || BinaryOpSymbol$22(state) || BinaryOpSymbol$23(state) || BinaryOpSymbol$24(state) || BinaryOpSymbol$25(state) || BinaryOpSymbol$26(state) || BinaryOpSymbol$27(state) || BinaryOpSymbol$28(state) || BinaryOpSymbol$29(state) || BinaryOpSymbol$30(state) || BinaryOpSymbol$31(state) || BinaryOpSymbol$32(state) || BinaryOpSymbol$33(state) || BinaryOpSymbol$34(state));
5076
5149
  if (state.events)
5077
5150
  state.events.exit?.("BinaryOpSymbol", state, result);
5078
5151
  return result;
5079
5152
  } else {
5080
- const result = BinaryOpSymbol$0(state) || BinaryOpSymbol$1(state) || BinaryOpSymbol$2(state) || BinaryOpSymbol$3(state) || BinaryOpSymbol$4(state) || BinaryOpSymbol$5(state) || BinaryOpSymbol$6(state) || BinaryOpSymbol$7(state) || BinaryOpSymbol$8(state) || BinaryOpSymbol$9(state) || BinaryOpSymbol$10(state) || BinaryOpSymbol$11(state) || BinaryOpSymbol$12(state) || BinaryOpSymbol$13(state) || BinaryOpSymbol$14(state) || BinaryOpSymbol$15(state) || BinaryOpSymbol$16(state) || BinaryOpSymbol$17(state) || BinaryOpSymbol$18(state) || BinaryOpSymbol$19(state) || BinaryOpSymbol$20(state) || BinaryOpSymbol$21(state) || BinaryOpSymbol$22(state) || BinaryOpSymbol$23(state) || BinaryOpSymbol$24(state) || BinaryOpSymbol$25(state) || BinaryOpSymbol$26(state) || BinaryOpSymbol$27(state) || BinaryOpSymbol$28(state) || BinaryOpSymbol$29(state) || BinaryOpSymbol$30(state) || BinaryOpSymbol$31(state) || BinaryOpSymbol$32(state) || BinaryOpSymbol$33(state);
5153
+ const result = BinaryOpSymbol$0(state) || BinaryOpSymbol$1(state) || BinaryOpSymbol$2(state) || BinaryOpSymbol$3(state) || BinaryOpSymbol$4(state) || BinaryOpSymbol$5(state) || BinaryOpSymbol$6(state) || BinaryOpSymbol$7(state) || BinaryOpSymbol$8(state) || BinaryOpSymbol$9(state) || BinaryOpSymbol$10(state) || BinaryOpSymbol$11(state) || BinaryOpSymbol$12(state) || BinaryOpSymbol$13(state) || BinaryOpSymbol$14(state) || BinaryOpSymbol$15(state) || BinaryOpSymbol$16(state) || BinaryOpSymbol$17(state) || BinaryOpSymbol$18(state) || BinaryOpSymbol$19(state) || BinaryOpSymbol$20(state) || BinaryOpSymbol$21(state) || BinaryOpSymbol$22(state) || BinaryOpSymbol$23(state) || BinaryOpSymbol$24(state) || BinaryOpSymbol$25(state) || BinaryOpSymbol$26(state) || BinaryOpSymbol$27(state) || BinaryOpSymbol$28(state) || BinaryOpSymbol$29(state) || BinaryOpSymbol$30(state) || BinaryOpSymbol$31(state) || BinaryOpSymbol$32(state) || BinaryOpSymbol$33(state) || BinaryOpSymbol$34(state);
5081
5154
  if (state.events)
5082
5155
  state.events.exit?.("BinaryOpSymbol", state, result);
5083
5156
  return result;
@@ -5872,11 +5945,13 @@ ${input.slice(result.pos)}
5872
5945
  } else if (kind.token === "in") {
5873
5946
  const counterRef = {
5874
5947
  type: "Ref",
5875
- base: "i"
5948
+ base: "i",
5949
+ id: "i"
5876
5950
  };
5877
5951
  const lenRef = {
5878
5952
  type: "Ref",
5879
- base: "len"
5953
+ base: "len",
5954
+ id: "len"
5880
5955
  };
5881
5956
  let expRef;
5882
5957
  switch (exp.type) {
@@ -5894,7 +5969,8 @@ ${input.slice(result.pos)}
5894
5969
  } else {
5895
5970
  stepRef = {
5896
5971
  type: "Ref",
5897
- base: "step"
5972
+ base: "step",
5973
+ id: "step"
5898
5974
  };
5899
5975
  }
5900
5976
  }
@@ -5906,7 +5982,8 @@ ${input.slice(result.pos)}
5906
5982
  } else {
5907
5983
  startRef = {
5908
5984
  type: "Ref",
5909
- base: "ref"
5985
+ base: "ref",
5986
+ id: "ref"
5910
5987
  };
5911
5988
  }
5912
5989
  if (end.type === "Literal") {
@@ -5916,7 +5993,8 @@ ${input.slice(result.pos)}
5916
5993
  } else {
5917
5994
  endRef = {
5918
5995
  type: "Ref",
5919
- base: "ref"
5996
+ base: "ref",
5997
+ id: "ref"
5920
5998
  };
5921
5999
  }
5922
6000
  const startRefDec = startRef !== start ? [startRef, " = ", start, ", "] : [];
@@ -5934,45 +6012,65 @@ ${input.slice(result.pos)}
5934
6012
  names: varRef2.names
5935
6013
  }]);
5936
6014
  const counterPart = inclusive ? [counterRef, " <= ", endRef, " : ", counterRef, " >= ", endRef] : [counterRef, " < ", endRef, " : ", counterRef, " > ", endRef];
5937
- const condition = stepRef ? [stepRef, " !== 0 && (", stepRef, " > 0 ? ", ...counterPart, ")"] : ["asc ? ", ...counterPart];
5938
- const increment = stepRef ? [varRef2, " = ", counterRef, " += ", stepRef] : [varRef2, " = asc ? ++", counterRef, " : --", counterRef];
6015
+ const condition2 = stepRef ? [stepRef, " !== 0 && (", stepRef, " > 0 ? ", ...counterPart, ")"] : ["asc ? ", ...counterPart];
6016
+ const increment2 = stepRef ? [varRef2, " = ", counterRef, " += ", stepRef] : [varRef2, " = asc ? ++", counterRef, " : --", counterRef];
5939
6017
  return {
5940
6018
  declaration,
5941
- children: [$1, open, declaration, "; ", ...condition, "; ", ...increment, close],
6019
+ children: [$1, open, declaration, "; ", ...condition2, "; ", ...increment2, close],
5942
6020
  blockPrefix
5943
6021
  };
5944
6022
  }
5945
6023
  default:
5946
6024
  expRef = {
5947
6025
  type: "Ref",
5948
- base: "ref"
6026
+ base: "ref",
6027
+ id: "ref"
5949
6028
  };
5950
6029
  }
5951
- if (step) {
5952
- throw new Error("by clause not yet implement in non-range for in loops");
5953
- }
5954
6030
  const varRef = declaration;
5955
- const expRefDec = expRef !== exp ? [expRef, " = ", module.insertTrimmingSpace(exp, ""), ", "] : [];
5956
- declaration = {
5957
- type: "Declaration",
5958
- children: ["let ", ...expRefDec, counterRef, " = 0, ", lenRef, " = ", expRef, ".length"],
5959
- names: []
5960
- };
5961
- let indexAssignment;
5962
- let assignmentNames = [...varRef.names];
6031
+ let increment = "++", indexAssignment, assignmentNames = [...varRef.names];
5963
6032
  if (index) {
5964
6033
  index = module.insertTrimmingSpace(index, "");
5965
6034
  indexAssignment = [index, "="];
5966
6035
  assignmentNames.push(...index.names);
5967
6036
  }
6037
+ const expRefDec = expRef !== exp ? [expRef, " = ", module.insertTrimmingSpace(exp, ""), ", "] : [];
5968
6038
  blockPrefix.push([indent, {
5969
6039
  type: "AssignmentExpression",
5970
6040
  children: [varRef, " = ", expRef, "[", indexAssignment, counterRef, "]\n"],
5971
6041
  names: assignmentNames
5972
6042
  }]);
6043
+ declaration = {
6044
+ type: "Declaration",
6045
+ children: ["let ", ...expRefDec, counterRef, " = 0, ", lenRef, " = ", expRef, ".length"],
6046
+ names: []
6047
+ };
6048
+ let condition = [counterRef, " < ", lenRef, "; "];
6049
+ if (step) {
6050
+ let [stepWs, , stepExp] = step;
6051
+ stepWs = module.insertTrimmingSpace(stepWs, "");
6052
+ if (stepExp.type === "Literal") {
6053
+ increment = [" +=", ...stepWs, stepExp];
6054
+ if (stepExp.raw[0] === "-") {
6055
+ declaration = {
6056
+ type: "Declaration",
6057
+ children: ["let ", ...expRefDec, counterRef, " = ", expRef, ".length - 1"],
6058
+ names: []
6059
+ };
6060
+ condition = [counterRef, " >= 0; "];
6061
+ }
6062
+ } else {
6063
+ throw new Error("TODO: Support non-literal step in CoffeeScript for loops");
6064
+ }
6065
+ return {
6066
+ declaration,
6067
+ children: [$1, open, declaration, "; ", ...condition, counterRef, increment, close],
6068
+ blockPrefix
6069
+ };
6070
+ }
5973
6071
  return {
5974
6072
  declaration,
5975
- children: [$1, open, declaration, "; ", counterRef, " < ", lenRef, "; ", counterRef, "++", close],
6073
+ children: [$1, open, declaration, "; ", ...condition, counterRef, increment, close],
5976
6074
  blockPrefix
5977
6075
  };
5978
6076
  }
@@ -6067,14 +6165,14 @@ ${input.slice(result.pos)}
6067
6165
  children: $0
6068
6166
  };
6069
6167
  });
6070
- var ForStatementParameters$2 = $TS($S($E($S(Await, __)), OpenParen, __, ForInOfDeclaration, __, $C(In, Of), ExtendedExpression, __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
6168
+ var ForStatementParameters$2 = $TS($S($E($S(Await, __)), OpenParen, __, ForInOfDeclaration, __, $C(In, Of), ExpressionWithIndentedApplicationSuppressed, __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
6071
6169
  var declaration = $4;
6072
6170
  return {
6073
6171
  declaration,
6074
6172
  children: $0
6075
6173
  };
6076
6174
  });
6077
- var ForStatementParameters$3 = $TS($S($E($S(Await, __)), InsertOpenParen, ForInOfDeclaration, __, $C(In, Of), ExtendedExpression, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
6175
+ var ForStatementParameters$3 = $TS($S($E($S(Await, __)), InsertOpenParen, ForInOfDeclaration, __, $C(In, Of), ExpressionWithIndentedApplicationSuppressed, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
6078
6176
  var declaration = $3;
6079
6177
  return {
6080
6178
  declaration,
@@ -6419,7 +6517,7 @@ ${input.slice(result.pos)}
6419
6517
  return result;
6420
6518
  }
6421
6519
  }
6422
- var CaseExpressionList$0 = $TS($S($S($Q(_), ExtendedExpression, ImpliedColon), $Q($S(__, Comma, ExtendedExpression, ImpliedColon))), function($skip, $loc, $0, $1, $2) {
6520
+ var CaseExpressionList$0 = $TS($S($S($Q(_), ExpressionWithIndentedApplicationSuppressed, ImpliedColon), $Q($S(__, Comma, ExpressionWithIndentedApplicationSuppressed, ImpliedColon))), function($skip, $loc, $0, $1, $2) {
6423
6521
  const result = $2.map(([ws, _comma, exp, col]) => {
6424
6522
  exp = module.insertTrimmingSpace(exp, "");
6425
6523
  if (ws.length)
@@ -6447,7 +6545,7 @@ ${input.slice(result.pos)}
6447
6545
  return result;
6448
6546
  }
6449
6547
  }
6450
- var NoExpressions$0 = $T($EXPECT($L13, fail, 'NoExpressions ""'), function(value) {
6548
+ var NoExpressions$0 = $T($EXPECT($L0, fail, 'NoExpressions ""'), function(value) {
6451
6549
  return [];
6452
6550
  });
6453
6551
  function NoExpressions(state) {
@@ -6469,7 +6567,7 @@ ${input.slice(result.pos)}
6469
6567
  }
6470
6568
  }
6471
6569
  var ImpliedColon$0 = $S(__, Colon);
6472
- var ImpliedColon$1 = $TV($EXPECT($L13, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
6570
+ var ImpliedColon$1 = $TV($EXPECT($L0, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
6473
6571
  return { $loc, token: ":" };
6474
6572
  });
6475
6573
  function ImpliedColon(state) {
@@ -6605,7 +6703,7 @@ ${input.slice(result.pos)}
6605
6703
  var Condition$0 = $T($S(ParenthesizedExpression, $N($S($Q(TrailingComment), $C(BinaryOp, AssignmentOp, Dot, QuestionMark)))), function(value) {
6606
6704
  return value[0];
6607
6705
  });
6608
- var Condition$1 = $TS($S(InsertOpenParen, ExtendedExpression, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
6706
+ var Condition$1 = $TS($S(InsertOpenParen, ExpressionWithIndentedApplicationSuppressed, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
6609
6707
  var open = $1;
6610
6708
  var exp = $2;
6611
6709
  var close = $3;
@@ -6634,6 +6732,52 @@ ${input.slice(result.pos)}
6634
6732
  return result;
6635
6733
  }
6636
6734
  }
6735
+ var ExpressionWithIndentedApplicationSuppressed$0 = $TS($S(SuppressIndentedApplication, $E(ExtendedExpression)), function($skip, $loc, $0, $1, $2) {
6736
+ var exp = $2;
6737
+ module.suppressIndentedApplication = false;
6738
+ if (exp)
6739
+ return exp;
6740
+ return $skip;
6741
+ });
6742
+ function ExpressionWithIndentedApplicationSuppressed(state) {
6743
+ if (state.events) {
6744
+ const result = state.events.enter?.("ExpressionWithIndentedApplicationSuppressed", state);
6745
+ if (result)
6746
+ return result.cache;
6747
+ }
6748
+ if (state.tokenize) {
6749
+ const result = $TOKEN("ExpressionWithIndentedApplicationSuppressed", state, ExpressionWithIndentedApplicationSuppressed$0(state));
6750
+ if (state.events)
6751
+ state.events.exit?.("ExpressionWithIndentedApplicationSuppressed", state, result);
6752
+ return result;
6753
+ } else {
6754
+ const result = ExpressionWithIndentedApplicationSuppressed$0(state);
6755
+ if (state.events)
6756
+ state.events.exit?.("ExpressionWithIndentedApplicationSuppressed", state, result);
6757
+ return result;
6758
+ }
6759
+ }
6760
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L0, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
6761
+ module.suppressIndentedApplication = true;
6762
+ });
6763
+ function SuppressIndentedApplication(state) {
6764
+ if (state.events) {
6765
+ const result = state.events.enter?.("SuppressIndentedApplication", state);
6766
+ if (result)
6767
+ return result.cache;
6768
+ }
6769
+ if (state.tokenize) {
6770
+ const result = $TOKEN("SuppressIndentedApplication", state, SuppressIndentedApplication$0(state));
6771
+ if (state.events)
6772
+ state.events.exit?.("SuppressIndentedApplication", state, result);
6773
+ return result;
6774
+ } else {
6775
+ const result = SuppressIndentedApplication$0(state);
6776
+ if (state.events)
6777
+ state.events.exit?.("SuppressIndentedApplication", state, result);
6778
+ return result;
6779
+ }
6780
+ }
6637
6781
  var ExpressionStatement$0 = Expression;
6638
6782
  function ExpressionStatement(state) {
6639
6783
  if (state.events) {
@@ -6734,7 +6878,7 @@ ${input.slice(result.pos)}
6734
6878
  return result;
6735
6879
  }
6736
6880
  }
6737
- var MaybeNestedExpression$0 = $TS($S($N(EOS), AssignmentExpression), function($skip, $loc, $0, $1, $2) {
6881
+ var MaybeNestedExpression$0 = $TS($S($N(EOS), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
6738
6882
  return $2;
6739
6883
  });
6740
6884
  var MaybeNestedExpression$1 = $T($S($Y(EOS), ObjectLiteral), function(value) {
@@ -6792,7 +6936,7 @@ ${input.slice(result.pos)}
6792
6936
  return result;
6793
6937
  }
6794
6938
  }
6795
- var ImpliedImport$0 = $TV($EXPECT($L13, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
6939
+ var ImpliedImport$0 = $TV($EXPECT($L0, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
6796
6940
  return { $loc, token: "import " };
6797
6941
  });
6798
6942
  function ImpliedImport(state) {
@@ -7060,7 +7204,7 @@ ${input.slice(result.pos)}
7060
7204
  }
7061
7205
  var ExportDeclaration$0 = $S(Export, __, $EXPECT($L84, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7062
7206
  var ExportDeclaration$1 = $S(Export, __, ExportFromClause, __, FromClause);
7063
- var ExportDeclaration$2 = $S(Export, __, $C(NamedExports, VariableStatement, Declaration));
7207
+ var ExportDeclaration$2 = $S(Export, __, $C(Declaration, NamedExports, VariableStatement));
7064
7208
  function ExportDeclaration(state) {
7065
7209
  if (state.events) {
7066
7210
  const result = state.events.enter?.("ExportDeclaration", state);
@@ -7100,6 +7244,11 @@ ${input.slice(result.pos)}
7100
7244
  }
7101
7245
  }
7102
7246
  var NamedExports$0 = $S(OpenBrace, $Q(ExportSpecifier), $E($S(__, Comma)), __, CloseBrace);
7247
+ var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(_, ImplicitExportSpecifier)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
7248
+ var open = $1;
7249
+ var close = $4;
7250
+ return [open, $2, ...$3, close];
7251
+ });
7103
7252
  function NamedExports(state) {
7104
7253
  if (state.events) {
7105
7254
  const result = state.events.enter?.("NamedExports", state);
@@ -7107,12 +7256,12 @@ ${input.slice(result.pos)}
7107
7256
  return result.cache;
7108
7257
  }
7109
7258
  if (state.tokenize) {
7110
- const result = $TOKEN("NamedExports", state, NamedExports$0(state));
7259
+ const result = $TOKEN("NamedExports", state, NamedExports$0(state) || NamedExports$1(state));
7111
7260
  if (state.events)
7112
7261
  state.events.exit?.("NamedExports", state, result);
7113
7262
  return result;
7114
7263
  } else {
7115
- const result = NamedExports$0(state);
7264
+ const result = NamedExports$0(state) || NamedExports$1(state);
7116
7265
  if (state.events)
7117
7266
  state.events.exit?.("NamedExports", state, result);
7118
7267
  return result;
@@ -7137,6 +7286,25 @@ ${input.slice(result.pos)}
7137
7286
  return result;
7138
7287
  }
7139
7288
  }
7289
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L84, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), ImplicitInlineObjectPropertyDelimiter);
7290
+ function ImplicitExportSpecifier(state) {
7291
+ if (state.events) {
7292
+ const result = state.events.enter?.("ImplicitExportSpecifier", state);
7293
+ if (result)
7294
+ return result.cache;
7295
+ }
7296
+ if (state.tokenize) {
7297
+ const result = $TOKEN("ImplicitExportSpecifier", state, ImplicitExportSpecifier$0(state));
7298
+ if (state.events)
7299
+ state.events.exit?.("ImplicitExportSpecifier", state, result);
7300
+ return result;
7301
+ } else {
7302
+ const result = ImplicitExportSpecifier$0(state);
7303
+ if (state.events)
7304
+ state.events.exit?.("ImplicitExportSpecifier", state, result);
7305
+ return result;
7306
+ }
7307
+ }
7140
7308
  var Declaration$0 = HoistableDeclaration;
7141
7309
  var Declaration$1 = ClassDeclaration;
7142
7310
  var Declaration$2 = LexicalDeclaration;
@@ -8153,7 +8321,8 @@ ${input.slice(result.pos)}
8153
8321
  var ReservedWord$0 = $S(CoffeeBooleansEnabled, $R$0($EXPECT($R30, fail, "ReservedWord /(?:on|off|yes|no)(?!\\p{ID_Continue})/")));
8154
8322
  var ReservedWord$1 = $S(CoffeeIsntEnabled, $R$0($EXPECT($R31, fail, "ReservedWord /(?:isnt)(?!\\p{ID_Continue})/")));
8155
8323
  var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R32, fail, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
8156
- var ReservedWord$3 = $R$0($EXPECT($R33, fail, "ReservedWord /(?:and|as|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|null|or|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
8324
+ var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R33, fail, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
8325
+ var ReservedWord$4 = $R$0($EXPECT($R34, fail, "ReservedWord /(?:and|as|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|null|or|return|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
8157
8326
  function ReservedWord(state) {
8158
8327
  if (state.events) {
8159
8328
  const result = state.events.enter?.("ReservedWord", state);
@@ -8161,12 +8330,12 @@ ${input.slice(result.pos)}
8161
8330
  return result.cache;
8162
8331
  }
8163
8332
  if (state.tokenize) {
8164
- const result = $TOKEN("ReservedWord", state, ReservedWord$0(state) || ReservedWord$1(state) || ReservedWord$2(state) || ReservedWord$3(state));
8333
+ const result = $TOKEN("ReservedWord", state, ReservedWord$0(state) || ReservedWord$1(state) || ReservedWord$2(state) || ReservedWord$3(state) || ReservedWord$4(state));
8165
8334
  if (state.events)
8166
8335
  state.events.exit?.("ReservedWord", state, result);
8167
8336
  return result;
8168
8337
  } else {
8169
- const result = ReservedWord$0(state) || ReservedWord$1(state) || ReservedWord$2(state) || ReservedWord$3(state);
8338
+ const result = ReservedWord$0(state) || ReservedWord$1(state) || ReservedWord$2(state) || ReservedWord$3(state) || ReservedWord$4(state);
8170
8339
  if (state.events)
8171
8340
  state.events.exit?.("ReservedWord", state, result);
8172
8341
  return result;
@@ -8212,7 +8381,7 @@ ${input.slice(result.pos)}
8212
8381
  return result;
8213
8382
  }
8214
8383
  }
8215
- var JSSingleLineComment$0 = $TR($EXPECT($R34, fail, "JSSingleLineComment /\\/\\/(?!\\/)[^\\r\\n]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8384
+ var JSSingleLineComment$0 = $TR($EXPECT($R35, fail, "JSSingleLineComment /\\/\\/(?!\\/)[^\\r\\n]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8216
8385
  return { $loc, token: $0 };
8217
8386
  });
8218
8387
  function JSSingleLineComment(state) {
@@ -8253,7 +8422,7 @@ ${input.slice(result.pos)}
8253
8422
  return result;
8254
8423
  }
8255
8424
  }
8256
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L86, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L87, fail, 'JSMultiLineComment "*/"')), $EXPECT($R35, fail, "JSMultiLineComment /./"))), $EXPECT($L87, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
8425
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L86, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L87, fail, 'JSMultiLineComment "*/"')), $EXPECT($R36, fail, "JSMultiLineComment /./"))), $EXPECT($L87, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
8257
8426
  return { $loc, token: $1 };
8258
8427
  });
8259
8428
  function JSMultiLineComment(state) {
@@ -8274,7 +8443,7 @@ ${input.slice(result.pos)}
8274
8443
  return result;
8275
8444
  }
8276
8445
  }
8277
- var CoffeeSingleLineComment$0 = $TR($EXPECT($R36, fail, "CoffeeSingleLineComment /#(?!##(?!#))([^\\r\\n]*)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8446
+ var CoffeeSingleLineComment$0 = $TR($EXPECT($R37, fail, "CoffeeSingleLineComment /#(?!##(?!#))([^\\r\\n]*)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8278
8447
  return { $loc, token: `//${$1}` };
8279
8448
  });
8280
8449
  function CoffeeSingleLineComment(state) {
@@ -8295,7 +8464,7 @@ ${input.slice(result.pos)}
8295
8464
  return result;
8296
8465
  }
8297
8466
  }
8298
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L87, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R35, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
8467
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L87, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R36, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
8299
8468
  return { $loc, token: `/*${$2}*/` };
8300
8469
  });
8301
8470
  function CoffeeMultiLineComment(state) {
@@ -8316,7 +8485,7 @@ ${input.slice(result.pos)}
8316
8485
  return result;
8317
8486
  }
8318
8487
  }
8319
- var CoffeeHereCommentStart$0 = $R$0($EXPECT($R37, fail, "CoffeeHereCommentStart /###(?!#)/"));
8488
+ var CoffeeHereCommentStart$0 = $R$0($EXPECT($R38, fail, "CoffeeHereCommentStart /###(?!#)/"));
8320
8489
  function CoffeeHereCommentStart(state) {
8321
8490
  if (state.events) {
8322
8491
  const result = state.events.enter?.("CoffeeHereCommentStart", state);
@@ -8335,7 +8504,7 @@ ${input.slice(result.pos)}
8335
8504
  return result;
8336
8505
  }
8337
8506
  }
8338
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L86, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L87, fail, 'InlineComment "*/"')), $EXPECT($R38, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L87, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
8507
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L86, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L87, fail, 'InlineComment "*/"')), $EXPECT($R39, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L87, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
8339
8508
  return { $loc, token: $1 };
8340
8509
  });
8341
8510
  function InlineComment(state) {
@@ -8415,7 +8584,7 @@ ${input.slice(result.pos)}
8415
8584
  return result;
8416
8585
  }
8417
8586
  }
8418
- var NonNewlineWhitespace$0 = $TR($EXPECT($R39, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8587
+ var NonNewlineWhitespace$0 = $TR($EXPECT($R40, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8419
8588
  return { $loc, token: $0 };
8420
8589
  });
8421
8590
  var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L88, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
@@ -8524,7 +8693,7 @@ ${input.slice(result.pos)}
8524
8693
  return result;
8525
8694
  }
8526
8695
  }
8527
- var NonIdContinue$0 = $R$0($EXPECT($R40, fail, "NonIdContinue /(?!\\p{ID_Continue})/"));
8696
+ var NonIdContinue$0 = $R$0($EXPECT($R41, fail, "NonIdContinue /(?!\\p{ID_Continue})/"));
8528
8697
  function NonIdContinue(state) {
8529
8698
  if (state.events) {
8530
8699
  const result = state.events.enter?.("NonIdContinue", state);
@@ -8543,7 +8712,7 @@ ${input.slice(result.pos)}
8543
8712
  return result;
8544
8713
  }
8545
8714
  }
8546
- var Loc$0 = $TV($EXPECT($L13, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
8715
+ var Loc$0 = $TV($EXPECT($L0, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
8547
8716
  return { $loc, token: "" };
8548
8717
  });
8549
8718
  function Loc(state) {
@@ -8963,7 +9132,7 @@ ${input.slice(result.pos)}
8963
9132
  return result;
8964
9133
  }
8965
9134
  }
8966
- var Dot$0 = $TV($EXPECT($L7, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9135
+ var Dot$0 = $TV($EXPECT($L8, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
8967
9136
  return { $loc, token: $1 };
8968
9137
  });
8969
9138
  function Dot(state) {
@@ -9215,7 +9384,7 @@ ${input.slice(result.pos)}
9215
9384
  return result;
9216
9385
  }
9217
9386
  }
9218
- var If$0 = $TV($TEXT($S($EXPECT($L112, fail, 'If "if"'), $E($EXPECT($L3, fail, 'If " "')))), function($skip, $loc, $0, $1) {
9387
+ var If$0 = $TV($TEXT($S($EXPECT($L112, fail, 'If "if"'), $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
9219
9388
  return { $loc, token: $1 };
9220
9389
  });
9221
9390
  function If(state) {
@@ -9236,7 +9405,7 @@ ${input.slice(result.pos)}
9236
9405
  return result;
9237
9406
  }
9238
9407
  }
9239
- var Import$0 = $TS($S($EXPECT($L9, fail, 'Import "import"'), $Y($EXPECT($R41, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
9408
+ var Import$0 = $TS($S($EXPECT($L10, fail, 'Import "import"'), $Y($EXPECT($R42, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
9240
9409
  return { $loc, token: $1 };
9241
9410
  });
9242
9411
  function Import(state) {
@@ -9278,7 +9447,7 @@ ${input.slice(result.pos)}
9278
9447
  return result;
9279
9448
  }
9280
9449
  }
9281
- var LetOrConst$0 = $TV($C($EXPECT($L113, fail, 'LetOrConst "let"'), $EXPECT($L114, fail, 'LetOrConst "const"')), function($skip, $loc, $0, $1) {
9450
+ var LetOrConst$0 = $TS($S($C($EXPECT($L113, fail, 'LetOrConst "let"'), $EXPECT($L114, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9282
9451
  return { $loc, token: $1 };
9283
9452
  });
9284
9453
  function LetOrConst(state) {
@@ -9320,7 +9489,7 @@ ${input.slice(result.pos)}
9320
9489
  return result;
9321
9490
  }
9322
9491
  }
9323
- var New$0 = $TV($EXPECT($L116, fail, 'New "new"'), function($skip, $loc, $0, $1) {
9492
+ var New$0 = $TS($S($EXPECT($L116, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9324
9493
  return { $loc, token: $1 };
9325
9494
  });
9326
9495
  function New(state) {
@@ -9341,7 +9510,7 @@ ${input.slice(result.pos)}
9341
9510
  return result;
9342
9511
  }
9343
9512
  }
9344
- var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L72, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L3, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
9513
+ var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L72, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L4, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
9345
9514
  return { $loc, token: "!" };
9346
9515
  });
9347
9516
  function Not(state) {
@@ -9617,7 +9786,7 @@ ${input.slice(result.pos)}
9617
9786
  return result;
9618
9787
  }
9619
9788
  }
9620
- var Target$0 = $TV($EXPECT($L125, fail, 'Target "target"'), function($skip, $loc, $0, $1) {
9789
+ var Target$0 = $TS($S($EXPECT($L125, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9621
9790
  return { $loc, token: $1 };
9622
9791
  });
9623
9792
  function Target(state) {
@@ -9785,7 +9954,7 @@ ${input.slice(result.pos)}
9785
9954
  return result;
9786
9955
  }
9787
9956
  }
9788
- var Try$0 = $TV($EXPECT($L133, fail, 'Try "try"'), function($skip, $loc, $0, $1) {
9957
+ var Try$0 = $TS($S($EXPECT($L133, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9789
9958
  return { $loc, token: $1 };
9790
9959
  });
9791
9960
  function Try(state) {
@@ -9827,7 +9996,7 @@ ${input.slice(result.pos)}
9827
9996
  return result;
9828
9997
  }
9829
9998
  }
9830
- var Unless$0 = $TV($EXPECT($L135, fail, 'Unless "unless"'), function($skip, $loc, $0, $1) {
9999
+ var Unless$0 = $TS($S($EXPECT($L135, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9831
10000
  return { $loc, token: $1 };
9832
10001
  });
9833
10002
  function Unless(state) {
@@ -9869,7 +10038,7 @@ ${input.slice(result.pos)}
9869
10038
  return result;
9870
10039
  }
9871
10040
  }
9872
- var Var$0 = $TV($EXPECT($L137, fail, 'Var "var"'), function($skip, $loc, $0, $1) {
10041
+ var Var$0 = $TS($S($EXPECT($L137, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9873
10042
  return { $loc, token: $1 };
9874
10043
  });
9875
10044
  function Var(state) {
@@ -9999,7 +10168,7 @@ ${input.slice(result.pos)}
9999
10168
  return result;
10000
10169
  }
10001
10170
  }
10002
- var JSXSelfClosingElement$0 = $S($EXPECT($L4, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(JSXAttributes), __, $EXPECT($L142, fail, 'JSXSelfClosingElement "/>"'));
10171
+ var JSXSelfClosingElement$0 = $S($EXPECT($L5, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(JSXAttributes), __, $EXPECT($L142, fail, 'JSXSelfClosingElement "/>"'));
10003
10172
  function JSXSelfClosingElement(state) {
10004
10173
  if (state.events) {
10005
10174
  const result = state.events.enter?.("JSXSelfClosingElement", state);
@@ -10018,7 +10187,7 @@ ${input.slice(result.pos)}
10018
10187
  return result;
10019
10188
  }
10020
10189
  }
10021
- var JSXOpeningElement$0 = $S($EXPECT($L4, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(JSXAttributes), __, $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
10190
+ var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(JSXAttributes), __, $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
10022
10191
  function JSXOpeningElement(state) {
10023
10192
  if (state.events) {
10024
10193
  const result = state.events.enter?.("JSXOpeningElement", state);
@@ -10094,7 +10263,7 @@ ${input.slice(result.pos)}
10094
10263
  return result;
10095
10264
  }
10096
10265
  }
10097
- var JSXIdentifierName$0 = $R$0($EXPECT($R42, fail, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
10266
+ var JSXIdentifierName$0 = $R$0($EXPECT($R43, fail, "JSXIdentifierName /(?:\\p{ID_Start}|[_$])(?:\\p{ID_Continue}|[\\u200C\\u200D$-])*/"));
10098
10267
  function JSXIdentifierName(state) {
10099
10268
  if (state.events) {
10100
10269
  const result = state.events.enter?.("JSXIdentifierName", state);
@@ -10190,8 +10359,8 @@ ${input.slice(result.pos)}
10190
10359
  return result;
10191
10360
  }
10192
10361
  }
10193
- var JSXAttributeValue$0 = $R$0($EXPECT($R43, fail, 'JSXAttributeValue /"[^"]*"/'));
10194
- var JSXAttributeValue$1 = $R$0($EXPECT($R44, fail, "JSXAttributeValue /'[^']*'/"));
10362
+ var JSXAttributeValue$0 = $R$0($EXPECT($R44, fail, 'JSXAttributeValue /"[^"]*"/'));
10363
+ var JSXAttributeValue$1 = $R$0($EXPECT($R45, fail, "JSXAttributeValue /'[^']*'/"));
10195
10364
  var JSXAttributeValue$2 = $S(OpenBrace, ExtendedExpression, __, CloseBrace);
10196
10365
  var JSXAttributeValue$3 = JSXElement;
10197
10366
  var JSXAttributeValue$4 = JSXFragment;
@@ -10254,7 +10423,7 @@ ${input.slice(result.pos)}
10254
10423
  return result;
10255
10424
  }
10256
10425
  }
10257
- var JSXText$0 = $R$0($EXPECT($R45, fail, "JSXText /[^{}<>]+/"));
10426
+ var JSXText$0 = $R$0($EXPECT($R46, fail, "JSXText /[^{}<>]+/"));
10258
10427
  function JSXText(state) {
10259
10428
  if (state.events) {
10260
10429
  const result = state.events.enter?.("JSXText", state);
@@ -10582,7 +10751,7 @@ ${input.slice(result.pos)}
10582
10751
  return result;
10583
10752
  }
10584
10753
  }
10585
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R46, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L150, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R47, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
10754
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R47, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L150, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R48, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
10586
10755
  function TypeIndexSignature(state) {
10587
10756
  if (state.events) {
10588
10757
  const result = state.events.enter?.("TypeIndexSignature", state);
@@ -10923,7 +11092,7 @@ ${input.slice(result.pos)}
10923
11092
  return result;
10924
11093
  }
10925
11094
  }
10926
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L5, fail, 'TypeConditional "extends"'), Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
11095
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L6, fail, 'TypeConditional "extends"'), Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
10927
11096
  if ($2)
10928
11097
  return $0;
10929
11098
  return $1;
@@ -10995,7 +11164,7 @@ ${input.slice(result.pos)}
10995
11164
  return result;
10996
11165
  }
10997
11166
  }
10998
- var FunctionType$0 = $S(Parameters, __, $EXPECT($L2, fail, 'FunctionType "=>"'), Type);
11167
+ var FunctionType$0 = $S(Parameters, __, $EXPECT($L3, fail, 'FunctionType "=>"'), Type);
10999
11168
  function FunctionType(state) {
11000
11169
  if (state.events) {
11001
11170
  const result = state.events.enter?.("FunctionType", state);
@@ -11014,7 +11183,7 @@ ${input.slice(result.pos)}
11014
11183
  return result;
11015
11184
  }
11016
11185
  }
11017
- var TypeArguments$0 = $S(__, $EXPECT($L4, fail, 'TypeArguments "<"'), __, Type, $Q($S(__, Comma, __, Type)), $E($S(__, Comma)), __, $EXPECT($L25, fail, 'TypeArguments ">"'));
11186
+ var TypeArguments$0 = $S(__, $EXPECT($L5, fail, 'TypeArguments "<"'), __, Type, $Q($S(__, Comma, __, Type)), $E($S(__, Comma)), __, $EXPECT($L25, fail, 'TypeArguments ">"'));
11018
11187
  function TypeArguments(state) {
11019
11188
  if (state.events) {
11020
11189
  const result = state.events.enter?.("TypeArguments", state);
@@ -11033,7 +11202,7 @@ ${input.slice(result.pos)}
11033
11202
  return result;
11034
11203
  }
11035
11204
  }
11036
- var TypeParameters$0 = $TS($S(__, $EXPECT($L4, fail, 'TypeParameters "<"'), __, Type, $Q($S(__, Comma, __, Type)), $E($S(__, Comma)), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
11205
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeParameters "<"'), __, Type, $Q($S(__, Comma, __, Type)), $E($S(__, Comma)), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
11037
11206
  return { ts: true, children: $0 };
11038
11207
  });
11039
11208
  function TypeParameters(state) {
@@ -11073,7 +11242,7 @@ ${input.slice(result.pos)}
11073
11242
  return result;
11074
11243
  }
11075
11244
  }
11076
- var TypeConstraint$0 = $S(__, $EXPECT($L5, fail, 'TypeConstraint "extends"'), Type);
11245
+ var TypeConstraint$0 = $S(__, $EXPECT($L6, fail, 'TypeConstraint "extends"'), Type);
11077
11246
  function TypeConstraint(state) {
11078
11247
  if (state.events) {
11079
11248
  const result = state.events.enter?.("TypeConstraint", state);
@@ -11118,7 +11287,7 @@ ${input.slice(result.pos)}
11118
11287
  return result;
11119
11288
  }
11120
11289
  }
11121
- var Shebang$0 = $S($R$0($EXPECT($R48, fail, "Shebang /#![^\\r\\n]*/")), EOL);
11290
+ var Shebang$0 = $S($R$0($EXPECT($R49, fail, "Shebang /#![^\\r\\n]*/")), EOL);
11122
11291
  function Shebang(state) {
11123
11292
  if (state.events) {
11124
11293
  const result = state.events.enter?.("Shebang", state);
@@ -11137,11 +11306,11 @@ ${input.slice(result.pos)}
11137
11306
  return result;
11138
11307
  }
11139
11308
  }
11140
- var CivetPrologue$0 = $T($S($EXPECT($R49, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), EOS), function(value) {
11309
+ var CivetPrologue$0 = $T($S($EXPECT($R50, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(StatementDelimiter), EOS), function(value) {
11141
11310
  var content = value[2];
11142
11311
  return content;
11143
11312
  });
11144
- var CivetPrologue$1 = $T($S($EXPECT($R49, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), EOS), function(value) {
11313
+ var CivetPrologue$1 = $T($S($EXPECT($R50, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(StatementDelimiter), EOS), function(value) {
11145
11314
  var content = value[2];
11146
11315
  return content;
11147
11316
  });
@@ -11163,7 +11332,7 @@ ${input.slice(result.pos)}
11163
11332
  return result;
11164
11333
  }
11165
11334
  }
11166
- var CivetPrologueContent$0 = $TS($S($EXPECT($L155, fail, 'CivetPrologueContent "civet"'), $Q(CivetOption), $EXPECT($R50, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3) {
11335
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L155, fail, 'CivetPrologueContent "civet"'), $Q(CivetOption), $EXPECT($R51, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3) {
11167
11336
  var options = $2;
11168
11337
  return {
11169
11338
  type: "CivetPrologue",
@@ -11189,7 +11358,7 @@ ${input.slice(result.pos)}
11189
11358
  return result;
11190
11359
  }
11191
11360
  }
11192
- var CivetOption$0 = $TR($EXPECT($R51, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11361
+ var CivetOption$0 = $TR($EXPECT($R52, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11193
11362
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
11194
11363
  if (l)
11195
11364
  return l.toUpperCase();
@@ -11216,7 +11385,7 @@ ${input.slice(result.pos)}
11216
11385
  return result;
11217
11386
  }
11218
11387
  }
11219
- var UnknownPrologue$0 = $S($R$0($EXPECT($R49, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
11388
+ var UnknownPrologue$0 = $S($R$0($EXPECT($R50, fail, "UnknownPrologue /[\\t ]*/")), BasicStringLiteral, $TEXT(StatementDelimiter), EOS);
11220
11389
  function UnknownPrologue(state) {
11221
11390
  if (state.events) {
11222
11391
  const result = state.events.enter?.("UnknownPrologue", state);
@@ -11274,7 +11443,7 @@ ${input.slice(result.pos)}
11274
11443
  return result;
11275
11444
  }
11276
11445
  }
11277
- var EOL$0 = $TR($EXPECT($R52, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11446
+ var EOL$0 = $TR($EXPECT($R53, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11278
11447
  return { $loc, token: $0 };
11279
11448
  });
11280
11449
  function EOL(state) {
@@ -11295,7 +11464,7 @@ ${input.slice(result.pos)}
11295
11464
  return result;
11296
11465
  }
11297
11466
  }
11298
- var Debugger$0 = $TV($EXPECT($L13, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
11467
+ var Debugger$0 = $TV($EXPECT($L0, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
11299
11468
  debugger;
11300
11469
  });
11301
11470
  function Debugger(state) {
@@ -11316,7 +11485,7 @@ ${input.slice(result.pos)}
11316
11485
  return result;
11317
11486
  }
11318
11487
  }
11319
- var InsertOpenParen$0 = $TV($EXPECT($L13, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
11488
+ var InsertOpenParen$0 = $TV($EXPECT($L0, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
11320
11489
  return { $loc, token: "(" };
11321
11490
  });
11322
11491
  function InsertOpenParen(state) {
@@ -11337,7 +11506,7 @@ ${input.slice(result.pos)}
11337
11506
  return result;
11338
11507
  }
11339
11508
  }
11340
- var InsertCloseParen$0 = $TV($EXPECT($L13, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
11509
+ var InsertCloseParen$0 = $TV($EXPECT($L0, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
11341
11510
  return { $loc, token: ")" };
11342
11511
  });
11343
11512
  function InsertCloseParen(state) {
@@ -11358,7 +11527,7 @@ ${input.slice(result.pos)}
11358
11527
  return result;
11359
11528
  }
11360
11529
  }
11361
- var InsertOpenBrace$0 = $TV($EXPECT($L13, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
11530
+ var InsertOpenBrace$0 = $TV($EXPECT($L0, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
11362
11531
  return [{ $loc, token: " " }, { $loc, token: "{" }];
11363
11532
  });
11364
11533
  function InsertOpenBrace(state) {
@@ -11379,7 +11548,28 @@ ${input.slice(result.pos)}
11379
11548
  return result;
11380
11549
  }
11381
11550
  }
11382
- var InsertCloseBrace$0 = $TV($EXPECT($L13, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
11551
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L0, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
11552
+ return [{ $loc, token: "{" }];
11553
+ });
11554
+ function InsertInlineOpenBrace(state) {
11555
+ if (state.events) {
11556
+ const result = state.events.enter?.("InsertInlineOpenBrace", state);
11557
+ if (result)
11558
+ return result.cache;
11559
+ }
11560
+ if (state.tokenize) {
11561
+ const result = $TOKEN("InsertInlineOpenBrace", state, InsertInlineOpenBrace$0(state));
11562
+ if (state.events)
11563
+ state.events.exit?.("InsertInlineOpenBrace", state, result);
11564
+ return result;
11565
+ } else {
11566
+ const result = InsertInlineOpenBrace$0(state);
11567
+ if (state.events)
11568
+ state.events.exit?.("InsertInlineOpenBrace", state, result);
11569
+ return result;
11570
+ }
11571
+ }
11572
+ var InsertCloseBrace$0 = $TV($EXPECT($L0, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
11383
11573
  return { $loc, token: "}" };
11384
11574
  });
11385
11575
  function InsertCloseBrace(state) {
@@ -11400,7 +11590,7 @@ ${input.slice(result.pos)}
11400
11590
  return result;
11401
11591
  }
11402
11592
  }
11403
- var InsertConst$0 = $TV($EXPECT($L13, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
11593
+ var InsertConst$0 = $TV($EXPECT($L0, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
11404
11594
  return { $loc, token: "const " };
11405
11595
  });
11406
11596
  function InsertConst(state) {
@@ -11421,7 +11611,7 @@ ${input.slice(result.pos)}
11421
11611
  return result;
11422
11612
  }
11423
11613
  }
11424
- var InsertReadonly$0 = $TV($EXPECT($L13, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
11614
+ var InsertReadonly$0 = $TV($EXPECT($L0, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
11425
11615
  return { ts: true, children: [{ $loc, token: "readonly " }] };
11426
11616
  });
11427
11617
  function InsertReadonly(state) {
@@ -11442,7 +11632,7 @@ ${input.slice(result.pos)}
11442
11632
  return result;
11443
11633
  }
11444
11634
  }
11445
- var InsertNewline$0 = $TV($EXPECT($L13, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
11635
+ var InsertNewline$0 = $TV($EXPECT($L0, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
11446
11636
  return "\n";
11447
11637
  });
11448
11638
  function InsertNewline(state) {
@@ -11463,7 +11653,7 @@ ${input.slice(result.pos)}
11463
11653
  return result;
11464
11654
  }
11465
11655
  }
11466
- var InsertIndent$0 = $TV($EXPECT($L13, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
11656
+ var InsertIndent$0 = $TV($EXPECT($L0, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
11467
11657
  return module.currentIndent.token;
11468
11658
  });
11469
11659
  function InsertIndent(state) {
@@ -11484,7 +11674,7 @@ ${input.slice(result.pos)}
11484
11674
  return result;
11485
11675
  }
11486
11676
  }
11487
- var InsertSpace$0 = $TV($EXPECT($L13, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
11677
+ var InsertSpace$0 = $TV($EXPECT($L0, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
11488
11678
  return { $loc, token: " " };
11489
11679
  });
11490
11680
  function InsertSpace(state) {
@@ -11505,7 +11695,7 @@ ${input.slice(result.pos)}
11505
11695
  return result;
11506
11696
  }
11507
11697
  }
11508
- var InsertDot$0 = $TV($EXPECT($L13, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
11698
+ var InsertDot$0 = $TV($EXPECT($L0, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
11509
11699
  return { $loc, token: "." };
11510
11700
  });
11511
11701
  function InsertDot(state) {
@@ -11526,7 +11716,7 @@ ${input.slice(result.pos)}
11526
11716
  return result;
11527
11717
  }
11528
11718
  }
11529
- var InsertBreak$0 = $TV($EXPECT($L13, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
11719
+ var InsertBreak$0 = $TV($EXPECT($L0, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
11530
11720
  return { $loc, token: ";break;" };
11531
11721
  });
11532
11722
  function InsertBreak(state) {
@@ -11547,7 +11737,7 @@ ${input.slice(result.pos)}
11547
11737
  return result;
11548
11738
  }
11549
11739
  }
11550
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
11740
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
11551
11741
  if (module.config.coffeeBinaryExistential)
11552
11742
  return;
11553
11743
  return $skip;
@@ -11570,7 +11760,7 @@ ${input.slice(result.pos)}
11570
11760
  return result;
11571
11761
  }
11572
11762
  }
11573
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
11763
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
11574
11764
  if (module.config.coffeeBooleans)
11575
11765
  return;
11576
11766
  return $skip;
@@ -11593,7 +11783,7 @@ ${input.slice(result.pos)}
11593
11783
  return result;
11594
11784
  }
11595
11785
  }
11596
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
11786
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
11597
11787
  if (module.config.coffeeClasses)
11598
11788
  return;
11599
11789
  return $skip;
@@ -11616,7 +11806,7 @@ ${input.slice(result.pos)}
11616
11806
  return result;
11617
11807
  }
11618
11808
  }
11619
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
11809
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
11620
11810
  if (module.config.coffeeComment)
11621
11811
  return;
11622
11812
  return $skip;
@@ -11639,7 +11829,7 @@ ${input.slice(result.pos)}
11639
11829
  return result;
11640
11830
  }
11641
11831
  }
11642
- var CoffeeDoEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
11832
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
11643
11833
  if (module.config.coffeeDo)
11644
11834
  return;
11645
11835
  return $skip;
@@ -11662,7 +11852,7 @@ ${input.slice(result.pos)}
11662
11852
  return result;
11663
11853
  }
11664
11854
  }
11665
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
11855
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
11666
11856
  if (module.config.coffeeForLoops)
11667
11857
  return;
11668
11858
  return $skip;
@@ -11685,7 +11875,7 @@ ${input.slice(result.pos)}
11685
11875
  return result;
11686
11876
  }
11687
11877
  }
11688
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
11878
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
11689
11879
  if (module.config.coffeeInterpolation)
11690
11880
  return;
11691
11881
  return $skip;
@@ -11708,7 +11898,7 @@ ${input.slice(result.pos)}
11708
11898
  return result;
11709
11899
  }
11710
11900
  }
11711
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
11901
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
11712
11902
  if (module.config.coffeeIsnt)
11713
11903
  return;
11714
11904
  return $skip;
@@ -11731,7 +11921,7 @@ ${input.slice(result.pos)}
11731
11921
  return result;
11732
11922
  }
11733
11923
  }
11734
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
11924
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
11735
11925
  if (module.config.coffeeLineContinuation)
11736
11926
  return;
11737
11927
  return $skip;
@@ -11754,7 +11944,7 @@ ${input.slice(result.pos)}
11754
11944
  return result;
11755
11945
  }
11756
11946
  }
11757
- var CoffeeNotEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
11947
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
11758
11948
  if (module.config.coffeeNot)
11759
11949
  return;
11760
11950
  return $skip;
@@ -11777,7 +11967,7 @@ ${input.slice(result.pos)}
11777
11967
  return result;
11778
11968
  }
11779
11969
  }
11780
- var CoffeeOfEnabled$0 = $TV($EXPECT($L13, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
11970
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L0, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
11781
11971
  if (module.config.coffeeOf)
11782
11972
  return;
11783
11973
  return $skip;
@@ -11800,7 +11990,7 @@ ${input.slice(result.pos)}
11800
11990
  return result;
11801
11991
  }
11802
11992
  }
11803
- var Reset$0 = $TV($EXPECT($L13, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
11993
+ var Reset$0 = $TV($EXPECT($L0, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
11804
11994
  module.indentLevels = [{
11805
11995
  level: 0,
11806
11996
  token: ""
@@ -11843,7 +12033,8 @@ ${input.slice(result.pos)}
11843
12033
  return spliceRef;
11844
12034
  spliceRef = {
11845
12035
  type: "Ref",
11846
- base: "splice"
12036
+ base: "splice",
12037
+ id: "splice"
11847
12038
  };
11848
12039
  return spliceRef;
11849
12040
  };
@@ -11852,7 +12043,8 @@ ${input.slice(result.pos)}
11852
12043
  return indexOfRef;
11853
12044
  indexOfRef = {
11854
12045
  type: "Ref",
11855
- base: "indexOf"
12046
+ base: "indexOf",
12047
+ id: "indexOf"
11856
12048
  };
11857
12049
  const typeSuffix = {
11858
12050
  ts: true,
@@ -11866,7 +12058,8 @@ ${input.slice(result.pos)}
11866
12058
  return hasPropRef;
11867
12059
  hasPropRef = {
11868
12060
  type: "Ref",
11869
- base: "hasProp"
12061
+ base: "hasProp",
12062
+ id: "hasProp"
11870
12063
  };
11871
12064
  const typeSuffix = {
11872
12065
  ts: true,
@@ -11930,7 +12123,7 @@ ${input.slice(result.pos)}
11930
12123
  return result;
11931
12124
  }
11932
12125
  }
11933
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L13, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
12126
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L0, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
11934
12127
  var directives = $2;
11935
12128
  directives.forEach((directive) => {
11936
12129
  if (directive.type === "CivetPrologue") {
@@ -11977,7 +12170,8 @@ ${input.slice(result.pos)}
11977
12170
  function expressionizeIteration(exp) {
11978
12171
  const resultsRef = {
11979
12172
  type: "Ref",
11980
- base: "results"
12173
+ base: "results",
12174
+ id: "results"
11981
12175
  };
11982
12176
  insertPush(exp.block, resultsRef);
11983
12177
  exp.children = ["(", resultsRef, "=>{", ...exp.children, "; return ", resultsRef, "})([])"];
@@ -11985,7 +12179,8 @@ ${input.slice(result.pos)}
11985
12179
  function wrapIterationReturningResults(statement, outerRef) {
11986
12180
  const resultsRef = {
11987
12181
  type: "Ref",
11988
- base: "results"
12182
+ base: "results",
12183
+ id: "results"
11989
12184
  };
11990
12185
  const declaration = {
11991
12186
  type: "Declaration",
@@ -12070,7 +12265,8 @@ ${input.slice(result.pos)}
12070
12265
  return;
12071
12266
  case "TryStatement":
12072
12267
  insertPush(exp.children[1], ref);
12073
- insertPush(exp.children[2][3], ref);
12268
+ if (exp.children[2])
12269
+ insertPush(exp.children[2][2], ref);
12074
12270
  return;
12075
12271
  }
12076
12272
  node.splice(1, 0, ref, ".push(");
@@ -12145,7 +12341,8 @@ ${input.slice(result.pos)}
12145
12341
  return;
12146
12342
  case "TryStatement":
12147
12343
  insertReturn(exp.children[1]);
12148
- insertReturn(exp.children[2][3]);
12344
+ if (exp.children[2])
12345
+ insertReturn(exp.children[2][3]);
12149
12346
  return;
12150
12347
  }
12151
12348
  node.splice(1, 0, "return ");
@@ -12172,7 +12369,7 @@ ${input.slice(result.pos)}
12172
12369
  wsOp = module.insertTrimmingSpace(wsOp, "");
12173
12370
  wsB = module.insertTrimmingSpace(wsB, "");
12174
12371
  children = [wsOp, op2.ref, ".call(", wsB, b, ", ", a, ")", op2.suffix];
12175
- } else if (op2.token === "instanceof") {
12372
+ } else if (op2.token === "instanceof" || op2.token === "in") {
12176
12373
  children = ["!(", a, wsOp, op2, wsB, b, ")"];
12177
12374
  } else {
12178
12375
  throw new Error("Unknown operator: " + JSON.stringify(op2));
@@ -12409,7 +12606,7 @@ ${input.slice(result.pos)}
12409
12606
  const atBinding = binding.children[0];
12410
12607
  atBinding.children.pop();
12411
12608
  atBinding.type = void 0;
12412
- binding.children.unshift(ref.base, ": this.", ref.base);
12609
+ binding.children.unshift(ref.id, ": this.", ref.base);
12413
12610
  binding.type = "Property";
12414
12611
  binding.ref = void 0;
12415
12612
  return;
@@ -12663,8 +12860,8 @@ ${input.slice(result.pos)}
12663
12860
  function insertRestSplices(s, p, thisAssignments2) {
12664
12861
  gatherRecursiveAll(s, (n) => n.blockPrefix || n.type === "AtBinding").forEach((n) => {
12665
12862
  if (n.type === "AtBinding") {
12666
- const { ref } = n, { base: name } = ref;
12667
- thisAssignments2.push([`this.${name} = `, ref]);
12863
+ const { ref } = n, { id } = ref;
12864
+ thisAssignments2.push([`this.${id} = `, ref]);
12668
12865
  return;
12669
12866
  }
12670
12867
  const { blockPrefix } = n;
@@ -12821,7 +13018,7 @@ ${input.slice(result.pos)}
12821
13018
  return result;
12822
13019
  }
12823
13020
  }
12824
- var PopIndent$0 = $TV($EXPECT($L13, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
13021
+ var PopIndent$0 = $TV($EXPECT($L0, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
12825
13022
  if (module.verbose) {
12826
13023
  console.log("popping indent", module.indentLevels[module.indentLevels.length - 1], "->", module.indentLevels[module.indentLevels.length - 2]);
12827
13024
  }
@@ -13385,6 +13582,9 @@ ${"//#"} sourceMappingURL=data:application/json;base64,${base64Encode(JSON.strin
13385
13582
  case "NestedImplicitPropertyDefinitions":
13386
13583
  case "NestedBlockStatement":
13387
13584
  case "NestedInterfaceProperty":
13585
+ case "IndentedApplicationAllowed":
13586
+ case "ExpressionWithIndentedApplicationSuppressed":
13587
+ case "SuppressIndentedApplication":
13388
13588
  case "AssignmentExpressionTail":
13389
13589
  case "AssignmentExpression":
13390
13590
  case "ExtendedExpression":