@danielx/civet 0.5.48 → 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
@@ -9191,7 +9195,7 @@ ${input.slice(result.pos)}
9191
9195
  return result;
9192
9196
  }
9193
9197
  }
9194
- 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));
9195
9199
  var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9196
9200
  if (!$3.ts)
9197
9201
  return $0;
@@ -9353,7 +9357,7 @@ ${input.slice(result.pos)}
9353
9357
  return result;
9354
9358
  }
9355
9359
  }
9356
- 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));
9357
9361
  function ImplicitExportSpecifier(state) {
9358
9362
  let eventData;
9359
9363
  if (state.events) {
@@ -9524,7 +9528,7 @@ ${input.slice(result.pos)}
9524
9528
  return result;
9525
9529
  }
9526
9530
  }
9527
- 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) {
9528
9532
  return { $loc, token: "=" };
9529
9533
  });
9530
9534
  function ConstAssignment(state) {
@@ -9549,7 +9553,7 @@ ${input.slice(result.pos)}
9549
9553
  return result;
9550
9554
  }
9551
9555
  }
9552
- 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) {
9553
9557
  return { $loc, token: "=" };
9554
9558
  });
9555
9559
  function LetAssignment(state) {
@@ -10723,7 +10727,7 @@ ${input.slice(result.pos)}
10723
10727
  return result;
10724
10728
  }
10725
10729
  }
10726
- 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) {
10727
10731
  return { $loc, token: $1 };
10728
10732
  });
10729
10733
  function JSMultiLineComment(state) {
@@ -10773,7 +10777,7 @@ ${input.slice(result.pos)}
10773
10777
  return result;
10774
10778
  }
10775
10779
  }
10776
- 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) {
10777
10781
  return { $loc, token: `/*${$2}*/` };
10778
10782
  });
10779
10783
  function CoffeeMultiLineComment(state) {
@@ -10821,7 +10825,7 @@ ${input.slice(result.pos)}
10821
10825
  return result;
10822
10826
  }
10823
10827
  }
10824
- 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) {
10825
10829
  return { $loc, token: $1 };
10826
10830
  });
10827
10831
  function InlineComment(state) {
@@ -10920,7 +10924,7 @@ ${input.slice(result.pos)}
10920
10924
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10921
10925
  return { $loc, token: $0 };
10922
10926
  });
10923
- 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) {
10924
10928
  return "";
10925
10929
  });
10926
10930
  function NonNewlineWhitespace(state) {
@@ -11147,7 +11151,7 @@ ${input.slice(result.pos)}
11147
11151
  return result;
11148
11152
  }
11149
11153
  }
11150
- 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) {
11151
11155
  return { $loc, token: $1, ts: true };
11152
11156
  });
11153
11157
  function Abstract(state) {
@@ -11197,7 +11201,7 @@ ${input.slice(result.pos)}
11197
11201
  return result;
11198
11202
  }
11199
11203
  }
11200
- 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) {
11201
11205
  return { $loc, token: $1 };
11202
11206
  });
11203
11207
  function As(state) {
@@ -11222,7 +11226,7 @@ ${input.slice(result.pos)}
11222
11226
  return result;
11223
11227
  }
11224
11228
  }
11225
- 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) {
11226
11230
  return { $loc, token: $1 };
11227
11231
  });
11228
11232
  function At(state) {
@@ -11247,7 +11251,7 @@ ${input.slice(result.pos)}
11247
11251
  return result;
11248
11252
  }
11249
11253
  }
11250
- 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) {
11251
11255
  return { $loc, token: "@" };
11252
11256
  });
11253
11257
  function AtAt(state) {
@@ -11272,7 +11276,7 @@ ${input.slice(result.pos)}
11272
11276
  return result;
11273
11277
  }
11274
11278
  }
11275
- 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) {
11276
11280
  return { $loc, token: $1, type: "Async" };
11277
11281
  });
11278
11282
  function Async(state) {
@@ -11297,7 +11301,7 @@ ${input.slice(result.pos)}
11297
11301
  return result;
11298
11302
  }
11299
11303
  }
11300
- 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) {
11301
11305
  return { $loc, token: $1 };
11302
11306
  });
11303
11307
  function Await(state) {
@@ -11322,7 +11326,7 @@ ${input.slice(result.pos)}
11322
11326
  return result;
11323
11327
  }
11324
11328
  }
11325
- 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) {
11326
11330
  return { $loc, token: $1 };
11327
11331
  });
11328
11332
  function Backtick(state) {
@@ -11347,7 +11351,7 @@ ${input.slice(result.pos)}
11347
11351
  return result;
11348
11352
  }
11349
11353
  }
11350
- 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) {
11351
11355
  return { $loc, token: $1 };
11352
11356
  });
11353
11357
  function By(state) {
@@ -11372,7 +11376,7 @@ ${input.slice(result.pos)}
11372
11376
  return result;
11373
11377
  }
11374
11378
  }
11375
- 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) {
11376
11380
  return { $loc, token: $1 };
11377
11381
  });
11378
11382
  function Case(state) {
@@ -11397,7 +11401,7 @@ ${input.slice(result.pos)}
11397
11401
  return result;
11398
11402
  }
11399
11403
  }
11400
- 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) {
11401
11405
  return { $loc, token: $1 };
11402
11406
  });
11403
11407
  function Catch(state) {
@@ -11422,7 +11426,7 @@ ${input.slice(result.pos)}
11422
11426
  return result;
11423
11427
  }
11424
11428
  }
11425
- 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) {
11426
11430
  return { $loc, token: $1 };
11427
11431
  });
11428
11432
  function Class(state) {
@@ -11522,7 +11526,7 @@ ${input.slice(result.pos)}
11522
11526
  return result;
11523
11527
  }
11524
11528
  }
11525
- 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) {
11526
11530
  return { $loc, token: "${" };
11527
11531
  });
11528
11532
  function CoffeeSubstitutionStart(state) {
@@ -11572,7 +11576,7 @@ ${input.slice(result.pos)}
11572
11576
  return result;
11573
11577
  }
11574
11578
  }
11575
- 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) {
11576
11580
  return { $loc, token: "constructor" };
11577
11581
  });
11578
11582
  function ConstructorShorthand(state) {
@@ -11597,7 +11601,32 @@ ${input.slice(result.pos)}
11597
11601
  return result;
11598
11602
  }
11599
11603
  }
11600
- 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) {
11601
11630
  return { $loc, token: $1 };
11602
11631
  });
11603
11632
  function Default(state) {
@@ -11622,7 +11651,7 @@ ${input.slice(result.pos)}
11622
11651
  return result;
11623
11652
  }
11624
11653
  }
11625
- 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) {
11626
11655
  return { $loc, token: $1 };
11627
11656
  });
11628
11657
  function Delete(state) {
@@ -11647,7 +11676,7 @@ ${input.slice(result.pos)}
11647
11676
  return result;
11648
11677
  }
11649
11678
  }
11650
- 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) {
11651
11680
  return { $loc, token: $1 };
11652
11681
  });
11653
11682
  function Do(state) {
@@ -11697,7 +11726,7 @@ ${input.slice(result.pos)}
11697
11726
  return result;
11698
11727
  }
11699
11728
  }
11700
- 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) {
11701
11730
  return { $loc, token: $1 };
11702
11731
  });
11703
11732
  function DotDot(state) {
@@ -11722,7 +11751,7 @@ ${input.slice(result.pos)}
11722
11751
  return result;
11723
11752
  }
11724
11753
  }
11725
- 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) {
11726
11755
  return { $loc, token: $1 };
11727
11756
  });
11728
11757
  function DotDotDot(state) {
@@ -11747,7 +11776,7 @@ ${input.slice(result.pos)}
11747
11776
  return result;
11748
11777
  }
11749
11778
  }
11750
- 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) {
11751
11780
  return { $loc, token: $1 };
11752
11781
  });
11753
11782
  function DoubleColon(state) {
@@ -11772,7 +11801,7 @@ ${input.slice(result.pos)}
11772
11801
  return result;
11773
11802
  }
11774
11803
  }
11775
- 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) {
11776
11805
  return { $loc, token: $1 };
11777
11806
  });
11778
11807
  function DoubleQuote(state) {
@@ -11797,7 +11826,7 @@ ${input.slice(result.pos)}
11797
11826
  return result;
11798
11827
  }
11799
11828
  }
11800
- 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) {
11801
11830
  return { $loc, token: $1 };
11802
11831
  });
11803
11832
  function Else(state) {
@@ -11847,7 +11876,7 @@ ${input.slice(result.pos)}
11847
11876
  return result;
11848
11877
  }
11849
11878
  }
11850
- 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) {
11851
11880
  return { $loc, token: $1 };
11852
11881
  });
11853
11882
  function Export(state) {
@@ -11872,7 +11901,7 @@ ${input.slice(result.pos)}
11872
11901
  return result;
11873
11902
  }
11874
11903
  }
11875
- 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) {
11876
11905
  return { $loc, token: $1 };
11877
11906
  });
11878
11907
  function Extends(state) {
@@ -11897,7 +11926,7 @@ ${input.slice(result.pos)}
11897
11926
  return result;
11898
11927
  }
11899
11928
  }
11900
- 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) {
11901
11930
  return { $loc, token: $1 };
11902
11931
  });
11903
11932
  function For(state) {
@@ -11922,7 +11951,7 @@ ${input.slice(result.pos)}
11922
11951
  return result;
11923
11952
  }
11924
11953
  }
11925
- 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) {
11926
11955
  return { $loc, token: $1 };
11927
11956
  });
11928
11957
  function From(state) {
@@ -11947,7 +11976,7 @@ ${input.slice(result.pos)}
11947
11976
  return result;
11948
11977
  }
11949
11978
  }
11950
- 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) {
11951
11980
  return { $loc, token: $1 };
11952
11981
  });
11953
11982
  function Function(state) {
@@ -11972,7 +12001,7 @@ ${input.slice(result.pos)}
11972
12001
  return result;
11973
12002
  }
11974
12003
  }
11975
- 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) {
11976
12005
  return { $loc, token: $1, type: "GetOrSet" };
11977
12006
  });
11978
12007
  function GetOrSet(state) {
@@ -11997,7 +12026,7 @@ ${input.slice(result.pos)}
11997
12026
  return result;
11998
12027
  }
11999
12028
  }
12000
- 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) {
12001
12030
  return { $loc, token: $1 };
12002
12031
  });
12003
12032
  function If(state) {
@@ -12072,7 +12101,7 @@ ${input.slice(result.pos)}
12072
12101
  return result;
12073
12102
  }
12074
12103
  }
12075
- 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) {
12076
12105
  return { $loc, token: $1 };
12077
12106
  });
12078
12107
  function LetOrConst(state) {
@@ -12097,7 +12126,7 @@ ${input.slice(result.pos)}
12097
12126
  return result;
12098
12127
  }
12099
12128
  }
12100
- 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) {
12101
12130
  return { $loc, token: "while(true)" };
12102
12131
  });
12103
12132
  function Loop(state) {
@@ -12122,7 +12151,7 @@ ${input.slice(result.pos)}
12122
12151
  return result;
12123
12152
  }
12124
12153
  }
12125
- 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) {
12126
12155
  return { $loc, token: $1 };
12127
12156
  });
12128
12157
  function New(state) {
@@ -12197,7 +12226,7 @@ ${input.slice(result.pos)}
12197
12226
  return result;
12198
12227
  }
12199
12228
  }
12200
- 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) {
12201
12230
  return { $loc, token: $1 };
12202
12231
  });
12203
12232
  function OpenAngleBracket(state) {
@@ -12222,7 +12251,7 @@ ${input.slice(result.pos)}
12222
12251
  return result;
12223
12252
  }
12224
12253
  }
12225
- 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) {
12226
12255
  return { $loc, token: $1 };
12227
12256
  });
12228
12257
  function OpenBrace(state) {
@@ -12247,7 +12276,7 @@ ${input.slice(result.pos)}
12247
12276
  return result;
12248
12277
  }
12249
12278
  }
12250
- 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) {
12251
12280
  return { $loc, token: $1 };
12252
12281
  });
12253
12282
  function OpenBracket(state) {
@@ -12272,7 +12301,7 @@ ${input.slice(result.pos)}
12272
12301
  return result;
12273
12302
  }
12274
12303
  }
12275
- 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) {
12276
12305
  return { $loc, token: $1 };
12277
12306
  });
12278
12307
  function OpenParen(state) {
@@ -12297,7 +12326,7 @@ ${input.slice(result.pos)}
12297
12326
  return result;
12298
12327
  }
12299
12328
  }
12300
- 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) {
12301
12330
  return { $loc, token: $1 };
12302
12331
  });
12303
12332
  function Public(state) {
@@ -12322,7 +12351,7 @@ ${input.slice(result.pos)}
12322
12351
  return result;
12323
12352
  }
12324
12353
  }
12325
- 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) {
12326
12355
  return { $loc, token: $1 };
12327
12356
  });
12328
12357
  function Private(state) {
@@ -12347,7 +12376,7 @@ ${input.slice(result.pos)}
12347
12376
  return result;
12348
12377
  }
12349
12378
  }
12350
- 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) {
12351
12380
  return { $loc, token: $1 };
12352
12381
  });
12353
12382
  function Protected(state) {
@@ -12372,7 +12401,7 @@ ${input.slice(result.pos)}
12372
12401
  return result;
12373
12402
  }
12374
12403
  }
12375
- 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) {
12376
12405
  return { $loc, token: $1 };
12377
12406
  });
12378
12407
  function Pipe(state) {
@@ -12422,7 +12451,7 @@ ${input.slice(result.pos)}
12422
12451
  return result;
12423
12452
  }
12424
12453
  }
12425
- 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) {
12426
12455
  return { $loc, token: $1, ts: true };
12427
12456
  });
12428
12457
  function Readonly(state) {
@@ -12447,7 +12476,7 @@ ${input.slice(result.pos)}
12447
12476
  return result;
12448
12477
  }
12449
12478
  }
12450
- 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) {
12451
12480
  return { $loc, token: $1 };
12452
12481
  });
12453
12482
  function Return(state) {
@@ -12472,7 +12501,7 @@ ${input.slice(result.pos)}
12472
12501
  return result;
12473
12502
  }
12474
12503
  }
12475
- 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) {
12476
12505
  return { $loc, token: $1 };
12477
12506
  });
12478
12507
  function Satisfies(state) {
@@ -12522,7 +12551,7 @@ ${input.slice(result.pos)}
12522
12551
  return result;
12523
12552
  }
12524
12553
  }
12525
- 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) {
12526
12555
  return { $loc, token: $1 };
12527
12556
  });
12528
12557
  function SingleQuote(state) {
@@ -12572,10 +12601,10 @@ ${input.slice(result.pos)}
12572
12601
  return result;
12573
12602
  }
12574
12603
  }
12575
- 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) {
12576
12605
  return { $loc, token: $1 };
12577
12606
  });
12578
- 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) {
12579
12608
  return { $loc, token: "static " };
12580
12609
  });
12581
12610
  function Static(state) {
@@ -12600,7 +12629,7 @@ ${input.slice(result.pos)}
12600
12629
  return result;
12601
12630
  }
12602
12631
  }
12603
- 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) {
12604
12633
  return { $loc, token: $1 };
12605
12634
  });
12606
12635
  function SubstitutionStart(state) {
@@ -12625,7 +12654,7 @@ ${input.slice(result.pos)}
12625
12654
  return result;
12626
12655
  }
12627
12656
  }
12628
- 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) {
12629
12658
  return { $loc, token: $1 };
12630
12659
  });
12631
12660
  function Switch(state) {
@@ -12650,7 +12679,7 @@ ${input.slice(result.pos)}
12650
12679
  return result;
12651
12680
  }
12652
12681
  }
12653
- 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) {
12654
12683
  return { $loc, token: $1 };
12655
12684
  });
12656
12685
  function Target(state) {
@@ -12675,7 +12704,7 @@ ${input.slice(result.pos)}
12675
12704
  return result;
12676
12705
  }
12677
12706
  }
12678
- 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) {
12679
12708
  return { $loc, token: "" };
12680
12709
  });
12681
12710
  function Then(state) {
@@ -12700,7 +12729,7 @@ ${input.slice(result.pos)}
12700
12729
  return result;
12701
12730
  }
12702
12731
  }
12703
- 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) {
12704
12733
  return { $loc, token: $1 };
12705
12734
  });
12706
12735
  function This(state) {
@@ -12725,7 +12754,7 @@ ${input.slice(result.pos)}
12725
12754
  return result;
12726
12755
  }
12727
12756
  }
12728
- 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) {
12729
12758
  return { $loc, token: $1 };
12730
12759
  });
12731
12760
  function Throw(state) {
@@ -12750,7 +12779,7 @@ ${input.slice(result.pos)}
12750
12779
  return result;
12751
12780
  }
12752
12781
  }
12753
- 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) {
12754
12783
  return { $loc, token: "`" };
12755
12784
  });
12756
12785
  function TripleDoubleQuote(state) {
@@ -12775,7 +12804,7 @@ ${input.slice(result.pos)}
12775
12804
  return result;
12776
12805
  }
12777
12806
  }
12778
- 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) {
12779
12808
  return { $loc, token: "`" };
12780
12809
  });
12781
12810
  function TripleSingleQuote(state) {
@@ -12800,7 +12829,7 @@ ${input.slice(result.pos)}
12800
12829
  return result;
12801
12830
  }
12802
12831
  }
12803
- 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) {
12804
12833
  return { $loc, token: "/" };
12805
12834
  });
12806
12835
  function TripleSlash(state) {
@@ -12825,7 +12854,7 @@ ${input.slice(result.pos)}
12825
12854
  return result;
12826
12855
  }
12827
12856
  }
12828
- 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) {
12829
12858
  return { $loc, token: "`" };
12830
12859
  });
12831
12860
  function TripleTick(state) {
@@ -12850,7 +12879,7 @@ ${input.slice(result.pos)}
12850
12879
  return result;
12851
12880
  }
12852
12881
  }
12853
- 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) {
12854
12883
  return { $loc, token: $1 };
12855
12884
  });
12856
12885
  function Try(state) {
@@ -12875,7 +12904,7 @@ ${input.slice(result.pos)}
12875
12904
  return result;
12876
12905
  }
12877
12906
  }
12878
- 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) {
12879
12908
  return { $loc, token: $1 };
12880
12909
  });
12881
12910
  function Typeof(state) {
@@ -12900,7 +12929,7 @@ ${input.slice(result.pos)}
12900
12929
  return result;
12901
12930
  }
12902
12931
  }
12903
- 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) {
12904
12933
  return { $loc, token: $1 };
12905
12934
  });
12906
12935
  function Unless(state) {
@@ -12925,7 +12954,7 @@ ${input.slice(result.pos)}
12925
12954
  return result;
12926
12955
  }
12927
12956
  }
12928
- 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) {
12929
12958
  return { $loc, token: $1 };
12930
12959
  });
12931
12960
  function Until(state) {
@@ -12950,7 +12979,7 @@ ${input.slice(result.pos)}
12950
12979
  return result;
12951
12980
  }
12952
12981
  }
12953
- 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) {
12954
12983
  return { $loc, token: $1 };
12955
12984
  });
12956
12985
  function Var(state) {
@@ -12975,7 +13004,7 @@ ${input.slice(result.pos)}
12975
13004
  return result;
12976
13005
  }
12977
13006
  }
12978
- 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) {
12979
13008
  return { $loc, token: $1 };
12980
13009
  });
12981
13010
  function Void(state) {
@@ -13000,7 +13029,7 @@ ${input.slice(result.pos)}
13000
13029
  return result;
13001
13030
  }
13002
13031
  }
13003
- 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) {
13004
13033
  return { $loc, token: "case" };
13005
13034
  });
13006
13035
  function When(state) {
@@ -13025,7 +13054,7 @@ ${input.slice(result.pos)}
13025
13054
  return result;
13026
13055
  }
13027
13056
  }
13028
- 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) {
13029
13058
  return { $loc, token: $1 };
13030
13059
  });
13031
13060
  function While(state) {
@@ -13050,7 +13079,7 @@ ${input.slice(result.pos)}
13050
13079
  return result;
13051
13080
  }
13052
13081
  }
13053
- 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) {
13054
13083
  return { $loc, token: $1 };
13055
13084
  });
13056
13085
  function Yield(state) {
@@ -13196,7 +13225,7 @@ ${input.slice(result.pos)}
13196
13225
  return result;
13197
13226
  }
13198
13227
  }
13199
- 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) {
13200
13229
  return { type: "JSXElement", children: $0, tag: $2 };
13201
13230
  });
13202
13231
  function JSXSelfClosingElement(state) {
@@ -13247,7 +13276,7 @@ ${input.slice(result.pos)}
13247
13276
  return result;
13248
13277
  }
13249
13278
  }
13250
- 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 ">"'));
13251
13280
  function JSXOpeningElement(state) {
13252
13281
  let eventData;
13253
13282
  if (state.events) {
@@ -13299,7 +13328,7 @@ ${input.slice(result.pos)}
13299
13328
  return result;
13300
13329
  }
13301
13330
  }
13302
- 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 ">"'));
13303
13332
  function JSXClosingElement(state) {
13304
13333
  let eventData;
13305
13334
  if (state.events) {
@@ -13338,7 +13367,7 @@ ${input.slice(result.pos)}
13338
13367
  ];
13339
13368
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
13340
13369
  });
13341
- 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) {
13342
13371
  var children = $3;
13343
13372
  $0 = $0.slice(1);
13344
13373
  return {
@@ -13369,7 +13398,7 @@ ${input.slice(result.pos)}
13369
13398
  return result;
13370
13399
  }
13371
13400
  }
13372
- 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) {
13373
13402
  module.JSXTagStack.push("");
13374
13403
  return $1;
13375
13404
  });
@@ -13423,7 +13452,7 @@ ${input.slice(result.pos)}
13423
13452
  return result;
13424
13453
  }
13425
13454
  }
13426
- var JSXClosingFragment$0 = $EXPECT($L158, fail, 'JSXClosingFragment "</>"');
13455
+ var JSXClosingFragment$0 = $EXPECT($L159, fail, 'JSXClosingFragment "</>"');
13427
13456
  function JSXClosingFragment(state) {
13428
13457
  let eventData;
13429
13458
  if (state.events) {
@@ -14300,7 +14329,7 @@ ${input.slice(result.pos)}
14300
14329
  return result;
14301
14330
  }
14302
14331
  }
14303
- 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) {
14304
14333
  return ["{/*", $2, "*/}"];
14305
14334
  });
14306
14335
  function JSXComment(state) {
@@ -14452,7 +14481,10 @@ ${input.slice(result.pos)}
14452
14481
  return result;
14453
14482
  }
14454
14483
  }
14455
- 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) {
14456
14488
  return { "ts": true, "children": value };
14457
14489
  });
14458
14490
  function TypeDeclaration(state) {
@@ -14466,23 +14498,25 @@ ${input.slice(result.pos)}
14466
14498
  }
14467
14499
  }
14468
14500
  if (state.tokenize) {
14469
- const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state));
14501
+ const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state) || TypeDeclaration$1(state));
14470
14502
  if (state.events)
14471
14503
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14472
14504
  return result;
14473
14505
  } else {
14474
- const result = TypeDeclaration$0(state);
14506
+ const result = TypeDeclaration$0(state) || TypeDeclaration$1(state);
14475
14507
  if (state.events)
14476
14508
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14477
14509
  return result;
14478
14510
  }
14479
14511
  }
14480
- var TypeDeclarationModifier$0 = $S($EXPECT($L161, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
14481
- var TypeDeclarationModifier$1 = Export;
14482
- 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) {
14483
14517
  let eventData;
14484
14518
  if (state.events) {
14485
- const result = state.events.enter?.("TypeDeclarationModifier", state);
14519
+ const result = state.events.enter?.("TypeDeclarationRest", state);
14486
14520
  if (result) {
14487
14521
  if (result.cache)
14488
14522
  return result.cache;
@@ -14490,25 +14524,22 @@ ${input.slice(result.pos)}
14490
14524
  }
14491
14525
  }
14492
14526
  if (state.tokenize) {
14493
- 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));
14494
14528
  if (state.events)
14495
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14529
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14496
14530
  return result;
14497
14531
  } else {
14498
- const result = TypeDeclarationModifier$0(state) || TypeDeclarationModifier$1(state);
14532
+ const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14499
14533
  if (state.events)
14500
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14534
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14501
14535
  return result;
14502
14536
  }
14503
14537
  }
14504
- var TypeDeclarationRest$0 = $S(TypeKeyword, $Q(TrailingComment), IdentifierName, $E(TypeParameters), __, Equals, __, Type);
14505
- var TypeDeclarationRest$1 = $S(Interface, $Q(TrailingComment), IdentifierName, $E(TypeParameters), $E(InterfaceExtendsClause), InterfaceBlock);
14506
- var TypeDeclarationRest$2 = $S(Namespace, $Q(TrailingComment), IdentifierName, NamespaceBlock);
14507
- var TypeDeclarationRest$3 = FunctionSignature;
14508
- function TypeDeclarationRest(state) {
14538
+ var TypeLexicalDeclaration$0 = $S(__, $N(Namespace), LetOrConst, TypeDeclarationBinding, $Q($S(CommaDelimiter, __, TypeDeclarationBinding)));
14539
+ function TypeLexicalDeclaration(state) {
14509
14540
  let eventData;
14510
14541
  if (state.events) {
14511
- const result = state.events.enter?.("TypeDeclarationRest", state);
14542
+ const result = state.events.enter?.("TypeLexicalDeclaration", state);
14512
14543
  if (result) {
14513
14544
  if (result.cache)
14514
14545
  return result.cache;
@@ -14516,14 +14547,37 @@ ${input.slice(result.pos)}
14516
14547
  }
14517
14548
  }
14518
14549
  if (state.tokenize) {
14519
- 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));
14520
14551
  if (state.events)
14521
- state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14552
+ state.events.exit?.("TypeLexicalDeclaration", state, result, eventData);
14522
14553
  return result;
14523
14554
  } else {
14524
- const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14555
+ const result = TypeLexicalDeclaration$0(state);
14525
14556
  if (state.events)
14526
- 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);
14527
14581
  return result;
14528
14582
  }
14529
14583
  }
@@ -14844,7 +14898,7 @@ ${input.slice(result.pos)}
14844
14898
  return result;
14845
14899
  }
14846
14900
  }
14847
- 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)));
14848
14902
  function TypeIndexSignature(state) {
14849
14903
  let eventData;
14850
14904
  if (state.events) {
@@ -15076,9 +15130,9 @@ ${input.slice(result.pos)}
15076
15130
  }
15077
15131
  }
15078
15132
  var TypeUnaryOp$0 = $S($EXPECT($L166, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15079
- var TypeUnaryOp$1 = $S($EXPECT($L147, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15133
+ var TypeUnaryOp$1 = $S($EXPECT($L148, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15080
15134
  var TypeUnaryOp$2 = $S($EXPECT($L167, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15081
- var TypeUnaryOp$3 = $S($EXPECT($L131, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15135
+ var TypeUnaryOp$3 = $S($EXPECT($L132, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15082
15136
  function TypeUnaryOp(state) {
15083
15137
  let eventData;
15084
15138
  if (state.events) {
@@ -15275,7 +15329,7 @@ ${input.slice(result.pos)}
15275
15329
  return result;
15276
15330
  }
15277
15331
  }
15278
- 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) {
15279
15333
  if ($2)
15280
15334
  return $0;
15281
15335
  return $1;
@@ -15304,7 +15358,7 @@ ${input.slice(result.pos)}
15304
15358
  }
15305
15359
  var TypeLiteral$0 = Literal;
15306
15360
  var TypeLiteral$1 = TemplateLiteral;
15307
- 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) {
15308
15362
  return { $loc, token: "void" };
15309
15363
  });
15310
15364
  var TypeLiteral$3 = $TV($EXPECT($L168, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
@@ -15389,7 +15443,7 @@ ${input.slice(result.pos)}
15389
15443
  return result;
15390
15444
  }
15391
15445
  }
15392
- 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) {
15393
15447
  return { ts: true, children: $0 };
15394
15448
  });
15395
15449
  function TypeArguments(state) {
@@ -15460,7 +15514,7 @@ ${input.slice(result.pos)}
15460
15514
  return result;
15461
15515
  }
15462
15516
  }
15463
- 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) {
15464
15518
  var parameters = $3;
15465
15519
  return {
15466
15520
  type: "TypeParameters",
@@ -15514,7 +15568,7 @@ ${input.slice(result.pos)}
15514
15568
  return result;
15515
15569
  }
15516
15570
  }
15517
- var TypeConstraint$0 = $S(__, $EXPECT($L112, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15571
+ var TypeConstraint$0 = $S(__, $EXPECT($L113, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15518
15572
  function TypeConstraint(state) {
15519
15573
  let eventData;
15520
15574
  if (state.events) {