@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.mjs CHANGED
@@ -759,6 +759,7 @@ ${input.slice(result.pos)}
759
759
  CoffeeSubstitutionStart,
760
760
  Colon,
761
761
  ConstructorShorthand,
762
+ Declare,
762
763
  Default,
763
764
  Delete,
764
765
  Do,
@@ -862,8 +863,9 @@ ${input.slice(result.pos)}
862
863
  IndentedJSXChildExpression,
863
864
  NestedJSXChildExpression,
864
865
  TypeDeclaration,
865
- TypeDeclarationModifier,
866
866
  TypeDeclarationRest,
867
+ TypeLexicalDeclaration,
868
+ TypeDeclarationBinding,
867
869
  InterfaceExtendsClause,
868
870
  InterfaceExtendsTarget,
869
871
  TypeKeyword,
@@ -1040,82 +1042,82 @@ ${input.slice(result.pos)}
1040
1042
  var $L83 = $L("continue");
1041
1043
  var $L84 = $L("debugger");
1042
1044
  var $L85 = $L("assert");
1043
- var $L86 = $L("default");
1044
- var $L87 = $L(":=");
1045
- var $L88 = $L(".=");
1046
- var $L89 = $L("/*");
1047
- var $L90 = $L("*/");
1048
- var $L91 = $L("\\");
1049
- var $L92 = $L("abstract");
1050
- var $L93 = $L("as");
1051
- var $L94 = $L("@");
1052
- var $L95 = $L("@@");
1053
- var $L96 = $L("async");
1054
- var $L97 = $L("await");
1055
- var $L98 = $L("`");
1056
- var $L99 = $L("by");
1057
- var $L100 = $L("case");
1058
- var $L101 = $L("catch");
1059
- var $L102 = $L("class");
1060
- var $L103 = $L("#{");
1061
- var $L104 = $L("delete");
1062
- var $L105 = $L("do");
1063
- var $L106 = $L("..");
1064
- var $L107 = $L("...");
1065
- var $L108 = $L("::");
1066
- var $L109 = $L('"');
1067
- var $L110 = $L("else");
1068
- var $L111 = $L("export");
1069
- var $L112 = $L("extends");
1070
- var $L113 = $L("for");
1071
- var $L114 = $L("from");
1072
- var $L115 = $L("function");
1073
- var $L116 = $L("get");
1074
- var $L117 = $L("set");
1075
- var $L118 = $L("if");
1076
- var $L119 = $L("let");
1077
- var $L120 = $L("const");
1078
- var $L121 = $L("loop");
1079
- var $L122 = $L("new");
1080
- var $L123 = $L("<");
1081
- var $L124 = $L("{");
1082
- var $L125 = $L("[");
1083
- var $L126 = $L("(");
1084
- var $L127 = $L("public");
1085
- var $L128 = $L("private");
1086
- var $L129 = $L("protected");
1087
- var $L130 = $L("|>");
1088
- var $L131 = $L("readonly");
1089
- var $L132 = $L("return");
1090
- var $L133 = $L("satisfies");
1091
- var $L134 = $L("'");
1092
- var $L135 = $L("static");
1093
- var $L136 = $L("${");
1094
- var $L137 = $L("switch");
1095
- var $L138 = $L("target");
1096
- var $L139 = $L("then");
1097
- var $L140 = $L("this");
1098
- var $L141 = $L("throw");
1099
- var $L142 = $L('"""');
1100
- var $L143 = $L("'''");
1101
- var $L144 = $L("///");
1102
- var $L145 = $L("```");
1103
- var $L146 = $L("try");
1104
- var $L147 = $L("typeof");
1105
- var $L148 = $L("unless");
1106
- var $L149 = $L("until");
1107
- var $L150 = $L("var");
1108
- var $L151 = $L("void");
1109
- var $L152 = $L("when");
1110
- var $L153 = $L("while");
1111
- var $L154 = $L("yield");
1112
- var $L155 = $L("/>");
1113
- var $L156 = $L("</");
1114
- var $L157 = $L("<>");
1115
- var $L158 = $L("</>");
1116
- var $L159 = $L("<!--");
1117
- var $L160 = $L("-->");
1118
- var $L161 = $L("declare");
1045
+ var $L86 = $L(":=");
1046
+ var $L87 = $L(".=");
1047
+ var $L88 = $L("/*");
1048
+ var $L89 = $L("*/");
1049
+ var $L90 = $L("\\");
1050
+ var $L91 = $L("abstract");
1051
+ var $L92 = $L("as");
1052
+ var $L93 = $L("@");
1053
+ var $L94 = $L("@@");
1054
+ var $L95 = $L("async");
1055
+ var $L96 = $L("await");
1056
+ var $L97 = $L("`");
1057
+ var $L98 = $L("by");
1058
+ var $L99 = $L("case");
1059
+ var $L100 = $L("catch");
1060
+ var $L101 = $L("class");
1061
+ var $L102 = $L("#{");
1062
+ var $L103 = $L("declare");
1063
+ var $L104 = $L("default");
1064
+ var $L105 = $L("delete");
1065
+ var $L106 = $L("do");
1066
+ var $L107 = $L("..");
1067
+ var $L108 = $L("...");
1068
+ var $L109 = $L("::");
1069
+ var $L110 = $L('"');
1070
+ var $L111 = $L("else");
1071
+ var $L112 = $L("export");
1072
+ var $L113 = $L("extends");
1073
+ var $L114 = $L("for");
1074
+ var $L115 = $L("from");
1075
+ var $L116 = $L("function");
1076
+ var $L117 = $L("get");
1077
+ var $L118 = $L("set");
1078
+ var $L119 = $L("if");
1079
+ var $L120 = $L("let");
1080
+ var $L121 = $L("const");
1081
+ var $L122 = $L("loop");
1082
+ var $L123 = $L("new");
1083
+ var $L124 = $L("<");
1084
+ var $L125 = $L("{");
1085
+ var $L126 = $L("[");
1086
+ var $L127 = $L("(");
1087
+ var $L128 = $L("public");
1088
+ var $L129 = $L("private");
1089
+ var $L130 = $L("protected");
1090
+ var $L131 = $L("|>");
1091
+ var $L132 = $L("readonly");
1092
+ var $L133 = $L("return");
1093
+ var $L134 = $L("satisfies");
1094
+ var $L135 = $L("'");
1095
+ var $L136 = $L("static");
1096
+ var $L137 = $L("${");
1097
+ var $L138 = $L("switch");
1098
+ var $L139 = $L("target");
1099
+ var $L140 = $L("then");
1100
+ var $L141 = $L("this");
1101
+ var $L142 = $L("throw");
1102
+ var $L143 = $L('"""');
1103
+ var $L144 = $L("'''");
1104
+ var $L145 = $L("///");
1105
+ var $L146 = $L("```");
1106
+ var $L147 = $L("try");
1107
+ var $L148 = $L("typeof");
1108
+ var $L149 = $L("unless");
1109
+ var $L150 = $L("until");
1110
+ var $L151 = $L("var");
1111
+ var $L152 = $L("void");
1112
+ var $L153 = $L("when");
1113
+ var $L154 = $L("while");
1114
+ var $L155 = $L("yield");
1115
+ var $L156 = $L("/>");
1116
+ var $L157 = $L("</");
1117
+ var $L158 = $L("<>");
1118
+ var $L159 = $L("</>");
1119
+ var $L160 = $L("<!--");
1120
+ var $L161 = $L("-->");
1119
1121
  var $L162 = $L("type");
1120
1122
  var $L163 = $L("interface");
1121
1123
  var $L164 = $L("namespace");
@@ -2921,7 +2923,9 @@ ${input.slice(result.pos)}
2921
2923
  return result;
2922
2924
  }
2923
2925
  }
2924
- var AccessModifier$0 = $TS($S($C(Public, Private, Protected), __), function($skip, $loc, $0, $1, $2) {
2926
+ var AccessModifier$0 = $TS($S($E($S($C(Public, Private, Protected), __)), $E($S(Readonly, __))), function($skip, $loc, $0, $1, $2) {
2927
+ if (!($1 || $2))
2928
+ return $skip;
2925
2929
  return {
2926
2930
  ts: true,
2927
2931
  children: $0
@@ -7551,9 +7555,15 @@ ${input.slice(result.pos)}
7551
7555
  throw new Error("Can't use 'by' with 'of' in CoffeeScript for loops");
7552
7556
  }
7553
7557
  if (declaration.own) {
7554
- const indent2 = module.currentIndent.token + " ";
7555
7558
  const hasPropRef = module.getRef("hasProp");
7556
- blockPrefix.push([indent2, "if (!", hasPropRef, ".call(", exp, ", ", declaration, ")) continue\n"]);
7559
+ blockPrefix.push([indent, "if (!", hasPropRef, ".call(", exp, ", ", declaration, ")) continue\n"]);
7560
+ }
7561
+ if (index) {
7562
+ blockPrefix.push([indent, {
7563
+ type: "AssignmentExpression",
7564
+ children: [index, " = ", exp, "[", declaration, "]"],
7565
+ names: index.names
7566
+ }, ";\n"]);
7557
7567
  }
7558
7568
  kind.token = "in";
7559
7569
  } else if (kind.token === "in") {
@@ -7716,13 +7726,15 @@ ${input.slice(result.pos)}
7716
7726
  return result;
7717
7727
  }
7718
7728
  }
7719
- var CoffeeForIndex$0 = $TS($S($Q(TrailingComment), Comma, $Q(TrailingComment), BindingIdentifier), function($skip, $loc, $0, $1, $2, $3, $4) {
7729
+ var CoffeeForIndex$0 = $TS($S($E(_), Comma, $E(_), BindingIdentifier), function($skip, $loc, $0, $1, $2, $3, $4) {
7720
7730
  var ws1 = $1;
7721
7731
  var ws2 = $3;
7722
7732
  var id = $4;
7723
- return Object.assign({}, id, {
7724
- children: [...ws1, ...ws2, ...id.children]
7725
- });
7733
+ ws2 = module.insertTrimmingSpace(ws1, "");
7734
+ return {
7735
+ ...id,
7736
+ children: [...ws1 || [], ...ws2 || [], ...id.children]
7737
+ };
7726
7738
  });
7727
7739
  function CoffeeForIndex(state) {
7728
7740
  let eventData;
@@ -9180,7 +9192,7 @@ ${input.slice(result.pos)}
9180
9192
  return result;
9181
9193
  }
9182
9194
  }
9183
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9195
+ var ExportDeclaration$0 = $S(Export, __, Default, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9184
9196
  var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9185
9197
  if (!$3.ts)
9186
9198
  return $0;
@@ -9342,7 +9354,7 @@ ${input.slice(result.pos)}
9342
9354
  return result;
9343
9355
  }
9344
9356
  }
9345
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9357
+ var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9346
9358
  function ImplicitExportSpecifier(state) {
9347
9359
  let eventData;
9348
9360
  if (state.events) {
@@ -9513,7 +9525,7 @@ ${input.slice(result.pos)}
9513
9525
  return result;
9514
9526
  }
9515
9527
  }
9516
- var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9528
+ var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9517
9529
  return { $loc, token: "=" };
9518
9530
  });
9519
9531
  function ConstAssignment(state) {
@@ -9538,7 +9550,7 @@ ${input.slice(result.pos)}
9538
9550
  return result;
9539
9551
  }
9540
9552
  }
9541
- var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9553
+ var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9542
9554
  return { $loc, token: "=" };
9543
9555
  });
9544
9556
  function LetAssignment(state) {
@@ -10712,7 +10724,7 @@ ${input.slice(result.pos)}
10712
10724
  return result;
10713
10725
  }
10714
10726
  }
10715
- 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) {
10727
+ 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) {
10716
10728
  return { $loc, token: $1 };
10717
10729
  });
10718
10730
  function JSMultiLineComment(state) {
@@ -10762,7 +10774,7 @@ ${input.slice(result.pos)}
10762
10774
  return result;
10763
10775
  }
10764
10776
  }
10765
- 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) {
10777
+ 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) {
10766
10778
  return { $loc, token: `/*${$2}*/` };
10767
10779
  });
10768
10780
  function CoffeeMultiLineComment(state) {
@@ -10810,7 +10822,7 @@ ${input.slice(result.pos)}
10810
10822
  return result;
10811
10823
  }
10812
10824
  }
10813
- 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) {
10825
+ 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) {
10814
10826
  return { $loc, token: $1 };
10815
10827
  });
10816
10828
  function InlineComment(state) {
@@ -10909,7 +10921,7 @@ ${input.slice(result.pos)}
10909
10921
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10910
10922
  return { $loc, token: $0 };
10911
10923
  });
10912
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10924
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L90, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10913
10925
  return "";
10914
10926
  });
10915
10927
  function NonNewlineWhitespace(state) {
@@ -11136,7 +11148,7 @@ ${input.slice(result.pos)}
11136
11148
  return result;
11137
11149
  }
11138
11150
  }
11139
- var Abstract$0 = $TV($TEXT($S($EXPECT($L92, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11151
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L91, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11140
11152
  return { $loc, token: $1, ts: true };
11141
11153
  });
11142
11154
  function Abstract(state) {
@@ -11186,7 +11198,7 @@ ${input.slice(result.pos)}
11186
11198
  return result;
11187
11199
  }
11188
11200
  }
11189
- var As$0 = $TS($S($EXPECT($L93, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11201
+ var As$0 = $TS($S($EXPECT($L92, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11190
11202
  return { $loc, token: $1 };
11191
11203
  });
11192
11204
  function As(state) {
@@ -11211,7 +11223,7 @@ ${input.slice(result.pos)}
11211
11223
  return result;
11212
11224
  }
11213
11225
  }
11214
- var At$0 = $TV($EXPECT($L94, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11226
+ var At$0 = $TV($EXPECT($L93, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11215
11227
  return { $loc, token: $1 };
11216
11228
  });
11217
11229
  function At(state) {
@@ -11236,7 +11248,7 @@ ${input.slice(result.pos)}
11236
11248
  return result;
11237
11249
  }
11238
11250
  }
11239
- var AtAt$0 = $TV($EXPECT($L95, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11251
+ var AtAt$0 = $TV($EXPECT($L94, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11240
11252
  return { $loc, token: "@" };
11241
11253
  });
11242
11254
  function AtAt(state) {
@@ -11261,7 +11273,7 @@ ${input.slice(result.pos)}
11261
11273
  return result;
11262
11274
  }
11263
11275
  }
11264
- var Async$0 = $TS($S($EXPECT($L96, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11276
+ var Async$0 = $TS($S($EXPECT($L95, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11265
11277
  return { $loc, token: $1, type: "Async" };
11266
11278
  });
11267
11279
  function Async(state) {
@@ -11286,7 +11298,7 @@ ${input.slice(result.pos)}
11286
11298
  return result;
11287
11299
  }
11288
11300
  }
11289
- var Await$0 = $TS($S($EXPECT($L97, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11301
+ var Await$0 = $TS($S($EXPECT($L96, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11290
11302
  return { $loc, token: $1 };
11291
11303
  });
11292
11304
  function Await(state) {
@@ -11311,7 +11323,7 @@ ${input.slice(result.pos)}
11311
11323
  return result;
11312
11324
  }
11313
11325
  }
11314
- var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11326
+ var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11315
11327
  return { $loc, token: $1 };
11316
11328
  });
11317
11329
  function Backtick(state) {
@@ -11336,7 +11348,7 @@ ${input.slice(result.pos)}
11336
11348
  return result;
11337
11349
  }
11338
11350
  }
11339
- var By$0 = $TS($S($EXPECT($L99, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11351
+ var By$0 = $TS($S($EXPECT($L98, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11340
11352
  return { $loc, token: $1 };
11341
11353
  });
11342
11354
  function By(state) {
@@ -11361,7 +11373,7 @@ ${input.slice(result.pos)}
11361
11373
  return result;
11362
11374
  }
11363
11375
  }
11364
- var Case$0 = $TS($S($EXPECT($L100, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11376
+ var Case$0 = $TS($S($EXPECT($L99, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11365
11377
  return { $loc, token: $1 };
11366
11378
  });
11367
11379
  function Case(state) {
@@ -11386,7 +11398,7 @@ ${input.slice(result.pos)}
11386
11398
  return result;
11387
11399
  }
11388
11400
  }
11389
- var Catch$0 = $TS($S($EXPECT($L101, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11401
+ var Catch$0 = $TS($S($EXPECT($L100, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11390
11402
  return { $loc, token: $1 };
11391
11403
  });
11392
11404
  function Catch(state) {
@@ -11411,7 +11423,7 @@ ${input.slice(result.pos)}
11411
11423
  return result;
11412
11424
  }
11413
11425
  }
11414
- var Class$0 = $TS($S($EXPECT($L102, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11426
+ var Class$0 = $TS($S($EXPECT($L101, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11415
11427
  return { $loc, token: $1 };
11416
11428
  });
11417
11429
  function Class(state) {
@@ -11511,7 +11523,7 @@ ${input.slice(result.pos)}
11511
11523
  return result;
11512
11524
  }
11513
11525
  }
11514
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L103, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11526
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L102, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11515
11527
  return { $loc, token: "${" };
11516
11528
  });
11517
11529
  function CoffeeSubstitutionStart(state) {
@@ -11561,7 +11573,7 @@ ${input.slice(result.pos)}
11561
11573
  return result;
11562
11574
  }
11563
11575
  }
11564
- var ConstructorShorthand$0 = $TV($EXPECT($L94, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11576
+ var ConstructorShorthand$0 = $TV($EXPECT($L93, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11565
11577
  return { $loc, token: "constructor" };
11566
11578
  });
11567
11579
  function ConstructorShorthand(state) {
@@ -11586,7 +11598,32 @@ ${input.slice(result.pos)}
11586
11598
  return result;
11587
11599
  }
11588
11600
  }
11589
- var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11601
+ var Declare$0 = $TS($S($EXPECT($L103, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11602
+ return { $loc, token: $1 };
11603
+ });
11604
+ function Declare(state) {
11605
+ let eventData;
11606
+ if (state.events) {
11607
+ const result = state.events.enter?.("Declare", state);
11608
+ if (result) {
11609
+ if (result.cache)
11610
+ return result.cache;
11611
+ eventData = result.data;
11612
+ }
11613
+ }
11614
+ if (state.tokenize) {
11615
+ const result = $TOKEN("Declare", state, Declare$0(state));
11616
+ if (state.events)
11617
+ state.events.exit?.("Declare", state, result, eventData);
11618
+ return result;
11619
+ } else {
11620
+ const result = Declare$0(state);
11621
+ if (state.events)
11622
+ state.events.exit?.("Declare", state, result, eventData);
11623
+ return result;
11624
+ }
11625
+ }
11626
+ var Default$0 = $TS($S($EXPECT($L104, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11590
11627
  return { $loc, token: $1 };
11591
11628
  });
11592
11629
  function Default(state) {
@@ -11611,7 +11648,7 @@ ${input.slice(result.pos)}
11611
11648
  return result;
11612
11649
  }
11613
11650
  }
11614
- var Delete$0 = $TS($S($EXPECT($L104, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11651
+ var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11615
11652
  return { $loc, token: $1 };
11616
11653
  });
11617
11654
  function Delete(state) {
@@ -11636,7 +11673,7 @@ ${input.slice(result.pos)}
11636
11673
  return result;
11637
11674
  }
11638
11675
  }
11639
- var Do$0 = $TS($S($EXPECT($L105, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11676
+ var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11640
11677
  return { $loc, token: $1 };
11641
11678
  });
11642
11679
  function Do(state) {
@@ -11686,7 +11723,7 @@ ${input.slice(result.pos)}
11686
11723
  return result;
11687
11724
  }
11688
11725
  }
11689
- var DotDot$0 = $TV($EXPECT($L106, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11726
+ var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11690
11727
  return { $loc, token: $1 };
11691
11728
  });
11692
11729
  function DotDot(state) {
@@ -11711,7 +11748,7 @@ ${input.slice(result.pos)}
11711
11748
  return result;
11712
11749
  }
11713
11750
  }
11714
- var DotDotDot$0 = $TV($EXPECT($L107, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11751
+ var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11715
11752
  return { $loc, token: $1 };
11716
11753
  });
11717
11754
  function DotDotDot(state) {
@@ -11736,7 +11773,7 @@ ${input.slice(result.pos)}
11736
11773
  return result;
11737
11774
  }
11738
11775
  }
11739
- var DoubleColon$0 = $TV($EXPECT($L108, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11776
+ var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11740
11777
  return { $loc, token: $1 };
11741
11778
  });
11742
11779
  function DoubleColon(state) {
@@ -11761,7 +11798,7 @@ ${input.slice(result.pos)}
11761
11798
  return result;
11762
11799
  }
11763
11800
  }
11764
- var DoubleQuote$0 = $TV($EXPECT($L109, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11801
+ var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11765
11802
  return { $loc, token: $1 };
11766
11803
  });
11767
11804
  function DoubleQuote(state) {
@@ -11786,7 +11823,7 @@ ${input.slice(result.pos)}
11786
11823
  return result;
11787
11824
  }
11788
11825
  }
11789
- var Else$0 = $TS($S($EXPECT($L110, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11826
+ var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11790
11827
  return { $loc, token: $1 };
11791
11828
  });
11792
11829
  function Else(state) {
@@ -11836,7 +11873,7 @@ ${input.slice(result.pos)}
11836
11873
  return result;
11837
11874
  }
11838
11875
  }
11839
- var Export$0 = $TS($S($EXPECT($L111, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11876
+ var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11840
11877
  return { $loc, token: $1 };
11841
11878
  });
11842
11879
  function Export(state) {
@@ -11861,7 +11898,7 @@ ${input.slice(result.pos)}
11861
11898
  return result;
11862
11899
  }
11863
11900
  }
11864
- var Extends$0 = $TS($S($EXPECT($L112, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11901
+ var Extends$0 = $TS($S($EXPECT($L113, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11865
11902
  return { $loc, token: $1 };
11866
11903
  });
11867
11904
  function Extends(state) {
@@ -11886,7 +11923,7 @@ ${input.slice(result.pos)}
11886
11923
  return result;
11887
11924
  }
11888
11925
  }
11889
- var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11926
+ var For$0 = $TS($S($EXPECT($L114, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11890
11927
  return { $loc, token: $1 };
11891
11928
  });
11892
11929
  function For(state) {
@@ -11911,7 +11948,7 @@ ${input.slice(result.pos)}
11911
11948
  return result;
11912
11949
  }
11913
11950
  }
11914
- var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11951
+ var From$0 = $TS($S($EXPECT($L115, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11915
11952
  return { $loc, token: $1 };
11916
11953
  });
11917
11954
  function From(state) {
@@ -11936,7 +11973,7 @@ ${input.slice(result.pos)}
11936
11973
  return result;
11937
11974
  }
11938
11975
  }
11939
- var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11976
+ var Function$0 = $TS($S($EXPECT($L116, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11940
11977
  return { $loc, token: $1 };
11941
11978
  });
11942
11979
  function Function(state) {
@@ -11961,7 +11998,7 @@ ${input.slice(result.pos)}
11961
11998
  return result;
11962
11999
  }
11963
12000
  }
11964
- var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12001
+ var GetOrSet$0 = $TS($S($C($EXPECT($L117, fail, 'GetOrSet "get"'), $EXPECT($L118, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11965
12002
  return { $loc, token: $1, type: "GetOrSet" };
11966
12003
  });
11967
12004
  function GetOrSet(state) {
@@ -11986,7 +12023,7 @@ ${input.slice(result.pos)}
11986
12023
  return result;
11987
12024
  }
11988
12025
  }
11989
- var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12026
+ var If$0 = $TV($TEXT($S($EXPECT($L119, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
11990
12027
  return { $loc, token: $1 };
11991
12028
  });
11992
12029
  function If(state) {
@@ -12061,7 +12098,7 @@ ${input.slice(result.pos)}
12061
12098
  return result;
12062
12099
  }
12063
12100
  }
12064
- var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12101
+ var LetOrConst$0 = $TS($S($C($EXPECT($L120, fail, 'LetOrConst "let"'), $EXPECT($L121, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12065
12102
  return { $loc, token: $1 };
12066
12103
  });
12067
12104
  function LetOrConst(state) {
@@ -12086,7 +12123,7 @@ ${input.slice(result.pos)}
12086
12123
  return result;
12087
12124
  }
12088
12125
  }
12089
- var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12126
+ var Loop$0 = $TS($S($EXPECT($L122, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12090
12127
  return { $loc, token: "while(true)" };
12091
12128
  });
12092
12129
  function Loop(state) {
@@ -12111,7 +12148,7 @@ ${input.slice(result.pos)}
12111
12148
  return result;
12112
12149
  }
12113
12150
  }
12114
- var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12151
+ var New$0 = $TS($S($EXPECT($L123, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12115
12152
  return { $loc, token: $1 };
12116
12153
  });
12117
12154
  function New(state) {
@@ -12186,7 +12223,7 @@ ${input.slice(result.pos)}
12186
12223
  return result;
12187
12224
  }
12188
12225
  }
12189
- var OpenAngleBracket$0 = $TV($EXPECT($L123, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12226
+ var OpenAngleBracket$0 = $TV($EXPECT($L124, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12190
12227
  return { $loc, token: $1 };
12191
12228
  });
12192
12229
  function OpenAngleBracket(state) {
@@ -12211,7 +12248,7 @@ ${input.slice(result.pos)}
12211
12248
  return result;
12212
12249
  }
12213
12250
  }
12214
- var OpenBrace$0 = $TV($EXPECT($L124, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12251
+ var OpenBrace$0 = $TV($EXPECT($L125, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12215
12252
  return { $loc, token: $1 };
12216
12253
  });
12217
12254
  function OpenBrace(state) {
@@ -12236,7 +12273,7 @@ ${input.slice(result.pos)}
12236
12273
  return result;
12237
12274
  }
12238
12275
  }
12239
- var OpenBracket$0 = $TV($EXPECT($L125, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12276
+ var OpenBracket$0 = $TV($EXPECT($L126, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12240
12277
  return { $loc, token: $1 };
12241
12278
  });
12242
12279
  function OpenBracket(state) {
@@ -12261,7 +12298,7 @@ ${input.slice(result.pos)}
12261
12298
  return result;
12262
12299
  }
12263
12300
  }
12264
- var OpenParen$0 = $TV($EXPECT($L126, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12301
+ var OpenParen$0 = $TV($EXPECT($L127, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12265
12302
  return { $loc, token: $1 };
12266
12303
  });
12267
12304
  function OpenParen(state) {
@@ -12286,7 +12323,7 @@ ${input.slice(result.pos)}
12286
12323
  return result;
12287
12324
  }
12288
12325
  }
12289
- var Public$0 = $TS($S($EXPECT($L127, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12326
+ var Public$0 = $TS($S($EXPECT($L128, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12290
12327
  return { $loc, token: $1 };
12291
12328
  });
12292
12329
  function Public(state) {
@@ -12311,7 +12348,7 @@ ${input.slice(result.pos)}
12311
12348
  return result;
12312
12349
  }
12313
12350
  }
12314
- var Private$0 = $TS($S($EXPECT($L128, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12351
+ var Private$0 = $TS($S($EXPECT($L129, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12315
12352
  return { $loc, token: $1 };
12316
12353
  });
12317
12354
  function Private(state) {
@@ -12336,7 +12373,7 @@ ${input.slice(result.pos)}
12336
12373
  return result;
12337
12374
  }
12338
12375
  }
12339
- var Protected$0 = $TS($S($EXPECT($L129, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12376
+ var Protected$0 = $TS($S($EXPECT($L130, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12340
12377
  return { $loc, token: $1 };
12341
12378
  });
12342
12379
  function Protected(state) {
@@ -12361,7 +12398,7 @@ ${input.slice(result.pos)}
12361
12398
  return result;
12362
12399
  }
12363
12400
  }
12364
- var Pipe$0 = $TV($EXPECT($L130, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12401
+ var Pipe$0 = $TV($EXPECT($L131, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12365
12402
  return { $loc, token: $1 };
12366
12403
  });
12367
12404
  function Pipe(state) {
@@ -12411,7 +12448,7 @@ ${input.slice(result.pos)}
12411
12448
  return result;
12412
12449
  }
12413
12450
  }
12414
- var Readonly$0 = $TS($S($EXPECT($L131, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12451
+ var Readonly$0 = $TS($S($EXPECT($L132, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12415
12452
  return { $loc, token: $1, ts: true };
12416
12453
  });
12417
12454
  function Readonly(state) {
@@ -12436,7 +12473,7 @@ ${input.slice(result.pos)}
12436
12473
  return result;
12437
12474
  }
12438
12475
  }
12439
- var Return$0 = $TS($S($EXPECT($L132, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12476
+ var Return$0 = $TS($S($EXPECT($L133, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12440
12477
  return { $loc, token: $1 };
12441
12478
  });
12442
12479
  function Return(state) {
@@ -12461,7 +12498,7 @@ ${input.slice(result.pos)}
12461
12498
  return result;
12462
12499
  }
12463
12500
  }
12464
- var Satisfies$0 = $TS($S($EXPECT($L133, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12501
+ var Satisfies$0 = $TS($S($EXPECT($L134, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12465
12502
  return { $loc, token: $1 };
12466
12503
  });
12467
12504
  function Satisfies(state) {
@@ -12511,7 +12548,7 @@ ${input.slice(result.pos)}
12511
12548
  return result;
12512
12549
  }
12513
12550
  }
12514
- var SingleQuote$0 = $TV($EXPECT($L134, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12551
+ var SingleQuote$0 = $TV($EXPECT($L135, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12515
12552
  return { $loc, token: $1 };
12516
12553
  });
12517
12554
  function SingleQuote(state) {
@@ -12561,10 +12598,10 @@ ${input.slice(result.pos)}
12561
12598
  return result;
12562
12599
  }
12563
12600
  }
12564
- var Static$0 = $TS($S($EXPECT($L135, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12601
+ var Static$0 = $TS($S($EXPECT($L136, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12565
12602
  return { $loc, token: $1 };
12566
12603
  });
12567
- 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) {
12604
+ 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) {
12568
12605
  return { $loc, token: "static " };
12569
12606
  });
12570
12607
  function Static(state) {
@@ -12589,7 +12626,7 @@ ${input.slice(result.pos)}
12589
12626
  return result;
12590
12627
  }
12591
12628
  }
12592
- var SubstitutionStart$0 = $TV($EXPECT($L136, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12629
+ var SubstitutionStart$0 = $TV($EXPECT($L137, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12593
12630
  return { $loc, token: $1 };
12594
12631
  });
12595
12632
  function SubstitutionStart(state) {
@@ -12614,7 +12651,7 @@ ${input.slice(result.pos)}
12614
12651
  return result;
12615
12652
  }
12616
12653
  }
12617
- var Switch$0 = $TS($S($EXPECT($L137, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12654
+ var Switch$0 = $TS($S($EXPECT($L138, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12618
12655
  return { $loc, token: $1 };
12619
12656
  });
12620
12657
  function Switch(state) {
@@ -12639,7 +12676,7 @@ ${input.slice(result.pos)}
12639
12676
  return result;
12640
12677
  }
12641
12678
  }
12642
- var Target$0 = $TS($S($EXPECT($L138, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12679
+ var Target$0 = $TS($S($EXPECT($L139, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12643
12680
  return { $loc, token: $1 };
12644
12681
  });
12645
12682
  function Target(state) {
@@ -12664,7 +12701,7 @@ ${input.slice(result.pos)}
12664
12701
  return result;
12665
12702
  }
12666
12703
  }
12667
- var Then$0 = $TS($S(__, $EXPECT($L139, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12704
+ var Then$0 = $TS($S(__, $EXPECT($L140, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12668
12705
  return { $loc, token: "" };
12669
12706
  });
12670
12707
  function Then(state) {
@@ -12689,7 +12726,7 @@ ${input.slice(result.pos)}
12689
12726
  return result;
12690
12727
  }
12691
12728
  }
12692
- var This$0 = $TS($S($EXPECT($L140, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12729
+ var This$0 = $TS($S($EXPECT($L141, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12693
12730
  return { $loc, token: $1 };
12694
12731
  });
12695
12732
  function This(state) {
@@ -12714,7 +12751,7 @@ ${input.slice(result.pos)}
12714
12751
  return result;
12715
12752
  }
12716
12753
  }
12717
- var Throw$0 = $TS($S($EXPECT($L141, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12754
+ var Throw$0 = $TS($S($EXPECT($L142, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12718
12755
  return { $loc, token: $1 };
12719
12756
  });
12720
12757
  function Throw(state) {
@@ -12739,7 +12776,7 @@ ${input.slice(result.pos)}
12739
12776
  return result;
12740
12777
  }
12741
12778
  }
12742
- var TripleDoubleQuote$0 = $TV($EXPECT($L142, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12779
+ var TripleDoubleQuote$0 = $TV($EXPECT($L143, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12743
12780
  return { $loc, token: "`" };
12744
12781
  });
12745
12782
  function TripleDoubleQuote(state) {
@@ -12764,7 +12801,7 @@ ${input.slice(result.pos)}
12764
12801
  return result;
12765
12802
  }
12766
12803
  }
12767
- var TripleSingleQuote$0 = $TV($EXPECT($L143, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12804
+ var TripleSingleQuote$0 = $TV($EXPECT($L144, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12768
12805
  return { $loc, token: "`" };
12769
12806
  });
12770
12807
  function TripleSingleQuote(state) {
@@ -12789,7 +12826,7 @@ ${input.slice(result.pos)}
12789
12826
  return result;
12790
12827
  }
12791
12828
  }
12792
- var TripleSlash$0 = $TV($EXPECT($L144, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12829
+ var TripleSlash$0 = $TV($EXPECT($L145, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12793
12830
  return { $loc, token: "/" };
12794
12831
  });
12795
12832
  function TripleSlash(state) {
@@ -12814,7 +12851,7 @@ ${input.slice(result.pos)}
12814
12851
  return result;
12815
12852
  }
12816
12853
  }
12817
- var TripleTick$0 = $TV($EXPECT($L145, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12854
+ var TripleTick$0 = $TV($EXPECT($L146, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12818
12855
  return { $loc, token: "`" };
12819
12856
  });
12820
12857
  function TripleTick(state) {
@@ -12839,7 +12876,7 @@ ${input.slice(result.pos)}
12839
12876
  return result;
12840
12877
  }
12841
12878
  }
12842
- var Try$0 = $TS($S($EXPECT($L146, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12879
+ var Try$0 = $TS($S($EXPECT($L147, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12843
12880
  return { $loc, token: $1 };
12844
12881
  });
12845
12882
  function Try(state) {
@@ -12864,7 +12901,7 @@ ${input.slice(result.pos)}
12864
12901
  return result;
12865
12902
  }
12866
12903
  }
12867
- var Typeof$0 = $TS($S($EXPECT($L147, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12904
+ var Typeof$0 = $TS($S($EXPECT($L148, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12868
12905
  return { $loc, token: $1 };
12869
12906
  });
12870
12907
  function Typeof(state) {
@@ -12889,7 +12926,7 @@ ${input.slice(result.pos)}
12889
12926
  return result;
12890
12927
  }
12891
12928
  }
12892
- var Unless$0 = $TS($S($EXPECT($L148, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12929
+ var Unless$0 = $TS($S($EXPECT($L149, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12893
12930
  return { $loc, token: $1 };
12894
12931
  });
12895
12932
  function Unless(state) {
@@ -12914,7 +12951,7 @@ ${input.slice(result.pos)}
12914
12951
  return result;
12915
12952
  }
12916
12953
  }
12917
- var Until$0 = $TS($S($EXPECT($L149, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12954
+ var Until$0 = $TS($S($EXPECT($L150, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12918
12955
  return { $loc, token: $1 };
12919
12956
  });
12920
12957
  function Until(state) {
@@ -12939,7 +12976,7 @@ ${input.slice(result.pos)}
12939
12976
  return result;
12940
12977
  }
12941
12978
  }
12942
- var Var$0 = $TS($S($EXPECT($L150, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12979
+ var Var$0 = $TS($S($EXPECT($L151, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12943
12980
  return { $loc, token: $1 };
12944
12981
  });
12945
12982
  function Var(state) {
@@ -12964,7 +13001,7 @@ ${input.slice(result.pos)}
12964
13001
  return result;
12965
13002
  }
12966
13003
  }
12967
- var Void$0 = $TS($S($EXPECT($L151, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13004
+ var Void$0 = $TS($S($EXPECT($L152, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12968
13005
  return { $loc, token: $1 };
12969
13006
  });
12970
13007
  function Void(state) {
@@ -12989,7 +13026,7 @@ ${input.slice(result.pos)}
12989
13026
  return result;
12990
13027
  }
12991
13028
  }
12992
- var When$0 = $TS($S($EXPECT($L152, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13029
+ var When$0 = $TS($S($EXPECT($L153, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12993
13030
  return { $loc, token: "case" };
12994
13031
  });
12995
13032
  function When(state) {
@@ -13014,7 +13051,7 @@ ${input.slice(result.pos)}
13014
13051
  return result;
13015
13052
  }
13016
13053
  }
13017
- var While$0 = $TS($S($EXPECT($L153, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13054
+ var While$0 = $TS($S($EXPECT($L154, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13018
13055
  return { $loc, token: $1 };
13019
13056
  });
13020
13057
  function While(state) {
@@ -13039,7 +13076,7 @@ ${input.slice(result.pos)}
13039
13076
  return result;
13040
13077
  }
13041
13078
  }
13042
- var Yield$0 = $TS($S($EXPECT($L154, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13079
+ var Yield$0 = $TS($S($EXPECT($L155, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13043
13080
  return { $loc, token: $1 };
13044
13081
  });
13045
13082
  function Yield(state) {
@@ -13185,7 +13222,7 @@ ${input.slice(result.pos)}
13185
13222
  return result;
13186
13223
  }
13187
13224
  }
13188
- 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) {
13225
+ 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) {
13189
13226
  return { type: "JSXElement", children: $0, tag: $2 };
13190
13227
  });
13191
13228
  function JSXSelfClosingElement(state) {
@@ -13236,7 +13273,7 @@ ${input.slice(result.pos)}
13236
13273
  return result;
13237
13274
  }
13238
13275
  }
13239
- var JSXOpeningElement$0 = $S($EXPECT($L123, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13276
+ var JSXOpeningElement$0 = $S($EXPECT($L124, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13240
13277
  function JSXOpeningElement(state) {
13241
13278
  let eventData;
13242
13279
  if (state.events) {
@@ -13288,7 +13325,7 @@ ${input.slice(result.pos)}
13288
13325
  return result;
13289
13326
  }
13290
13327
  }
13291
- var JSXClosingElement$0 = $S($EXPECT($L156, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13328
+ var JSXClosingElement$0 = $S($EXPECT($L157, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13292
13329
  function JSXClosingElement(state) {
13293
13330
  let eventData;
13294
13331
  if (state.events) {
@@ -13327,7 +13364,7 @@ ${input.slice(result.pos)}
13327
13364
  ];
13328
13365
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
13329
13366
  });
13330
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L157, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13367
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L158, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13331
13368
  var children = $3;
13332
13369
  $0 = $0.slice(1);
13333
13370
  return {
@@ -13358,7 +13395,7 @@ ${input.slice(result.pos)}
13358
13395
  return result;
13359
13396
  }
13360
13397
  }
13361
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L157, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13398
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L158, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13362
13399
  module.JSXTagStack.push("");
13363
13400
  return $1;
13364
13401
  });
@@ -13412,7 +13449,7 @@ ${input.slice(result.pos)}
13412
13449
  return result;
13413
13450
  }
13414
13451
  }
13415
- var JSXClosingFragment$0 = $EXPECT($L158, fail, 'JSXClosingFragment "</>"');
13452
+ var JSXClosingFragment$0 = $EXPECT($L159, fail, 'JSXClosingFragment "</>"');
13416
13453
  function JSXClosingFragment(state) {
13417
13454
  let eventData;
13418
13455
  if (state.events) {
@@ -14289,7 +14326,7 @@ ${input.slice(result.pos)}
14289
14326
  return result;
14290
14327
  }
14291
14328
  }
14292
- var JSXComment$0 = $TS($S($EXPECT($L159, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L160, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14329
+ var JSXComment$0 = $TS($S($EXPECT($L160, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L161, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14293
14330
  return ["{/*", $2, "*/}"];
14294
14331
  });
14295
14332
  function JSXComment(state) {
@@ -14441,7 +14478,10 @@ ${input.slice(result.pos)}
14441
14478
  return result;
14442
14479
  }
14443
14480
  }
14444
- var TypeDeclaration$0 = $T($S($Q($S(TypeDeclarationModifier, $Q(TrailingComment))), TypeDeclarationRest), function(value) {
14481
+ var TypeDeclaration$0 = $T($S($E($S(Export, $E(_))), $S(Declare, $E(_)), TypeLexicalDeclaration), function(value) {
14482
+ return { "ts": true, "children": value };
14483
+ });
14484
+ var TypeDeclaration$1 = $T($S($E($S(Export, $E(_))), $E($S(Declare, $E(_))), TypeDeclarationRest), function(value) {
14445
14485
  return { "ts": true, "children": value };
14446
14486
  });
14447
14487
  function TypeDeclaration(state) {
@@ -14455,23 +14495,25 @@ ${input.slice(result.pos)}
14455
14495
  }
14456
14496
  }
14457
14497
  if (state.tokenize) {
14458
- const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state));
14498
+ const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state) || TypeDeclaration$1(state));
14459
14499
  if (state.events)
14460
14500
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14461
14501
  return result;
14462
14502
  } else {
14463
- const result = TypeDeclaration$0(state);
14503
+ const result = TypeDeclaration$0(state) || TypeDeclaration$1(state);
14464
14504
  if (state.events)
14465
14505
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14466
14506
  return result;
14467
14507
  }
14468
14508
  }
14469
- var TypeDeclarationModifier$0 = $S($EXPECT($L161, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
14470
- var TypeDeclarationModifier$1 = Export;
14471
- function TypeDeclarationModifier(state) {
14509
+ var TypeDeclarationRest$0 = $S(TypeKeyword, $Q(TrailingComment), IdentifierName, $E(TypeParameters), __, Equals, __, Type);
14510
+ var TypeDeclarationRest$1 = $S(Interface, $Q(TrailingComment), IdentifierName, $E(TypeParameters), $E(InterfaceExtendsClause), InterfaceBlock);
14511
+ var TypeDeclarationRest$2 = $S(Namespace, $Q(TrailingComment), IdentifierName, NamespaceBlock);
14512
+ var TypeDeclarationRest$3 = FunctionSignature;
14513
+ function TypeDeclarationRest(state) {
14472
14514
  let eventData;
14473
14515
  if (state.events) {
14474
- const result = state.events.enter?.("TypeDeclarationModifier", state);
14516
+ const result = state.events.enter?.("TypeDeclarationRest", state);
14475
14517
  if (result) {
14476
14518
  if (result.cache)
14477
14519
  return result.cache;
@@ -14479,25 +14521,22 @@ ${input.slice(result.pos)}
14479
14521
  }
14480
14522
  }
14481
14523
  if (state.tokenize) {
14482
- const result = $TOKEN("TypeDeclarationModifier", state, TypeDeclarationModifier$0(state) || TypeDeclarationModifier$1(state));
14524
+ const result = $TOKEN("TypeDeclarationRest", state, TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state));
14483
14525
  if (state.events)
14484
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14526
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14485
14527
  return result;
14486
14528
  } else {
14487
- const result = TypeDeclarationModifier$0(state) || TypeDeclarationModifier$1(state);
14529
+ const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14488
14530
  if (state.events)
14489
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14531
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14490
14532
  return result;
14491
14533
  }
14492
14534
  }
14493
- var TypeDeclarationRest$0 = $S(TypeKeyword, $Q(TrailingComment), IdentifierName, $E(TypeParameters), __, Equals, __, Type);
14494
- var TypeDeclarationRest$1 = $S(Interface, $Q(TrailingComment), IdentifierName, $E(TypeParameters), $E(InterfaceExtendsClause), InterfaceBlock);
14495
- var TypeDeclarationRest$2 = $S(Namespace, $Q(TrailingComment), IdentifierName, NamespaceBlock);
14496
- var TypeDeclarationRest$3 = FunctionSignature;
14497
- function TypeDeclarationRest(state) {
14535
+ var TypeLexicalDeclaration$0 = $S(__, $N(Namespace), LetOrConst, TypeDeclarationBinding, $Q($S(CommaDelimiter, __, TypeDeclarationBinding)));
14536
+ function TypeLexicalDeclaration(state) {
14498
14537
  let eventData;
14499
14538
  if (state.events) {
14500
- const result = state.events.enter?.("TypeDeclarationRest", state);
14539
+ const result = state.events.enter?.("TypeLexicalDeclaration", state);
14501
14540
  if (result) {
14502
14541
  if (result.cache)
14503
14542
  return result.cache;
@@ -14505,14 +14544,37 @@ ${input.slice(result.pos)}
14505
14544
  }
14506
14545
  }
14507
14546
  if (state.tokenize) {
14508
- const result = $TOKEN("TypeDeclarationRest", state, TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state));
14547
+ const result = $TOKEN("TypeLexicalDeclaration", state, TypeLexicalDeclaration$0(state));
14509
14548
  if (state.events)
14510
- state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14549
+ state.events.exit?.("TypeLexicalDeclaration", state, result, eventData);
14511
14550
  return result;
14512
14551
  } else {
14513
- const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14552
+ const result = TypeLexicalDeclaration$0(state);
14514
14553
  if (state.events)
14515
- state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14554
+ state.events.exit?.("TypeLexicalDeclaration", state, result, eventData);
14555
+ return result;
14556
+ }
14557
+ }
14558
+ var TypeDeclarationBinding$0 = $S($C(BindingPattern, BindingIdentifier), $E(TypeSuffix));
14559
+ function TypeDeclarationBinding(state) {
14560
+ let eventData;
14561
+ if (state.events) {
14562
+ const result = state.events.enter?.("TypeDeclarationBinding", state);
14563
+ if (result) {
14564
+ if (result.cache)
14565
+ return result.cache;
14566
+ eventData = result.data;
14567
+ }
14568
+ }
14569
+ if (state.tokenize) {
14570
+ const result = $TOKEN("TypeDeclarationBinding", state, TypeDeclarationBinding$0(state));
14571
+ if (state.events)
14572
+ state.events.exit?.("TypeDeclarationBinding", state, result, eventData);
14573
+ return result;
14574
+ } else {
14575
+ const result = TypeDeclarationBinding$0(state);
14576
+ if (state.events)
14577
+ state.events.exit?.("TypeDeclarationBinding", state, result, eventData);
14516
14578
  return result;
14517
14579
  }
14518
14580
  }
@@ -14833,7 +14895,7 @@ ${input.slice(result.pos)}
14833
14895
  return result;
14834
14896
  }
14835
14897
  }
14836
- 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)));
14898
+ 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)));
14837
14899
  function TypeIndexSignature(state) {
14838
14900
  let eventData;
14839
14901
  if (state.events) {
@@ -15065,9 +15127,9 @@ ${input.slice(result.pos)}
15065
15127
  }
15066
15128
  }
15067
15129
  var TypeUnaryOp$0 = $S($EXPECT($L166, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15068
- var TypeUnaryOp$1 = $S($EXPECT($L147, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15130
+ var TypeUnaryOp$1 = $S($EXPECT($L148, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15069
15131
  var TypeUnaryOp$2 = $S($EXPECT($L167, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15070
- var TypeUnaryOp$3 = $S($EXPECT($L131, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15132
+ var TypeUnaryOp$3 = $S($EXPECT($L132, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15071
15133
  function TypeUnaryOp(state) {
15072
15134
  let eventData;
15073
15135
  if (state.events) {
@@ -15264,7 +15326,7 @@ ${input.slice(result.pos)}
15264
15326
  return result;
15265
15327
  }
15266
15328
  }
15267
- 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) {
15329
+ 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) {
15268
15330
  if ($2)
15269
15331
  return $0;
15270
15332
  return $1;
@@ -15293,7 +15355,7 @@ ${input.slice(result.pos)}
15293
15355
  }
15294
15356
  var TypeLiteral$0 = Literal;
15295
15357
  var TypeLiteral$1 = TemplateLiteral;
15296
- var TypeLiteral$2 = $TS($S($EXPECT($L151, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15358
+ var TypeLiteral$2 = $TS($S($EXPECT($L152, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15297
15359
  return { $loc, token: "void" };
15298
15360
  });
15299
15361
  var TypeLiteral$3 = $TV($EXPECT($L168, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
@@ -15378,7 +15440,7 @@ ${input.slice(result.pos)}
15378
15440
  return result;
15379
15441
  }
15380
15442
  }
15381
- var TypeArguments$0 = $TS($S($EXPECT($L123, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15443
+ var TypeArguments$0 = $TS($S($EXPECT($L124, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15382
15444
  return { ts: true, children: $0 };
15383
15445
  });
15384
15446
  function TypeArguments(state) {
@@ -15449,7 +15511,7 @@ ${input.slice(result.pos)}
15449
15511
  return result;
15450
15512
  }
15451
15513
  }
15452
- var TypeParameters$0 = $TS($S(__, $EXPECT($L123, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15514
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L124, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15453
15515
  var parameters = $3;
15454
15516
  return {
15455
15517
  type: "TypeParameters",
@@ -15503,7 +15565,7 @@ ${input.slice(result.pos)}
15503
15565
  return result;
15504
15566
  }
15505
15567
  }
15506
- var TypeConstraint$0 = $S(__, $EXPECT($L112, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15568
+ var TypeConstraint$0 = $S(__, $EXPECT($L113, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15507
15569
  function TypeConstraint(state) {
15508
15570
  let eventData;
15509
15571
  if (state.events) {