@danielx/civet 0.5.59 → 0.5.61

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.mjs CHANGED
@@ -448,6 +448,7 @@ ${input.slice(result.pos)}
448
448
  ArgumentPart,
449
449
  BinaryOpExpression,
450
450
  BinaryOpRHS,
451
+ RHS,
451
452
  ParenthesizedAssignment,
452
453
  UnaryExpression,
453
454
  UnaryPostfix,
@@ -609,7 +610,9 @@ ${input.slice(result.pos)}
609
610
  MethodSignature,
610
611
  ClassElementName,
611
612
  PrivateIdentifier,
613
+ WAssignmentOp,
612
614
  AssignmentOp,
615
+ OperatorAssignmentOp,
613
616
  AssignmentOpSymbol,
614
617
  CoffeeWordAssignmentOp,
615
618
  BinaryOp,
@@ -663,7 +666,7 @@ ${input.slice(result.pos)}
663
666
  TryExpression,
664
667
  CatchClause,
665
668
  CatchBind,
666
- Finally,
669
+ FinallyClause,
667
670
  CatchParameter,
668
671
  Condition,
669
672
  ExpressionWithIndentedApplicationSuppressed,
@@ -796,6 +799,7 @@ ${input.slice(result.pos)}
796
799
  Equals,
797
800
  Export,
798
801
  Extends,
802
+ Finally,
799
803
  For,
800
804
  From,
801
805
  Function,
@@ -930,6 +934,7 @@ ${input.slice(result.pos)}
930
934
  InlineInterfacePropertyDelimiter,
931
935
  TypeBinaryOp,
932
936
  FunctionType,
937
+ TypeArrowFunction,
933
938
  TypeArguments,
934
939
  TypeArgument,
935
940
  TypeArgumentDelimiter,
@@ -991,34 +996,34 @@ ${input.slice(result.pos)}
991
996
  Nested
992
997
  });
993
998
  var $L0 = $L("/ ");
994
- var $L1 = $L("(");
995
- var $L2 = $L("?");
996
- var $L3 = $L(".");
997
- var $L4 = $L("++");
998
- var $L5 = $L("--");
999
- var $L6 = $L("=>");
1000
- var $L7 = $L(" ");
1001
- var $L8 = $L("implements");
1002
- var $L9 = $L("<:");
1003
- var $L10 = $L("#");
1004
- var $L11 = $L("super");
1005
- var $L12 = $L("import");
1006
- var $L13 = $L("!");
1007
- var $L14 = $L("-");
1008
- var $L15 = $L("super[");
1009
- var $L16 = $L("import.meta");
1010
- var $L17 = $L("");
1011
- var $L18 = $L(")");
1012
- var $L19 = $L("->");
1013
- var $L20 = $L("}");
1014
- var $L21 = $L("null");
1015
- var $L22 = $L("true");
1016
- var $L23 = $L("false");
1017
- var $L24 = $L("yes");
1018
- var $L25 = $L("on");
1019
- var $L26 = $L("no");
1020
- var $L27 = $L("off");
1021
- var $L28 = $L("=");
999
+ var $L1 = $L("=");
1000
+ var $L2 = $L("(");
1001
+ var $L3 = $L("?");
1002
+ var $L4 = $L(".");
1003
+ var $L5 = $L("++");
1004
+ var $L6 = $L("--");
1005
+ var $L7 = $L("=>");
1006
+ var $L8 = $L(" ");
1007
+ var $L9 = $L("implements");
1008
+ var $L10 = $L("<:");
1009
+ var $L11 = $L("#");
1010
+ var $L12 = $L("super");
1011
+ var $L13 = $L("import");
1012
+ var $L14 = $L("!");
1013
+ var $L15 = $L("-");
1014
+ var $L16 = $L("super[");
1015
+ var $L17 = $L("import.meta");
1016
+ var $L18 = $L("");
1017
+ var $L19 = $L(")");
1018
+ var $L20 = $L("->");
1019
+ var $L21 = $L("}");
1020
+ var $L22 = $L("null");
1021
+ var $L23 = $L("true");
1022
+ var $L24 = $L("false");
1023
+ var $L25 = $L("yes");
1024
+ var $L26 = $L("on");
1025
+ var $L27 = $L("no");
1026
+ var $L28 = $L("off");
1022
1027
  var $L29 = $L(">");
1023
1028
  var $L30 = $L("]");
1024
1029
  var $L31 = $L(":");
@@ -1073,41 +1078,41 @@ ${input.slice(result.pos)}
1073
1078
  var $L80 = $L("|");
1074
1079
  var $L81 = $L(";");
1075
1080
  var $L82 = $L("own");
1076
- var $L83 = $L("finally");
1077
- var $L84 = $L("break");
1078
- var $L85 = $L("continue");
1079
- var $L86 = $L("debugger");
1080
- var $L87 = $L("assert");
1081
- var $L88 = $L(":=");
1082
- var $L89 = $L(".=");
1083
- var $L90 = $L("/*");
1084
- var $L91 = $L("*/");
1085
- var $L92 = $L("\\");
1086
- var $L93 = $L("[");
1087
- var $L94 = $L("`");
1088
- var $L95 = $L("abstract");
1089
- var $L96 = $L("as");
1090
- var $L97 = $L("@");
1091
- var $L98 = $L("@@");
1092
- var $L99 = $L("async");
1093
- var $L100 = $L("await");
1094
- var $L101 = $L("by");
1095
- var $L102 = $L("case");
1096
- var $L103 = $L("catch");
1097
- var $L104 = $L("class");
1098
- var $L105 = $L("#{");
1099
- var $L106 = $L(",");
1100
- var $L107 = $L("declare");
1101
- var $L108 = $L("default");
1102
- var $L109 = $L("delete");
1103
- var $L110 = $L("do");
1104
- var $L111 = $L("..");
1105
- var $L112 = $L("...");
1106
- var $L113 = $L("::");
1107
- var $L114 = $L('"');
1108
- var $L115 = $L("else");
1109
- var $L116 = $L("export");
1110
- var $L117 = $L("extends");
1081
+ var $L83 = $L("break");
1082
+ var $L84 = $L("continue");
1083
+ var $L85 = $L("debugger");
1084
+ var $L86 = $L("assert");
1085
+ var $L87 = $L(":=");
1086
+ var $L88 = $L(".=");
1087
+ var $L89 = $L("/*");
1088
+ var $L90 = $L("*/");
1089
+ var $L91 = $L("\\");
1090
+ var $L92 = $L("[");
1091
+ var $L93 = $L("`");
1092
+ var $L94 = $L("abstract");
1093
+ var $L95 = $L("as");
1094
+ var $L96 = $L("@");
1095
+ var $L97 = $L("@@");
1096
+ var $L98 = $L("async");
1097
+ var $L99 = $L("await");
1098
+ var $L100 = $L("by");
1099
+ var $L101 = $L("case");
1100
+ var $L102 = $L("catch");
1101
+ var $L103 = $L("class");
1102
+ var $L104 = $L("#{");
1103
+ var $L105 = $L(",");
1104
+ var $L106 = $L("declare");
1105
+ var $L107 = $L("default");
1106
+ var $L108 = $L("delete");
1107
+ var $L109 = $L("do");
1108
+ var $L110 = $L("..");
1109
+ var $L111 = $L("...");
1110
+ var $L112 = $L("::");
1111
+ var $L113 = $L('"');
1112
+ var $L114 = $L("else");
1113
+ var $L115 = $L("export");
1114
+ var $L116 = $L("extends");
1115
+ var $L117 = $L("finally");
1111
1116
  var $L118 = $L("for");
1112
1117
  var $L119 = $L("from");
1113
1118
  var $L120 = $L("function");
@@ -1547,7 +1552,8 @@ ${input.slice(result.pos)}
1547
1552
  var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1548
1553
  var ForbiddenImplicitCalls$1 = $EXPECT($L0, fail, 'ForbiddenImplicitCalls "/ "');
1549
1554
  var ForbiddenImplicitCalls$2 = AtAt;
1550
- var ForbiddenImplicitCalls$3 = $TS($S(Identifier, $N($EXPECT($L1, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
1555
+ var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L1, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
1556
+ var ForbiddenImplicitCalls$4 = $TS($S(Identifier, $N($EXPECT($L2, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
1551
1557
  if (module.operators.has($1.name))
1552
1558
  return $1;
1553
1559
  return $skip;
@@ -1563,12 +1569,12 @@ ${input.slice(result.pos)}
1563
1569
  }
1564
1570
  }
1565
1571
  if (state.tokenize) {
1566
- const result = $TOKEN("ForbiddenImplicitCalls", state, ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state));
1572
+ const result = $TOKEN("ForbiddenImplicitCalls", state, ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state) || ForbiddenImplicitCalls$4(state));
1567
1573
  if (state.events)
1568
1574
  state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
1569
1575
  return result;
1570
1576
  } else {
1571
- const result = ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state);
1577
+ const result = ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state) || ForbiddenImplicitCalls$4(state);
1572
1578
  if (state.events)
1573
1579
  state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
1574
1580
  return result;
@@ -1605,7 +1611,7 @@ ${input.slice(result.pos)}
1605
1611
  return result;
1606
1612
  }
1607
1613
  }
1608
- var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S($C(Samedent, IndentedFurther), $Y($S($E($EXPECT($L2, fail, 'TrailingMemberExpressions "?"')), $EXPECT($L3, fail, 'TrailingMemberExpressions "."'), $N($EXPECT($R1, fail, "TrailingMemberExpressions /[0-9]/")))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
1614
+ var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S($C(Samedent, IndentedFurther), $Y($S($E($EXPECT($L3, fail, 'TrailingMemberExpressions "?"')), $EXPECT($L4, fail, 'TrailingMemberExpressions "."'), $N($EXPECT($R1, fail, "TrailingMemberExpressions /[0-9]/")))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
1609
1615
  return $1.concat($2);
1610
1616
  });
1611
1617
  function TrailingMemberExpressions(state) {
@@ -1862,7 +1868,12 @@ ${input.slice(result.pos)}
1862
1868
  return result;
1863
1869
  }
1864
1870
  }
1865
- var BinaryOpRHS$0 = $S(__, BinaryOp, __, $C(ParenthesizedAssignment, UnaryExpression, ExpressionizedStatement));
1871
+ var BinaryOpRHS$0 = $TS($S(BinaryOp, RHS), function($skip, $loc, $0, $1, $2) {
1872
+ var op = $1;
1873
+ var rhs = $2;
1874
+ return [[], op, [], rhs];
1875
+ });
1876
+ var BinaryOpRHS$1 = $S(__, BinaryOp, $C(_, $S(EOS, __)), RHS);
1866
1877
  function BinaryOpRHS(state) {
1867
1878
  let eventData;
1868
1879
  if (state.events) {
@@ -1874,17 +1885,42 @@ ${input.slice(result.pos)}
1874
1885
  }
1875
1886
  }
1876
1887
  if (state.tokenize) {
1877
- const result = $TOKEN("BinaryOpRHS", state, BinaryOpRHS$0(state));
1888
+ const result = $TOKEN("BinaryOpRHS", state, BinaryOpRHS$0(state) || BinaryOpRHS$1(state));
1878
1889
  if (state.events)
1879
1890
  state.events.exit?.("BinaryOpRHS", state, result, eventData);
1880
1891
  return result;
1881
1892
  } else {
1882
- const result = BinaryOpRHS$0(state);
1893
+ const result = BinaryOpRHS$0(state) || BinaryOpRHS$1(state);
1883
1894
  if (state.events)
1884
1895
  state.events.exit?.("BinaryOpRHS", state, result, eventData);
1885
1896
  return result;
1886
1897
  }
1887
1898
  }
1899
+ var RHS$0 = ParenthesizedAssignment;
1900
+ var RHS$1 = UnaryExpression;
1901
+ var RHS$2 = ExpressionizedStatement;
1902
+ function RHS(state) {
1903
+ let eventData;
1904
+ if (state.events) {
1905
+ const result = state.events.enter?.("RHS", state);
1906
+ if (result) {
1907
+ if (result.cache)
1908
+ return result.cache;
1909
+ eventData = result.data;
1910
+ }
1911
+ }
1912
+ if (state.tokenize) {
1913
+ const result = $TOKEN("RHS", state, RHS$0(state) || RHS$1(state) || RHS$2(state));
1914
+ if (state.events)
1915
+ state.events.exit?.("RHS", state, result, eventData);
1916
+ return result;
1917
+ } else {
1918
+ const result = RHS$0(state) || RHS$1(state) || RHS$2(state);
1919
+ if (state.events)
1920
+ state.events.exit?.("RHS", state, result, eventData);
1921
+ return result;
1922
+ }
1923
+ }
1888
1924
  var ParenthesizedAssignment$0 = $S(InsertOpenParen, ActualAssignment, InsertCloseParen);
1889
1925
  function ParenthesizedAssignment(state) {
1890
1926
  let eventData;
@@ -1999,7 +2035,7 @@ ${input.slice(result.pos)}
1999
2035
  return result;
2000
2036
  }
2001
2037
  }
2002
- var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L4, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L5, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
2038
+ var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L5, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L6, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
2003
2039
  return { $loc, token: $1 };
2004
2040
  });
2005
2041
  function UpdateExpressionSymbol(state) {
@@ -2135,7 +2171,9 @@ ${input.slice(result.pos)}
2135
2171
  return result;
2136
2172
  }
2137
2173
  }
2138
- var ActualAssignment$0 = $TS($S($P($S(__, LeftHandSideExpression, __, AssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
2174
+ var ActualAssignment$0 = $TS($S($P($S(__, LeftHandSideExpression, WAssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
2175
+ $1 = $1.map((x) => [x[0], x[1], ...x[2]]);
2176
+ $0 = [$1, $2];
2139
2177
  return {
2140
2178
  type: "AssignmentExpression",
2141
2179
  children: $0,
@@ -2278,7 +2316,7 @@ ${input.slice(result.pos)}
2278
2316
  return result;
2279
2317
  }
2280
2318
  }
2281
- var FatArrow$0 = $TS($S(__, $EXPECT($L6, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
2319
+ var FatArrow$0 = $TS($S(__, $EXPECT($L7, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
2282
2320
  var ws = $1;
2283
2321
  if (!ws.length)
2284
2322
  return " =>";
@@ -2361,7 +2399,7 @@ ${input.slice(result.pos)}
2361
2399
  }
2362
2400
  }
2363
2401
  var TernaryRest$0 = NestedTernaryRest;
2364
- var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L7, fail, 'TernaryRest " "')), $Q(TrailingComment), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
2402
+ var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L8, fail, 'TernaryRest " "')), $Q(TrailingComment), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
2365
2403
  return $0.slice(2);
2366
2404
  });
2367
2405
  function TernaryRest(state) {
@@ -2721,7 +2759,7 @@ ${input.slice(result.pos)}
2721
2759
  return result;
2722
2760
  }
2723
2761
  }
2724
- var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L7, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2762
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L8, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2725
2763
  var l = $1;
2726
2764
  var ws = $2;
2727
2765
  var lt = $3;
@@ -2815,7 +2853,7 @@ ${input.slice(result.pos)}
2815
2853
  return result;
2816
2854
  }
2817
2855
  }
2818
- var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L7, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2856
+ var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L8, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2819
2857
  var l = $1;
2820
2858
  var ws = $2;
2821
2859
  var token = $3;
@@ -2825,7 +2863,7 @@ ${input.slice(result.pos)}
2825
2863
  }
2826
2864
  return { children };
2827
2865
  });
2828
- var ImplementsToken$1 = $TS($S(__, $EXPECT($L8, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
2866
+ var ImplementsToken$1 = $TS($S(__, $EXPECT($L9, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
2829
2867
  $2 = { $loc, token: $2 };
2830
2868
  return [$1, $2];
2831
2869
  });
@@ -2851,7 +2889,7 @@ ${input.slice(result.pos)}
2851
2889
  return result;
2852
2890
  }
2853
2891
  }
2854
- var ImplementsShorthand$0 = $TV($EXPECT($L9, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
2892
+ var ImplementsShorthand$0 = $TV($EXPECT($L10, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
2855
2893
  return { $loc, token: "implements " };
2856
2894
  });
2857
2895
  function ImplementsShorthand(state) {
@@ -3102,7 +3140,7 @@ ${input.slice(result.pos)}
3102
3140
  }
3103
3141
  }
3104
3142
  var ThisLiteral$0 = This;
3105
- var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L10, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
3143
+ var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L11, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
3106
3144
  var at = $1;
3107
3145
  var id = $2;
3108
3146
  return [at, ".", id];
@@ -3156,7 +3194,7 @@ ${input.slice(result.pos)}
3156
3194
  return result;
3157
3195
  }
3158
3196
  }
3159
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L3, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
3197
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L4, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
3160
3198
  if ($1.length)
3161
3199
  return $0;
3162
3200
  return $2;
@@ -3183,14 +3221,14 @@ ${input.slice(result.pos)}
3183
3221
  return result;
3184
3222
  }
3185
3223
  }
3186
- var CallExpression$0 = $TS($S($EXPECT($L11, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3224
+ var CallExpression$0 = $TS($S($EXPECT($L12, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3187
3225
  var rest = $3;
3188
3226
  return {
3189
3227
  type: "CallExpression",
3190
3228
  children: [$1, ...$2, ...rest.flat()]
3191
3229
  };
3192
3230
  });
3193
- var CallExpression$1 = $TS($S($EXPECT($L12, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3231
+ var CallExpression$1 = $TS($S($EXPECT($L13, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3194
3232
  var rest = $3;
3195
3233
  return {
3196
3234
  type: "CallExpression",
@@ -3289,7 +3327,7 @@ ${input.slice(result.pos)}
3289
3327
  return result;
3290
3328
  }
3291
3329
  }
3292
- var NonNullAssertion$0 = $T($EXPECT($L13, fail, 'NonNullAssertion "!"'), function(value) {
3330
+ var NonNullAssertion$0 = $T($EXPECT($L14, fail, 'NonNullAssertion "!"'), function(value) {
3293
3331
  return { "type": "NonNullAssertion", "ts": true, "children": value };
3294
3332
  });
3295
3333
  function NonNullAssertion(state) {
@@ -3428,7 +3466,7 @@ ${input.slice(result.pos)}
3428
3466
  ]
3429
3467
  };
3430
3468
  });
3431
- var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L14, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
3469
+ var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L15, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
3432
3470
  var dot = $1;
3433
3471
  var neg = $2;
3434
3472
  var num = $3;
@@ -3570,8 +3608,8 @@ ${input.slice(result.pos)}
3570
3608
  return result;
3571
3609
  }
3572
3610
  }
3573
- var SuperProperty$0 = $S($EXPECT($L15, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3574
- var SuperProperty$1 = $S($EXPECT($L11, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3611
+ var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3612
+ var SuperProperty$1 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3575
3613
  function SuperProperty(state) {
3576
3614
  let eventData;
3577
3615
  if (state.events) {
@@ -3595,7 +3633,7 @@ ${input.slice(result.pos)}
3595
3633
  }
3596
3634
  }
3597
3635
  var MetaProperty$0 = $S(New, Dot, Target);
3598
- var MetaProperty$1 = $TS($S($EXPECT($L16, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3636
+ var MetaProperty$1 = $TS($S($EXPECT($L17, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3599
3637
  return { $loc, token: $1 };
3600
3638
  });
3601
3639
  function MetaProperty(state) {
@@ -3621,7 +3659,7 @@ ${input.slice(result.pos)}
3621
3659
  }
3622
3660
  }
3623
3661
  var Parameters$0 = NonEmptyParameters;
3624
- var Parameters$1 = $TV($EXPECT($L17, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3662
+ var Parameters$1 = $TV($EXPECT($L18, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3625
3663
  return {
3626
3664
  type: "Parameters",
3627
3665
  children: [{ $loc, token: "()" }],
@@ -3782,7 +3820,7 @@ ${input.slice(result.pos)}
3782
3820
  }
3783
3821
  }
3784
3822
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3785
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3823
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L19, fail, 'ParameterElementDelimiter ")"')));
3786
3824
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3787
3825
  return value[1];
3788
3826
  });
@@ -4392,7 +4430,7 @@ ${input.slice(result.pos)}
4392
4430
  children: $0
4393
4431
  };
4394
4432
  });
4395
- var BindingElement$2 = $TV($EXPECT($L17, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4433
+ var BindingElement$2 = $TV($EXPECT($L18, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4396
4434
  return {
4397
4435
  type: "ElisionElement",
4398
4436
  children: [],
@@ -4463,7 +4501,7 @@ ${input.slice(result.pos)}
4463
4501
  return result;
4464
4502
  }
4465
4503
  }
4466
- var EmptyBindingPattern$0 = $TV($EXPECT($L17, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4504
+ var EmptyBindingPattern$0 = $TV($EXPECT($L18, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4467
4505
  const ref = {
4468
4506
  type: "Ref",
4469
4507
  base: "ref",
@@ -4939,7 +4977,7 @@ ${input.slice(result.pos)}
4939
4977
  children: [ws, binding]
4940
4978
  };
4941
4979
  });
4942
- var MatchingElement$3 = $TV($EXPECT($L17, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
4980
+ var MatchingElement$3 = $TV($EXPECT($L18, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
4943
4981
  return {
4944
4982
  type: "ElisionElement",
4945
4983
  children: [],
@@ -5327,7 +5365,7 @@ ${input.slice(result.pos)}
5327
5365
  return result;
5328
5366
  }
5329
5367
  }
5330
- var Arrow$0 = $TV($EXPECT($L19, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
5368
+ var Arrow$0 = $TV($EXPECT($L20, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
5331
5369
  return { $loc, token: $1 };
5332
5370
  });
5333
5371
  function Arrow(state) {
@@ -5537,7 +5575,7 @@ ${input.slice(result.pos)}
5537
5575
  return result;
5538
5576
  }
5539
5577
  }
5540
- var EmptyBareBlock$0 = $TV($EXPECT($L17, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5578
+ var EmptyBareBlock$0 = $TV($EXPECT($L18, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5541
5579
  const expressions = [];
5542
5580
  return {
5543
5581
  type: "BlockStatement",
@@ -5666,7 +5704,7 @@ ${input.slice(result.pos)}
5666
5704
  children: [$1, expressions]
5667
5705
  };
5668
5706
  });
5669
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L20, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
5707
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L21, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
5670
5708
  const expressions = [];
5671
5709
  return {
5672
5710
  type: "BlockStatement",
@@ -5811,7 +5849,7 @@ ${input.slice(result.pos)}
5811
5849
  return result;
5812
5850
  }
5813
5851
  }
5814
- var NullLiteral$0 = $TS($S($EXPECT($L21, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5852
+ var NullLiteral$0 = $TS($S($EXPECT($L22, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5815
5853
  return { $loc, token: $1 };
5816
5854
  });
5817
5855
  function NullLiteral(state) {
@@ -5839,7 +5877,7 @@ ${input.slice(result.pos)}
5839
5877
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
5840
5878
  return value[1];
5841
5879
  });
5842
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L22, fail, 'BooleanLiteral "true"'), $EXPECT($L23, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5880
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'BooleanLiteral "true"'), $EXPECT($L24, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5843
5881
  return { $loc, token: $1 };
5844
5882
  });
5845
5883
  function BooleanLiteral(state) {
@@ -5864,10 +5902,10 @@ ${input.slice(result.pos)}
5864
5902
  return result;
5865
5903
  }
5866
5904
  }
5867
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L25, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5905
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L25, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L26, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5868
5906
  return { $loc, token: "true" };
5869
5907
  });
5870
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L26, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L27, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5908
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L27, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L28, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5871
5909
  return { $loc, token: "false" };
5872
5910
  });
5873
5911
  function CoffeeScriptBooleanLiteral(state) {
@@ -5973,7 +6011,7 @@ ${input.slice(result.pos)}
5973
6011
  return result;
5974
6012
  }
5975
6013
  }
5976
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L28, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L28, fail, 'UpcomingAssignment "="'), $EXPECT($L29, fail, 'UpcomingAssignment ">"')))));
6014
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L1, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L1, fail, 'UpcomingAssignment "="'), $EXPECT($L29, fail, 'UpcomingAssignment ">"')))));
5977
6015
  function UpcomingAssignment(state) {
5978
6016
  let eventData;
5979
6017
  if (state.events) {
@@ -6671,7 +6709,7 @@ ${input.slice(result.pos)}
6671
6709
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
6672
6710
  return value[1];
6673
6711
  });
6674
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L18, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L30, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L20, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
6712
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L19, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L30, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L21, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
6675
6713
  return "";
6676
6714
  });
6677
6715
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -6700,7 +6738,7 @@ ${input.slice(result.pos)}
6700
6738
  }
6701
6739
  }
6702
6740
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
6703
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L20, fail, 'ObjectPropertyDelimiter "}"')));
6741
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L21, fail, 'ObjectPropertyDelimiter "}"')));
6704
6742
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
6705
6743
  return value[1];
6706
6744
  });
@@ -6975,7 +7013,7 @@ ${input.slice(result.pos)}
6975
7013
  expression
6976
7014
  };
6977
7015
  });
6978
- var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L14, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
7016
+ var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L15, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
6979
7017
  return {
6980
7018
  type: "ComputedPropertyName",
6981
7019
  children: $0
@@ -7193,7 +7231,7 @@ ${input.slice(result.pos)}
7193
7231
  return result;
7194
7232
  }
7195
7233
  }
7196
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L10, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
7234
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L11, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
7197
7235
  return {
7198
7236
  type: "Identifier",
7199
7237
  name: $0,
@@ -7226,6 +7264,30 @@ ${input.slice(result.pos)}
7226
7264
  return result;
7227
7265
  }
7228
7266
  }
7267
+ var WAssignmentOp$0 = $S(__, AssignmentOp);
7268
+ var WAssignmentOp$1 = $S(_, OperatorAssignmentOp);
7269
+ function WAssignmentOp(state) {
7270
+ let eventData;
7271
+ if (state.events) {
7272
+ const result = state.events.enter?.("WAssignmentOp", state);
7273
+ if (result) {
7274
+ if (result.cache)
7275
+ return result.cache;
7276
+ eventData = result.data;
7277
+ }
7278
+ }
7279
+ if (state.tokenize) {
7280
+ const result = $TOKEN("WAssignmentOp", state, WAssignmentOp$0(state) || WAssignmentOp$1(state));
7281
+ if (state.events)
7282
+ state.events.exit?.("WAssignmentOp", state, result, eventData);
7283
+ return result;
7284
+ } else {
7285
+ const result = WAssignmentOp$0(state) || WAssignmentOp$1(state);
7286
+ if (state.events)
7287
+ state.events.exit?.("WAssignmentOp", state, result, eventData);
7288
+ return result;
7289
+ }
7290
+ }
7229
7291
  var AssignmentOp$0 = $TS($S(AssignmentOpSymbol, $Q(TrailingComment)), function($skip, $loc, $0, $1, $2) {
7230
7292
  if ($2.length) {
7231
7293
  return {
@@ -7257,6 +7319,35 @@ ${input.slice(result.pos)}
7257
7319
  return result;
7258
7320
  }
7259
7321
  }
7322
+ var OperatorAssignmentOp$0 = $TS($S(Identifier, $EXPECT($L1, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $Q(TrailingComment)), function($skip, $loc, $0, $1, $2, $3, $4) {
7323
+ return {
7324
+ special: true,
7325
+ call: $1,
7326
+ children: [$2, ...$4]
7327
+ };
7328
+ });
7329
+ function OperatorAssignmentOp(state) {
7330
+ let eventData;
7331
+ if (state.events) {
7332
+ const result = state.events.enter?.("OperatorAssignmentOp", state);
7333
+ if (result) {
7334
+ if (result.cache)
7335
+ return result.cache;
7336
+ eventData = result.data;
7337
+ }
7338
+ }
7339
+ if (state.tokenize) {
7340
+ const result = $TOKEN("OperatorAssignmentOp", state, OperatorAssignmentOp$0(state));
7341
+ if (state.events)
7342
+ state.events.exit?.("OperatorAssignmentOp", state, result, eventData);
7343
+ return result;
7344
+ } else {
7345
+ const result = OperatorAssignmentOp$0(state);
7346
+ if (state.events)
7347
+ state.events.exit?.("OperatorAssignmentOp", state, result, eventData);
7348
+ return result;
7349
+ }
7350
+ }
7260
7351
  var AssignmentOpSymbol$0 = $EXPECT($L32, fail, 'AssignmentOpSymbol "**="');
7261
7352
  var AssignmentOpSymbol$1 = $EXPECT($L33, fail, 'AssignmentOpSymbol "*="');
7262
7353
  var AssignmentOpSymbol$2 = $EXPECT($L34, fail, 'AssignmentOpSymbol "/="');
@@ -7275,7 +7366,7 @@ ${input.slice(result.pos)}
7275
7366
  var AssignmentOpSymbol$15 = $T($EXPECT($L47, fail, 'AssignmentOpSymbol "?="'), function(value) {
7276
7367
  return "??=";
7277
7368
  });
7278
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L28, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L28, fail, 'AssignmentOpSymbol "="'))), function(value) {
7369
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L1, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L1, fail, 'AssignmentOpSymbol "="'))), function(value) {
7279
7370
  return value[0];
7280
7371
  });
7281
7372
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -7388,7 +7479,7 @@ ${input.slice(result.pos)}
7388
7479
  });
7389
7480
  var BinaryOpSymbol$4 = $EXPECT($L55, fail, 'BinaryOpSymbol "%"');
7390
7481
  var BinaryOpSymbol$5 = $EXPECT($L56, fail, 'BinaryOpSymbol "+"');
7391
- var BinaryOpSymbol$6 = $EXPECT($L14, fail, 'BinaryOpSymbol "-"');
7482
+ var BinaryOpSymbol$6 = $EXPECT($L15, fail, 'BinaryOpSymbol "-"');
7392
7483
  var BinaryOpSymbol$7 = $EXPECT($L57, fail, 'BinaryOpSymbol "<="');
7393
7484
  var BinaryOpSymbol$8 = $EXPECT($L58, fail, 'BinaryOpSymbol ">="');
7394
7485
  var BinaryOpSymbol$9 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
@@ -7444,7 +7535,7 @@ ${input.slice(result.pos)}
7444
7535
  });
7445
7536
  var BinaryOpSymbol$25 = $EXPECT($L73, fail, 'BinaryOpSymbol "||"');
7446
7537
  var BinaryOpSymbol$26 = $EXPECT($L74, fail, 'BinaryOpSymbol "??"');
7447
- var BinaryOpSymbol$27 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L2, fail, 'BinaryOpSymbol "?"')), function(value) {
7538
+ var BinaryOpSymbol$27 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L3, fail, 'BinaryOpSymbol "?"')), function(value) {
7448
7539
  return "??";
7449
7540
  });
7450
7541
  var BinaryOpSymbol$28 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
@@ -7727,7 +7818,7 @@ ${input.slice(result.pos)}
7727
7818
  return result;
7728
7819
  }
7729
7820
  }
7730
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L28, fail, 'BlockStatement "="')))), function(value) {
7821
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L1, fail, 'BlockStatement "="')))), function(value) {
7731
7822
  return value[0];
7732
7823
  });
7733
7824
  function BlockStatement(state) {
@@ -9143,7 +9234,7 @@ ${input.slice(result.pos)}
9143
9234
  }
9144
9235
  }
9145
9236
  var ImpliedColon$0 = $S(__, Colon);
9146
- var ImpliedColon$1 = $TV($EXPECT($L17, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9237
+ var ImpliedColon$1 = $TV($EXPECT($L18, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9147
9238
  return { $loc, token: ":" };
9148
9239
  });
9149
9240
  function ImpliedColon(state) {
@@ -9168,7 +9259,7 @@ ${input.slice(result.pos)}
9168
9259
  return result;
9169
9260
  }
9170
9261
  }
9171
- var TryStatement$0 = $TS($S(Try, BracedBlock, $E(CatchClause), $E(Finally)), function($skip, $loc, $0, $1, $2, $3, $4) {
9262
+ var TryStatement$0 = $TS($S(Try, BracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4) {
9172
9263
  var t = $1;
9173
9264
  var b = $2;
9174
9265
  var c = $3;
@@ -9236,7 +9327,7 @@ ${input.slice(result.pos)}
9236
9327
  return result;
9237
9328
  }
9238
9329
  }
9239
- var CatchClause$0 = $S(__, Catch, $E(CatchBind), BracedBlock);
9330
+ var CatchClause$0 = $S($C(Samedent, _), Catch, $E(CatchBind), $C(ThenClause, BracedOrEmptyBlock));
9240
9331
  function CatchClause(state) {
9241
9332
  let eventData;
9242
9333
  if (state.events) {
@@ -9259,8 +9350,8 @@ ${input.slice(result.pos)}
9259
9350
  return result;
9260
9351
  }
9261
9352
  }
9262
- var CatchBind$0 = $S(__, OpenParen, __, CatchParameter, __, CloseParen);
9263
- var CatchBind$1 = $S($N(EOS), $Q(TrailingComment), InsertOpenParen, CatchParameter, InsertCloseParen);
9353
+ var CatchBind$0 = $S($E(_), OpenParen, __, CatchParameter, __, CloseParen);
9354
+ var CatchBind$1 = $S(_, InsertOpenParen, CatchParameter, InsertCloseParen);
9264
9355
  function CatchBind(state) {
9265
9356
  let eventData;
9266
9357
  if (state.events) {
@@ -9283,11 +9374,11 @@ ${input.slice(result.pos)}
9283
9374
  return result;
9284
9375
  }
9285
9376
  }
9286
- var Finally$0 = $S(__, $EXPECT($L83, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
9287
- function Finally(state) {
9377
+ var FinallyClause$0 = $S($C(Samedent, _), Finally, $C(ThenClause, BracedOrEmptyBlock));
9378
+ function FinallyClause(state) {
9288
9379
  let eventData;
9289
9380
  if (state.events) {
9290
- const result = state.events.enter?.("Finally", state);
9381
+ const result = state.events.enter?.("FinallyClause", state);
9291
9382
  if (result) {
9292
9383
  if (result.cache)
9293
9384
  return result.cache;
@@ -9295,14 +9386,14 @@ ${input.slice(result.pos)}
9295
9386
  }
9296
9387
  }
9297
9388
  if (state.tokenize) {
9298
- const result = $TOKEN("Finally", state, Finally$0(state));
9389
+ const result = $TOKEN("FinallyClause", state, FinallyClause$0(state));
9299
9390
  if (state.events)
9300
- state.events.exit?.("Finally", state, result, eventData);
9391
+ state.events.exit?.("FinallyClause", state, result, eventData);
9301
9392
  return result;
9302
9393
  } else {
9303
- const result = Finally$0(state);
9394
+ const result = FinallyClause$0(state);
9304
9395
  if (state.events)
9305
- state.events.exit?.("Finally", state, result, eventData);
9396
+ state.events.exit?.("FinallyClause", state, result, eventData);
9306
9397
  return result;
9307
9398
  }
9308
9399
  }
@@ -9330,7 +9421,7 @@ ${input.slice(result.pos)}
9330
9421
  return result;
9331
9422
  }
9332
9423
  }
9333
- var Condition$0 = $T($S(ParenthesizedExpression, $N($S($Q(TrailingComment), $C(BinaryOp, AssignmentOp, Dot, QuestionMark)))), function(value) {
9424
+ var Condition$0 = $T($S(ParenthesizedExpression, $N($S($Q(TrailingComment), $C(BinaryOp, AssignmentOp, Dot, QuestionMark))), $N($S(_, OperatorAssignmentOp))), function(value) {
9334
9425
  return value[0];
9335
9426
  });
9336
9427
  var Condition$1 = $TS($S(InsertOpenParen, ExpressionWithIndentedApplicationSuppressed, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
@@ -9397,7 +9488,7 @@ ${input.slice(result.pos)}
9397
9488
  return result;
9398
9489
  }
9399
9490
  }
9400
- var SuppressIndentedApplication$0 = $TV($EXPECT($L17, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9491
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9401
9492
  module.suppressIndentedApplication = true;
9402
9493
  });
9403
9494
  function SuppressIndentedApplication(state) {
@@ -9422,7 +9513,7 @@ ${input.slice(result.pos)}
9422
9513
  return result;
9423
9514
  }
9424
9515
  }
9425
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L17, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9516
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9426
9517
  if (module.suppressIndentedApplication)
9427
9518
  return $skip;
9428
9519
  return;
@@ -9449,7 +9540,7 @@ ${input.slice(result.pos)}
9449
9540
  return result;
9450
9541
  }
9451
9542
  }
9452
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L17, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9543
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9453
9544
  module.suppressTrailingMemberProperty.push(true);
9454
9545
  });
9455
9546
  function SuppressTrailingMemberProperty(state) {
@@ -9474,7 +9565,7 @@ ${input.slice(result.pos)}
9474
9565
  return result;
9475
9566
  }
9476
9567
  }
9477
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L17, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9568
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9478
9569
  if (module.trailingMemberPropertySuppressed)
9479
9570
  return $skip;
9480
9571
  });
@@ -9523,13 +9614,13 @@ ${input.slice(result.pos)}
9523
9614
  return result;
9524
9615
  }
9525
9616
  }
9526
- var KeywordStatement$0 = $T($S($EXPECT($L84, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
9617
+ var KeywordStatement$0 = $T($S($EXPECT($L83, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
9527
9618
  return { "type": "BreakStatement", "children": value };
9528
9619
  });
9529
- var KeywordStatement$1 = $T($S($EXPECT($L85, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
9620
+ var KeywordStatement$1 = $T($S($EXPECT($L84, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
9530
9621
  return { "type": "ContinueStatement", "children": value };
9531
9622
  });
9532
- var KeywordStatement$2 = $T($S($EXPECT($L86, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
9623
+ var KeywordStatement$2 = $T($S($EXPECT($L85, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
9533
9624
  return { "type": "DebuggerStatement", "children": value };
9534
9625
  });
9535
9626
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -9560,7 +9651,7 @@ ${input.slice(result.pos)}
9560
9651
  return result;
9561
9652
  }
9562
9653
  }
9563
- var DebuggerExpression$0 = $TS($S($EXPECT($L86, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9654
+ var DebuggerExpression$0 = $TS($S($EXPECT($L85, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9564
9655
  return {
9565
9656
  type: "DebuggerExpression",
9566
9657
  children: ["(()=>{", $1, "})()"]
@@ -9688,7 +9779,7 @@ ${input.slice(result.pos)}
9688
9779
  return result;
9689
9780
  }
9690
9781
  }
9691
- var ImpliedImport$0 = $TV($EXPECT($L17, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9782
+ var ImpliedImport$0 = $TV($EXPECT($L18, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9692
9783
  return { $loc, token: "import " };
9693
9784
  });
9694
9785
  function ImpliedImport(state) {
@@ -9837,7 +9928,7 @@ ${input.slice(result.pos)}
9837
9928
  return result;
9838
9929
  }
9839
9930
  }
9840
- var ImportAssertion$0 = $S($E(_), $EXPECT($L87, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
9931
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L86, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
9841
9932
  function ImportAssertion(state) {
9842
9933
  let eventData;
9843
9934
  if (state.events) {
@@ -9940,7 +10031,7 @@ ${input.slice(result.pos)}
9940
10031
  }
9941
10032
  }
9942
10033
  var ImportAsToken$0 = $S(__, As);
9943
- var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L7, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10034
+ var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L8, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
9944
10035
  var l = $1;
9945
10036
  var ws = $2;
9946
10037
  var c = $3;
@@ -10002,6 +10093,8 @@ ${input.slice(result.pos)}
10002
10093
  }
10003
10094
  }
10004
10095
  var ModuleSpecifier$0 = $TS($S(UnprocessedModuleSpecifier), function($skip, $loc, $0, $1) {
10096
+ if (!module.config.rewriteTsImports)
10097
+ return $1;
10005
10098
  const { token } = $1;
10006
10099
  return { $loc, token: token.replace(/\.([mc])?ts(['"])$/, ".$1js$2") };
10007
10100
  });
@@ -10439,7 +10532,7 @@ ${input.slice(result.pos)}
10439
10532
  return result;
10440
10533
  }
10441
10534
  }
10442
- var ConstAssignment$0 = $TV($EXPECT($L88, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
10535
+ var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
10443
10536
  return { $loc, token: "=" };
10444
10537
  });
10445
10538
  function ConstAssignment(state) {
@@ -10464,7 +10557,7 @@ ${input.slice(result.pos)}
10464
10557
  return result;
10465
10558
  }
10466
10559
  }
10467
- var LetAssignment$0 = $TV($EXPECT($L89, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
10560
+ var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
10468
10561
  return { $loc, token: "=" };
10469
10562
  });
10470
10563
  function LetAssignment(state) {
@@ -11703,7 +11796,7 @@ ${input.slice(result.pos)}
11703
11796
  return result;
11704
11797
  }
11705
11798
  }
11706
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L90, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L91, fail, 'JSMultiLineComment "*/"')), $EXPECT($R40, fail, "JSMultiLineComment /./"))), $EXPECT($L91, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
11799
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L90, fail, 'JSMultiLineComment "*/"')), $EXPECT($R40, fail, "JSMultiLineComment /./"))), $EXPECT($L90, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
11707
11800
  return { $loc, token: $1 };
11708
11801
  });
11709
11802
  function JSMultiLineComment(state) {
@@ -11802,7 +11895,7 @@ ${input.slice(result.pos)}
11802
11895
  return result;
11803
11896
  }
11804
11897
  }
11805
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L90, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L91, fail, 'InlineComment "*/"')), $EXPECT($R44, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L91, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
11898
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L90, fail, 'InlineComment "*/"')), $EXPECT($R44, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L90, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
11806
11899
  return { $loc, token: $1 };
11807
11900
  });
11808
11901
  function InlineComment(state) {
@@ -11901,7 +11994,7 @@ ${input.slice(result.pos)}
11901
11994
  var NonNewlineWhitespace$0 = $TR($EXPECT($R45, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11902
11995
  return { $loc, token: $0 };
11903
11996
  });
11904
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L92, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
11997
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
11905
11998
  return "";
11906
11999
  });
11907
12000
  function NonNewlineWhitespace(state) {
@@ -12053,7 +12146,7 @@ ${input.slice(result.pos)}
12053
12146
  }
12054
12147
  }
12055
12148
  var StatementDelimiter$0 = SemicolonDelimiter;
12056
- var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L1, fail, 'StatementDelimiter "("'), $EXPECT($L93, fail, 'StatementDelimiter "["'), $EXPECT($L94, fail, 'StatementDelimiter "`"'), $EXPECT($L56, fail, 'StatementDelimiter "+"'), $EXPECT($L14, fail, 'StatementDelimiter "-"'), $EXPECT($L52, fail, 'StatementDelimiter "*"'), $EXPECT($L53, fail, 'StatementDelimiter "/"'), ObjectLiteral))), InsertSemicolon);
12149
+ var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L2, fail, 'StatementDelimiter "("'), $EXPECT($L92, fail, 'StatementDelimiter "["'), $EXPECT($L93, fail, 'StatementDelimiter "`"'), $EXPECT($L56, fail, 'StatementDelimiter "+"'), $EXPECT($L15, fail, 'StatementDelimiter "-"'), $EXPECT($L52, fail, 'StatementDelimiter "*"'), $EXPECT($L53, fail, 'StatementDelimiter "/"'), ObjectLiteral))), InsertSemicolon);
12057
12150
  var StatementDelimiter$2 = $Y(EOS);
12058
12151
  function StatementDelimiter(state) {
12059
12152
  let eventData;
@@ -12128,7 +12221,7 @@ ${input.slice(result.pos)}
12128
12221
  return result;
12129
12222
  }
12130
12223
  }
12131
- var Loc$0 = $TV($EXPECT($L17, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12224
+ var Loc$0 = $TV($EXPECT($L18, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12132
12225
  return { $loc, token: "" };
12133
12226
  });
12134
12227
  function Loc(state) {
@@ -12153,7 +12246,7 @@ ${input.slice(result.pos)}
12153
12246
  return result;
12154
12247
  }
12155
12248
  }
12156
- var Abstract$0 = $TV($TEXT($S($EXPECT($L95, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L7, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
12249
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L94, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L8, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
12157
12250
  return { $loc, token: $1, ts: true };
12158
12251
  });
12159
12252
  function Abstract(state) {
@@ -12203,7 +12296,7 @@ ${input.slice(result.pos)}
12203
12296
  return result;
12204
12297
  }
12205
12298
  }
12206
- var As$0 = $TS($S($EXPECT($L96, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12299
+ var As$0 = $TS($S($EXPECT($L95, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12207
12300
  return { $loc, token: $1 };
12208
12301
  });
12209
12302
  function As(state) {
@@ -12228,7 +12321,7 @@ ${input.slice(result.pos)}
12228
12321
  return result;
12229
12322
  }
12230
12323
  }
12231
- var At$0 = $TV($EXPECT($L97, fail, 'At "@"'), function($skip, $loc, $0, $1) {
12324
+ var At$0 = $TV($EXPECT($L96, fail, 'At "@"'), function($skip, $loc, $0, $1) {
12232
12325
  return { $loc, token: $1 };
12233
12326
  });
12234
12327
  function At(state) {
@@ -12253,7 +12346,7 @@ ${input.slice(result.pos)}
12253
12346
  return result;
12254
12347
  }
12255
12348
  }
12256
- var AtAt$0 = $TV($EXPECT($L98, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
12349
+ var AtAt$0 = $TV($EXPECT($L97, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
12257
12350
  return { $loc, token: "@" };
12258
12351
  });
12259
12352
  function AtAt(state) {
@@ -12278,7 +12371,7 @@ ${input.slice(result.pos)}
12278
12371
  return result;
12279
12372
  }
12280
12373
  }
12281
- var Async$0 = $TS($S($EXPECT($L99, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12374
+ var Async$0 = $TS($S($EXPECT($L98, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12282
12375
  return { $loc, token: $1, type: "Async" };
12283
12376
  });
12284
12377
  function Async(state) {
@@ -12303,7 +12396,7 @@ ${input.slice(result.pos)}
12303
12396
  return result;
12304
12397
  }
12305
12398
  }
12306
- var Await$0 = $TS($S($EXPECT($L100, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12399
+ var Await$0 = $TS($S($EXPECT($L99, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12307
12400
  return { $loc, token: $1 };
12308
12401
  });
12309
12402
  function Await(state) {
@@ -12328,7 +12421,7 @@ ${input.slice(result.pos)}
12328
12421
  return result;
12329
12422
  }
12330
12423
  }
12331
- var Backtick$0 = $TV($EXPECT($L94, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
12424
+ var Backtick$0 = $TV($EXPECT($L93, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
12332
12425
  return { $loc, token: $1 };
12333
12426
  });
12334
12427
  function Backtick(state) {
@@ -12353,7 +12446,7 @@ ${input.slice(result.pos)}
12353
12446
  return result;
12354
12447
  }
12355
12448
  }
12356
- var By$0 = $TS($S($EXPECT($L101, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12449
+ var By$0 = $TS($S($EXPECT($L100, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12357
12450
  return { $loc, token: $1 };
12358
12451
  });
12359
12452
  function By(state) {
@@ -12378,7 +12471,7 @@ ${input.slice(result.pos)}
12378
12471
  return result;
12379
12472
  }
12380
12473
  }
12381
- var Case$0 = $TS($S($EXPECT($L102, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12474
+ var Case$0 = $TS($S($EXPECT($L101, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12382
12475
  return { $loc, token: $1 };
12383
12476
  });
12384
12477
  function Case(state) {
@@ -12403,7 +12496,7 @@ ${input.slice(result.pos)}
12403
12496
  return result;
12404
12497
  }
12405
12498
  }
12406
- var Catch$0 = $TS($S($EXPECT($L103, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12499
+ var Catch$0 = $TS($S($EXPECT($L102, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12407
12500
  return { $loc, token: $1 };
12408
12501
  });
12409
12502
  function Catch(state) {
@@ -12428,7 +12521,7 @@ ${input.slice(result.pos)}
12428
12521
  return result;
12429
12522
  }
12430
12523
  }
12431
- var Class$0 = $TS($S($EXPECT($L104, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12524
+ var Class$0 = $TS($S($EXPECT($L103, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12432
12525
  return { $loc, token: $1 };
12433
12526
  });
12434
12527
  function Class(state) {
@@ -12453,7 +12546,7 @@ ${input.slice(result.pos)}
12453
12546
  return result;
12454
12547
  }
12455
12548
  }
12456
- var CloseBrace$0 = $TV($EXPECT($L20, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
12549
+ var CloseBrace$0 = $TV($EXPECT($L21, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
12457
12550
  return { $loc, token: $1 };
12458
12551
  });
12459
12552
  function CloseBrace(state) {
@@ -12503,7 +12596,7 @@ ${input.slice(result.pos)}
12503
12596
  return result;
12504
12597
  }
12505
12598
  }
12506
- var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12599
+ var CloseParen$0 = $TV($EXPECT($L19, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12507
12600
  return { $loc, token: $1 };
12508
12601
  });
12509
12602
  function CloseParen(state) {
@@ -12528,7 +12621,7 @@ ${input.slice(result.pos)}
12528
12621
  return result;
12529
12622
  }
12530
12623
  }
12531
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L105, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
12624
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L104, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
12532
12625
  return { $loc, token: "${" };
12533
12626
  });
12534
12627
  function CoffeeSubstitutionStart(state) {
@@ -12578,7 +12671,7 @@ ${input.slice(result.pos)}
12578
12671
  return result;
12579
12672
  }
12580
12673
  }
12581
- var Comma$0 = $TV($EXPECT($L106, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12674
+ var Comma$0 = $TV($EXPECT($L105, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12582
12675
  return { $loc, token: $1 };
12583
12676
  });
12584
12677
  function Comma(state) {
@@ -12603,7 +12696,7 @@ ${input.slice(result.pos)}
12603
12696
  return result;
12604
12697
  }
12605
12698
  }
12606
- var ConstructorShorthand$0 = $TV($EXPECT($L97, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
12699
+ var ConstructorShorthand$0 = $TV($EXPECT($L96, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
12607
12700
  return { $loc, token: "constructor" };
12608
12701
  });
12609
12702
  function ConstructorShorthand(state) {
@@ -12628,7 +12721,7 @@ ${input.slice(result.pos)}
12628
12721
  return result;
12629
12722
  }
12630
12723
  }
12631
- var Declare$0 = $TS($S($EXPECT($L107, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12724
+ var Declare$0 = $TS($S($EXPECT($L106, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12632
12725
  return { $loc, token: $1 };
12633
12726
  });
12634
12727
  function Declare(state) {
@@ -12653,7 +12746,7 @@ ${input.slice(result.pos)}
12653
12746
  return result;
12654
12747
  }
12655
12748
  }
12656
- var Default$0 = $TS($S($EXPECT($L108, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12749
+ var Default$0 = $TS($S($EXPECT($L107, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12657
12750
  return { $loc, token: $1 };
12658
12751
  });
12659
12752
  function Default(state) {
@@ -12678,7 +12771,7 @@ ${input.slice(result.pos)}
12678
12771
  return result;
12679
12772
  }
12680
12773
  }
12681
- var Delete$0 = $TS($S($EXPECT($L109, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12774
+ var Delete$0 = $TS($S($EXPECT($L108, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12682
12775
  return { $loc, token: $1 };
12683
12776
  });
12684
12777
  function Delete(state) {
@@ -12703,7 +12796,7 @@ ${input.slice(result.pos)}
12703
12796
  return result;
12704
12797
  }
12705
12798
  }
12706
- var Do$0 = $TS($S($EXPECT($L110, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12799
+ var Do$0 = $TS($S($EXPECT($L109, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12707
12800
  return { $loc, token: $1 };
12708
12801
  });
12709
12802
  function Do(state) {
@@ -12728,7 +12821,7 @@ ${input.slice(result.pos)}
12728
12821
  return result;
12729
12822
  }
12730
12823
  }
12731
- var Dot$0 = $TV($EXPECT($L3, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
12824
+ var Dot$0 = $TV($EXPECT($L4, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
12732
12825
  return { $loc, token: $1 };
12733
12826
  });
12734
12827
  function Dot(state) {
@@ -12753,7 +12846,7 @@ ${input.slice(result.pos)}
12753
12846
  return result;
12754
12847
  }
12755
12848
  }
12756
- var DotDot$0 = $TV($EXPECT($L111, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
12849
+ var DotDot$0 = $TV($EXPECT($L110, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
12757
12850
  return { $loc, token: $1 };
12758
12851
  });
12759
12852
  function DotDot(state) {
@@ -12778,7 +12871,7 @@ ${input.slice(result.pos)}
12778
12871
  return result;
12779
12872
  }
12780
12873
  }
12781
- var DotDotDot$0 = $TV($EXPECT($L112, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
12874
+ var DotDotDot$0 = $TV($EXPECT($L111, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
12782
12875
  return { $loc, token: $1 };
12783
12876
  });
12784
12877
  function DotDotDot(state) {
@@ -12803,7 +12896,7 @@ ${input.slice(result.pos)}
12803
12896
  return result;
12804
12897
  }
12805
12898
  }
12806
- var DoubleColon$0 = $TV($EXPECT($L113, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
12899
+ var DoubleColon$0 = $TV($EXPECT($L112, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
12807
12900
  return { $loc, token: $1 };
12808
12901
  });
12809
12902
  function DoubleColon(state) {
@@ -12828,7 +12921,7 @@ ${input.slice(result.pos)}
12828
12921
  return result;
12829
12922
  }
12830
12923
  }
12831
- var DoubleQuote$0 = $TV($EXPECT($L114, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
12924
+ var DoubleQuote$0 = $TV($EXPECT($L113, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
12832
12925
  return { $loc, token: $1 };
12833
12926
  });
12834
12927
  function DoubleQuote(state) {
@@ -12853,7 +12946,7 @@ ${input.slice(result.pos)}
12853
12946
  return result;
12854
12947
  }
12855
12948
  }
12856
- var Else$0 = $TS($S($EXPECT($L115, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12949
+ var Else$0 = $TS($S($EXPECT($L114, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12857
12950
  return { $loc, token: $1 };
12858
12951
  });
12859
12952
  function Else(state) {
@@ -12878,7 +12971,7 @@ ${input.slice(result.pos)}
12878
12971
  return result;
12879
12972
  }
12880
12973
  }
12881
- var Equals$0 = $TV($EXPECT($L28, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
12974
+ var Equals$0 = $TV($EXPECT($L1, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
12882
12975
  return { $loc, token: $1 };
12883
12976
  });
12884
12977
  function Equals(state) {
@@ -12903,7 +12996,7 @@ ${input.slice(result.pos)}
12903
12996
  return result;
12904
12997
  }
12905
12998
  }
12906
- var Export$0 = $TS($S($EXPECT($L116, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12999
+ var Export$0 = $TS($S($EXPECT($L115, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12907
13000
  return { $loc, token: $1 };
12908
13001
  });
12909
13002
  function Export(state) {
@@ -12928,7 +13021,7 @@ ${input.slice(result.pos)}
12928
13021
  return result;
12929
13022
  }
12930
13023
  }
12931
- var Extends$0 = $TS($S($EXPECT($L117, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13024
+ var Extends$0 = $TS($S($EXPECT($L116, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12932
13025
  return { $loc, token: $1 };
12933
13026
  });
12934
13027
  function Extends(state) {
@@ -12953,6 +13046,31 @@ ${input.slice(result.pos)}
12953
13046
  return result;
12954
13047
  }
12955
13048
  }
13049
+ var Finally$0 = $TS($S($EXPECT($L117, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13050
+ return { $loc, token: $1 };
13051
+ });
13052
+ function Finally(state) {
13053
+ let eventData;
13054
+ if (state.events) {
13055
+ const result = state.events.enter?.("Finally", state);
13056
+ if (result) {
13057
+ if (result.cache)
13058
+ return result.cache;
13059
+ eventData = result.data;
13060
+ }
13061
+ }
13062
+ if (state.tokenize) {
13063
+ const result = $TOKEN("Finally", state, Finally$0(state));
13064
+ if (state.events)
13065
+ state.events.exit?.("Finally", state, result, eventData);
13066
+ return result;
13067
+ } else {
13068
+ const result = Finally$0(state);
13069
+ if (state.events)
13070
+ state.events.exit?.("Finally", state, result, eventData);
13071
+ return result;
13072
+ }
13073
+ }
12956
13074
  var For$0 = $TS($S($EXPECT($L118, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12957
13075
  return { $loc, token: $1 };
12958
13076
  });
@@ -13053,7 +13171,7 @@ ${input.slice(result.pos)}
13053
13171
  return result;
13054
13172
  }
13055
13173
  }
13056
- var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L7, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13174
+ var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13057
13175
  return { $loc, token: $1 };
13058
13176
  });
13059
13177
  function If(state) {
@@ -13078,7 +13196,7 @@ ${input.slice(result.pos)}
13078
13196
  return result;
13079
13197
  }
13080
13198
  }
13081
- var Import$0 = $TS($S($EXPECT($L12, fail, 'Import "import"'), $Y($EXPECT($R47, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
13199
+ var Import$0 = $TS($S($EXPECT($L13, fail, 'Import "import"'), $Y($EXPECT($R47, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
13082
13200
  return { $loc, token: $1 };
13083
13201
  });
13084
13202
  function Import(state) {
@@ -13203,7 +13321,7 @@ ${input.slice(result.pos)}
13203
13321
  return result;
13204
13322
  }
13205
13323
  }
13206
- var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L50, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L7, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
13324
+ var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L50, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L8, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
13207
13325
  return { $loc, token: "!" };
13208
13326
  });
13209
13327
  function Not(state) {
@@ -13303,7 +13421,7 @@ ${input.slice(result.pos)}
13303
13421
  return result;
13304
13422
  }
13305
13423
  }
13306
- var OpenBracket$0 = $TV($EXPECT($L93, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
13424
+ var OpenBracket$0 = $TV($EXPECT($L92, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
13307
13425
  return { $loc, token: $1 };
13308
13426
  });
13309
13427
  function OpenBracket(state) {
@@ -13328,7 +13446,7 @@ ${input.slice(result.pos)}
13328
13446
  return result;
13329
13447
  }
13330
13448
  }
13331
- var OpenParen$0 = $TV($EXPECT($L1, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
13449
+ var OpenParen$0 = $TV($EXPECT($L2, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
13332
13450
  return { $loc, token: $1 };
13333
13451
  });
13334
13452
  function OpenParen(state) {
@@ -13478,7 +13596,7 @@ ${input.slice(result.pos)}
13478
13596
  return result;
13479
13597
  }
13480
13598
  }
13481
- var QuestionMark$0 = $TV($EXPECT($L2, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
13599
+ var QuestionMark$0 = $TV($EXPECT($L3, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
13482
13600
  return { $loc, token: $1 };
13483
13601
  });
13484
13602
  function QuestionMark(state) {
@@ -13656,7 +13774,7 @@ ${input.slice(result.pos)}
13656
13774
  var Static$0 = $TS($S($EXPECT($L139, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13657
13775
  return { $loc, token: $1 };
13658
13776
  });
13659
- var Static$1 = $TS($S($EXPECT($L97, fail, 'Static "@"'), $N($C($EXPECT($L1, fail, 'Static "("'), $EXPECT($L97, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
13777
+ var Static$1 = $TS($S($EXPECT($L96, fail, 'Static "@"'), $N($C($EXPECT($L2, fail, 'Static "("'), $EXPECT($L96, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
13660
13778
  return { $loc, token: "static " };
13661
13779
  });
13662
13780
  function Static(state) {
@@ -14357,7 +14475,7 @@ ${input.slice(result.pos)}
14357
14475
  return $skip;
14358
14476
  return $0;
14359
14477
  });
14360
- var JSXOptionalClosingElement$1 = $EXPECT($L17, fail, 'JSXOptionalClosingElement ""');
14478
+ var JSXOptionalClosingElement$1 = $EXPECT($L18, fail, 'JSXOptionalClosingElement ""');
14361
14479
  function JSXOptionalClosingElement(state) {
14362
14480
  let eventData;
14363
14481
  if (state.events) {
@@ -14481,7 +14599,7 @@ ${input.slice(result.pos)}
14481
14599
  return $skip;
14482
14600
  return $0;
14483
14601
  });
14484
- var JSXOptionalClosingFragment$1 = $EXPECT($L17, fail, 'JSXOptionalClosingFragment ""');
14602
+ var JSXOptionalClosingFragment$1 = $EXPECT($L18, fail, 'JSXOptionalClosingFragment ""');
14485
14603
  function JSXOptionalClosingFragment(state) {
14486
14604
  let eventData;
14487
14605
  if (state.events) {
@@ -14729,7 +14847,7 @@ ${input.slice(result.pos)}
14729
14847
  }
14730
14848
  });
14731
14849
  var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace, $Y(JSXAttributeSpace));
14732
- var JSXAttribute$3 = $TS($S($EXPECT($L10, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
14850
+ var JSXAttribute$3 = $TS($S($EXPECT($L11, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
14733
14851
  return [" ", "id=", $2];
14734
14852
  });
14735
14853
  var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -14925,7 +15043,7 @@ ${input.slice(result.pos)}
14925
15043
  return result;
14926
15044
  }
14927
15045
  }
14928
- var InlineJSXBinaryOpRHS$0 = $TS($S($N($EXPECT($R51, fail, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, $C(ParenthesizedAssignment, InlineJSXUnaryExpression)), function($skip, $loc, $0, $1, $2, $3) {
15046
+ var InlineJSXBinaryOpRHS$0 = $TS($S($N($EXPECT($R51, fail, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, InlineJSXUnaryExpression), function($skip, $loc, $0, $1, $2, $3) {
14929
15047
  var op = $2;
14930
15048
  var rhs = $3;
14931
15049
  return [[], op, [], rhs];
@@ -15056,8 +15174,8 @@ ${input.slice(result.pos)}
15056
15174
  return result;
15057
15175
  }
15058
15176
  }
15059
- var InlineJSXCallExpression$0 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
15060
- var InlineJSXCallExpression$1 = $S($EXPECT($L12, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
15177
+ var InlineJSXCallExpression$0 = $S($EXPECT($L12, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
15178
+ var InlineJSXCallExpression$1 = $S($EXPECT($L13, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
15061
15179
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
15062
15180
  if ($2.length)
15063
15181
  return $0;
@@ -15271,7 +15389,7 @@ ${input.slice(result.pos)}
15271
15389
  }
15272
15390
  return $skip;
15273
15391
  });
15274
- var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L20, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
15392
+ var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L21, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
15275
15393
  return { children: [], jsxChildren: [] };
15276
15394
  });
15277
15395
  function JSXNestedChildren(state) {
@@ -16302,8 +16420,8 @@ ${input.slice(result.pos)}
16302
16420
  return result;
16303
16421
  }
16304
16422
  }
16305
- var ImportType$0 = $S($EXPECT($L12, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
16306
- var ImportType$1 = $S($EXPECT($L12, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
16423
+ var ImportType$0 = $S($EXPECT($L13, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
16424
+ var ImportType$1 = $S($EXPECT($L13, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
16307
16425
  function ImportType(state) {
16308
16426
  let eventData;
16309
16427
  if (state.events) {
@@ -16424,7 +16542,7 @@ ${input.slice(result.pos)}
16424
16542
  return result;
16425
16543
  }
16426
16544
  }
16427
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L117, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
16545
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L116, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
16428
16546
  if ($2)
16429
16547
  return $0;
16430
16548
  return $1;
@@ -16531,7 +16649,7 @@ ${input.slice(result.pos)}
16531
16649
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
16532
16650
  return value[1];
16533
16651
  });
16534
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L20, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16652
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L19, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16535
16653
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
16536
16654
  function InlineInterfacePropertyDelimiter(state) {
16537
16655
  let eventData;
@@ -16583,7 +16701,7 @@ ${input.slice(result.pos)}
16583
16701
  return result;
16584
16702
  }
16585
16703
  }
16586
- var FunctionType$0 = $TS($S(Parameters, __, $EXPECT($L6, fail, 'FunctionType "=>"'), $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4) {
16704
+ var FunctionType$0 = $TS($S(Parameters, __, TypeArrowFunction, $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4) {
16587
16705
  var type = $4;
16588
16706
  if (type) {
16589
16707
  return $0;
@@ -16612,6 +16730,34 @@ ${input.slice(result.pos)}
16612
16730
  return result;
16613
16731
  }
16614
16732
  }
16733
+ var TypeArrowFunction$0 = $TV($EXPECT($L7, fail, 'TypeArrowFunction "=>"'), function($skip, $loc, $0, $1) {
16734
+ return { $loc, token: "=>" };
16735
+ });
16736
+ var TypeArrowFunction$1 = $TV($EXPECT($L20, fail, 'TypeArrowFunction "->"'), function($skip, $loc, $0, $1) {
16737
+ return { $loc, token: "=>" };
16738
+ });
16739
+ function TypeArrowFunction(state) {
16740
+ let eventData;
16741
+ if (state.events) {
16742
+ const result = state.events.enter?.("TypeArrowFunction", state);
16743
+ if (result) {
16744
+ if (result.cache)
16745
+ return result.cache;
16746
+ eventData = result.data;
16747
+ }
16748
+ }
16749
+ if (state.tokenize) {
16750
+ const result = $TOKEN("TypeArrowFunction", state, TypeArrowFunction$0(state) || TypeArrowFunction$1(state));
16751
+ if (state.events)
16752
+ state.events.exit?.("TypeArrowFunction", state, result, eventData);
16753
+ return result;
16754
+ } else {
16755
+ const result = TypeArrowFunction$0(state) || TypeArrowFunction$1(state);
16756
+ if (state.events)
16757
+ state.events.exit?.("TypeArrowFunction", state, result, eventData);
16758
+ return result;
16759
+ }
16760
+ }
16615
16761
  var TypeArguments$0 = $TS($S($EXPECT($L128, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16616
16762
  return { ts: true, children: $0 };
16617
16763
  });
@@ -16737,7 +16883,7 @@ ${input.slice(result.pos)}
16737
16883
  return result;
16738
16884
  }
16739
16885
  }
16740
- var TypeConstraint$0 = $S(__, $EXPECT($L117, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
16886
+ var TypeConstraint$0 = $S(__, $EXPECT($L116, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
16741
16887
  function TypeConstraint(state) {
16742
16888
  let eventData;
16743
16889
  if (state.events) {
@@ -16760,7 +16906,7 @@ ${input.slice(result.pos)}
16760
16906
  return result;
16761
16907
  }
16762
16908
  }
16763
- var TypeInitializer$0 = $S(__, $EXPECT($L28, fail, 'TypeInitializer "="'), Type);
16909
+ var TypeInitializer$0 = $S(__, $EXPECT($L1, fail, 'TypeInitializer "="'), Type);
16764
16910
  function TypeInitializer(state) {
16765
16911
  let eventData;
16766
16912
  if (state.events) {
@@ -17049,7 +17195,7 @@ ${input.slice(result.pos)}
17049
17195
  return result;
17050
17196
  }
17051
17197
  }
17052
- var Debugger$0 = $TV($EXPECT($L17, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17198
+ var Debugger$0 = $TV($EXPECT($L18, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17053
17199
  debugger;
17054
17200
  });
17055
17201
  function Debugger(state) {
@@ -17074,7 +17220,7 @@ ${input.slice(result.pos)}
17074
17220
  return result;
17075
17221
  }
17076
17222
  }
17077
- var InsertSemicolon$0 = $TV($EXPECT($L17, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17223
+ var InsertSemicolon$0 = $TV($EXPECT($L18, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17078
17224
  return { $loc, token: ";" };
17079
17225
  });
17080
17226
  function InsertSemicolon(state) {
@@ -17099,7 +17245,7 @@ ${input.slice(result.pos)}
17099
17245
  return result;
17100
17246
  }
17101
17247
  }
17102
- var InsertOpenParen$0 = $TV($EXPECT($L17, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17248
+ var InsertOpenParen$0 = $TV($EXPECT($L18, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17103
17249
  return { $loc, token: "(" };
17104
17250
  });
17105
17251
  function InsertOpenParen(state) {
@@ -17124,7 +17270,7 @@ ${input.slice(result.pos)}
17124
17270
  return result;
17125
17271
  }
17126
17272
  }
17127
- var InsertCloseParen$0 = $TV($EXPECT($L17, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17273
+ var InsertCloseParen$0 = $TV($EXPECT($L18, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17128
17274
  return { $loc, token: ")" };
17129
17275
  });
17130
17276
  function InsertCloseParen(state) {
@@ -17149,7 +17295,7 @@ ${input.slice(result.pos)}
17149
17295
  return result;
17150
17296
  }
17151
17297
  }
17152
- var InsertOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17298
+ var InsertOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17153
17299
  return [{ $loc, token: " " }, { $loc, token: "{" }];
17154
17300
  });
17155
17301
  function InsertOpenBrace(state) {
@@ -17174,7 +17320,7 @@ ${input.slice(result.pos)}
17174
17320
  return result;
17175
17321
  }
17176
17322
  }
17177
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17323
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17178
17324
  return { $loc, token: "{" };
17179
17325
  });
17180
17326
  function InsertInlineOpenBrace(state) {
@@ -17199,7 +17345,7 @@ ${input.slice(result.pos)}
17199
17345
  return result;
17200
17346
  }
17201
17347
  }
17202
- var InsertCloseBrace$0 = $TV($EXPECT($L17, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17348
+ var InsertCloseBrace$0 = $TV($EXPECT($L18, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17203
17349
  return { $loc, token: "}" };
17204
17350
  });
17205
17351
  function InsertCloseBrace(state) {
@@ -17224,7 +17370,7 @@ ${input.slice(result.pos)}
17224
17370
  return result;
17225
17371
  }
17226
17372
  }
17227
- var InsertOpenBracket$0 = $TV($EXPECT($L17, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17373
+ var InsertOpenBracket$0 = $TV($EXPECT($L18, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17228
17374
  return { $loc, token: "[" };
17229
17375
  });
17230
17376
  function InsertOpenBracket(state) {
@@ -17249,7 +17395,7 @@ ${input.slice(result.pos)}
17249
17395
  return result;
17250
17396
  }
17251
17397
  }
17252
- var InsertCloseBracket$0 = $TV($EXPECT($L17, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17398
+ var InsertCloseBracket$0 = $TV($EXPECT($L18, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17253
17399
  return { $loc, token: "]" };
17254
17400
  });
17255
17401
  function InsertCloseBracket(state) {
@@ -17274,7 +17420,7 @@ ${input.slice(result.pos)}
17274
17420
  return result;
17275
17421
  }
17276
17422
  }
17277
- var InsertComma$0 = $TV($EXPECT($L17, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17423
+ var InsertComma$0 = $TV($EXPECT($L18, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17278
17424
  return { $loc, token: "," };
17279
17425
  });
17280
17426
  function InsertComma(state) {
@@ -17299,7 +17445,7 @@ ${input.slice(result.pos)}
17299
17445
  return result;
17300
17446
  }
17301
17447
  }
17302
- var InsertConst$0 = $TV($EXPECT($L17, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17448
+ var InsertConst$0 = $TV($EXPECT($L18, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17303
17449
  return { $loc, token: "const " };
17304
17450
  });
17305
17451
  function InsertConst(state) {
@@ -17324,7 +17470,7 @@ ${input.slice(result.pos)}
17324
17470
  return result;
17325
17471
  }
17326
17472
  }
17327
- var InsertLet$0 = $TV($EXPECT($L17, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17473
+ var InsertLet$0 = $TV($EXPECT($L18, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17328
17474
  return { $loc, token: "let " };
17329
17475
  });
17330
17476
  function InsertLet(state) {
@@ -17349,7 +17495,7 @@ ${input.slice(result.pos)}
17349
17495
  return result;
17350
17496
  }
17351
17497
  }
17352
- var InsertReadonly$0 = $TV($EXPECT($L17, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17498
+ var InsertReadonly$0 = $TV($EXPECT($L18, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17353
17499
  return { ts: true, children: [{ $loc, token: "readonly " }] };
17354
17500
  });
17355
17501
  function InsertReadonly(state) {
@@ -17374,7 +17520,7 @@ ${input.slice(result.pos)}
17374
17520
  return result;
17375
17521
  }
17376
17522
  }
17377
- var InsertNewline$0 = $TV($EXPECT($L17, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17523
+ var InsertNewline$0 = $TV($EXPECT($L18, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17378
17524
  return "\n";
17379
17525
  });
17380
17526
  function InsertNewline(state) {
@@ -17399,7 +17545,7 @@ ${input.slice(result.pos)}
17399
17545
  return result;
17400
17546
  }
17401
17547
  }
17402
- var InsertIndent$0 = $TV($EXPECT($L17, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17548
+ var InsertIndent$0 = $TV($EXPECT($L18, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17403
17549
  return module.currentIndent.token;
17404
17550
  });
17405
17551
  function InsertIndent(state) {
@@ -17424,7 +17570,7 @@ ${input.slice(result.pos)}
17424
17570
  return result;
17425
17571
  }
17426
17572
  }
17427
- var InsertSpace$0 = $TV($EXPECT($L17, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17573
+ var InsertSpace$0 = $TV($EXPECT($L18, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17428
17574
  return { $loc, token: " " };
17429
17575
  });
17430
17576
  function InsertSpace(state) {
@@ -17449,7 +17595,7 @@ ${input.slice(result.pos)}
17449
17595
  return result;
17450
17596
  }
17451
17597
  }
17452
- var InsertDot$0 = $TV($EXPECT($L17, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17598
+ var InsertDot$0 = $TV($EXPECT($L18, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17453
17599
  return { $loc, token: "." };
17454
17600
  });
17455
17601
  function InsertDot(state) {
@@ -17474,7 +17620,7 @@ ${input.slice(result.pos)}
17474
17620
  return result;
17475
17621
  }
17476
17622
  }
17477
- var InsertBreak$0 = $TV($EXPECT($L17, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17623
+ var InsertBreak$0 = $TV($EXPECT($L18, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17478
17624
  return { $loc, token: ";break;" };
17479
17625
  });
17480
17626
  function InsertBreak(state) {
@@ -17499,7 +17645,7 @@ ${input.slice(result.pos)}
17499
17645
  return result;
17500
17646
  }
17501
17647
  }
17502
- var InsertVar$0 = $TV($EXPECT($L17, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17648
+ var InsertVar$0 = $TV($EXPECT($L18, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17503
17649
  return { $loc, token: "var " };
17504
17650
  });
17505
17651
  function InsertVar(state) {
@@ -17524,7 +17670,7 @@ ${input.slice(result.pos)}
17524
17670
  return result;
17525
17671
  }
17526
17672
  }
17527
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17673
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17528
17674
  if (module.config.coffeeBinaryExistential)
17529
17675
  return;
17530
17676
  return $skip;
@@ -17551,7 +17697,7 @@ ${input.slice(result.pos)}
17551
17697
  return result;
17552
17698
  }
17553
17699
  }
17554
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17700
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17555
17701
  if (module.config.coffeeBooleans)
17556
17702
  return;
17557
17703
  return $skip;
@@ -17578,7 +17724,7 @@ ${input.slice(result.pos)}
17578
17724
  return result;
17579
17725
  }
17580
17726
  }
17581
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17727
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17582
17728
  if (module.config.coffeeClasses)
17583
17729
  return;
17584
17730
  return $skip;
@@ -17605,7 +17751,7 @@ ${input.slice(result.pos)}
17605
17751
  return result;
17606
17752
  }
17607
17753
  }
17608
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17754
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17609
17755
  if (module.config.coffeeComment)
17610
17756
  return;
17611
17757
  return $skip;
@@ -17632,7 +17778,7 @@ ${input.slice(result.pos)}
17632
17778
  return result;
17633
17779
  }
17634
17780
  }
17635
- var CoffeeDoEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17781
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17636
17782
  if (module.config.coffeeDo)
17637
17783
  return;
17638
17784
  return $skip;
@@ -17659,7 +17805,7 @@ ${input.slice(result.pos)}
17659
17805
  return result;
17660
17806
  }
17661
17807
  }
17662
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17808
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17663
17809
  if (module.config.coffeeForLoops)
17664
17810
  return;
17665
17811
  return $skip;
@@ -17686,7 +17832,7 @@ ${input.slice(result.pos)}
17686
17832
  return result;
17687
17833
  }
17688
17834
  }
17689
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
17835
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
17690
17836
  if (module.config.coffeeInterpolation)
17691
17837
  return;
17692
17838
  return $skip;
@@ -17713,7 +17859,7 @@ ${input.slice(result.pos)}
17713
17859
  return result;
17714
17860
  }
17715
17861
  }
17716
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
17862
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
17717
17863
  if (module.config.coffeeIsnt)
17718
17864
  return;
17719
17865
  return $skip;
@@ -17740,7 +17886,7 @@ ${input.slice(result.pos)}
17740
17886
  return result;
17741
17887
  }
17742
17888
  }
17743
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
17889
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
17744
17890
  if (module.config.coffeeJSX)
17745
17891
  return;
17746
17892
  return $skip;
@@ -17767,7 +17913,7 @@ ${input.slice(result.pos)}
17767
17913
  return result;
17768
17914
  }
17769
17915
  }
17770
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
17916
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
17771
17917
  if (module.config.coffeeLineContinuation)
17772
17918
  return;
17773
17919
  return $skip;
@@ -17794,7 +17940,7 @@ ${input.slice(result.pos)}
17794
17940
  return result;
17795
17941
  }
17796
17942
  }
17797
- var CoffeeNotEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
17943
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
17798
17944
  if (module.config.coffeeNot)
17799
17945
  return;
17800
17946
  return $skip;
@@ -17821,7 +17967,7 @@ ${input.slice(result.pos)}
17821
17967
  return result;
17822
17968
  }
17823
17969
  }
17824
- var CoffeeOfEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
17970
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
17825
17971
  if (module.config.coffeeOf)
17826
17972
  return;
17827
17973
  return $skip;
@@ -17848,7 +17994,7 @@ ${input.slice(result.pos)}
17848
17994
  return result;
17849
17995
  }
17850
17996
  }
17851
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
17997
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
17852
17998
  if (module.config.coffeePrototype)
17853
17999
  return;
17854
18000
  return $skip;
@@ -17875,7 +18021,7 @@ ${input.slice(result.pos)}
17875
18021
  return result;
17876
18022
  }
17877
18023
  }
17878
- var ObjectIsEnabled$0 = $TV($EXPECT($L17, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18024
+ var ObjectIsEnabled$0 = $TV($EXPECT($L18, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
17879
18025
  if (module.config.objectIs)
17880
18026
  return;
17881
18027
  return $skip;
@@ -17902,7 +18048,7 @@ ${input.slice(result.pos)}
17902
18048
  return result;
17903
18049
  }
17904
18050
  }
17905
- var Reset$0 = $TV($EXPECT($L17, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18051
+ var Reset$0 = $TV($EXPECT($L18, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
17906
18052
  module.indentLevels = [{
17907
18053
  level: 0,
17908
18054
  token: ""
@@ -17955,6 +18101,7 @@ ${input.slice(result.pos)}
17955
18101
  react: false,
17956
18102
  solid: false,
17957
18103
  client: false,
18104
+ rewriteTsImports: true,
17958
18105
  server: false,
17959
18106
  tab: void 0,
17960
18107
  verbose: false
@@ -18113,6 +18260,12 @@ ${input.slice(result.pos)}
18113
18260
  }
18114
18261
  }
18115
18262
  };
18263
+ Object.defineProperty(module.config, "deno", {
18264
+ set(b) {
18265
+ module.config.rewriteTsImports = !b;
18266
+ }
18267
+ });
18268
+ module.config.deno = typeof Deno !== "undefined";
18116
18269
  Object.defineProperty(module.config, "coffeeCompat", {
18117
18270
  set(b) {
18118
18271
  for (const option of [
@@ -18173,7 +18326,7 @@ ${input.slice(result.pos)}
18173
18326
  return result;
18174
18327
  }
18175
18328
  }
18176
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L17, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18329
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L18, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18177
18330
  var directives = $2;
18178
18331
  directives.forEach((directive) => {
18179
18332
  if (directive.type === "CivetPrologue") {
@@ -18908,6 +19061,15 @@ ${input.slice(result.pos)}
18908
19061
  function processAssignments(statements) {
18909
19062
  gatherRecursiveAll(statements, (n) => n.type === "AssignmentExpression" && n.names === null).forEach((exp) => {
18910
19063
  let { lhs: $12, exp: $22 } = exp, tail = [], i = 0, len = $12.length;
19064
+ if ($12.some((left) => left[left.length - 1].special)) {
19065
+ if ($12.length !== 1) {
19066
+ throw new Error("Only one assignment with id= is allowed");
19067
+ }
19068
+ const [, lhs, , op] = $12[0];
19069
+ const { call } = op;
19070
+ op[op.length - 1] = "=";
19071
+ $22 = [call, "(", lhs, ", ", $22, ")"];
19072
+ }
18911
19073
  let wrapped = false;
18912
19074
  while (i < len) {
18913
19075
  const lastAssignment = $12[i++];
@@ -19674,7 +19836,7 @@ ${input.slice(result.pos)}
19674
19836
  return result;
19675
19837
  }
19676
19838
  }
19677
- var PopIndent$0 = $TV($EXPECT($L17, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
19839
+ var PopIndent$0 = $TV($EXPECT($L18, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
19678
19840
  if (module.config.verbose) {
19679
19841
  console.log("popping indent", module.indentLevels[module.indentLevels.length - 1], "->", module.indentLevels[module.indentLevels.length - 2]);
19680
19842
  }
@@ -20166,7 +20328,7 @@ var parse;
20166
20328
  var uncacheable;
20167
20329
  ({ parse } = import_parser.default);
20168
20330
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
20169
- uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
20331
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
20170
20332
  var compile = function(src, options) {
20171
20333
  var ast, code, events, filename, ref, result, sm, srcMapJSON;
20172
20334
  if (!options) {