@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.js CHANGED
@@ -450,6 +450,7 @@ ${input.slice(result.pos)}
450
450
  ArgumentPart,
451
451
  BinaryOpExpression,
452
452
  BinaryOpRHS,
453
+ RHS,
453
454
  ParenthesizedAssignment,
454
455
  UnaryExpression,
455
456
  UnaryPostfix,
@@ -611,7 +612,9 @@ ${input.slice(result.pos)}
611
612
  MethodSignature,
612
613
  ClassElementName,
613
614
  PrivateIdentifier,
615
+ WAssignmentOp,
614
616
  AssignmentOp,
617
+ OperatorAssignmentOp,
615
618
  AssignmentOpSymbol,
616
619
  CoffeeWordAssignmentOp,
617
620
  BinaryOp,
@@ -665,7 +668,7 @@ ${input.slice(result.pos)}
665
668
  TryExpression,
666
669
  CatchClause,
667
670
  CatchBind,
668
- Finally,
671
+ FinallyClause,
669
672
  CatchParameter,
670
673
  Condition,
671
674
  ExpressionWithIndentedApplicationSuppressed,
@@ -798,6 +801,7 @@ ${input.slice(result.pos)}
798
801
  Equals,
799
802
  Export,
800
803
  Extends,
804
+ Finally,
801
805
  For,
802
806
  From,
803
807
  Function,
@@ -932,6 +936,7 @@ ${input.slice(result.pos)}
932
936
  InlineInterfacePropertyDelimiter,
933
937
  TypeBinaryOp,
934
938
  FunctionType,
939
+ TypeArrowFunction,
935
940
  TypeArguments,
936
941
  TypeArgument,
937
942
  TypeArgumentDelimiter,
@@ -993,34 +998,34 @@ ${input.slice(result.pos)}
993
998
  Nested
994
999
  });
995
1000
  var $L0 = $L("/ ");
996
- var $L1 = $L("(");
997
- var $L2 = $L("?");
998
- var $L3 = $L(".");
999
- var $L4 = $L("++");
1000
- var $L5 = $L("--");
1001
- var $L6 = $L("=>");
1002
- var $L7 = $L(" ");
1003
- var $L8 = $L("implements");
1004
- var $L9 = $L("<:");
1005
- var $L10 = $L("#");
1006
- var $L11 = $L("super");
1007
- var $L12 = $L("import");
1008
- var $L13 = $L("!");
1009
- var $L14 = $L("-");
1010
- var $L15 = $L("super[");
1011
- var $L16 = $L("import.meta");
1012
- var $L17 = $L("");
1013
- var $L18 = $L(")");
1014
- var $L19 = $L("->");
1015
- var $L20 = $L("}");
1016
- var $L21 = $L("null");
1017
- var $L22 = $L("true");
1018
- var $L23 = $L("false");
1019
- var $L24 = $L("yes");
1020
- var $L25 = $L("on");
1021
- var $L26 = $L("no");
1022
- var $L27 = $L("off");
1023
- var $L28 = $L("=");
1001
+ var $L1 = $L("=");
1002
+ var $L2 = $L("(");
1003
+ var $L3 = $L("?");
1004
+ var $L4 = $L(".");
1005
+ var $L5 = $L("++");
1006
+ var $L6 = $L("--");
1007
+ var $L7 = $L("=>");
1008
+ var $L8 = $L(" ");
1009
+ var $L9 = $L("implements");
1010
+ var $L10 = $L("<:");
1011
+ var $L11 = $L("#");
1012
+ var $L12 = $L("super");
1013
+ var $L13 = $L("import");
1014
+ var $L14 = $L("!");
1015
+ var $L15 = $L("-");
1016
+ var $L16 = $L("super[");
1017
+ var $L17 = $L("import.meta");
1018
+ var $L18 = $L("");
1019
+ var $L19 = $L(")");
1020
+ var $L20 = $L("->");
1021
+ var $L21 = $L("}");
1022
+ var $L22 = $L("null");
1023
+ var $L23 = $L("true");
1024
+ var $L24 = $L("false");
1025
+ var $L25 = $L("yes");
1026
+ var $L26 = $L("on");
1027
+ var $L27 = $L("no");
1028
+ var $L28 = $L("off");
1024
1029
  var $L29 = $L(">");
1025
1030
  var $L30 = $L("]");
1026
1031
  var $L31 = $L(":");
@@ -1075,41 +1080,41 @@ ${input.slice(result.pos)}
1075
1080
  var $L80 = $L("|");
1076
1081
  var $L81 = $L(";");
1077
1082
  var $L82 = $L("own");
1078
- var $L83 = $L("finally");
1079
- var $L84 = $L("break");
1080
- var $L85 = $L("continue");
1081
- var $L86 = $L("debugger");
1082
- var $L87 = $L("assert");
1083
- var $L88 = $L(":=");
1084
- var $L89 = $L(".=");
1085
- var $L90 = $L("/*");
1086
- var $L91 = $L("*/");
1087
- var $L92 = $L("\\");
1088
- var $L93 = $L("[");
1089
- var $L94 = $L("`");
1090
- var $L95 = $L("abstract");
1091
- var $L96 = $L("as");
1092
- var $L97 = $L("@");
1093
- var $L98 = $L("@@");
1094
- var $L99 = $L("async");
1095
- var $L100 = $L("await");
1096
- var $L101 = $L("by");
1097
- var $L102 = $L("case");
1098
- var $L103 = $L("catch");
1099
- var $L104 = $L("class");
1100
- var $L105 = $L("#{");
1101
- var $L106 = $L(",");
1102
- var $L107 = $L("declare");
1103
- var $L108 = $L("default");
1104
- var $L109 = $L("delete");
1105
- var $L110 = $L("do");
1106
- var $L111 = $L("..");
1107
- var $L112 = $L("...");
1108
- var $L113 = $L("::");
1109
- var $L114 = $L('"');
1110
- var $L115 = $L("else");
1111
- var $L116 = $L("export");
1112
- var $L117 = $L("extends");
1083
+ var $L83 = $L("break");
1084
+ var $L84 = $L("continue");
1085
+ var $L85 = $L("debugger");
1086
+ var $L86 = $L("assert");
1087
+ var $L87 = $L(":=");
1088
+ var $L88 = $L(".=");
1089
+ var $L89 = $L("/*");
1090
+ var $L90 = $L("*/");
1091
+ var $L91 = $L("\\");
1092
+ var $L92 = $L("[");
1093
+ var $L93 = $L("`");
1094
+ var $L94 = $L("abstract");
1095
+ var $L95 = $L("as");
1096
+ var $L96 = $L("@");
1097
+ var $L97 = $L("@@");
1098
+ var $L98 = $L("async");
1099
+ var $L99 = $L("await");
1100
+ var $L100 = $L("by");
1101
+ var $L101 = $L("case");
1102
+ var $L102 = $L("catch");
1103
+ var $L103 = $L("class");
1104
+ var $L104 = $L("#{");
1105
+ var $L105 = $L(",");
1106
+ var $L106 = $L("declare");
1107
+ var $L107 = $L("default");
1108
+ var $L108 = $L("delete");
1109
+ var $L109 = $L("do");
1110
+ var $L110 = $L("..");
1111
+ var $L111 = $L("...");
1112
+ var $L112 = $L("::");
1113
+ var $L113 = $L('"');
1114
+ var $L114 = $L("else");
1115
+ var $L115 = $L("export");
1116
+ var $L116 = $L("extends");
1117
+ var $L117 = $L("finally");
1113
1118
  var $L118 = $L("for");
1114
1119
  var $L119 = $L("from");
1115
1120
  var $L120 = $L("function");
@@ -1549,7 +1554,8 @@ ${input.slice(result.pos)}
1549
1554
  var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|of|satisfies|then|when|implements)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
1550
1555
  var ForbiddenImplicitCalls$1 = $EXPECT($L0, fail, 'ForbiddenImplicitCalls "/ "');
1551
1556
  var ForbiddenImplicitCalls$2 = AtAt;
1552
- var ForbiddenImplicitCalls$3 = $TS($S(Identifier, $N($EXPECT($L1, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
1557
+ var ForbiddenImplicitCalls$3 = $S(Identifier, $EXPECT($L1, fail, 'ForbiddenImplicitCalls "="'), Whitespace);
1558
+ var ForbiddenImplicitCalls$4 = $TS($S(Identifier, $N($EXPECT($L2, fail, 'ForbiddenImplicitCalls "("'))), function($skip, $loc, $0, $1, $2) {
1553
1559
  if (module2.operators.has($1.name))
1554
1560
  return $1;
1555
1561
  return $skip;
@@ -1565,12 +1571,12 @@ ${input.slice(result.pos)}
1565
1571
  }
1566
1572
  }
1567
1573
  if (state.tokenize) {
1568
- const result = $TOKEN("ForbiddenImplicitCalls", state, ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state));
1574
+ const result = $TOKEN("ForbiddenImplicitCalls", state, ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state) || ForbiddenImplicitCalls$4(state));
1569
1575
  if (state.events)
1570
1576
  state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
1571
1577
  return result;
1572
1578
  } else {
1573
- const result = ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state);
1579
+ const result = ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state) || ForbiddenImplicitCalls$3(state) || ForbiddenImplicitCalls$4(state);
1574
1580
  if (state.events)
1575
1581
  state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
1576
1582
  return result;
@@ -1607,7 +1613,7 @@ ${input.slice(result.pos)}
1607
1613
  return result;
1608
1614
  }
1609
1615
  }
1610
- 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) {
1616
+ 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) {
1611
1617
  return $1.concat($2);
1612
1618
  });
1613
1619
  function TrailingMemberExpressions(state) {
@@ -1864,7 +1870,12 @@ ${input.slice(result.pos)}
1864
1870
  return result;
1865
1871
  }
1866
1872
  }
1867
- var BinaryOpRHS$0 = $S(__, BinaryOp, __, $C(ParenthesizedAssignment, UnaryExpression, ExpressionizedStatement));
1873
+ var BinaryOpRHS$0 = $TS($S(BinaryOp, RHS), function($skip, $loc, $0, $1, $2) {
1874
+ var op = $1;
1875
+ var rhs = $2;
1876
+ return [[], op, [], rhs];
1877
+ });
1878
+ var BinaryOpRHS$1 = $S(__, BinaryOp, $C(_, $S(EOS, __)), RHS);
1868
1879
  function BinaryOpRHS(state) {
1869
1880
  let eventData;
1870
1881
  if (state.events) {
@@ -1876,17 +1887,42 @@ ${input.slice(result.pos)}
1876
1887
  }
1877
1888
  }
1878
1889
  if (state.tokenize) {
1879
- const result = $TOKEN("BinaryOpRHS", state, BinaryOpRHS$0(state));
1890
+ const result = $TOKEN("BinaryOpRHS", state, BinaryOpRHS$0(state) || BinaryOpRHS$1(state));
1880
1891
  if (state.events)
1881
1892
  state.events.exit?.("BinaryOpRHS", state, result, eventData);
1882
1893
  return result;
1883
1894
  } else {
1884
- const result = BinaryOpRHS$0(state);
1895
+ const result = BinaryOpRHS$0(state) || BinaryOpRHS$1(state);
1885
1896
  if (state.events)
1886
1897
  state.events.exit?.("BinaryOpRHS", state, result, eventData);
1887
1898
  return result;
1888
1899
  }
1889
1900
  }
1901
+ var RHS$0 = ParenthesizedAssignment;
1902
+ var RHS$1 = UnaryExpression;
1903
+ var RHS$2 = ExpressionizedStatement;
1904
+ function RHS(state) {
1905
+ let eventData;
1906
+ if (state.events) {
1907
+ const result = state.events.enter?.("RHS", state);
1908
+ if (result) {
1909
+ if (result.cache)
1910
+ return result.cache;
1911
+ eventData = result.data;
1912
+ }
1913
+ }
1914
+ if (state.tokenize) {
1915
+ const result = $TOKEN("RHS", state, RHS$0(state) || RHS$1(state) || RHS$2(state));
1916
+ if (state.events)
1917
+ state.events.exit?.("RHS", state, result, eventData);
1918
+ return result;
1919
+ } else {
1920
+ const result = RHS$0(state) || RHS$1(state) || RHS$2(state);
1921
+ if (state.events)
1922
+ state.events.exit?.("RHS", state, result, eventData);
1923
+ return result;
1924
+ }
1925
+ }
1890
1926
  var ParenthesizedAssignment$0 = $S(InsertOpenParen, ActualAssignment, InsertCloseParen);
1891
1927
  function ParenthesizedAssignment(state) {
1892
1928
  let eventData;
@@ -2001,7 +2037,7 @@ ${input.slice(result.pos)}
2001
2037
  return result;
2002
2038
  }
2003
2039
  }
2004
- var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L4, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L5, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
2040
+ var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L5, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L6, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
2005
2041
  return { $loc, token: $1 };
2006
2042
  });
2007
2043
  function UpdateExpressionSymbol(state) {
@@ -2137,7 +2173,9 @@ ${input.slice(result.pos)}
2137
2173
  return result;
2138
2174
  }
2139
2175
  }
2140
- var ActualAssignment$0 = $TS($S($P($S(__, LeftHandSideExpression, __, AssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
2176
+ var ActualAssignment$0 = $TS($S($P($S(__, LeftHandSideExpression, WAssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
2177
+ $1 = $1.map((x) => [x[0], x[1], ...x[2]]);
2178
+ $0 = [$1, $2];
2141
2179
  return {
2142
2180
  type: "AssignmentExpression",
2143
2181
  children: $0,
@@ -2280,7 +2318,7 @@ ${input.slice(result.pos)}
2280
2318
  return result;
2281
2319
  }
2282
2320
  }
2283
- var FatArrow$0 = $TS($S(__, $EXPECT($L6, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
2321
+ var FatArrow$0 = $TS($S(__, $EXPECT($L7, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
2284
2322
  var ws = $1;
2285
2323
  if (!ws.length)
2286
2324
  return " =>";
@@ -2363,7 +2401,7 @@ ${input.slice(result.pos)}
2363
2401
  }
2364
2402
  }
2365
2403
  var TernaryRest$0 = NestedTernaryRest;
2366
- 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) {
2404
+ 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) {
2367
2405
  return $0.slice(2);
2368
2406
  });
2369
2407
  function TernaryRest(state) {
@@ -2723,7 +2761,7 @@ ${input.slice(result.pos)}
2723
2761
  return result;
2724
2762
  }
2725
2763
  }
2726
- var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L7, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2764
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L8, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2727
2765
  var l = $1;
2728
2766
  var ws = $2;
2729
2767
  var lt = $3;
@@ -2817,7 +2855,7 @@ ${input.slice(result.pos)}
2817
2855
  return result;
2818
2856
  }
2819
2857
  }
2820
- var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L7, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2858
+ var ImplementsToken$0 = $TS($S(Loc, __, ImplementsShorthand, $E($EXPECT($L8, fail, 'ImplementsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2821
2859
  var l = $1;
2822
2860
  var ws = $2;
2823
2861
  var token = $3;
@@ -2827,7 +2865,7 @@ ${input.slice(result.pos)}
2827
2865
  }
2828
2866
  return { children };
2829
2867
  });
2830
- var ImplementsToken$1 = $TS($S(__, $EXPECT($L8, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
2868
+ var ImplementsToken$1 = $TS($S(__, $EXPECT($L9, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
2831
2869
  $2 = { $loc, token: $2 };
2832
2870
  return [$1, $2];
2833
2871
  });
@@ -2853,7 +2891,7 @@ ${input.slice(result.pos)}
2853
2891
  return result;
2854
2892
  }
2855
2893
  }
2856
- var ImplementsShorthand$0 = $TV($EXPECT($L9, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
2894
+ var ImplementsShorthand$0 = $TV($EXPECT($L10, fail, 'ImplementsShorthand "<:"'), function($skip, $loc, $0, $1) {
2857
2895
  return { $loc, token: "implements " };
2858
2896
  });
2859
2897
  function ImplementsShorthand(state) {
@@ -3104,7 +3142,7 @@ ${input.slice(result.pos)}
3104
3142
  }
3105
3143
  }
3106
3144
  var ThisLiteral$0 = This;
3107
- var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L10, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
3145
+ var ThisLiteral$1 = $TS($S(AtThis, $TEXT($S($E($EXPECT($L11, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
3108
3146
  var at = $1;
3109
3147
  var id = $2;
3110
3148
  return [at, ".", id];
@@ -3158,7 +3196,7 @@ ${input.slice(result.pos)}
3158
3196
  return result;
3159
3197
  }
3160
3198
  }
3161
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L3, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
3199
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L4, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
3162
3200
  if ($1.length)
3163
3201
  return $0;
3164
3202
  return $2;
@@ -3185,14 +3223,14 @@ ${input.slice(result.pos)}
3185
3223
  return result;
3186
3224
  }
3187
3225
  }
3188
- var CallExpression$0 = $TS($S($EXPECT($L11, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3226
+ var CallExpression$0 = $TS($S($EXPECT($L12, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3189
3227
  var rest = $3;
3190
3228
  return {
3191
3229
  type: "CallExpression",
3192
3230
  children: [$1, ...$2, ...rest.flat()]
3193
3231
  };
3194
3232
  });
3195
- var CallExpression$1 = $TS($S($EXPECT($L12, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3233
+ var CallExpression$1 = $TS($S($EXPECT($L13, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3196
3234
  var rest = $3;
3197
3235
  return {
3198
3236
  type: "CallExpression",
@@ -3291,7 +3329,7 @@ ${input.slice(result.pos)}
3291
3329
  return result;
3292
3330
  }
3293
3331
  }
3294
- var NonNullAssertion$0 = $T($EXPECT($L13, fail, 'NonNullAssertion "!"'), function(value) {
3332
+ var NonNullAssertion$0 = $T($EXPECT($L14, fail, 'NonNullAssertion "!"'), function(value) {
3295
3333
  return { "type": "NonNullAssertion", "ts": true, "children": value };
3296
3334
  });
3297
3335
  function NonNullAssertion(state) {
@@ -3430,7 +3468,7 @@ ${input.slice(result.pos)}
3430
3468
  ]
3431
3469
  };
3432
3470
  });
3433
- var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L14, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
3471
+ var MemberBracketContent$3 = $TS($S(Dot, $EXPECT($L15, fail, 'MemberBracketContent "-"'), IntegerLiteral), function($skip, $loc, $0, $1, $2, $3) {
3434
3472
  var dot = $1;
3435
3473
  var neg = $2;
3436
3474
  var num = $3;
@@ -3572,8 +3610,8 @@ ${input.slice(result.pos)}
3572
3610
  return result;
3573
3611
  }
3574
3612
  }
3575
- var SuperProperty$0 = $S($EXPECT($L15, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3576
- var SuperProperty$1 = $S($EXPECT($L11, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3613
+ var SuperProperty$0 = $S($EXPECT($L16, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
3614
+ var SuperProperty$1 = $S($EXPECT($L12, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
3577
3615
  function SuperProperty(state) {
3578
3616
  let eventData;
3579
3617
  if (state.events) {
@@ -3597,7 +3635,7 @@ ${input.slice(result.pos)}
3597
3635
  }
3598
3636
  }
3599
3637
  var MetaProperty$0 = $S(New, Dot, Target);
3600
- var MetaProperty$1 = $TS($S($EXPECT($L16, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3638
+ var MetaProperty$1 = $TS($S($EXPECT($L17, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3601
3639
  return { $loc, token: $1 };
3602
3640
  });
3603
3641
  function MetaProperty(state) {
@@ -3623,7 +3661,7 @@ ${input.slice(result.pos)}
3623
3661
  }
3624
3662
  }
3625
3663
  var Parameters$0 = NonEmptyParameters;
3626
- var Parameters$1 = $TV($EXPECT($L17, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3664
+ var Parameters$1 = $TV($EXPECT($L18, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
3627
3665
  return {
3628
3666
  type: "Parameters",
3629
3667
  children: [{ $loc, token: "()" }],
@@ -3784,7 +3822,7 @@ ${input.slice(result.pos)}
3784
3822
  }
3785
3823
  }
3786
3824
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3787
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L18, fail, 'ParameterElementDelimiter ")"')));
3825
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L19, fail, 'ParameterElementDelimiter ")"')));
3788
3826
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3789
3827
  return value[1];
3790
3828
  });
@@ -4394,7 +4432,7 @@ ${input.slice(result.pos)}
4394
4432
  children: $0
4395
4433
  };
4396
4434
  });
4397
- var BindingElement$2 = $TV($EXPECT($L17, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4435
+ var BindingElement$2 = $TV($EXPECT($L18, fail, 'BindingElement ""'), function($skip, $loc, $0, $1) {
4398
4436
  return {
4399
4437
  type: "ElisionElement",
4400
4438
  children: [],
@@ -4465,7 +4503,7 @@ ${input.slice(result.pos)}
4465
4503
  return result;
4466
4504
  }
4467
4505
  }
4468
- var EmptyBindingPattern$0 = $TV($EXPECT($L17, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4506
+ var EmptyBindingPattern$0 = $TV($EXPECT($L18, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
4469
4507
  const ref = {
4470
4508
  type: "Ref",
4471
4509
  base: "ref",
@@ -4941,7 +4979,7 @@ ${input.slice(result.pos)}
4941
4979
  children: [ws, binding]
4942
4980
  };
4943
4981
  });
4944
- var MatchingElement$3 = $TV($EXPECT($L17, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
4982
+ var MatchingElement$3 = $TV($EXPECT($L18, fail, 'MatchingElement ""'), function($skip, $loc, $0, $1) {
4945
4983
  return {
4946
4984
  type: "ElisionElement",
4947
4985
  children: [],
@@ -5329,7 +5367,7 @@ ${input.slice(result.pos)}
5329
5367
  return result;
5330
5368
  }
5331
5369
  }
5332
- var Arrow$0 = $TV($EXPECT($L19, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
5370
+ var Arrow$0 = $TV($EXPECT($L20, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
5333
5371
  return { $loc, token: $1 };
5334
5372
  });
5335
5373
  function Arrow(state) {
@@ -5539,7 +5577,7 @@ ${input.slice(result.pos)}
5539
5577
  return result;
5540
5578
  }
5541
5579
  }
5542
- var EmptyBareBlock$0 = $TV($EXPECT($L17, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5580
+ var EmptyBareBlock$0 = $TV($EXPECT($L18, fail, 'EmptyBareBlock ""'), function($skip, $loc, $0, $1) {
5543
5581
  const expressions = [];
5544
5582
  return {
5545
5583
  type: "BlockStatement",
@@ -5668,7 +5706,7 @@ ${input.slice(result.pos)}
5668
5706
  children: [$1, expressions]
5669
5707
  };
5670
5708
  });
5671
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L20, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
5709
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L21, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
5672
5710
  const expressions = [];
5673
5711
  return {
5674
5712
  type: "BlockStatement",
@@ -5813,7 +5851,7 @@ ${input.slice(result.pos)}
5813
5851
  return result;
5814
5852
  }
5815
5853
  }
5816
- var NullLiteral$0 = $TS($S($EXPECT($L21, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5854
+ var NullLiteral$0 = $TS($S($EXPECT($L22, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5817
5855
  return { $loc, token: $1 };
5818
5856
  });
5819
5857
  function NullLiteral(state) {
@@ -5841,7 +5879,7 @@ ${input.slice(result.pos)}
5841
5879
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
5842
5880
  return value[1];
5843
5881
  });
5844
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L22, fail, 'BooleanLiteral "true"'), $EXPECT($L23, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5882
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'BooleanLiteral "true"'), $EXPECT($L24, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5845
5883
  return { $loc, token: $1 };
5846
5884
  });
5847
5885
  function BooleanLiteral(state) {
@@ -5866,10 +5904,10 @@ ${input.slice(result.pos)}
5866
5904
  return result;
5867
5905
  }
5868
5906
  }
5869
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L25, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5907
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L25, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L26, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5870
5908
  return { $loc, token: "true" };
5871
5909
  });
5872
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L26, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L27, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5910
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L27, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L28, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5873
5911
  return { $loc, token: "false" };
5874
5912
  });
5875
5913
  function CoffeeScriptBooleanLiteral(state) {
@@ -5975,7 +6013,7 @@ ${input.slice(result.pos)}
5975
6013
  return result;
5976
6014
  }
5977
6015
  }
5978
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L28, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L28, fail, 'UpcomingAssignment "="'), $EXPECT($L29, fail, 'UpcomingAssignment ">"')))));
6016
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L1, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L1, fail, 'UpcomingAssignment "="'), $EXPECT($L29, fail, 'UpcomingAssignment ">"')))));
5979
6017
  function UpcomingAssignment(state) {
5980
6018
  let eventData;
5981
6019
  if (state.events) {
@@ -6673,7 +6711,7 @@ ${input.slice(result.pos)}
6673
6711
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
6674
6712
  return value[1];
6675
6713
  });
6676
- 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) {
6714
+ 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) {
6677
6715
  return "";
6678
6716
  });
6679
6717
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -6702,7 +6740,7 @@ ${input.slice(result.pos)}
6702
6740
  }
6703
6741
  }
6704
6742
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
6705
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L20, fail, 'ObjectPropertyDelimiter "}"')));
6743
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L21, fail, 'ObjectPropertyDelimiter "}"')));
6706
6744
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
6707
6745
  return value[1];
6708
6746
  });
@@ -6977,7 +7015,7 @@ ${input.slice(result.pos)}
6977
7015
  expression
6978
7016
  };
6979
7017
  });
6980
- var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L14, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
7018
+ var ComputedPropertyName$2 = $TS($S(InsertOpenBracket, $EXPECT($L15, fail, 'ComputedPropertyName "-"'), NumericLiteral, InsertCloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
6981
7019
  return {
6982
7020
  type: "ComputedPropertyName",
6983
7021
  children: $0
@@ -7195,7 +7233,7 @@ ${input.slice(result.pos)}
7195
7233
  return result;
7196
7234
  }
7197
7235
  }
7198
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L10, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
7236
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L11, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
7199
7237
  return {
7200
7238
  type: "Identifier",
7201
7239
  name: $0,
@@ -7228,6 +7266,30 @@ ${input.slice(result.pos)}
7228
7266
  return result;
7229
7267
  }
7230
7268
  }
7269
+ var WAssignmentOp$0 = $S(__, AssignmentOp);
7270
+ var WAssignmentOp$1 = $S(_, OperatorAssignmentOp);
7271
+ function WAssignmentOp(state) {
7272
+ let eventData;
7273
+ if (state.events) {
7274
+ const result = state.events.enter?.("WAssignmentOp", state);
7275
+ if (result) {
7276
+ if (result.cache)
7277
+ return result.cache;
7278
+ eventData = result.data;
7279
+ }
7280
+ }
7281
+ if (state.tokenize) {
7282
+ const result = $TOKEN("WAssignmentOp", state, WAssignmentOp$0(state) || WAssignmentOp$1(state));
7283
+ if (state.events)
7284
+ state.events.exit?.("WAssignmentOp", state, result, eventData);
7285
+ return result;
7286
+ } else {
7287
+ const result = WAssignmentOp$0(state) || WAssignmentOp$1(state);
7288
+ if (state.events)
7289
+ state.events.exit?.("WAssignmentOp", state, result, eventData);
7290
+ return result;
7291
+ }
7292
+ }
7231
7293
  var AssignmentOp$0 = $TS($S(AssignmentOpSymbol, $Q(TrailingComment)), function($skip, $loc, $0, $1, $2) {
7232
7294
  if ($2.length) {
7233
7295
  return {
@@ -7259,6 +7321,35 @@ ${input.slice(result.pos)}
7259
7321
  return result;
7260
7322
  }
7261
7323
  }
7324
+ var OperatorAssignmentOp$0 = $TS($S(Identifier, $EXPECT($L1, fail, 'OperatorAssignmentOp "="'), $Y(Whitespace), $Q(TrailingComment)), function($skip, $loc, $0, $1, $2, $3, $4) {
7325
+ return {
7326
+ special: true,
7327
+ call: $1,
7328
+ children: [$2, ...$4]
7329
+ };
7330
+ });
7331
+ function OperatorAssignmentOp(state) {
7332
+ let eventData;
7333
+ if (state.events) {
7334
+ const result = state.events.enter?.("OperatorAssignmentOp", state);
7335
+ if (result) {
7336
+ if (result.cache)
7337
+ return result.cache;
7338
+ eventData = result.data;
7339
+ }
7340
+ }
7341
+ if (state.tokenize) {
7342
+ const result = $TOKEN("OperatorAssignmentOp", state, OperatorAssignmentOp$0(state));
7343
+ if (state.events)
7344
+ state.events.exit?.("OperatorAssignmentOp", state, result, eventData);
7345
+ return result;
7346
+ } else {
7347
+ const result = OperatorAssignmentOp$0(state);
7348
+ if (state.events)
7349
+ state.events.exit?.("OperatorAssignmentOp", state, result, eventData);
7350
+ return result;
7351
+ }
7352
+ }
7262
7353
  var AssignmentOpSymbol$0 = $EXPECT($L32, fail, 'AssignmentOpSymbol "**="');
7263
7354
  var AssignmentOpSymbol$1 = $EXPECT($L33, fail, 'AssignmentOpSymbol "*="');
7264
7355
  var AssignmentOpSymbol$2 = $EXPECT($L34, fail, 'AssignmentOpSymbol "/="');
@@ -7277,7 +7368,7 @@ ${input.slice(result.pos)}
7277
7368
  var AssignmentOpSymbol$15 = $T($EXPECT($L47, fail, 'AssignmentOpSymbol "?="'), function(value) {
7278
7369
  return "??=";
7279
7370
  });
7280
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L28, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L28, fail, 'AssignmentOpSymbol "="'))), function(value) {
7371
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L1, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L1, fail, 'AssignmentOpSymbol "="'))), function(value) {
7281
7372
  return value[0];
7282
7373
  });
7283
7374
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -7390,7 +7481,7 @@ ${input.slice(result.pos)}
7390
7481
  });
7391
7482
  var BinaryOpSymbol$4 = $EXPECT($L55, fail, 'BinaryOpSymbol "%"');
7392
7483
  var BinaryOpSymbol$5 = $EXPECT($L56, fail, 'BinaryOpSymbol "+"');
7393
- var BinaryOpSymbol$6 = $EXPECT($L14, fail, 'BinaryOpSymbol "-"');
7484
+ var BinaryOpSymbol$6 = $EXPECT($L15, fail, 'BinaryOpSymbol "-"');
7394
7485
  var BinaryOpSymbol$7 = $EXPECT($L57, fail, 'BinaryOpSymbol "<="');
7395
7486
  var BinaryOpSymbol$8 = $EXPECT($L58, fail, 'BinaryOpSymbol ">="');
7396
7487
  var BinaryOpSymbol$9 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
@@ -7446,7 +7537,7 @@ ${input.slice(result.pos)}
7446
7537
  });
7447
7538
  var BinaryOpSymbol$25 = $EXPECT($L73, fail, 'BinaryOpSymbol "||"');
7448
7539
  var BinaryOpSymbol$26 = $EXPECT($L74, fail, 'BinaryOpSymbol "??"');
7449
- var BinaryOpSymbol$27 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L2, fail, 'BinaryOpSymbol "?"')), function(value) {
7540
+ var BinaryOpSymbol$27 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L3, fail, 'BinaryOpSymbol "?"')), function(value) {
7450
7541
  return "??";
7451
7542
  });
7452
7543
  var BinaryOpSymbol$28 = $TS($S($EXPECT($L75, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
@@ -7729,7 +7820,7 @@ ${input.slice(result.pos)}
7729
7820
  return result;
7730
7821
  }
7731
7822
  }
7732
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L28, fail, 'BlockStatement "="')))), function(value) {
7823
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L1, fail, 'BlockStatement "="')))), function(value) {
7733
7824
  return value[0];
7734
7825
  });
7735
7826
  function BlockStatement(state) {
@@ -9145,7 +9236,7 @@ ${input.slice(result.pos)}
9145
9236
  }
9146
9237
  }
9147
9238
  var ImpliedColon$0 = $S(__, Colon);
9148
- var ImpliedColon$1 = $TV($EXPECT($L17, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9239
+ var ImpliedColon$1 = $TV($EXPECT($L18, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
9149
9240
  return { $loc, token: ":" };
9150
9241
  });
9151
9242
  function ImpliedColon(state) {
@@ -9170,7 +9261,7 @@ ${input.slice(result.pos)}
9170
9261
  return result;
9171
9262
  }
9172
9263
  }
9173
- var TryStatement$0 = $TS($S(Try, BracedBlock, $E(CatchClause), $E(Finally)), function($skip, $loc, $0, $1, $2, $3, $4) {
9264
+ var TryStatement$0 = $TS($S(Try, BracedOrEmptyBlock, $E(CatchClause), $E(FinallyClause)), function($skip, $loc, $0, $1, $2, $3, $4) {
9174
9265
  var t = $1;
9175
9266
  var b = $2;
9176
9267
  var c = $3;
@@ -9238,7 +9329,7 @@ ${input.slice(result.pos)}
9238
9329
  return result;
9239
9330
  }
9240
9331
  }
9241
- var CatchClause$0 = $S(__, Catch, $E(CatchBind), BracedBlock);
9332
+ var CatchClause$0 = $S($C(Samedent, _), Catch, $E(CatchBind), $C(ThenClause, BracedOrEmptyBlock));
9242
9333
  function CatchClause(state) {
9243
9334
  let eventData;
9244
9335
  if (state.events) {
@@ -9261,8 +9352,8 @@ ${input.slice(result.pos)}
9261
9352
  return result;
9262
9353
  }
9263
9354
  }
9264
- var CatchBind$0 = $S(__, OpenParen, __, CatchParameter, __, CloseParen);
9265
- var CatchBind$1 = $S($N(EOS), $Q(TrailingComment), InsertOpenParen, CatchParameter, InsertCloseParen);
9355
+ var CatchBind$0 = $S($E(_), OpenParen, __, CatchParameter, __, CloseParen);
9356
+ var CatchBind$1 = $S(_, InsertOpenParen, CatchParameter, InsertCloseParen);
9266
9357
  function CatchBind(state) {
9267
9358
  let eventData;
9268
9359
  if (state.events) {
@@ -9285,11 +9376,11 @@ ${input.slice(result.pos)}
9285
9376
  return result;
9286
9377
  }
9287
9378
  }
9288
- var Finally$0 = $S(__, $EXPECT($L83, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
9289
- function Finally(state) {
9379
+ var FinallyClause$0 = $S($C(Samedent, _), Finally, $C(ThenClause, BracedOrEmptyBlock));
9380
+ function FinallyClause(state) {
9290
9381
  let eventData;
9291
9382
  if (state.events) {
9292
- const result = state.events.enter?.("Finally", state);
9383
+ const result = state.events.enter?.("FinallyClause", state);
9293
9384
  if (result) {
9294
9385
  if (result.cache)
9295
9386
  return result.cache;
@@ -9297,14 +9388,14 @@ ${input.slice(result.pos)}
9297
9388
  }
9298
9389
  }
9299
9390
  if (state.tokenize) {
9300
- const result = $TOKEN("Finally", state, Finally$0(state));
9391
+ const result = $TOKEN("FinallyClause", state, FinallyClause$0(state));
9301
9392
  if (state.events)
9302
- state.events.exit?.("Finally", state, result, eventData);
9393
+ state.events.exit?.("FinallyClause", state, result, eventData);
9303
9394
  return result;
9304
9395
  } else {
9305
- const result = Finally$0(state);
9396
+ const result = FinallyClause$0(state);
9306
9397
  if (state.events)
9307
- state.events.exit?.("Finally", state, result, eventData);
9398
+ state.events.exit?.("FinallyClause", state, result, eventData);
9308
9399
  return result;
9309
9400
  }
9310
9401
  }
@@ -9332,7 +9423,7 @@ ${input.slice(result.pos)}
9332
9423
  return result;
9333
9424
  }
9334
9425
  }
9335
- var Condition$0 = $T($S(ParenthesizedExpression, $N($S($Q(TrailingComment), $C(BinaryOp, AssignmentOp, Dot, QuestionMark)))), function(value) {
9426
+ var Condition$0 = $T($S(ParenthesizedExpression, $N($S($Q(TrailingComment), $C(BinaryOp, AssignmentOp, Dot, QuestionMark))), $N($S(_, OperatorAssignmentOp))), function(value) {
9336
9427
  return value[0];
9337
9428
  });
9338
9429
  var Condition$1 = $TS($S(InsertOpenParen, ExpressionWithIndentedApplicationSuppressed, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
@@ -9399,7 +9490,7 @@ ${input.slice(result.pos)}
9399
9490
  return result;
9400
9491
  }
9401
9492
  }
9402
- var SuppressIndentedApplication$0 = $TV($EXPECT($L17, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9493
+ var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9403
9494
  module2.suppressIndentedApplication = true;
9404
9495
  });
9405
9496
  function SuppressIndentedApplication(state) {
@@ -9424,7 +9515,7 @@ ${input.slice(result.pos)}
9424
9515
  return result;
9425
9516
  }
9426
9517
  }
9427
- var IndentedApplicationAllowed$0 = $TV($EXPECT($L17, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9518
+ var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9428
9519
  if (module2.suppressIndentedApplication)
9429
9520
  return $skip;
9430
9521
  return;
@@ -9451,7 +9542,7 @@ ${input.slice(result.pos)}
9451
9542
  return result;
9452
9543
  }
9453
9544
  }
9454
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L17, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9545
+ var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9455
9546
  module2.suppressTrailingMemberProperty.push(true);
9456
9547
  });
9457
9548
  function SuppressTrailingMemberProperty(state) {
@@ -9476,7 +9567,7 @@ ${input.slice(result.pos)}
9476
9567
  return result;
9477
9568
  }
9478
9569
  }
9479
- var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L17, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9570
+ var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9480
9571
  if (module2.trailingMemberPropertySuppressed)
9481
9572
  return $skip;
9482
9573
  });
@@ -9525,13 +9616,13 @@ ${input.slice(result.pos)}
9525
9616
  return result;
9526
9617
  }
9527
9618
  }
9528
- var KeywordStatement$0 = $T($S($EXPECT($L84, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
9619
+ var KeywordStatement$0 = $T($S($EXPECT($L83, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
9529
9620
  return { "type": "BreakStatement", "children": value };
9530
9621
  });
9531
- var KeywordStatement$1 = $T($S($EXPECT($L85, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
9622
+ var KeywordStatement$1 = $T($S($EXPECT($L84, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
9532
9623
  return { "type": "ContinueStatement", "children": value };
9533
9624
  });
9534
- var KeywordStatement$2 = $T($S($EXPECT($L86, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
9625
+ var KeywordStatement$2 = $T($S($EXPECT($L85, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
9535
9626
  return { "type": "DebuggerStatement", "children": value };
9536
9627
  });
9537
9628
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -9562,7 +9653,7 @@ ${input.slice(result.pos)}
9562
9653
  return result;
9563
9654
  }
9564
9655
  }
9565
- var DebuggerExpression$0 = $TS($S($EXPECT($L86, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9656
+ var DebuggerExpression$0 = $TS($S($EXPECT($L85, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9566
9657
  return {
9567
9658
  type: "DebuggerExpression",
9568
9659
  children: ["(()=>{", $1, "})()"]
@@ -9690,7 +9781,7 @@ ${input.slice(result.pos)}
9690
9781
  return result;
9691
9782
  }
9692
9783
  }
9693
- var ImpliedImport$0 = $TV($EXPECT($L17, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9784
+ var ImpliedImport$0 = $TV($EXPECT($L18, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
9694
9785
  return { $loc, token: "import " };
9695
9786
  });
9696
9787
  function ImpliedImport(state) {
@@ -9839,7 +9930,7 @@ ${input.slice(result.pos)}
9839
9930
  return result;
9840
9931
  }
9841
9932
  }
9842
- var ImportAssertion$0 = $S($E(_), $EXPECT($L87, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
9933
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L86, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
9843
9934
  function ImportAssertion(state) {
9844
9935
  let eventData;
9845
9936
  if (state.events) {
@@ -9942,7 +10033,7 @@ ${input.slice(result.pos)}
9942
10033
  }
9943
10034
  }
9944
10035
  var ImportAsToken$0 = $S(__, As);
9945
- var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L7, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10036
+ var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L8, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
9946
10037
  var l = $1;
9947
10038
  var ws = $2;
9948
10039
  var c = $3;
@@ -10004,6 +10095,8 @@ ${input.slice(result.pos)}
10004
10095
  }
10005
10096
  }
10006
10097
  var ModuleSpecifier$0 = $TS($S(UnprocessedModuleSpecifier), function($skip, $loc, $0, $1) {
10098
+ if (!module2.config.rewriteTsImports)
10099
+ return $1;
10007
10100
  const { token } = $1;
10008
10101
  return { $loc, token: token.replace(/\.([mc])?ts(['"])$/, ".$1js$2") };
10009
10102
  });
@@ -10441,7 +10534,7 @@ ${input.slice(result.pos)}
10441
10534
  return result;
10442
10535
  }
10443
10536
  }
10444
- var ConstAssignment$0 = $TV($EXPECT($L88, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
10537
+ var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
10445
10538
  return { $loc, token: "=" };
10446
10539
  });
10447
10540
  function ConstAssignment(state) {
@@ -10466,7 +10559,7 @@ ${input.slice(result.pos)}
10466
10559
  return result;
10467
10560
  }
10468
10561
  }
10469
- var LetAssignment$0 = $TV($EXPECT($L89, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
10562
+ var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
10470
10563
  return { $loc, token: "=" };
10471
10564
  });
10472
10565
  function LetAssignment(state) {
@@ -11705,7 +11798,7 @@ ${input.slice(result.pos)}
11705
11798
  return result;
11706
11799
  }
11707
11800
  }
11708
- 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) {
11801
+ 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) {
11709
11802
  return { $loc, token: $1 };
11710
11803
  });
11711
11804
  function JSMultiLineComment(state) {
@@ -11804,7 +11897,7 @@ ${input.slice(result.pos)}
11804
11897
  return result;
11805
11898
  }
11806
11899
  }
11807
- 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) {
11900
+ 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) {
11808
11901
  return { $loc, token: $1 };
11809
11902
  });
11810
11903
  function InlineComment(state) {
@@ -11903,7 +11996,7 @@ ${input.slice(result.pos)}
11903
11996
  var NonNewlineWhitespace$0 = $TR($EXPECT($R45, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
11904
11997
  return { $loc, token: $0 };
11905
11998
  });
11906
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L92, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
11999
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
11907
12000
  return "";
11908
12001
  });
11909
12002
  function NonNewlineWhitespace(state) {
@@ -12055,7 +12148,7 @@ ${input.slice(result.pos)}
12055
12148
  }
12056
12149
  }
12057
12150
  var StatementDelimiter$0 = SemicolonDelimiter;
12058
- 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);
12151
+ 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);
12059
12152
  var StatementDelimiter$2 = $Y(EOS);
12060
12153
  function StatementDelimiter(state) {
12061
12154
  let eventData;
@@ -12130,7 +12223,7 @@ ${input.slice(result.pos)}
12130
12223
  return result;
12131
12224
  }
12132
12225
  }
12133
- var Loc$0 = $TV($EXPECT($L17, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12226
+ var Loc$0 = $TV($EXPECT($L18, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
12134
12227
  return { $loc, token: "" };
12135
12228
  });
12136
12229
  function Loc(state) {
@@ -12155,7 +12248,7 @@ ${input.slice(result.pos)}
12155
12248
  return result;
12156
12249
  }
12157
12250
  }
12158
- var Abstract$0 = $TV($TEXT($S($EXPECT($L95, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L7, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
12251
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L94, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L8, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
12159
12252
  return { $loc, token: $1, ts: true };
12160
12253
  });
12161
12254
  function Abstract(state) {
@@ -12205,7 +12298,7 @@ ${input.slice(result.pos)}
12205
12298
  return result;
12206
12299
  }
12207
12300
  }
12208
- var As$0 = $TS($S($EXPECT($L96, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12301
+ var As$0 = $TS($S($EXPECT($L95, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12209
12302
  return { $loc, token: $1 };
12210
12303
  });
12211
12304
  function As(state) {
@@ -12230,7 +12323,7 @@ ${input.slice(result.pos)}
12230
12323
  return result;
12231
12324
  }
12232
12325
  }
12233
- var At$0 = $TV($EXPECT($L97, fail, 'At "@"'), function($skip, $loc, $0, $1) {
12326
+ var At$0 = $TV($EXPECT($L96, fail, 'At "@"'), function($skip, $loc, $0, $1) {
12234
12327
  return { $loc, token: $1 };
12235
12328
  });
12236
12329
  function At(state) {
@@ -12255,7 +12348,7 @@ ${input.slice(result.pos)}
12255
12348
  return result;
12256
12349
  }
12257
12350
  }
12258
- var AtAt$0 = $TV($EXPECT($L98, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
12351
+ var AtAt$0 = $TV($EXPECT($L97, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
12259
12352
  return { $loc, token: "@" };
12260
12353
  });
12261
12354
  function AtAt(state) {
@@ -12280,7 +12373,7 @@ ${input.slice(result.pos)}
12280
12373
  return result;
12281
12374
  }
12282
12375
  }
12283
- var Async$0 = $TS($S($EXPECT($L99, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12376
+ var Async$0 = $TS($S($EXPECT($L98, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12284
12377
  return { $loc, token: $1, type: "Async" };
12285
12378
  });
12286
12379
  function Async(state) {
@@ -12305,7 +12398,7 @@ ${input.slice(result.pos)}
12305
12398
  return result;
12306
12399
  }
12307
12400
  }
12308
- var Await$0 = $TS($S($EXPECT($L100, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12401
+ var Await$0 = $TS($S($EXPECT($L99, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12309
12402
  return { $loc, token: $1 };
12310
12403
  });
12311
12404
  function Await(state) {
@@ -12330,7 +12423,7 @@ ${input.slice(result.pos)}
12330
12423
  return result;
12331
12424
  }
12332
12425
  }
12333
- var Backtick$0 = $TV($EXPECT($L94, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
12426
+ var Backtick$0 = $TV($EXPECT($L93, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
12334
12427
  return { $loc, token: $1 };
12335
12428
  });
12336
12429
  function Backtick(state) {
@@ -12355,7 +12448,7 @@ ${input.slice(result.pos)}
12355
12448
  return result;
12356
12449
  }
12357
12450
  }
12358
- var By$0 = $TS($S($EXPECT($L101, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12451
+ var By$0 = $TS($S($EXPECT($L100, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12359
12452
  return { $loc, token: $1 };
12360
12453
  });
12361
12454
  function By(state) {
@@ -12380,7 +12473,7 @@ ${input.slice(result.pos)}
12380
12473
  return result;
12381
12474
  }
12382
12475
  }
12383
- var Case$0 = $TS($S($EXPECT($L102, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12476
+ var Case$0 = $TS($S($EXPECT($L101, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12384
12477
  return { $loc, token: $1 };
12385
12478
  });
12386
12479
  function Case(state) {
@@ -12405,7 +12498,7 @@ ${input.slice(result.pos)}
12405
12498
  return result;
12406
12499
  }
12407
12500
  }
12408
- var Catch$0 = $TS($S($EXPECT($L103, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12501
+ var Catch$0 = $TS($S($EXPECT($L102, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12409
12502
  return { $loc, token: $1 };
12410
12503
  });
12411
12504
  function Catch(state) {
@@ -12430,7 +12523,7 @@ ${input.slice(result.pos)}
12430
12523
  return result;
12431
12524
  }
12432
12525
  }
12433
- var Class$0 = $TS($S($EXPECT($L104, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12526
+ var Class$0 = $TS($S($EXPECT($L103, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12434
12527
  return { $loc, token: $1 };
12435
12528
  });
12436
12529
  function Class(state) {
@@ -12455,7 +12548,7 @@ ${input.slice(result.pos)}
12455
12548
  return result;
12456
12549
  }
12457
12550
  }
12458
- var CloseBrace$0 = $TV($EXPECT($L20, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
12551
+ var CloseBrace$0 = $TV($EXPECT($L21, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
12459
12552
  return { $loc, token: $1 };
12460
12553
  });
12461
12554
  function CloseBrace(state) {
@@ -12505,7 +12598,7 @@ ${input.slice(result.pos)}
12505
12598
  return result;
12506
12599
  }
12507
12600
  }
12508
- var CloseParen$0 = $TV($EXPECT($L18, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12601
+ var CloseParen$0 = $TV($EXPECT($L19, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
12509
12602
  return { $loc, token: $1 };
12510
12603
  });
12511
12604
  function CloseParen(state) {
@@ -12530,7 +12623,7 @@ ${input.slice(result.pos)}
12530
12623
  return result;
12531
12624
  }
12532
12625
  }
12533
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L105, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
12626
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L104, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
12534
12627
  return { $loc, token: "${" };
12535
12628
  });
12536
12629
  function CoffeeSubstitutionStart(state) {
@@ -12580,7 +12673,7 @@ ${input.slice(result.pos)}
12580
12673
  return result;
12581
12674
  }
12582
12675
  }
12583
- var Comma$0 = $TV($EXPECT($L106, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12676
+ var Comma$0 = $TV($EXPECT($L105, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
12584
12677
  return { $loc, token: $1 };
12585
12678
  });
12586
12679
  function Comma(state) {
@@ -12605,7 +12698,7 @@ ${input.slice(result.pos)}
12605
12698
  return result;
12606
12699
  }
12607
12700
  }
12608
- var ConstructorShorthand$0 = $TV($EXPECT($L97, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
12701
+ var ConstructorShorthand$0 = $TV($EXPECT($L96, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
12609
12702
  return { $loc, token: "constructor" };
12610
12703
  });
12611
12704
  function ConstructorShorthand(state) {
@@ -12630,7 +12723,7 @@ ${input.slice(result.pos)}
12630
12723
  return result;
12631
12724
  }
12632
12725
  }
12633
- var Declare$0 = $TS($S($EXPECT($L107, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12726
+ var Declare$0 = $TS($S($EXPECT($L106, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12634
12727
  return { $loc, token: $1 };
12635
12728
  });
12636
12729
  function Declare(state) {
@@ -12655,7 +12748,7 @@ ${input.slice(result.pos)}
12655
12748
  return result;
12656
12749
  }
12657
12750
  }
12658
- var Default$0 = $TS($S($EXPECT($L108, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12751
+ var Default$0 = $TS($S($EXPECT($L107, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12659
12752
  return { $loc, token: $1 };
12660
12753
  });
12661
12754
  function Default(state) {
@@ -12680,7 +12773,7 @@ ${input.slice(result.pos)}
12680
12773
  return result;
12681
12774
  }
12682
12775
  }
12683
- var Delete$0 = $TS($S($EXPECT($L109, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12776
+ var Delete$0 = $TS($S($EXPECT($L108, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12684
12777
  return { $loc, token: $1 };
12685
12778
  });
12686
12779
  function Delete(state) {
@@ -12705,7 +12798,7 @@ ${input.slice(result.pos)}
12705
12798
  return result;
12706
12799
  }
12707
12800
  }
12708
- var Do$0 = $TS($S($EXPECT($L110, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12801
+ var Do$0 = $TS($S($EXPECT($L109, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12709
12802
  return { $loc, token: $1 };
12710
12803
  });
12711
12804
  function Do(state) {
@@ -12730,7 +12823,7 @@ ${input.slice(result.pos)}
12730
12823
  return result;
12731
12824
  }
12732
12825
  }
12733
- var Dot$0 = $TV($EXPECT($L3, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
12826
+ var Dot$0 = $TV($EXPECT($L4, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
12734
12827
  return { $loc, token: $1 };
12735
12828
  });
12736
12829
  function Dot(state) {
@@ -12755,7 +12848,7 @@ ${input.slice(result.pos)}
12755
12848
  return result;
12756
12849
  }
12757
12850
  }
12758
- var DotDot$0 = $TV($EXPECT($L111, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
12851
+ var DotDot$0 = $TV($EXPECT($L110, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
12759
12852
  return { $loc, token: $1 };
12760
12853
  });
12761
12854
  function DotDot(state) {
@@ -12780,7 +12873,7 @@ ${input.slice(result.pos)}
12780
12873
  return result;
12781
12874
  }
12782
12875
  }
12783
- var DotDotDot$0 = $TV($EXPECT($L112, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
12876
+ var DotDotDot$0 = $TV($EXPECT($L111, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
12784
12877
  return { $loc, token: $1 };
12785
12878
  });
12786
12879
  function DotDotDot(state) {
@@ -12805,7 +12898,7 @@ ${input.slice(result.pos)}
12805
12898
  return result;
12806
12899
  }
12807
12900
  }
12808
- var DoubleColon$0 = $TV($EXPECT($L113, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
12901
+ var DoubleColon$0 = $TV($EXPECT($L112, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
12809
12902
  return { $loc, token: $1 };
12810
12903
  });
12811
12904
  function DoubleColon(state) {
@@ -12830,7 +12923,7 @@ ${input.slice(result.pos)}
12830
12923
  return result;
12831
12924
  }
12832
12925
  }
12833
- var DoubleQuote$0 = $TV($EXPECT($L114, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
12926
+ var DoubleQuote$0 = $TV($EXPECT($L113, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
12834
12927
  return { $loc, token: $1 };
12835
12928
  });
12836
12929
  function DoubleQuote(state) {
@@ -12855,7 +12948,7 @@ ${input.slice(result.pos)}
12855
12948
  return result;
12856
12949
  }
12857
12950
  }
12858
- var Else$0 = $TS($S($EXPECT($L115, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12951
+ var Else$0 = $TS($S($EXPECT($L114, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12859
12952
  return { $loc, token: $1 };
12860
12953
  });
12861
12954
  function Else(state) {
@@ -12880,7 +12973,7 @@ ${input.slice(result.pos)}
12880
12973
  return result;
12881
12974
  }
12882
12975
  }
12883
- var Equals$0 = $TV($EXPECT($L28, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
12976
+ var Equals$0 = $TV($EXPECT($L1, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
12884
12977
  return { $loc, token: $1 };
12885
12978
  });
12886
12979
  function Equals(state) {
@@ -12905,7 +12998,7 @@ ${input.slice(result.pos)}
12905
12998
  return result;
12906
12999
  }
12907
13000
  }
12908
- var Export$0 = $TS($S($EXPECT($L116, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13001
+ var Export$0 = $TS($S($EXPECT($L115, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12909
13002
  return { $loc, token: $1 };
12910
13003
  });
12911
13004
  function Export(state) {
@@ -12930,7 +13023,7 @@ ${input.slice(result.pos)}
12930
13023
  return result;
12931
13024
  }
12932
13025
  }
12933
- var Extends$0 = $TS($S($EXPECT($L117, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13026
+ var Extends$0 = $TS($S($EXPECT($L116, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12934
13027
  return { $loc, token: $1 };
12935
13028
  });
12936
13029
  function Extends(state) {
@@ -12955,6 +13048,31 @@ ${input.slice(result.pos)}
12955
13048
  return result;
12956
13049
  }
12957
13050
  }
13051
+ var Finally$0 = $TS($S($EXPECT($L117, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13052
+ return { $loc, token: $1 };
13053
+ });
13054
+ function Finally(state) {
13055
+ let eventData;
13056
+ if (state.events) {
13057
+ const result = state.events.enter?.("Finally", state);
13058
+ if (result) {
13059
+ if (result.cache)
13060
+ return result.cache;
13061
+ eventData = result.data;
13062
+ }
13063
+ }
13064
+ if (state.tokenize) {
13065
+ const result = $TOKEN("Finally", state, Finally$0(state));
13066
+ if (state.events)
13067
+ state.events.exit?.("Finally", state, result, eventData);
13068
+ return result;
13069
+ } else {
13070
+ const result = Finally$0(state);
13071
+ if (state.events)
13072
+ state.events.exit?.("Finally", state, result, eventData);
13073
+ return result;
13074
+ }
13075
+ }
12958
13076
  var For$0 = $TS($S($EXPECT($L118, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12959
13077
  return { $loc, token: $1 };
12960
13078
  });
@@ -13055,7 +13173,7 @@ ${input.slice(result.pos)}
13055
13173
  return result;
13056
13174
  }
13057
13175
  }
13058
- var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L7, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13176
+ var If$0 = $TV($TEXT($S($EXPECT($L123, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13059
13177
  return { $loc, token: $1 };
13060
13178
  });
13061
13179
  function If(state) {
@@ -13080,7 +13198,7 @@ ${input.slice(result.pos)}
13080
13198
  return result;
13081
13199
  }
13082
13200
  }
13083
- var Import$0 = $TS($S($EXPECT($L12, fail, 'Import "import"'), $Y($EXPECT($R47, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
13201
+ var Import$0 = $TS($S($EXPECT($L13, fail, 'Import "import"'), $Y($EXPECT($R47, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
13084
13202
  return { $loc, token: $1 };
13085
13203
  });
13086
13204
  function Import(state) {
@@ -13205,7 +13323,7 @@ ${input.slice(result.pos)}
13205
13323
  return result;
13206
13324
  }
13207
13325
  }
13208
- 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) {
13326
+ 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) {
13209
13327
  return { $loc, token: "!" };
13210
13328
  });
13211
13329
  function Not(state) {
@@ -13305,7 +13423,7 @@ ${input.slice(result.pos)}
13305
13423
  return result;
13306
13424
  }
13307
13425
  }
13308
- var OpenBracket$0 = $TV($EXPECT($L93, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
13426
+ var OpenBracket$0 = $TV($EXPECT($L92, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
13309
13427
  return { $loc, token: $1 };
13310
13428
  });
13311
13429
  function OpenBracket(state) {
@@ -13330,7 +13448,7 @@ ${input.slice(result.pos)}
13330
13448
  return result;
13331
13449
  }
13332
13450
  }
13333
- var OpenParen$0 = $TV($EXPECT($L1, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
13451
+ var OpenParen$0 = $TV($EXPECT($L2, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
13334
13452
  return { $loc, token: $1 };
13335
13453
  });
13336
13454
  function OpenParen(state) {
@@ -13480,7 +13598,7 @@ ${input.slice(result.pos)}
13480
13598
  return result;
13481
13599
  }
13482
13600
  }
13483
- var QuestionMark$0 = $TV($EXPECT($L2, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
13601
+ var QuestionMark$0 = $TV($EXPECT($L3, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
13484
13602
  return { $loc, token: $1 };
13485
13603
  });
13486
13604
  function QuestionMark(state) {
@@ -13658,7 +13776,7 @@ ${input.slice(result.pos)}
13658
13776
  var Static$0 = $TS($S($EXPECT($L139, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13659
13777
  return { $loc, token: $1 };
13660
13778
  });
13661
- 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) {
13779
+ 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) {
13662
13780
  return { $loc, token: "static " };
13663
13781
  });
13664
13782
  function Static(state) {
@@ -14359,7 +14477,7 @@ ${input.slice(result.pos)}
14359
14477
  return $skip;
14360
14478
  return $0;
14361
14479
  });
14362
- var JSXOptionalClosingElement$1 = $EXPECT($L17, fail, 'JSXOptionalClosingElement ""');
14480
+ var JSXOptionalClosingElement$1 = $EXPECT($L18, fail, 'JSXOptionalClosingElement ""');
14363
14481
  function JSXOptionalClosingElement(state) {
14364
14482
  let eventData;
14365
14483
  if (state.events) {
@@ -14483,7 +14601,7 @@ ${input.slice(result.pos)}
14483
14601
  return $skip;
14484
14602
  return $0;
14485
14603
  });
14486
- var JSXOptionalClosingFragment$1 = $EXPECT($L17, fail, 'JSXOptionalClosingFragment ""');
14604
+ var JSXOptionalClosingFragment$1 = $EXPECT($L18, fail, 'JSXOptionalClosingFragment ""');
14487
14605
  function JSXOptionalClosingFragment(state) {
14488
14606
  let eventData;
14489
14607
  if (state.events) {
@@ -14731,7 +14849,7 @@ ${input.slice(result.pos)}
14731
14849
  }
14732
14850
  });
14733
14851
  var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace, $Y(JSXAttributeSpace));
14734
- var JSXAttribute$3 = $TS($S($EXPECT($L10, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
14852
+ var JSXAttribute$3 = $TS($S($EXPECT($L11, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
14735
14853
  return [" ", "id=", $2];
14736
14854
  });
14737
14855
  var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -14927,7 +15045,7 @@ ${input.slice(result.pos)}
14927
15045
  return result;
14928
15046
  }
14929
15047
  }
14930
- var InlineJSXBinaryOpRHS$0 = $TS($S($N($EXPECT($R51, fail, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, $C(ParenthesizedAssignment, InlineJSXUnaryExpression)), function($skip, $loc, $0, $1, $2, $3) {
15048
+ var InlineJSXBinaryOpRHS$0 = $TS($S($N($EXPECT($R51, fail, "InlineJSXBinaryOpRHS /[<>]/")), BinaryOp, InlineJSXUnaryExpression), function($skip, $loc, $0, $1, $2, $3) {
14931
15049
  var op = $2;
14932
15050
  var rhs = $3;
14933
15051
  return [[], op, [], rhs];
@@ -15058,8 +15176,8 @@ ${input.slice(result.pos)}
15058
15176
  return result;
15059
15177
  }
15060
15178
  }
15061
- var InlineJSXCallExpression$0 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
15062
- var InlineJSXCallExpression$1 = $S($EXPECT($L12, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
15179
+ var InlineJSXCallExpression$0 = $S($EXPECT($L12, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
15180
+ var InlineJSXCallExpression$1 = $S($EXPECT($L13, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
15063
15181
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
15064
15182
  if ($2.length)
15065
15183
  return $0;
@@ -15273,7 +15391,7 @@ ${input.slice(result.pos)}
15273
15391
  }
15274
15392
  return $skip;
15275
15393
  });
15276
- var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L20, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
15394
+ var JSXNestedChildren$1 = $TV($Y($C(JSXEOS, $EXPECT($L21, fail, 'JSXNestedChildren "}"'), JSXClosingElement, JSXClosingFragment)), function($skip, $loc, $0, $1) {
15277
15395
  return { children: [], jsxChildren: [] };
15278
15396
  });
15279
15397
  function JSXNestedChildren(state) {
@@ -16304,8 +16422,8 @@ ${input.slice(result.pos)}
16304
16422
  return result;
16305
16423
  }
16306
16424
  }
16307
- var ImportType$0 = $S($EXPECT($L12, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
16308
- var ImportType$1 = $S($EXPECT($L12, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
16425
+ var ImportType$0 = $S($EXPECT($L13, fail, 'ImportType "import"'), OpenParen, __, StringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
16426
+ var ImportType$1 = $S($EXPECT($L13, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, StringLiteral, InsertCloseParen);
16309
16427
  function ImportType(state) {
16310
16428
  let eventData;
16311
16429
  if (state.events) {
@@ -16426,7 +16544,7 @@ ${input.slice(result.pos)}
16426
16544
  return result;
16427
16545
  }
16428
16546
  }
16429
- 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) {
16547
+ 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) {
16430
16548
  if ($2)
16431
16549
  return $0;
16432
16550
  return $1;
@@ -16533,7 +16651,7 @@ ${input.slice(result.pos)}
16533
16651
  var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
16534
16652
  return value[1];
16535
16653
  });
16536
- var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L18, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L20, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16654
+ var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L19, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L30, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L21, fail, 'InlineInterfacePropertyDelimiter "}"'))));
16537
16655
  var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
16538
16656
  function InlineInterfacePropertyDelimiter(state) {
16539
16657
  let eventData;
@@ -16585,7 +16703,7 @@ ${input.slice(result.pos)}
16585
16703
  return result;
16586
16704
  }
16587
16705
  }
16588
- var FunctionType$0 = $TS($S(Parameters, __, $EXPECT($L6, fail, 'FunctionType "=>"'), $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4) {
16706
+ var FunctionType$0 = $TS($S(Parameters, __, TypeArrowFunction, $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4) {
16589
16707
  var type = $4;
16590
16708
  if (type) {
16591
16709
  return $0;
@@ -16614,6 +16732,34 @@ ${input.slice(result.pos)}
16614
16732
  return result;
16615
16733
  }
16616
16734
  }
16735
+ var TypeArrowFunction$0 = $TV($EXPECT($L7, fail, 'TypeArrowFunction "=>"'), function($skip, $loc, $0, $1) {
16736
+ return { $loc, token: "=>" };
16737
+ });
16738
+ var TypeArrowFunction$1 = $TV($EXPECT($L20, fail, 'TypeArrowFunction "->"'), function($skip, $loc, $0, $1) {
16739
+ return { $loc, token: "=>" };
16740
+ });
16741
+ function TypeArrowFunction(state) {
16742
+ let eventData;
16743
+ if (state.events) {
16744
+ const result = state.events.enter?.("TypeArrowFunction", state);
16745
+ if (result) {
16746
+ if (result.cache)
16747
+ return result.cache;
16748
+ eventData = result.data;
16749
+ }
16750
+ }
16751
+ if (state.tokenize) {
16752
+ const result = $TOKEN("TypeArrowFunction", state, TypeArrowFunction$0(state) || TypeArrowFunction$1(state));
16753
+ if (state.events)
16754
+ state.events.exit?.("TypeArrowFunction", state, result, eventData);
16755
+ return result;
16756
+ } else {
16757
+ const result = TypeArrowFunction$0(state) || TypeArrowFunction$1(state);
16758
+ if (state.events)
16759
+ state.events.exit?.("TypeArrowFunction", state, result, eventData);
16760
+ return result;
16761
+ }
16762
+ }
16617
16763
  var TypeArguments$0 = $TS($S($EXPECT($L128, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
16618
16764
  return { ts: true, children: $0 };
16619
16765
  });
@@ -16739,7 +16885,7 @@ ${input.slice(result.pos)}
16739
16885
  return result;
16740
16886
  }
16741
16887
  }
16742
- var TypeConstraint$0 = $S(__, $EXPECT($L117, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
16888
+ var TypeConstraint$0 = $S(__, $EXPECT($L116, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
16743
16889
  function TypeConstraint(state) {
16744
16890
  let eventData;
16745
16891
  if (state.events) {
@@ -16762,7 +16908,7 @@ ${input.slice(result.pos)}
16762
16908
  return result;
16763
16909
  }
16764
16910
  }
16765
- var TypeInitializer$0 = $S(__, $EXPECT($L28, fail, 'TypeInitializer "="'), Type);
16911
+ var TypeInitializer$0 = $S(__, $EXPECT($L1, fail, 'TypeInitializer "="'), Type);
16766
16912
  function TypeInitializer(state) {
16767
16913
  let eventData;
16768
16914
  if (state.events) {
@@ -17051,7 +17197,7 @@ ${input.slice(result.pos)}
17051
17197
  return result;
17052
17198
  }
17053
17199
  }
17054
- var Debugger$0 = $TV($EXPECT($L17, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17200
+ var Debugger$0 = $TV($EXPECT($L18, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
17055
17201
  debugger;
17056
17202
  });
17057
17203
  function Debugger(state) {
@@ -17076,7 +17222,7 @@ ${input.slice(result.pos)}
17076
17222
  return result;
17077
17223
  }
17078
17224
  }
17079
- var InsertSemicolon$0 = $TV($EXPECT($L17, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17225
+ var InsertSemicolon$0 = $TV($EXPECT($L18, fail, 'InsertSemicolon ""'), function($skip, $loc, $0, $1) {
17080
17226
  return { $loc, token: ";" };
17081
17227
  });
17082
17228
  function InsertSemicolon(state) {
@@ -17101,7 +17247,7 @@ ${input.slice(result.pos)}
17101
17247
  return result;
17102
17248
  }
17103
17249
  }
17104
- var InsertOpenParen$0 = $TV($EXPECT($L17, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17250
+ var InsertOpenParen$0 = $TV($EXPECT($L18, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
17105
17251
  return { $loc, token: "(" };
17106
17252
  });
17107
17253
  function InsertOpenParen(state) {
@@ -17126,7 +17272,7 @@ ${input.slice(result.pos)}
17126
17272
  return result;
17127
17273
  }
17128
17274
  }
17129
- var InsertCloseParen$0 = $TV($EXPECT($L17, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17275
+ var InsertCloseParen$0 = $TV($EXPECT($L18, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
17130
17276
  return { $loc, token: ")" };
17131
17277
  });
17132
17278
  function InsertCloseParen(state) {
@@ -17151,7 +17297,7 @@ ${input.slice(result.pos)}
17151
17297
  return result;
17152
17298
  }
17153
17299
  }
17154
- var InsertOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17300
+ var InsertOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
17155
17301
  return [{ $loc, token: " " }, { $loc, token: "{" }];
17156
17302
  });
17157
17303
  function InsertOpenBrace(state) {
@@ -17176,7 +17322,7 @@ ${input.slice(result.pos)}
17176
17322
  return result;
17177
17323
  }
17178
17324
  }
17179
- var InsertInlineOpenBrace$0 = $TV($EXPECT($L17, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17325
+ var InsertInlineOpenBrace$0 = $TV($EXPECT($L18, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
17180
17326
  return { $loc, token: "{" };
17181
17327
  });
17182
17328
  function InsertInlineOpenBrace(state) {
@@ -17201,7 +17347,7 @@ ${input.slice(result.pos)}
17201
17347
  return result;
17202
17348
  }
17203
17349
  }
17204
- var InsertCloseBrace$0 = $TV($EXPECT($L17, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17350
+ var InsertCloseBrace$0 = $TV($EXPECT($L18, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
17205
17351
  return { $loc, token: "}" };
17206
17352
  });
17207
17353
  function InsertCloseBrace(state) {
@@ -17226,7 +17372,7 @@ ${input.slice(result.pos)}
17226
17372
  return result;
17227
17373
  }
17228
17374
  }
17229
- var InsertOpenBracket$0 = $TV($EXPECT($L17, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17375
+ var InsertOpenBracket$0 = $TV($EXPECT($L18, fail, 'InsertOpenBracket ""'), function($skip, $loc, $0, $1) {
17230
17376
  return { $loc, token: "[" };
17231
17377
  });
17232
17378
  function InsertOpenBracket(state) {
@@ -17251,7 +17397,7 @@ ${input.slice(result.pos)}
17251
17397
  return result;
17252
17398
  }
17253
17399
  }
17254
- var InsertCloseBracket$0 = $TV($EXPECT($L17, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17400
+ var InsertCloseBracket$0 = $TV($EXPECT($L18, fail, 'InsertCloseBracket ""'), function($skip, $loc, $0, $1) {
17255
17401
  return { $loc, token: "]" };
17256
17402
  });
17257
17403
  function InsertCloseBracket(state) {
@@ -17276,7 +17422,7 @@ ${input.slice(result.pos)}
17276
17422
  return result;
17277
17423
  }
17278
17424
  }
17279
- var InsertComma$0 = $TV($EXPECT($L17, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17425
+ var InsertComma$0 = $TV($EXPECT($L18, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
17280
17426
  return { $loc, token: "," };
17281
17427
  });
17282
17428
  function InsertComma(state) {
@@ -17301,7 +17447,7 @@ ${input.slice(result.pos)}
17301
17447
  return result;
17302
17448
  }
17303
17449
  }
17304
- var InsertConst$0 = $TV($EXPECT($L17, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17450
+ var InsertConst$0 = $TV($EXPECT($L18, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
17305
17451
  return { $loc, token: "const " };
17306
17452
  });
17307
17453
  function InsertConst(state) {
@@ -17326,7 +17472,7 @@ ${input.slice(result.pos)}
17326
17472
  return result;
17327
17473
  }
17328
17474
  }
17329
- var InsertLet$0 = $TV($EXPECT($L17, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17475
+ var InsertLet$0 = $TV($EXPECT($L18, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
17330
17476
  return { $loc, token: "let " };
17331
17477
  });
17332
17478
  function InsertLet(state) {
@@ -17351,7 +17497,7 @@ ${input.slice(result.pos)}
17351
17497
  return result;
17352
17498
  }
17353
17499
  }
17354
- var InsertReadonly$0 = $TV($EXPECT($L17, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17500
+ var InsertReadonly$0 = $TV($EXPECT($L18, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
17355
17501
  return { ts: true, children: [{ $loc, token: "readonly " }] };
17356
17502
  });
17357
17503
  function InsertReadonly(state) {
@@ -17376,7 +17522,7 @@ ${input.slice(result.pos)}
17376
17522
  return result;
17377
17523
  }
17378
17524
  }
17379
- var InsertNewline$0 = $TV($EXPECT($L17, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17525
+ var InsertNewline$0 = $TV($EXPECT($L18, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
17380
17526
  return "\n";
17381
17527
  });
17382
17528
  function InsertNewline(state) {
@@ -17401,7 +17547,7 @@ ${input.slice(result.pos)}
17401
17547
  return result;
17402
17548
  }
17403
17549
  }
17404
- var InsertIndent$0 = $TV($EXPECT($L17, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17550
+ var InsertIndent$0 = $TV($EXPECT($L18, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
17405
17551
  return module2.currentIndent.token;
17406
17552
  });
17407
17553
  function InsertIndent(state) {
@@ -17426,7 +17572,7 @@ ${input.slice(result.pos)}
17426
17572
  return result;
17427
17573
  }
17428
17574
  }
17429
- var InsertSpace$0 = $TV($EXPECT($L17, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17575
+ var InsertSpace$0 = $TV($EXPECT($L18, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
17430
17576
  return { $loc, token: " " };
17431
17577
  });
17432
17578
  function InsertSpace(state) {
@@ -17451,7 +17597,7 @@ ${input.slice(result.pos)}
17451
17597
  return result;
17452
17598
  }
17453
17599
  }
17454
- var InsertDot$0 = $TV($EXPECT($L17, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17600
+ var InsertDot$0 = $TV($EXPECT($L18, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
17455
17601
  return { $loc, token: "." };
17456
17602
  });
17457
17603
  function InsertDot(state) {
@@ -17476,7 +17622,7 @@ ${input.slice(result.pos)}
17476
17622
  return result;
17477
17623
  }
17478
17624
  }
17479
- var InsertBreak$0 = $TV($EXPECT($L17, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17625
+ var InsertBreak$0 = $TV($EXPECT($L18, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
17480
17626
  return { $loc, token: ";break;" };
17481
17627
  });
17482
17628
  function InsertBreak(state) {
@@ -17501,7 +17647,7 @@ ${input.slice(result.pos)}
17501
17647
  return result;
17502
17648
  }
17503
17649
  }
17504
- var InsertVar$0 = $TV($EXPECT($L17, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17650
+ var InsertVar$0 = $TV($EXPECT($L18, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
17505
17651
  return { $loc, token: "var " };
17506
17652
  });
17507
17653
  function InsertVar(state) {
@@ -17526,7 +17672,7 @@ ${input.slice(result.pos)}
17526
17672
  return result;
17527
17673
  }
17528
17674
  }
17529
- var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17675
+ var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
17530
17676
  if (module2.config.coffeeBinaryExistential)
17531
17677
  return;
17532
17678
  return $skip;
@@ -17553,7 +17699,7 @@ ${input.slice(result.pos)}
17553
17699
  return result;
17554
17700
  }
17555
17701
  }
17556
- var CoffeeBooleansEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17702
+ var CoffeeBooleansEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
17557
17703
  if (module2.config.coffeeBooleans)
17558
17704
  return;
17559
17705
  return $skip;
@@ -17580,7 +17726,7 @@ ${input.slice(result.pos)}
17580
17726
  return result;
17581
17727
  }
17582
17728
  }
17583
- var CoffeeClassesEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17729
+ var CoffeeClassesEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
17584
17730
  if (module2.config.coffeeClasses)
17585
17731
  return;
17586
17732
  return $skip;
@@ -17607,7 +17753,7 @@ ${input.slice(result.pos)}
17607
17753
  return result;
17608
17754
  }
17609
17755
  }
17610
- var CoffeeCommentEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17756
+ var CoffeeCommentEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
17611
17757
  if (module2.config.coffeeComment)
17612
17758
  return;
17613
17759
  return $skip;
@@ -17634,7 +17780,7 @@ ${input.slice(result.pos)}
17634
17780
  return result;
17635
17781
  }
17636
17782
  }
17637
- var CoffeeDoEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17783
+ var CoffeeDoEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
17638
17784
  if (module2.config.coffeeDo)
17639
17785
  return;
17640
17786
  return $skip;
@@ -17661,7 +17807,7 @@ ${input.slice(result.pos)}
17661
17807
  return result;
17662
17808
  }
17663
17809
  }
17664
- var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17810
+ var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
17665
17811
  if (module2.config.coffeeForLoops)
17666
17812
  return;
17667
17813
  return $skip;
@@ -17688,7 +17834,7 @@ ${input.slice(result.pos)}
17688
17834
  return result;
17689
17835
  }
17690
17836
  }
17691
- var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
17837
+ var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
17692
17838
  if (module2.config.coffeeInterpolation)
17693
17839
  return;
17694
17840
  return $skip;
@@ -17715,7 +17861,7 @@ ${input.slice(result.pos)}
17715
17861
  return result;
17716
17862
  }
17717
17863
  }
17718
- var CoffeeIsntEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
17864
+ var CoffeeIsntEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
17719
17865
  if (module2.config.coffeeIsnt)
17720
17866
  return;
17721
17867
  return $skip;
@@ -17742,7 +17888,7 @@ ${input.slice(result.pos)}
17742
17888
  return result;
17743
17889
  }
17744
17890
  }
17745
- var CoffeeJSXEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
17891
+ var CoffeeJSXEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeJSXEnabled ""'), function($skip, $loc, $0, $1) {
17746
17892
  if (module2.config.coffeeJSX)
17747
17893
  return;
17748
17894
  return $skip;
@@ -17769,7 +17915,7 @@ ${input.slice(result.pos)}
17769
17915
  return result;
17770
17916
  }
17771
17917
  }
17772
- var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
17918
+ var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
17773
17919
  if (module2.config.coffeeLineContinuation)
17774
17920
  return;
17775
17921
  return $skip;
@@ -17796,7 +17942,7 @@ ${input.slice(result.pos)}
17796
17942
  return result;
17797
17943
  }
17798
17944
  }
17799
- var CoffeeNotEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
17945
+ var CoffeeNotEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
17800
17946
  if (module2.config.coffeeNot)
17801
17947
  return;
17802
17948
  return $skip;
@@ -17823,7 +17969,7 @@ ${input.slice(result.pos)}
17823
17969
  return result;
17824
17970
  }
17825
17971
  }
17826
- var CoffeeOfEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
17972
+ var CoffeeOfEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
17827
17973
  if (module2.config.coffeeOf)
17828
17974
  return;
17829
17975
  return $skip;
@@ -17850,7 +17996,7 @@ ${input.slice(result.pos)}
17850
17996
  return result;
17851
17997
  }
17852
17998
  }
17853
- var CoffeePrototypeEnabled$0 = $TV($EXPECT($L17, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
17999
+ var CoffeePrototypeEnabled$0 = $TV($EXPECT($L18, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
17854
18000
  if (module2.config.coffeePrototype)
17855
18001
  return;
17856
18002
  return $skip;
@@ -17877,7 +18023,7 @@ ${input.slice(result.pos)}
17877
18023
  return result;
17878
18024
  }
17879
18025
  }
17880
- var ObjectIsEnabled$0 = $TV($EXPECT($L17, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
18026
+ var ObjectIsEnabled$0 = $TV($EXPECT($L18, fail, 'ObjectIsEnabled ""'), function($skip, $loc, $0, $1) {
17881
18027
  if (module2.config.objectIs)
17882
18028
  return;
17883
18029
  return $skip;
@@ -17904,7 +18050,7 @@ ${input.slice(result.pos)}
17904
18050
  return result;
17905
18051
  }
17906
18052
  }
17907
- var Reset$0 = $TV($EXPECT($L17, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
18053
+ var Reset$0 = $TV($EXPECT($L18, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
17908
18054
  module2.indentLevels = [{
17909
18055
  level: 0,
17910
18056
  token: ""
@@ -17957,6 +18103,7 @@ ${input.slice(result.pos)}
17957
18103
  react: false,
17958
18104
  solid: false,
17959
18105
  client: false,
18106
+ rewriteTsImports: true,
17960
18107
  server: false,
17961
18108
  tab: void 0,
17962
18109
  verbose: false
@@ -18115,6 +18262,12 @@ ${input.slice(result.pos)}
18115
18262
  }
18116
18263
  }
18117
18264
  };
18265
+ Object.defineProperty(module2.config, "deno", {
18266
+ set(b) {
18267
+ module2.config.rewriteTsImports = !b;
18268
+ }
18269
+ });
18270
+ module2.config.deno = typeof Deno !== "undefined";
18118
18271
  Object.defineProperty(module2.config, "coffeeCompat", {
18119
18272
  set(b) {
18120
18273
  for (const option of [
@@ -18175,7 +18328,7 @@ ${input.slice(result.pos)}
18175
18328
  return result;
18176
18329
  }
18177
18330
  }
18178
- var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L17, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18331
+ var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L18, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
18179
18332
  var directives = $2;
18180
18333
  directives.forEach((directive) => {
18181
18334
  if (directive.type === "CivetPrologue") {
@@ -18910,6 +19063,15 @@ ${input.slice(result.pos)}
18910
19063
  function processAssignments(statements) {
18911
19064
  gatherRecursiveAll(statements, (n) => n.type === "AssignmentExpression" && n.names === null).forEach((exp) => {
18912
19065
  let { lhs: $12, exp: $22 } = exp, tail = [], i = 0, len = $12.length;
19066
+ if ($12.some((left) => left[left.length - 1].special)) {
19067
+ if ($12.length !== 1) {
19068
+ throw new Error("Only one assignment with id= is allowed");
19069
+ }
19070
+ const [, lhs, , op] = $12[0];
19071
+ const { call } = op;
19072
+ op[op.length - 1] = "=";
19073
+ $22 = [call, "(", lhs, ", ", $22, ")"];
19074
+ }
18913
19075
  let wrapped = false;
18914
19076
  while (i < len) {
18915
19077
  const lastAssignment = $12[i++];
@@ -19676,7 +19838,7 @@ ${input.slice(result.pos)}
19676
19838
  return result;
19677
19839
  }
19678
19840
  }
19679
- var PopIndent$0 = $TV($EXPECT($L17, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
19841
+ var PopIndent$0 = $TV($EXPECT($L18, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
19680
19842
  if (module2.config.verbose) {
19681
19843
  console.log("popping indent", module2.indentLevels[module2.indentLevels.length - 1], "->", module2.indentLevels[module2.indentLevels.length - 2]);
19682
19844
  }
@@ -20178,7 +20340,7 @@ var parse;
20178
20340
  var uncacheable;
20179
20341
  ({ parse } = import_parser.default);
20180
20342
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
20181
- 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"]);
20343
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
20182
20344
  var compile = function(src, options) {
20183
20345
  var ast, code, events, filename, ref, result, sm, srcMapJSON;
20184
20346
  if (!options) {