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