@danielx/civet 0.5.68 → 0.5.69

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
@@ -441,7 +441,7 @@ ${input.slice(result.pos)}
441
441
  ForbiddenImplicitCalls,
442
442
  ArgumentsWithTrailingMemberExpressions,
443
443
  TrailingMemberExpressions,
444
- NonSuppressedTrailingMemberExpressions,
444
+ AllowedTrailingMemberExpressions,
445
445
  CommaDelimiter,
446
446
  ArgumentList,
447
447
  NonPipelineArgumentList,
@@ -610,6 +610,7 @@ ${input.slice(result.pos)}
610
610
  PropertyDefinitionList,
611
611
  PropertyDefinition,
612
612
  NamedProperty,
613
+ ImplicitNamedProperty,
613
614
  SnugNamedProperty,
614
615
  PropertyName,
615
616
  ComputedPropertyName,
@@ -638,6 +639,9 @@ ${input.slice(result.pos)}
638
639
  Statement,
639
640
  EmptyStatement,
640
641
  BlockStatement,
642
+ LabelledStatement,
643
+ Label,
644
+ LabelledItem,
641
645
  IfStatement,
642
646
  ElseClause,
643
647
  IfClause,
@@ -683,11 +687,21 @@ ${input.slice(result.pos)}
683
687
  FinallyClause,
684
688
  CatchParameter,
685
689
  Condition,
686
- ExpressionWithIndentedApplicationSuppressed,
687
- SuppressIndentedApplication,
690
+ ExpressionWithIndentedApplicationForbidden,
691
+ ForbidIndentedApplication,
692
+ AllowIndentedApplication,
693
+ RestoreIndentedApplication,
688
694
  IndentedApplicationAllowed,
689
- SuppressTrailingMemberProperty,
695
+ ForbidTrailingMemberProperty,
696
+ AllowTrailingMemberProperty,
697
+ RestoreTrailingMemberProperty,
690
698
  TrailingMemberPropertyAllowed,
699
+ ForbidMultiLineImplicitObjectLiteral,
700
+ AllowMultiLineImplicitObjectLiteral,
701
+ RestoreMultiLineImplicitObjectLiteral,
702
+ MultiLineImplicitObjectLiteralAllowed,
703
+ AllowAll,
704
+ RestoreAll,
691
705
  ExpressionStatement,
692
706
  KeywordStatement,
693
707
  DebuggerExpression,
@@ -868,6 +882,7 @@ ${input.slice(result.pos)}
868
882
  JSXElement,
869
883
  JSXSelfClosingElement,
870
884
  PushJSXOpeningElement,
885
+ PopJSXStack,
871
886
  JSXOpeningElement,
872
887
  JSXOptionalClosingElement,
873
888
  JSXClosingElement,
@@ -1095,98 +1110,99 @@ ${input.slice(result.pos)}
1095
1110
  var $L82 = $L("&");
1096
1111
  var $L83 = $L("|");
1097
1112
  var $L84 = $L(";");
1098
- var $L85 = $L("own");
1099
- var $L86 = $L("break");
1100
- var $L87 = $L("continue");
1101
- var $L88 = $L("debugger");
1102
- var $L89 = $L("assert");
1103
- var $L90 = $L(":=");
1104
- var $L91 = $L(".=");
1105
- var $L92 = $L("/*");
1106
- var $L93 = $L("*/");
1107
- var $L94 = $L("\\");
1108
- var $L95 = $L("[");
1109
- var $L96 = $L("`");
1110
- var $L97 = $L("abstract");
1111
- var $L98 = $L("as");
1112
- var $L99 = $L("@");
1113
- var $L100 = $L("@@");
1114
- var $L101 = $L("async");
1115
- var $L102 = $L("await");
1116
- var $L103 = $L("by");
1117
- var $L104 = $L("case");
1118
- var $L105 = $L("catch");
1119
- var $L106 = $L("class");
1120
- var $L107 = $L("#{");
1121
- var $L108 = $L("declare");
1122
- var $L109 = $L("default");
1123
- var $L110 = $L("delete");
1124
- var $L111 = $L("do");
1125
- var $L112 = $L("..");
1126
- var $L113 = $L("...");
1127
- var $L114 = $L("::");
1128
- var $L115 = $L('"');
1129
- var $L116 = $L("else");
1130
- var $L117 = $L("export");
1131
- var $L118 = $L("extends");
1132
- var $L119 = $L("finally");
1133
- var $L120 = $L("for");
1134
- var $L121 = $L("from");
1135
- var $L122 = $L("function");
1136
- var $L123 = $L("get");
1137
- var $L124 = $L("set");
1138
- var $L125 = $L("if");
1139
- var $L126 = $L("let");
1140
- var $L127 = $L("const");
1141
- var $L128 = $L("loop");
1142
- var $L129 = $L("new");
1143
- var $L130 = $L("<");
1144
- var $L131 = $L("{");
1145
- var $L132 = $L("operator");
1146
- var $L133 = $L("public");
1147
- var $L134 = $L("private");
1148
- var $L135 = $L("protected");
1149
- var $L136 = $L("||>");
1150
- var $L137 = $L("|>=");
1151
- var $L138 = $L("|>");
1152
- var $L139 = $L("readonly");
1153
- var $L140 = $L("return");
1154
- var $L141 = $L("satisfies");
1155
- var $L142 = $L("'");
1156
- var $L143 = $L("static");
1157
- var $L144 = $L("${");
1158
- var $L145 = $L("switch");
1159
- var $L146 = $L("target");
1160
- var $L147 = $L("then");
1161
- var $L148 = $L("this");
1162
- var $L149 = $L("throw");
1163
- var $L150 = $L('"""');
1164
- var $L151 = $L("'''");
1165
- var $L152 = $L("///");
1166
- var $L153 = $L("```");
1167
- var $L154 = $L("try");
1168
- var $L155 = $L("typeof");
1169
- var $L156 = $L("unless");
1170
- var $L157 = $L("until");
1171
- var $L158 = $L("var");
1172
- var $L159 = $L("void");
1173
- var $L160 = $L("when");
1174
- var $L161 = $L("while");
1175
- var $L162 = $L("yield");
1176
- var $L163 = $L("/>");
1177
- var $L164 = $L("</");
1178
- var $L165 = $L("<>");
1179
- var $L166 = $L("</>");
1180
- var $L167 = $L("<!--");
1181
- var $L168 = $L("-->");
1182
- var $L169 = $L("type");
1183
- var $L170 = $L("interface");
1184
- var $L171 = $L("namespace");
1185
- var $L172 = $L("asserts");
1186
- var $L173 = $L("keyof");
1187
- var $L174 = $L("infer");
1188
- var $L175 = $L("[]");
1189
- var $L176 = $L("civet");
1113
+ var $L85 = $L("$:");
1114
+ var $L86 = $L("own");
1115
+ var $L87 = $L("break");
1116
+ var $L88 = $L("continue");
1117
+ var $L89 = $L("debugger");
1118
+ var $L90 = $L("assert");
1119
+ var $L91 = $L(":=");
1120
+ var $L92 = $L(".=");
1121
+ var $L93 = $L("/*");
1122
+ var $L94 = $L("*/");
1123
+ var $L95 = $L("\\");
1124
+ var $L96 = $L("[");
1125
+ var $L97 = $L("`");
1126
+ var $L98 = $L("abstract");
1127
+ var $L99 = $L("as");
1128
+ var $L100 = $L("@");
1129
+ var $L101 = $L("@@");
1130
+ var $L102 = $L("async");
1131
+ var $L103 = $L("await");
1132
+ var $L104 = $L("by");
1133
+ var $L105 = $L("case");
1134
+ var $L106 = $L("catch");
1135
+ var $L107 = $L("class");
1136
+ var $L108 = $L("#{");
1137
+ var $L109 = $L("declare");
1138
+ var $L110 = $L("default");
1139
+ var $L111 = $L("delete");
1140
+ var $L112 = $L("do");
1141
+ var $L113 = $L("..");
1142
+ var $L114 = $L("...");
1143
+ var $L115 = $L("::");
1144
+ var $L116 = $L('"');
1145
+ var $L117 = $L("else");
1146
+ var $L118 = $L("export");
1147
+ var $L119 = $L("extends");
1148
+ var $L120 = $L("finally");
1149
+ var $L121 = $L("for");
1150
+ var $L122 = $L("from");
1151
+ var $L123 = $L("function");
1152
+ var $L124 = $L("get");
1153
+ var $L125 = $L("set");
1154
+ var $L126 = $L("if");
1155
+ var $L127 = $L("let");
1156
+ var $L128 = $L("const");
1157
+ var $L129 = $L("loop");
1158
+ var $L130 = $L("new");
1159
+ var $L131 = $L("<");
1160
+ var $L132 = $L("{");
1161
+ var $L133 = $L("operator");
1162
+ var $L134 = $L("public");
1163
+ var $L135 = $L("private");
1164
+ var $L136 = $L("protected");
1165
+ var $L137 = $L("||>");
1166
+ var $L138 = $L("|>=");
1167
+ var $L139 = $L("|>");
1168
+ var $L140 = $L("readonly");
1169
+ var $L141 = $L("return");
1170
+ var $L142 = $L("satisfies");
1171
+ var $L143 = $L("'");
1172
+ var $L144 = $L("static");
1173
+ var $L145 = $L("${");
1174
+ var $L146 = $L("switch");
1175
+ var $L147 = $L("target");
1176
+ var $L148 = $L("then");
1177
+ var $L149 = $L("this");
1178
+ var $L150 = $L("throw");
1179
+ var $L151 = $L('"""');
1180
+ var $L152 = $L("'''");
1181
+ var $L153 = $L("///");
1182
+ var $L154 = $L("```");
1183
+ var $L155 = $L("try");
1184
+ var $L156 = $L("typeof");
1185
+ var $L157 = $L("unless");
1186
+ var $L158 = $L("until");
1187
+ var $L159 = $L("var");
1188
+ var $L160 = $L("void");
1189
+ var $L161 = $L("when");
1190
+ var $L162 = $L("while");
1191
+ var $L163 = $L("yield");
1192
+ var $L164 = $L("/>");
1193
+ var $L165 = $L("</");
1194
+ var $L166 = $L("<>");
1195
+ var $L167 = $L("</>");
1196
+ var $L168 = $L("<!--");
1197
+ var $L169 = $L("-->");
1198
+ var $L170 = $L("type");
1199
+ var $L171 = $L("interface");
1200
+ var $L172 = $L("namespace");
1201
+ var $L173 = $L("asserts");
1202
+ var $L174 = $L("keyof");
1203
+ var $L175 = $L("infer");
1204
+ var $L176 = $L("[]");
1205
+ var $L177 = $L("civet");
1190
1206
  var $R0 = $R(new RegExp("(as|for|while|until|of|satisfies|then|when|implements|xor|xnor)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1191
1207
  var $R1 = $R(new RegExp("[0-9]", "suy"));
1192
1208
  var $R2 = $R(new RegExp("[)}]", "suy"));
@@ -1196,7 +1212,7 @@ ${input.slice(result.pos)}
1196
1212
  var $R6 = $R(new RegExp("[!+-]", "suy"));
1197
1213
  var $R7 = $R(new RegExp("<(?!\\p{ID_Start}|[_$])", "suy"));
1198
1214
  var $R8 = $R(new RegExp("!\\^\\^?", "suy"));
1199
- var $R9 = $R(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
1215
+ var $R9 = $R(new RegExp("(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*&)", "suy"));
1200
1216
  var $R10 = $R(new RegExp("(?=[\\s\\)])", "suy"));
1201
1217
  var $R11 = $R(new RegExp('[^;"\\s]+', "suy"));
1202
1218
  var $R12 = $R(new RegExp("(?:0|[1-9](?:_[0-9]|[0-9])*)n", "suy"));
@@ -1241,16 +1257,17 @@ ${input.slice(result.pos)}
1241
1257
  var $R51 = $R(new RegExp("[\\s>]", "suy"));
1242
1258
  var $R52 = $R(new RegExp("(?:[\\w\\-:]+|\\([^()]*\\)|\\[[^\\[\\]]*\\])+", "suy"));
1243
1259
  var $R53 = $R(new RegExp("[<>]", "suy"));
1244
- var $R54 = $R(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
1245
- var $R55 = $R(new RegExp("[^{}<>\\r\\n]+", "suy"));
1246
- var $R56 = $R(new RegExp("[+-]?", "suy"));
1247
- var $R57 = $R(new RegExp("[+-]", "suy"));
1248
- var $R58 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1249
- var $R59 = $R(new RegExp("[\\t ]*", "suy"));
1250
- var $R60 = $R(new RegExp("[\\s]*", "suy"));
1251
- var $R61 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1252
- var $R62 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1253
- var $R63 = $R(new RegExp("[ \\t]*", "suy"));
1260
+ var $R54 = $R(new RegExp("[!~+-](?!\\s|[!~+-]*&)", "suy"));
1261
+ var $R55 = $R(new RegExp("(?:-[^-]|[^-]*)*", "suy"));
1262
+ var $R56 = $R(new RegExp("[^{}<>\\r\\n]+", "suy"));
1263
+ var $R57 = $R(new RegExp("[+-]?", "suy"));
1264
+ var $R58 = $R(new RegExp("[+-]", "suy"));
1265
+ var $R59 = $R(new RegExp("#![^\\r\\n]*", "suy"));
1266
+ var $R60 = $R(new RegExp("[\\t ]*", "suy"));
1267
+ var $R61 = $R(new RegExp("[\\s]*", "suy"));
1268
+ var $R62 = $R(new RegExp("\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?", "suy"));
1269
+ var $R63 = $R(new RegExp("\\r\\n|\\n|\\r|$", "suy"));
1270
+ var $R64 = $R(new RegExp("[ \\t]*", "suy"));
1254
1271
  var Program$0 = $TS($S(Reset, Init, __, $Q(TopLevelStatement), __), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
1255
1272
  var statements = $4;
1256
1273
  module.processProgram(statements);
@@ -1464,9 +1481,8 @@ ${input.slice(result.pos)}
1464
1481
  }
1465
1482
  }
1466
1483
  var Arguments$0 = ExplicitArguments;
1467
- var Arguments$1 = $TS($S(SuppressTrailingMemberProperty, $E(ImplicitArguments)), function($skip, $loc, $0, $1, $2) {
1484
+ var Arguments$1 = $TS($S(ForbidTrailingMemberProperty, $E(ImplicitArguments), RestoreTrailingMemberProperty), function($skip, $loc, $0, $1, $2, $3) {
1468
1485
  var args = $2;
1469
- module.suppressTrailingMemberProperty.pop();
1470
1486
  if (args)
1471
1487
  return args;
1472
1488
  return $skip;
@@ -1657,14 +1673,14 @@ ${input.slice(result.pos)}
1657
1673
  return result;
1658
1674
  }
1659
1675
  }
1660
- var NonSuppressedTrailingMemberExpressions$0 = $T($S(TrailingMemberPropertyAllowed, TrailingMemberExpressions), function(value) {
1676
+ var AllowedTrailingMemberExpressions$0 = $T($S(TrailingMemberPropertyAllowed, TrailingMemberExpressions), function(value) {
1661
1677
  return value[1];
1662
1678
  });
1663
- var NonSuppressedTrailingMemberExpressions$1 = $Q(MemberExpressionRest);
1664
- function NonSuppressedTrailingMemberExpressions(state) {
1679
+ var AllowedTrailingMemberExpressions$1 = $Q(MemberExpressionRest);
1680
+ function AllowedTrailingMemberExpressions(state) {
1665
1681
  let eventData;
1666
1682
  if (state.events) {
1667
- const result = state.events.enter?.("NonSuppressedTrailingMemberExpressions", state);
1683
+ const result = state.events.enter?.("AllowedTrailingMemberExpressions", state);
1668
1684
  if (result) {
1669
1685
  if (result.cache)
1670
1686
  return result.cache;
@@ -1672,14 +1688,14 @@ ${input.slice(result.pos)}
1672
1688
  }
1673
1689
  }
1674
1690
  if (state.tokenize) {
1675
- const result = $TOKEN("NonSuppressedTrailingMemberExpressions", state, NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state));
1691
+ const result = $TOKEN("AllowedTrailingMemberExpressions", state, AllowedTrailingMemberExpressions$0(state) || AllowedTrailingMemberExpressions$1(state));
1676
1692
  if (state.events)
1677
- state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
1693
+ state.events.exit?.("AllowedTrailingMemberExpressions", state, result, eventData);
1678
1694
  return result;
1679
1695
  } else {
1680
- const result = NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state);
1696
+ const result = AllowedTrailingMemberExpressions$0(state) || AllowedTrailingMemberExpressions$1(state);
1681
1697
  if (state.events)
1682
- state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
1698
+ state.events.exit?.("AllowedTrailingMemberExpressions", state, result, eventData);
1683
1699
  return result;
1684
1700
  }
1685
1701
  }
@@ -2064,11 +2080,21 @@ ${input.slice(result.pos)}
2064
2080
  return result;
2065
2081
  }
2066
2082
  }
2067
- var UpdateExpression$0 = $S(UpdateExpressionSymbol, UnaryExpression);
2083
+ var UpdateExpression$0 = $TS($S(UpdateExpressionSymbol, UnaryExpression), function($skip, $loc, $0, $1, $2) {
2084
+ return {
2085
+ type: "UpdateExpression",
2086
+ assigned: $2,
2087
+ children: $0
2088
+ };
2089
+ });
2068
2090
  var UpdateExpression$1 = $TS($S(LeftHandSideExpression, $E(UpdateExpressionSymbol)), function($skip, $loc, $0, $1, $2) {
2069
- if ($2)
2070
- return $0;
2071
- return $1;
2091
+ if (!$2)
2092
+ return $1;
2093
+ return {
2094
+ type: "UpdateExpression",
2095
+ assigned: $1,
2096
+ children: $0
2097
+ };
2072
2098
  });
2073
2099
  function UpdateExpression(state) {
2074
2100
  let eventData;
@@ -2228,7 +2254,7 @@ ${input.slice(result.pos)}
2228
2254
  return result;
2229
2255
  }
2230
2256
  }
2231
- var ActualAssignment$0 = $TS($S($P($S(__, LeftHandSideExpression, WAssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
2257
+ var ActualAssignment$0 = $TS($S($P($S(__, UpdateExpression, WAssignmentOp)), ExtendedExpression), function($skip, $loc, $0, $1, $2) {
2232
2258
  $1 = $1.map((x) => [x[0], x[1], ...x[2]]);
2233
2259
  $0 = [$1, $2];
2234
2260
  return {
@@ -2236,6 +2262,7 @@ ${input.slice(result.pos)}
2236
2262
  children: $0,
2237
2263
  names: null,
2238
2264
  lhs: $1,
2265
+ assigned: $1[0][1],
2239
2266
  exp: $2
2240
2267
  };
2241
2268
  });
@@ -2645,15 +2672,18 @@ ${input.slice(result.pos)}
2645
2672
  return result;
2646
2673
  }
2647
2674
  }
2648
- var ParenthesizedExpression$0 = $TS($S(OpenParen, PostfixedExpression, __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4) {
2649
- var exp = $2;
2675
+ var ParenthesizedExpression$0 = $TS($S(OpenParen, AllowAll, $E($S(PostfixedExpression, __, CloseParen)), RestoreAll), function($skip, $loc, $0, $1, $2, $3, $4) {
2676
+ var open = $1;
2677
+ if (!$3)
2678
+ return $skip;
2679
+ const [exp, ws, close] = $3;
2650
2680
  switch (exp.type) {
2651
2681
  case "IterationExpression":
2652
- return $2;
2682
+ return exp;
2653
2683
  }
2654
2684
  return {
2655
2685
  type: "ParenthesizedExpression",
2656
- children: $0,
2686
+ children: [open, exp, ws, close],
2657
2687
  expression: exp
2658
2688
  };
2659
2689
  });
@@ -2835,7 +2865,7 @@ ${input.slice(result.pos)}
2835
2865
  return result;
2836
2866
  }
2837
2867
  }
2838
- var ExtendsTarget$0 = $TS($S(ExpressionWithIndentedApplicationSuppressed, $E(TypeArguments)), function($skip, $loc, $0, $1, $2) {
2868
+ var ExtendsTarget$0 = $TS($S(ExpressionWithIndentedApplicationForbidden, $E(TypeArguments)), function($skip, $loc, $0, $1, $2) {
2839
2869
  var exp = $1;
2840
2870
  var ta = $2;
2841
2871
  exp = module.makeLeftHandSideExpression(exp);
@@ -3275,7 +3305,7 @@ ${input.slice(result.pos)}
3275
3305
  children: [$1, ...$2, ...rest.flat()]
3276
3306
  });
3277
3307
  });
3278
- var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3308
+ var CallExpression$2 = $TS($S(MemberExpression, AllowedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
3279
3309
  var member = $1;
3280
3310
  var trailing = $2;
3281
3311
  var rest = $3;
@@ -6271,9 +6301,11 @@ ${input.slice(result.pos)}
6271
6301
  var ArrayLiteral$0 = $T($S(ArrayBindingPattern, UpcomingAssignment), function(value) {
6272
6302
  return value[0];
6273
6303
  });
6274
- var ArrayLiteral$1 = $TS($S(OpenBracket, ArrayLiteralContent, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
6275
- var content = $2;
6276
- var ws = $3;
6304
+ var ArrayLiteral$1 = $TS($S(OpenBracket, AllowAll, $E($S(ArrayLiteralContent, __, CloseBracket)), RestoreIndentedApplication, RestoreAll), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
6305
+ var open = $1;
6306
+ if (!$3)
6307
+ return $skip;
6308
+ const [content, ws, close] = $3;
6277
6309
  if (content.type === "RangeExpression") {
6278
6310
  return {
6279
6311
  ...content,
@@ -6282,9 +6314,9 @@ ${input.slice(result.pos)}
6282
6314
  }
6283
6315
  let children;
6284
6316
  if (Array.isArray(content)) {
6285
- children = [$1, ...content, ...ws, $4];
6317
+ children = [open, ...content, ...ws, close];
6286
6318
  } else {
6287
- children = [$1, content, ...ws, $4];
6319
+ children = [open, content, ...ws, close];
6288
6320
  }
6289
6321
  const names = children.flatMap((c) => {
6290
6322
  return c.names || [];
@@ -6689,10 +6721,11 @@ ${input.slice(result.pos)}
6689
6721
  return result;
6690
6722
  }
6691
6723
  }
6692
- var BracedObjectLiteral$0 = $TS($S(OpenBrace, $E(BracedObjectLiteralContent), $S(__, CloseBrace)), function($skip, $loc, $0, $1, $2, $3) {
6724
+ var BracedObjectLiteral$0 = $TS($S(OpenBrace, AllowAll, $E($S($E(BracedObjectLiteralContent), __, CloseBrace)), RestoreAll), function($skip, $loc, $0, $1, $2, $3, $4) {
6693
6725
  var open = $1;
6694
- var content = $2;
6695
- var close = $3;
6726
+ if (!$3)
6727
+ return $skip;
6728
+ const [content, ...close] = $3;
6696
6729
  if (content) {
6697
6730
  const children = [open, ...content, close];
6698
6731
  return {
@@ -6812,7 +6845,7 @@ ${input.slice(result.pos)}
6812
6845
  return result;
6813
6846
  }
6814
6847
  }
6815
- var NestedImplicitPropertyDefinition$0 = $TS($S(Nested, NamedProperty, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3) {
6848
+ var NestedImplicitPropertyDefinition$0 = $TS($S(Nested, ImplicitNamedProperty, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3) {
6816
6849
  var ws = $1;
6817
6850
  var prop = $2;
6818
6851
  var delimiter = $3;
@@ -6901,7 +6934,7 @@ ${input.slice(result.pos)}
6901
6934
  return result;
6902
6935
  }
6903
6936
  }
6904
- var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, ImplicitInlineObjectPropertyDelimiter, $Q($S($C(Samedent, $Q(_)), NamedProperty, ImplicitInlineObjectPropertyDelimiter)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
6937
+ var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, ImplicitInlineObjectPropertyDelimiter, $Q($S($C(Samedent, $Q(_)), ImplicitNamedProperty, ImplicitInlineObjectPropertyDelimiter)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
6905
6938
  var open = $1;
6906
6939
  var close = $5;
6907
6940
  return {
@@ -7167,8 +7200,41 @@ ${input.slice(result.pos)}
7167
7200
  return result;
7168
7201
  }
7169
7202
  }
7170
- var SnugNamedProperty$0 = $TS($S(PropertyName, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3) {
7171
- var exp = $3;
7203
+ var ImplicitNamedProperty$0 = $TS($S(PropertyName, __, Colon, $C(MultiLineImplicitObjectLiteralAllowed, $N(EOS)), ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7204
+ var name = $1;
7205
+ var exp = $5;
7206
+ return {
7207
+ type: "Property",
7208
+ children: $0,
7209
+ name,
7210
+ names: exp.names || [],
7211
+ value: exp
7212
+ };
7213
+ });
7214
+ function ImplicitNamedProperty(state) {
7215
+ let eventData;
7216
+ if (state.events) {
7217
+ const result = state.events.enter?.("ImplicitNamedProperty", state);
7218
+ if (result) {
7219
+ if (result.cache)
7220
+ return result.cache;
7221
+ eventData = result.data;
7222
+ }
7223
+ }
7224
+ if (state.tokenize) {
7225
+ const result = $TOKEN("ImplicitNamedProperty", state, ImplicitNamedProperty$0(state));
7226
+ if (state.events)
7227
+ state.events.exit?.("ImplicitNamedProperty", state, result, eventData);
7228
+ return result;
7229
+ } else {
7230
+ const result = ImplicitNamedProperty$0(state);
7231
+ if (state.events)
7232
+ state.events.exit?.("ImplicitNamedProperty", state, result, eventData);
7233
+ return result;
7234
+ }
7235
+ }
7236
+ var SnugNamedProperty$0 = $TS($S(PropertyName, Colon, $C(MultiLineImplicitObjectLiteralAllowed, $N(EOS)), ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4) {
7237
+ var exp = $4;
7172
7238
  return {
7173
7239
  type: "Property",
7174
7240
  children: $0,
@@ -7951,7 +8017,7 @@ ${input.slice(result.pos)}
7951
8017
  return result;
7952
8018
  }
7953
8019
  }
7954
- var UnaryOp$0 = $TR($EXPECT($R9, fail, "UnaryOp /[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
8020
+ var UnaryOp$0 = $TR($EXPECT($R9, fail, "UnaryOp /(?!\\+\\+|--)[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
7955
8021
  return { $loc, token: $0 };
7956
8022
  });
7957
8023
  var UnaryOp$1 = $S($C(Await, Delete, Void, Typeof), __);
@@ -8119,13 +8185,14 @@ ${input.slice(result.pos)}
8119
8185
  var Statement$4 = SwitchStatement;
8120
8186
  var Statement$5 = TryStatement;
8121
8187
  var Statement$6 = EmptyStatement;
8122
- var Statement$7 = $TS($S(ExpressionStatement), function($skip, $loc, $0, $1) {
8188
+ var Statement$7 = LabelledStatement;
8189
+ var Statement$8 = $TS($S(ExpressionStatement), function($skip, $loc, $0, $1) {
8123
8190
  if ($1.type === "ObjectExpression" || $1.type === "FunctionExpression" && !$1.id) {
8124
8191
  return module.makeLeftHandSideExpression($1);
8125
8192
  }
8126
8193
  return $1;
8127
8194
  });
8128
- var Statement$8 = BlockStatement;
8195
+ var Statement$9 = BlockStatement;
8129
8196
  function Statement(state) {
8130
8197
  let eventData;
8131
8198
  if (state.events) {
@@ -8137,12 +8204,12 @@ ${input.slice(result.pos)}
8137
8204
  }
8138
8205
  }
8139
8206
  if (state.tokenize) {
8140
- const result = $TOKEN("Statement", state, Statement$0(state) || Statement$1(state) || Statement$2(state) || Statement$3(state) || Statement$4(state) || Statement$5(state) || Statement$6(state) || Statement$7(state) || Statement$8(state));
8207
+ const result = $TOKEN("Statement", state, Statement$0(state) || Statement$1(state) || Statement$2(state) || Statement$3(state) || Statement$4(state) || Statement$5(state) || Statement$6(state) || Statement$7(state) || Statement$8(state) || Statement$9(state));
8141
8208
  if (state.events)
8142
8209
  state.events.exit?.("Statement", state, result, eventData);
8143
8210
  return result;
8144
8211
  } else {
8145
- const result = Statement$0(state) || Statement$1(state) || Statement$2(state) || Statement$3(state) || Statement$4(state) || Statement$5(state) || Statement$6(state) || Statement$7(state) || Statement$8(state);
8212
+ const result = Statement$0(state) || Statement$1(state) || Statement$2(state) || Statement$3(state) || Statement$4(state) || Statement$5(state) || Statement$6(state) || Statement$7(state) || Statement$8(state) || Statement$9(state);
8146
8213
  if (state.events)
8147
8214
  state.events.exit?.("Statement", state, result, eventData);
8148
8215
  return result;
@@ -8198,6 +8265,82 @@ ${input.slice(result.pos)}
8198
8265
  return result;
8199
8266
  }
8200
8267
  }
8268
+ var LabelledStatement$0 = $S(Label, LabelledItem);
8269
+ function LabelledStatement(state) {
8270
+ let eventData;
8271
+ if (state.events) {
8272
+ const result = state.events.enter?.("LabelledStatement", state);
8273
+ if (result) {
8274
+ if (result.cache)
8275
+ return result.cache;
8276
+ eventData = result.data;
8277
+ }
8278
+ }
8279
+ if (state.tokenize) {
8280
+ const result = $TOKEN("LabelledStatement", state, LabelledStatement$0(state));
8281
+ if (state.events)
8282
+ state.events.exit?.("LabelledStatement", state, result, eventData);
8283
+ return result;
8284
+ } else {
8285
+ const result = LabelledStatement$0(state);
8286
+ if (state.events)
8287
+ state.events.exit?.("LabelledStatement", state, result, eventData);
8288
+ return result;
8289
+ }
8290
+ }
8291
+ var Label$0 = $TS($S(Colon, Identifier, Whitespace), function($skip, $loc, $0, $1, $2, $3) {
8292
+ var colon = $1;
8293
+ var id = $2;
8294
+ var w = $3;
8295
+ return [id, colon, w];
8296
+ });
8297
+ var Label$1 = $S($EXPECT($L85, fail, 'Label "$:"'), Whitespace);
8298
+ function Label(state) {
8299
+ let eventData;
8300
+ if (state.events) {
8301
+ const result = state.events.enter?.("Label", state);
8302
+ if (result) {
8303
+ if (result.cache)
8304
+ return result.cache;
8305
+ eventData = result.data;
8306
+ }
8307
+ }
8308
+ if (state.tokenize) {
8309
+ const result = $TOKEN("Label", state, Label$0(state) || Label$1(state));
8310
+ if (state.events)
8311
+ state.events.exit?.("Label", state, result, eventData);
8312
+ return result;
8313
+ } else {
8314
+ const result = Label$0(state) || Label$1(state);
8315
+ if (state.events)
8316
+ state.events.exit?.("Label", state, result, eventData);
8317
+ return result;
8318
+ }
8319
+ }
8320
+ var LabelledItem$0 = Statement;
8321
+ var LabelledItem$1 = FunctionDeclaration;
8322
+ function LabelledItem(state) {
8323
+ let eventData;
8324
+ if (state.events) {
8325
+ const result = state.events.enter?.("LabelledItem", state);
8326
+ if (result) {
8327
+ if (result.cache)
8328
+ return result.cache;
8329
+ eventData = result.data;
8330
+ }
8331
+ }
8332
+ if (state.tokenize) {
8333
+ const result = $TOKEN("LabelledItem", state, LabelledItem$0(state) || LabelledItem$1(state));
8334
+ if (state.events)
8335
+ state.events.exit?.("LabelledItem", state, result, eventData);
8336
+ return result;
8337
+ } else {
8338
+ const result = LabelledItem$0(state) || LabelledItem$1(state);
8339
+ if (state.events)
8340
+ state.events.exit?.("LabelledItem", state, result, eventData);
8341
+ return result;
8342
+ }
8343
+ }
8201
8344
  var IfStatement$0 = $TS($S($C(IfClause, UnlessClause), Block, $E(ElseClause)), function($skip, $loc, $0, $1, $2, $3) {
8202
8345
  var clause = $1;
8203
8346
  var block = $2;
@@ -8464,7 +8607,7 @@ ${input.slice(result.pos)}
8464
8607
  children: [$1, exps, $3, $4, $5]
8465
8608
  };
8466
8609
  });
8467
- var ElseExpressionBlock$1 = $T($S($N(EOS), ExpressionWithIndentedApplicationSuppressed), function(value) {
8610
+ var ElseExpressionBlock$1 = $T($S($N(EOS), ExpressionWithIndentedApplicationForbidden), function(value) {
8468
8611
  return value[1];
8469
8612
  });
8470
8613
  function ElseExpressionBlock(state) {
@@ -9103,7 +9246,7 @@ ${input.slice(result.pos)}
9103
9246
  return result;
9104
9247
  }
9105
9248
  }
9106
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L85, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
9249
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L86, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
9107
9250
  var own = $1;
9108
9251
  var binding = $2;
9109
9252
  return {
@@ -9149,14 +9292,14 @@ ${input.slice(result.pos)}
9149
9292
  children: $0
9150
9293
  };
9151
9294
  });
9152
- var ForStatementParameters$2 = $TS($S($E($S(Await, __)), OpenParen, __, ForInOfDeclaration, __, $C(In, Of), ExpressionWithIndentedApplicationSuppressed, __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9295
+ var ForStatementParameters$2 = $TS($S($E($S(Await, __)), OpenParen, __, ForInOfDeclaration, __, $C(In, Of), ExpressionWithIndentedApplicationForbidden, __, CloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9153
9296
  var declaration = $4;
9154
9297
  return {
9155
9298
  declaration,
9156
9299
  children: $0
9157
9300
  };
9158
9301
  });
9159
- var ForStatementParameters$3 = $TS($S($E($S(Await, __)), InsertOpenParen, ForInOfDeclaration, __, $C(In, Of), ExpressionWithIndentedApplicationSuppressed, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
9302
+ var ForStatementParameters$3 = $TS($S($E($S(Await, __)), InsertOpenParen, ForInOfDeclaration, __, $C(In, Of), ExpressionWithIndentedApplicationForbidden, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
9160
9303
  var declaration = $3;
9161
9304
  return {
9162
9305
  declaration,
@@ -9551,14 +9694,18 @@ ${input.slice(result.pos)}
9551
9694
  return result;
9552
9695
  }
9553
9696
  }
9554
- var CaseExpressionList$0 = $TS($S($S($Q(_), ExpressionWithIndentedApplicationSuppressed, ImpliedColon), $Q($S(__, Comma, ExpressionWithIndentedApplicationSuppressed, ImpliedColon))), function($skip, $loc, $0, $1, $2) {
9555
- const result = $2.map(([ws, _comma, exp, col]) => {
9697
+ var CaseExpressionList$0 = $TS($S(ForbidMultiLineImplicitObjectLiteral, $E($S($Q(_), ExpressionWithIndentedApplicationForbidden, ImpliedColon)), $Q($S(__, Comma, ExpressionWithIndentedApplicationForbidden, ImpliedColon)), RestoreMultiLineImplicitObjectLiteral), function($skip, $loc, $0, $1, $2, $3, $4) {
9698
+ var first = $2;
9699
+ var rest = $3;
9700
+ if (!first)
9701
+ return $skip;
9702
+ const result = rest.map(([ws, _comma, exp, col]) => {
9556
9703
  exp = module.insertTrimmingSpace(exp, "");
9557
9704
  if (ws.length)
9558
9705
  return [module.insertTrimmingSpace("case ", ws), exp, col];
9559
9706
  return ["case ", exp, col];
9560
9707
  });
9561
- result.unshift($1);
9708
+ result.unshift(first);
9562
9709
  return result;
9563
9710
  });
9564
9711
  function CaseExpressionList(state) {
@@ -9774,7 +9921,7 @@ ${input.slice(result.pos)}
9774
9921
  var Condition$0 = $T($S(ParenthesizedExpression, $N($S($Q(TrailingComment), $C(BinaryOp, AssignmentOp, Dot, QuestionMark))), $N($S(_, OperatorAssignmentOp))), function(value) {
9775
9922
  return value[0];
9776
9923
  });
9777
- var Condition$1 = $TS($S(InsertOpenParen, ExpressionWithIndentedApplicationSuppressed, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
9924
+ var Condition$1 = $TS($S(InsertOpenParen, ExpressionWithIndentedApplicationForbidden, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3) {
9778
9925
  var open = $1;
9779
9926
  var expression = $2;
9780
9927
  var close = $3;
@@ -9809,17 +9956,16 @@ ${input.slice(result.pos)}
9809
9956
  return result;
9810
9957
  }
9811
9958
  }
9812
- var ExpressionWithIndentedApplicationSuppressed$0 = $TS($S(SuppressIndentedApplication, $E(ExtendedExpression)), function($skip, $loc, $0, $1, $2) {
9959
+ var ExpressionWithIndentedApplicationForbidden$0 = $TS($S(ForbidIndentedApplication, $E(ExtendedExpression), RestoreIndentedApplication), function($skip, $loc, $0, $1, $2, $3) {
9813
9960
  var exp = $2;
9814
- module.suppressIndentedApplication = false;
9815
9961
  if (exp)
9816
9962
  return exp;
9817
9963
  return $skip;
9818
9964
  });
9819
- function ExpressionWithIndentedApplicationSuppressed(state) {
9965
+ function ExpressionWithIndentedApplicationForbidden(state) {
9820
9966
  let eventData;
9821
9967
  if (state.events) {
9822
- const result = state.events.enter?.("ExpressionWithIndentedApplicationSuppressed", state);
9968
+ const result = state.events.enter?.("ExpressionWithIndentedApplicationForbidden", state);
9823
9969
  if (result) {
9824
9970
  if (result.cache)
9825
9971
  return result.cache;
@@ -9827,24 +9973,24 @@ ${input.slice(result.pos)}
9827
9973
  }
9828
9974
  }
9829
9975
  if (state.tokenize) {
9830
- const result = $TOKEN("ExpressionWithIndentedApplicationSuppressed", state, ExpressionWithIndentedApplicationSuppressed$0(state));
9976
+ const result = $TOKEN("ExpressionWithIndentedApplicationForbidden", state, ExpressionWithIndentedApplicationForbidden$0(state));
9831
9977
  if (state.events)
9832
- state.events.exit?.("ExpressionWithIndentedApplicationSuppressed", state, result, eventData);
9978
+ state.events.exit?.("ExpressionWithIndentedApplicationForbidden", state, result, eventData);
9833
9979
  return result;
9834
9980
  } else {
9835
- const result = ExpressionWithIndentedApplicationSuppressed$0(state);
9981
+ const result = ExpressionWithIndentedApplicationForbidden$0(state);
9836
9982
  if (state.events)
9837
- state.events.exit?.("ExpressionWithIndentedApplicationSuppressed", state, result, eventData);
9983
+ state.events.exit?.("ExpressionWithIndentedApplicationForbidden", state, result, eventData);
9838
9984
  return result;
9839
9985
  }
9840
9986
  }
9841
- var SuppressIndentedApplication$0 = $TV($EXPECT($L18, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
9842
- module.suppressIndentedApplication = true;
9987
+ var ForbidIndentedApplication$0 = $TV($EXPECT($L18, fail, 'ForbidIndentedApplication ""'), function($skip, $loc, $0, $1) {
9988
+ module.forbidIndentedApplication.push(true);
9843
9989
  });
9844
- function SuppressIndentedApplication(state) {
9990
+ function ForbidIndentedApplication(state) {
9845
9991
  let eventData;
9846
9992
  if (state.events) {
9847
- const result = state.events.enter?.("SuppressIndentedApplication", state);
9993
+ const result = state.events.enter?.("ForbidIndentedApplication", state);
9848
9994
  if (result) {
9849
9995
  if (result.cache)
9850
9996
  return result.cache;
@@ -9852,19 +9998,72 @@ ${input.slice(result.pos)}
9852
9998
  }
9853
9999
  }
9854
10000
  if (state.tokenize) {
9855
- const result = $TOKEN("SuppressIndentedApplication", state, SuppressIndentedApplication$0(state));
10001
+ const result = $TOKEN("ForbidIndentedApplication", state, ForbidIndentedApplication$0(state));
9856
10002
  if (state.events)
9857
- state.events.exit?.("SuppressIndentedApplication", state, result, eventData);
10003
+ state.events.exit?.("ForbidIndentedApplication", state, result, eventData);
9858
10004
  return result;
9859
10005
  } else {
9860
- const result = SuppressIndentedApplication$0(state);
10006
+ const result = ForbidIndentedApplication$0(state);
9861
10007
  if (state.events)
9862
- state.events.exit?.("SuppressIndentedApplication", state, result, eventData);
10008
+ state.events.exit?.("ForbidIndentedApplication", state, result, eventData);
10009
+ return result;
10010
+ }
10011
+ }
10012
+ var AllowIndentedApplication$0 = $TV($EXPECT($L18, fail, 'AllowIndentedApplication ""'), function($skip, $loc, $0, $1) {
10013
+ module.forbidIndentedApplication.push(false);
10014
+ });
10015
+ function AllowIndentedApplication(state) {
10016
+ let eventData;
10017
+ if (state.events) {
10018
+ const result = state.events.enter?.("AllowIndentedApplication", state);
10019
+ if (result) {
10020
+ if (result.cache)
10021
+ return result.cache;
10022
+ eventData = result.data;
10023
+ }
10024
+ }
10025
+ if (state.tokenize) {
10026
+ const result = $TOKEN("AllowIndentedApplication", state, AllowIndentedApplication$0(state));
10027
+ if (state.events)
10028
+ state.events.exit?.("AllowIndentedApplication", state, result, eventData);
10029
+ return result;
10030
+ } else {
10031
+ const result = AllowIndentedApplication$0(state);
10032
+ if (state.events)
10033
+ state.events.exit?.("AllowIndentedApplication", state, result, eventData);
10034
+ return result;
10035
+ }
10036
+ }
10037
+ var RestoreIndentedApplication$0 = $TV($EXPECT($L18, fail, 'RestoreIndentedApplication ""'), function($skip, $loc, $0, $1) {
10038
+ module.forbidIndentedApplication.pop();
10039
+ });
10040
+ function RestoreIndentedApplication(state) {
10041
+ let eventData;
10042
+ if (state.events) {
10043
+ const result = state.events.enter?.("RestoreIndentedApplication", state);
10044
+ if (result) {
10045
+ if (result.cache)
10046
+ return result.cache;
10047
+ eventData = result.data;
10048
+ }
10049
+ }
10050
+ if (state.tokenize) {
10051
+ const result = $TOKEN("RestoreIndentedApplication", state, RestoreIndentedApplication$0(state));
10052
+ if (state.events)
10053
+ state.events.exit?.("RestoreIndentedApplication", state, result, eventData);
10054
+ return result;
10055
+ } else {
10056
+ const result = RestoreIndentedApplication$0(state);
10057
+ if (state.events)
10058
+ state.events.exit?.("RestoreIndentedApplication", state, result, eventData);
9863
10059
  return result;
9864
10060
  }
9865
10061
  }
9866
10062
  var IndentedApplicationAllowed$0 = $TV($EXPECT($L18, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
9867
- if (module.suppressIndentedApplication)
10063
+ if (module.config.verbose) {
10064
+ console.log("forbidIndentedApplication:", module.forbidIndentedApplication);
10065
+ }
10066
+ if (module.indentedApplicationForbidden)
9868
10067
  return $skip;
9869
10068
  return;
9870
10069
  });
@@ -9890,13 +10089,38 @@ ${input.slice(result.pos)}
9890
10089
  return result;
9891
10090
  }
9892
10091
  }
9893
- var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
9894
- module.suppressTrailingMemberProperty.push(true);
10092
+ var ForbidTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'ForbidTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
10093
+ module.forbidTrailingMemberProperty.push(true);
10094
+ });
10095
+ function ForbidTrailingMemberProperty(state) {
10096
+ let eventData;
10097
+ if (state.events) {
10098
+ const result = state.events.enter?.("ForbidTrailingMemberProperty", state);
10099
+ if (result) {
10100
+ if (result.cache)
10101
+ return result.cache;
10102
+ eventData = result.data;
10103
+ }
10104
+ }
10105
+ if (state.tokenize) {
10106
+ const result = $TOKEN("ForbidTrailingMemberProperty", state, ForbidTrailingMemberProperty$0(state));
10107
+ if (state.events)
10108
+ state.events.exit?.("ForbidTrailingMemberProperty", state, result, eventData);
10109
+ return result;
10110
+ } else {
10111
+ const result = ForbidTrailingMemberProperty$0(state);
10112
+ if (state.events)
10113
+ state.events.exit?.("ForbidTrailingMemberProperty", state, result, eventData);
10114
+ return result;
10115
+ }
10116
+ }
10117
+ var AllowTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'AllowTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
10118
+ module.forbidTrailingMemberProperty.push(false);
9895
10119
  });
9896
- function SuppressTrailingMemberProperty(state) {
10120
+ function AllowTrailingMemberProperty(state) {
9897
10121
  let eventData;
9898
10122
  if (state.events) {
9899
- const result = state.events.enter?.("SuppressTrailingMemberProperty", state);
10123
+ const result = state.events.enter?.("AllowTrailingMemberProperty", state);
9900
10124
  if (result) {
9901
10125
  if (result.cache)
9902
10126
  return result.cache;
@@ -9904,19 +10128,47 @@ ${input.slice(result.pos)}
9904
10128
  }
9905
10129
  }
9906
10130
  if (state.tokenize) {
9907
- const result = $TOKEN("SuppressTrailingMemberProperty", state, SuppressTrailingMemberProperty$0(state));
10131
+ const result = $TOKEN("AllowTrailingMemberProperty", state, AllowTrailingMemberProperty$0(state));
9908
10132
  if (state.events)
9909
- state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
10133
+ state.events.exit?.("AllowTrailingMemberProperty", state, result, eventData);
9910
10134
  return result;
9911
10135
  } else {
9912
- const result = SuppressTrailingMemberProperty$0(state);
10136
+ const result = AllowTrailingMemberProperty$0(state);
9913
10137
  if (state.events)
9914
- state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
10138
+ state.events.exit?.("AllowTrailingMemberProperty", state, result, eventData);
10139
+ return result;
10140
+ }
10141
+ }
10142
+ var RestoreTrailingMemberProperty$0 = $TV($EXPECT($L18, fail, 'RestoreTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
10143
+ module.forbidTrailingMemberProperty.pop();
10144
+ });
10145
+ function RestoreTrailingMemberProperty(state) {
10146
+ let eventData;
10147
+ if (state.events) {
10148
+ const result = state.events.enter?.("RestoreTrailingMemberProperty", state);
10149
+ if (result) {
10150
+ if (result.cache)
10151
+ return result.cache;
10152
+ eventData = result.data;
10153
+ }
10154
+ }
10155
+ if (state.tokenize) {
10156
+ const result = $TOKEN("RestoreTrailingMemberProperty", state, RestoreTrailingMemberProperty$0(state));
10157
+ if (state.events)
10158
+ state.events.exit?.("RestoreTrailingMemberProperty", state, result, eventData);
10159
+ return result;
10160
+ } else {
10161
+ const result = RestoreTrailingMemberProperty$0(state);
10162
+ if (state.events)
10163
+ state.events.exit?.("RestoreTrailingMemberProperty", state, result, eventData);
9915
10164
  return result;
9916
10165
  }
9917
10166
  }
9918
10167
  var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L18, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
9919
- if (module.trailingMemberPropertySuppressed)
10168
+ if (module.config.verbose) {
10169
+ console.log("forbidTrailingMemberProperty:", module.forbidTrailingMemberProperty);
10170
+ }
10171
+ if (module.trailingMemberPropertyForbidden)
9920
10172
  return $skip;
9921
10173
  });
9922
10174
  function TrailingMemberPropertyAllowed(state) {
@@ -9941,6 +10193,156 @@ ${input.slice(result.pos)}
9941
10193
  return result;
9942
10194
  }
9943
10195
  }
10196
+ var ForbidMultiLineImplicitObjectLiteral$0 = $TV($EXPECT($L18, fail, 'ForbidMultiLineImplicitObjectLiteral ""'), function($skip, $loc, $0, $1) {
10197
+ module.forbidMultiLineImplicitObjectLiteral.push(true);
10198
+ });
10199
+ function ForbidMultiLineImplicitObjectLiteral(state) {
10200
+ let eventData;
10201
+ if (state.events) {
10202
+ const result = state.events.enter?.("ForbidMultiLineImplicitObjectLiteral", state);
10203
+ if (result) {
10204
+ if (result.cache)
10205
+ return result.cache;
10206
+ eventData = result.data;
10207
+ }
10208
+ }
10209
+ if (state.tokenize) {
10210
+ const result = $TOKEN("ForbidMultiLineImplicitObjectLiteral", state, ForbidMultiLineImplicitObjectLiteral$0(state));
10211
+ if (state.events)
10212
+ state.events.exit?.("ForbidMultiLineImplicitObjectLiteral", state, result, eventData);
10213
+ return result;
10214
+ } else {
10215
+ const result = ForbidMultiLineImplicitObjectLiteral$0(state);
10216
+ if (state.events)
10217
+ state.events.exit?.("ForbidMultiLineImplicitObjectLiteral", state, result, eventData);
10218
+ return result;
10219
+ }
10220
+ }
10221
+ var AllowMultiLineImplicitObjectLiteral$0 = $TV($EXPECT($L18, fail, 'AllowMultiLineImplicitObjectLiteral ""'), function($skip, $loc, $0, $1) {
10222
+ module.forbidMultiLineImplicitObjectLiteral.push(false);
10223
+ });
10224
+ function AllowMultiLineImplicitObjectLiteral(state) {
10225
+ let eventData;
10226
+ if (state.events) {
10227
+ const result = state.events.enter?.("AllowMultiLineImplicitObjectLiteral", state);
10228
+ if (result) {
10229
+ if (result.cache)
10230
+ return result.cache;
10231
+ eventData = result.data;
10232
+ }
10233
+ }
10234
+ if (state.tokenize) {
10235
+ const result = $TOKEN("AllowMultiLineImplicitObjectLiteral", state, AllowMultiLineImplicitObjectLiteral$0(state));
10236
+ if (state.events)
10237
+ state.events.exit?.("AllowMultiLineImplicitObjectLiteral", state, result, eventData);
10238
+ return result;
10239
+ } else {
10240
+ const result = AllowMultiLineImplicitObjectLiteral$0(state);
10241
+ if (state.events)
10242
+ state.events.exit?.("AllowMultiLineImplicitObjectLiteral", state, result, eventData);
10243
+ return result;
10244
+ }
10245
+ }
10246
+ var RestoreMultiLineImplicitObjectLiteral$0 = $TV($EXPECT($L18, fail, 'RestoreMultiLineImplicitObjectLiteral ""'), function($skip, $loc, $0, $1) {
10247
+ module.forbidMultiLineImplicitObjectLiteral.pop();
10248
+ });
10249
+ function RestoreMultiLineImplicitObjectLiteral(state) {
10250
+ let eventData;
10251
+ if (state.events) {
10252
+ const result = state.events.enter?.("RestoreMultiLineImplicitObjectLiteral", state);
10253
+ if (result) {
10254
+ if (result.cache)
10255
+ return result.cache;
10256
+ eventData = result.data;
10257
+ }
10258
+ }
10259
+ if (state.tokenize) {
10260
+ const result = $TOKEN("RestoreMultiLineImplicitObjectLiteral", state, RestoreMultiLineImplicitObjectLiteral$0(state));
10261
+ if (state.events)
10262
+ state.events.exit?.("RestoreMultiLineImplicitObjectLiteral", state, result, eventData);
10263
+ return result;
10264
+ } else {
10265
+ const result = RestoreMultiLineImplicitObjectLiteral$0(state);
10266
+ if (state.events)
10267
+ state.events.exit?.("RestoreMultiLineImplicitObjectLiteral", state, result, eventData);
10268
+ return result;
10269
+ }
10270
+ }
10271
+ var MultiLineImplicitObjectLiteralAllowed$0 = $TV($EXPECT($L18, fail, 'MultiLineImplicitObjectLiteralAllowed ""'), function($skip, $loc, $0, $1) {
10272
+ if (module.config.verbose) {
10273
+ console.log("forbidMultiLineImplicitObjectLiteral:", module.forbidMultiLineImplicitObjectLiteral);
10274
+ }
10275
+ if (module.multiLineImplicitObjectLiteralForbidden)
10276
+ return $skip;
10277
+ });
10278
+ function MultiLineImplicitObjectLiteralAllowed(state) {
10279
+ let eventData;
10280
+ if (state.events) {
10281
+ const result = state.events.enter?.("MultiLineImplicitObjectLiteralAllowed", state);
10282
+ if (result) {
10283
+ if (result.cache)
10284
+ return result.cache;
10285
+ eventData = result.data;
10286
+ }
10287
+ }
10288
+ if (state.tokenize) {
10289
+ const result = $TOKEN("MultiLineImplicitObjectLiteralAllowed", state, MultiLineImplicitObjectLiteralAllowed$0(state));
10290
+ if (state.events)
10291
+ state.events.exit?.("MultiLineImplicitObjectLiteralAllowed", state, result, eventData);
10292
+ return result;
10293
+ } else {
10294
+ const result = MultiLineImplicitObjectLiteralAllowed$0(state);
10295
+ if (state.events)
10296
+ state.events.exit?.("MultiLineImplicitObjectLiteralAllowed", state, result, eventData);
10297
+ return result;
10298
+ }
10299
+ }
10300
+ var AllowAll$0 = $S(AllowTrailingMemberProperty, AllowIndentedApplication, AllowMultiLineImplicitObjectLiteral);
10301
+ function AllowAll(state) {
10302
+ let eventData;
10303
+ if (state.events) {
10304
+ const result = state.events.enter?.("AllowAll", state);
10305
+ if (result) {
10306
+ if (result.cache)
10307
+ return result.cache;
10308
+ eventData = result.data;
10309
+ }
10310
+ }
10311
+ if (state.tokenize) {
10312
+ const result = $TOKEN("AllowAll", state, AllowAll$0(state));
10313
+ if (state.events)
10314
+ state.events.exit?.("AllowAll", state, result, eventData);
10315
+ return result;
10316
+ } else {
10317
+ const result = AllowAll$0(state);
10318
+ if (state.events)
10319
+ state.events.exit?.("AllowAll", state, result, eventData);
10320
+ return result;
10321
+ }
10322
+ }
10323
+ var RestoreAll$0 = $S(RestoreTrailingMemberProperty, RestoreIndentedApplication, RestoreMultiLineImplicitObjectLiteral);
10324
+ function RestoreAll(state) {
10325
+ let eventData;
10326
+ if (state.events) {
10327
+ const result = state.events.enter?.("RestoreAll", state);
10328
+ if (result) {
10329
+ if (result.cache)
10330
+ return result.cache;
10331
+ eventData = result.data;
10332
+ }
10333
+ }
10334
+ if (state.tokenize) {
10335
+ const result = $TOKEN("RestoreAll", state, RestoreAll$0(state));
10336
+ if (state.events)
10337
+ state.events.exit?.("RestoreAll", state, result, eventData);
10338
+ return result;
10339
+ } else {
10340
+ const result = RestoreAll$0(state);
10341
+ if (state.events)
10342
+ state.events.exit?.("RestoreAll", state, result, eventData);
10343
+ return result;
10344
+ }
10345
+ }
9944
10346
  var ExpressionStatement$0 = Expression;
9945
10347
  function ExpressionStatement(state) {
9946
10348
  let eventData;
@@ -9964,13 +10366,13 @@ ${input.slice(result.pos)}
9964
10366
  return result;
9965
10367
  }
9966
10368
  }
9967
- var KeywordStatement$0 = $T($S($EXPECT($L86, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
10369
+ var KeywordStatement$0 = $T($S($EXPECT($L87, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
9968
10370
  return { "type": "BreakStatement", "children": value };
9969
10371
  });
9970
- var KeywordStatement$1 = $T($S($EXPECT($L87, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
10372
+ var KeywordStatement$1 = $T($S($EXPECT($L88, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
9971
10373
  return { "type": "ContinueStatement", "children": value };
9972
10374
  });
9973
- var KeywordStatement$2 = $T($S($EXPECT($L88, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
10375
+ var KeywordStatement$2 = $T($S($EXPECT($L89, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
9974
10376
  return { "type": "DebuggerStatement", "children": value };
9975
10377
  });
9976
10378
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -10001,7 +10403,7 @@ ${input.slice(result.pos)}
10001
10403
  return result;
10002
10404
  }
10003
10405
  }
10004
- var DebuggerExpression$0 = $TS($S($EXPECT($L88, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10406
+ var DebuggerExpression$0 = $TS($S($EXPECT($L89, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10005
10407
  return {
10006
10408
  type: "DebuggerExpression",
10007
10409
  children: ["(()=>{", $1, "})()"]
@@ -10278,7 +10680,7 @@ ${input.slice(result.pos)}
10278
10680
  return result;
10279
10681
  }
10280
10682
  }
10281
- var ImportAssertion$0 = $S($E(_), $EXPECT($L89, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
10683
+ var ImportAssertion$0 = $S($E(_), $EXPECT($L90, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
10282
10684
  function ImportAssertion(state) {
10283
10685
  let eventData;
10284
10686
  if (state.events) {
@@ -10882,7 +11284,7 @@ ${input.slice(result.pos)}
10882
11284
  return result;
10883
11285
  }
10884
11286
  }
10885
- var ConstAssignment$0 = $TV($EXPECT($L90, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
11287
+ var ConstAssignment$0 = $TV($EXPECT($L91, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
10886
11288
  return { $loc, token: "=" };
10887
11289
  });
10888
11290
  function ConstAssignment(state) {
@@ -10907,7 +11309,7 @@ ${input.slice(result.pos)}
10907
11309
  return result;
10908
11310
  }
10909
11311
  }
10910
- var LetAssignment$0 = $TV($EXPECT($L91, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
11312
+ var LetAssignment$0 = $TV($EXPECT($L92, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
10911
11313
  return { $loc, token: "=" };
10912
11314
  });
10913
11315
  function LetAssignment(state) {
@@ -12172,7 +12574,7 @@ ${input.slice(result.pos)}
12172
12574
  return result;
12173
12575
  }
12174
12576
  }
12175
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L92, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L93, fail, 'JSMultiLineComment "*/"')), $EXPECT($R42, fail, "JSMultiLineComment /./"))), $EXPECT($L93, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
12577
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L93, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L94, fail, 'JSMultiLineComment "*/"')), $EXPECT($R42, fail, "JSMultiLineComment /./"))), $EXPECT($L94, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
12176
12578
  return { $loc, token: $1 };
12177
12579
  });
12178
12580
  function JSMultiLineComment(state) {
@@ -12271,7 +12673,7 @@ ${input.slice(result.pos)}
12271
12673
  return result;
12272
12674
  }
12273
12675
  }
12274
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L92, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L93, fail, 'InlineComment "*/"')), $EXPECT($R46, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L93, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
12676
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L93, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L94, fail, 'InlineComment "*/"')), $EXPECT($R46, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L94, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
12275
12677
  return { $loc, token: $1 };
12276
12678
  });
12277
12679
  function InlineComment(state) {
@@ -12370,7 +12772,7 @@ ${input.slice(result.pos)}
12370
12772
  var NonNewlineWhitespace$0 = $TR($EXPECT($R47, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
12371
12773
  return { $loc, token: $0 };
12372
12774
  });
12373
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L94, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
12775
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L95, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
12374
12776
  return "";
12375
12777
  });
12376
12778
  function NonNewlineWhitespace(state) {
@@ -12522,7 +12924,7 @@ ${input.slice(result.pos)}
12522
12924
  }
12523
12925
  }
12524
12926
  var StatementDelimiter$0 = SemicolonDelimiter;
12525
- var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L2, fail, 'StatementDelimiter "("'), $EXPECT($L95, fail, 'StatementDelimiter "["'), $EXPECT($L96, fail, 'StatementDelimiter "`"'), $EXPECT($L57, fail, 'StatementDelimiter "+"'), $EXPECT($L16, fail, 'StatementDelimiter "-"'), $EXPECT($L53, fail, 'StatementDelimiter "*"'), $EXPECT($L54, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L2, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
12927
+ var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L2, fail, 'StatementDelimiter "("'), $EXPECT($L96, fail, 'StatementDelimiter "["'), $EXPECT($L97, fail, 'StatementDelimiter "`"'), $EXPECT($L57, fail, 'StatementDelimiter "+"'), $EXPECT($L16, fail, 'StatementDelimiter "-"'), $EXPECT($L53, fail, 'StatementDelimiter "*"'), $EXPECT($L54, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L2, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
12526
12928
  var StatementDelimiter$2 = $Y(EOS);
12527
12929
  function StatementDelimiter(state) {
12528
12930
  let eventData;
@@ -12622,7 +13024,7 @@ ${input.slice(result.pos)}
12622
13024
  return result;
12623
13025
  }
12624
13026
  }
12625
- var Abstract$0 = $TV($TEXT($S($EXPECT($L97, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L8, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
13027
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L98, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L8, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
12626
13028
  return { $loc, token: $1, ts: true };
12627
13029
  });
12628
13030
  function Abstract(state) {
@@ -12672,7 +13074,7 @@ ${input.slice(result.pos)}
12672
13074
  return result;
12673
13075
  }
12674
13076
  }
12675
- var As$0 = $TS($S($EXPECT($L98, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13077
+ var As$0 = $TS($S($EXPECT($L99, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12676
13078
  return { $loc, token: $1 };
12677
13079
  });
12678
13080
  function As(state) {
@@ -12697,7 +13099,7 @@ ${input.slice(result.pos)}
12697
13099
  return result;
12698
13100
  }
12699
13101
  }
12700
- var At$0 = $TV($EXPECT($L99, fail, 'At "@"'), function($skip, $loc, $0, $1) {
13102
+ var At$0 = $TV($EXPECT($L100, fail, 'At "@"'), function($skip, $loc, $0, $1) {
12701
13103
  return { $loc, token: $1 };
12702
13104
  });
12703
13105
  function At(state) {
@@ -12722,7 +13124,7 @@ ${input.slice(result.pos)}
12722
13124
  return result;
12723
13125
  }
12724
13126
  }
12725
- var AtAt$0 = $TV($EXPECT($L100, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
13127
+ var AtAt$0 = $TV($EXPECT($L101, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
12726
13128
  return { $loc, token: "@" };
12727
13129
  });
12728
13130
  function AtAt(state) {
@@ -12747,7 +13149,7 @@ ${input.slice(result.pos)}
12747
13149
  return result;
12748
13150
  }
12749
13151
  }
12750
- var Async$0 = $TS($S($EXPECT($L101, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13152
+ var Async$0 = $TS($S($EXPECT($L102, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12751
13153
  return { $loc, token: $1, type: "Async" };
12752
13154
  });
12753
13155
  function Async(state) {
@@ -12772,7 +13174,7 @@ ${input.slice(result.pos)}
12772
13174
  return result;
12773
13175
  }
12774
13176
  }
12775
- var Await$0 = $TS($S($EXPECT($L102, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13177
+ var Await$0 = $TS($S($EXPECT($L103, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12776
13178
  return { $loc, token: $1 };
12777
13179
  });
12778
13180
  function Await(state) {
@@ -12797,7 +13199,7 @@ ${input.slice(result.pos)}
12797
13199
  return result;
12798
13200
  }
12799
13201
  }
12800
- var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
13202
+ var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
12801
13203
  return { $loc, token: $1 };
12802
13204
  });
12803
13205
  function Backtick(state) {
@@ -12822,7 +13224,7 @@ ${input.slice(result.pos)}
12822
13224
  return result;
12823
13225
  }
12824
13226
  }
12825
- var By$0 = $TS($S($EXPECT($L103, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13227
+ var By$0 = $TS($S($EXPECT($L104, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12826
13228
  return { $loc, token: $1 };
12827
13229
  });
12828
13230
  function By(state) {
@@ -12847,7 +13249,7 @@ ${input.slice(result.pos)}
12847
13249
  return result;
12848
13250
  }
12849
13251
  }
12850
- var Case$0 = $TS($S($EXPECT($L104, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13252
+ var Case$0 = $TS($S($EXPECT($L105, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12851
13253
  return { $loc, token: $1 };
12852
13254
  });
12853
13255
  function Case(state) {
@@ -12872,7 +13274,7 @@ ${input.slice(result.pos)}
12872
13274
  return result;
12873
13275
  }
12874
13276
  }
12875
- var Catch$0 = $TS($S($EXPECT($L105, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13277
+ var Catch$0 = $TS($S($EXPECT($L106, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12876
13278
  return { $loc, token: $1 };
12877
13279
  });
12878
13280
  function Catch(state) {
@@ -12897,7 +13299,7 @@ ${input.slice(result.pos)}
12897
13299
  return result;
12898
13300
  }
12899
13301
  }
12900
- var Class$0 = $TS($S($EXPECT($L106, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13302
+ var Class$0 = $TS($S($EXPECT($L107, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12901
13303
  return { $loc, token: $1 };
12902
13304
  });
12903
13305
  function Class(state) {
@@ -12997,7 +13399,7 @@ ${input.slice(result.pos)}
12997
13399
  return result;
12998
13400
  }
12999
13401
  }
13000
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L107, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
13402
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L108, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
13001
13403
  return { $loc, token: "${" };
13002
13404
  });
13003
13405
  function CoffeeSubstitutionStart(state) {
@@ -13072,7 +13474,7 @@ ${input.slice(result.pos)}
13072
13474
  return result;
13073
13475
  }
13074
13476
  }
13075
- var ConstructorShorthand$0 = $TV($EXPECT($L99, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
13477
+ var ConstructorShorthand$0 = $TV($EXPECT($L100, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
13076
13478
  return { $loc, token: "constructor" };
13077
13479
  });
13078
13480
  function ConstructorShorthand(state) {
@@ -13097,7 +13499,7 @@ ${input.slice(result.pos)}
13097
13499
  return result;
13098
13500
  }
13099
13501
  }
13100
- var Declare$0 = $TS($S($EXPECT($L108, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13502
+ var Declare$0 = $TS($S($EXPECT($L109, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13101
13503
  return { $loc, token: $1 };
13102
13504
  });
13103
13505
  function Declare(state) {
@@ -13122,7 +13524,7 @@ ${input.slice(result.pos)}
13122
13524
  return result;
13123
13525
  }
13124
13526
  }
13125
- var Default$0 = $TS($S($EXPECT($L109, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13527
+ var Default$0 = $TS($S($EXPECT($L110, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13126
13528
  return { $loc, token: $1 };
13127
13529
  });
13128
13530
  function Default(state) {
@@ -13147,7 +13549,7 @@ ${input.slice(result.pos)}
13147
13549
  return result;
13148
13550
  }
13149
13551
  }
13150
- var Delete$0 = $TS($S($EXPECT($L110, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13552
+ var Delete$0 = $TS($S($EXPECT($L111, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13151
13553
  return { $loc, token: $1 };
13152
13554
  });
13153
13555
  function Delete(state) {
@@ -13172,7 +13574,7 @@ ${input.slice(result.pos)}
13172
13574
  return result;
13173
13575
  }
13174
13576
  }
13175
- var Do$0 = $TS($S($EXPECT($L111, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13577
+ var Do$0 = $TS($S($EXPECT($L112, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13176
13578
  return { $loc, token: $1 };
13177
13579
  });
13178
13580
  function Do(state) {
@@ -13222,7 +13624,7 @@ ${input.slice(result.pos)}
13222
13624
  return result;
13223
13625
  }
13224
13626
  }
13225
- var DotDot$0 = $TV($EXPECT($L112, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13627
+ var DotDot$0 = $TV($EXPECT($L113, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
13226
13628
  return { $loc, token: $1 };
13227
13629
  });
13228
13630
  function DotDot(state) {
@@ -13247,7 +13649,7 @@ ${input.slice(result.pos)}
13247
13649
  return result;
13248
13650
  }
13249
13651
  }
13250
- var DotDotDot$0 = $TV($EXPECT($L113, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13652
+ var DotDotDot$0 = $TV($EXPECT($L114, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
13251
13653
  return { $loc, token: $1 };
13252
13654
  });
13253
13655
  function DotDotDot(state) {
@@ -13272,7 +13674,7 @@ ${input.slice(result.pos)}
13272
13674
  return result;
13273
13675
  }
13274
13676
  }
13275
- var DoubleColon$0 = $TV($EXPECT($L114, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13677
+ var DoubleColon$0 = $TV($EXPECT($L115, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
13276
13678
  return { $loc, token: $1 };
13277
13679
  });
13278
13680
  function DoubleColon(state) {
@@ -13297,7 +13699,7 @@ ${input.slice(result.pos)}
13297
13699
  return result;
13298
13700
  }
13299
13701
  }
13300
- var DoubleQuote$0 = $TV($EXPECT($L115, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13702
+ var DoubleQuote$0 = $TV($EXPECT($L116, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
13301
13703
  return { $loc, token: $1 };
13302
13704
  });
13303
13705
  function DoubleQuote(state) {
@@ -13322,7 +13724,7 @@ ${input.slice(result.pos)}
13322
13724
  return result;
13323
13725
  }
13324
13726
  }
13325
- var Else$0 = $TS($S($EXPECT($L116, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13727
+ var Else$0 = $TS($S($EXPECT($L117, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13326
13728
  return { $loc, token: $1 };
13327
13729
  });
13328
13730
  function Else(state) {
@@ -13372,7 +13774,7 @@ ${input.slice(result.pos)}
13372
13774
  return result;
13373
13775
  }
13374
13776
  }
13375
- var Export$0 = $TS($S($EXPECT($L117, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13777
+ var Export$0 = $TS($S($EXPECT($L118, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13376
13778
  return { $loc, token: $1 };
13377
13779
  });
13378
13780
  function Export(state) {
@@ -13397,7 +13799,7 @@ ${input.slice(result.pos)}
13397
13799
  return result;
13398
13800
  }
13399
13801
  }
13400
- var Extends$0 = $TS($S($EXPECT($L118, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13802
+ var Extends$0 = $TS($S($EXPECT($L119, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13401
13803
  return { $loc, token: $1 };
13402
13804
  });
13403
13805
  function Extends(state) {
@@ -13422,7 +13824,7 @@ ${input.slice(result.pos)}
13422
13824
  return result;
13423
13825
  }
13424
13826
  }
13425
- var Finally$0 = $TS($S($EXPECT($L119, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13827
+ var Finally$0 = $TS($S($EXPECT($L120, fail, 'Finally "finally"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13426
13828
  return { $loc, token: $1 };
13427
13829
  });
13428
13830
  function Finally(state) {
@@ -13447,7 +13849,7 @@ ${input.slice(result.pos)}
13447
13849
  return result;
13448
13850
  }
13449
13851
  }
13450
- var For$0 = $TS($S($EXPECT($L120, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13852
+ var For$0 = $TS($S($EXPECT($L121, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13451
13853
  return { $loc, token: $1 };
13452
13854
  });
13453
13855
  function For(state) {
@@ -13472,7 +13874,7 @@ ${input.slice(result.pos)}
13472
13874
  return result;
13473
13875
  }
13474
13876
  }
13475
- var From$0 = $TS($S($EXPECT($L121, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13877
+ var From$0 = $TS($S($EXPECT($L122, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13476
13878
  return { $loc, token: $1 };
13477
13879
  });
13478
13880
  function From(state) {
@@ -13497,7 +13899,7 @@ ${input.slice(result.pos)}
13497
13899
  return result;
13498
13900
  }
13499
13901
  }
13500
- var Function$0 = $TS($S($EXPECT($L122, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13902
+ var Function$0 = $TS($S($EXPECT($L123, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13501
13903
  return { $loc, token: $1 };
13502
13904
  });
13503
13905
  function Function(state) {
@@ -13522,7 +13924,7 @@ ${input.slice(result.pos)}
13522
13924
  return result;
13523
13925
  }
13524
13926
  }
13525
- var GetOrSet$0 = $TS($S($C($EXPECT($L123, fail, 'GetOrSet "get"'), $EXPECT($L124, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13927
+ var GetOrSet$0 = $TS($S($C($EXPECT($L124, fail, 'GetOrSet "get"'), $EXPECT($L125, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13526
13928
  return { $loc, token: $1, type: "GetOrSet" };
13527
13929
  });
13528
13930
  function GetOrSet(state) {
@@ -13547,7 +13949,7 @@ ${input.slice(result.pos)}
13547
13949
  return result;
13548
13950
  }
13549
13951
  }
13550
- var If$0 = $TV($TEXT($S($EXPECT($L125, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13952
+ var If$0 = $TV($TEXT($S($EXPECT($L126, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L8, fail, 'If " "')))), function($skip, $loc, $0, $1) {
13551
13953
  return { $loc, token: $1 };
13552
13954
  });
13553
13955
  function If(state) {
@@ -13622,7 +14024,7 @@ ${input.slice(result.pos)}
13622
14024
  return result;
13623
14025
  }
13624
14026
  }
13625
- var LetOrConst$0 = $TS($S($C($EXPECT($L126, fail, 'LetOrConst "let"'), $EXPECT($L127, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14027
+ var LetOrConst$0 = $TS($S($C($EXPECT($L127, fail, 'LetOrConst "let"'), $EXPECT($L128, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13626
14028
  return { $loc, token: $1 };
13627
14029
  });
13628
14030
  function LetOrConst(state) {
@@ -13647,7 +14049,7 @@ ${input.slice(result.pos)}
13647
14049
  return result;
13648
14050
  }
13649
14051
  }
13650
- var Loop$0 = $TS($S($EXPECT($L128, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14052
+ var Loop$0 = $TS($S($EXPECT($L129, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13651
14053
  return { $loc, token: "while(true)" };
13652
14054
  });
13653
14055
  function Loop(state) {
@@ -13672,7 +14074,7 @@ ${input.slice(result.pos)}
13672
14074
  return result;
13673
14075
  }
13674
14076
  }
13675
- var New$0 = $TS($S($EXPECT($L129, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14077
+ var New$0 = $TS($S($EXPECT($L130, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13676
14078
  return { $loc, token: $1 };
13677
14079
  });
13678
14080
  function New(state) {
@@ -13747,7 +14149,7 @@ ${input.slice(result.pos)}
13747
14149
  return result;
13748
14150
  }
13749
14151
  }
13750
- var OpenAngleBracket$0 = $TV($EXPECT($L130, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
14152
+ var OpenAngleBracket$0 = $TV($EXPECT($L131, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
13751
14153
  return { $loc, token: $1 };
13752
14154
  });
13753
14155
  function OpenAngleBracket(state) {
@@ -13772,7 +14174,7 @@ ${input.slice(result.pos)}
13772
14174
  return result;
13773
14175
  }
13774
14176
  }
13775
- var OpenBrace$0 = $TV($EXPECT($L131, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
14177
+ var OpenBrace$0 = $TV($EXPECT($L132, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
13776
14178
  return { $loc, token: $1 };
13777
14179
  });
13778
14180
  function OpenBrace(state) {
@@ -13797,7 +14199,7 @@ ${input.slice(result.pos)}
13797
14199
  return result;
13798
14200
  }
13799
14201
  }
13800
- var OpenBracket$0 = $TV($EXPECT($L95, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
14202
+ var OpenBracket$0 = $TV($EXPECT($L96, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
13801
14203
  return { $loc, token: $1 };
13802
14204
  });
13803
14205
  function OpenBracket(state) {
@@ -13847,7 +14249,7 @@ ${input.slice(result.pos)}
13847
14249
  return result;
13848
14250
  }
13849
14251
  }
13850
- var Operator$0 = $TS($S($EXPECT($L132, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14252
+ var Operator$0 = $TS($S($EXPECT($L133, fail, 'Operator "operator"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13851
14253
  return { $loc, token: $1 };
13852
14254
  });
13853
14255
  function Operator(state) {
@@ -13872,7 +14274,7 @@ ${input.slice(result.pos)}
13872
14274
  return result;
13873
14275
  }
13874
14276
  }
13875
- var Public$0 = $TS($S($EXPECT($L133, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14277
+ var Public$0 = $TS($S($EXPECT($L134, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13876
14278
  return { $loc, token: $1 };
13877
14279
  });
13878
14280
  function Public(state) {
@@ -13897,7 +14299,7 @@ ${input.slice(result.pos)}
13897
14299
  return result;
13898
14300
  }
13899
14301
  }
13900
- var Private$0 = $TS($S($EXPECT($L134, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14302
+ var Private$0 = $TS($S($EXPECT($L135, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13901
14303
  return { $loc, token: $1 };
13902
14304
  });
13903
14305
  function Private(state) {
@@ -13922,7 +14324,7 @@ ${input.slice(result.pos)}
13922
14324
  return result;
13923
14325
  }
13924
14326
  }
13925
- var Protected$0 = $TS($S($EXPECT($L135, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14327
+ var Protected$0 = $TS($S($EXPECT($L136, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13926
14328
  return { $loc, token: $1 };
13927
14329
  });
13928
14330
  function Protected(state) {
@@ -13947,13 +14349,13 @@ ${input.slice(result.pos)}
13947
14349
  return result;
13948
14350
  }
13949
14351
  }
13950
- var Pipe$0 = $TV($EXPECT($L136, fail, 'Pipe "||>"'), function($skip, $loc, $0, $1) {
14352
+ var Pipe$0 = $TV($EXPECT($L137, fail, 'Pipe "||>"'), function($skip, $loc, $0, $1) {
13951
14353
  return { $loc, token: $1 };
13952
14354
  });
13953
- var Pipe$1 = $TV($EXPECT($L137, fail, 'Pipe "|>="'), function($skip, $loc, $0, $1) {
14355
+ var Pipe$1 = $TV($EXPECT($L138, fail, 'Pipe "|>="'), function($skip, $loc, $0, $1) {
13954
14356
  return { $loc, token: $1 };
13955
14357
  });
13956
- var Pipe$2 = $TV($EXPECT($L138, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
14358
+ var Pipe$2 = $TV($EXPECT($L139, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
13957
14359
  return { $loc, token: $1 };
13958
14360
  });
13959
14361
  function Pipe(state) {
@@ -14003,7 +14405,7 @@ ${input.slice(result.pos)}
14003
14405
  return result;
14004
14406
  }
14005
14407
  }
14006
- var Readonly$0 = $TS($S($EXPECT($L139, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14408
+ var Readonly$0 = $TS($S($EXPECT($L140, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14007
14409
  return { $loc, token: $1, ts: true };
14008
14410
  });
14009
14411
  function Readonly(state) {
@@ -14028,7 +14430,7 @@ ${input.slice(result.pos)}
14028
14430
  return result;
14029
14431
  }
14030
14432
  }
14031
- var Return$0 = $TS($S($EXPECT($L140, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14433
+ var Return$0 = $TS($S($EXPECT($L141, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14032
14434
  return { $loc, token: $1 };
14033
14435
  });
14034
14436
  function Return(state) {
@@ -14053,7 +14455,7 @@ ${input.slice(result.pos)}
14053
14455
  return result;
14054
14456
  }
14055
14457
  }
14056
- var Satisfies$0 = $TS($S($EXPECT($L141, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14458
+ var Satisfies$0 = $TS($S($EXPECT($L142, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14057
14459
  return { $loc, token: $1 };
14058
14460
  });
14059
14461
  function Satisfies(state) {
@@ -14103,7 +14505,7 @@ ${input.slice(result.pos)}
14103
14505
  return result;
14104
14506
  }
14105
14507
  }
14106
- var SingleQuote$0 = $TV($EXPECT($L142, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
14508
+ var SingleQuote$0 = $TV($EXPECT($L143, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
14107
14509
  return { $loc, token: $1 };
14108
14510
  });
14109
14511
  function SingleQuote(state) {
@@ -14153,10 +14555,10 @@ ${input.slice(result.pos)}
14153
14555
  return result;
14154
14556
  }
14155
14557
  }
14156
- var Static$0 = $TS($S($EXPECT($L143, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14558
+ var Static$0 = $TS($S($EXPECT($L144, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14157
14559
  return { $loc, token: $1 };
14158
14560
  });
14159
- var Static$1 = $TS($S($EXPECT($L99, fail, 'Static "@"'), $N($C($EXPECT($L2, fail, 'Static "("'), $EXPECT($L99, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
14561
+ var Static$1 = $TS($S($EXPECT($L100, fail, 'Static "@"'), $N($C($EXPECT($L2, fail, 'Static "("'), $EXPECT($L100, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
14160
14562
  return { $loc, token: "static " };
14161
14563
  });
14162
14564
  function Static(state) {
@@ -14181,7 +14583,7 @@ ${input.slice(result.pos)}
14181
14583
  return result;
14182
14584
  }
14183
14585
  }
14184
- var SubstitutionStart$0 = $TV($EXPECT($L144, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
14586
+ var SubstitutionStart$0 = $TV($EXPECT($L145, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
14185
14587
  return { $loc, token: $1 };
14186
14588
  });
14187
14589
  function SubstitutionStart(state) {
@@ -14206,7 +14608,7 @@ ${input.slice(result.pos)}
14206
14608
  return result;
14207
14609
  }
14208
14610
  }
14209
- var Switch$0 = $TS($S($EXPECT($L145, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14611
+ var Switch$0 = $TS($S($EXPECT($L146, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14210
14612
  return { $loc, token: $1 };
14211
14613
  });
14212
14614
  function Switch(state) {
@@ -14231,7 +14633,7 @@ ${input.slice(result.pos)}
14231
14633
  return result;
14232
14634
  }
14233
14635
  }
14234
- var Target$0 = $TS($S($EXPECT($L146, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14636
+ var Target$0 = $TS($S($EXPECT($L147, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14235
14637
  return { $loc, token: $1 };
14236
14638
  });
14237
14639
  function Target(state) {
@@ -14256,7 +14658,7 @@ ${input.slice(result.pos)}
14256
14658
  return result;
14257
14659
  }
14258
14660
  }
14259
- var Then$0 = $TS($S(__, $EXPECT($L147, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14661
+ var Then$0 = $TS($S(__, $EXPECT($L148, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
14260
14662
  return { $loc, token: "" };
14261
14663
  });
14262
14664
  function Then(state) {
@@ -14281,7 +14683,7 @@ ${input.slice(result.pos)}
14281
14683
  return result;
14282
14684
  }
14283
14685
  }
14284
- var This$0 = $TS($S($EXPECT($L148, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14686
+ var This$0 = $TS($S($EXPECT($L149, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14285
14687
  return { $loc, token: $1 };
14286
14688
  });
14287
14689
  function This(state) {
@@ -14306,7 +14708,7 @@ ${input.slice(result.pos)}
14306
14708
  return result;
14307
14709
  }
14308
14710
  }
14309
- var Throw$0 = $TS($S($EXPECT($L149, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14711
+ var Throw$0 = $TS($S($EXPECT($L150, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14310
14712
  return { $loc, token: $1 };
14311
14713
  });
14312
14714
  function Throw(state) {
@@ -14331,7 +14733,7 @@ ${input.slice(result.pos)}
14331
14733
  return result;
14332
14734
  }
14333
14735
  }
14334
- var TripleDoubleQuote$0 = $TV($EXPECT($L150, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14736
+ var TripleDoubleQuote$0 = $TV($EXPECT($L151, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
14335
14737
  return { $loc, token: "`" };
14336
14738
  });
14337
14739
  function TripleDoubleQuote(state) {
@@ -14356,7 +14758,7 @@ ${input.slice(result.pos)}
14356
14758
  return result;
14357
14759
  }
14358
14760
  }
14359
- var TripleSingleQuote$0 = $TV($EXPECT($L151, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14761
+ var TripleSingleQuote$0 = $TV($EXPECT($L152, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
14360
14762
  return { $loc, token: "`" };
14361
14763
  });
14362
14764
  function TripleSingleQuote(state) {
@@ -14381,7 +14783,7 @@ ${input.slice(result.pos)}
14381
14783
  return result;
14382
14784
  }
14383
14785
  }
14384
- var TripleSlash$0 = $TV($EXPECT($L152, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14786
+ var TripleSlash$0 = $TV($EXPECT($L153, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
14385
14787
  return { $loc, token: "/" };
14386
14788
  });
14387
14789
  function TripleSlash(state) {
@@ -14406,7 +14808,7 @@ ${input.slice(result.pos)}
14406
14808
  return result;
14407
14809
  }
14408
14810
  }
14409
- var TripleTick$0 = $TV($EXPECT($L153, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14811
+ var TripleTick$0 = $TV($EXPECT($L154, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
14410
14812
  return { $loc, token: "`" };
14411
14813
  });
14412
14814
  function TripleTick(state) {
@@ -14431,7 +14833,7 @@ ${input.slice(result.pos)}
14431
14833
  return result;
14432
14834
  }
14433
14835
  }
14434
- var Try$0 = $TS($S($EXPECT($L154, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14836
+ var Try$0 = $TS($S($EXPECT($L155, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14435
14837
  return { $loc, token: $1 };
14436
14838
  });
14437
14839
  function Try(state) {
@@ -14456,7 +14858,7 @@ ${input.slice(result.pos)}
14456
14858
  return result;
14457
14859
  }
14458
14860
  }
14459
- var Typeof$0 = $TS($S($EXPECT($L155, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14861
+ var Typeof$0 = $TS($S($EXPECT($L156, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14460
14862
  return { $loc, token: $1 };
14461
14863
  });
14462
14864
  function Typeof(state) {
@@ -14481,7 +14883,7 @@ ${input.slice(result.pos)}
14481
14883
  return result;
14482
14884
  }
14483
14885
  }
14484
- var Unless$0 = $TS($S($EXPECT($L156, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14886
+ var Unless$0 = $TS($S($EXPECT($L157, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14485
14887
  return { $loc, token: $1 };
14486
14888
  });
14487
14889
  function Unless(state) {
@@ -14506,7 +14908,7 @@ ${input.slice(result.pos)}
14506
14908
  return result;
14507
14909
  }
14508
14910
  }
14509
- var Until$0 = $TS($S($EXPECT($L157, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14911
+ var Until$0 = $TS($S($EXPECT($L158, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14510
14912
  return { $loc, token: $1 };
14511
14913
  });
14512
14914
  function Until(state) {
@@ -14531,7 +14933,7 @@ ${input.slice(result.pos)}
14531
14933
  return result;
14532
14934
  }
14533
14935
  }
14534
- var Var$0 = $TS($S($EXPECT($L158, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14936
+ var Var$0 = $TS($S($EXPECT($L159, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14535
14937
  return { $loc, token: $1 };
14536
14938
  });
14537
14939
  function Var(state) {
@@ -14556,7 +14958,7 @@ ${input.slice(result.pos)}
14556
14958
  return result;
14557
14959
  }
14558
14960
  }
14559
- var Void$0 = $TS($S($EXPECT($L159, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14961
+ var Void$0 = $TS($S($EXPECT($L160, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14560
14962
  return { $loc, token: $1 };
14561
14963
  });
14562
14964
  function Void(state) {
@@ -14581,7 +14983,7 @@ ${input.slice(result.pos)}
14581
14983
  return result;
14582
14984
  }
14583
14985
  }
14584
- var When$0 = $TS($S($EXPECT($L160, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14986
+ var When$0 = $TS($S($EXPECT($L161, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14585
14987
  return { $loc, token: "case" };
14586
14988
  });
14587
14989
  function When(state) {
@@ -14606,7 +15008,7 @@ ${input.slice(result.pos)}
14606
15008
  return result;
14607
15009
  }
14608
15010
  }
14609
- var While$0 = $TS($S($EXPECT($L161, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15011
+ var While$0 = $TS($S($EXPECT($L162, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14610
15012
  return { $loc, token: $1 };
14611
15013
  });
14612
15014
  function While(state) {
@@ -14631,7 +15033,7 @@ ${input.slice(result.pos)}
14631
15033
  return result;
14632
15034
  }
14633
15035
  }
14634
- var Yield$0 = $TS($S($EXPECT($L162, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15036
+ var Yield$0 = $TS($S($EXPECT($L163, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14635
15037
  return { $loc, token: $1 };
14636
15038
  });
14637
15039
  function Yield(state) {
@@ -14724,11 +15126,10 @@ ${input.slice(result.pos)}
14724
15126
  }
14725
15127
  }
14726
15128
  var JSXElement$0 = JSXSelfClosingElement;
14727
- var JSXElement$1 = $TS($S($N(CoffeeJSXEnabled), PushJSXOpeningElement, $E(JSXMixedChildren), JSXOptionalClosingElement), function($skip, $loc, $0, $1, $2, $3, $4) {
15129
+ var JSXElement$1 = $TS($S($N(CoffeeJSXEnabled), PushJSXOpeningElement, $E(JSXMixedChildren), JSXOptionalClosingElement, PopJSXStack), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14728
15130
  var open = $2;
14729
15131
  var children = $3;
14730
15132
  var close = $4;
14731
- module.JSXTagStack.pop();
14732
15133
  if (!children)
14733
15134
  return $skip;
14734
15135
  $0 = $0.slice(1);
@@ -14777,7 +15178,7 @@ ${input.slice(result.pos)}
14777
15178
  return result;
14778
15179
  }
14779
15180
  }
14780
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L130, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L163, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
15181
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L131, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L164, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
14781
15182
  return { type: "JSXElement", children: $0, tag: $2 };
14782
15183
  });
14783
15184
  function JSXSelfClosingElement(state) {
@@ -14828,7 +15229,32 @@ ${input.slice(result.pos)}
14828
15229
  return result;
14829
15230
  }
14830
15231
  }
14831
- var JSXOpeningElement$0 = $S($EXPECT($L130, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
15232
+ var PopJSXStack$0 = $TV($EXPECT($L18, fail, 'PopJSXStack ""'), function($skip, $loc, $0, $1) {
15233
+ module.JSXTagStack.pop();
15234
+ });
15235
+ function PopJSXStack(state) {
15236
+ let eventData;
15237
+ if (state.events) {
15238
+ const result = state.events.enter?.("PopJSXStack", state);
15239
+ if (result) {
15240
+ if (result.cache)
15241
+ return result.cache;
15242
+ eventData = result.data;
15243
+ }
15244
+ }
15245
+ if (state.tokenize) {
15246
+ const result = $TOKEN("PopJSXStack", state, PopJSXStack$0(state));
15247
+ if (state.events)
15248
+ state.events.exit?.("PopJSXStack", state, result, eventData);
15249
+ return result;
15250
+ } else {
15251
+ const result = PopJSXStack$0(state);
15252
+ if (state.events)
15253
+ state.events.exit?.("PopJSXStack", state, result, eventData);
15254
+ return result;
15255
+ }
15256
+ }
15257
+ var JSXOpeningElement$0 = $S($EXPECT($L131, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L29, fail, 'JSXOpeningElement ">"'));
14832
15258
  function JSXOpeningElement(state) {
14833
15259
  let eventData;
14834
15260
  if (state.events) {
@@ -14880,7 +15306,7 @@ ${input.slice(result.pos)}
14880
15306
  return result;
14881
15307
  }
14882
15308
  }
14883
- var JSXClosingElement$0 = $S($EXPECT($L164, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
15309
+ var JSXClosingElement$0 = $S($EXPECT($L165, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L29, fail, 'JSXClosingElement ">"'));
14884
15310
  function JSXClosingElement(state) {
14885
15311
  let eventData;
14886
15312
  if (state.events) {
@@ -14903,11 +15329,10 @@ ${input.slice(result.pos)}
14903
15329
  return result;
14904
15330
  }
14905
15331
  }
14906
- var JSXFragment$0 = $TS($S($N(CoffeeJSXEnabled), PushJSXOpeningFragment, $E(JSXMixedChildren), JSXOptionalClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4) {
15332
+ var JSXFragment$0 = $TS($S($N(CoffeeJSXEnabled), PushJSXOpeningFragment, $E(JSXMixedChildren), JSXOptionalClosingFragment, PopJSXStack), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14907
15333
  var open = $2;
14908
15334
  var children = $3;
14909
15335
  var close = $4;
14910
- module.JSXTagStack.pop();
14911
15336
  if (!children)
14912
15337
  return $skip;
14913
15338
  $0 = $0.slice(1);
@@ -14919,7 +15344,7 @@ ${input.slice(result.pos)}
14919
15344
  ];
14920
15345
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
14921
15346
  });
14922
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L165, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15347
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L166, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14923
15348
  var children = $3;
14924
15349
  $0 = $0.slice(1);
14925
15350
  return {
@@ -14950,7 +15375,7 @@ ${input.slice(result.pos)}
14950
15375
  return result;
14951
15376
  }
14952
15377
  }
14953
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L165, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
15378
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L166, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
14954
15379
  module.JSXTagStack.push("");
14955
15380
  return $1;
14956
15381
  });
@@ -15004,7 +15429,7 @@ ${input.slice(result.pos)}
15004
15429
  return result;
15005
15430
  }
15006
15431
  }
15007
- var JSXClosingFragment$0 = $EXPECT($L166, fail, 'JSXClosingFragment "</>"');
15432
+ var JSXClosingFragment$0 = $EXPECT($L167, fail, 'JSXClosingFragment "</>"');
15008
15433
  function JSXClosingFragment(state) {
15009
15434
  let eventData;
15010
15435
  if (state.events) {
@@ -15480,7 +15905,7 @@ ${input.slice(result.pos)}
15480
15905
  return result;
15481
15906
  }
15482
15907
  }
15483
- var InlineJSXUnaryOp$0 = $TR($EXPECT($R9, fail, "InlineJSXUnaryOp /[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15908
+ var InlineJSXUnaryOp$0 = $TR($EXPECT($R54, fail, "InlineJSXUnaryOp /[!~+-](?!\\s|[!~+-]*&)/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15484
15909
  return { $loc, token: $0 };
15485
15910
  });
15486
15911
  function InlineJSXUnaryOp(state) {
@@ -15900,7 +16325,7 @@ ${input.slice(result.pos)}
15900
16325
  return result;
15901
16326
  }
15902
16327
  }
15903
- var JSXComment$0 = $TS($S($EXPECT($L167, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L168, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
16328
+ var JSXComment$0 = $TS($S($EXPECT($L168, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L169, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
15904
16329
  return ["{/*", $2, "*/}"];
15905
16330
  });
15906
16331
  function JSXComment(state) {
@@ -15925,7 +16350,7 @@ ${input.slice(result.pos)}
15925
16350
  return result;
15926
16351
  }
15927
16352
  }
15928
- var JSXCommentContent$0 = $TR($EXPECT($R54, fail, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16353
+ var JSXCommentContent$0 = $TR($EXPECT($R55, fail, "JSXCommentContent /(?:-[^-]|[^-]*)*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15929
16354
  return { $loc, token: $0.replace(/\*\//g, "* /") };
15930
16355
  });
15931
16356
  function JSXCommentContent(state) {
@@ -15950,7 +16375,7 @@ ${input.slice(result.pos)}
15950
16375
  return result;
15951
16376
  }
15952
16377
  }
15953
- var JSXText$0 = $TR($EXPECT($R55, fail, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
16378
+ var JSXText$0 = $TR($EXPECT($R56, fail, "JSXText /[^{}<>\\r\\n]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
15954
16379
  return {
15955
16380
  type: "JSXText",
15956
16381
  token: $0,
@@ -16198,7 +16623,7 @@ ${input.slice(result.pos)}
16198
16623
  return result;
16199
16624
  }
16200
16625
  }
16201
- var TypeKeyword$0 = $S($EXPECT($L169, fail, 'TypeKeyword "type"'), NonIdContinue);
16626
+ var TypeKeyword$0 = $S($EXPECT($L170, fail, 'TypeKeyword "type"'), NonIdContinue);
16202
16627
  function TypeKeyword(state) {
16203
16628
  let eventData;
16204
16629
  if (state.events) {
@@ -16221,7 +16646,7 @@ ${input.slice(result.pos)}
16221
16646
  return result;
16222
16647
  }
16223
16648
  }
16224
- var Interface$0 = $S($EXPECT($L170, fail, 'Interface "interface"'), NonIdContinue);
16649
+ var Interface$0 = $S($EXPECT($L171, fail, 'Interface "interface"'), NonIdContinue);
16225
16650
  function Interface(state) {
16226
16651
  let eventData;
16227
16652
  if (state.events) {
@@ -16244,7 +16669,7 @@ ${input.slice(result.pos)}
16244
16669
  return result;
16245
16670
  }
16246
16671
  }
16247
- var Namespace$0 = $S($EXPECT($L171, fail, 'Namespace "namespace"'), NonIdContinue);
16672
+ var Namespace$0 = $S($EXPECT($L172, fail, 'Namespace "namespace"'), NonIdContinue);
16248
16673
  function Namespace(state) {
16249
16674
  let eventData;
16250
16675
  if (state.events) {
@@ -16492,7 +16917,7 @@ ${input.slice(result.pos)}
16492
16917
  return result;
16493
16918
  }
16494
16919
  }
16495
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R56, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L139, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R57, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
16920
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R57, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L140, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R58, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
16496
16921
  function TypeIndexSignature(state) {
16497
16922
  let eventData;
16498
16923
  if (state.events) {
@@ -16564,7 +16989,7 @@ ${input.slice(result.pos)}
16564
16989
  return result;
16565
16990
  }
16566
16991
  }
16567
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L172, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16992
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L173, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
16568
16993
  const children = [...$1, $2];
16569
16994
  if ($3)
16570
16995
  children.push($3);
@@ -16723,10 +17148,10 @@ ${input.slice(result.pos)}
16723
17148
  return result;
16724
17149
  }
16725
17150
  }
16726
- var TypeUnaryOp$0 = $S($EXPECT($L173, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
16727
- var TypeUnaryOp$1 = $S($EXPECT($L155, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
16728
- var TypeUnaryOp$2 = $S($EXPECT($L174, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
16729
- var TypeUnaryOp$3 = $S($EXPECT($L139, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
17151
+ var TypeUnaryOp$0 = $S($EXPECT($L174, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
17152
+ var TypeUnaryOp$1 = $S($EXPECT($L156, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
17153
+ var TypeUnaryOp$2 = $S($EXPECT($L175, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
17154
+ var TypeUnaryOp$3 = $S($EXPECT($L140, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
16730
17155
  function TypeUnaryOp(state) {
16731
17156
  let eventData;
16732
17157
  if (state.events) {
@@ -16779,7 +17204,7 @@ ${input.slice(result.pos)}
16779
17204
  var TypePrimary$4 = $S($E(_), ImportType);
16780
17205
  var TypePrimary$5 = $S($E(_), TypeLiteral);
16781
17206
  var TypePrimary$6 = $S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments));
16782
- var TypePrimary$7 = $S(__, OpenParen, Type, __, CloseParen);
17207
+ var TypePrimary$7 = $S(__, OpenParen, $C(Type, $S(EOS, Type)), __, CloseParen);
16783
17208
  function TypePrimary(state) {
16784
17209
  let eventData;
16785
17210
  if (state.events) {
@@ -16924,7 +17349,7 @@ ${input.slice(result.pos)}
16924
17349
  return result;
16925
17350
  }
16926
17351
  }
16927
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L118, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
17352
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L119, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
16928
17353
  if ($2)
16929
17354
  return $0;
16930
17355
  return $1;
@@ -16953,10 +17378,10 @@ ${input.slice(result.pos)}
16953
17378
  }
16954
17379
  var TypeLiteral$0 = TemplateLiteral;
16955
17380
  var TypeLiteral$1 = Literal;
16956
- var TypeLiteral$2 = $TS($S($EXPECT($L159, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
17381
+ var TypeLiteral$2 = $TS($S($EXPECT($L160, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
16957
17382
  return { $loc, token: "void" };
16958
17383
  });
16959
- var TypeLiteral$3 = $TV($EXPECT($L175, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
17384
+ var TypeLiteral$3 = $TV($EXPECT($L176, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
16960
17385
  return { $loc, token: "[]" };
16961
17386
  });
16962
17387
  function TypeLiteral(state) {
@@ -17140,7 +17565,7 @@ ${input.slice(result.pos)}
17140
17565
  return result;
17141
17566
  }
17142
17567
  }
17143
- var TypeArguments$0 = $TS($S($EXPECT($L130, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
17568
+ var TypeArguments$0 = $TS($S($EXPECT($L131, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L29, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
17144
17569
  return { ts: true, children: $0 };
17145
17570
  });
17146
17571
  function TypeArguments(state) {
@@ -17211,7 +17636,7 @@ ${input.slice(result.pos)}
17211
17636
  return result;
17212
17637
  }
17213
17638
  }
17214
- var TypeParameters$0 = $TS($S(__, $EXPECT($L130, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17639
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L131, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L29, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
17215
17640
  var parameters = $3;
17216
17641
  return {
17217
17642
  type: "TypeParameters",
@@ -17265,7 +17690,7 @@ ${input.slice(result.pos)}
17265
17690
  return result;
17266
17691
  }
17267
17692
  }
17268
- var TypeConstraint$0 = $S(__, $EXPECT($L118, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17693
+ var TypeConstraint$0 = $S(__, $EXPECT($L119, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
17269
17694
  function TypeConstraint(state) {
17270
17695
  let eventData;
17271
17696
  if (state.events) {
@@ -17363,7 +17788,7 @@ ${input.slice(result.pos)}
17363
17788
  return result;
17364
17789
  }
17365
17790
  }
17366
- var Shebang$0 = $S($R$0($EXPECT($R58, fail, "Shebang /#![^\\r\\n]*/")), EOL);
17791
+ var Shebang$0 = $S($R$0($EXPECT($R59, fail, "Shebang /#![^\\r\\n]*/")), EOL);
17367
17792
  function Shebang(state) {
17368
17793
  let eventData;
17369
17794
  if (state.events) {
@@ -17386,11 +17811,11 @@ ${input.slice(result.pos)}
17386
17811
  return result;
17387
17812
  }
17388
17813
  }
17389
- var CivetPrologue$0 = $T($S($EXPECT($R59, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(SimpleStatementDelimiter), $E(EOS)), function(value) {
17814
+ var CivetPrologue$0 = $T($S($EXPECT($R60, fail, "CivetPrologue /[\\t ]*/"), DoubleQuote, CivetPrologueContent, DoubleQuote, $TEXT(SimpleStatementDelimiter), $E(EOS)), function(value) {
17390
17815
  var content = value[2];
17391
17816
  return content;
17392
17817
  });
17393
- var CivetPrologue$1 = $T($S($EXPECT($R59, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(SimpleStatementDelimiter), $E(EOS)), function(value) {
17818
+ var CivetPrologue$1 = $T($S($EXPECT($R60, fail, "CivetPrologue /[\\t ]*/"), SingleQuote, CivetPrologueContent, SingleQuote, $TEXT(SimpleStatementDelimiter), $E(EOS)), function(value) {
17394
17819
  var content = value[2];
17395
17820
  return content;
17396
17821
  });
@@ -17416,7 +17841,7 @@ ${input.slice(result.pos)}
17416
17841
  return result;
17417
17842
  }
17418
17843
  }
17419
- var CivetPrologueContent$0 = $TS($S($EXPECT($L176, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R60, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
17844
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L177, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R61, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
17420
17845
  var options = $3;
17421
17846
  return {
17422
17847
  type: "CivetPrologue",
@@ -17446,7 +17871,7 @@ ${input.slice(result.pos)}
17446
17871
  return result;
17447
17872
  }
17448
17873
  }
17449
- var CivetOption$0 = $TR($EXPECT($R61, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17874
+ var CivetOption$0 = $TR($EXPECT($R62, fail, "CivetOption /\\s+([+-]?)([a-zA-Z0-9-]+)(\\s*=\\s*([a-zA-Z0-9.+-]*))?/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17450
17875
  const optionName = $2.replace(/-+([a-z]?)/g, (_2, l) => {
17451
17876
  if (l)
17452
17877
  return l.toUpperCase();
@@ -17482,7 +17907,7 @@ ${input.slice(result.pos)}
17482
17907
  return result;
17483
17908
  }
17484
17909
  }
17485
- var UnknownPrologue$0 = $S($R$0($EXPECT($R59, fail, "UnknownPrologue /[\\t ]*/")), StringLiteral, $TEXT(SimpleStatementDelimiter), EOS);
17910
+ var UnknownPrologue$0 = $S($R$0($EXPECT($R60, fail, "UnknownPrologue /[\\t ]*/")), StringLiteral, $TEXT(SimpleStatementDelimiter), EOS);
17486
17911
  function UnknownPrologue(state) {
17487
17912
  let eventData;
17488
17913
  if (state.events) {
@@ -17552,7 +17977,7 @@ ${input.slice(result.pos)}
17552
17977
  return result;
17553
17978
  }
17554
17979
  }
17555
- var EOL$0 = $TR($EXPECT($R62, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17980
+ var EOL$0 = $TR($EXPECT($R63, fail, "EOL /\\r\\n|\\n|\\r|$/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
17556
17981
  return { $loc, token: $0 };
17557
17982
  });
17558
17983
  function EOL(state) {
@@ -18435,7 +18860,9 @@ ${input.slice(result.pos)}
18435
18860
  level: 0,
18436
18861
  token: ""
18437
18862
  }];
18438
- module.suppressTrailingMemberProperty = [false];
18863
+ module.forbidIndentedApplication = [false];
18864
+ module.forbidTrailingMemberProperty = [false];
18865
+ module.forbidMultiLineImplicitObjectLiteral = [false];
18439
18866
  module.JSXTagStack = [];
18440
18867
  module.operators = /* @__PURE__ */ new Set();
18441
18868
  if (!module._init) {
@@ -18447,9 +18874,21 @@ ${input.slice(result.pos)}
18447
18874
  return l[l.length - 1];
18448
18875
  }
18449
18876
  },
18450
- trailingMemberPropertySuppressed: {
18877
+ indentedApplicationForbidden: {
18878
+ get() {
18879
+ const { forbidIndentedApplication: s } = module;
18880
+ return s[s.length - 1];
18881
+ }
18882
+ },
18883
+ trailingMemberPropertyForbidden: {
18884
+ get() {
18885
+ const { forbidTrailingMemberProperty: s } = module;
18886
+ return s[s.length - 1];
18887
+ }
18888
+ },
18889
+ multiLineImplicitObjectLiteralForbidden: {
18451
18890
  get() {
18452
- const { suppressTrailingMemberProperty: s } = module;
18891
+ const { forbidMultiLineImplicitObjectLiteral: s } = module;
18453
18892
  return s[s.length - 1];
18454
18893
  }
18455
18894
  },
@@ -19581,7 +20020,7 @@ ${input.slice(result.pos)}
19581
20020
  }
19582
20021
  function processAssignments(statements) {
19583
20022
  gatherRecursiveAll(statements, (n) => n.type === "AssignmentExpression" && n.names === null).forEach((exp) => {
19584
- let { lhs: $12, exp: $22 } = exp, pre = [], tail = [], i = 0, len = $12.length;
20023
+ let { lhs: $12, exp: $22 } = exp, tail = [], i = 0, len = $12.length;
19585
20024
  if ($12.some((left) => left[left.length - 1].special)) {
19586
20025
  if ($12.length !== 1) {
19587
20026
  throw new Error("Only one assignment with id= is allowed");
@@ -19591,17 +20030,6 @@ ${input.slice(result.pos)}
19591
20030
  op[op.length - 1] = "=";
19592
20031
  $22 = [call, "(", lhs, ", ", $22, ")"];
19593
20032
  }
19594
- $12.forEach((lhsPart, i2) => {
19595
- let expr = lhsPart[1];
19596
- while (expr.type === "ParenthesizedExpression") {
19597
- expr = expr.expression;
19598
- }
19599
- if (expr.type === "AssignmentExpression") {
19600
- pre.push([lhsPart[1], ", "]);
19601
- const newLhs = expr.lhs[0][1];
19602
- lhsPart[1] = newLhs;
19603
- }
19604
- });
19605
20033
  let wrapped = false;
19606
20034
  while (i < len) {
19607
20035
  const lastAssignment = $12[i++];
@@ -19652,9 +20080,49 @@ ${input.slice(result.pos)}
19652
20080
  i--;
19653
20081
  }
19654
20082
  const names = $12.flatMap(([, l]) => l.names || []);
19655
- exp.children = [...pre, $12, $22, ...tail];
20083
+ exp.children = [$12, $22, ...tail];
19656
20084
  exp.names = names;
19657
20085
  });
20086
+ gatherRecursiveAll(statements, (n) => n.type === "AssignmentExpression" || n.type === "UpdateExpression").forEach((exp) => {
20087
+ function extractAssignment(lhs) {
20088
+ let expr = lhs;
20089
+ while (expr.type === "ParenthesizedExpression") {
20090
+ expr = expr.expression;
20091
+ }
20092
+ if (expr.type === "AssignmentExpression" || expr.type === "UpdateExpression") {
20093
+ if (expr.type === "UpdateExpression" && expr.children[0] === expr.assigned) {
20094
+ post.push([", ", lhs]);
20095
+ } else {
20096
+ pre.push([lhs, ", "]);
20097
+ }
20098
+ return expr.assigned;
20099
+ }
20100
+ }
20101
+ const pre = [], post = [];
20102
+ switch (exp.type) {
20103
+ case "AssignmentExpression":
20104
+ if (!exp.lhs)
20105
+ return;
20106
+ exp.lhs.forEach((lhsPart, i) => {
20107
+ let newLhs2 = extractAssignment(lhsPart[1]);
20108
+ if (newLhs2) {
20109
+ lhsPart[1] = newLhs2;
20110
+ }
20111
+ });
20112
+ break;
20113
+ case "UpdateExpression":
20114
+ let newLhs = extractAssignment(exp.assigned);
20115
+ if (newLhs) {
20116
+ const i = exp.children.indexOf(exp.assigned);
20117
+ exp.assigned = exp.children[i] = newLhs;
20118
+ }
20119
+ break;
20120
+ }
20121
+ if (pre.length)
20122
+ exp.children.unshift(...pre);
20123
+ if (post.length)
20124
+ exp.children.push(...post);
20125
+ });
19658
20126
  }
19659
20127
  function checkSpliceRef(statements) {
19660
20128
  const spliceRef = module.getRef("splice");
@@ -20301,7 +20769,7 @@ ${input.slice(result.pos)}
20301
20769
  return result;
20302
20770
  }
20303
20771
  }
20304
- var Indent$0 = $TR($EXPECT($R63, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
20772
+ var Indent$0 = $TR($EXPECT($R64, fail, "Indent /[ \\t]*/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
20305
20773
  let level;
20306
20774
  if (module.config.tab) {
20307
20775
  const tabs = $0.match(/\t/g);
@@ -20957,7 +21425,7 @@ ${input.slice(result.pos)}
20957
21425
  var uncacheable;
20958
21426
  ({ parse } = import_parser.default);
20959
21427
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
20960
- 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", "NonSingleBracedBlock", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
21428
+ uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowIndentedApplication", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidIndentedApplication", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
20961
21429
  var compile = function(src, options) {
20962
21430
  var ast, code, events, filename, ref, result, sm, srcMapJSON;
20963
21431
  if (!options) {