@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.js CHANGED
@@ -528,6 +528,8 @@ ${input.slice(result.pos)}
528
528
  FunctionDeclaration,
529
529
  FunctionSignature,
530
530
  FunctionExpression,
531
+ AmpersandBlockRHS,
532
+ AmpersandUnaryPrefix,
531
533
  ThinArrowFunction,
532
534
  Arrow,
533
535
  ExplicitBlock,
@@ -636,6 +638,7 @@ ${input.slice(result.pos)}
636
638
  NoExpressions,
637
639
  ImpliedColon,
638
640
  TryStatement,
641
+ TryExpression,
639
642
  CatchClause,
640
643
  CatchBind,
641
644
  Finally,
@@ -1016,89 +1019,88 @@ ${input.slice(result.pos)}
1016
1019
  var $L82 = $L("debugger");
1017
1020
  var $L83 = $L("default");
1018
1021
  var $L84 = $L(":=");
1019
- var $L85 = $L("::=");
1020
- var $L86 = $L(".=");
1021
- var $L87 = $L("/*");
1022
- var $L88 = $L("*/");
1023
- var $L89 = $L("\\");
1024
- var $L90 = $L("abstract");
1025
- var $L91 = $L("as");
1026
- var $L92 = $L("@");
1027
- var $L93 = $L("@@");
1028
- var $L94 = $L("async");
1029
- var $L95 = $L("await");
1030
- var $L96 = $L("`");
1031
- var $L97 = $L("by");
1032
- var $L98 = $L("case");
1033
- var $L99 = $L("catch");
1034
- var $L100 = $L("class");
1035
- var $L101 = $L("#{");
1036
- var $L102 = $L("delete");
1037
- var $L103 = $L("do");
1038
- var $L104 = $L("..");
1039
- var $L105 = $L("...");
1040
- var $L106 = $L("::");
1041
- var $L107 = $L('"');
1042
- var $L108 = $L("else");
1043
- var $L109 = $L("export");
1044
- var $L110 = $L("extends");
1045
- var $L111 = $L("for");
1046
- var $L112 = $L("from");
1047
- var $L113 = $L("function");
1048
- var $L114 = $L("get");
1049
- var $L115 = $L("set");
1050
- var $L116 = $L("if");
1051
- var $L117 = $L("let");
1052
- var $L118 = $L("const");
1053
- var $L119 = $L("loop");
1054
- var $L120 = $L("new");
1055
- var $L121 = $L("<");
1056
- var $L122 = $L("{");
1057
- var $L123 = $L("[");
1058
- var $L124 = $L("(");
1059
- var $L125 = $L("public");
1060
- var $L126 = $L("private");
1061
- var $L127 = $L("protected");
1062
- var $L128 = $L("|>");
1063
- var $L129 = $L("readonly");
1064
- var $L130 = $L("return");
1065
- var $L131 = $L("satisfies");
1066
- var $L132 = $L("'");
1067
- var $L133 = $L("static");
1068
- var $L134 = $L("${");
1069
- var $L135 = $L("switch");
1070
- var $L136 = $L("target");
1071
- var $L137 = $L("then");
1072
- var $L138 = $L("this");
1073
- var $L139 = $L("throw");
1074
- var $L140 = $L('"""');
1075
- var $L141 = $L("'''");
1076
- var $L142 = $L("///");
1077
- var $L143 = $L("```");
1078
- var $L144 = $L("try");
1079
- var $L145 = $L("typeof");
1080
- var $L146 = $L("unless");
1081
- var $L147 = $L("until");
1082
- var $L148 = $L("var");
1083
- var $L149 = $L("void");
1084
- var $L150 = $L("when");
1085
- var $L151 = $L("while");
1086
- var $L152 = $L("yield");
1087
- var $L153 = $L("/>");
1088
- var $L154 = $L("</");
1089
- var $L155 = $L("<>");
1090
- var $L156 = $L("</>");
1091
- var $L157 = $L("<!--");
1092
- var $L158 = $L("-->");
1093
- var $L159 = $L("declare");
1094
- var $L160 = $L("type");
1095
- var $L161 = $L("interface");
1096
- var $L162 = $L("namespace");
1097
- var $L163 = $L("asserts");
1098
- var $L164 = $L("keyof");
1099
- var $L165 = $L("infer");
1100
- var $L166 = $L("[]");
1101
- var $L167 = $L("civet");
1022
+ var $L85 = $L(".=");
1023
+ var $L86 = $L("/*");
1024
+ var $L87 = $L("*/");
1025
+ var $L88 = $L("\\");
1026
+ var $L89 = $L("abstract");
1027
+ var $L90 = $L("as");
1028
+ var $L91 = $L("@");
1029
+ var $L92 = $L("@@");
1030
+ var $L93 = $L("async");
1031
+ var $L94 = $L("await");
1032
+ var $L95 = $L("`");
1033
+ var $L96 = $L("by");
1034
+ var $L97 = $L("case");
1035
+ var $L98 = $L("catch");
1036
+ var $L99 = $L("class");
1037
+ var $L100 = $L("#{");
1038
+ var $L101 = $L("delete");
1039
+ var $L102 = $L("do");
1040
+ var $L103 = $L("..");
1041
+ var $L104 = $L("...");
1042
+ var $L105 = $L("::");
1043
+ var $L106 = $L('"');
1044
+ var $L107 = $L("else");
1045
+ var $L108 = $L("export");
1046
+ var $L109 = $L("extends");
1047
+ var $L110 = $L("for");
1048
+ var $L111 = $L("from");
1049
+ var $L112 = $L("function");
1050
+ var $L113 = $L("get");
1051
+ var $L114 = $L("set");
1052
+ var $L115 = $L("if");
1053
+ var $L116 = $L("let");
1054
+ var $L117 = $L("const");
1055
+ var $L118 = $L("loop");
1056
+ var $L119 = $L("new");
1057
+ var $L120 = $L("<");
1058
+ var $L121 = $L("{");
1059
+ var $L122 = $L("[");
1060
+ var $L123 = $L("(");
1061
+ var $L124 = $L("public");
1062
+ var $L125 = $L("private");
1063
+ var $L126 = $L("protected");
1064
+ var $L127 = $L("|>");
1065
+ var $L128 = $L("readonly");
1066
+ var $L129 = $L("return");
1067
+ var $L130 = $L("satisfies");
1068
+ var $L131 = $L("'");
1069
+ var $L132 = $L("static");
1070
+ var $L133 = $L("${");
1071
+ var $L134 = $L("switch");
1072
+ var $L135 = $L("target");
1073
+ var $L136 = $L("then");
1074
+ var $L137 = $L("this");
1075
+ var $L138 = $L("throw");
1076
+ var $L139 = $L('"""');
1077
+ var $L140 = $L("'''");
1078
+ var $L141 = $L("///");
1079
+ var $L142 = $L("```");
1080
+ var $L143 = $L("try");
1081
+ var $L144 = $L("typeof");
1082
+ var $L145 = $L("unless");
1083
+ var $L146 = $L("until");
1084
+ var $L147 = $L("var");
1085
+ var $L148 = $L("void");
1086
+ var $L149 = $L("when");
1087
+ var $L150 = $L("while");
1088
+ var $L151 = $L("yield");
1089
+ var $L152 = $L("/>");
1090
+ var $L153 = $L("</");
1091
+ var $L154 = $L("<>");
1092
+ var $L155 = $L("</>");
1093
+ var $L156 = $L("<!--");
1094
+ var $L157 = $L("-->");
1095
+ var $L158 = $L("declare");
1096
+ var $L159 = $L("type");
1097
+ var $L160 = $L("interface");
1098
+ var $L161 = $L("namespace");
1099
+ var $L162 = $L("asserts");
1100
+ var $L163 = $L("keyof");
1101
+ var $L164 = $L("infer");
1102
+ var $L165 = $L("[]");
1103
+ var $L166 = $L("civet");
1102
1104
  var $R0 = $R(new RegExp("(for|of|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1103
1105
  var $R1 = $R(new RegExp("[&]", "suy"));
1104
1106
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
@@ -1295,6 +1297,7 @@ ${input.slice(result.pos)}
1295
1297
  var ExpressionizedStatement$3 = IterationExpression;
1296
1298
  var ExpressionizedStatement$4 = SwitchExpression;
1297
1299
  var ExpressionizedStatement$5 = ThrowExpression;
1300
+ var ExpressionizedStatement$6 = TryExpression;
1298
1301
  function ExpressionizedStatement(state) {
1299
1302
  let eventData;
1300
1303
  if (state.events) {
@@ -1306,12 +1309,12 @@ ${input.slice(result.pos)}
1306
1309
  }
1307
1310
  }
1308
1311
  if (state.tokenize) {
1309
- const result = $TOKEN("ExpressionizedStatement", state, ExpressionizedStatement$0(state) || ExpressionizedStatement$1(state) || ExpressionizedStatement$2(state) || ExpressionizedStatement$3(state) || ExpressionizedStatement$4(state) || ExpressionizedStatement$5(state));
1312
+ 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));
1310
1313
  if (state.events)
1311
1314
  state.events.exit?.("ExpressionizedStatement", state, result, eventData);
1312
1315
  return result;
1313
1316
  } else {
1314
- const result = ExpressionizedStatement$0(state) || ExpressionizedStatement$1(state) || ExpressionizedStatement$2(state) || ExpressionizedStatement$3(state) || ExpressionizedStatement$4(state) || ExpressionizedStatement$5(state);
1317
+ const result = ExpressionizedStatement$0(state) || ExpressionizedStatement$1(state) || ExpressionizedStatement$2(state) || ExpressionizedStatement$3(state) || ExpressionizedStatement$4(state) || ExpressionizedStatement$5(state) || ExpressionizedStatement$6(state);
1315
1318
  if (state.events)
1316
1319
  state.events.exit?.("ExpressionizedStatement", state, result, eventData);
1317
1320
  return result;
@@ -4284,25 +4287,32 @@ ${input.slice(result.pos)}
4284
4287
  block
4285
4288
  };
4286
4289
  });
4287
- var FunctionExpression$1 = $TS($S(Ampersand, $N(_), $P(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
4288
- $1.token = "$ => $";
4289
- return {
4290
- type: "ArrowFunction",
4291
- children: [$1, $3]
4292
- };
4293
- });
4294
- var FunctionExpression$2 = $TS($S(Ampersand, $N($EXPECT($R1, fail, "FunctionExpression /[&]/")), $P(BinaryOpRHS)), function($skip, $loc, $0, $1, $2, $3) {
4295
- $1.token = "$ => $";
4296
- const exp = module2.processBinaryOpExpression([$1, $3]);
4297
- return {
4298
- type: "ArrowFunction",
4299
- children: exp
4300
- };
4301
- });
4302
- var FunctionExpression$3 = $TS($S($EXPECT($R2, fail, "FunctionExpression /[!~+-]+/"), Ampersand), function($skip, $loc, $0, $1, $2) {
4290
+ var FunctionExpression$1 = $TS($S($E(AmpersandUnaryPrefix), Ampersand, $E(AmpersandBlockRHS)), function($skip, $loc, $0, $1, $2, $3) {
4291
+ var prefix = $1;
4292
+ var rhs = $3;
4293
+ if (!prefix && !rhs)
4294
+ return $skip;
4295
+ if (!rhs) {
4296
+ const ref2 = {
4297
+ type: "Ref",
4298
+ base: "$",
4299
+ id: "$"
4300
+ };
4301
+ return {
4302
+ type: "ArrowFunction",
4303
+ children: [ref2, " => ", prefix, ref2]
4304
+ };
4305
+ }
4306
+ const { ref } = rhs;
4307
+ if (!prefix) {
4308
+ return {
4309
+ type: "ArrowFunction",
4310
+ children: [ref, " => ", rhs]
4311
+ };
4312
+ }
4303
4313
  return {
4304
4314
  type: "ArrowFunction",
4305
- children: ["$ => ", $1, "$"]
4315
+ children: [ref, " => ", prefix, rhs]
4306
4316
  };
4307
4317
  });
4308
4318
  function FunctionExpression(state) {
@@ -4316,17 +4326,89 @@ ${input.slice(result.pos)}
4316
4326
  }
4317
4327
  }
4318
4328
  if (state.tokenize) {
4319
- const result = $TOKEN("FunctionExpression", state, FunctionExpression$0(state) || FunctionExpression$1(state) || FunctionExpression$2(state) || FunctionExpression$3(state));
4329
+ const result = $TOKEN("FunctionExpression", state, FunctionExpression$0(state) || FunctionExpression$1(state));
4320
4330
  if (state.events)
4321
4331
  state.events.exit?.("FunctionExpression", state, result, eventData);
4322
4332
  return result;
4323
4333
  } else {
4324
- const result = FunctionExpression$0(state) || FunctionExpression$1(state) || FunctionExpression$2(state) || FunctionExpression$3(state);
4334
+ const result = FunctionExpression$0(state) || FunctionExpression$1(state);
4325
4335
  if (state.events)
4326
4336
  state.events.exit?.("FunctionExpression", state, result, eventData);
4327
4337
  return result;
4328
4338
  }
4329
4339
  }
4340
+ 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) {
4341
+ var callExpRest = $1;
4342
+ var binopRHS = $2;
4343
+ if (!callExpRest && !binopRHS)
4344
+ return $skip;
4345
+ const ref = {
4346
+ type: "Ref",
4347
+ base: "$",
4348
+ id: "$"
4349
+ };
4350
+ const exp = {
4351
+ type: "AmpersandRef",
4352
+ children: [ref],
4353
+ names: [],
4354
+ ref
4355
+ };
4356
+ if (callExpRest) {
4357
+ exp.children.push(...callExpRest[1]);
4358
+ }
4359
+ if (binopRHS) {
4360
+ return {
4361
+ children: module2.processBinaryOpExpression([exp, binopRHS[1]]),
4362
+ ref
4363
+ };
4364
+ }
4365
+ return exp;
4366
+ });
4367
+ function AmpersandBlockRHS(state) {
4368
+ let eventData;
4369
+ if (state.events) {
4370
+ const result = state.events.enter?.("AmpersandBlockRHS", state);
4371
+ if (result) {
4372
+ if (result.cache)
4373
+ return result.cache;
4374
+ eventData = result.data;
4375
+ }
4376
+ }
4377
+ if (state.tokenize) {
4378
+ const result = $TOKEN("AmpersandBlockRHS", state, AmpersandBlockRHS$0(state));
4379
+ if (state.events)
4380
+ state.events.exit?.("AmpersandBlockRHS", state, result, eventData);
4381
+ return result;
4382
+ } else {
4383
+ const result = AmpersandBlockRHS$0(state);
4384
+ if (state.events)
4385
+ state.events.exit?.("AmpersandBlockRHS", state, result, eventData);
4386
+ return result;
4387
+ }
4388
+ }
4389
+ var AmpersandUnaryPrefix$0 = $R$0($EXPECT($R2, fail, "AmpersandUnaryPrefix /[!~+-]+/"));
4390
+ function AmpersandUnaryPrefix(state) {
4391
+ let eventData;
4392
+ if (state.events) {
4393
+ const result = state.events.enter?.("AmpersandUnaryPrefix", state);
4394
+ if (result) {
4395
+ if (result.cache)
4396
+ return result.cache;
4397
+ eventData = result.data;
4398
+ }
4399
+ }
4400
+ if (state.tokenize) {
4401
+ const result = $TOKEN("AmpersandUnaryPrefix", state, AmpersandUnaryPrefix$0(state));
4402
+ if (state.events)
4403
+ state.events.exit?.("AmpersandUnaryPrefix", state, result, eventData);
4404
+ return result;
4405
+ } else {
4406
+ const result = AmpersandUnaryPrefix$0(state);
4407
+ if (state.events)
4408
+ state.events.exit?.("AmpersandUnaryPrefix", state, result, eventData);
4409
+ return result;
4410
+ }
4411
+ }
4330
4412
  var ThinArrowFunction$0 = $TS($S(Parameters, $E(ReturnTypeSuffix), $Q(_), Arrow, BracedOrEmptyBlock), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
4331
4413
  var parameters = $1;
4332
4414
  var suffix = $2;
@@ -8114,6 +8196,36 @@ ${input.slice(result.pos)}
8114
8196
  return result;
8115
8197
  }
8116
8198
  }
8199
+ var TryExpression$0 = $TV(TryStatement, function($skip, $loc, $0, $1) {
8200
+ var t = $0;
8201
+ return {
8202
+ type: "TryExpression",
8203
+ blocks: [t.children[1], t.children[2]?.[3]],
8204
+ children: ["(()=>{", t, "})()"]
8205
+ };
8206
+ });
8207
+ function TryExpression(state) {
8208
+ let eventData;
8209
+ if (state.events) {
8210
+ const result = state.events.enter?.("TryExpression", state);
8211
+ if (result) {
8212
+ if (result.cache)
8213
+ return result.cache;
8214
+ eventData = result.data;
8215
+ }
8216
+ }
8217
+ if (state.tokenize) {
8218
+ const result = $TOKEN("TryExpression", state, TryExpression$0(state));
8219
+ if (state.events)
8220
+ state.events.exit?.("TryExpression", state, result, eventData);
8221
+ return result;
8222
+ } else {
8223
+ const result = TryExpression$0(state);
8224
+ if (state.events)
8225
+ state.events.exit?.("TryExpression", state, result, eventData);
8226
+ return result;
8227
+ }
8228
+ }
8117
8229
  var CatchClause$0 = $S(__, Catch, $E(CatchBind), BracedBlock);
8118
8230
  function CatchClause(state) {
8119
8231
  let eventData;
@@ -9174,10 +9286,7 @@ ${input.slice(result.pos)}
9174
9286
  return result;
9175
9287
  }
9176
9288
  }
9177
- var LetAssignment$0 = $TV($EXPECT($L85, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
9178
- return { $loc, token: "=" };
9179
- });
9180
- var LetAssignment$1 = $TV($EXPECT($L86, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9289
+ var LetAssignment$0 = $TV($EXPECT($L85, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9181
9290
  return { $loc, token: "=" };
9182
9291
  });
9183
9292
  function LetAssignment(state) {
@@ -9191,12 +9300,12 @@ ${input.slice(result.pos)}
9191
9300
  }
9192
9301
  }
9193
9302
  if (state.tokenize) {
9194
- const result = $TOKEN("LetAssignment", state, LetAssignment$0(state) || LetAssignment$1(state));
9303
+ const result = $TOKEN("LetAssignment", state, LetAssignment$0(state));
9195
9304
  if (state.events)
9196
9305
  state.events.exit?.("LetAssignment", state, result, eventData);
9197
9306
  return result;
9198
9307
  } else {
9199
- const result = LetAssignment$0(state) || LetAssignment$1(state);
9308
+ const result = LetAssignment$0(state);
9200
9309
  if (state.events)
9201
9310
  state.events.exit?.("LetAssignment", state, result, eventData);
9202
9311
  return result;
@@ -10351,7 +10460,7 @@ ${input.slice(result.pos)}
10351
10460
  return result;
10352
10461
  }
10353
10462
  }
10354
- 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) {
10463
+ 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) {
10355
10464
  return { $loc, token: $1 };
10356
10465
  });
10357
10466
  function JSMultiLineComment(state) {
@@ -10401,7 +10510,7 @@ ${input.slice(result.pos)}
10401
10510
  return result;
10402
10511
  }
10403
10512
  }
10404
- 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) {
10513
+ 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) {
10405
10514
  return { $loc, token: `/*${$2}*/` };
10406
10515
  });
10407
10516
  function CoffeeMultiLineComment(state) {
@@ -10449,7 +10558,7 @@ ${input.slice(result.pos)}
10449
10558
  return result;
10450
10559
  }
10451
10560
  }
10452
- 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) {
10561
+ 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) {
10453
10562
  return { $loc, token: $1 };
10454
10563
  });
10455
10564
  function InlineComment(state) {
@@ -10548,7 +10657,7 @@ ${input.slice(result.pos)}
10548
10657
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10549
10658
  return { $loc, token: $0 };
10550
10659
  });
10551
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L89, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10660
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L88, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10552
10661
  return "";
10553
10662
  });
10554
10663
  function NonNewlineWhitespace(state) {
@@ -10749,7 +10858,7 @@ ${input.slice(result.pos)}
10749
10858
  return result;
10750
10859
  }
10751
10860
  }
10752
- var Abstract$0 = $TV($TEXT($S($EXPECT($L90, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
10861
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L89, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
10753
10862
  return { $loc, token: $1, ts: true };
10754
10863
  });
10755
10864
  function Abstract(state) {
@@ -10799,7 +10908,7 @@ ${input.slice(result.pos)}
10799
10908
  return result;
10800
10909
  }
10801
10910
  }
10802
- var As$0 = $TS($S($EXPECT($L91, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10911
+ var As$0 = $TS($S($EXPECT($L90, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10803
10912
  return { $loc, token: $1 };
10804
10913
  });
10805
10914
  function As(state) {
@@ -10824,7 +10933,7 @@ ${input.slice(result.pos)}
10824
10933
  return result;
10825
10934
  }
10826
10935
  }
10827
- var At$0 = $TV($EXPECT($L92, fail, 'At "@"'), function($skip, $loc, $0, $1) {
10936
+ var At$0 = $TV($EXPECT($L91, fail, 'At "@"'), function($skip, $loc, $0, $1) {
10828
10937
  return { $loc, token: $1 };
10829
10938
  });
10830
10939
  function At(state) {
@@ -10849,7 +10958,7 @@ ${input.slice(result.pos)}
10849
10958
  return result;
10850
10959
  }
10851
10960
  }
10852
- var AtAt$0 = $TV($EXPECT($L93, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
10961
+ var AtAt$0 = $TV($EXPECT($L92, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
10853
10962
  return { $loc, token: "@" };
10854
10963
  });
10855
10964
  function AtAt(state) {
@@ -10874,7 +10983,7 @@ ${input.slice(result.pos)}
10874
10983
  return result;
10875
10984
  }
10876
10985
  }
10877
- var Async$0 = $TS($S($EXPECT($L94, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10986
+ var Async$0 = $TS($S($EXPECT($L93, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10878
10987
  return { $loc, token: $1, type: "Async" };
10879
10988
  });
10880
10989
  function Async(state) {
@@ -10899,7 +11008,7 @@ ${input.slice(result.pos)}
10899
11008
  return result;
10900
11009
  }
10901
11010
  }
10902
- var Await$0 = $TS($S($EXPECT($L95, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11011
+ var Await$0 = $TS($S($EXPECT($L94, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10903
11012
  return { $loc, token: $1 };
10904
11013
  });
10905
11014
  function Await(state) {
@@ -10924,7 +11033,7 @@ ${input.slice(result.pos)}
10924
11033
  return result;
10925
11034
  }
10926
11035
  }
10927
- var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11036
+ var Backtick$0 = $TV($EXPECT($L95, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
10928
11037
  return { $loc, token: $1 };
10929
11038
  });
10930
11039
  function Backtick(state) {
@@ -10949,7 +11058,7 @@ ${input.slice(result.pos)}
10949
11058
  return result;
10950
11059
  }
10951
11060
  }
10952
- var By$0 = $TS($S($EXPECT($L97, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11061
+ var By$0 = $TS($S($EXPECT($L96, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10953
11062
  return { $loc, token: $1 };
10954
11063
  });
10955
11064
  function By(state) {
@@ -10974,7 +11083,7 @@ ${input.slice(result.pos)}
10974
11083
  return result;
10975
11084
  }
10976
11085
  }
10977
- var Case$0 = $TS($S($EXPECT($L98, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11086
+ var Case$0 = $TS($S($EXPECT($L97, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10978
11087
  return { $loc, token: $1 };
10979
11088
  });
10980
11089
  function Case(state) {
@@ -10999,7 +11108,7 @@ ${input.slice(result.pos)}
10999
11108
  return result;
11000
11109
  }
11001
11110
  }
11002
- var Catch$0 = $TS($S($EXPECT($L99, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11111
+ var Catch$0 = $TS($S($EXPECT($L98, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11003
11112
  return { $loc, token: $1 };
11004
11113
  });
11005
11114
  function Catch(state) {
@@ -11024,7 +11133,7 @@ ${input.slice(result.pos)}
11024
11133
  return result;
11025
11134
  }
11026
11135
  }
11027
- var Class$0 = $TS($S($EXPECT($L100, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11136
+ var Class$0 = $TS($S($EXPECT($L99, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11028
11137
  return { $loc, token: $1 };
11029
11138
  });
11030
11139
  function Class(state) {
@@ -11124,7 +11233,7 @@ ${input.slice(result.pos)}
11124
11233
  return result;
11125
11234
  }
11126
11235
  }
11127
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L101, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11236
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L100, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11128
11237
  return { $loc, token: "${" };
11129
11238
  });
11130
11239
  function CoffeeSubstitutionStart(state) {
@@ -11174,7 +11283,7 @@ ${input.slice(result.pos)}
11174
11283
  return result;
11175
11284
  }
11176
11285
  }
11177
- var ConstructorShorthand$0 = $TV($EXPECT($L92, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11286
+ var ConstructorShorthand$0 = $TV($EXPECT($L91, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11178
11287
  return { $loc, token: "constructor" };
11179
11288
  });
11180
11289
  function ConstructorShorthand(state) {
@@ -11224,7 +11333,7 @@ ${input.slice(result.pos)}
11224
11333
  return result;
11225
11334
  }
11226
11335
  }
11227
- var Delete$0 = $TS($S($EXPECT($L102, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11336
+ var Delete$0 = $TS($S($EXPECT($L101, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11228
11337
  return { $loc, token: $1 };
11229
11338
  });
11230
11339
  function Delete(state) {
@@ -11249,7 +11358,7 @@ ${input.slice(result.pos)}
11249
11358
  return result;
11250
11359
  }
11251
11360
  }
11252
- var Do$0 = $TS($S($EXPECT($L103, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11361
+ var Do$0 = $TS($S($EXPECT($L102, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11253
11362
  return { $loc, token: $1 };
11254
11363
  });
11255
11364
  function Do(state) {
@@ -11299,7 +11408,7 @@ ${input.slice(result.pos)}
11299
11408
  return result;
11300
11409
  }
11301
11410
  }
11302
- var DotDot$0 = $TV($EXPECT($L104, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11411
+ var DotDot$0 = $TV($EXPECT($L103, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11303
11412
  return { $loc, token: $1 };
11304
11413
  });
11305
11414
  function DotDot(state) {
@@ -11324,7 +11433,7 @@ ${input.slice(result.pos)}
11324
11433
  return result;
11325
11434
  }
11326
11435
  }
11327
- var DotDotDot$0 = $TV($EXPECT($L105, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11436
+ var DotDotDot$0 = $TV($EXPECT($L104, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11328
11437
  return { $loc, token: $1 };
11329
11438
  });
11330
11439
  function DotDotDot(state) {
@@ -11349,7 +11458,7 @@ ${input.slice(result.pos)}
11349
11458
  return result;
11350
11459
  }
11351
11460
  }
11352
- var DoubleColon$0 = $TV($EXPECT($L106, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11461
+ var DoubleColon$0 = $TV($EXPECT($L105, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11353
11462
  return { $loc, token: $1 };
11354
11463
  });
11355
11464
  function DoubleColon(state) {
@@ -11374,7 +11483,7 @@ ${input.slice(result.pos)}
11374
11483
  return result;
11375
11484
  }
11376
11485
  }
11377
- var DoubleQuote$0 = $TV($EXPECT($L107, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11486
+ var DoubleQuote$0 = $TV($EXPECT($L106, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11378
11487
  return { $loc, token: $1 };
11379
11488
  });
11380
11489
  function DoubleQuote(state) {
@@ -11399,7 +11508,7 @@ ${input.slice(result.pos)}
11399
11508
  return result;
11400
11509
  }
11401
11510
  }
11402
- var Else$0 = $TS($S($EXPECT($L108, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11511
+ var Else$0 = $TS($S($EXPECT($L107, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11403
11512
  return { $loc, token: $1 };
11404
11513
  });
11405
11514
  function Else(state) {
@@ -11449,7 +11558,7 @@ ${input.slice(result.pos)}
11449
11558
  return result;
11450
11559
  }
11451
11560
  }
11452
- var Export$0 = $TS($S($EXPECT($L109, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11561
+ var Export$0 = $TS($S($EXPECT($L108, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11453
11562
  return { $loc, token: $1 };
11454
11563
  });
11455
11564
  function Export(state) {
@@ -11474,7 +11583,7 @@ ${input.slice(result.pos)}
11474
11583
  return result;
11475
11584
  }
11476
11585
  }
11477
- var Extends$0 = $TS($S($EXPECT($L110, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11586
+ var Extends$0 = $TS($S($EXPECT($L109, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11478
11587
  return { $loc, token: $1 };
11479
11588
  });
11480
11589
  function Extends(state) {
@@ -11499,7 +11608,7 @@ ${input.slice(result.pos)}
11499
11608
  return result;
11500
11609
  }
11501
11610
  }
11502
- var For$0 = $TS($S($EXPECT($L111, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11611
+ var For$0 = $TS($S($EXPECT($L110, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11503
11612
  return { $loc, token: $1 };
11504
11613
  });
11505
11614
  function For(state) {
@@ -11524,7 +11633,7 @@ ${input.slice(result.pos)}
11524
11633
  return result;
11525
11634
  }
11526
11635
  }
11527
- var From$0 = $TS($S($EXPECT($L112, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11636
+ var From$0 = $TS($S($EXPECT($L111, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11528
11637
  return { $loc, token: $1 };
11529
11638
  });
11530
11639
  function From(state) {
@@ -11549,7 +11658,7 @@ ${input.slice(result.pos)}
11549
11658
  return result;
11550
11659
  }
11551
11660
  }
11552
- var Function$0 = $TS($S($EXPECT($L113, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11661
+ var Function$0 = $TS($S($EXPECT($L112, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11553
11662
  return { $loc, token: $1 };
11554
11663
  });
11555
11664
  function Function(state) {
@@ -11574,7 +11683,7 @@ ${input.slice(result.pos)}
11574
11683
  return result;
11575
11684
  }
11576
11685
  }
11577
- var GetOrSet$0 = $TS($S($C($EXPECT($L114, fail, 'GetOrSet "get"'), $EXPECT($L115, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11686
+ var GetOrSet$0 = $TS($S($C($EXPECT($L113, fail, 'GetOrSet "get"'), $EXPECT($L114, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11578
11687
  return { $loc, token: $1, type: "GetOrSet" };
11579
11688
  });
11580
11689
  function GetOrSet(state) {
@@ -11599,7 +11708,7 @@ ${input.slice(result.pos)}
11599
11708
  return result;
11600
11709
  }
11601
11710
  }
11602
- var If$0 = $TV($TEXT($S($EXPECT($L116, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
11711
+ var If$0 = $TV($TEXT($S($EXPECT($L115, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
11603
11712
  return { $loc, token: $1 };
11604
11713
  });
11605
11714
  function If(state) {
@@ -11674,7 +11783,7 @@ ${input.slice(result.pos)}
11674
11783
  return result;
11675
11784
  }
11676
11785
  }
11677
- var LetOrConst$0 = $TS($S($C($EXPECT($L117, fail, 'LetOrConst "let"'), $EXPECT($L118, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11786
+ var LetOrConst$0 = $TS($S($C($EXPECT($L116, fail, 'LetOrConst "let"'), $EXPECT($L117, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11678
11787
  return { $loc, token: $1 };
11679
11788
  });
11680
11789
  function LetOrConst(state) {
@@ -11699,7 +11808,7 @@ ${input.slice(result.pos)}
11699
11808
  return result;
11700
11809
  }
11701
11810
  }
11702
- var Loop$0 = $TS($S($EXPECT($L119, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11811
+ var Loop$0 = $TS($S($EXPECT($L118, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11703
11812
  return { $loc, token: "while(true)" };
11704
11813
  });
11705
11814
  function Loop(state) {
@@ -11724,7 +11833,7 @@ ${input.slice(result.pos)}
11724
11833
  return result;
11725
11834
  }
11726
11835
  }
11727
- var New$0 = $TS($S($EXPECT($L120, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11836
+ var New$0 = $TS($S($EXPECT($L119, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11728
11837
  return { $loc, token: $1 };
11729
11838
  });
11730
11839
  function New(state) {
@@ -11799,7 +11908,7 @@ ${input.slice(result.pos)}
11799
11908
  return result;
11800
11909
  }
11801
11910
  }
11802
- var OpenAngleBracket$0 = $TV($EXPECT($L121, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
11911
+ var OpenAngleBracket$0 = $TV($EXPECT($L120, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
11803
11912
  return { $loc, token: $1 };
11804
11913
  });
11805
11914
  function OpenAngleBracket(state) {
@@ -11824,7 +11933,7 @@ ${input.slice(result.pos)}
11824
11933
  return result;
11825
11934
  }
11826
11935
  }
11827
- var OpenBrace$0 = $TV($EXPECT($L122, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
11936
+ var OpenBrace$0 = $TV($EXPECT($L121, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
11828
11937
  return { $loc, token: $1 };
11829
11938
  });
11830
11939
  function OpenBrace(state) {
@@ -11849,7 +11958,7 @@ ${input.slice(result.pos)}
11849
11958
  return result;
11850
11959
  }
11851
11960
  }
11852
- var OpenBracket$0 = $TV($EXPECT($L123, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
11961
+ var OpenBracket$0 = $TV($EXPECT($L122, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
11853
11962
  return { $loc, token: $1 };
11854
11963
  });
11855
11964
  function OpenBracket(state) {
@@ -11874,7 +11983,7 @@ ${input.slice(result.pos)}
11874
11983
  return result;
11875
11984
  }
11876
11985
  }
11877
- var OpenParen$0 = $TV($EXPECT($L124, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
11986
+ var OpenParen$0 = $TV($EXPECT($L123, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
11878
11987
  return { $loc, token: $1 };
11879
11988
  });
11880
11989
  function OpenParen(state) {
@@ -11899,7 +12008,7 @@ ${input.slice(result.pos)}
11899
12008
  return result;
11900
12009
  }
11901
12010
  }
11902
- var Public$0 = $TS($S($EXPECT($L125, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12011
+ var Public$0 = $TS($S($EXPECT($L124, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11903
12012
  return { $loc, token: $1 };
11904
12013
  });
11905
12014
  function Public(state) {
@@ -11924,7 +12033,7 @@ ${input.slice(result.pos)}
11924
12033
  return result;
11925
12034
  }
11926
12035
  }
11927
- var Private$0 = $TS($S($EXPECT($L126, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12036
+ var Private$0 = $TS($S($EXPECT($L125, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11928
12037
  return { $loc, token: $1 };
11929
12038
  });
11930
12039
  function Private(state) {
@@ -11949,7 +12058,7 @@ ${input.slice(result.pos)}
11949
12058
  return result;
11950
12059
  }
11951
12060
  }
11952
- var Protected$0 = $TS($S($EXPECT($L127, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12061
+ var Protected$0 = $TS($S($EXPECT($L126, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11953
12062
  return { $loc, token: $1 };
11954
12063
  });
11955
12064
  function Protected(state) {
@@ -11974,7 +12083,7 @@ ${input.slice(result.pos)}
11974
12083
  return result;
11975
12084
  }
11976
12085
  }
11977
- var Pipe$0 = $TV($EXPECT($L128, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12086
+ var Pipe$0 = $TV($EXPECT($L127, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
11978
12087
  return { $loc, token: $1 };
11979
12088
  });
11980
12089
  function Pipe(state) {
@@ -12024,7 +12133,7 @@ ${input.slice(result.pos)}
12024
12133
  return result;
12025
12134
  }
12026
12135
  }
12027
- var Readonly$0 = $TS($S($EXPECT($L129, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12136
+ var Readonly$0 = $TS($S($EXPECT($L128, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12028
12137
  return { $loc, token: $1, ts: true };
12029
12138
  });
12030
12139
  function Readonly(state) {
@@ -12049,7 +12158,7 @@ ${input.slice(result.pos)}
12049
12158
  return result;
12050
12159
  }
12051
12160
  }
12052
- var Return$0 = $TS($S($EXPECT($L130, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12161
+ var Return$0 = $TS($S($EXPECT($L129, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12053
12162
  return { $loc, token: $1 };
12054
12163
  });
12055
12164
  function Return(state) {
@@ -12074,7 +12183,7 @@ ${input.slice(result.pos)}
12074
12183
  return result;
12075
12184
  }
12076
12185
  }
12077
- var Satisfies$0 = $TS($S($EXPECT($L131, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12186
+ var Satisfies$0 = $TS($S($EXPECT($L130, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12078
12187
  return { $loc, token: $1 };
12079
12188
  });
12080
12189
  function Satisfies(state) {
@@ -12124,7 +12233,7 @@ ${input.slice(result.pos)}
12124
12233
  return result;
12125
12234
  }
12126
12235
  }
12127
- var SingleQuote$0 = $TV($EXPECT($L132, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12236
+ var SingleQuote$0 = $TV($EXPECT($L131, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12128
12237
  return { $loc, token: $1 };
12129
12238
  });
12130
12239
  function SingleQuote(state) {
@@ -12174,10 +12283,10 @@ ${input.slice(result.pos)}
12174
12283
  return result;
12175
12284
  }
12176
12285
  }
12177
- var Static$0 = $TS($S($EXPECT($L133, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12286
+ var Static$0 = $TS($S($EXPECT($L132, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12178
12287
  return { $loc, token: $1 };
12179
12288
  });
12180
- 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) {
12289
+ 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) {
12181
12290
  return { $loc, token: "static " };
12182
12291
  });
12183
12292
  function Static(state) {
@@ -12202,7 +12311,7 @@ ${input.slice(result.pos)}
12202
12311
  return result;
12203
12312
  }
12204
12313
  }
12205
- var SubstitutionStart$0 = $TV($EXPECT($L134, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12314
+ var SubstitutionStart$0 = $TV($EXPECT($L133, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12206
12315
  return { $loc, token: $1 };
12207
12316
  });
12208
12317
  function SubstitutionStart(state) {
@@ -12227,7 +12336,7 @@ ${input.slice(result.pos)}
12227
12336
  return result;
12228
12337
  }
12229
12338
  }
12230
- var Switch$0 = $TS($S($EXPECT($L135, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12339
+ var Switch$0 = $TS($S($EXPECT($L134, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12231
12340
  return { $loc, token: $1 };
12232
12341
  });
12233
12342
  function Switch(state) {
@@ -12252,7 +12361,7 @@ ${input.slice(result.pos)}
12252
12361
  return result;
12253
12362
  }
12254
12363
  }
12255
- var Target$0 = $TS($S($EXPECT($L136, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12364
+ var Target$0 = $TS($S($EXPECT($L135, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12256
12365
  return { $loc, token: $1 };
12257
12366
  });
12258
12367
  function Target(state) {
@@ -12277,7 +12386,7 @@ ${input.slice(result.pos)}
12277
12386
  return result;
12278
12387
  }
12279
12388
  }
12280
- var Then$0 = $TS($S(__, $EXPECT($L137, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12389
+ var Then$0 = $TS($S(__, $EXPECT($L136, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12281
12390
  return { $loc, token: "" };
12282
12391
  });
12283
12392
  function Then(state) {
@@ -12302,7 +12411,7 @@ ${input.slice(result.pos)}
12302
12411
  return result;
12303
12412
  }
12304
12413
  }
12305
- var This$0 = $TS($S($EXPECT($L138, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12414
+ var This$0 = $TS($S($EXPECT($L137, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12306
12415
  return { $loc, token: $1 };
12307
12416
  });
12308
12417
  function This(state) {
@@ -12327,7 +12436,7 @@ ${input.slice(result.pos)}
12327
12436
  return result;
12328
12437
  }
12329
12438
  }
12330
- var Throw$0 = $TS($S($EXPECT($L139, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12439
+ var Throw$0 = $TS($S($EXPECT($L138, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12331
12440
  return { $loc, token: $1 };
12332
12441
  });
12333
12442
  function Throw(state) {
@@ -12352,7 +12461,7 @@ ${input.slice(result.pos)}
12352
12461
  return result;
12353
12462
  }
12354
12463
  }
12355
- var TripleDoubleQuote$0 = $TV($EXPECT($L140, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12464
+ var TripleDoubleQuote$0 = $TV($EXPECT($L139, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12356
12465
  return { $loc, token: "`" };
12357
12466
  });
12358
12467
  function TripleDoubleQuote(state) {
@@ -12377,7 +12486,7 @@ ${input.slice(result.pos)}
12377
12486
  return result;
12378
12487
  }
12379
12488
  }
12380
- var TripleSingleQuote$0 = $TV($EXPECT($L141, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12489
+ var TripleSingleQuote$0 = $TV($EXPECT($L140, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12381
12490
  return { $loc, token: "`" };
12382
12491
  });
12383
12492
  function TripleSingleQuote(state) {
@@ -12402,7 +12511,7 @@ ${input.slice(result.pos)}
12402
12511
  return result;
12403
12512
  }
12404
12513
  }
12405
- var TripleSlash$0 = $TV($EXPECT($L142, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12514
+ var TripleSlash$0 = $TV($EXPECT($L141, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12406
12515
  return { $loc, token: "/" };
12407
12516
  });
12408
12517
  function TripleSlash(state) {
@@ -12427,7 +12536,7 @@ ${input.slice(result.pos)}
12427
12536
  return result;
12428
12537
  }
12429
12538
  }
12430
- var TripleTick$0 = $TV($EXPECT($L143, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12539
+ var TripleTick$0 = $TV($EXPECT($L142, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12431
12540
  return { $loc, token: "`" };
12432
12541
  });
12433
12542
  function TripleTick(state) {
@@ -12452,7 +12561,7 @@ ${input.slice(result.pos)}
12452
12561
  return result;
12453
12562
  }
12454
12563
  }
12455
- var Try$0 = $TS($S($EXPECT($L144, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12564
+ var Try$0 = $TS($S($EXPECT($L143, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12456
12565
  return { $loc, token: $1 };
12457
12566
  });
12458
12567
  function Try(state) {
@@ -12477,7 +12586,7 @@ ${input.slice(result.pos)}
12477
12586
  return result;
12478
12587
  }
12479
12588
  }
12480
- var Typeof$0 = $TS($S($EXPECT($L145, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12589
+ var Typeof$0 = $TS($S($EXPECT($L144, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12481
12590
  return { $loc, token: $1 };
12482
12591
  });
12483
12592
  function Typeof(state) {
@@ -12502,7 +12611,7 @@ ${input.slice(result.pos)}
12502
12611
  return result;
12503
12612
  }
12504
12613
  }
12505
- var Unless$0 = $TS($S($EXPECT($L146, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12614
+ var Unless$0 = $TS($S($EXPECT($L145, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12506
12615
  return { $loc, token: $1 };
12507
12616
  });
12508
12617
  function Unless(state) {
@@ -12527,7 +12636,7 @@ ${input.slice(result.pos)}
12527
12636
  return result;
12528
12637
  }
12529
12638
  }
12530
- var Until$0 = $TS($S($EXPECT($L147, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12639
+ var Until$0 = $TS($S($EXPECT($L146, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12531
12640
  return { $loc, token: $1 };
12532
12641
  });
12533
12642
  function Until(state) {
@@ -12552,7 +12661,7 @@ ${input.slice(result.pos)}
12552
12661
  return result;
12553
12662
  }
12554
12663
  }
12555
- var Var$0 = $TS($S($EXPECT($L148, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12664
+ var Var$0 = $TS($S($EXPECT($L147, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12556
12665
  return { $loc, token: $1 };
12557
12666
  });
12558
12667
  function Var(state) {
@@ -12577,7 +12686,7 @@ ${input.slice(result.pos)}
12577
12686
  return result;
12578
12687
  }
12579
12688
  }
12580
- var Void$0 = $TS($S($EXPECT($L149, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12689
+ var Void$0 = $TS($S($EXPECT($L148, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12581
12690
  return { $loc, token: $1 };
12582
12691
  });
12583
12692
  function Void(state) {
@@ -12602,7 +12711,7 @@ ${input.slice(result.pos)}
12602
12711
  return result;
12603
12712
  }
12604
12713
  }
12605
- var When$0 = $TS($S($EXPECT($L150, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12714
+ var When$0 = $TS($S($EXPECT($L149, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12606
12715
  return { $loc, token: "case" };
12607
12716
  });
12608
12717
  function When(state) {
@@ -12627,7 +12736,7 @@ ${input.slice(result.pos)}
12627
12736
  return result;
12628
12737
  }
12629
12738
  }
12630
- var While$0 = $TS($S($EXPECT($L151, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12739
+ var While$0 = $TS($S($EXPECT($L150, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12631
12740
  return { $loc, token: $1 };
12632
12741
  });
12633
12742
  function While(state) {
@@ -12652,7 +12761,7 @@ ${input.slice(result.pos)}
12652
12761
  return result;
12653
12762
  }
12654
12763
  }
12655
- var Yield$0 = $TS($S($EXPECT($L152, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12764
+ var Yield$0 = $TS($S($EXPECT($L151, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12656
12765
  return { $loc, token: $1 };
12657
12766
  });
12658
12767
  function Yield(state) {
@@ -12784,7 +12893,7 @@ ${input.slice(result.pos)}
12784
12893
  return result;
12785
12894
  }
12786
12895
  }
12787
- 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) {
12896
+ 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) {
12788
12897
  return { type: "JSXElement", children: $0 };
12789
12898
  });
12790
12899
  function JSXSelfClosingElement(state) {
@@ -12809,7 +12918,7 @@ ${input.slice(result.pos)}
12809
12918
  return result;
12810
12919
  }
12811
12920
  }
12812
- var JSXOpeningElement$0 = $S($EXPECT($L121, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
12921
+ var JSXOpeningElement$0 = $S($EXPECT($L120, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
12813
12922
  function JSXOpeningElement(state) {
12814
12923
  let eventData;
12815
12924
  if (state.events) {
@@ -12832,7 +12941,7 @@ ${input.slice(result.pos)}
12832
12941
  return result;
12833
12942
  }
12834
12943
  }
12835
- var JSXClosingElement$0 = $S($EXPECT($L154, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L25, fail, 'JSXClosingElement ">"'));
12944
+ var JSXClosingElement$0 = $S($EXPECT($L153, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L25, fail, 'JSXClosingElement ">"'));
12836
12945
  function JSXClosingElement(state) {
12837
12946
  let eventData;
12838
12947
  if (state.events) {
@@ -12855,14 +12964,14 @@ ${input.slice(result.pos)}
12855
12964
  return result;
12856
12965
  }
12857
12966
  }
12858
- 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) {
12967
+ 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) {
12859
12968
  if ($2) {
12860
12969
  return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
12861
12970
  } else {
12862
12971
  return { type: "JSXFragment", children: $0, jsxChildren: [] };
12863
12972
  }
12864
12973
  });
12865
- var JSXFragment$1 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
12974
+ var JSXFragment$1 = $TS($S($EXPECT($L154, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
12866
12975
  return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
12867
12976
  });
12868
12977
  function JSXFragment(state) {
@@ -13687,7 +13796,7 @@ ${input.slice(result.pos)}
13687
13796
  return result;
13688
13797
  }
13689
13798
  }
13690
- var JSXComment$0 = $TS($S($EXPECT($L157, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L158, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
13799
+ var JSXComment$0 = $TS($S($EXPECT($L156, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L157, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
13691
13800
  return ["{/*", $2, "*/}"];
13692
13801
  });
13693
13802
  function JSXComment(state) {
@@ -13864,7 +13973,7 @@ ${input.slice(result.pos)}
13864
13973
  return result;
13865
13974
  }
13866
13975
  }
13867
- var TypeDeclarationModifier$0 = $S($EXPECT($L159, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
13976
+ var TypeDeclarationModifier$0 = $S($EXPECT($L158, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
13868
13977
  var TypeDeclarationModifier$1 = Export;
13869
13978
  function TypeDeclarationModifier(state) {
13870
13979
  let eventData;
@@ -13914,7 +14023,7 @@ ${input.slice(result.pos)}
13914
14023
  return result;
13915
14024
  }
13916
14025
  }
13917
- var TypeKeyword$0 = $S($EXPECT($L160, fail, 'TypeKeyword "type"'), NonIdContinue);
14026
+ var TypeKeyword$0 = $S($EXPECT($L159, fail, 'TypeKeyword "type"'), NonIdContinue);
13918
14027
  function TypeKeyword(state) {
13919
14028
  let eventData;
13920
14029
  if (state.events) {
@@ -13937,7 +14046,7 @@ ${input.slice(result.pos)}
13937
14046
  return result;
13938
14047
  }
13939
14048
  }
13940
- var Interface$0 = $S($EXPECT($L161, fail, 'Interface "interface"'), NonIdContinue);
14049
+ var Interface$0 = $S($EXPECT($L160, fail, 'Interface "interface"'), NonIdContinue);
13941
14050
  function Interface(state) {
13942
14051
  let eventData;
13943
14052
  if (state.events) {
@@ -13960,7 +14069,7 @@ ${input.slice(result.pos)}
13960
14069
  return result;
13961
14070
  }
13962
14071
  }
13963
- var Namespace$0 = $S($EXPECT($L162, fail, 'Namespace "namespace"'), NonIdContinue);
14072
+ var Namespace$0 = $S($EXPECT($L161, fail, 'Namespace "namespace"'), NonIdContinue);
13964
14073
  function Namespace(state) {
13965
14074
  let eventData;
13966
14075
  if (state.events) {
@@ -14185,7 +14294,7 @@ ${input.slice(result.pos)}
14185
14294
  return result;
14186
14295
  }
14187
14296
  }
14188
- 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)));
14297
+ 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)));
14189
14298
  function TypeIndexSignature(state) {
14190
14299
  let eventData;
14191
14300
  if (state.events) {
@@ -14257,7 +14366,7 @@ ${input.slice(result.pos)}
14257
14366
  return result;
14258
14367
  }
14259
14368
  }
14260
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L163, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
14369
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L162, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
14261
14370
  const children = [...$1, $2];
14262
14371
  if ($3)
14263
14372
  children.push($3);
@@ -14416,10 +14525,10 @@ ${input.slice(result.pos)}
14416
14525
  return result;
14417
14526
  }
14418
14527
  }
14419
- var TypeUnaryOp$0 = $S($EXPECT($L164, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
14420
- var TypeUnaryOp$1 = $S($EXPECT($L145, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
14421
- var TypeUnaryOp$2 = $S($EXPECT($L165, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
14422
- var TypeUnaryOp$3 = $S($EXPECT($L129, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
14528
+ var TypeUnaryOp$0 = $S($EXPECT($L163, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
14529
+ var TypeUnaryOp$1 = $S($EXPECT($L144, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
14530
+ var TypeUnaryOp$2 = $S($EXPECT($L164, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
14531
+ var TypeUnaryOp$3 = $S($EXPECT($L128, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
14423
14532
  function TypeUnaryOp(state) {
14424
14533
  let eventData;
14425
14534
  if (state.events) {
@@ -14591,7 +14700,7 @@ ${input.slice(result.pos)}
14591
14700
  return result;
14592
14701
  }
14593
14702
  }
14594
- 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) {
14703
+ 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) {
14595
14704
  if ($2)
14596
14705
  return $0;
14597
14706
  return $1;
@@ -14620,10 +14729,10 @@ ${input.slice(result.pos)}
14620
14729
  }
14621
14730
  var TypeLiteral$0 = Literal;
14622
14731
  var TypeLiteral$1 = TemplateLiteral;
14623
- var TypeLiteral$2 = $TS($S($EXPECT($L149, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14732
+ var TypeLiteral$2 = $TS($S($EXPECT($L148, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
14624
14733
  return { $loc, token: "void" };
14625
14734
  });
14626
- var TypeLiteral$3 = $TV($EXPECT($L166, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
14735
+ var TypeLiteral$3 = $TV($EXPECT($L165, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
14627
14736
  return { $loc, token: "[]" };
14628
14737
  });
14629
14738
  function TypeLiteral(state) {
@@ -14699,7 +14808,7 @@ ${input.slice(result.pos)}
14699
14808
  return result;
14700
14809
  }
14701
14810
  }
14702
- var TypeArguments$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14811
+ var TypeArguments$0 = $TS($S(__, $EXPECT($L120, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14703
14812
  return { ts: true, children: $0 };
14704
14813
  });
14705
14814
  function TypeArguments(state) {
@@ -14724,7 +14833,7 @@ ${input.slice(result.pos)}
14724
14833
  return result;
14725
14834
  }
14726
14835
  }
14727
- var CompactTypeArguments$0 = $TS($S($EXPECT($L121, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
14836
+ var CompactTypeArguments$0 = $TS($S($EXPECT($L120, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
14728
14837
  return { ts: true, children: $0 };
14729
14838
  });
14730
14839
  function CompactTypeArguments(state) {
@@ -14795,7 +14904,7 @@ ${input.slice(result.pos)}
14795
14904
  return result;
14796
14905
  }
14797
14906
  }
14798
- var TypeParameters$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14907
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L120, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
14799
14908
  var parameters = $3;
14800
14909
  return {
14801
14910
  type: "TypeParameters",
@@ -14849,7 +14958,7 @@ ${input.slice(result.pos)}
14849
14958
  return result;
14850
14959
  }
14851
14960
  }
14852
- var TypeConstraint$0 = $S(__, $EXPECT($L110, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
14961
+ var TypeConstraint$0 = $S(__, $EXPECT($L109, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
14853
14962
  function TypeConstraint(state) {
14854
14963
  let eventData;
14855
14964
  if (state.events) {
@@ -14975,7 +15084,7 @@ ${input.slice(result.pos)}
14975
15084
  return result;
14976
15085
  }
14977
15086
  }
14978
- 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) {
15087
+ 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) {
14979
15088
  var options = $3;
14980
15089
  return {
14981
15090
  type: "CivetPrologue",
@@ -16703,6 +16812,13 @@ ${input.slice(result.pos)}
16703
16812
  });
16704
16813
  }
16705
16814
  }
16815
+ function processTryExpressions(statements) {
16816
+ if (module2.config.implicitReturns) {
16817
+ gatherRecursiveAll(statements, (n) => n.type === "TryExpression").forEach(({ blocks }) => {
16818
+ blocks.forEach(insertReturn);
16819
+ });
16820
+ }
16821
+ }
16706
16822
  function processBindingPatternLHS(lhs, tail) {
16707
16823
  adjustAtBindings(lhs, true);
16708
16824
  const [splices, thisAssignments] = module2.gatherBindingCode(lhs);
@@ -16822,6 +16938,7 @@ ${input.slice(result.pos)}
16822
16938
  processAssignments(statements);
16823
16939
  processFunctions(statements);
16824
16940
  processSwitchExpressions(statements);
16941
+ processTryExpressions(statements);
16825
16942
  gatherRecursiveAll(statements, (n) => n.type === "IterationExpression").forEach((e) => expressionizeIteration(e));
16826
16943
  checkSpliceRef(statements);
16827
16944
  statements.unshift(...module2.prelude);