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