@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.mjs CHANGED
@@ -759,6 +759,7 @@ ${input.slice(result.pos)}
759
759
  CoffeeSubstitutionStart,
760
760
  Colon,
761
761
  ConstructorShorthand,
762
+ Declare,
762
763
  Default,
763
764
  Delete,
764
765
  Do,
@@ -862,8 +863,9 @@ ${input.slice(result.pos)}
862
863
  IndentedJSXChildExpression,
863
864
  NestedJSXChildExpression,
864
865
  TypeDeclaration,
865
- TypeDeclarationModifier,
866
866
  TypeDeclarationRest,
867
+ TypeLexicalDeclaration,
868
+ TypeDeclarationBinding,
867
869
  InterfaceExtendsClause,
868
870
  InterfaceExtendsTarget,
869
871
  TypeKeyword,
@@ -1040,82 +1042,82 @@ ${input.slice(result.pos)}
1040
1042
  var $L83 = $L("continue");
1041
1043
  var $L84 = $L("debugger");
1042
1044
  var $L85 = $L("assert");
1043
- var $L86 = $L("default");
1044
- var $L87 = $L(":=");
1045
- var $L88 = $L(".=");
1046
- var $L89 = $L("/*");
1047
- var $L90 = $L("*/");
1048
- var $L91 = $L("\\");
1049
- var $L92 = $L("abstract");
1050
- var $L93 = $L("as");
1051
- var $L94 = $L("@");
1052
- var $L95 = $L("@@");
1053
- var $L96 = $L("async");
1054
- var $L97 = $L("await");
1055
- var $L98 = $L("`");
1056
- var $L99 = $L("by");
1057
- var $L100 = $L("case");
1058
- var $L101 = $L("catch");
1059
- var $L102 = $L("class");
1060
- var $L103 = $L("#{");
1061
- var $L104 = $L("delete");
1062
- var $L105 = $L("do");
1063
- var $L106 = $L("..");
1064
- var $L107 = $L("...");
1065
- var $L108 = $L("::");
1066
- var $L109 = $L('"');
1067
- var $L110 = $L("else");
1068
- var $L111 = $L("export");
1069
- var $L112 = $L("extends");
1070
- var $L113 = $L("for");
1071
- var $L114 = $L("from");
1072
- var $L115 = $L("function");
1073
- var $L116 = $L("get");
1074
- var $L117 = $L("set");
1075
- var $L118 = $L("if");
1076
- var $L119 = $L("let");
1077
- var $L120 = $L("const");
1078
- var $L121 = $L("loop");
1079
- var $L122 = $L("new");
1080
- var $L123 = $L("<");
1081
- var $L124 = $L("{");
1082
- var $L125 = $L("[");
1083
- var $L126 = $L("(");
1084
- var $L127 = $L("public");
1085
- var $L128 = $L("private");
1086
- var $L129 = $L("protected");
1087
- var $L130 = $L("|>");
1088
- var $L131 = $L("readonly");
1089
- var $L132 = $L("return");
1090
- var $L133 = $L("satisfies");
1091
- var $L134 = $L("'");
1092
- var $L135 = $L("static");
1093
- var $L136 = $L("${");
1094
- var $L137 = $L("switch");
1095
- var $L138 = $L("target");
1096
- var $L139 = $L("then");
1097
- var $L140 = $L("this");
1098
- var $L141 = $L("throw");
1099
- var $L142 = $L('"""');
1100
- var $L143 = $L("'''");
1101
- var $L144 = $L("///");
1102
- var $L145 = $L("```");
1103
- var $L146 = $L("try");
1104
- var $L147 = $L("typeof");
1105
- var $L148 = $L("unless");
1106
- var $L149 = $L("until");
1107
- var $L150 = $L("var");
1108
- var $L151 = $L("void");
1109
- var $L152 = $L("when");
1110
- var $L153 = $L("while");
1111
- var $L154 = $L("yield");
1112
- var $L155 = $L("/>");
1113
- var $L156 = $L("</");
1114
- var $L157 = $L("<>");
1115
- var $L158 = $L("</>");
1116
- var $L159 = $L("<!--");
1117
- var $L160 = $L("-->");
1118
- var $L161 = $L("declare");
1045
+ var $L86 = $L(":=");
1046
+ var $L87 = $L(".=");
1047
+ var $L88 = $L("/*");
1048
+ var $L89 = $L("*/");
1049
+ var $L90 = $L("\\");
1050
+ var $L91 = $L("abstract");
1051
+ var $L92 = $L("as");
1052
+ var $L93 = $L("@");
1053
+ var $L94 = $L("@@");
1054
+ var $L95 = $L("async");
1055
+ var $L96 = $L("await");
1056
+ var $L97 = $L("`");
1057
+ var $L98 = $L("by");
1058
+ var $L99 = $L("case");
1059
+ var $L100 = $L("catch");
1060
+ var $L101 = $L("class");
1061
+ var $L102 = $L("#{");
1062
+ var $L103 = $L("declare");
1063
+ var $L104 = $L("default");
1064
+ var $L105 = $L("delete");
1065
+ var $L106 = $L("do");
1066
+ var $L107 = $L("..");
1067
+ var $L108 = $L("...");
1068
+ var $L109 = $L("::");
1069
+ var $L110 = $L('"');
1070
+ var $L111 = $L("else");
1071
+ var $L112 = $L("export");
1072
+ var $L113 = $L("extends");
1073
+ var $L114 = $L("for");
1074
+ var $L115 = $L("from");
1075
+ var $L116 = $L("function");
1076
+ var $L117 = $L("get");
1077
+ var $L118 = $L("set");
1078
+ var $L119 = $L("if");
1079
+ var $L120 = $L("let");
1080
+ var $L121 = $L("const");
1081
+ var $L122 = $L("loop");
1082
+ var $L123 = $L("new");
1083
+ var $L124 = $L("<");
1084
+ var $L125 = $L("{");
1085
+ var $L126 = $L("[");
1086
+ var $L127 = $L("(");
1087
+ var $L128 = $L("public");
1088
+ var $L129 = $L("private");
1089
+ var $L130 = $L("protected");
1090
+ var $L131 = $L("|>");
1091
+ var $L132 = $L("readonly");
1092
+ var $L133 = $L("return");
1093
+ var $L134 = $L("satisfies");
1094
+ var $L135 = $L("'");
1095
+ var $L136 = $L("static");
1096
+ var $L137 = $L("${");
1097
+ var $L138 = $L("switch");
1098
+ var $L139 = $L("target");
1099
+ var $L140 = $L("then");
1100
+ var $L141 = $L("this");
1101
+ var $L142 = $L("throw");
1102
+ var $L143 = $L('"""');
1103
+ var $L144 = $L("'''");
1104
+ var $L145 = $L("///");
1105
+ var $L146 = $L("```");
1106
+ var $L147 = $L("try");
1107
+ var $L148 = $L("typeof");
1108
+ var $L149 = $L("unless");
1109
+ var $L150 = $L("until");
1110
+ var $L151 = $L("var");
1111
+ var $L152 = $L("void");
1112
+ var $L153 = $L("when");
1113
+ var $L154 = $L("while");
1114
+ var $L155 = $L("yield");
1115
+ var $L156 = $L("/>");
1116
+ var $L157 = $L("</");
1117
+ var $L158 = $L("<>");
1118
+ var $L159 = $L("</>");
1119
+ var $L160 = $L("<!--");
1120
+ var $L161 = $L("-->");
1119
1121
  var $L162 = $L("type");
1120
1122
  var $L163 = $L("interface");
1121
1123
  var $L164 = $L("namespace");
@@ -2921,7 +2923,9 @@ ${input.slice(result.pos)}
2921
2923
  return result;
2922
2924
  }
2923
2925
  }
2924
- var AccessModifier$0 = $TS($S($C(Public, Private, Protected), __), function($skip, $loc, $0, $1, $2) {
2926
+ var AccessModifier$0 = $TS($S($E($S($C(Public, Private, Protected), __)), $E($S(Readonly, __))), function($skip, $loc, $0, $1, $2) {
2927
+ if (!($1 || $2))
2928
+ return $skip;
2925
2929
  return {
2926
2930
  ts: true,
2927
2931
  children: $0
@@ -9188,7 +9192,7 @@ ${input.slice(result.pos)}
9188
9192
  return result;
9189
9193
  }
9190
9194
  }
9191
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9195
+ var ExportDeclaration$0 = $S(Export, __, Default, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
9192
9196
  var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
9193
9197
  if (!$3.ts)
9194
9198
  return $0;
@@ -9350,7 +9354,7 @@ ${input.slice(result.pos)}
9350
9354
  return result;
9351
9355
  }
9352
9356
  }
9353
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9357
+ var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
9354
9358
  function ImplicitExportSpecifier(state) {
9355
9359
  let eventData;
9356
9360
  if (state.events) {
@@ -9521,7 +9525,7 @@ ${input.slice(result.pos)}
9521
9525
  return result;
9522
9526
  }
9523
9527
  }
9524
- var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9528
+ var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
9525
9529
  return { $loc, token: "=" };
9526
9530
  });
9527
9531
  function ConstAssignment(state) {
@@ -9546,7 +9550,7 @@ ${input.slice(result.pos)}
9546
9550
  return result;
9547
9551
  }
9548
9552
  }
9549
- var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9553
+ var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
9550
9554
  return { $loc, token: "=" };
9551
9555
  });
9552
9556
  function LetAssignment(state) {
@@ -10720,7 +10724,7 @@ ${input.slice(result.pos)}
10720
10724
  return result;
10721
10725
  }
10722
10726
  }
10723
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L90, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L90, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10727
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L89, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L89, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
10724
10728
  return { $loc, token: $1 };
10725
10729
  });
10726
10730
  function JSMultiLineComment(state) {
@@ -10770,7 +10774,7 @@ ${input.slice(result.pos)}
10770
10774
  return result;
10771
10775
  }
10772
10776
  }
10773
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L90, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10777
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L89, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
10774
10778
  return { $loc, token: `/*${$2}*/` };
10775
10779
  });
10776
10780
  function CoffeeMultiLineComment(state) {
@@ -10818,7 +10822,7 @@ ${input.slice(result.pos)}
10818
10822
  return result;
10819
10823
  }
10820
10824
  }
10821
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L90, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L90, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10825
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L89, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L89, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
10822
10826
  return { $loc, token: $1 };
10823
10827
  });
10824
10828
  function InlineComment(state) {
@@ -10917,7 +10921,7 @@ ${input.slice(result.pos)}
10917
10921
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
10918
10922
  return { $loc, token: $0 };
10919
10923
  });
10920
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10924
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L90, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
10921
10925
  return "";
10922
10926
  });
10923
10927
  function NonNewlineWhitespace(state) {
@@ -11144,7 +11148,7 @@ ${input.slice(result.pos)}
11144
11148
  return result;
11145
11149
  }
11146
11150
  }
11147
- var Abstract$0 = $TV($TEXT($S($EXPECT($L92, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11151
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L91, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
11148
11152
  return { $loc, token: $1, ts: true };
11149
11153
  });
11150
11154
  function Abstract(state) {
@@ -11194,7 +11198,7 @@ ${input.slice(result.pos)}
11194
11198
  return result;
11195
11199
  }
11196
11200
  }
11197
- var As$0 = $TS($S($EXPECT($L93, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11201
+ var As$0 = $TS($S($EXPECT($L92, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11198
11202
  return { $loc, token: $1 };
11199
11203
  });
11200
11204
  function As(state) {
@@ -11219,7 +11223,7 @@ ${input.slice(result.pos)}
11219
11223
  return result;
11220
11224
  }
11221
11225
  }
11222
- var At$0 = $TV($EXPECT($L94, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11226
+ var At$0 = $TV($EXPECT($L93, fail, 'At "@"'), function($skip, $loc, $0, $1) {
11223
11227
  return { $loc, token: $1 };
11224
11228
  });
11225
11229
  function At(state) {
@@ -11244,7 +11248,7 @@ ${input.slice(result.pos)}
11244
11248
  return result;
11245
11249
  }
11246
11250
  }
11247
- var AtAt$0 = $TV($EXPECT($L95, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11251
+ var AtAt$0 = $TV($EXPECT($L94, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
11248
11252
  return { $loc, token: "@" };
11249
11253
  });
11250
11254
  function AtAt(state) {
@@ -11269,7 +11273,7 @@ ${input.slice(result.pos)}
11269
11273
  return result;
11270
11274
  }
11271
11275
  }
11272
- var Async$0 = $TS($S($EXPECT($L96, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11276
+ var Async$0 = $TS($S($EXPECT($L95, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11273
11277
  return { $loc, token: $1, type: "Async" };
11274
11278
  });
11275
11279
  function Async(state) {
@@ -11294,7 +11298,7 @@ ${input.slice(result.pos)}
11294
11298
  return result;
11295
11299
  }
11296
11300
  }
11297
- var Await$0 = $TS($S($EXPECT($L97, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11301
+ var Await$0 = $TS($S($EXPECT($L96, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11298
11302
  return { $loc, token: $1 };
11299
11303
  });
11300
11304
  function Await(state) {
@@ -11319,7 +11323,7 @@ ${input.slice(result.pos)}
11319
11323
  return result;
11320
11324
  }
11321
11325
  }
11322
- var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11326
+ var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
11323
11327
  return { $loc, token: $1 };
11324
11328
  });
11325
11329
  function Backtick(state) {
@@ -11344,7 +11348,7 @@ ${input.slice(result.pos)}
11344
11348
  return result;
11345
11349
  }
11346
11350
  }
11347
- var By$0 = $TS($S($EXPECT($L99, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11351
+ var By$0 = $TS($S($EXPECT($L98, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11348
11352
  return { $loc, token: $1 };
11349
11353
  });
11350
11354
  function By(state) {
@@ -11369,7 +11373,7 @@ ${input.slice(result.pos)}
11369
11373
  return result;
11370
11374
  }
11371
11375
  }
11372
- var Case$0 = $TS($S($EXPECT($L100, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11376
+ var Case$0 = $TS($S($EXPECT($L99, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11373
11377
  return { $loc, token: $1 };
11374
11378
  });
11375
11379
  function Case(state) {
@@ -11394,7 +11398,7 @@ ${input.slice(result.pos)}
11394
11398
  return result;
11395
11399
  }
11396
11400
  }
11397
- var Catch$0 = $TS($S($EXPECT($L101, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11401
+ var Catch$0 = $TS($S($EXPECT($L100, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11398
11402
  return { $loc, token: $1 };
11399
11403
  });
11400
11404
  function Catch(state) {
@@ -11419,7 +11423,7 @@ ${input.slice(result.pos)}
11419
11423
  return result;
11420
11424
  }
11421
11425
  }
11422
- var Class$0 = $TS($S($EXPECT($L102, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11426
+ var Class$0 = $TS($S($EXPECT($L101, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11423
11427
  return { $loc, token: $1 };
11424
11428
  });
11425
11429
  function Class(state) {
@@ -11519,7 +11523,7 @@ ${input.slice(result.pos)}
11519
11523
  return result;
11520
11524
  }
11521
11525
  }
11522
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L103, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11526
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L102, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
11523
11527
  return { $loc, token: "${" };
11524
11528
  });
11525
11529
  function CoffeeSubstitutionStart(state) {
@@ -11569,7 +11573,7 @@ ${input.slice(result.pos)}
11569
11573
  return result;
11570
11574
  }
11571
11575
  }
11572
- var ConstructorShorthand$0 = $TV($EXPECT($L94, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11576
+ var ConstructorShorthand$0 = $TV($EXPECT($L93, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
11573
11577
  return { $loc, token: "constructor" };
11574
11578
  });
11575
11579
  function ConstructorShorthand(state) {
@@ -11594,7 +11598,32 @@ ${input.slice(result.pos)}
11594
11598
  return result;
11595
11599
  }
11596
11600
  }
11597
- var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11601
+ var Declare$0 = $TS($S($EXPECT($L103, fail, 'Declare "declare"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11602
+ return { $loc, token: $1 };
11603
+ });
11604
+ function Declare(state) {
11605
+ let eventData;
11606
+ if (state.events) {
11607
+ const result = state.events.enter?.("Declare", state);
11608
+ if (result) {
11609
+ if (result.cache)
11610
+ return result.cache;
11611
+ eventData = result.data;
11612
+ }
11613
+ }
11614
+ if (state.tokenize) {
11615
+ const result = $TOKEN("Declare", state, Declare$0(state));
11616
+ if (state.events)
11617
+ state.events.exit?.("Declare", state, result, eventData);
11618
+ return result;
11619
+ } else {
11620
+ const result = Declare$0(state);
11621
+ if (state.events)
11622
+ state.events.exit?.("Declare", state, result, eventData);
11623
+ return result;
11624
+ }
11625
+ }
11626
+ var Default$0 = $TS($S($EXPECT($L104, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11598
11627
  return { $loc, token: $1 };
11599
11628
  });
11600
11629
  function Default(state) {
@@ -11619,7 +11648,7 @@ ${input.slice(result.pos)}
11619
11648
  return result;
11620
11649
  }
11621
11650
  }
11622
- var Delete$0 = $TS($S($EXPECT($L104, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11651
+ var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11623
11652
  return { $loc, token: $1 };
11624
11653
  });
11625
11654
  function Delete(state) {
@@ -11644,7 +11673,7 @@ ${input.slice(result.pos)}
11644
11673
  return result;
11645
11674
  }
11646
11675
  }
11647
- var Do$0 = $TS($S($EXPECT($L105, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11676
+ var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11648
11677
  return { $loc, token: $1 };
11649
11678
  });
11650
11679
  function Do(state) {
@@ -11694,7 +11723,7 @@ ${input.slice(result.pos)}
11694
11723
  return result;
11695
11724
  }
11696
11725
  }
11697
- var DotDot$0 = $TV($EXPECT($L106, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11726
+ var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
11698
11727
  return { $loc, token: $1 };
11699
11728
  });
11700
11729
  function DotDot(state) {
@@ -11719,7 +11748,7 @@ ${input.slice(result.pos)}
11719
11748
  return result;
11720
11749
  }
11721
11750
  }
11722
- var DotDotDot$0 = $TV($EXPECT($L107, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11751
+ var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
11723
11752
  return { $loc, token: $1 };
11724
11753
  });
11725
11754
  function DotDotDot(state) {
@@ -11744,7 +11773,7 @@ ${input.slice(result.pos)}
11744
11773
  return result;
11745
11774
  }
11746
11775
  }
11747
- var DoubleColon$0 = $TV($EXPECT($L108, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11776
+ var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
11748
11777
  return { $loc, token: $1 };
11749
11778
  });
11750
11779
  function DoubleColon(state) {
@@ -11769,7 +11798,7 @@ ${input.slice(result.pos)}
11769
11798
  return result;
11770
11799
  }
11771
11800
  }
11772
- var DoubleQuote$0 = $TV($EXPECT($L109, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11801
+ var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
11773
11802
  return { $loc, token: $1 };
11774
11803
  });
11775
11804
  function DoubleQuote(state) {
@@ -11794,7 +11823,7 @@ ${input.slice(result.pos)}
11794
11823
  return result;
11795
11824
  }
11796
11825
  }
11797
- var Else$0 = $TS($S($EXPECT($L110, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11826
+ var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11798
11827
  return { $loc, token: $1 };
11799
11828
  });
11800
11829
  function Else(state) {
@@ -11844,7 +11873,7 @@ ${input.slice(result.pos)}
11844
11873
  return result;
11845
11874
  }
11846
11875
  }
11847
- var Export$0 = $TS($S($EXPECT($L111, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11876
+ var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11848
11877
  return { $loc, token: $1 };
11849
11878
  });
11850
11879
  function Export(state) {
@@ -11869,7 +11898,7 @@ ${input.slice(result.pos)}
11869
11898
  return result;
11870
11899
  }
11871
11900
  }
11872
- var Extends$0 = $TS($S($EXPECT($L112, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11901
+ var Extends$0 = $TS($S($EXPECT($L113, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11873
11902
  return { $loc, token: $1 };
11874
11903
  });
11875
11904
  function Extends(state) {
@@ -11894,7 +11923,7 @@ ${input.slice(result.pos)}
11894
11923
  return result;
11895
11924
  }
11896
11925
  }
11897
- var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11926
+ var For$0 = $TS($S($EXPECT($L114, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11898
11927
  return { $loc, token: $1 };
11899
11928
  });
11900
11929
  function For(state) {
@@ -11919,7 +11948,7 @@ ${input.slice(result.pos)}
11919
11948
  return result;
11920
11949
  }
11921
11950
  }
11922
- var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11951
+ var From$0 = $TS($S($EXPECT($L115, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11923
11952
  return { $loc, token: $1 };
11924
11953
  });
11925
11954
  function From(state) {
@@ -11944,7 +11973,7 @@ ${input.slice(result.pos)}
11944
11973
  return result;
11945
11974
  }
11946
11975
  }
11947
- var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11976
+ var Function$0 = $TS($S($EXPECT($L116, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11948
11977
  return { $loc, token: $1 };
11949
11978
  });
11950
11979
  function Function(state) {
@@ -11969,7 +11998,7 @@ ${input.slice(result.pos)}
11969
11998
  return result;
11970
11999
  }
11971
12000
  }
11972
- var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12001
+ var GetOrSet$0 = $TS($S($C($EXPECT($L117, fail, 'GetOrSet "get"'), $EXPECT($L118, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11973
12002
  return { $loc, token: $1, type: "GetOrSet" };
11974
12003
  });
11975
12004
  function GetOrSet(state) {
@@ -11994,7 +12023,7 @@ ${input.slice(result.pos)}
11994
12023
  return result;
11995
12024
  }
11996
12025
  }
11997
- var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
12026
+ var If$0 = $TV($TEXT($S($EXPECT($L119, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
11998
12027
  return { $loc, token: $1 };
11999
12028
  });
12000
12029
  function If(state) {
@@ -12069,7 +12098,7 @@ ${input.slice(result.pos)}
12069
12098
  return result;
12070
12099
  }
12071
12100
  }
12072
- var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12101
+ var LetOrConst$0 = $TS($S($C($EXPECT($L120, fail, 'LetOrConst "let"'), $EXPECT($L121, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12073
12102
  return { $loc, token: $1 };
12074
12103
  });
12075
12104
  function LetOrConst(state) {
@@ -12094,7 +12123,7 @@ ${input.slice(result.pos)}
12094
12123
  return result;
12095
12124
  }
12096
12125
  }
12097
- var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12126
+ var Loop$0 = $TS($S($EXPECT($L122, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12098
12127
  return { $loc, token: "while(true)" };
12099
12128
  });
12100
12129
  function Loop(state) {
@@ -12119,7 +12148,7 @@ ${input.slice(result.pos)}
12119
12148
  return result;
12120
12149
  }
12121
12150
  }
12122
- var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12151
+ var New$0 = $TS($S($EXPECT($L123, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12123
12152
  return { $loc, token: $1 };
12124
12153
  });
12125
12154
  function New(state) {
@@ -12194,7 +12223,7 @@ ${input.slice(result.pos)}
12194
12223
  return result;
12195
12224
  }
12196
12225
  }
12197
- var OpenAngleBracket$0 = $TV($EXPECT($L123, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12226
+ var OpenAngleBracket$0 = $TV($EXPECT($L124, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
12198
12227
  return { $loc, token: $1 };
12199
12228
  });
12200
12229
  function OpenAngleBracket(state) {
@@ -12219,7 +12248,7 @@ ${input.slice(result.pos)}
12219
12248
  return result;
12220
12249
  }
12221
12250
  }
12222
- var OpenBrace$0 = $TV($EXPECT($L124, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12251
+ var OpenBrace$0 = $TV($EXPECT($L125, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
12223
12252
  return { $loc, token: $1 };
12224
12253
  });
12225
12254
  function OpenBrace(state) {
@@ -12244,7 +12273,7 @@ ${input.slice(result.pos)}
12244
12273
  return result;
12245
12274
  }
12246
12275
  }
12247
- var OpenBracket$0 = $TV($EXPECT($L125, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12276
+ var OpenBracket$0 = $TV($EXPECT($L126, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
12248
12277
  return { $loc, token: $1 };
12249
12278
  });
12250
12279
  function OpenBracket(state) {
@@ -12269,7 +12298,7 @@ ${input.slice(result.pos)}
12269
12298
  return result;
12270
12299
  }
12271
12300
  }
12272
- var OpenParen$0 = $TV($EXPECT($L126, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12301
+ var OpenParen$0 = $TV($EXPECT($L127, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
12273
12302
  return { $loc, token: $1 };
12274
12303
  });
12275
12304
  function OpenParen(state) {
@@ -12294,7 +12323,7 @@ ${input.slice(result.pos)}
12294
12323
  return result;
12295
12324
  }
12296
12325
  }
12297
- var Public$0 = $TS($S($EXPECT($L127, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12326
+ var Public$0 = $TS($S($EXPECT($L128, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12298
12327
  return { $loc, token: $1 };
12299
12328
  });
12300
12329
  function Public(state) {
@@ -12319,7 +12348,7 @@ ${input.slice(result.pos)}
12319
12348
  return result;
12320
12349
  }
12321
12350
  }
12322
- var Private$0 = $TS($S($EXPECT($L128, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12351
+ var Private$0 = $TS($S($EXPECT($L129, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12323
12352
  return { $loc, token: $1 };
12324
12353
  });
12325
12354
  function Private(state) {
@@ -12344,7 +12373,7 @@ ${input.slice(result.pos)}
12344
12373
  return result;
12345
12374
  }
12346
12375
  }
12347
- var Protected$0 = $TS($S($EXPECT($L129, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12376
+ var Protected$0 = $TS($S($EXPECT($L130, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12348
12377
  return { $loc, token: $1 };
12349
12378
  });
12350
12379
  function Protected(state) {
@@ -12369,7 +12398,7 @@ ${input.slice(result.pos)}
12369
12398
  return result;
12370
12399
  }
12371
12400
  }
12372
- var Pipe$0 = $TV($EXPECT($L130, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12401
+ var Pipe$0 = $TV($EXPECT($L131, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
12373
12402
  return { $loc, token: $1 };
12374
12403
  });
12375
12404
  function Pipe(state) {
@@ -12419,7 +12448,7 @@ ${input.slice(result.pos)}
12419
12448
  return result;
12420
12449
  }
12421
12450
  }
12422
- var Readonly$0 = $TS($S($EXPECT($L131, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12451
+ var Readonly$0 = $TS($S($EXPECT($L132, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12423
12452
  return { $loc, token: $1, ts: true };
12424
12453
  });
12425
12454
  function Readonly(state) {
@@ -12444,7 +12473,7 @@ ${input.slice(result.pos)}
12444
12473
  return result;
12445
12474
  }
12446
12475
  }
12447
- var Return$0 = $TS($S($EXPECT($L132, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12476
+ var Return$0 = $TS($S($EXPECT($L133, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12448
12477
  return { $loc, token: $1 };
12449
12478
  });
12450
12479
  function Return(state) {
@@ -12469,7 +12498,7 @@ ${input.slice(result.pos)}
12469
12498
  return result;
12470
12499
  }
12471
12500
  }
12472
- var Satisfies$0 = $TS($S($EXPECT($L133, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12501
+ var Satisfies$0 = $TS($S($EXPECT($L134, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12473
12502
  return { $loc, token: $1 };
12474
12503
  });
12475
12504
  function Satisfies(state) {
@@ -12519,7 +12548,7 @@ ${input.slice(result.pos)}
12519
12548
  return result;
12520
12549
  }
12521
12550
  }
12522
- var SingleQuote$0 = $TV($EXPECT($L134, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12551
+ var SingleQuote$0 = $TV($EXPECT($L135, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
12523
12552
  return { $loc, token: $1 };
12524
12553
  });
12525
12554
  function SingleQuote(state) {
@@ -12569,10 +12598,10 @@ ${input.slice(result.pos)}
12569
12598
  return result;
12570
12599
  }
12571
12600
  }
12572
- var Static$0 = $TS($S($EXPECT($L135, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12601
+ var Static$0 = $TS($S($EXPECT($L136, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12573
12602
  return { $loc, token: $1 };
12574
12603
  });
12575
- var Static$1 = $TS($S($EXPECT($L94, fail, 'Static "@"'), $N($C($EXPECT($L126, fail, 'Static "("'), $EXPECT($L94, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12604
+ var Static$1 = $TS($S($EXPECT($L93, fail, 'Static "@"'), $N($C($EXPECT($L127, fail, 'Static "("'), $EXPECT($L93, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
12576
12605
  return { $loc, token: "static " };
12577
12606
  });
12578
12607
  function Static(state) {
@@ -12597,7 +12626,7 @@ ${input.slice(result.pos)}
12597
12626
  return result;
12598
12627
  }
12599
12628
  }
12600
- var SubstitutionStart$0 = $TV($EXPECT($L136, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12629
+ var SubstitutionStart$0 = $TV($EXPECT($L137, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
12601
12630
  return { $loc, token: $1 };
12602
12631
  });
12603
12632
  function SubstitutionStart(state) {
@@ -12622,7 +12651,7 @@ ${input.slice(result.pos)}
12622
12651
  return result;
12623
12652
  }
12624
12653
  }
12625
- var Switch$0 = $TS($S($EXPECT($L137, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12654
+ var Switch$0 = $TS($S($EXPECT($L138, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12626
12655
  return { $loc, token: $1 };
12627
12656
  });
12628
12657
  function Switch(state) {
@@ -12647,7 +12676,7 @@ ${input.slice(result.pos)}
12647
12676
  return result;
12648
12677
  }
12649
12678
  }
12650
- var Target$0 = $TS($S($EXPECT($L138, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12679
+ var Target$0 = $TS($S($EXPECT($L139, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12651
12680
  return { $loc, token: $1 };
12652
12681
  });
12653
12682
  function Target(state) {
@@ -12672,7 +12701,7 @@ ${input.slice(result.pos)}
12672
12701
  return result;
12673
12702
  }
12674
12703
  }
12675
- var Then$0 = $TS($S(__, $EXPECT($L139, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12704
+ var Then$0 = $TS($S(__, $EXPECT($L140, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
12676
12705
  return { $loc, token: "" };
12677
12706
  });
12678
12707
  function Then(state) {
@@ -12697,7 +12726,7 @@ ${input.slice(result.pos)}
12697
12726
  return result;
12698
12727
  }
12699
12728
  }
12700
- var This$0 = $TS($S($EXPECT($L140, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12729
+ var This$0 = $TS($S($EXPECT($L141, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12701
12730
  return { $loc, token: $1 };
12702
12731
  });
12703
12732
  function This(state) {
@@ -12722,7 +12751,7 @@ ${input.slice(result.pos)}
12722
12751
  return result;
12723
12752
  }
12724
12753
  }
12725
- var Throw$0 = $TS($S($EXPECT($L141, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12754
+ var Throw$0 = $TS($S($EXPECT($L142, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12726
12755
  return { $loc, token: $1 };
12727
12756
  });
12728
12757
  function Throw(state) {
@@ -12747,7 +12776,7 @@ ${input.slice(result.pos)}
12747
12776
  return result;
12748
12777
  }
12749
12778
  }
12750
- var TripleDoubleQuote$0 = $TV($EXPECT($L142, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12779
+ var TripleDoubleQuote$0 = $TV($EXPECT($L143, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
12751
12780
  return { $loc, token: "`" };
12752
12781
  });
12753
12782
  function TripleDoubleQuote(state) {
@@ -12772,7 +12801,7 @@ ${input.slice(result.pos)}
12772
12801
  return result;
12773
12802
  }
12774
12803
  }
12775
- var TripleSingleQuote$0 = $TV($EXPECT($L143, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12804
+ var TripleSingleQuote$0 = $TV($EXPECT($L144, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
12776
12805
  return { $loc, token: "`" };
12777
12806
  });
12778
12807
  function TripleSingleQuote(state) {
@@ -12797,7 +12826,7 @@ ${input.slice(result.pos)}
12797
12826
  return result;
12798
12827
  }
12799
12828
  }
12800
- var TripleSlash$0 = $TV($EXPECT($L144, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12829
+ var TripleSlash$0 = $TV($EXPECT($L145, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
12801
12830
  return { $loc, token: "/" };
12802
12831
  });
12803
12832
  function TripleSlash(state) {
@@ -12822,7 +12851,7 @@ ${input.slice(result.pos)}
12822
12851
  return result;
12823
12852
  }
12824
12853
  }
12825
- var TripleTick$0 = $TV($EXPECT($L145, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12854
+ var TripleTick$0 = $TV($EXPECT($L146, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
12826
12855
  return { $loc, token: "`" };
12827
12856
  });
12828
12857
  function TripleTick(state) {
@@ -12847,7 +12876,7 @@ ${input.slice(result.pos)}
12847
12876
  return result;
12848
12877
  }
12849
12878
  }
12850
- var Try$0 = $TS($S($EXPECT($L146, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12879
+ var Try$0 = $TS($S($EXPECT($L147, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12851
12880
  return { $loc, token: $1 };
12852
12881
  });
12853
12882
  function Try(state) {
@@ -12872,7 +12901,7 @@ ${input.slice(result.pos)}
12872
12901
  return result;
12873
12902
  }
12874
12903
  }
12875
- var Typeof$0 = $TS($S($EXPECT($L147, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12904
+ var Typeof$0 = $TS($S($EXPECT($L148, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12876
12905
  return { $loc, token: $1 };
12877
12906
  });
12878
12907
  function Typeof(state) {
@@ -12897,7 +12926,7 @@ ${input.slice(result.pos)}
12897
12926
  return result;
12898
12927
  }
12899
12928
  }
12900
- var Unless$0 = $TS($S($EXPECT($L148, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12929
+ var Unless$0 = $TS($S($EXPECT($L149, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12901
12930
  return { $loc, token: $1 };
12902
12931
  });
12903
12932
  function Unless(state) {
@@ -12922,7 +12951,7 @@ ${input.slice(result.pos)}
12922
12951
  return result;
12923
12952
  }
12924
12953
  }
12925
- var Until$0 = $TS($S($EXPECT($L149, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12954
+ var Until$0 = $TS($S($EXPECT($L150, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12926
12955
  return { $loc, token: $1 };
12927
12956
  });
12928
12957
  function Until(state) {
@@ -12947,7 +12976,7 @@ ${input.slice(result.pos)}
12947
12976
  return result;
12948
12977
  }
12949
12978
  }
12950
- var Var$0 = $TS($S($EXPECT($L150, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12979
+ var Var$0 = $TS($S($EXPECT($L151, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12951
12980
  return { $loc, token: $1 };
12952
12981
  });
12953
12982
  function Var(state) {
@@ -12972,7 +13001,7 @@ ${input.slice(result.pos)}
12972
13001
  return result;
12973
13002
  }
12974
13003
  }
12975
- var Void$0 = $TS($S($EXPECT($L151, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13004
+ var Void$0 = $TS($S($EXPECT($L152, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12976
13005
  return { $loc, token: $1 };
12977
13006
  });
12978
13007
  function Void(state) {
@@ -12997,7 +13026,7 @@ ${input.slice(result.pos)}
12997
13026
  return result;
12998
13027
  }
12999
13028
  }
13000
- var When$0 = $TS($S($EXPECT($L152, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13029
+ var When$0 = $TS($S($EXPECT($L153, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13001
13030
  return { $loc, token: "case" };
13002
13031
  });
13003
13032
  function When(state) {
@@ -13022,7 +13051,7 @@ ${input.slice(result.pos)}
13022
13051
  return result;
13023
13052
  }
13024
13053
  }
13025
- var While$0 = $TS($S($EXPECT($L153, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13054
+ var While$0 = $TS($S($EXPECT($L154, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13026
13055
  return { $loc, token: $1 };
13027
13056
  });
13028
13057
  function While(state) {
@@ -13047,7 +13076,7 @@ ${input.slice(result.pos)}
13047
13076
  return result;
13048
13077
  }
13049
13078
  }
13050
- var Yield$0 = $TS($S($EXPECT($L154, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13079
+ var Yield$0 = $TS($S($EXPECT($L155, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
13051
13080
  return { $loc, token: $1 };
13052
13081
  });
13053
13082
  function Yield(state) {
@@ -13193,7 +13222,7 @@ ${input.slice(result.pos)}
13193
13222
  return result;
13194
13223
  }
13195
13224
  }
13196
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L123, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L155, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13225
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L124, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L156, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
13197
13226
  return { type: "JSXElement", children: $0, tag: $2 };
13198
13227
  });
13199
13228
  function JSXSelfClosingElement(state) {
@@ -13244,7 +13273,7 @@ ${input.slice(result.pos)}
13244
13273
  return result;
13245
13274
  }
13246
13275
  }
13247
- var JSXOpeningElement$0 = $S($EXPECT($L123, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13276
+ var JSXOpeningElement$0 = $S($EXPECT($L124, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
13248
13277
  function JSXOpeningElement(state) {
13249
13278
  let eventData;
13250
13279
  if (state.events) {
@@ -13296,7 +13325,7 @@ ${input.slice(result.pos)}
13296
13325
  return result;
13297
13326
  }
13298
13327
  }
13299
- var JSXClosingElement$0 = $S($EXPECT($L156, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13328
+ var JSXClosingElement$0 = $S($EXPECT($L157, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
13300
13329
  function JSXClosingElement(state) {
13301
13330
  let eventData;
13302
13331
  if (state.events) {
@@ -13335,7 +13364,7 @@ ${input.slice(result.pos)}
13335
13364
  ];
13336
13365
  return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
13337
13366
  });
13338
- var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L157, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13367
+ var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L158, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
13339
13368
  var children = $3;
13340
13369
  $0 = $0.slice(1);
13341
13370
  return {
@@ -13366,7 +13395,7 @@ ${input.slice(result.pos)}
13366
13395
  return result;
13367
13396
  }
13368
13397
  }
13369
- var PushJSXOpeningFragment$0 = $TV($EXPECT($L157, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13398
+ var PushJSXOpeningFragment$0 = $TV($EXPECT($L158, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
13370
13399
  module.JSXTagStack.push("");
13371
13400
  return $1;
13372
13401
  });
@@ -13420,7 +13449,7 @@ ${input.slice(result.pos)}
13420
13449
  return result;
13421
13450
  }
13422
13451
  }
13423
- var JSXClosingFragment$0 = $EXPECT($L158, fail, 'JSXClosingFragment "</>"');
13452
+ var JSXClosingFragment$0 = $EXPECT($L159, fail, 'JSXClosingFragment "</>"');
13424
13453
  function JSXClosingFragment(state) {
13425
13454
  let eventData;
13426
13455
  if (state.events) {
@@ -14297,7 +14326,7 @@ ${input.slice(result.pos)}
14297
14326
  return result;
14298
14327
  }
14299
14328
  }
14300
- var JSXComment$0 = $TS($S($EXPECT($L159, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L160, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14329
+ var JSXComment$0 = $TS($S($EXPECT($L160, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L161, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
14301
14330
  return ["{/*", $2, "*/}"];
14302
14331
  });
14303
14332
  function JSXComment(state) {
@@ -14449,7 +14478,10 @@ ${input.slice(result.pos)}
14449
14478
  return result;
14450
14479
  }
14451
14480
  }
14452
- var TypeDeclaration$0 = $T($S($Q($S(TypeDeclarationModifier, $Q(TrailingComment))), TypeDeclarationRest), function(value) {
14481
+ var TypeDeclaration$0 = $T($S($E($S(Export, $E(_))), $S(Declare, $E(_)), TypeLexicalDeclaration), function(value) {
14482
+ return { "ts": true, "children": value };
14483
+ });
14484
+ var TypeDeclaration$1 = $T($S($E($S(Export, $E(_))), $E($S(Declare, $E(_))), TypeDeclarationRest), function(value) {
14453
14485
  return { "ts": true, "children": value };
14454
14486
  });
14455
14487
  function TypeDeclaration(state) {
@@ -14463,23 +14495,25 @@ ${input.slice(result.pos)}
14463
14495
  }
14464
14496
  }
14465
14497
  if (state.tokenize) {
14466
- const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state));
14498
+ const result = $TOKEN("TypeDeclaration", state, TypeDeclaration$0(state) || TypeDeclaration$1(state));
14467
14499
  if (state.events)
14468
14500
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14469
14501
  return result;
14470
14502
  } else {
14471
- const result = TypeDeclaration$0(state);
14503
+ const result = TypeDeclaration$0(state) || TypeDeclaration$1(state);
14472
14504
  if (state.events)
14473
14505
  state.events.exit?.("TypeDeclaration", state, result, eventData);
14474
14506
  return result;
14475
14507
  }
14476
14508
  }
14477
- var TypeDeclarationModifier$0 = $S($EXPECT($L161, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
14478
- var TypeDeclarationModifier$1 = Export;
14479
- function TypeDeclarationModifier(state) {
14509
+ var TypeDeclarationRest$0 = $S(TypeKeyword, $Q(TrailingComment), IdentifierName, $E(TypeParameters), __, Equals, __, Type);
14510
+ var TypeDeclarationRest$1 = $S(Interface, $Q(TrailingComment), IdentifierName, $E(TypeParameters), $E(InterfaceExtendsClause), InterfaceBlock);
14511
+ var TypeDeclarationRest$2 = $S(Namespace, $Q(TrailingComment), IdentifierName, NamespaceBlock);
14512
+ var TypeDeclarationRest$3 = FunctionSignature;
14513
+ function TypeDeclarationRest(state) {
14480
14514
  let eventData;
14481
14515
  if (state.events) {
14482
- const result = state.events.enter?.("TypeDeclarationModifier", state);
14516
+ const result = state.events.enter?.("TypeDeclarationRest", state);
14483
14517
  if (result) {
14484
14518
  if (result.cache)
14485
14519
  return result.cache;
@@ -14487,25 +14521,22 @@ ${input.slice(result.pos)}
14487
14521
  }
14488
14522
  }
14489
14523
  if (state.tokenize) {
14490
- const result = $TOKEN("TypeDeclarationModifier", state, TypeDeclarationModifier$0(state) || TypeDeclarationModifier$1(state));
14524
+ const result = $TOKEN("TypeDeclarationRest", state, TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state));
14491
14525
  if (state.events)
14492
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14526
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14493
14527
  return result;
14494
14528
  } else {
14495
- const result = TypeDeclarationModifier$0(state) || TypeDeclarationModifier$1(state);
14529
+ const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14496
14530
  if (state.events)
14497
- state.events.exit?.("TypeDeclarationModifier", state, result, eventData);
14531
+ state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14498
14532
  return result;
14499
14533
  }
14500
14534
  }
14501
- var TypeDeclarationRest$0 = $S(TypeKeyword, $Q(TrailingComment), IdentifierName, $E(TypeParameters), __, Equals, __, Type);
14502
- var TypeDeclarationRest$1 = $S(Interface, $Q(TrailingComment), IdentifierName, $E(TypeParameters), $E(InterfaceExtendsClause), InterfaceBlock);
14503
- var TypeDeclarationRest$2 = $S(Namespace, $Q(TrailingComment), IdentifierName, NamespaceBlock);
14504
- var TypeDeclarationRest$3 = FunctionSignature;
14505
- function TypeDeclarationRest(state) {
14535
+ var TypeLexicalDeclaration$0 = $S(__, $N(Namespace), LetOrConst, TypeDeclarationBinding, $Q($S(CommaDelimiter, __, TypeDeclarationBinding)));
14536
+ function TypeLexicalDeclaration(state) {
14506
14537
  let eventData;
14507
14538
  if (state.events) {
14508
- const result = state.events.enter?.("TypeDeclarationRest", state);
14539
+ const result = state.events.enter?.("TypeLexicalDeclaration", state);
14509
14540
  if (result) {
14510
14541
  if (result.cache)
14511
14542
  return result.cache;
@@ -14513,14 +14544,37 @@ ${input.slice(result.pos)}
14513
14544
  }
14514
14545
  }
14515
14546
  if (state.tokenize) {
14516
- const result = $TOKEN("TypeDeclarationRest", state, TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state));
14547
+ const result = $TOKEN("TypeLexicalDeclaration", state, TypeLexicalDeclaration$0(state));
14517
14548
  if (state.events)
14518
- state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14549
+ state.events.exit?.("TypeLexicalDeclaration", state, result, eventData);
14519
14550
  return result;
14520
14551
  } else {
14521
- const result = TypeDeclarationRest$0(state) || TypeDeclarationRest$1(state) || TypeDeclarationRest$2(state) || TypeDeclarationRest$3(state);
14552
+ const result = TypeLexicalDeclaration$0(state);
14522
14553
  if (state.events)
14523
- state.events.exit?.("TypeDeclarationRest", state, result, eventData);
14554
+ state.events.exit?.("TypeLexicalDeclaration", state, result, eventData);
14555
+ return result;
14556
+ }
14557
+ }
14558
+ var TypeDeclarationBinding$0 = $S($C(BindingPattern, BindingIdentifier), $E(TypeSuffix));
14559
+ function TypeDeclarationBinding(state) {
14560
+ let eventData;
14561
+ if (state.events) {
14562
+ const result = state.events.enter?.("TypeDeclarationBinding", state);
14563
+ if (result) {
14564
+ if (result.cache)
14565
+ return result.cache;
14566
+ eventData = result.data;
14567
+ }
14568
+ }
14569
+ if (state.tokenize) {
14570
+ const result = $TOKEN("TypeDeclarationBinding", state, TypeDeclarationBinding$0(state));
14571
+ if (state.events)
14572
+ state.events.exit?.("TypeDeclarationBinding", state, result, eventData);
14573
+ return result;
14574
+ } else {
14575
+ const result = TypeDeclarationBinding$0(state);
14576
+ if (state.events)
14577
+ state.events.exit?.("TypeDeclarationBinding", state, result, eventData);
14524
14578
  return result;
14525
14579
  }
14526
14580
  }
@@ -14841,7 +14895,7 @@ ${input.slice(result.pos)}
14841
14895
  return result;
14842
14896
  }
14843
14897
  }
14844
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L131, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14898
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L132, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
14845
14899
  function TypeIndexSignature(state) {
14846
14900
  let eventData;
14847
14901
  if (state.events) {
@@ -15073,9 +15127,9 @@ ${input.slice(result.pos)}
15073
15127
  }
15074
15128
  }
15075
15129
  var TypeUnaryOp$0 = $S($EXPECT($L166, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
15076
- var TypeUnaryOp$1 = $S($EXPECT($L147, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15130
+ var TypeUnaryOp$1 = $S($EXPECT($L148, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
15077
15131
  var TypeUnaryOp$2 = $S($EXPECT($L167, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
15078
- var TypeUnaryOp$3 = $S($EXPECT($L131, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15132
+ var TypeUnaryOp$3 = $S($EXPECT($L132, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
15079
15133
  function TypeUnaryOp(state) {
15080
15134
  let eventData;
15081
15135
  if (state.events) {
@@ -15272,7 +15326,7 @@ ${input.slice(result.pos)}
15272
15326
  return result;
15273
15327
  }
15274
15328
  }
15275
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L112, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15329
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L113, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
15276
15330
  if ($2)
15277
15331
  return $0;
15278
15332
  return $1;
@@ -15301,7 +15355,7 @@ ${input.slice(result.pos)}
15301
15355
  }
15302
15356
  var TypeLiteral$0 = Literal;
15303
15357
  var TypeLiteral$1 = TemplateLiteral;
15304
- var TypeLiteral$2 = $TS($S($EXPECT($L151, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15358
+ var TypeLiteral$2 = $TS($S($EXPECT($L152, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
15305
15359
  return { $loc, token: "void" };
15306
15360
  });
15307
15361
  var TypeLiteral$3 = $TV($EXPECT($L168, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
@@ -15386,7 +15440,7 @@ ${input.slice(result.pos)}
15386
15440
  return result;
15387
15441
  }
15388
15442
  }
15389
- var TypeArguments$0 = $TS($S($EXPECT($L123, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15443
+ var TypeArguments$0 = $TS($S($EXPECT($L124, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
15390
15444
  return { ts: true, children: $0 };
15391
15445
  });
15392
15446
  function TypeArguments(state) {
@@ -15457,7 +15511,7 @@ ${input.slice(result.pos)}
15457
15511
  return result;
15458
15512
  }
15459
15513
  }
15460
- var TypeParameters$0 = $TS($S(__, $EXPECT($L123, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15514
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L124, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
15461
15515
  var parameters = $3;
15462
15516
  return {
15463
15517
  type: "TypeParameters",
@@ -15511,7 +15565,7 @@ ${input.slice(result.pos)}
15511
15565
  return result;
15512
15566
  }
15513
15567
  }
15514
- var TypeConstraint$0 = $S(__, $EXPECT($L112, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15568
+ var TypeConstraint$0 = $S(__, $EXPECT($L113, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
15515
15569
  function TypeConstraint(state) {
15516
15570
  let eventData;
15517
15571
  if (state.events) {