@danielx/civet 0.5.30 → 0.5.32

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/main.mjs CHANGED
@@ -526,6 +526,8 @@ ${input.slice(result.pos)}
526
526
  FunctionDeclaration,
527
527
  FunctionSignature,
528
528
  FunctionExpression,
529
+ AmpersandBlockRHS,
530
+ AmpersandUnaryPrefix,
529
531
  ThinArrowFunction,
530
532
  Arrow,
531
533
  ExplicitBlock,
@@ -634,6 +636,7 @@ ${input.slice(result.pos)}
634
636
  NoExpressions,
635
637
  ImpliedColon,
636
638
  TryStatement,
639
+ TryExpression,
637
640
  CatchClause,
638
641
  CatchBind,
639
642
  Finally,
@@ -1014,89 +1017,88 @@ ${input.slice(result.pos)}
1014
1017
  var $L82 = $L("debugger");
1015
1018
  var $L83 = $L("default");
1016
1019
  var $L84 = $L(":=");
1017
- var $L85 = $L("::=");
1018
- var $L86 = $L(".=");
1019
- var $L87 = $L("/*");
1020
- var $L88 = $L("*/");
1021
- var $L89 = $L("\\");
1022
- var $L90 = $L("abstract");
1023
- var $L91 = $L("as");
1024
- var $L92 = $L("@");
1025
- var $L93 = $L("@@");
1026
- var $L94 = $L("async");
1027
- var $L95 = $L("await");
1028
- var $L96 = $L("`");
1029
- var $L97 = $L("by");
1030
- var $L98 = $L("case");
1031
- var $L99 = $L("catch");
1032
- var $L100 = $L("class");
1033
- var $L101 = $L("#{");
1034
- var $L102 = $L("delete");
1035
- var $L103 = $L("do");
1036
- var $L104 = $L("..");
1037
- var $L105 = $L("...");
1038
- var $L106 = $L("::");
1039
- var $L107 = $L('"');
1040
- var $L108 = $L("else");
1041
- var $L109 = $L("export");
1042
- var $L110 = $L("extends");
1043
- var $L111 = $L("for");
1044
- var $L112 = $L("from");
1045
- var $L113 = $L("function");
1046
- var $L114 = $L("get");
1047
- var $L115 = $L("set");
1048
- var $L116 = $L("if");
1049
- var $L117 = $L("let");
1050
- var $L118 = $L("const");
1051
- var $L119 = $L("loop");
1052
- var $L120 = $L("new");
1053
- var $L121 = $L("<");
1054
- var $L122 = $L("{");
1055
- var $L123 = $L("[");
1056
- var $L124 = $L("(");
1057
- var $L125 = $L("public");
1058
- var $L126 = $L("private");
1059
- var $L127 = $L("protected");
1060
- var $L128 = $L("|>");
1061
- var $L129 = $L("readonly");
1062
- var $L130 = $L("return");
1063
- var $L131 = $L("satisfies");
1064
- var $L132 = $L("'");
1065
- var $L133 = $L("static");
1066
- var $L134 = $L("${");
1067
- var $L135 = $L("switch");
1068
- var $L136 = $L("target");
1069
- var $L137 = $L("then");
1070
- var $L138 = $L("this");
1071
- var $L139 = $L("throw");
1072
- var $L140 = $L('"""');
1073
- var $L141 = $L("'''");
1074
- var $L142 = $L("///");
1075
- var $L143 = $L("```");
1076
- var $L144 = $L("try");
1077
- var $L145 = $L("typeof");
1078
- var $L146 = $L("unless");
1079
- var $L147 = $L("until");
1080
- var $L148 = $L("var");
1081
- var $L149 = $L("void");
1082
- var $L150 = $L("when");
1083
- var $L151 = $L("while");
1084
- var $L152 = $L("yield");
1085
- var $L153 = $L("/>");
1086
- var $L154 = $L("</");
1087
- var $L155 = $L("<>");
1088
- var $L156 = $L("</>");
1089
- var $L157 = $L("<!--");
1090
- var $L158 = $L("-->");
1091
- var $L159 = $L("declare");
1092
- var $L160 = $L("type");
1093
- var $L161 = $L("interface");
1094
- var $L162 = $L("namespace");
1095
- var $L163 = $L("asserts");
1096
- var $L164 = $L("keyof");
1097
- var $L165 = $L("infer");
1098
- var $L166 = $L("[]");
1099
- var $L167 = $L("civet");
1020
+ var $L85 = $L(".=");
1021
+ var $L86 = $L("/*");
1022
+ var $L87 = $L("*/");
1023
+ var $L88 = $L("\\");
1024
+ var $L89 = $L("abstract");
1025
+ var $L90 = $L("as");
1026
+ var $L91 = $L("@");
1027
+ var $L92 = $L("@@");
1028
+ var $L93 = $L("async");
1029
+ var $L94 = $L("await");
1030
+ var $L95 = $L("`");
1031
+ var $L96 = $L("by");
1032
+ var $L97 = $L("case");
1033
+ var $L98 = $L("catch");
1034
+ var $L99 = $L("class");
1035
+ var $L100 = $L("#{");
1036
+ var $L101 = $L("delete");
1037
+ var $L102 = $L("do");
1038
+ var $L103 = $L("..");
1039
+ var $L104 = $L("...");
1040
+ var $L105 = $L("::");
1041
+ var $L106 = $L('"');
1042
+ var $L107 = $L("else");
1043
+ var $L108 = $L("export");
1044
+ var $L109 = $L("extends");
1045
+ var $L110 = $L("for");
1046
+ var $L111 = $L("from");
1047
+ var $L112 = $L("function");
1048
+ var $L113 = $L("get");
1049
+ var $L114 = $L("set");
1050
+ var $L115 = $L("if");
1051
+ var $L116 = $L("let");
1052
+ var $L117 = $L("const");
1053
+ var $L118 = $L("loop");
1054
+ var $L119 = $L("new");
1055
+ var $L120 = $L("<");
1056
+ var $L121 = $L("{");
1057
+ var $L122 = $L("[");
1058
+ var $L123 = $L("(");
1059
+ var $L124 = $L("public");
1060
+ var $L125 = $L("private");
1061
+ var $L126 = $L("protected");
1062
+ var $L127 = $L("|>");
1063
+ var $L128 = $L("readonly");
1064
+ var $L129 = $L("return");
1065
+ var $L130 = $L("satisfies");
1066
+ var $L131 = $L("'");
1067
+ var $L132 = $L("static");
1068
+ var $L133 = $L("${");
1069
+ var $L134 = $L("switch");
1070
+ var $L135 = $L("target");
1071
+ var $L136 = $L("then");
1072
+ var $L137 = $L("this");
1073
+ var $L138 = $L("throw");
1074
+ var $L139 = $L('"""');
1075
+ var $L140 = $L("'''");
1076
+ var $L141 = $L("///");
1077
+ var $L142 = $L("```");
1078
+ var $L143 = $L("try");
1079
+ var $L144 = $L("typeof");
1080
+ var $L145 = $L("unless");
1081
+ var $L146 = $L("until");
1082
+ var $L147 = $L("var");
1083
+ var $L148 = $L("void");
1084
+ var $L149 = $L("when");
1085
+ var $L150 = $L("while");
1086
+ var $L151 = $L("yield");
1087
+ var $L152 = $L("/>");
1088
+ var $L153 = $L("</");
1089
+ var $L154 = $L("<>");
1090
+ var $L155 = $L("</>");
1091
+ var $L156 = $L("<!--");
1092
+ var $L157 = $L("-->");
1093
+ var $L158 = $L("declare");
1094
+ var $L159 = $L("type");
1095
+ var $L160 = $L("interface");
1096
+ var $L161 = $L("namespace");
1097
+ var $L162 = $L("asserts");
1098
+ var $L163 = $L("keyof");
1099
+ var $L164 = $L("infer");
1100
+ var $L165 = $L("[]");
1101
+ var $L166 = $L("civet");
1100
1102
  var $R0 = $R(new RegExp("(for|of|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1101
1103
  var $R1 = $R(new RegExp("[&]", "suy"));
1102
1104
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
@@ -1293,6 +1295,7 @@ ${input.slice(result.pos)}
1293
1295
  var ExpressionizedStatement$3 = IterationExpression;
1294
1296
  var ExpressionizedStatement$4 = SwitchExpression;
1295
1297
  var ExpressionizedStatement$5 = ThrowExpression;
1298
+ var ExpressionizedStatement$6 = TryExpression;
1296
1299
  function ExpressionizedStatement(state) {
1297
1300
  let eventData;
1298
1301
  if (state.events) {
@@ -1304,12 +1307,12 @@ ${input.slice(result.pos)}
1304
1307
  }
1305
1308
  }
1306
1309
  if (state.tokenize) {
1307
- const result = $TOKEN("ExpressionizedStatement", state, ExpressionizedStatement$0(state) || ExpressionizedStatement$1(state) || ExpressionizedStatement$2(state) || ExpressionizedStatement$3(state) || ExpressionizedStatement$4(state) || ExpressionizedStatement$5(state));
1310
+ const result = $TOKEN("ExpressionizedStatement", state, ExpressionizedStatement$0(state) || ExpressionizedStatement$1(state) || ExpressionizedStatement$2(state) || ExpressionizedStatement$3(state) || ExpressionizedStatement$4(state) || ExpressionizedStatement$5(state) || ExpressionizedStatement$6(state));
1308
1311
  if (state.events)
1309
1312
  state.events.exit?.("ExpressionizedStatement", state, result, eventData);
1310
1313
  return result;
1311
1314
  } else {
1312
- const result = ExpressionizedStatement$0(state) || ExpressionizedStatement$1(state) || ExpressionizedStatement$2(state) || ExpressionizedStatement$3(state) || ExpressionizedStatement$4(state) || ExpressionizedStatement$5(state);
1315
+ const result = ExpressionizedStatement$0(state) || ExpressionizedStatement$1(state) || ExpressionizedStatement$2(state) || ExpressionizedStatement$3(state) || ExpressionizedStatement$4(state) || ExpressionizedStatement$5(state) || ExpressionizedStatement$6(state);
1313
1316
  if (state.events)
1314
1317
  state.events.exit?.("ExpressionizedStatement", state, result, eventData);
1315
1318
  return result;
@@ -4282,25 +4285,32 @@ ${input.slice(result.pos)}
4282
4285
  block
4283
4286
  };
4284
4287
  });
4285
- var FunctionExpression$1 = $TS($S(Ampersand, $N(_), $P(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
4286
- $1.token = "$ => $";
4287
- return {
4288
- type: "ArrowFunction",
4289
- children: [$1, $3]
4290
- };
4291
- });
4292
- var FunctionExpression$2 = $TS($S(Ampersand, $N($EXPECT($R1, fail, "FunctionExpression /[&]/")), $P(BinaryOpRHS)), function($skip, $loc, $0, $1, $2, $3) {
4293
- $1.token = "$ => $";
4294
- const exp = module.processBinaryOpExpression([$1, $3]);
4295
- return {
4296
- type: "ArrowFunction",
4297
- children: exp
4298
- };
4299
- });
4300
- var FunctionExpression$3 = $TS($S($EXPECT($R2, fail, "FunctionExpression /[!~+-]+/"), Ampersand), function($skip, $loc, $0, $1, $2) {
4288
+ var FunctionExpression$1 = $TS($S($E(AmpersandUnaryPrefix), Ampersand, $E(AmpersandBlockRHS)), function($skip, $loc, $0, $1, $2, $3) {
4289
+ var prefix = $1;
4290
+ var rhs = $3;
4291
+ if (!prefix && !rhs)
4292
+ return $skip;
4293
+ if (!rhs) {
4294
+ const ref2 = {
4295
+ type: "Ref",
4296
+ base: "$",
4297
+ id: "$"
4298
+ };
4299
+ return {
4300
+ type: "ArrowFunction",
4301
+ children: [ref2, " => ", prefix, ref2]
4302
+ };
4303
+ }
4304
+ const { ref } = rhs;
4305
+ if (!prefix) {
4306
+ return {
4307
+ type: "ArrowFunction",
4308
+ children: [ref, " => ", rhs]
4309
+ };
4310
+ }
4301
4311
  return {
4302
4312
  type: "ArrowFunction",
4303
- children: ["$ => ", $1, "$"]
4313
+ children: [ref, " => ", prefix, rhs]
4304
4314
  };
4305
4315
  });
4306
4316
  function FunctionExpression(state) {
@@ -4314,17 +4324,89 @@ ${input.slice(result.pos)}
4314
4324
  }
4315
4325
  }
4316
4326
  if (state.tokenize) {
4317
- const result = $TOKEN("FunctionExpression", state, FunctionExpression$0(state) || FunctionExpression$1(state) || FunctionExpression$2(state) || FunctionExpression$3(state));
4327
+ const result = $TOKEN("FunctionExpression", state, FunctionExpression$0(state) || FunctionExpression$1(state));
4318
4328
  if (state.events)
4319
4329
  state.events.exit?.("FunctionExpression", state, result, eventData);
4320
4330
  return result;
4321
4331
  } else {
4322
- const result = FunctionExpression$0(state) || FunctionExpression$1(state) || FunctionExpression$2(state) || FunctionExpression$3(state);
4332
+ const result = FunctionExpression$0(state) || FunctionExpression$1(state);
4323
4333
  if (state.events)
4324
4334
  state.events.exit?.("FunctionExpression", state, result, eventData);
4325
4335
  return result;
4326
4336
  }
4327
4337
  }
4338
+ var AmpersandBlockRHS$0 = $TS($S($E($S($N(_), $P(CallExpressionRest))), $E($S($N($EXPECT($R1, fail, "AmpersandBlockRHS /[&]/")), $P(BinaryOpRHS)))), function($skip, $loc, $0, $1, $2) {
4339
+ var callExpRest = $1;
4340
+ var binopRHS = $2;
4341
+ if (!callExpRest && !binopRHS)
4342
+ return $skip;
4343
+ const ref = {
4344
+ type: "Ref",
4345
+ base: "$",
4346
+ id: "$"
4347
+ };
4348
+ const exp = {
4349
+ type: "AmpersandRef",
4350
+ children: [ref],
4351
+ names: [],
4352
+ ref
4353
+ };
4354
+ if (callExpRest) {
4355
+ exp.children.push(...callExpRest[1]);
4356
+ }
4357
+ if (binopRHS) {
4358
+ return {
4359
+ children: module.processBinaryOpExpression([exp, binopRHS[1]]),
4360
+ ref
4361
+ };
4362
+ }
4363
+ return exp;
4364
+ });
4365
+ function AmpersandBlockRHS(state) {
4366
+ let eventData;
4367
+ if (state.events) {
4368
+ const result = state.events.enter?.("AmpersandBlockRHS", state);
4369
+ if (result) {
4370
+ if (result.cache)
4371
+ return result.cache;
4372
+ eventData = result.data;
4373
+ }
4374
+ }
4375
+ if (state.tokenize) {
4376
+ const result = $TOKEN("AmpersandBlockRHS", state, AmpersandBlockRHS$0(state));
4377
+ if (state.events)
4378
+ state.events.exit?.("AmpersandBlockRHS", state, result, eventData);
4379
+ return result;
4380
+ } else {
4381
+ const result = AmpersandBlockRHS$0(state);
4382
+ if (state.events)
4383
+ state.events.exit?.("AmpersandBlockRHS", state, result, eventData);
4384
+ return result;
4385
+ }
4386
+ }
4387
+ var AmpersandUnaryPrefix$0 = $R$0($EXPECT($R2, fail, "AmpersandUnaryPrefix /[!~+-]+/"));
4388
+ function AmpersandUnaryPrefix(state) {
4389
+ let eventData;
4390
+ if (state.events) {
4391
+ const result = state.events.enter?.("AmpersandUnaryPrefix", state);
4392
+ if (result) {
4393
+ if (result.cache)
4394
+ return result.cache;
4395
+ eventData = result.data;
4396
+ }
4397
+ }
4398
+ if (state.tokenize) {
4399
+ const result = $TOKEN("AmpersandUnaryPrefix", state, AmpersandUnaryPrefix$0(state));
4400
+ if (state.events)
4401
+ state.events.exit?.("AmpersandUnaryPrefix", state, result, eventData);
4402
+ return result;
4403
+ } else {
4404
+ const result = AmpersandUnaryPrefix$0(state);
4405
+ if (state.events)
4406
+ state.events.exit?.("AmpersandUnaryPrefix", state, result, eventData);
4407
+ return result;
4408
+ }
4409
+ }
4328
4410
  var ThinArrowFunction$0 = $TS($S(Parameters, $E(ReturnTypeSuffix), $Q(_), Arrow, BracedOrEmptyBlock), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4329
4411
  var parameters = $1;
4330
4412
  var suffix = $2;
@@ -8112,6 +8194,36 @@ ${input.slice(result.pos)}
8112
8194
  return result;
8113
8195
  }
8114
8196
  }
8197
+ var TryExpression$0 = $TV(TryStatement, function($skip, $loc, $0, $1) {
8198
+ var t = $0;
8199
+ return {
8200
+ type: "TryExpression",
8201
+ blocks: [t.children[1], t.children[2]?.[3]],
8202
+ children: ["(()=>{", t, "})()"]
8203
+ };
8204
+ });
8205
+ function TryExpression(state) {
8206
+ let eventData;
8207
+ if (state.events) {
8208
+ const result = state.events.enter?.("TryExpression", state);
8209
+ if (result) {
8210
+ if (result.cache)
8211
+ return result.cache;
8212
+ eventData = result.data;
8213
+ }
8214
+ }
8215
+ if (state.tokenize) {
8216
+ const result = $TOKEN("TryExpression", state, TryExpression$0(state));
8217
+ if (state.events)
8218
+ state.events.exit?.("TryExpression", state, result, eventData);
8219
+ return result;
8220
+ } else {
8221
+ const result = TryExpression$0(state);
8222
+ if (state.events)
8223
+ state.events.exit?.("TryExpression", state, result, eventData);
8224
+ return result;
8225
+ }
8226
+ }
8115
8227
  var CatchClause$0 = $S(__, Catch, $E(CatchBind), BracedBlock);
8116
8228
  function CatchClause(state) {
8117
8229
  let eventData;
@@ -9172,10 +9284,7 @@ ${input.slice(result.pos)}
9172
9284
  return result;
9173
9285
  }
9174
9286
  }
9175
- var LetAssignment$0 = $TV($EXPECT($L85, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
9176
- return { $loc, token: "=" };
9177
- });
9178
- var LetAssignment$1 = $TV($EXPECT($L86, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9287
+ var LetAssignment$0 = $TV($EXPECT($L85, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9179
9288
  return { $loc, token: "=" };
9180
9289
  });
9181
9290
  function LetAssignment(state) {
@@ -9189,12 +9298,12 @@ ${input.slice(result.pos)}
9189
9298
  }
9190
9299
  }
9191
9300
  if (state.tokenize) {
9192
- const result = $TOKEN("LetAssignment", state, LetAssignment$0(state) || LetAssignment$1(state));
9301
+ const result = $TOKEN("LetAssignment", state, LetAssignment$0(state));
9193
9302
  if (state.events)
9194
9303
  state.events.exit?.("LetAssignment", state, result, eventData);
9195
9304
  return result;
9196
9305
  } else {
9197
- const result = LetAssignment$0(state) || LetAssignment$1(state);
9306
+ const result = LetAssignment$0(state);
9198
9307
  if (state.events)
9199
9308
  state.events.exit?.("LetAssignment", state, result, eventData);
9200
9309
  return result;
@@ -10349,7 +10458,7 @@ ${input.slice(result.pos)}
10349
10458
  return result;
10350
10459
  }
10351
10460
  }
10352
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L87, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L88, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L88, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10461
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L86, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L87, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L87, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10353
10462
  return { $loc, token: $1 };
10354
10463
  });
10355
10464
  function JSMultiLineComment(state) {
@@ -10399,7 +10508,7 @@ ${input.slice(result.pos)}
10399
10508
  return result;
10400
10509
  }
10401
10510
  }
10402
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L88, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10511
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L87, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10403
10512
  return { $loc, token: `/*${$2}*/` };
10404
10513
  });
10405
10514
  function CoffeeMultiLineComment(state) {
@@ -10447,7 +10556,7 @@ ${input.slice(result.pos)}
10447
10556
  return result;
10448
10557
  }
10449
10558
  }
10450
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L87, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L88, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L88, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10559
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L86, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L87, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L87, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10451
10560
  return { $loc, token: $1 };
10452
10561
  });
10453
10562
  function InlineComment(state) {
@@ -10546,7 +10655,7 @@ ${input.slice(result.pos)}
10546
10655
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10547
10656
  return { $loc, token: $0 };
10548
10657
  });
10549
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L89, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10658
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L88, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10550
10659
  return "";
10551
10660
  });
10552
10661
  function NonNewlineWhitespace(state) {
@@ -10747,7 +10856,7 @@ ${input.slice(result.pos)}
10747
10856
  return result;
10748
10857
  }
10749
10858
  }
10750
- var Abstract$0 = $TV($TEXT($S($EXPECT($L90, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
10859
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L89, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
10751
10860
  return { $loc, token: $1, ts: true };
10752
10861
  });
10753
10862
  function Abstract(state) {
@@ -10797,7 +10906,7 @@ ${input.slice(result.pos)}
10797
10906
  return result;
10798
10907
  }
10799
10908
  }
10800
- var As$0 = $TS($S($EXPECT($L91, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10909
+ var As$0 = $TS($S($EXPECT($L90, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10801
10910
  return { $loc, token: $1 };
10802
10911
  });
10803
10912
  function As(state) {
@@ -10822,7 +10931,7 @@ ${input.slice(result.pos)}
10822
10931
  return result;
10823
10932
  }
10824
10933
  }
10825
- var At$0 = $TV($EXPECT($L92, fail, 'At "@"'), function($skip, $loc, $0, $1) {
10934
+ var At$0 = $TV($EXPECT($L91, fail, 'At "@"'), function($skip, $loc, $0, $1) {
10826
10935
  return { $loc, token: $1 };
10827
10936
  });
10828
10937
  function At(state) {
@@ -10847,7 +10956,7 @@ ${input.slice(result.pos)}
10847
10956
  return result;
10848
10957
  }
10849
10958
  }
10850
- var AtAt$0 = $TV($EXPECT($L93, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
10959
+ var AtAt$0 = $TV($EXPECT($L92, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
10851
10960
  return { $loc, token: "@" };
10852
10961
  });
10853
10962
  function AtAt(state) {
@@ -10872,7 +10981,7 @@ ${input.slice(result.pos)}
10872
10981
  return result;
10873
10982
  }
10874
10983
  }
10875
- var Async$0 = $TS($S($EXPECT($L94, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10984
+ var Async$0 = $TS($S($EXPECT($L93, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10876
10985
  return { $loc, token: $1, type: "Async" };
10877
10986
  });
10878
10987
  function Async(state) {
@@ -10897,7 +11006,7 @@ ${input.slice(result.pos)}
10897
11006
  return result;
10898
11007
  }
10899
11008
  }
10900
- var Await$0 = $TS($S($EXPECT($L95, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11009
+ var Await$0 = $TS($S($EXPECT($L94, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10901
11010
  return { $loc, token: $1 };
10902
11011
  });
10903
11012
  function Await(state) {
@@ -10922,7 +11031,7 @@ ${input.slice(result.pos)}
10922
11031
  return result;
10923
11032
  }
10924
11033
  }
10925
- var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11034
+ var Backtick$0 = $TV($EXPECT($L95, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
10926
11035
  return { $loc, token: $1 };
10927
11036
  });
10928
11037
  function Backtick(state) {
@@ -10947,7 +11056,7 @@ ${input.slice(result.pos)}
10947
11056
  return result;
10948
11057
  }
10949
11058
  }
10950
- var By$0 = $TS($S($EXPECT($L97, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11059
+ var By$0 = $TS($S($EXPECT($L96, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10951
11060
  return { $loc, token: $1 };
10952
11061
  });
10953
11062
  function By(state) {
@@ -10972,7 +11081,7 @@ ${input.slice(result.pos)}
10972
11081
  return result;
10973
11082
  }
10974
11083
  }
10975
- var Case$0 = $TS($S($EXPECT($L98, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11084
+ var Case$0 = $TS($S($EXPECT($L97, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10976
11085
  return { $loc, token: $1 };
10977
11086
  });
10978
11087
  function Case(state) {
@@ -10997,7 +11106,7 @@ ${input.slice(result.pos)}
10997
11106
  return result;
10998
11107
  }
10999
11108
  }
11000
- var Catch$0 = $TS($S($EXPECT($L99, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11109
+ var Catch$0 = $TS($S($EXPECT($L98, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11001
11110
  return { $loc, token: $1 };
11002
11111
  });
11003
11112
  function Catch(state) {
@@ -11022,7 +11131,7 @@ ${input.slice(result.pos)}
11022
11131
  return result;
11023
11132
  }
11024
11133
  }
11025
- var Class$0 = $TS($S($EXPECT($L100, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11134
+ var Class$0 = $TS($S($EXPECT($L99, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11026
11135
  return { $loc, token: $1 };
11027
11136
  });
11028
11137
  function Class(state) {
@@ -11122,7 +11231,7 @@ ${input.slice(result.pos)}
11122
11231
  return result;
11123
11232
  }
11124
11233
  }
11125
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L101, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11234
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L100, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11126
11235
  return { $loc, token: "${" };
11127
11236
  });
11128
11237
  function CoffeeSubstitutionStart(state) {
@@ -11172,7 +11281,7 @@ ${input.slice(result.pos)}
11172
11281
  return result;
11173
11282
  }
11174
11283
  }
11175
- var ConstructorShorthand$0 = $TV($EXPECT($L92, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11284
+ var ConstructorShorthand$0 = $TV($EXPECT($L91, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11176
11285
  return { $loc, token: "constructor" };
11177
11286
  });
11178
11287
  function ConstructorShorthand(state) {
@@ -11222,7 +11331,7 @@ ${input.slice(result.pos)}
11222
11331
  return result;
11223
11332
  }
11224
11333
  }
11225
- var Delete$0 = $TS($S($EXPECT($L102, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11334
+ var Delete$0 = $TS($S($EXPECT($L101, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11226
11335
  return { $loc, token: $1 };
11227
11336
  });
11228
11337
  function Delete(state) {
@@ -11247,7 +11356,7 @@ ${input.slice(result.pos)}
11247
11356
  return result;
11248
11357
  }
11249
11358
  }
11250
- var Do$0 = $TS($S($EXPECT($L103, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11359
+ var Do$0 = $TS($S($EXPECT($L102, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11251
11360
  return { $loc, token: $1 };
11252
11361
  });
11253
11362
  function Do(state) {
@@ -11297,7 +11406,7 @@ ${input.slice(result.pos)}
11297
11406
  return result;
11298
11407
  }
11299
11408
  }
11300
- var DotDot$0 = $TV($EXPECT($L104, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11409
+ var DotDot$0 = $TV($EXPECT($L103, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11301
11410
  return { $loc, token: $1 };
11302
11411
  });
11303
11412
  function DotDot(state) {
@@ -11322,7 +11431,7 @@ ${input.slice(result.pos)}
11322
11431
  return result;
11323
11432
  }
11324
11433
  }
11325
- var DotDotDot$0 = $TV($EXPECT($L105, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11434
+ var DotDotDot$0 = $TV($EXPECT($L104, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11326
11435
  return { $loc, token: $1 };
11327
11436
  });
11328
11437
  function DotDotDot(state) {
@@ -11347,7 +11456,7 @@ ${input.slice(result.pos)}
11347
11456
  return result;
11348
11457
  }
11349
11458
  }
11350
- var DoubleColon$0 = $TV($EXPECT($L106, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11459
+ var DoubleColon$0 = $TV($EXPECT($L105, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11351
11460
  return { $loc, token: $1 };
11352
11461
  });
11353
11462
  function DoubleColon(state) {
@@ -11372,7 +11481,7 @@ ${input.slice(result.pos)}
11372
11481
  return result;
11373
11482
  }
11374
11483
  }
11375
- var DoubleQuote$0 = $TV($EXPECT($L107, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11484
+ var DoubleQuote$0 = $TV($EXPECT($L106, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11376
11485
  return { $loc, token: $1 };
11377
11486
  });
11378
11487
  function DoubleQuote(state) {
@@ -11397,7 +11506,7 @@ ${input.slice(result.pos)}
11397
11506
  return result;
11398
11507
  }
11399
11508
  }
11400
- var Else$0 = $TS($S($EXPECT($L108, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11509
+ var Else$0 = $TS($S($EXPECT($L107, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11401
11510
  return { $loc, token: $1 };
11402
11511
  });
11403
11512
  function Else(state) {
@@ -11447,7 +11556,7 @@ ${input.slice(result.pos)}
11447
11556
  return result;
11448
11557
  }
11449
11558
  }
11450
- var Export$0 = $TS($S($EXPECT($L109, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11559
+ var Export$0 = $TS($S($EXPECT($L108, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11451
11560
  return { $loc, token: $1 };
11452
11561
  });
11453
11562
  function Export(state) {
@@ -11472,7 +11581,7 @@ ${input.slice(result.pos)}
11472
11581
  return result;
11473
11582
  }
11474
11583
  }
11475
- var Extends$0 = $TS($S($EXPECT($L110, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11584
+ var Extends$0 = $TS($S($EXPECT($L109, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11476
11585
  return { $loc, token: $1 };
11477
11586
  });
11478
11587
  function Extends(state) {
@@ -11497,7 +11606,7 @@ ${input.slice(result.pos)}
11497
11606
  return result;
11498
11607
  }
11499
11608
  }
11500
- var For$0 = $TS($S($EXPECT($L111, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11609
+ var For$0 = $TS($S($EXPECT($L110, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11501
11610
  return { $loc, token: $1 };
11502
11611
  });
11503
11612
  function For(state) {
@@ -11522,7 +11631,7 @@ ${input.slice(result.pos)}
11522
11631
  return result;
11523
11632
  }
11524
11633
  }
11525
- var From$0 = $TS($S($EXPECT($L112, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11634
+ var From$0 = $TS($S($EXPECT($L111, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11526
11635
  return { $loc, token: $1 };
11527
11636
  });
11528
11637
  function From(state) {
@@ -11547,7 +11656,7 @@ ${input.slice(result.pos)}
11547
11656
  return result;
11548
11657
  }
11549
11658
  }
11550
- var Function$0 = $TS($S($EXPECT($L113, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11659
+ var Function$0 = $TS($S($EXPECT($L112, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11551
11660
  return { $loc, token: $1 };
11552
11661
  });
11553
11662
  function Function(state) {
@@ -11572,7 +11681,7 @@ ${input.slice(result.pos)}
11572
11681
  return result;
11573
11682
  }
11574
11683
  }
11575
- var GetOrSet$0 = $TS($S($C($EXPECT($L114, fail, 'GetOrSet "get"'), $EXPECT($L115, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11684
+ var GetOrSet$0 = $TS($S($C($EXPECT($L113, fail, 'GetOrSet "get"'), $EXPECT($L114, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11576
11685
  return { $loc, token: $1, type: "GetOrSet" };
11577
11686
  });
11578
11687
  function GetOrSet(state) {
@@ -11597,7 +11706,7 @@ ${input.slice(result.pos)}
11597
11706
  return result;
11598
11707
  }
11599
11708
  }
11600
- var If$0 = $TV($TEXT($S($EXPECT($L116, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
11709
+ var If$0 = $TV($TEXT($S($EXPECT($L115, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
11601
11710
  return { $loc, token: $1 };
11602
11711
  });
11603
11712
  function If(state) {
@@ -11672,7 +11781,7 @@ ${input.slice(result.pos)}
11672
11781
  return result;
11673
11782
  }
11674
11783
  }
11675
- var LetOrConst$0 = $TS($S($C($EXPECT($L117, fail, 'LetOrConst "let"'), $EXPECT($L118, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11784
+ var LetOrConst$0 = $TS($S($C($EXPECT($L116, fail, 'LetOrConst "let"'), $EXPECT($L117, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11676
11785
  return { $loc, token: $1 };
11677
11786
  });
11678
11787
  function LetOrConst(state) {
@@ -11697,7 +11806,7 @@ ${input.slice(result.pos)}
11697
11806
  return result;
11698
11807
  }
11699
11808
  }
11700
- var Loop$0 = $TS($S($EXPECT($L119, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11809
+ var Loop$0 = $TS($S($EXPECT($L118, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11701
11810
  return { $loc, token: "while(true)" };
11702
11811
  });
11703
11812
  function Loop(state) {
@@ -11722,7 +11831,7 @@ ${input.slice(result.pos)}
11722
11831
  return result;
11723
11832
  }
11724
11833
  }
11725
- var New$0 = $TS($S($EXPECT($L120, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11834
+ var New$0 = $TS($S($EXPECT($L119, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11726
11835
  return { $loc, token: $1 };
11727
11836
  });
11728
11837
  function New(state) {
@@ -11797,7 +11906,7 @@ ${input.slice(result.pos)}
11797
11906
  return result;
11798
11907
  }
11799
11908
  }
11800
- var OpenAngleBracket$0 = $TV($EXPECT($L121, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
11909
+ var OpenAngleBracket$0 = $TV($EXPECT($L120, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
11801
11910
  return { $loc, token: $1 };
11802
11911
  });
11803
11912
  function OpenAngleBracket(state) {
@@ -11822,7 +11931,7 @@ ${input.slice(result.pos)}
11822
11931
  return result;
11823
11932
  }
11824
11933
  }
11825
- var OpenBrace$0 = $TV($EXPECT($L122, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
11934
+ var OpenBrace$0 = $TV($EXPECT($L121, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
11826
11935
  return { $loc, token: $1 };
11827
11936
  });
11828
11937
  function OpenBrace(state) {
@@ -11847,7 +11956,7 @@ ${input.slice(result.pos)}
11847
11956
  return result;
11848
11957
  }
11849
11958
  }
11850
- var OpenBracket$0 = $TV($EXPECT($L123, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
11959
+ var OpenBracket$0 = $TV($EXPECT($L122, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
11851
11960
  return { $loc, token: $1 };
11852
11961
  });
11853
11962
  function OpenBracket(state) {
@@ -11872,7 +11981,7 @@ ${input.slice(result.pos)}
11872
11981
  return result;
11873
11982
  }
11874
11983
  }
11875
- var OpenParen$0 = $TV($EXPECT($L124, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
11984
+ var OpenParen$0 = $TV($EXPECT($L123, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
11876
11985
  return { $loc, token: $1 };
11877
11986
  });
11878
11987
  function OpenParen(state) {
@@ -11897,7 +12006,7 @@ ${input.slice(result.pos)}
11897
12006
  return result;
11898
12007
  }
11899
12008
  }
11900
- var Public$0 = $TS($S($EXPECT($L125, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12009
+ var Public$0 = $TS($S($EXPECT($L124, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11901
12010
  return { $loc, token: $1 };
11902
12011
  });
11903
12012
  function Public(state) {
@@ -11922,7 +12031,7 @@ ${input.slice(result.pos)}
11922
12031
  return result;
11923
12032
  }
11924
12033
  }
11925
- var Private$0 = $TS($S($EXPECT($L126, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12034
+ var Private$0 = $TS($S($EXPECT($L125, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11926
12035
  return { $loc, token: $1 };
11927
12036
  });
11928
12037
  function Private(state) {
@@ -11947,7 +12056,7 @@ ${input.slice(result.pos)}
11947
12056
  return result;
11948
12057
  }
11949
12058
  }
11950
- var Protected$0 = $TS($S($EXPECT($L127, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12059
+ var Protected$0 = $TS($S($EXPECT($L126, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11951
12060
  return { $loc, token: $1 };
11952
12061
  });
11953
12062
  function Protected(state) {
@@ -11972,7 +12081,7 @@ ${input.slice(result.pos)}
11972
12081
  return result;
11973
12082
  }
11974
12083
  }
11975
- var Pipe$0 = $TV($EXPECT($L128, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12084
+ var Pipe$0 = $TV($EXPECT($L127, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
11976
12085
  return { $loc, token: $1 };
11977
12086
  });
11978
12087
  function Pipe(state) {
@@ -12022,7 +12131,7 @@ ${input.slice(result.pos)}
12022
12131
  return result;
12023
12132
  }
12024
12133
  }
12025
- var Readonly$0 = $TS($S($EXPECT($L129, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12134
+ var Readonly$0 = $TS($S($EXPECT($L128, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12026
12135
  return { $loc, token: $1, ts: true };
12027
12136
  });
12028
12137
  function Readonly(state) {
@@ -12047,7 +12156,7 @@ ${input.slice(result.pos)}
12047
12156
  return result;
12048
12157
  }
12049
12158
  }
12050
- var Return$0 = $TS($S($EXPECT($L130, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12159
+ var Return$0 = $TS($S($EXPECT($L129, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12051
12160
  return { $loc, token: $1 };
12052
12161
  });
12053
12162
  function Return(state) {
@@ -12072,7 +12181,7 @@ ${input.slice(result.pos)}
12072
12181
  return result;
12073
12182
  }
12074
12183
  }
12075
- var Satisfies$0 = $TS($S($EXPECT($L131, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12184
+ var Satisfies$0 = $TS($S($EXPECT($L130, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12076
12185
  return { $loc, token: $1 };
12077
12186
  });
12078
12187
  function Satisfies(state) {
@@ -12122,7 +12231,7 @@ ${input.slice(result.pos)}
12122
12231
  return result;
12123
12232
  }
12124
12233
  }
12125
- var SingleQuote$0 = $TV($EXPECT($L132, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12234
+ var SingleQuote$0 = $TV($EXPECT($L131, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12126
12235
  return { $loc, token: $1 };
12127
12236
  });
12128
12237
  function SingleQuote(state) {
@@ -12172,10 +12281,10 @@ ${input.slice(result.pos)}
12172
12281
  return result;
12173
12282
  }
12174
12283
  }
12175
- var Static$0 = $TS($S($EXPECT($L133, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12284
+ var Static$0 = $TS($S($EXPECT($L132, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12176
12285
  return { $loc, token: $1 };
12177
12286
  });
12178
- var Static$1 = $TS($S($EXPECT($L92, fail, 'Static "@"'), $N($C($EXPECT($L124, fail, 'Static "("'), $EXPECT($L92, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12287
+ var Static$1 = $TS($S($EXPECT($L91, fail, 'Static "@"'), $N($C($EXPECT($L123, fail, 'Static "("'), $EXPECT($L91, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12179
12288
  return { $loc, token: "static " };
12180
12289
  });
12181
12290
  function Static(state) {
@@ -12200,7 +12309,7 @@ ${input.slice(result.pos)}
12200
12309
  return result;
12201
12310
  }
12202
12311
  }
12203
- var SubstitutionStart$0 = $TV($EXPECT($L134, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12312
+ var SubstitutionStart$0 = $TV($EXPECT($L133, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12204
12313
  return { $loc, token: $1 };
12205
12314
  });
12206
12315
  function SubstitutionStart(state) {
@@ -12225,7 +12334,7 @@ ${input.slice(result.pos)}
12225
12334
  return result;
12226
12335
  }
12227
12336
  }
12228
- var Switch$0 = $TS($S($EXPECT($L135, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12337
+ var Switch$0 = $TS($S($EXPECT($L134, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12229
12338
  return { $loc, token: $1 };
12230
12339
  });
12231
12340
  function Switch(state) {
@@ -12250,7 +12359,7 @@ ${input.slice(result.pos)}
12250
12359
  return result;
12251
12360
  }
12252
12361
  }
12253
- var Target$0 = $TS($S($EXPECT($L136, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12362
+ var Target$0 = $TS($S($EXPECT($L135, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12254
12363
  return { $loc, token: $1 };
12255
12364
  });
12256
12365
  function Target(state) {
@@ -12275,7 +12384,7 @@ ${input.slice(result.pos)}
12275
12384
  return result;
12276
12385
  }
12277
12386
  }
12278
- var Then$0 = $TS($S(__, $EXPECT($L137, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12387
+ var Then$0 = $TS($S(__, $EXPECT($L136, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12279
12388
  return { $loc, token: "" };
12280
12389
  });
12281
12390
  function Then(state) {
@@ -12300,7 +12409,7 @@ ${input.slice(result.pos)}
12300
12409
  return result;
12301
12410
  }
12302
12411
  }
12303
- var This$0 = $TS($S($EXPECT($L138, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12412
+ var This$0 = $TS($S($EXPECT($L137, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12304
12413
  return { $loc, token: $1 };
12305
12414
  });
12306
12415
  function This(state) {
@@ -12325,7 +12434,7 @@ ${input.slice(result.pos)}
12325
12434
  return result;
12326
12435
  }
12327
12436
  }
12328
- var Throw$0 = $TS($S($EXPECT($L139, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12437
+ var Throw$0 = $TS($S($EXPECT($L138, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12329
12438
  return { $loc, token: $1 };
12330
12439
  });
12331
12440
  function Throw(state) {
@@ -12350,7 +12459,7 @@ ${input.slice(result.pos)}
12350
12459
  return result;
12351
12460
  }
12352
12461
  }
12353
- var TripleDoubleQuote$0 = $TV($EXPECT($L140, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12462
+ var TripleDoubleQuote$0 = $TV($EXPECT($L139, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12354
12463
  return { $loc, token: "`" };
12355
12464
  });
12356
12465
  function TripleDoubleQuote(state) {
@@ -12375,7 +12484,7 @@ ${input.slice(result.pos)}
12375
12484
  return result;
12376
12485
  }
12377
12486
  }
12378
- var TripleSingleQuote$0 = $TV($EXPECT($L141, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12487
+ var TripleSingleQuote$0 = $TV($EXPECT($L140, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12379
12488
  return { $loc, token: "`" };
12380
12489
  });
12381
12490
  function TripleSingleQuote(state) {
@@ -12400,7 +12509,7 @@ ${input.slice(result.pos)}
12400
12509
  return result;
12401
12510
  }
12402
12511
  }
12403
- var TripleSlash$0 = $TV($EXPECT($L142, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12512
+ var TripleSlash$0 = $TV($EXPECT($L141, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12404
12513
  return { $loc, token: "/" };
12405
12514
  });
12406
12515
  function TripleSlash(state) {
@@ -12425,7 +12534,7 @@ ${input.slice(result.pos)}
12425
12534
  return result;
12426
12535
  }
12427
12536
  }
12428
- var TripleTick$0 = $TV($EXPECT($L143, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12537
+ var TripleTick$0 = $TV($EXPECT($L142, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12429
12538
  return { $loc, token: "`" };
12430
12539
  });
12431
12540
  function TripleTick(state) {
@@ -12450,7 +12559,7 @@ ${input.slice(result.pos)}
12450
12559
  return result;
12451
12560
  }
12452
12561
  }
12453
- var Try$0 = $TS($S($EXPECT($L144, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12562
+ var Try$0 = $TS($S($EXPECT($L143, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12454
12563
  return { $loc, token: $1 };
12455
12564
  });
12456
12565
  function Try(state) {
@@ -12475,7 +12584,7 @@ ${input.slice(result.pos)}
12475
12584
  return result;
12476
12585
  }
12477
12586
  }
12478
- var Typeof$0 = $TS($S($EXPECT($L145, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12587
+ var Typeof$0 = $TS($S($EXPECT($L144, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12479
12588
  return { $loc, token: $1 };
12480
12589
  });
12481
12590
  function Typeof(state) {
@@ -12500,7 +12609,7 @@ ${input.slice(result.pos)}
12500
12609
  return result;
12501
12610
  }
12502
12611
  }
12503
- var Unless$0 = $TS($S($EXPECT($L146, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12612
+ var Unless$0 = $TS($S($EXPECT($L145, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12504
12613
  return { $loc, token: $1 };
12505
12614
  });
12506
12615
  function Unless(state) {
@@ -12525,7 +12634,7 @@ ${input.slice(result.pos)}
12525
12634
  return result;
12526
12635
  }
12527
12636
  }
12528
- var Until$0 = $TS($S($EXPECT($L147, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12637
+ var Until$0 = $TS($S($EXPECT($L146, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12529
12638
  return { $loc, token: $1 };
12530
12639
  });
12531
12640
  function Until(state) {
@@ -12550,7 +12659,7 @@ ${input.slice(result.pos)}
12550
12659
  return result;
12551
12660
  }
12552
12661
  }
12553
- var Var$0 = $TS($S($EXPECT($L148, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12662
+ var Var$0 = $TS($S($EXPECT($L147, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12554
12663
  return { $loc, token: $1 };
12555
12664
  });
12556
12665
  function Var(state) {
@@ -12575,7 +12684,7 @@ ${input.slice(result.pos)}
12575
12684
  return result;
12576
12685
  }
12577
12686
  }
12578
- var Void$0 = $TS($S($EXPECT($L149, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12687
+ var Void$0 = $TS($S($EXPECT($L148, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12579
12688
  return { $loc, token: $1 };
12580
12689
  });
12581
12690
  function Void(state) {
@@ -12600,7 +12709,7 @@ ${input.slice(result.pos)}
12600
12709
  return result;
12601
12710
  }
12602
12711
  }
12603
- var When$0 = $TS($S($EXPECT($L150, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12712
+ var When$0 = $TS($S($EXPECT($L149, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12604
12713
  return { $loc, token: "case" };
12605
12714
  });
12606
12715
  function When(state) {
@@ -12625,7 +12734,7 @@ ${input.slice(result.pos)}
12625
12734
  return result;
12626
12735
  }
12627
12736
  }
12628
- var While$0 = $TS($S($EXPECT($L151, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12737
+ var While$0 = $TS($S($EXPECT($L150, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12629
12738
  return { $loc, token: $1 };
12630
12739
  });
12631
12740
  function While(state) {
@@ -12650,7 +12759,7 @@ ${input.slice(result.pos)}
12650
12759
  return result;
12651
12760
  }
12652
12761
  }
12653
- var Yield$0 = $TS($S($EXPECT($L152, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12762
+ var Yield$0 = $TS($S($EXPECT($L151, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12654
12763
  return { $loc, token: $1 };
12655
12764
  });
12656
12765
  function Yield(state) {
@@ -12782,7 +12891,7 @@ ${input.slice(result.pos)}
12782
12891
  return result;
12783
12892
  }
12784
12893
  }
12785
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L121, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L153, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
12894
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L120, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L152, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
12786
12895
  return { type: "JSXElement", children: $0 };
12787
12896
  });
12788
12897
  function JSXSelfClosingElement(state) {
@@ -12807,7 +12916,7 @@ ${input.slice(result.pos)}
12807
12916
  return result;
12808
12917
  }
12809
12918
  }
12810
- var JSXOpeningElement$0 = $S($EXPECT($L121, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
12919
+ var JSXOpeningElement$0 = $S($EXPECT($L120, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
12811
12920
  function JSXOpeningElement(state) {
12812
12921
  let eventData;
12813
12922
  if (state.events) {
@@ -12830,7 +12939,7 @@ ${input.slice(result.pos)}
12830
12939
  return result;
12831
12940
  }
12832
12941
  }
12833
- var JSXClosingElement$0 = $S($EXPECT($L154, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L25, fail, 'JSXClosingElement ">"'));
12942
+ var JSXClosingElement$0 = $S($EXPECT($L153, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L25, fail, 'JSXClosingElement ">"'));
12834
12943
  function JSXClosingElement(state) {
12835
12944
  let eventData;
12836
12945
  if (state.events) {
@@ -12853,14 +12962,14 @@ ${input.slice(result.pos)}
12853
12962
  return result;
12854
12963
  }
12855
12964
  }
12856
- var JSXFragment$0 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), $EXPECT($L156, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12965
+ var JSXFragment$0 = $TS($S($EXPECT($L154, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), $EXPECT($L155, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12857
12966
  if ($2) {
12858
12967
  return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
12859
12968
  } else {
12860
12969
  return { type: "JSXFragment", children: $0, jsxChildren: [] };
12861
12970
  }
12862
12971
  });
12863
- var JSXFragment$1 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
12972
+ var JSXFragment$1 = $TS($S($EXPECT($L154, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
12864
12973
  return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
12865
12974
  });
12866
12975
  function JSXFragment(state) {
@@ -13685,7 +13794,7 @@ ${input.slice(result.pos)}
13685
13794
  return result;
13686
13795
  }
13687
13796
  }
13688
- var JSXComment$0 = $TS($S($EXPECT($L157, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L158, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
13797
+ var JSXComment$0 = $TS($S($EXPECT($L156, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L157, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
13689
13798
  return ["{/*", $2, "*/}"];
13690
13799
  });
13691
13800
  function JSXComment(state) {
@@ -13862,7 +13971,7 @@ ${input.slice(result.pos)}
13862
13971
  return result;
13863
13972
  }
13864
13973
  }
13865
- var TypeDeclarationModifier$0 = $S($EXPECT($L159, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
13974
+ var TypeDeclarationModifier$0 = $S($EXPECT($L158, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
13866
13975
  var TypeDeclarationModifier$1 = Export;
13867
13976
  function TypeDeclarationModifier(state) {
13868
13977
  let eventData;
@@ -13912,7 +14021,7 @@ ${input.slice(result.pos)}
13912
14021
  return result;
13913
14022
  }
13914
14023
  }
13915
- var TypeKeyword$0 = $S($EXPECT($L160, fail, 'TypeKeyword "type"'), NonIdContinue);
14024
+ var TypeKeyword$0 = $S($EXPECT($L159, fail, 'TypeKeyword "type"'), NonIdContinue);
13916
14025
  function TypeKeyword(state) {
13917
14026
  let eventData;
13918
14027
  if (state.events) {
@@ -13935,7 +14044,7 @@ ${input.slice(result.pos)}
13935
14044
  return result;
13936
14045
  }
13937
14046
  }
13938
- var Interface$0 = $S($EXPECT($L161, fail, 'Interface "interface"'), NonIdContinue);
14047
+ var Interface$0 = $S($EXPECT($L160, fail, 'Interface "interface"'), NonIdContinue);
13939
14048
  function Interface(state) {
13940
14049
  let eventData;
13941
14050
  if (state.events) {
@@ -13958,7 +14067,7 @@ ${input.slice(result.pos)}
13958
14067
  return result;
13959
14068
  }
13960
14069
  }
13961
- var Namespace$0 = $S($EXPECT($L162, fail, 'Namespace "namespace"'), NonIdContinue);
14070
+ var Namespace$0 = $S($EXPECT($L161, fail, 'Namespace "namespace"'), NonIdContinue);
13962
14071
  function Namespace(state) {
13963
14072
  let eventData;
13964
14073
  if (state.events) {
@@ -14183,7 +14292,7 @@ ${input.slice(result.pos)}
14183
14292
  return result;
14184
14293
  }
14185
14294
  }
14186
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L129, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14295
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L128, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14187
14296
  function TypeIndexSignature(state) {
14188
14297
  let eventData;
14189
14298
  if (state.events) {
@@ -14255,7 +14364,7 @@ ${input.slice(result.pos)}
14255
14364
  return result;
14256
14365
  }
14257
14366
  }
14258
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L163, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
14367
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L162, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
14259
14368
  const children = [...$1, $2];
14260
14369
  if ($3)
14261
14370
  children.push($3);
@@ -14414,10 +14523,10 @@ ${input.slice(result.pos)}
14414
14523
  return result;
14415
14524
  }
14416
14525
  }
14417
- var TypeUnaryOp$0 = $S($EXPECT($L164, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
14418
- var TypeUnaryOp$1 = $S($EXPECT($L145, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
14419
- var TypeUnaryOp$2 = $S($EXPECT($L165, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
14420
- var TypeUnaryOp$3 = $S($EXPECT($L129, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
14526
+ var TypeUnaryOp$0 = $S($EXPECT($L163, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
14527
+ var TypeUnaryOp$1 = $S($EXPECT($L144, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
14528
+ var TypeUnaryOp$2 = $S($EXPECT($L164, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
14529
+ var TypeUnaryOp$3 = $S($EXPECT($L128, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
14421
14530
  function TypeUnaryOp(state) {
14422
14531
  let eventData;
14423
14532
  if (state.events) {
@@ -14589,7 +14698,7 @@ ${input.slice(result.pos)}
14589
14698
  return result;
14590
14699
  }
14591
14700
  }
14592
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L110, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
14701
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L109, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
14593
14702
  if ($2)
14594
14703
  return $0;
14595
14704
  return $1;
@@ -14618,10 +14727,10 @@ ${input.slice(result.pos)}
14618
14727
  }
14619
14728
  var TypeLiteral$0 = Literal;
14620
14729
  var TypeLiteral$1 = TemplateLiteral;
14621
- var TypeLiteral$2 = $TS($S($EXPECT($L149, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14730
+ var TypeLiteral$2 = $TS($S($EXPECT($L148, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14622
14731
  return { $loc, token: "void" };
14623
14732
  });
14624
- var TypeLiteral$3 = $TV($EXPECT($L166, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
14733
+ var TypeLiteral$3 = $TV($EXPECT($L165, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
14625
14734
  return { $loc, token: "[]" };
14626
14735
  });
14627
14736
  function TypeLiteral(state) {
@@ -14697,7 +14806,7 @@ ${input.slice(result.pos)}
14697
14806
  return result;
14698
14807
  }
14699
14808
  }
14700
- var TypeArguments$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14809
+ var TypeArguments$0 = $TS($S(__, $EXPECT($L120, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14701
14810
  return { ts: true, children: $0 };
14702
14811
  });
14703
14812
  function TypeArguments(state) {
@@ -14722,7 +14831,7 @@ ${input.slice(result.pos)}
14722
14831
  return result;
14723
14832
  }
14724
14833
  }
14725
- var CompactTypeArguments$0 = $TS($S($EXPECT($L121, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
14834
+ var CompactTypeArguments$0 = $TS($S($EXPECT($L120, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
14726
14835
  return { ts: true, children: $0 };
14727
14836
  });
14728
14837
  function CompactTypeArguments(state) {
@@ -14793,7 +14902,7 @@ ${input.slice(result.pos)}
14793
14902
  return result;
14794
14903
  }
14795
14904
  }
14796
- var TypeParameters$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14905
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L120, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14797
14906
  var parameters = $3;
14798
14907
  return {
14799
14908
  type: "TypeParameters",
@@ -14847,7 +14956,7 @@ ${input.slice(result.pos)}
14847
14956
  return result;
14848
14957
  }
14849
14958
  }
14850
- var TypeConstraint$0 = $S(__, $EXPECT($L110, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
14959
+ var TypeConstraint$0 = $S(__, $EXPECT($L109, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
14851
14960
  function TypeConstraint(state) {
14852
14961
  let eventData;
14853
14962
  if (state.events) {
@@ -14973,7 +15082,7 @@ ${input.slice(result.pos)}
14973
15082
  return result;
14974
15083
  }
14975
15084
  }
14976
- var CivetPrologueContent$0 = $TS($S($EXPECT($L167, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
15085
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L166, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
14977
15086
  var options = $3;
14978
15087
  return {
14979
15088
  type: "CivetPrologue",
@@ -16701,6 +16810,13 @@ ${input.slice(result.pos)}
16701
16810
  });
16702
16811
  }
16703
16812
  }
16813
+ function processTryExpressions(statements) {
16814
+ if (module.config.implicitReturns) {
16815
+ gatherRecursiveAll(statements, (n) => n.type === "TryExpression").forEach(({ blocks }) => {
16816
+ blocks.forEach(insertReturn);
16817
+ });
16818
+ }
16819
+ }
16704
16820
  function processBindingPatternLHS(lhs, tail) {
16705
16821
  adjustAtBindings(lhs, true);
16706
16822
  const [splices, thisAssignments] = module.gatherBindingCode(lhs);
@@ -16820,6 +16936,7 @@ ${input.slice(result.pos)}
16820
16936
  processAssignments(statements);
16821
16937
  processFunctions(statements);
16822
16938
  processSwitchExpressions(statements);
16939
+ processTryExpressions(statements);
16823
16940
  gatherRecursiveAll(statements, (n) => n.type === "IterationExpression").forEach((e) => expressionizeIteration(e));
16824
16941
  checkSpliceRef(statements);
16825
16942
  statements.unshift(...module.prelude);