@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/main.js CHANGED
@@ -761,6 +761,7 @@ ${input.slice(result.pos)}
761
761
  CoffeeSubstitutionStart,
762
762
  Colon,
763
763
  ConstructorShorthand,
764
+ Declare,
764
765
  Default,
765
766
  Delete,
766
767
  Do,
@@ -864,8 +865,9 @@ ${input.slice(result.pos)}
864
865
  IndentedJSXChildExpression,
865
866
  NestedJSXChildExpression,
866
867
  TypeDeclaration,
867
- TypeDeclarationModifier,
868
868
  TypeDeclarationRest,
869
+ TypeLexicalDeclaration,
870
+ TypeDeclarationBinding,
869
871
  InterfaceExtendsClause,
870
872
  InterfaceExtendsTarget,
871
873
  TypeKeyword,
@@ -1042,82 +1044,82 @@ ${input.slice(result.pos)}
1042
1044
  var $L83 = $L("continue");
1043
1045
  var $L84 = $L("debugger");
1044
1046
  var $L85 = $L("assert");
1045
- var $L86 = $L("default");
1046
- var $L87 = $L(":=");
1047
- var $L88 = $L(".=");
1048
- var $L89 = $L("/*");
1049
- var $L90 = $L("*/");
1050
- var $L91 = $L("\\");
1051
- var $L92 = $L("abstract");
1052
- var $L93 = $L("as");
1053
- var $L94 = $L("@");
1054
- var $L95 = $L("@@");
1055
- var $L96 = $L("async");
1056
- var $L97 = $L("await");
1057
- var $L98 = $L("`");
1058
- var $L99 = $L("by");
1059
- var $L100 = $L("case");
1060
- var $L101 = $L("catch");
1061
- var $L102 = $L("class");
1062
- var $L103 = $L("#{");
1063
- var $L104 = $L("delete");
1064
- var $L105 = $L("do");
1065
- var $L106 = $L("..");
1066
- var $L107 = $L("...");
1067
- var $L108 = $L("::");
1068
- var $L109 = $L('"');
1069
- var $L110 = $L("else");
1070
- var $L111 = $L("export");
1071
- var $L112 = $L("extends");
1072
- var $L113 = $L("for");
1073
- var $L114 = $L("from");
1074
- var $L115 = $L("function");
1075
- var $L116 = $L("get");
1076
- var $L117 = $L("set");
1077
- var $L118 = $L("if");
1078
- var $L119 = $L("let");
1079
- var $L120 = $L("const");
1080
- var $L121 = $L("loop");
1081
- var $L122 = $L("new");
1082
- var $L123 = $L("<");
1083
- var $L124 = $L("{");
1084
- var $L125 = $L("[");
1085
- var $L126 = $L("(");
1086
- var $L127 = $L("public");
1087
- var $L128 = $L("private");
1088
- var $L129 = $L("protected");
1089
- var $L130 = $L("|>");
1090
- var $L131 = $L("readonly");
1091
- var $L132 = $L("return");
1092
- var $L133 = $L("satisfies");
1093
- var $L134 = $L("'");
1094
- var $L135 = $L("static");
1095
- var $L136 = $L("${");
1096
- var $L137 = $L("switch");
1097
- var $L138 = $L("target");
1098
- var $L139 = $L("then");
1099
- var $L140 = $L("this");
1100
- var $L141 = $L("throw");
1101
- var $L142 = $L('"""');
1102
- var $L143 = $L("'''");
1103
- var $L144 = $L("///");
1104
- var $L145 = $L("```");
1105
- var $L146 = $L("try");
1106
- var $L147 = $L("typeof");
1107
- var $L148 = $L("unless");
1108
- var $L149 = $L("until");
1109
- var $L150 = $L("var");
1110
- var $L151 = $L("void");
1111
- var $L152 = $L("when");
1112
- var $L153 = $L("while");
1113
- var $L154 = $L("yield");
1114
- var $L155 = $L("/>");
1115
- var $L156 = $L("</");
1116
- var $L157 = $L("<>");
1117
- var $L158 = $L("</>");
1118
- var $L159 = $L("<!--");
1119
- var $L160 = $L("-->");
1120
- var $L161 = $L("declare");
1047
+ var $L86 = $L(":=");
1048
+ var $L87 = $L(".=");
1049
+ var $L88 = $L("/*");
1050
+ var $L89 = $L("*/");
1051
+ var $L90 = $L("\\");
1052
+ var $L91 = $L("abstract");
1053
+ var $L92 = $L("as");
1054
+ var $L93 = $L("@");
1055
+ var $L94 = $L("@@");
1056
+ var $L95 = $L("async");
1057
+ var $L96 = $L("await");
1058
+ var $L97 = $L("`");
1059
+ var $L98 = $L("by");
1060
+ var $L99 = $L("case");
1061
+ var $L100 = $L("catch");
1062
+ var $L101 = $L("class");
1063
+ var $L102 = $L("#{");
1064
+ var $L103 = $L("declare");
1065
+ var $L104 = $L("default");
1066
+ var $L105 = $L("delete");
1067
+ var $L106 = $L("do");
1068
+ var $L107 = $L("..");
1069
+ var $L108 = $L("...");
1070
+ var $L109 = $L("::");
1071
+ var $L110 = $L('"');
1072
+ var $L111 = $L("else");
1073
+ var $L112 = $L("export");
1074
+ var $L113 = $L("extends");
1075
+ var $L114 = $L("for");
1076
+ var $L115 = $L("from");
1077
+ var $L116 = $L("function");
1078
+ var $L117 = $L("get");
1079
+ var $L118 = $L("set");
1080
+ var $L119 = $L("if");
1081
+ var $L120 = $L("let");
1082
+ var $L121 = $L("const");
1083
+ var $L122 = $L("loop");
1084
+ var $L123 = $L("new");
1085
+ var $L124 = $L("<");
1086
+ var $L125 = $L("{");
1087
+ var $L126 = $L("[");
1088
+ var $L127 = $L("(");
1089
+ var $L128 = $L("public");
1090
+ var $L129 = $L("private");
1091
+ var $L130 = $L("protected");
1092
+ var $L131 = $L("|>");
1093
+ var $L132 = $L("readonly");
1094
+ var $L133 = $L("return");
1095
+ var $L134 = $L("satisfies");
1096
+ var $L135 = $L("'");
1097
+ var $L136 = $L("static");
1098
+ var $L137 = $L("${");
1099
+ var $L138 = $L("switch");
1100
+ var $L139 = $L("target");
1101
+ var $L140 = $L("then");
1102
+ var $L141 = $L("this");
1103
+ var $L142 = $L("throw");
1104
+ var $L143 = $L('"""');
1105
+ var $L144 = $L("'''");
1106
+ var $L145 = $L("///");
1107
+ var $L146 = $L("```");
1108
+ var $L147 = $L("try");
1109
+ var $L148 = $L("typeof");
1110
+ var $L149 = $L("unless");
1111
+ var $L150 = $L("until");
1112
+ var $L151 = $L("var");
1113
+ var $L152 = $L("void");
1114
+ var $L153 = $L("when");
1115
+ var $L154 = $L("while");
1116
+ var $L155 = $L("yield");
1117
+ var $L156 = $L("/>");
1118
+ var $L157 = $L("</");
1119
+ var $L158 = $L("<>");
1120
+ var $L159 = $L("</>");
1121
+ var $L160 = $L("<!--");
1122
+ var $L161 = $L("-->");
1121
1123
  var $L162 = $L("type");
1122
1124
  var $L163 = $L("interface");
1123
1125
  var $L164 = $L("namespace");
@@ -2923,7 +2925,9 @@ ${input.slice(result.pos)}
2923
2925
  return result;
2924
2926
  }
2925
2927
  }
2926
- var AccessModifier$0 = $TS($S($C(Public, Private, Protected), __), function($skip, $loc, $0, $1, $2) {
2928
+ var AccessModifier$0 = $TS($S($E($S($C(Public, Private, Protected), __)), $E($S(Readonly, __))), function($skip, $loc, $0, $1, $2) {
2929
+ if (!($1 || $2))
2930
+ return $skip;
2927
2931
  return {
2928
2932
  ts: true,
2929
2933
  children: $0
@@ -9190,7 +9194,7 @@ ${input.slice(result.pos)}
9190
9194
  return result;
9191
9195
  }
9192
9196
  }
9193
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9197
+ var ExportDeclaration$0 = $S(Export, __, Default, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9194
9198
  var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9195
9199
  if (!$3.ts)
9196
9200
  return $0;
@@ -9352,7 +9356,7 @@ ${input.slice(result.pos)}
9352
9356
  return result;
9353
9357
  }
9354
9358
  }
9355
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9359
+ var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9356
9360
  function ImplicitExportSpecifier(state) {
9357
9361
  let eventData;
9358
9362
  if (state.events) {
@@ -9523,7 +9527,7 @@ ${input.slice(result.pos)}
9523
9527
  return result;
9524
9528
  }
9525
9529
  }
9526
- var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9530
+ var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9527
9531
  return { $loc, token: "=" };
9528
9532
  });
9529
9533
  function ConstAssignment(state) {
@@ -9548,7 +9552,7 @@ ${input.slice(result.pos)}
9548
9552
  return result;
9549
9553
  }
9550
9554
  }
9551
- var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9555
+ var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9552
9556
  return { $loc, token: "=" };
9553
9557
  });
9554
9558
  function LetAssignment(state) {
@@ -10722,7 +10726,7 @@ ${input.slice(result.pos)}
10722
10726
  return result;
10723
10727
  }
10724
10728
  }
10725
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L90, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L90, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10729
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L89, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L89, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10726
10730
  return { $loc, token: $1 };
10727
10731
  });
10728
10732
  function JSMultiLineComment(state) {
@@ -10772,7 +10776,7 @@ ${input.slice(result.pos)}
10772
10776
  return result;
10773
10777
  }
10774
10778
  }
10775
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L90, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10779
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L89, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10776
10780
  return { $loc, token: `/*${$2}*/` };
10777
10781
  });
10778
10782
  function CoffeeMultiLineComment(state) {
@@ -10820,7 +10824,7 @@ ${input.slice(result.pos)}
10820
10824
  return result;
10821
10825
  }
10822
10826
  }
10823
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L90, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L90, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10827
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L89, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L89, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10824
10828
  return { $loc, token: $1 };
10825
10829
  });
10826
10830
  function InlineComment(state) {
@@ -10919,7 +10923,7 @@ ${input.slice(result.pos)}
10919
10923
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10920
10924
  return { $loc, token: $0 };
10921
10925
  });
10922
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10926
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L90, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10923
10927
  return "";
10924
10928
  });
10925
10929
  function NonNewlineWhitespace(state) {
@@ -11146,7 +11150,7 @@ ${input.slice(result.pos)}
11146
11150
  return result;
11147
11151
  }
11148
11152
  }
11149
- var Abstract$0 = $TV($TEXT($S($EXPECT($L92, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11153
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L91, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11150
11154
  return { $loc, token: $1, ts: true };
11151
11155
  });
11152
11156
  function Abstract(state) {
@@ -11196,7 +11200,7 @@ ${input.slice(result.pos)}
11196
11200
  return result;
11197
11201
  }
11198
11202
  }
11199
- var As$0 = $TS($S($EXPECT($L93, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11203
+ var As$0 = $TS($S($EXPECT($L92, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11200
11204
  return { $loc, token: $1 };
11201
11205
  });
11202
11206
  function As(state) {
@@ -11221,7 +11225,7 @@ ${input.slice(result.pos)}
11221
11225
  return result;
11222
11226
  }
11223
11227
  }
11224
- var At$0 = $TV($EXPECT($L94, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11228
+ var At$0 = $TV($EXPECT($L93, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11225
11229
  return { $loc, token: $1 };
11226
11230
  });
11227
11231
  function At(state) {
@@ -11246,7 +11250,7 @@ ${input.slice(result.pos)}
11246
11250
  return result;
11247
11251
  }
11248
11252
  }
11249
- var AtAt$0 = $TV($EXPECT($L95, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11253
+ var AtAt$0 = $TV($EXPECT($L94, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11250
11254
  return { $loc, token: "@" };
11251
11255
  });
11252
11256
  function AtAt(state) {
@@ -11271,7 +11275,7 @@ ${input.slice(result.pos)}
11271
11275
  return result;
11272
11276
  }
11273
11277
  }
11274
- var Async$0 = $TS($S($EXPECT($L96, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11278
+ var Async$0 = $TS($S($EXPECT($L95, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11275
11279
  return { $loc, token: $1, type: "Async" };
11276
11280
  });
11277
11281
  function Async(state) {
@@ -11296,7 +11300,7 @@ ${input.slice(result.pos)}
11296
11300
  return result;
11297
11301
  }
11298
11302
  }
11299
- var Await$0 = $TS($S($EXPECT($L97, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11303
+ var Await$0 = $TS($S($EXPECT($L96, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11300
11304
  return { $loc, token: $1 };
11301
11305
  });
11302
11306
  function Await(state) {
@@ -11321,7 +11325,7 @@ ${input.slice(result.pos)}
11321
11325
  return result;
11322
11326
  }
11323
11327
  }
11324
- var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11328
+ var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11325
11329
  return { $loc, token: $1 };
11326
11330
  });
11327
11331
  function Backtick(state) {
@@ -11346,7 +11350,7 @@ ${input.slice(result.pos)}
11346
11350
  return result;
11347
11351
  }
11348
11352
  }
11349
- var By$0 = $TS($S($EXPECT($L99, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11353
+ var By$0 = $TS($S($EXPECT($L98, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11350
11354
  return { $loc, token: $1 };
11351
11355
  });
11352
11356
  function By(state) {
@@ -11371,7 +11375,7 @@ ${input.slice(result.pos)}
11371
11375
  return result;
11372
11376
  }
11373
11377
  }
11374
- var Case$0 = $TS($S($EXPECT($L100, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11378
+ var Case$0 = $TS($S($EXPECT($L99, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11375
11379
  return { $loc, token: $1 };
11376
11380
  });
11377
11381
  function Case(state) {
@@ -11396,7 +11400,7 @@ ${input.slice(result.pos)}
11396
11400
  return result;
11397
11401
  }
11398
11402
  }
11399
- var Catch$0 = $TS($S($EXPECT($L101, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11403
+ var Catch$0 = $TS($S($EXPECT($L100, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11400
11404
  return { $loc, token: $1 };
11401
11405
  });
11402
11406
  function Catch(state) {
@@ -11421,7 +11425,7 @@ ${input.slice(result.pos)}
11421
11425
  return result;
11422
11426
  }
11423
11427
  }
11424
- var Class$0 = $TS($S($EXPECT($L102, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11428
+ var Class$0 = $TS($S($EXPECT($L101, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11425
11429
  return { $loc, token: $1 };
11426
11430
  });
11427
11431
  function Class(state) {
@@ -11521,7 +11525,7 @@ ${input.slice(result.pos)}
11521
11525
  return result;
11522
11526
  }
11523
11527
  }
11524
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L103, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11528
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L102, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11525
11529
  return { $loc, token: "${" };
11526
11530
  });
11527
11531
  function CoffeeSubstitutionStart(state) {
@@ -11571,7 +11575,7 @@ ${input.slice(result.pos)}
11571
11575
  return result;
11572
11576
  }
11573
11577
  }
11574
- var ConstructorShorthand$0 = $TV($EXPECT($L94, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11578
+ var ConstructorShorthand$0 = $TV($EXPECT($L93, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11575
11579
  return { $loc, token: "constructor" };
11576
11580
  });
11577
11581
  function ConstructorShorthand(state) {
@@ -11596,7 +11600,32 @@ ${input.slice(result.pos)}
11596
11600
  return result;
11597
11601
  }
11598
11602
  }
11599
- var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11603
+ var Declare$0 = $TS($S($EXPECT($L103, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11604
+ return { $loc, token: $1 };
11605
+ });
11606
+ function Declare(state) {
11607
+ let eventData;
11608
+ if (state.events) {
11609
+ const result = state.events.enter?.("Declare", state);
11610
+ if (result) {
11611
+ if (result.cache)
11612
+ return result.cache;
11613
+ eventData = result.data;
11614
+ }
11615
+ }
11616
+ if (state.tokenize) {
11617
+ const result = $TOKEN("Declare", state, Declare$0(state));
11618
+ if (state.events)
11619
+ state.events.exit?.("Declare", state, result, eventData);
11620
+ return result;
11621
+ } else {
11622
+ const result = Declare$0(state);
11623
+ if (state.events)
11624
+ state.events.exit?.("Declare", state, result, eventData);
11625
+ return result;
11626
+ }
11627
+ }
11628
+ var Default$0 = $TS($S($EXPECT($L104, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11600
11629
  return { $loc, token: $1 };
11601
11630
  });
11602
11631
  function Default(state) {
@@ -11621,7 +11650,7 @@ ${input.slice(result.pos)}
11621
11650
  return result;
11622
11651
  }
11623
11652
  }
11624
- var Delete$0 = $TS($S($EXPECT($L104, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11653
+ var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11625
11654
  return { $loc, token: $1 };
11626
11655
  });
11627
11656
  function Delete(state) {
@@ -11646,7 +11675,7 @@ ${input.slice(result.pos)}
11646
11675
  return result;
11647
11676
  }
11648
11677
  }
11649
- var Do$0 = $TS($S($EXPECT($L105, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11678
+ var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11650
11679
  return { $loc, token: $1 };
11651
11680
  });
11652
11681
  function Do(state) {
@@ -11696,7 +11725,7 @@ ${input.slice(result.pos)}
11696
11725
  return result;
11697
11726
  }
11698
11727
  }
11699
- var DotDot$0 = $TV($EXPECT($L106, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11728
+ var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11700
11729
  return { $loc, token: $1 };
11701
11730
  });
11702
11731
  function DotDot(state) {
@@ -11721,7 +11750,7 @@ ${input.slice(result.pos)}
11721
11750
  return result;
11722
11751
  }
11723
11752
  }
11724
- var DotDotDot$0 = $TV($EXPECT($L107, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11753
+ var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11725
11754
  return { $loc, token: $1 };
11726
11755
  });
11727
11756
  function DotDotDot(state) {
@@ -11746,7 +11775,7 @@ ${input.slice(result.pos)}
11746
11775
  return result;
11747
11776
  }
11748
11777
  }
11749
- var DoubleColon$0 = $TV($EXPECT($L108, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11778
+ var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11750
11779
  return { $loc, token: $1 };
11751
11780
  });
11752
11781
  function DoubleColon(state) {
@@ -11771,7 +11800,7 @@ ${input.slice(result.pos)}
11771
11800
  return result;
11772
11801
  }
11773
11802
  }
11774
- var DoubleQuote$0 = $TV($EXPECT($L109, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11803
+ var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11775
11804
  return { $loc, token: $1 };
11776
11805
  });
11777
11806
  function DoubleQuote(state) {
@@ -11796,7 +11825,7 @@ ${input.slice(result.pos)}
11796
11825
  return result;
11797
11826
  }
11798
11827
  }
11799
- var Else$0 = $TS($S($EXPECT($L110, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11828
+ var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11800
11829
  return { $loc, token: $1 };
11801
11830
  });
11802
11831
  function Else(state) {
@@ -11846,7 +11875,7 @@ ${input.slice(result.pos)}
11846
11875
  return result;
11847
11876
  }
11848
11877
  }
11849
- var Export$0 = $TS($S($EXPECT($L111, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11878
+ var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11850
11879
  return { $loc, token: $1 };
11851
11880
  });
11852
11881
  function Export(state) {
@@ -11871,7 +11900,7 @@ ${input.slice(result.pos)}
11871
11900
  return result;
11872
11901
  }
11873
11902
  }
11874
- var Extends$0 = $TS($S($EXPECT($L112, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11903
+ var Extends$0 = $TS($S($EXPECT($L113, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11875
11904
  return { $loc, token: $1 };
11876
11905
  });
11877
11906
  function Extends(state) {
@@ -11896,7 +11925,7 @@ ${input.slice(result.pos)}
11896
11925
  return result;
11897
11926
  }
11898
11927
  }
11899
- var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11928
+ var For$0 = $TS($S($EXPECT($L114, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11900
11929
  return { $loc, token: $1 };
11901
11930
  });
11902
11931
  function For(state) {
@@ -11921,7 +11950,7 @@ ${input.slice(result.pos)}
11921
11950
  return result;
11922
11951
  }
11923
11952
  }
11924
- var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11953
+ var From$0 = $TS($S($EXPECT($L115, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11925
11954
  return { $loc, token: $1 };
11926
11955
  });
11927
11956
  function From(state) {
@@ -11946,7 +11975,7 @@ ${input.slice(result.pos)}
11946
11975
  return result;
11947
11976
  }
11948
11977
  }
11949
- var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11978
+ var Function$0 = $TS($S($EXPECT($L116, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11950
11979
  return { $loc, token: $1 };
11951
11980
  });
11952
11981
  function Function(state) {
@@ -11971,7 +12000,7 @@ ${input.slice(result.pos)}
11971
12000
  return result;
11972
12001
  }
11973
12002
  }
11974
- var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12003
+ var GetOrSet$0 = $TS($S($C($EXPECT($L117, fail, 'GetOrSet "get"'), $EXPECT($L118, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11975
12004
  return { $loc, token: $1, type: "GetOrSet" };
11976
12005
  });
11977
12006
  function GetOrSet(state) {
@@ -11996,7 +12025,7 @@ ${input.slice(result.pos)}
11996
12025
  return result;
11997
12026
  }
11998
12027
  }
11999
- var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12028
+ var If$0 = $TV($TEXT($S($EXPECT($L119, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12000
12029
  return { $loc, token: $1 };
12001
12030
  });
12002
12031
  function If(state) {
@@ -12071,7 +12100,7 @@ ${input.slice(result.pos)}
12071
12100
  return result;
12072
12101
  }
12073
12102
  }
12074
- var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12103
+ var LetOrConst$0 = $TS($S($C($EXPECT($L120, fail, 'LetOrConst "let"'), $EXPECT($L121, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12075
12104
  return { $loc, token: $1 };
12076
12105
  });
12077
12106
  function LetOrConst(state) {
@@ -12096,7 +12125,7 @@ ${input.slice(result.pos)}
12096
12125
  return result;
12097
12126
  }
12098
12127
  }
12099
- var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12128
+ var Loop$0 = $TS($S($EXPECT($L122, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12100
12129
  return { $loc, token: "while(true)" };
12101
12130
  });
12102
12131
  function Loop(state) {
@@ -12121,7 +12150,7 @@ ${input.slice(result.pos)}
12121
12150
  return result;
12122
12151
  }
12123
12152
  }
12124
- var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12153
+ var New$0 = $TS($S($EXPECT($L123, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12125
12154
  return { $loc, token: $1 };
12126
12155
  });
12127
12156
  function New(state) {
@@ -12196,7 +12225,7 @@ ${input.slice(result.pos)}
12196
12225
  return result;
12197
12226
  }
12198
12227
  }
12199
- var OpenAngleBracket$0 = $TV($EXPECT($L123, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12228
+ var OpenAngleBracket$0 = $TV($EXPECT($L124, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12200
12229
  return { $loc, token: $1 };
12201
12230
  });
12202
12231
  function OpenAngleBracket(state) {
@@ -12221,7 +12250,7 @@ ${input.slice(result.pos)}
12221
12250
  return result;
12222
12251
  }
12223
12252
  }
12224
- var OpenBrace$0 = $TV($EXPECT($L124, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12253
+ var OpenBrace$0 = $TV($EXPECT($L125, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12225
12254
  return { $loc, token: $1 };
12226
12255
  });
12227
12256
  function OpenBrace(state) {
@@ -12246,7 +12275,7 @@ ${input.slice(result.pos)}
12246
12275
  return result;
12247
12276
  }
12248
12277
  }
12249
- var OpenBracket$0 = $TV($EXPECT($L125, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12278
+ var OpenBracket$0 = $TV($EXPECT($L126, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12250
12279
  return { $loc, token: $1 };
12251
12280
  });
12252
12281
  function OpenBracket(state) {
@@ -12271,7 +12300,7 @@ ${input.slice(result.pos)}
12271
12300
  return result;
12272
12301
  }
12273
12302
  }
12274
- var OpenParen$0 = $TV($EXPECT($L126, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12303
+ var OpenParen$0 = $TV($EXPECT($L127, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12275
12304
  return { $loc, token: $1 };
12276
12305
  });
12277
12306
  function OpenParen(state) {
@@ -12296,7 +12325,7 @@ ${input.slice(result.pos)}
12296
12325
  return result;
12297
12326
  }
12298
12327
  }
12299
- var Public$0 = $TS($S($EXPECT($L127, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12328
+ var Public$0 = $TS($S($EXPECT($L128, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12300
12329
  return { $loc, token: $1 };
12301
12330
  });
12302
12331
  function Public(state) {
@@ -12321,7 +12350,7 @@ ${input.slice(result.pos)}
12321
12350
  return result;
12322
12351
  }
12323
12352
  }
12324
- var Private$0 = $TS($S($EXPECT($L128, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12353
+ var Private$0 = $TS($S($EXPECT($L129, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12325
12354
  return { $loc, token: $1 };
12326
12355
  });
12327
12356
  function Private(state) {
@@ -12346,7 +12375,7 @@ ${input.slice(result.pos)}
12346
12375
  return result;
12347
12376
  }
12348
12377
  }
12349
- var Protected$0 = $TS($S($EXPECT($L129, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12378
+ var Protected$0 = $TS($S($EXPECT($L130, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12350
12379
  return { $loc, token: $1 };
12351
12380
  });
12352
12381
  function Protected(state) {
@@ -12371,7 +12400,7 @@ ${input.slice(result.pos)}
12371
12400
  return result;
12372
12401
  }
12373
12402
  }
12374
- var Pipe$0 = $TV($EXPECT($L130, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12403
+ var Pipe$0 = $TV($EXPECT($L131, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12375
12404
  return { $loc, token: $1 };
12376
12405
  });
12377
12406
  function Pipe(state) {
@@ -12421,7 +12450,7 @@ ${input.slice(result.pos)}
12421
12450
  return result;
12422
12451
  }
12423
12452
  }
12424
- var Readonly$0 = $TS($S($EXPECT($L131, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12453
+ var Readonly$0 = $TS($S($EXPECT($L132, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12425
12454
  return { $loc, token: $1, ts: true };
12426
12455
  });
12427
12456
  function Readonly(state) {
@@ -12446,7 +12475,7 @@ ${input.slice(result.pos)}
12446
12475
  return result;
12447
12476
  }
12448
12477
  }
12449
- var Return$0 = $TS($S($EXPECT($L132, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12478
+ var Return$0 = $TS($S($EXPECT($L133, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12450
12479
  return { $loc, token: $1 };
12451
12480
  });
12452
12481
  function Return(state) {
@@ -12471,7 +12500,7 @@ ${input.slice(result.pos)}
12471
12500
  return result;
12472
12501
  }
12473
12502
  }
12474
- var Satisfies$0 = $TS($S($EXPECT($L133, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12503
+ var Satisfies$0 = $TS($S($EXPECT($L134, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12475
12504
  return { $loc, token: $1 };
12476
12505
  });
12477
12506
  function Satisfies(state) {
@@ -12521,7 +12550,7 @@ ${input.slice(result.pos)}
12521
12550
  return result;
12522
12551
  }
12523
12552
  }
12524
- var SingleQuote$0 = $TV($EXPECT($L134, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12553
+ var SingleQuote$0 = $TV($EXPECT($L135, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12525
12554
  return { $loc, token: $1 };
12526
12555
  });
12527
12556
  function SingleQuote(state) {
@@ -12571,10 +12600,10 @@ ${input.slice(result.pos)}
12571
12600
  return result;
12572
12601
  }
12573
12602
  }
12574
- var Static$0 = $TS($S($EXPECT($L135, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12603
+ var Static$0 = $TS($S($EXPECT($L136, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12575
12604
  return { $loc, token: $1 };
12576
12605
  });
12577
- var Static$1 = $TS($S($EXPECT($L94, fail, 'Static "@"'), $N($C($EXPECT($L126, fail, 'Static "("'), $EXPECT($L94, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12606
+ var Static$1 = $TS($S($EXPECT($L93, fail, 'Static "@"'), $N($C($EXPECT($L127, fail, 'Static "("'), $EXPECT($L93, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12578
12607
  return { $loc, token: "static " };
12579
12608
  });
12580
12609
  function Static(state) {
@@ -12599,7 +12628,7 @@ ${input.slice(result.pos)}
12599
12628
  return result;
12600
12629
  }
12601
12630
  }
12602
- var SubstitutionStart$0 = $TV($EXPECT($L136, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12631
+ var SubstitutionStart$0 = $TV($EXPECT($L137, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12603
12632
  return { $loc, token: $1 };
12604
12633
  });
12605
12634
  function SubstitutionStart(state) {
@@ -12624,7 +12653,7 @@ ${input.slice(result.pos)}
12624
12653
  return result;
12625
12654
  }
12626
12655
  }
12627
- var Switch$0 = $TS($S($EXPECT($L137, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12656
+ var Switch$0 = $TS($S($EXPECT($L138, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12628
12657
  return { $loc, token: $1 };
12629
12658
  });
12630
12659
  function Switch(state) {
@@ -12649,7 +12678,7 @@ ${input.slice(result.pos)}
12649
12678
  return result;
12650
12679
  }
12651
12680
  }
12652
- var Target$0 = $TS($S($EXPECT($L138, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12681
+ var Target$0 = $TS($S($EXPECT($L139, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12653
12682
  return { $loc, token: $1 };
12654
12683
  });
12655
12684
  function Target(state) {
@@ -12674,7 +12703,7 @@ ${input.slice(result.pos)}
12674
12703
  return result;
12675
12704
  }
12676
12705
  }
12677
- var Then$0 = $TS($S(__, $EXPECT($L139, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12706
+ var Then$0 = $TS($S(__, $EXPECT($L140, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12678
12707
  return { $loc, token: "" };
12679
12708
  });
12680
12709
  function Then(state) {
@@ -12699,7 +12728,7 @@ ${input.slice(result.pos)}
12699
12728
  return result;
12700
12729
  }
12701
12730
  }
12702
- var This$0 = $TS($S($EXPECT($L140, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12731
+ var This$0 = $TS($S($EXPECT($L141, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12703
12732
  return { $loc, token: $1 };
12704
12733
  });
12705
12734
  function This(state) {
@@ -12724,7 +12753,7 @@ ${input.slice(result.pos)}
12724
12753
  return result;
12725
12754
  }
12726
12755
  }
12727
- var Throw$0 = $TS($S($EXPECT($L141, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12756
+ var Throw$0 = $TS($S($EXPECT($L142, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12728
12757
  return { $loc, token: $1 };
12729
12758
  });
12730
12759
  function Throw(state) {
@@ -12749,7 +12778,7 @@ ${input.slice(result.pos)}
12749
12778
  return result;
12750
12779
  }
12751
12780
  }
12752
- var TripleDoubleQuote$0 = $TV($EXPECT($L142, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12781
+ var TripleDoubleQuote$0 = $TV($EXPECT($L143, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12753
12782
  return { $loc, token: "`" };
12754
12783
  });
12755
12784
  function TripleDoubleQuote(state) {
@@ -12774,7 +12803,7 @@ ${input.slice(result.pos)}
12774
12803
  return result;
12775
12804
  }
12776
12805
  }
12777
- var TripleSingleQuote$0 = $TV($EXPECT($L143, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12806
+ var TripleSingleQuote$0 = $TV($EXPECT($L144, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12778
12807
  return { $loc, token: "`" };
12779
12808
  });
12780
12809
  function TripleSingleQuote(state) {
@@ -12799,7 +12828,7 @@ ${input.slice(result.pos)}
12799
12828
  return result;
12800
12829
  }
12801
12830
  }
12802
- var TripleSlash$0 = $TV($EXPECT($L144, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12831
+ var TripleSlash$0 = $TV($EXPECT($L145, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12803
12832
  return { $loc, token: "/" };
12804
12833
  });
12805
12834
  function TripleSlash(state) {
@@ -12824,7 +12853,7 @@ ${input.slice(result.pos)}
12824
12853
  return result;
12825
12854
  }
12826
12855
  }
12827
- var TripleTick$0 = $TV($EXPECT($L145, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12856
+ var TripleTick$0 = $TV($EXPECT($L146, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12828
12857
  return { $loc, token: "`" };
12829
12858
  });
12830
12859
  function TripleTick(state) {
@@ -12849,7 +12878,7 @@ ${input.slice(result.pos)}
12849
12878
  return result;
12850
12879
  }
12851
12880
  }
12852
- var Try$0 = $TS($S($EXPECT($L146, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12881
+ var Try$0 = $TS($S($EXPECT($L147, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12853
12882
  return { $loc, token: $1 };
12854
12883
  });
12855
12884
  function Try(state) {
@@ -12874,7 +12903,7 @@ ${input.slice(result.pos)}
12874
12903
  return result;
12875
12904
  }
12876
12905
  }
12877
- var Typeof$0 = $TS($S($EXPECT($L147, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12906
+ var Typeof$0 = $TS($S($EXPECT($L148, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12878
12907
  return { $loc, token: $1 };
12879
12908
  });
12880
12909
  function Typeof(state) {
@@ -12899,7 +12928,7 @@ ${input.slice(result.pos)}
12899
12928
  return result;
12900
12929
  }
12901
12930
  }
12902
- var Unless$0 = $TS($S($EXPECT($L148, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12931
+ var Unless$0 = $TS($S($EXPECT($L149, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12903
12932
  return { $loc, token: $1 };
12904
12933
  });
12905
12934
  function Unless(state) {
@@ -12924,7 +12953,7 @@ ${input.slice(result.pos)}
12924
12953
  return result;
12925
12954
  }
12926
12955
  }
12927
- var Until$0 = $TS($S($EXPECT($L149, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12956
+ var Until$0 = $TS($S($EXPECT($L150, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12928
12957
  return { $loc, token: $1 };
12929
12958
  });
12930
12959
  function Until(state) {
@@ -12949,7 +12978,7 @@ ${input.slice(result.pos)}
12949
12978
  return result;
12950
12979
  }
12951
12980
  }
12952
- var Var$0 = $TS($S($EXPECT($L150, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12981
+ var Var$0 = $TS($S($EXPECT($L151, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12953
12982
  return { $loc, token: $1 };
12954
12983
  });
12955
12984
  function Var(state) {
@@ -12974,7 +13003,7 @@ ${input.slice(result.pos)}
12974
13003
  return result;
12975
13004
  }
12976
13005
  }
12977
- var Void$0 = $TS($S($EXPECT($L151, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13006
+ var Void$0 = $TS($S($EXPECT($L152, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12978
13007
  return { $loc, token: $1 };
12979
13008
  });
12980
13009
  function Void(state) {
@@ -12999,7 +13028,7 @@ ${input.slice(result.pos)}
12999
13028
  return result;
13000
13029
  }
13001
13030
  }
13002
- var When$0 = $TS($S($EXPECT($L152, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13031
+ var When$0 = $TS($S($EXPECT($L153, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13003
13032
  return { $loc, token: "case" };
13004
13033
  });
13005
13034
  function When(state) {
@@ -13024,7 +13053,7 @@ ${input.slice(result.pos)}
13024
13053
  return result;
13025
13054
  }
13026
13055
  }
13027
- var While$0 = $TS($S($EXPECT($L153, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13056
+ var While$0 = $TS($S($EXPECT($L154, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13028
13057
  return { $loc, token: $1 };
13029
13058
  });
13030
13059
  function While(state) {
@@ -13049,7 +13078,7 @@ ${input.slice(result.pos)}
13049
13078
  return result;
13050
13079
  }
13051
13080
  }
13052
- var Yield$0 = $TS($S($EXPECT($L154, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13081
+ var Yield$0 = $TS($S($EXPECT($L155, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13053
13082
  return { $loc, token: $1 };
13054
13083
  });
13055
13084
  function Yield(state) {
@@ -13195,7 +13224,7 @@ ${input.slice(result.pos)}
13195
13224
  return result;
13196
13225
  }
13197
13226
  }
13198
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L123, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L155, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13227
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L124, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L156, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13199
13228
  return { type: "JSXElement", children: $0, tag: $2 };
13200
13229
  });
13201
13230
  function JSXSelfClosingElement(state) {
@@ -13246,7 +13275,7 @@ ${input.slice(result.pos)}
13246
13275
  return result;
13247
13276
  }
13248
13277
  }
13249
- var JSXOpeningElement$0 = $S($EXPECT($L123, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13278
+ var JSXOpeningElement$0 = $S($EXPECT($L124, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13250
13279
  function JSXOpeningElement(state) {
13251
13280
  let eventData;
13252
13281
  if (state.events) {
@@ -13298,7 +13327,7 @@ ${input.slice(result.pos)}
13298
13327
  return result;
13299
13328
  }
13300
13329
  }
13301
- var JSXClosingElement$0 = $S($EXPECT($L156, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13330
+ var JSXClosingElement$0 = $S($EXPECT($L157, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13302
13331
  function JSXClosingElement(state) {
13303
13332
  let eventData;
13304
13333
  if (state.events) {
@@ -13337,7 +13366,7 @@ ${input.slice(result.pos)}
13337
13366
  ];
13338
13367
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
13339
13368
  });
13340
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L157, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13369
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L158, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13341
13370
  var children = $3;
13342
13371
  $0 = $0.slice(1);
13343
13372
  return {
@@ -13368,7 +13397,7 @@ ${input.slice(result.pos)}
13368
13397
  return result;
13369
13398
  }
13370
13399
  }
13371
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L157, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13400
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L158, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13372
13401
  module2.JSXTagStack.push("");
13373
13402
  return $1;
13374
13403
  });
@@ -13422,7 +13451,7 @@ ${input.slice(result.pos)}
13422
13451
  return result;
13423
13452
  }
13424
13453
  }
13425
- var JSXClosingFragment$0 = $EXPECT($L158, fail, 'JSXClosingFragment "</>"');
13454
+ var JSXClosingFragment$0 = $EXPECT($L159, fail, 'JSXClosingFragment "</>"');
13426
13455
  function JSXClosingFragment(state) {
13427
13456
  let eventData;
13428
13457
  if (state.events) {
@@ -14299,7 +14328,7 @@ ${input.slice(result.pos)}
14299
14328
  return result;
14300
14329
  }
14301
14330
  }
14302
- var JSXComment$0 = $TS($S($EXPECT($L159, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L160, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14331
+ var JSXComment$0 = $TS($S($EXPECT($L160, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L161, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14303
14332
  return ["{/*", $2, "*/}"];
14304
14333
  });
14305
14334
  function JSXComment(state) {
@@ -14451,7 +14480,10 @@ ${input.slice(result.pos)}
14451
14480
  return result;
14452
14481
  }
14453
14482
  }
14454
- var TypeDeclaration$0 = $T($S($Q($S(TypeDeclarationModifier, $Q(TrailingComment))), TypeDeclarationRest), function(value) {
14483
+ var TypeDeclaration$0 = $T($S($E($S(Export, $E(_))), $S(Declare, $E(_)), TypeLexicalDeclaration), function(value) {
14484
+ return { "ts": true, "children": value };
14485
+ });
14486
+ var TypeDeclaration$1 = $T($S($E($S(Export, $E(_))), $E($S(Declare, $E(_))), TypeDeclarationRest), function(value) {
14455
14487
  return { "ts": true, "children": value };
14456
14488
  });
14457
14489
  function TypeDeclaration(state) {
@@ -14465,23 +14497,25 @@ ${input.slice(result.pos)}
14465
14497
  }
14466
14498
  }
14467
14499
  if (state.tokenize) {
14468
- const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state));
14500
+ const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state) || TypeDeclaration$1(state));
14469
14501
  if (state.events)
14470
14502
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14471
14503
  return result;
14472
14504
  } else {
14473
- const result = TypeDeclaration$0(state);
14505
+ const result = TypeDeclaration$0(state) || TypeDeclaration$1(state);
14474
14506
  if (state.events)
14475
14507
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14476
14508
  return result;
14477
14509
  }
14478
14510
  }
14479
- var TypeDeclarationModifier$0 = $S($EXPECT($L161, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
14480
- var TypeDeclarationModifier$1 = Export;
14481
- function TypeDeclarationModifier(state) {
14511
+ var TypeDeclarationRest$0 = $S(TypeKeyword, $Q(TrailingComment), IdentifierName, $E(TypeParameters), __, Equals, __, Type);
14512
+ var TypeDeclarationRest$1 = $S(Interface, $Q(TrailingComment), IdentifierName, $E(TypeParameters), $E(InterfaceExtendsClause), InterfaceBlock);
14513
+ var TypeDeclarationRest$2 = $S(Namespace, $Q(TrailingComment), IdentifierName, NamespaceBlock);
14514
+ var TypeDeclarationRest$3 = FunctionSignature;
14515
+ function TypeDeclarationRest(state) {
14482
14516
  let eventData;
14483
14517
  if (state.events) {
14484
- const result = state.events.enter?.("TypeDeclarationModifier", state);
14518
+ const result = state.events.enter?.("TypeDeclarationRest", state);
14485
14519
  if (result) {
14486
14520
  if (result.cache)
14487
14521
  return result.cache;
@@ -14489,25 +14523,22 @@ ${input.slice(result.pos)}
14489
14523
  }
14490
14524
  }
14491
14525
  if (state.tokenize) {
14492
- const result = $TOKEN("TypeDeclarationModifier", state, TypeDeclarationModifier$0(state) || TypeDeclarationModifier$1(state));
14526
+ const result = $TOKEN("TypeDeclarationRest", state, TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state));
14493
14527
  if (state.events)
14494
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14528
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14495
14529
  return result;
14496
14530
  } else {
14497
- const result = TypeDeclarationModifier$0(state) || TypeDeclarationModifier$1(state);
14531
+ const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14498
14532
  if (state.events)
14499
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14533
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14500
14534
  return result;
14501
14535
  }
14502
14536
  }
14503
- var TypeDeclarationRest$0 = $S(TypeKeyword, $Q(TrailingComment), IdentifierName, $E(TypeParameters), __, Equals, __, Type);
14504
- var TypeDeclarationRest$1 = $S(Interface, $Q(TrailingComment), IdentifierName, $E(TypeParameters), $E(InterfaceExtendsClause), InterfaceBlock);
14505
- var TypeDeclarationRest$2 = $S(Namespace, $Q(TrailingComment), IdentifierName, NamespaceBlock);
14506
- var TypeDeclarationRest$3 = FunctionSignature;
14507
- function TypeDeclarationRest(state) {
14537
+ var TypeLexicalDeclaration$0 = $S(__, $N(Namespace), LetOrConst, TypeDeclarationBinding, $Q($S(CommaDelimiter, __, TypeDeclarationBinding)));
14538
+ function TypeLexicalDeclaration(state) {
14508
14539
  let eventData;
14509
14540
  if (state.events) {
14510
- const result = state.events.enter?.("TypeDeclarationRest", state);
14541
+ const result = state.events.enter?.("TypeLexicalDeclaration", state);
14511
14542
  if (result) {
14512
14543
  if (result.cache)
14513
14544
  return result.cache;
@@ -14515,14 +14546,37 @@ ${input.slice(result.pos)}
14515
14546
  }
14516
14547
  }
14517
14548
  if (state.tokenize) {
14518
- const result = $TOKEN("TypeDeclarationRest", state, TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state));
14549
+ const result = $TOKEN("TypeLexicalDeclaration", state, TypeLexicalDeclaration$0(state));
14519
14550
  if (state.events)
14520
- state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14551
+ state.events.exit?.("TypeLexicalDeclaration", state, result, eventData);
14521
14552
  return result;
14522
14553
  } else {
14523
- const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14554
+ const result = TypeLexicalDeclaration$0(state);
14524
14555
  if (state.events)
14525
- state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14556
+ state.events.exit?.("TypeLexicalDeclaration", state, result, eventData);
14557
+ return result;
14558
+ }
14559
+ }
14560
+ var TypeDeclarationBinding$0 = $S($C(BindingPattern, BindingIdentifier), $E(TypeSuffix));
14561
+ function TypeDeclarationBinding(state) {
14562
+ let eventData;
14563
+ if (state.events) {
14564
+ const result = state.events.enter?.("TypeDeclarationBinding", state);
14565
+ if (result) {
14566
+ if (result.cache)
14567
+ return result.cache;
14568
+ eventData = result.data;
14569
+ }
14570
+ }
14571
+ if (state.tokenize) {
14572
+ const result = $TOKEN("TypeDeclarationBinding", state, TypeDeclarationBinding$0(state));
14573
+ if (state.events)
14574
+ state.events.exit?.("TypeDeclarationBinding", state, result, eventData);
14575
+ return result;
14576
+ } else {
14577
+ const result = TypeDeclarationBinding$0(state);
14578
+ if (state.events)
14579
+ state.events.exit?.("TypeDeclarationBinding", state, result, eventData);
14526
14580
  return result;
14527
14581
  }
14528
14582
  }
@@ -14843,7 +14897,7 @@ ${input.slice(result.pos)}
14843
14897
  return result;
14844
14898
  }
14845
14899
  }
14846
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L131, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14900
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L132, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14847
14901
  function TypeIndexSignature(state) {
14848
14902
  let eventData;
14849
14903
  if (state.events) {
@@ -15075,9 +15129,9 @@ ${input.slice(result.pos)}
15075
15129
  }
15076
15130
  }
15077
15131
  var TypeUnaryOp$0 = $S($EXPECT($L166, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15078
- var TypeUnaryOp$1 = $S($EXPECT($L147, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15132
+ var TypeUnaryOp$1 = $S($EXPECT($L148, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15079
15133
  var TypeUnaryOp$2 = $S($EXPECT($L167, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15080
- var TypeUnaryOp$3 = $S($EXPECT($L131, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15134
+ var TypeUnaryOp$3 = $S($EXPECT($L132, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15081
15135
  function TypeUnaryOp(state) {
15082
15136
  let eventData;
15083
15137
  if (state.events) {
@@ -15274,7 +15328,7 @@ ${input.slice(result.pos)}
15274
15328
  return result;
15275
15329
  }
15276
15330
  }
15277
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L112, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15331
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L113, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15278
15332
  if ($2)
15279
15333
  return $0;
15280
15334
  return $1;
@@ -15303,7 +15357,7 @@ ${input.slice(result.pos)}
15303
15357
  }
15304
15358
  var TypeLiteral$0 = Literal;
15305
15359
  var TypeLiteral$1 = TemplateLiteral;
15306
- var TypeLiteral$2 = $TS($S($EXPECT($L151, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15360
+ var TypeLiteral$2 = $TS($S($EXPECT($L152, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15307
15361
  return { $loc, token: "void" };
15308
15362
  });
15309
15363
  var TypeLiteral$3 = $TV($EXPECT($L168, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
@@ -15388,7 +15442,7 @@ ${input.slice(result.pos)}
15388
15442
  return result;
15389
15443
  }
15390
15444
  }
15391
- var TypeArguments$0 = $TS($S($EXPECT($L123, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15445
+ var TypeArguments$0 = $TS($S($EXPECT($L124, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15392
15446
  return { ts: true, children: $0 };
15393
15447
  });
15394
15448
  function TypeArguments(state) {
@@ -15459,7 +15513,7 @@ ${input.slice(result.pos)}
15459
15513
  return result;
15460
15514
  }
15461
15515
  }
15462
- var TypeParameters$0 = $TS($S(__, $EXPECT($L123, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15516
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L124, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15463
15517
  var parameters = $3;
15464
15518
  return {
15465
15519
  type: "TypeParameters",
@@ -15513,7 +15567,7 @@ ${input.slice(result.pos)}
15513
15567
  return result;
15514
15568
  }
15515
15569
  }
15516
- var TypeConstraint$0 = $S(__, $EXPECT($L112, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15570
+ var TypeConstraint$0 = $S(__, $EXPECT($L113, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15517
15571
  function TypeConstraint(state) {
15518
15572
  let eventData;
15519
15573
  if (state.events) {