@danielx/civet 0.5.47 → 0.5.49

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
@@ -761,6 +761,7 @@ ${input.slice(result.pos)}
761
761
  CoffeeSubstitutionStart,
762
762
  Colon,
763
763
  ConstructorShorthand,
764
+ Declare,
764
765
  Default,
765
766
  Delete,
766
767
  Do,
@@ -864,8 +865,9 @@ ${input.slice(result.pos)}
864
865
  IndentedJSXChildExpression,
865
866
  NestedJSXChildExpression,
866
867
  TypeDeclaration,
867
- TypeDeclarationModifier,
868
868
  TypeDeclarationRest,
869
+ TypeLexicalDeclaration,
870
+ TypeDeclarationBinding,
869
871
  InterfaceExtendsClause,
870
872
  InterfaceExtendsTarget,
871
873
  TypeKeyword,
@@ -1042,82 +1044,82 @@ ${input.slice(result.pos)}
1042
1044
  var $L83 = $L("continue");
1043
1045
  var $L84 = $L("debugger");
1044
1046
  var $L85 = $L("assert");
1045
- var $L86 = $L("default");
1046
- var $L87 = $L(":=");
1047
- var $L88 = $L(".=");
1048
- var $L89 = $L("/*");
1049
- var $L90 = $L("*/");
1050
- var $L91 = $L("\\");
1051
- var $L92 = $L("abstract");
1052
- var $L93 = $L("as");
1053
- var $L94 = $L("@");
1054
- var $L95 = $L("@@");
1055
- var $L96 = $L("async");
1056
- var $L97 = $L("await");
1057
- var $L98 = $L("`");
1058
- var $L99 = $L("by");
1059
- var $L100 = $L("case");
1060
- var $L101 = $L("catch");
1061
- var $L102 = $L("class");
1062
- var $L103 = $L("#{");
1063
- var $L104 = $L("delete");
1064
- var $L105 = $L("do");
1065
- var $L106 = $L("..");
1066
- var $L107 = $L("...");
1067
- var $L108 = $L("::");
1068
- var $L109 = $L('"');
1069
- var $L110 = $L("else");
1070
- var $L111 = $L("export");
1071
- var $L112 = $L("extends");
1072
- var $L113 = $L("for");
1073
- var $L114 = $L("from");
1074
- var $L115 = $L("function");
1075
- var $L116 = $L("get");
1076
- var $L117 = $L("set");
1077
- var $L118 = $L("if");
1078
- var $L119 = $L("let");
1079
- var $L120 = $L("const");
1080
- var $L121 = $L("loop");
1081
- var $L122 = $L("new");
1082
- var $L123 = $L("<");
1083
- var $L124 = $L("{");
1084
- var $L125 = $L("[");
1085
- var $L126 = $L("(");
1086
- var $L127 = $L("public");
1087
- var $L128 = $L("private");
1088
- var $L129 = $L("protected");
1089
- var $L130 = $L("|>");
1090
- var $L131 = $L("readonly");
1091
- var $L132 = $L("return");
1092
- var $L133 = $L("satisfies");
1093
- var $L134 = $L("'");
1094
- var $L135 = $L("static");
1095
- var $L136 = $L("${");
1096
- var $L137 = $L("switch");
1097
- var $L138 = $L("target");
1098
- var $L139 = $L("then");
1099
- var $L140 = $L("this");
1100
- var $L141 = $L("throw");
1101
- var $L142 = $L('"""');
1102
- var $L143 = $L("'''");
1103
- var $L144 = $L("///");
1104
- var $L145 = $L("```");
1105
- var $L146 = $L("try");
1106
- var $L147 = $L("typeof");
1107
- var $L148 = $L("unless");
1108
- var $L149 = $L("until");
1109
- var $L150 = $L("var");
1110
- var $L151 = $L("void");
1111
- var $L152 = $L("when");
1112
- var $L153 = $L("while");
1113
- var $L154 = $L("yield");
1114
- var $L155 = $L("/>");
1115
- var $L156 = $L("</");
1116
- var $L157 = $L("<>");
1117
- var $L158 = $L("</>");
1118
- var $L159 = $L("<!--");
1119
- var $L160 = $L("-->");
1120
- var $L161 = $L("declare");
1047
+ var $L86 = $L(":=");
1048
+ var $L87 = $L(".=");
1049
+ var $L88 = $L("/*");
1050
+ var $L89 = $L("*/");
1051
+ var $L90 = $L("\\");
1052
+ var $L91 = $L("abstract");
1053
+ var $L92 = $L("as");
1054
+ var $L93 = $L("@");
1055
+ var $L94 = $L("@@");
1056
+ var $L95 = $L("async");
1057
+ var $L96 = $L("await");
1058
+ var $L97 = $L("`");
1059
+ var $L98 = $L("by");
1060
+ var $L99 = $L("case");
1061
+ var $L100 = $L("catch");
1062
+ var $L101 = $L("class");
1063
+ var $L102 = $L("#{");
1064
+ var $L103 = $L("declare");
1065
+ var $L104 = $L("default");
1066
+ var $L105 = $L("delete");
1067
+ var $L106 = $L("do");
1068
+ var $L107 = $L("..");
1069
+ var $L108 = $L("...");
1070
+ var $L109 = $L("::");
1071
+ var $L110 = $L('"');
1072
+ var $L111 = $L("else");
1073
+ var $L112 = $L("export");
1074
+ var $L113 = $L("extends");
1075
+ var $L114 = $L("for");
1076
+ var $L115 = $L("from");
1077
+ var $L116 = $L("function");
1078
+ var $L117 = $L("get");
1079
+ var $L118 = $L("set");
1080
+ var $L119 = $L("if");
1081
+ var $L120 = $L("let");
1082
+ var $L121 = $L("const");
1083
+ var $L122 = $L("loop");
1084
+ var $L123 = $L("new");
1085
+ var $L124 = $L("<");
1086
+ var $L125 = $L("{");
1087
+ var $L126 = $L("[");
1088
+ var $L127 = $L("(");
1089
+ var $L128 = $L("public");
1090
+ var $L129 = $L("private");
1091
+ var $L130 = $L("protected");
1092
+ var $L131 = $L("|>");
1093
+ var $L132 = $L("readonly");
1094
+ var $L133 = $L("return");
1095
+ var $L134 = $L("satisfies");
1096
+ var $L135 = $L("'");
1097
+ var $L136 = $L("static");
1098
+ var $L137 = $L("${");
1099
+ var $L138 = $L("switch");
1100
+ var $L139 = $L("target");
1101
+ var $L140 = $L("then");
1102
+ var $L141 = $L("this");
1103
+ var $L142 = $L("throw");
1104
+ var $L143 = $L('"""');
1105
+ var $L144 = $L("'''");
1106
+ var $L145 = $L("///");
1107
+ var $L146 = $L("```");
1108
+ var $L147 = $L("try");
1109
+ var $L148 = $L("typeof");
1110
+ var $L149 = $L("unless");
1111
+ var $L150 = $L("until");
1112
+ var $L151 = $L("var");
1113
+ var $L152 = $L("void");
1114
+ var $L153 = $L("when");
1115
+ var $L154 = $L("while");
1116
+ var $L155 = $L("yield");
1117
+ var $L156 = $L("/>");
1118
+ var $L157 = $L("</");
1119
+ var $L158 = $L("<>");
1120
+ var $L159 = $L("</>");
1121
+ var $L160 = $L("<!--");
1122
+ var $L161 = $L("-->");
1121
1123
  var $L162 = $L("type");
1122
1124
  var $L163 = $L("interface");
1123
1125
  var $L164 = $L("namespace");
@@ -2923,7 +2925,9 @@ ${input.slice(result.pos)}
2923
2925
  return result;
2924
2926
  }
2925
2927
  }
2926
- var AccessModifier$0 = $TS($S($C(Public, Private, Protected), __), function($skip, $loc, $0, $1, $2) {
2928
+ var AccessModifier$0 = $TS($S($E($S($C(Public, Private, Protected), __)), $E($S(Readonly, __))), function($skip, $loc, $0, $1, $2) {
2929
+ if (!($1 || $2))
2930
+ return $skip;
2927
2931
  return {
2928
2932
  ts: true,
2929
2933
  children: $0
@@ -7553,9 +7557,15 @@ ${input.slice(result.pos)}
7553
7557
  throw new Error("Can't use 'by' with 'of' in CoffeeScript for loops");
7554
7558
  }
7555
7559
  if (declaration.own) {
7556
- const indent2 = module2.currentIndent.token + " ";
7557
7560
  const hasPropRef = module2.getRef("hasProp");
7558
- blockPrefix.push([indent2, "if (!", hasPropRef, ".call(", exp, ", ", declaration, ")) continue\n"]);
7561
+ blockPrefix.push([indent, "if (!", hasPropRef, ".call(", exp, ", ", declaration, ")) continue\n"]);
7562
+ }
7563
+ if (index) {
7564
+ blockPrefix.push([indent, {
7565
+ type: "AssignmentExpression",
7566
+ children: [index, " = ", exp, "[", declaration, "]"],
7567
+ names: index.names
7568
+ }, ";\n"]);
7559
7569
  }
7560
7570
  kind.token = "in";
7561
7571
  } else if (kind.token === "in") {
@@ -7718,13 +7728,15 @@ ${input.slice(result.pos)}
7718
7728
  return result;
7719
7729
  }
7720
7730
  }
7721
- var CoffeeForIndex$0 = $TS($S($Q(TrailingComment), Comma, $Q(TrailingComment), BindingIdentifier), function($skip, $loc, $0, $1, $2, $3, $4) {
7731
+ var CoffeeForIndex$0 = $TS($S($E(_), Comma, $E(_), BindingIdentifier), function($skip, $loc, $0, $1, $2, $3, $4) {
7722
7732
  var ws1 = $1;
7723
7733
  var ws2 = $3;
7724
7734
  var id = $4;
7725
- return Object.assign({}, id, {
7726
- children: [...ws1, ...ws2, ...id.children]
7727
- });
7735
+ ws2 = module2.insertTrimmingSpace(ws1, "");
7736
+ return {
7737
+ ...id,
7738
+ children: [...ws1 || [], ...ws2 || [], ...id.children]
7739
+ };
7728
7740
  });
7729
7741
  function CoffeeForIndex(state) {
7730
7742
  let eventData;
@@ -9182,7 +9194,7 @@ ${input.slice(result.pos)}
9182
9194
  return result;
9183
9195
  }
9184
9196
  }
9185
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9197
+ var ExportDeclaration$0 = $S(Export, __, Default, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9186
9198
  var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9187
9199
  if (!$3.ts)
9188
9200
  return $0;
@@ -9344,7 +9356,7 @@ ${input.slice(result.pos)}
9344
9356
  return result;
9345
9357
  }
9346
9358
  }
9347
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9359
+ var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9348
9360
  function ImplicitExportSpecifier(state) {
9349
9361
  let eventData;
9350
9362
  if (state.events) {
@@ -9515,7 +9527,7 @@ ${input.slice(result.pos)}
9515
9527
  return result;
9516
9528
  }
9517
9529
  }
9518
- var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9530
+ var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9519
9531
  return { $loc, token: "=" };
9520
9532
  });
9521
9533
  function ConstAssignment(state) {
@@ -9540,7 +9552,7 @@ ${input.slice(result.pos)}
9540
9552
  return result;
9541
9553
  }
9542
9554
  }
9543
- var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9555
+ var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9544
9556
  return { $loc, token: "=" };
9545
9557
  });
9546
9558
  function LetAssignment(state) {
@@ -10714,7 +10726,7 @@ ${input.slice(result.pos)}
10714
10726
  return result;
10715
10727
  }
10716
10728
  }
10717
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L90, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L90, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10729
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L89, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L89, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10718
10730
  return { $loc, token: $1 };
10719
10731
  });
10720
10732
  function JSMultiLineComment(state) {
@@ -10764,7 +10776,7 @@ ${input.slice(result.pos)}
10764
10776
  return result;
10765
10777
  }
10766
10778
  }
10767
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L90, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10779
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L89, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10768
10780
  return { $loc, token: `/*${$2}*/` };
10769
10781
  });
10770
10782
  function CoffeeMultiLineComment(state) {
@@ -10812,7 +10824,7 @@ ${input.slice(result.pos)}
10812
10824
  return result;
10813
10825
  }
10814
10826
  }
10815
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L90, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L90, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10827
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L89, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L89, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10816
10828
  return { $loc, token: $1 };
10817
10829
  });
10818
10830
  function InlineComment(state) {
@@ -10911,7 +10923,7 @@ ${input.slice(result.pos)}
10911
10923
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10912
10924
  return { $loc, token: $0 };
10913
10925
  });
10914
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10926
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L90, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10915
10927
  return "";
10916
10928
  });
10917
10929
  function NonNewlineWhitespace(state) {
@@ -11138,7 +11150,7 @@ ${input.slice(result.pos)}
11138
11150
  return result;
11139
11151
  }
11140
11152
  }
11141
- var Abstract$0 = $TV($TEXT($S($EXPECT($L92, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11153
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L91, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11142
11154
  return { $loc, token: $1, ts: true };
11143
11155
  });
11144
11156
  function Abstract(state) {
@@ -11188,7 +11200,7 @@ ${input.slice(result.pos)}
11188
11200
  return result;
11189
11201
  }
11190
11202
  }
11191
- var As$0 = $TS($S($EXPECT($L93, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11203
+ var As$0 = $TS($S($EXPECT($L92, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11192
11204
  return { $loc, token: $1 };
11193
11205
  });
11194
11206
  function As(state) {
@@ -11213,7 +11225,7 @@ ${input.slice(result.pos)}
11213
11225
  return result;
11214
11226
  }
11215
11227
  }
11216
- var At$0 = $TV($EXPECT($L94, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11228
+ var At$0 = $TV($EXPECT($L93, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11217
11229
  return { $loc, token: $1 };
11218
11230
  });
11219
11231
  function At(state) {
@@ -11238,7 +11250,7 @@ ${input.slice(result.pos)}
11238
11250
  return result;
11239
11251
  }
11240
11252
  }
11241
- var AtAt$0 = $TV($EXPECT($L95, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11253
+ var AtAt$0 = $TV($EXPECT($L94, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11242
11254
  return { $loc, token: "@" };
11243
11255
  });
11244
11256
  function AtAt(state) {
@@ -11263,7 +11275,7 @@ ${input.slice(result.pos)}
11263
11275
  return result;
11264
11276
  }
11265
11277
  }
11266
- var Async$0 = $TS($S($EXPECT($L96, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11278
+ var Async$0 = $TS($S($EXPECT($L95, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11267
11279
  return { $loc, token: $1, type: "Async" };
11268
11280
  });
11269
11281
  function Async(state) {
@@ -11288,7 +11300,7 @@ ${input.slice(result.pos)}
11288
11300
  return result;
11289
11301
  }
11290
11302
  }
11291
- var Await$0 = $TS($S($EXPECT($L97, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11303
+ var Await$0 = $TS($S($EXPECT($L96, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11292
11304
  return { $loc, token: $1 };
11293
11305
  });
11294
11306
  function Await(state) {
@@ -11313,7 +11325,7 @@ ${input.slice(result.pos)}
11313
11325
  return result;
11314
11326
  }
11315
11327
  }
11316
- var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11328
+ var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11317
11329
  return { $loc, token: $1 };
11318
11330
  });
11319
11331
  function Backtick(state) {
@@ -11338,7 +11350,7 @@ ${input.slice(result.pos)}
11338
11350
  return result;
11339
11351
  }
11340
11352
  }
11341
- var By$0 = $TS($S($EXPECT($L99, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11353
+ var By$0 = $TS($S($EXPECT($L98, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11342
11354
  return { $loc, token: $1 };
11343
11355
  });
11344
11356
  function By(state) {
@@ -11363,7 +11375,7 @@ ${input.slice(result.pos)}
11363
11375
  return result;
11364
11376
  }
11365
11377
  }
11366
- var Case$0 = $TS($S($EXPECT($L100, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11378
+ var Case$0 = $TS($S($EXPECT($L99, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11367
11379
  return { $loc, token: $1 };
11368
11380
  });
11369
11381
  function Case(state) {
@@ -11388,7 +11400,7 @@ ${input.slice(result.pos)}
11388
11400
  return result;
11389
11401
  }
11390
11402
  }
11391
- var Catch$0 = $TS($S($EXPECT($L101, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11403
+ var Catch$0 = $TS($S($EXPECT($L100, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11392
11404
  return { $loc, token: $1 };
11393
11405
  });
11394
11406
  function Catch(state) {
@@ -11413,7 +11425,7 @@ ${input.slice(result.pos)}
11413
11425
  return result;
11414
11426
  }
11415
11427
  }
11416
- var Class$0 = $TS($S($EXPECT($L102, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11428
+ var Class$0 = $TS($S($EXPECT($L101, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11417
11429
  return { $loc, token: $1 };
11418
11430
  });
11419
11431
  function Class(state) {
@@ -11513,7 +11525,7 @@ ${input.slice(result.pos)}
11513
11525
  return result;
11514
11526
  }
11515
11527
  }
11516
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L103, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11528
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L102, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11517
11529
  return { $loc, token: "${" };
11518
11530
  });
11519
11531
  function CoffeeSubstitutionStart(state) {
@@ -11563,7 +11575,7 @@ ${input.slice(result.pos)}
11563
11575
  return result;
11564
11576
  }
11565
11577
  }
11566
- var ConstructorShorthand$0 = $TV($EXPECT($L94, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11578
+ var ConstructorShorthand$0 = $TV($EXPECT($L93, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11567
11579
  return { $loc, token: "constructor" };
11568
11580
  });
11569
11581
  function ConstructorShorthand(state) {
@@ -11588,7 +11600,32 @@ ${input.slice(result.pos)}
11588
11600
  return result;
11589
11601
  }
11590
11602
  }
11591
- var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11603
+ var Declare$0 = $TS($S($EXPECT($L103, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11604
+ return { $loc, token: $1 };
11605
+ });
11606
+ function Declare(state) {
11607
+ let eventData;
11608
+ if (state.events) {
11609
+ const result = state.events.enter?.("Declare", state);
11610
+ if (result) {
11611
+ if (result.cache)
11612
+ return result.cache;
11613
+ eventData = result.data;
11614
+ }
11615
+ }
11616
+ if (state.tokenize) {
11617
+ const result = $TOKEN("Declare", state, Declare$0(state));
11618
+ if (state.events)
11619
+ state.events.exit?.("Declare", state, result, eventData);
11620
+ return result;
11621
+ } else {
11622
+ const result = Declare$0(state);
11623
+ if (state.events)
11624
+ state.events.exit?.("Declare", state, result, eventData);
11625
+ return result;
11626
+ }
11627
+ }
11628
+ var Default$0 = $TS($S($EXPECT($L104, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11592
11629
  return { $loc, token: $1 };
11593
11630
  });
11594
11631
  function Default(state) {
@@ -11613,7 +11650,7 @@ ${input.slice(result.pos)}
11613
11650
  return result;
11614
11651
  }
11615
11652
  }
11616
- var Delete$0 = $TS($S($EXPECT($L104, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11653
+ var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11617
11654
  return { $loc, token: $1 };
11618
11655
  });
11619
11656
  function Delete(state) {
@@ -11638,7 +11675,7 @@ ${input.slice(result.pos)}
11638
11675
  return result;
11639
11676
  }
11640
11677
  }
11641
- var Do$0 = $TS($S($EXPECT($L105, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11678
+ var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11642
11679
  return { $loc, token: $1 };
11643
11680
  });
11644
11681
  function Do(state) {
@@ -11688,7 +11725,7 @@ ${input.slice(result.pos)}
11688
11725
  return result;
11689
11726
  }
11690
11727
  }
11691
- var DotDot$0 = $TV($EXPECT($L106, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11728
+ var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11692
11729
  return { $loc, token: $1 };
11693
11730
  });
11694
11731
  function DotDot(state) {
@@ -11713,7 +11750,7 @@ ${input.slice(result.pos)}
11713
11750
  return result;
11714
11751
  }
11715
11752
  }
11716
- var DotDotDot$0 = $TV($EXPECT($L107, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11753
+ var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11717
11754
  return { $loc, token: $1 };
11718
11755
  });
11719
11756
  function DotDotDot(state) {
@@ -11738,7 +11775,7 @@ ${input.slice(result.pos)}
11738
11775
  return result;
11739
11776
  }
11740
11777
  }
11741
- var DoubleColon$0 = $TV($EXPECT($L108, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11778
+ var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11742
11779
  return { $loc, token: $1 };
11743
11780
  });
11744
11781
  function DoubleColon(state) {
@@ -11763,7 +11800,7 @@ ${input.slice(result.pos)}
11763
11800
  return result;
11764
11801
  }
11765
11802
  }
11766
- var DoubleQuote$0 = $TV($EXPECT($L109, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11803
+ var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11767
11804
  return { $loc, token: $1 };
11768
11805
  });
11769
11806
  function DoubleQuote(state) {
@@ -11788,7 +11825,7 @@ ${input.slice(result.pos)}
11788
11825
  return result;
11789
11826
  }
11790
11827
  }
11791
- var Else$0 = $TS($S($EXPECT($L110, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11828
+ var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11792
11829
  return { $loc, token: $1 };
11793
11830
  });
11794
11831
  function Else(state) {
@@ -11838,7 +11875,7 @@ ${input.slice(result.pos)}
11838
11875
  return result;
11839
11876
  }
11840
11877
  }
11841
- var Export$0 = $TS($S($EXPECT($L111, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11878
+ var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11842
11879
  return { $loc, token: $1 };
11843
11880
  });
11844
11881
  function Export(state) {
@@ -11863,7 +11900,7 @@ ${input.slice(result.pos)}
11863
11900
  return result;
11864
11901
  }
11865
11902
  }
11866
- var Extends$0 = $TS($S($EXPECT($L112, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11903
+ var Extends$0 = $TS($S($EXPECT($L113, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11867
11904
  return { $loc, token: $1 };
11868
11905
  });
11869
11906
  function Extends(state) {
@@ -11888,7 +11925,7 @@ ${input.slice(result.pos)}
11888
11925
  return result;
11889
11926
  }
11890
11927
  }
11891
- var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11928
+ var For$0 = $TS($S($EXPECT($L114, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11892
11929
  return { $loc, token: $1 };
11893
11930
  });
11894
11931
  function For(state) {
@@ -11913,7 +11950,7 @@ ${input.slice(result.pos)}
11913
11950
  return result;
11914
11951
  }
11915
11952
  }
11916
- var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11953
+ var From$0 = $TS($S($EXPECT($L115, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11917
11954
  return { $loc, token: $1 };
11918
11955
  });
11919
11956
  function From(state) {
@@ -11938,7 +11975,7 @@ ${input.slice(result.pos)}
11938
11975
  return result;
11939
11976
  }
11940
11977
  }
11941
- var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11978
+ var Function$0 = $TS($S($EXPECT($L116, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11942
11979
  return { $loc, token: $1 };
11943
11980
  });
11944
11981
  function Function(state) {
@@ -11963,7 +12000,7 @@ ${input.slice(result.pos)}
11963
12000
  return result;
11964
12001
  }
11965
12002
  }
11966
- var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12003
+ var GetOrSet$0 = $TS($S($C($EXPECT($L117, fail, 'GetOrSet "get"'), $EXPECT($L118, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11967
12004
  return { $loc, token: $1, type: "GetOrSet" };
11968
12005
  });
11969
12006
  function GetOrSet(state) {
@@ -11988,7 +12025,7 @@ ${input.slice(result.pos)}
11988
12025
  return result;
11989
12026
  }
11990
12027
  }
11991
- var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12028
+ var If$0 = $TV($TEXT($S($EXPECT($L119, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
11992
12029
  return { $loc, token: $1 };
11993
12030
  });
11994
12031
  function If(state) {
@@ -12063,7 +12100,7 @@ ${input.slice(result.pos)}
12063
12100
  return result;
12064
12101
  }
12065
12102
  }
12066
- var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12103
+ var LetOrConst$0 = $TS($S($C($EXPECT($L120, fail, 'LetOrConst "let"'), $EXPECT($L121, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12067
12104
  return { $loc, token: $1 };
12068
12105
  });
12069
12106
  function LetOrConst(state) {
@@ -12088,7 +12125,7 @@ ${input.slice(result.pos)}
12088
12125
  return result;
12089
12126
  }
12090
12127
  }
12091
- var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12128
+ var Loop$0 = $TS($S($EXPECT($L122, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12092
12129
  return { $loc, token: "while(true)" };
12093
12130
  });
12094
12131
  function Loop(state) {
@@ -12113,7 +12150,7 @@ ${input.slice(result.pos)}
12113
12150
  return result;
12114
12151
  }
12115
12152
  }
12116
- var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12153
+ var New$0 = $TS($S($EXPECT($L123, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12117
12154
  return { $loc, token: $1 };
12118
12155
  });
12119
12156
  function New(state) {
@@ -12188,7 +12225,7 @@ ${input.slice(result.pos)}
12188
12225
  return result;
12189
12226
  }
12190
12227
  }
12191
- var OpenAngleBracket$0 = $TV($EXPECT($L123, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12228
+ var OpenAngleBracket$0 = $TV($EXPECT($L124, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12192
12229
  return { $loc, token: $1 };
12193
12230
  });
12194
12231
  function OpenAngleBracket(state) {
@@ -12213,7 +12250,7 @@ ${input.slice(result.pos)}
12213
12250
  return result;
12214
12251
  }
12215
12252
  }
12216
- var OpenBrace$0 = $TV($EXPECT($L124, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12253
+ var OpenBrace$0 = $TV($EXPECT($L125, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12217
12254
  return { $loc, token: $1 };
12218
12255
  });
12219
12256
  function OpenBrace(state) {
@@ -12238,7 +12275,7 @@ ${input.slice(result.pos)}
12238
12275
  return result;
12239
12276
  }
12240
12277
  }
12241
- var OpenBracket$0 = $TV($EXPECT($L125, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12278
+ var OpenBracket$0 = $TV($EXPECT($L126, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12242
12279
  return { $loc, token: $1 };
12243
12280
  });
12244
12281
  function OpenBracket(state) {
@@ -12263,7 +12300,7 @@ ${input.slice(result.pos)}
12263
12300
  return result;
12264
12301
  }
12265
12302
  }
12266
- var OpenParen$0 = $TV($EXPECT($L126, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12303
+ var OpenParen$0 = $TV($EXPECT($L127, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12267
12304
  return { $loc, token: $1 };
12268
12305
  });
12269
12306
  function OpenParen(state) {
@@ -12288,7 +12325,7 @@ ${input.slice(result.pos)}
12288
12325
  return result;
12289
12326
  }
12290
12327
  }
12291
- var Public$0 = $TS($S($EXPECT($L127, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12328
+ var Public$0 = $TS($S($EXPECT($L128, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12292
12329
  return { $loc, token: $1 };
12293
12330
  });
12294
12331
  function Public(state) {
@@ -12313,7 +12350,7 @@ ${input.slice(result.pos)}
12313
12350
  return result;
12314
12351
  }
12315
12352
  }
12316
- var Private$0 = $TS($S($EXPECT($L128, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12353
+ var Private$0 = $TS($S($EXPECT($L129, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12317
12354
  return { $loc, token: $1 };
12318
12355
  });
12319
12356
  function Private(state) {
@@ -12338,7 +12375,7 @@ ${input.slice(result.pos)}
12338
12375
  return result;
12339
12376
  }
12340
12377
  }
12341
- var Protected$0 = $TS($S($EXPECT($L129, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12378
+ var Protected$0 = $TS($S($EXPECT($L130, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12342
12379
  return { $loc, token: $1 };
12343
12380
  });
12344
12381
  function Protected(state) {
@@ -12363,7 +12400,7 @@ ${input.slice(result.pos)}
12363
12400
  return result;
12364
12401
  }
12365
12402
  }
12366
- var Pipe$0 = $TV($EXPECT($L130, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12403
+ var Pipe$0 = $TV($EXPECT($L131, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12367
12404
  return { $loc, token: $1 };
12368
12405
  });
12369
12406
  function Pipe(state) {
@@ -12413,7 +12450,7 @@ ${input.slice(result.pos)}
12413
12450
  return result;
12414
12451
  }
12415
12452
  }
12416
- var Readonly$0 = $TS($S($EXPECT($L131, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12453
+ var Readonly$0 = $TS($S($EXPECT($L132, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12417
12454
  return { $loc, token: $1, ts: true };
12418
12455
  });
12419
12456
  function Readonly(state) {
@@ -12438,7 +12475,7 @@ ${input.slice(result.pos)}
12438
12475
  return result;
12439
12476
  }
12440
12477
  }
12441
- var Return$0 = $TS($S($EXPECT($L132, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12478
+ var Return$0 = $TS($S($EXPECT($L133, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12442
12479
  return { $loc, token: $1 };
12443
12480
  });
12444
12481
  function Return(state) {
@@ -12463,7 +12500,7 @@ ${input.slice(result.pos)}
12463
12500
  return result;
12464
12501
  }
12465
12502
  }
12466
- var Satisfies$0 = $TS($S($EXPECT($L133, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12503
+ var Satisfies$0 = $TS($S($EXPECT($L134, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12467
12504
  return { $loc, token: $1 };
12468
12505
  });
12469
12506
  function Satisfies(state) {
@@ -12513,7 +12550,7 @@ ${input.slice(result.pos)}
12513
12550
  return result;
12514
12551
  }
12515
12552
  }
12516
- var SingleQuote$0 = $TV($EXPECT($L134, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12553
+ var SingleQuote$0 = $TV($EXPECT($L135, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12517
12554
  return { $loc, token: $1 };
12518
12555
  });
12519
12556
  function SingleQuote(state) {
@@ -12563,10 +12600,10 @@ ${input.slice(result.pos)}
12563
12600
  return result;
12564
12601
  }
12565
12602
  }
12566
- var Static$0 = $TS($S($EXPECT($L135, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12603
+ var Static$0 = $TS($S($EXPECT($L136, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12567
12604
  return { $loc, token: $1 };
12568
12605
  });
12569
- var Static$1 = $TS($S($EXPECT($L94, fail, 'Static "@"'), $N($C($EXPECT($L126, fail, 'Static "("'), $EXPECT($L94, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12606
+ var Static$1 = $TS($S($EXPECT($L93, fail, 'Static "@"'), $N($C($EXPECT($L127, fail, 'Static "("'), $EXPECT($L93, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12570
12607
  return { $loc, token: "static " };
12571
12608
  });
12572
12609
  function Static(state) {
@@ -12591,7 +12628,7 @@ ${input.slice(result.pos)}
12591
12628
  return result;
12592
12629
  }
12593
12630
  }
12594
- var SubstitutionStart$0 = $TV($EXPECT($L136, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12631
+ var SubstitutionStart$0 = $TV($EXPECT($L137, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12595
12632
  return { $loc, token: $1 };
12596
12633
  });
12597
12634
  function SubstitutionStart(state) {
@@ -12616,7 +12653,7 @@ ${input.slice(result.pos)}
12616
12653
  return result;
12617
12654
  }
12618
12655
  }
12619
- var Switch$0 = $TS($S($EXPECT($L137, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12656
+ var Switch$0 = $TS($S($EXPECT($L138, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12620
12657
  return { $loc, token: $1 };
12621
12658
  });
12622
12659
  function Switch(state) {
@@ -12641,7 +12678,7 @@ ${input.slice(result.pos)}
12641
12678
  return result;
12642
12679
  }
12643
12680
  }
12644
- var Target$0 = $TS($S($EXPECT($L138, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12681
+ var Target$0 = $TS($S($EXPECT($L139, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12645
12682
  return { $loc, token: $1 };
12646
12683
  });
12647
12684
  function Target(state) {
@@ -12666,7 +12703,7 @@ ${input.slice(result.pos)}
12666
12703
  return result;
12667
12704
  }
12668
12705
  }
12669
- var Then$0 = $TS($S(__, $EXPECT($L139, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12706
+ var Then$0 = $TS($S(__, $EXPECT($L140, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12670
12707
  return { $loc, token: "" };
12671
12708
  });
12672
12709
  function Then(state) {
@@ -12691,7 +12728,7 @@ ${input.slice(result.pos)}
12691
12728
  return result;
12692
12729
  }
12693
12730
  }
12694
- var This$0 = $TS($S($EXPECT($L140, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12731
+ var This$0 = $TS($S($EXPECT($L141, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12695
12732
  return { $loc, token: $1 };
12696
12733
  });
12697
12734
  function This(state) {
@@ -12716,7 +12753,7 @@ ${input.slice(result.pos)}
12716
12753
  return result;
12717
12754
  }
12718
12755
  }
12719
- var Throw$0 = $TS($S($EXPECT($L141, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12756
+ var Throw$0 = $TS($S($EXPECT($L142, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12720
12757
  return { $loc, token: $1 };
12721
12758
  });
12722
12759
  function Throw(state) {
@@ -12741,7 +12778,7 @@ ${input.slice(result.pos)}
12741
12778
  return result;
12742
12779
  }
12743
12780
  }
12744
- var TripleDoubleQuote$0 = $TV($EXPECT($L142, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12781
+ var TripleDoubleQuote$0 = $TV($EXPECT($L143, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12745
12782
  return { $loc, token: "`" };
12746
12783
  });
12747
12784
  function TripleDoubleQuote(state) {
@@ -12766,7 +12803,7 @@ ${input.slice(result.pos)}
12766
12803
  return result;
12767
12804
  }
12768
12805
  }
12769
- var TripleSingleQuote$0 = $TV($EXPECT($L143, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12806
+ var TripleSingleQuote$0 = $TV($EXPECT($L144, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12770
12807
  return { $loc, token: "`" };
12771
12808
  });
12772
12809
  function TripleSingleQuote(state) {
@@ -12791,7 +12828,7 @@ ${input.slice(result.pos)}
12791
12828
  return result;
12792
12829
  }
12793
12830
  }
12794
- var TripleSlash$0 = $TV($EXPECT($L144, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12831
+ var TripleSlash$0 = $TV($EXPECT($L145, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12795
12832
  return { $loc, token: "/" };
12796
12833
  });
12797
12834
  function TripleSlash(state) {
@@ -12816,7 +12853,7 @@ ${input.slice(result.pos)}
12816
12853
  return result;
12817
12854
  }
12818
12855
  }
12819
- var TripleTick$0 = $TV($EXPECT($L145, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12856
+ var TripleTick$0 = $TV($EXPECT($L146, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12820
12857
  return { $loc, token: "`" };
12821
12858
  });
12822
12859
  function TripleTick(state) {
@@ -12841,7 +12878,7 @@ ${input.slice(result.pos)}
12841
12878
  return result;
12842
12879
  }
12843
12880
  }
12844
- var Try$0 = $TS($S($EXPECT($L146, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12881
+ var Try$0 = $TS($S($EXPECT($L147, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12845
12882
  return { $loc, token: $1 };
12846
12883
  });
12847
12884
  function Try(state) {
@@ -12866,7 +12903,7 @@ ${input.slice(result.pos)}
12866
12903
  return result;
12867
12904
  }
12868
12905
  }
12869
- var Typeof$0 = $TS($S($EXPECT($L147, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12906
+ var Typeof$0 = $TS($S($EXPECT($L148, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12870
12907
  return { $loc, token: $1 };
12871
12908
  });
12872
12909
  function Typeof(state) {
@@ -12891,7 +12928,7 @@ ${input.slice(result.pos)}
12891
12928
  return result;
12892
12929
  }
12893
12930
  }
12894
- var Unless$0 = $TS($S($EXPECT($L148, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12931
+ var Unless$0 = $TS($S($EXPECT($L149, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12895
12932
  return { $loc, token: $1 };
12896
12933
  });
12897
12934
  function Unless(state) {
@@ -12916,7 +12953,7 @@ ${input.slice(result.pos)}
12916
12953
  return result;
12917
12954
  }
12918
12955
  }
12919
- var Until$0 = $TS($S($EXPECT($L149, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12956
+ var Until$0 = $TS($S($EXPECT($L150, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12920
12957
  return { $loc, token: $1 };
12921
12958
  });
12922
12959
  function Until(state) {
@@ -12941,7 +12978,7 @@ ${input.slice(result.pos)}
12941
12978
  return result;
12942
12979
  }
12943
12980
  }
12944
- var Var$0 = $TS($S($EXPECT($L150, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12981
+ var Var$0 = $TS($S($EXPECT($L151, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12945
12982
  return { $loc, token: $1 };
12946
12983
  });
12947
12984
  function Var(state) {
@@ -12966,7 +13003,7 @@ ${input.slice(result.pos)}
12966
13003
  return result;
12967
13004
  }
12968
13005
  }
12969
- var Void$0 = $TS($S($EXPECT($L151, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13006
+ var Void$0 = $TS($S($EXPECT($L152, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12970
13007
  return { $loc, token: $1 };
12971
13008
  });
12972
13009
  function Void(state) {
@@ -12991,7 +13028,7 @@ ${input.slice(result.pos)}
12991
13028
  return result;
12992
13029
  }
12993
13030
  }
12994
- var When$0 = $TS($S($EXPECT($L152, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13031
+ var When$0 = $TS($S($EXPECT($L153, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12995
13032
  return { $loc, token: "case" };
12996
13033
  });
12997
13034
  function When(state) {
@@ -13016,7 +13053,7 @@ ${input.slice(result.pos)}
13016
13053
  return result;
13017
13054
  }
13018
13055
  }
13019
- var While$0 = $TS($S($EXPECT($L153, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13056
+ var While$0 = $TS($S($EXPECT($L154, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13020
13057
  return { $loc, token: $1 };
13021
13058
  });
13022
13059
  function While(state) {
@@ -13041,7 +13078,7 @@ ${input.slice(result.pos)}
13041
13078
  return result;
13042
13079
  }
13043
13080
  }
13044
- var Yield$0 = $TS($S($EXPECT($L154, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13081
+ var Yield$0 = $TS($S($EXPECT($L155, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13045
13082
  return { $loc, token: $1 };
13046
13083
  });
13047
13084
  function Yield(state) {
@@ -13187,7 +13224,7 @@ ${input.slice(result.pos)}
13187
13224
  return result;
13188
13225
  }
13189
13226
  }
13190
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L123, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L155, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13227
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L124, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L156, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13191
13228
  return { type: "JSXElement", children: $0, tag: $2 };
13192
13229
  });
13193
13230
  function JSXSelfClosingElement(state) {
@@ -13238,7 +13275,7 @@ ${input.slice(result.pos)}
13238
13275
  return result;
13239
13276
  }
13240
13277
  }
13241
- var JSXOpeningElement$0 = $S($EXPECT($L123, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13278
+ var JSXOpeningElement$0 = $S($EXPECT($L124, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13242
13279
  function JSXOpeningElement(state) {
13243
13280
  let eventData;
13244
13281
  if (state.events) {
@@ -13290,7 +13327,7 @@ ${input.slice(result.pos)}
13290
13327
  return result;
13291
13328
  }
13292
13329
  }
13293
- var JSXClosingElement$0 = $S($EXPECT($L156, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13330
+ var JSXClosingElement$0 = $S($EXPECT($L157, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13294
13331
  function JSXClosingElement(state) {
13295
13332
  let eventData;
13296
13333
  if (state.events) {
@@ -13329,7 +13366,7 @@ ${input.slice(result.pos)}
13329
13366
  ];
13330
13367
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
13331
13368
  });
13332
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L157, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13369
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L158, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13333
13370
  var children = $3;
13334
13371
  $0 = $0.slice(1);
13335
13372
  return {
@@ -13360,7 +13397,7 @@ ${input.slice(result.pos)}
13360
13397
  return result;
13361
13398
  }
13362
13399
  }
13363
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L157, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13400
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L158, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13364
13401
  module2.JSXTagStack.push("");
13365
13402
  return $1;
13366
13403
  });
@@ -13414,7 +13451,7 @@ ${input.slice(result.pos)}
13414
13451
  return result;
13415
13452
  }
13416
13453
  }
13417
- var JSXClosingFragment$0 = $EXPECT($L158, fail, 'JSXClosingFragment "</>"');
13454
+ var JSXClosingFragment$0 = $EXPECT($L159, fail, 'JSXClosingFragment "</>"');
13418
13455
  function JSXClosingFragment(state) {
13419
13456
  let eventData;
13420
13457
  if (state.events) {
@@ -14291,7 +14328,7 @@ ${input.slice(result.pos)}
14291
14328
  return result;
14292
14329
  }
14293
14330
  }
14294
- var JSXComment$0 = $TS($S($EXPECT($L159, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L160, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14331
+ var JSXComment$0 = $TS($S($EXPECT($L160, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L161, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14295
14332
  return ["{/*", $2, "*/}"];
14296
14333
  });
14297
14334
  function JSXComment(state) {
@@ -14443,7 +14480,10 @@ ${input.slice(result.pos)}
14443
14480
  return result;
14444
14481
  }
14445
14482
  }
14446
- var TypeDeclaration$0 = $T($S($Q($S(TypeDeclarationModifier, $Q(TrailingComment))), TypeDeclarationRest), function(value) {
14483
+ var TypeDeclaration$0 = $T($S($E($S(Export, $E(_))), $S(Declare, $E(_)), TypeLexicalDeclaration), function(value) {
14484
+ return { "ts": true, "children": value };
14485
+ });
14486
+ var TypeDeclaration$1 = $T($S($E($S(Export, $E(_))), $E($S(Declare, $E(_))), TypeDeclarationRest), function(value) {
14447
14487
  return { "ts": true, "children": value };
14448
14488
  });
14449
14489
  function TypeDeclaration(state) {
@@ -14457,23 +14497,25 @@ ${input.slice(result.pos)}
14457
14497
  }
14458
14498
  }
14459
14499
  if (state.tokenize) {
14460
- const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state));
14500
+ const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state) || TypeDeclaration$1(state));
14461
14501
  if (state.events)
14462
14502
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14463
14503
  return result;
14464
14504
  } else {
14465
- const result = TypeDeclaration$0(state);
14505
+ const result = TypeDeclaration$0(state) || TypeDeclaration$1(state);
14466
14506
  if (state.events)
14467
14507
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14468
14508
  return result;
14469
14509
  }
14470
14510
  }
14471
- var TypeDeclarationModifier$0 = $S($EXPECT($L161, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
14472
- var TypeDeclarationModifier$1 = Export;
14473
- function TypeDeclarationModifier(state) {
14511
+ var TypeDeclarationRest$0 = $S(TypeKeyword, $Q(TrailingComment), IdentifierName, $E(TypeParameters), __, Equals, __, Type);
14512
+ var TypeDeclarationRest$1 = $S(Interface, $Q(TrailingComment), IdentifierName, $E(TypeParameters), $E(InterfaceExtendsClause), InterfaceBlock);
14513
+ var TypeDeclarationRest$2 = $S(Namespace, $Q(TrailingComment), IdentifierName, NamespaceBlock);
14514
+ var TypeDeclarationRest$3 = FunctionSignature;
14515
+ function TypeDeclarationRest(state) {
14474
14516
  let eventData;
14475
14517
  if (state.events) {
14476
- const result = state.events.enter?.("TypeDeclarationModifier", state);
14518
+ const result = state.events.enter?.("TypeDeclarationRest", state);
14477
14519
  if (result) {
14478
14520
  if (result.cache)
14479
14521
  return result.cache;
@@ -14481,25 +14523,22 @@ ${input.slice(result.pos)}
14481
14523
  }
14482
14524
  }
14483
14525
  if (state.tokenize) {
14484
- const result = $TOKEN("TypeDeclarationModifier", state, TypeDeclarationModifier$0(state) || TypeDeclarationModifier$1(state));
14526
+ const result = $TOKEN("TypeDeclarationRest", state, TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state));
14485
14527
  if (state.events)
14486
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14528
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14487
14529
  return result;
14488
14530
  } else {
14489
- const result = TypeDeclarationModifier$0(state) || TypeDeclarationModifier$1(state);
14531
+ const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14490
14532
  if (state.events)
14491
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14533
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14492
14534
  return result;
14493
14535
  }
14494
14536
  }
14495
- var TypeDeclarationRest$0 = $S(TypeKeyword, $Q(TrailingComment), IdentifierName, $E(TypeParameters), __, Equals, __, Type);
14496
- var TypeDeclarationRest$1 = $S(Interface, $Q(TrailingComment), IdentifierName, $E(TypeParameters), $E(InterfaceExtendsClause), InterfaceBlock);
14497
- var TypeDeclarationRest$2 = $S(Namespace, $Q(TrailingComment), IdentifierName, NamespaceBlock);
14498
- var TypeDeclarationRest$3 = FunctionSignature;
14499
- function TypeDeclarationRest(state) {
14537
+ var TypeLexicalDeclaration$0 = $S(__, $N(Namespace), LetOrConst, TypeDeclarationBinding, $Q($S(CommaDelimiter, __, TypeDeclarationBinding)));
14538
+ function TypeLexicalDeclaration(state) {
14500
14539
  let eventData;
14501
14540
  if (state.events) {
14502
- const result = state.events.enter?.("TypeDeclarationRest", state);
14541
+ const result = state.events.enter?.("TypeLexicalDeclaration", state);
14503
14542
  if (result) {
14504
14543
  if (result.cache)
14505
14544
  return result.cache;
@@ -14507,14 +14546,37 @@ ${input.slice(result.pos)}
14507
14546
  }
14508
14547
  }
14509
14548
  if (state.tokenize) {
14510
- const result = $TOKEN("TypeDeclarationRest", state, TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state));
14549
+ const result = $TOKEN("TypeLexicalDeclaration", state, TypeLexicalDeclaration$0(state));
14511
14550
  if (state.events)
14512
- state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14551
+ state.events.exit?.("TypeLexicalDeclaration", state, result, eventData);
14513
14552
  return result;
14514
14553
  } else {
14515
- const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14554
+ const result = TypeLexicalDeclaration$0(state);
14516
14555
  if (state.events)
14517
- state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14556
+ state.events.exit?.("TypeLexicalDeclaration", state, result, eventData);
14557
+ return result;
14558
+ }
14559
+ }
14560
+ var TypeDeclarationBinding$0 = $S($C(BindingPattern, BindingIdentifier), $E(TypeSuffix));
14561
+ function TypeDeclarationBinding(state) {
14562
+ let eventData;
14563
+ if (state.events) {
14564
+ const result = state.events.enter?.("TypeDeclarationBinding", state);
14565
+ if (result) {
14566
+ if (result.cache)
14567
+ return result.cache;
14568
+ eventData = result.data;
14569
+ }
14570
+ }
14571
+ if (state.tokenize) {
14572
+ const result = $TOKEN("TypeDeclarationBinding", state, TypeDeclarationBinding$0(state));
14573
+ if (state.events)
14574
+ state.events.exit?.("TypeDeclarationBinding", state, result, eventData);
14575
+ return result;
14576
+ } else {
14577
+ const result = TypeDeclarationBinding$0(state);
14578
+ if (state.events)
14579
+ state.events.exit?.("TypeDeclarationBinding", state, result, eventData);
14518
14580
  return result;
14519
14581
  }
14520
14582
  }
@@ -14835,7 +14897,7 @@ ${input.slice(result.pos)}
14835
14897
  return result;
14836
14898
  }
14837
14899
  }
14838
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L131, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14900
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L132, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14839
14901
  function TypeIndexSignature(state) {
14840
14902
  let eventData;
14841
14903
  if (state.events) {
@@ -15067,9 +15129,9 @@ ${input.slice(result.pos)}
15067
15129
  }
15068
15130
  }
15069
15131
  var TypeUnaryOp$0 = $S($EXPECT($L166, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15070
- var TypeUnaryOp$1 = $S($EXPECT($L147, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15132
+ var TypeUnaryOp$1 = $S($EXPECT($L148, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15071
15133
  var TypeUnaryOp$2 = $S($EXPECT($L167, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15072
- var TypeUnaryOp$3 = $S($EXPECT($L131, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15134
+ var TypeUnaryOp$3 = $S($EXPECT($L132, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15073
15135
  function TypeUnaryOp(state) {
15074
15136
  let eventData;
15075
15137
  if (state.events) {
@@ -15266,7 +15328,7 @@ ${input.slice(result.pos)}
15266
15328
  return result;
15267
15329
  }
15268
15330
  }
15269
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L112, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15331
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L113, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15270
15332
  if ($2)
15271
15333
  return $0;
15272
15334
  return $1;
@@ -15295,7 +15357,7 @@ ${input.slice(result.pos)}
15295
15357
  }
15296
15358
  var TypeLiteral$0 = Literal;
15297
15359
  var TypeLiteral$1 = TemplateLiteral;
15298
- var TypeLiteral$2 = $TS($S($EXPECT($L151, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15360
+ var TypeLiteral$2 = $TS($S($EXPECT($L152, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15299
15361
  return { $loc, token: "void" };
15300
15362
  });
15301
15363
  var TypeLiteral$3 = $TV($EXPECT($L168, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
@@ -15380,7 +15442,7 @@ ${input.slice(result.pos)}
15380
15442
  return result;
15381
15443
  }
15382
15444
  }
15383
- var TypeArguments$0 = $TS($S($EXPECT($L123, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15445
+ var TypeArguments$0 = $TS($S($EXPECT($L124, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15384
15446
  return { ts: true, children: $0 };
15385
15447
  });
15386
15448
  function TypeArguments(state) {
@@ -15451,7 +15513,7 @@ ${input.slice(result.pos)}
15451
15513
  return result;
15452
15514
  }
15453
15515
  }
15454
- var TypeParameters$0 = $TS($S(__, $EXPECT($L123, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15516
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L124, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15455
15517
  var parameters = $3;
15456
15518
  return {
15457
15519
  type: "TypeParameters",
@@ -15505,7 +15567,7 @@ ${input.slice(result.pos)}
15505
15567
  return result;
15506
15568
  }
15507
15569
  }
15508
- var TypeConstraint$0 = $S(__, $EXPECT($L112, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15570
+ var TypeConstraint$0 = $S(__, $EXPECT($L113, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15509
15571
  function TypeConstraint(state) {
15510
15572
  let eventData;
15511
15573
  if (state.events) {