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