@danielx/civet 0.5.26 → 0.5.28

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/browser.js CHANGED
@@ -498,6 +498,7 @@ ${input.slice(result.pos)}
498
498
  ParameterElement,
499
499
  ParameterElementDelimiter,
500
500
  BindingIdentifier,
501
+ NWBindingIdentifier,
501
502
  AtIdentifierRef,
502
503
  BindingPattern,
503
504
  ObjectBindingPattern,
@@ -644,6 +645,7 @@ ${input.slice(result.pos)}
644
645
  NameSpaceImport,
645
646
  NamedImports,
646
647
  FromClause,
648
+ TypeAndImportSpecifier,
647
649
  ImportSpecifier,
648
650
  ModuleExportName,
649
651
  ModuleSpecifier,
@@ -653,6 +655,7 @@ ${input.slice(result.pos)}
653
655
  ExportDeclaration,
654
656
  ExportVarDec,
655
657
  ExportFromClause,
658
+ TypeAndNamedExports,
656
659
  NamedExports,
657
660
  ExportSpecifier,
658
661
  ImplicitExportSpecifier,
@@ -747,6 +750,7 @@ ${input.slice(result.pos)}
747
750
  Else,
748
751
  Equals,
749
752
  Export,
753
+ Extends,
750
754
  For,
751
755
  From,
752
756
  Function,
@@ -759,6 +763,7 @@ ${input.slice(result.pos)}
759
763
  New,
760
764
  Not,
761
765
  Of,
766
+ OpenAngleBracket,
762
767
  OpenBrace,
763
768
  OpenBracket,
764
769
  OpenParen,
@@ -870,6 +875,7 @@ ${input.slice(result.pos)}
870
875
  TypeParameters,
871
876
  TypeParameter,
872
877
  TypeConstraint,
878
+ TypeInitializer,
873
879
  TypeParameterDelimiter,
874
880
  Shebang,
875
881
  CivetPrologue,
@@ -921,170 +927,169 @@ ${input.slice(result.pos)}
921
927
  var $L2 = $L("--");
922
928
  var $L3 = $L("=>");
923
929
  var $L4 = $L(" ");
924
- var $L5 = $L("<");
925
- var $L6 = $L("extends");
926
- var $L7 = $L("implements");
927
- var $L8 = $L("#");
928
- var $L9 = $L(".");
929
- var $L10 = $L("super");
930
- var $L11 = $L("import");
931
- var $L12 = $L("!");
932
- var $L13 = $L("super[");
933
- var $L14 = $L("import.meta");
934
- var $L15 = $L(")");
935
- var $L16 = $L("->");
936
- var $L17 = $L("}");
937
- var $L18 = $L("null");
938
- var $L19 = $L("true");
939
- var $L20 = $L("false");
940
- var $L21 = $L("yes");
941
- var $L22 = $L("on");
942
- var $L23 = $L("no");
943
- var $L24 = $L("off");
944
- var $L25 = $L(",");
945
- var $L26 = $L("=");
946
- var $L27 = $L(">");
947
- var $L28 = $L("]");
948
- var $L29 = $L(":");
949
- var $L30 = $L("**=");
950
- var $L31 = $L("*=");
951
- var $L32 = $L("/=");
952
- var $L33 = $L("%=");
953
- var $L34 = $L("+=");
954
- var $L35 = $L("-=");
955
- var $L36 = $L("<<=");
956
- var $L37 = $L(">>>=");
957
- var $L38 = $L(">>=");
958
- var $L39 = $L("&&=");
959
- var $L40 = $L("&=");
960
- var $L41 = $L("^=");
961
- var $L42 = $L("||=");
962
- var $L43 = $L("|=");
963
- var $L44 = $L("??=");
964
- var $L45 = $L("?=");
965
- var $L46 = $L("and=");
966
- var $L47 = $L("or=");
967
- var $L48 = $L("**");
968
- var $L49 = $L("*");
969
- var $L50 = $L("/");
970
- var $L51 = $L("%%");
971
- var $L52 = $L("%");
972
- var $L53 = $L("+");
973
- var $L54 = $L("-");
974
- var $L55 = $L("<=");
975
- var $L56 = $L(">=");
976
- var $L57 = $L("<<");
977
- var $L58 = $L(">>>");
978
- var $L59 = $L(">>");
979
- var $L60 = $L("!==");
980
- var $L61 = $L("!=");
981
- var $L62 = $L("isnt");
982
- var $L63 = $L("===");
983
- var $L64 = $L("==");
984
- var $L65 = $L("and");
985
- var $L66 = $L("&&");
986
- var $L67 = $L("of");
987
- var $L68 = $L("or");
988
- var $L69 = $L("||");
989
- var $L70 = $L("??");
990
- var $L71 = $L("?");
991
- var $L72 = $L("instanceof");
992
- var $L73 = $L("not");
993
- var $L74 = $L("in");
994
- var $L75 = $L("is");
995
- var $L76 = $L("&");
996
- var $L77 = $L("^");
997
- var $L78 = $L("|");
998
- var $L79 = $L(";");
999
- var $L80 = $L("own");
1000
- var $L81 = $L("finally");
1001
- var $L82 = $L("break");
1002
- var $L83 = $L("continue");
1003
- var $L84 = $L("debugger");
1004
- var $L85 = $L("import type");
1005
- var $L86 = $L("default");
1006
- var $L87 = $L(":=");
1007
- var $L88 = $L("::=");
1008
- var $L89 = $L(".=");
1009
- var $L90 = $L("/*");
1010
- var $L91 = $L("*/");
1011
- var $L92 = $L("\\");
1012
- var $L93 = $L("abstract");
1013
- var $L94 = $L("as");
1014
- var $L95 = $L("@");
1015
- var $L96 = $L("@@");
1016
- var $L97 = $L("async");
1017
- var $L98 = $L("await");
1018
- var $L99 = $L("`");
1019
- var $L100 = $L("by");
1020
- var $L101 = $L("case");
1021
- var $L102 = $L("catch");
1022
- var $L103 = $L("class");
1023
- var $L104 = $L("#{");
1024
- var $L105 = $L("delete");
1025
- var $L106 = $L("do");
1026
- var $L107 = $L("..");
1027
- var $L108 = $L("...");
1028
- var $L109 = $L("::");
1029
- var $L110 = $L('"');
1030
- var $L111 = $L("else");
1031
- var $L112 = $L("export");
1032
- var $L113 = $L("for");
1033
- var $L114 = $L("from");
1034
- var $L115 = $L("function");
1035
- var $L116 = $L("get");
1036
- var $L117 = $L("set");
1037
- var $L118 = $L("if");
1038
- var $L119 = $L("let");
1039
- var $L120 = $L("const");
1040
- var $L121 = $L("loop");
1041
- var $L122 = $L("new");
1042
- var $L123 = $L("{");
1043
- var $L124 = $L("[");
1044
- var $L125 = $L("(");
1045
- var $L126 = $L("public");
1046
- var $L127 = $L("private");
1047
- var $L128 = $L("protected");
1048
- var $L129 = $L("|>");
1049
- var $L130 = $L("readonly");
1050
- var $L131 = $L("return");
1051
- var $L132 = $L("satisfies");
1052
- var $L133 = $L("'");
1053
- var $L134 = $L("static");
1054
- var $L135 = $L("${");
1055
- var $L136 = $L("switch");
1056
- var $L137 = $L("target");
1057
- var $L138 = $L("then");
1058
- var $L139 = $L("this");
1059
- var $L140 = $L("throw");
1060
- var $L141 = $L('"""');
1061
- var $L142 = $L("'''");
1062
- var $L143 = $L("///");
1063
- var $L144 = $L("```");
1064
- var $L145 = $L("try");
1065
- var $L146 = $L("typeof");
1066
- var $L147 = $L("unless");
1067
- var $L148 = $L("until");
1068
- var $L149 = $L("var");
1069
- var $L150 = $L("void");
1070
- var $L151 = $L("when");
1071
- var $L152 = $L("while");
1072
- var $L153 = $L("yield");
1073
- var $L154 = $L("/>");
1074
- var $L155 = $L("</");
1075
- var $L156 = $L("<>");
1076
- var $L157 = $L("</>");
1077
- var $L158 = $L("<!--");
1078
- var $L159 = $L("-->");
1079
- var $L160 = $L("declare");
1080
- var $L161 = $L("type");
1081
- var $L162 = $L("interface");
1082
- var $L163 = $L("namespace");
1083
- var $L164 = $L("asserts");
1084
- var $L165 = $L("keyof");
1085
- var $L166 = $L("infer");
1086
- var $L167 = $L("[]");
1087
- var $L168 = $L("civet");
930
+ var $L5 = $L("implements");
931
+ var $L6 = $L("#");
932
+ var $L7 = $L(".");
933
+ var $L8 = $L("super");
934
+ var $L9 = $L("import");
935
+ var $L10 = $L("!");
936
+ var $L11 = $L("super[");
937
+ var $L12 = $L("import.meta");
938
+ var $L13 = $L(")");
939
+ var $L14 = $L("->");
940
+ var $L15 = $L("}");
941
+ var $L16 = $L("null");
942
+ var $L17 = $L("true");
943
+ var $L18 = $L("false");
944
+ var $L19 = $L("yes");
945
+ var $L20 = $L("on");
946
+ var $L21 = $L("no");
947
+ var $L22 = $L("off");
948
+ var $L23 = $L(",");
949
+ var $L24 = $L("=");
950
+ var $L25 = $L(">");
951
+ var $L26 = $L("]");
952
+ var $L27 = $L(":");
953
+ var $L28 = $L("**=");
954
+ var $L29 = $L("*=");
955
+ var $L30 = $L("/=");
956
+ var $L31 = $L("%=");
957
+ var $L32 = $L("+=");
958
+ var $L33 = $L("-=");
959
+ var $L34 = $L("<<=");
960
+ var $L35 = $L(">>>=");
961
+ var $L36 = $L(">>=");
962
+ var $L37 = $L("&&=");
963
+ var $L38 = $L("&=");
964
+ var $L39 = $L("^=");
965
+ var $L40 = $L("||=");
966
+ var $L41 = $L("|=");
967
+ var $L42 = $L("??=");
968
+ var $L43 = $L("?=");
969
+ var $L44 = $L("and=");
970
+ var $L45 = $L("or=");
971
+ var $L46 = $L("**");
972
+ var $L47 = $L("*");
973
+ var $L48 = $L("/");
974
+ var $L49 = $L("%%");
975
+ var $L50 = $L("%");
976
+ var $L51 = $L("+");
977
+ var $L52 = $L("-");
978
+ var $L53 = $L("<=");
979
+ var $L54 = $L(">=");
980
+ var $L55 = $L("<<");
981
+ var $L56 = $L(">>>");
982
+ var $L57 = $L(">>");
983
+ var $L58 = $L("!==");
984
+ var $L59 = $L("!=");
985
+ var $L60 = $L("isnt");
986
+ var $L61 = $L("===");
987
+ var $L62 = $L("==");
988
+ var $L63 = $L("and");
989
+ var $L64 = $L("&&");
990
+ var $L65 = $L("of");
991
+ var $L66 = $L("or");
992
+ var $L67 = $L("||");
993
+ var $L68 = $L("??");
994
+ var $L69 = $L("?");
995
+ var $L70 = $L("instanceof");
996
+ var $L71 = $L("not");
997
+ var $L72 = $L("in");
998
+ var $L73 = $L("is");
999
+ var $L74 = $L("&");
1000
+ var $L75 = $L("^");
1001
+ var $L76 = $L("|");
1002
+ var $L77 = $L(";");
1003
+ var $L78 = $L("own");
1004
+ var $L79 = $L("finally");
1005
+ var $L80 = $L("break");
1006
+ var $L81 = $L("continue");
1007
+ var $L82 = $L("debugger");
1008
+ var $L83 = $L("default");
1009
+ var $L84 = $L(":=");
1010
+ var $L85 = $L("::=");
1011
+ var $L86 = $L(".=");
1012
+ var $L87 = $L("/*");
1013
+ var $L88 = $L("*/");
1014
+ var $L89 = $L("\\");
1015
+ var $L90 = $L("abstract");
1016
+ var $L91 = $L("as");
1017
+ var $L92 = $L("@");
1018
+ var $L93 = $L("@@");
1019
+ var $L94 = $L("async");
1020
+ var $L95 = $L("await");
1021
+ var $L96 = $L("`");
1022
+ var $L97 = $L("by");
1023
+ var $L98 = $L("case");
1024
+ var $L99 = $L("catch");
1025
+ var $L100 = $L("class");
1026
+ var $L101 = $L("#{");
1027
+ var $L102 = $L("delete");
1028
+ var $L103 = $L("do");
1029
+ var $L104 = $L("..");
1030
+ var $L105 = $L("...");
1031
+ var $L106 = $L("::");
1032
+ var $L107 = $L('"');
1033
+ var $L108 = $L("else");
1034
+ var $L109 = $L("export");
1035
+ var $L110 = $L("extends");
1036
+ var $L111 = $L("for");
1037
+ var $L112 = $L("from");
1038
+ var $L113 = $L("function");
1039
+ var $L114 = $L("get");
1040
+ var $L115 = $L("set");
1041
+ var $L116 = $L("if");
1042
+ var $L117 = $L("let");
1043
+ var $L118 = $L("const");
1044
+ var $L119 = $L("loop");
1045
+ var $L120 = $L("new");
1046
+ var $L121 = $L("<");
1047
+ var $L122 = $L("{");
1048
+ var $L123 = $L("[");
1049
+ var $L124 = $L("(");
1050
+ var $L125 = $L("public");
1051
+ var $L126 = $L("private");
1052
+ var $L127 = $L("protected");
1053
+ var $L128 = $L("|>");
1054
+ var $L129 = $L("readonly");
1055
+ var $L130 = $L("return");
1056
+ var $L131 = $L("satisfies");
1057
+ var $L132 = $L("'");
1058
+ var $L133 = $L("static");
1059
+ var $L134 = $L("${");
1060
+ var $L135 = $L("switch");
1061
+ var $L136 = $L("target");
1062
+ var $L137 = $L("then");
1063
+ var $L138 = $L("this");
1064
+ var $L139 = $L("throw");
1065
+ var $L140 = $L('"""');
1066
+ var $L141 = $L("'''");
1067
+ var $L142 = $L("///");
1068
+ var $L143 = $L("```");
1069
+ var $L144 = $L("try");
1070
+ var $L145 = $L("typeof");
1071
+ var $L146 = $L("unless");
1072
+ var $L147 = $L("until");
1073
+ var $L148 = $L("var");
1074
+ var $L149 = $L("void");
1075
+ var $L150 = $L("when");
1076
+ var $L151 = $L("while");
1077
+ var $L152 = $L("yield");
1078
+ var $L153 = $L("/>");
1079
+ var $L154 = $L("</");
1080
+ var $L155 = $L("<>");
1081
+ var $L156 = $L("</>");
1082
+ var $L157 = $L("<!--");
1083
+ var $L158 = $L("-->");
1084
+ var $L159 = $L("declare");
1085
+ var $L160 = $L("type");
1086
+ var $L161 = $L("interface");
1087
+ var $L162 = $L("namespace");
1088
+ var $L163 = $L("asserts");
1089
+ var $L164 = $L("keyof");
1090
+ var $L165 = $L("infer");
1091
+ var $L166 = $L("[]");
1092
+ var $L167 = $L("civet");
1088
1093
  var $R0 = $R(new RegExp("(for|of|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1089
1094
  var $R1 = $R(new RegExp("[&]", "suy"));
1090
1095
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
@@ -2293,7 +2298,7 @@ ${input.slice(result.pos)}
2293
2298
  return result;
2294
2299
  }
2295
2300
  }
2296
- var ExtendsClause$0 = $S(__, ExtendsToken, __, ExtendsTarget);
2301
+ var ExtendsClause$0 = $S(ExtendsToken, __, ExtendsTarget);
2297
2302
  function ExtendsClause(state) {
2298
2303
  if (state.events) {
2299
2304
  const result = state.events.enter?.("ExtendsClause", state);
@@ -2312,12 +2317,22 @@ ${input.slice(result.pos)}
2312
2317
  return result;
2313
2318
  }
2314
2319
  }
2315
- var ExtendsToken$0 = $TV($EXPECT($L5, fail, 'ExtendsToken "<"'), function($skip, $loc, $0, $1) {
2316
- return { $loc, token: "extends" };
2317
- });
2318
- var ExtendsToken$1 = $TS($S($EXPECT($L6, fail, 'ExtendsToken "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2319
- return { $loc, token: $1 };
2320
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L4, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2321
+ var l = $1;
2322
+ var ws = $2;
2323
+ var lt = $3;
2324
+ const children = [
2325
+ ...ws,
2326
+ { ...lt, token: "extends " }
2327
+ ];
2328
+ if (!ws.length) {
2329
+ children.unshift({ $loc: l.$loc, token: " " });
2330
+ }
2331
+ return {
2332
+ children
2333
+ };
2320
2334
  });
2335
+ var ExtendsToken$1 = $S(__, Extends);
2321
2336
  function ExtendsToken(state) {
2322
2337
  if (state.events) {
2323
2338
  const result = state.events.enter?.("ExtendsToken", state);
@@ -2386,7 +2401,7 @@ ${input.slice(result.pos)}
2386
2401
  return result;
2387
2402
  }
2388
2403
  }
2389
- var ImplementsToken$0 = $TS($S($EXPECT($L7, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2404
+ var ImplementsToken$0 = $TS($S($EXPECT($L5, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2390
2405
  return { $loc, token: $1 };
2391
2406
  });
2392
2407
  function ImplementsToken(state) {
@@ -2599,7 +2614,7 @@ ${input.slice(result.pos)}
2599
2614
  }
2600
2615
  }
2601
2616
  var ThisLiteral$0 = This;
2602
- var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2617
+ var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L6, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2603
2618
  var t = $1;
2604
2619
  var id = $2;
2605
2620
  return [{ ...t, token: "this." }, id];
@@ -2626,7 +2641,7 @@ ${input.slice(result.pos)}
2626
2641
  return result;
2627
2642
  }
2628
2643
  }
2629
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L9, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2644
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L7, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2630
2645
  if ($1.length)
2631
2646
  return $0;
2632
2647
  return $2;
@@ -2649,8 +2664,8 @@ ${input.slice(result.pos)}
2649
2664
  return result;
2650
2665
  }
2651
2666
  }
2652
- var CallExpression$0 = $S($EXPECT($L10, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2653
- var CallExpression$1 = $TS($S($EXPECT($L11, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2667
+ var CallExpression$0 = $S($EXPECT($L8, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2668
+ var CallExpression$1 = $TS($S($EXPECT($L9, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2654
2669
  return {
2655
2670
  type: "CallExpression",
2656
2671
  children: $0
@@ -2723,7 +2738,7 @@ ${input.slice(result.pos)}
2723
2738
  return result;
2724
2739
  }
2725
2740
  }
2726
- var NonNullAssertion$0 = $T($EXPECT($L12, fail, 'NonNullAssertion "!"'), function(value) {
2741
+ var NonNullAssertion$0 = $T($EXPECT($L10, fail, 'NonNullAssertion "!"'), function(value) {
2727
2742
  return { "ts": true, "children": value };
2728
2743
  });
2729
2744
  function NonNullAssertion(state) {
@@ -2969,8 +2984,8 @@ ${input.slice(result.pos)}
2969
2984
  return result;
2970
2985
  }
2971
2986
  }
2972
- var SuperProperty$0 = $S($EXPECT($L13, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2973
- var SuperProperty$1 = $S($EXPECT($L10, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2987
+ var SuperProperty$0 = $S($EXPECT($L11, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2988
+ var SuperProperty$1 = $S($EXPECT($L8, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2974
2989
  function SuperProperty(state) {
2975
2990
  if (state.events) {
2976
2991
  const result = state.events.enter?.("SuperProperty", state);
@@ -2990,7 +3005,7 @@ ${input.slice(result.pos)}
2990
3005
  }
2991
3006
  }
2992
3007
  var MetaProperty$0 = $S(New, Dot, Target);
2993
- var MetaProperty$1 = $TS($S($EXPECT($L14, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3008
+ var MetaProperty$1 = $TS($S($EXPECT($L12, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2994
3009
  return { $loc, token: $1 };
2995
3010
  });
2996
3011
  function MetaProperty(state) {
@@ -3016,7 +3031,8 @@ ${input.slice(result.pos)}
3016
3031
  return {
3017
3032
  type: "Parameters",
3018
3033
  children: [{ $loc, token: "()" }],
3019
- names: []
3034
+ names: [],
3035
+ implicit: true
3020
3036
  };
3021
3037
  });
3022
3038
  function Parameters(state) {
@@ -3154,7 +3170,7 @@ ${input.slice(result.pos)}
3154
3170
  }
3155
3171
  }
3156
3172
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3157
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
3173
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L13, fail, 'ParameterElementDelimiter ")"')));
3158
3174
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3159
3175
  return value[1];
3160
3176
  });
@@ -3176,22 +3192,10 @@ ${input.slice(result.pos)}
3176
3192
  return result;
3177
3193
  }
3178
3194
  }
3179
- var BindingIdentifier$0 = $TS($S(__, At, AtIdentifierRef), function($skip, $loc, $0, $1, $2, $3) {
3180
- var ws = $1;
3181
- var ref = $3;
3182
- return {
3183
- type: "AtBinding",
3184
- children: [...ws, ref],
3185
- ref
3186
- };
3187
- });
3188
- var BindingIdentifier$1 = $TS($S(__, Identifier), function($skip, $loc, $0, $1, $2) {
3195
+ var BindingIdentifier$0 = $TS($S(__, NWBindingIdentifier), function($skip, $loc, $0, $1, $2) {
3189
3196
  var ws = $1;
3190
- var id = $2;
3191
- return {
3192
- ...id,
3193
- children: [...ws, ...id.children]
3194
- };
3197
+ var identifier = $2;
3198
+ return { ...identifier, children: [...ws, ...identifier.children] };
3195
3199
  });
3196
3200
  function BindingIdentifier(state) {
3197
3201
  if (state.events) {
@@ -3200,17 +3204,44 @@ ${input.slice(result.pos)}
3200
3204
  return result.cache;
3201
3205
  }
3202
3206
  if (state.tokenize) {
3203
- const result = $TOKEN("BindingIdentifier", state, BindingIdentifier$0(state) || BindingIdentifier$1(state));
3207
+ const result = $TOKEN("BindingIdentifier", state, BindingIdentifier$0(state));
3204
3208
  if (state.events)
3205
3209
  state.events.exit?.("BindingIdentifier", state, result);
3206
3210
  return result;
3207
3211
  } else {
3208
- const result = BindingIdentifier$0(state) || BindingIdentifier$1(state);
3212
+ const result = BindingIdentifier$0(state);
3209
3213
  if (state.events)
3210
3214
  state.events.exit?.("BindingIdentifier", state, result);
3211
3215
  return result;
3212
3216
  }
3213
3217
  }
3218
+ var NWBindingIdentifier$0 = $TS($S(At, AtIdentifierRef), function($skip, $loc, $0, $1, $2) {
3219
+ var ref = $2;
3220
+ return {
3221
+ type: "AtBinding",
3222
+ children: [ref],
3223
+ ref
3224
+ };
3225
+ });
3226
+ var NWBindingIdentifier$1 = Identifier;
3227
+ function NWBindingIdentifier(state) {
3228
+ if (state.events) {
3229
+ const result = state.events.enter?.("NWBindingIdentifier", state);
3230
+ if (result)
3231
+ return result.cache;
3232
+ }
3233
+ if (state.tokenize) {
3234
+ const result = $TOKEN("NWBindingIdentifier", state, NWBindingIdentifier$0(state) || NWBindingIdentifier$1(state));
3235
+ if (state.events)
3236
+ state.events.exit?.("NWBindingIdentifier", state, result);
3237
+ return result;
3238
+ } else {
3239
+ const result = NWBindingIdentifier$0(state) || NWBindingIdentifier$1(state);
3240
+ if (state.events)
3241
+ state.events.exit?.("NWBindingIdentifier", state, result);
3242
+ return result;
3243
+ }
3244
+ }
3214
3245
  var AtIdentifierRef$0 = $TV(ReservedWord, function($skip, $loc, $0, $1) {
3215
3246
  var r = $0;
3216
3247
  return {
@@ -3786,18 +3817,22 @@ ${input.slice(result.pos)}
3786
3817
  return result;
3787
3818
  }
3788
3819
  }
3789
- var FunctionSignature$0 = $TS($S($E($S(Async, __)), Function, $E(Star), $E(BindingIdentifier), __, NonEmptyParameters, $E(ReturnTypeSuffix)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
3790
- var id = $4;
3820
+ var FunctionSignature$0 = $TS($S($E($S(Async, $E(_))), Function, $E($S($E(_), Star)), $E($S($E(_), NWBindingIdentifier)), $E(_), Parameters, $E(ReturnTypeSuffix)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
3821
+ var async = $1;
3822
+ var func = $2;
3823
+ var star = $3;
3824
+ var wid = $4;
3825
+ var w = $5;
3791
3826
  var parameters = $6;
3792
3827
  var suffix = $7;
3793
3828
  return {
3794
3829
  type: "FunctionSignature",
3795
- id,
3830
+ id: wid?.[1],
3796
3831
  parameters,
3797
3832
  returnType: suffix?.children?.[1]?.[0]?.[1]?.token,
3798
3833
  ts: false,
3799
3834
  block: null,
3800
- children: $0
3835
+ children: !parameters.implicit ? $0 : [async, func, star, wid, parameters, w, suffix]
3801
3836
  };
3802
3837
  });
3803
3838
  function FunctionSignature(state) {
@@ -3909,7 +3944,7 @@ ${input.slice(result.pos)}
3909
3944
  return result;
3910
3945
  }
3911
3946
  }
3912
- var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3947
+ var Arrow$0 = $TV($EXPECT($L14, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3913
3948
  return { $loc, token: $1 };
3914
3949
  });
3915
3950
  function Arrow(state) {
@@ -4171,7 +4206,7 @@ ${input.slice(result.pos)}
4171
4206
  children: [$1, expressions]
4172
4207
  };
4173
4208
  });
4174
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4209
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L15, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4175
4210
  const expressions = [];
4176
4211
  return {
4177
4212
  type: "BlockStatement",
@@ -4296,7 +4331,7 @@ ${input.slice(result.pos)}
4296
4331
  return result;
4297
4332
  }
4298
4333
  }
4299
- var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4334
+ var NullLiteral$0 = $TS($S($EXPECT($L16, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4300
4335
  return { $loc, token: $1 };
4301
4336
  });
4302
4337
  function NullLiteral(state) {
@@ -4320,7 +4355,7 @@ ${input.slice(result.pos)}
4320
4355
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
4321
4356
  return value[1];
4322
4357
  });
4323
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4358
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L17, fail, 'BooleanLiteral "true"'), $EXPECT($L18, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4324
4359
  return { $loc, token: $1 };
4325
4360
  });
4326
4361
  function BooleanLiteral(state) {
@@ -4341,10 +4376,10 @@ ${input.slice(result.pos)}
4341
4376
  return result;
4342
4377
  }
4343
4378
  }
4344
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4379
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L19, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L20, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4345
4380
  return { $loc, token: "true" };
4346
4381
  });
4347
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4382
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4348
4383
  return { $loc, token: "false" };
4349
4384
  });
4350
4385
  function CoffeeScriptBooleanLiteral(state) {
@@ -4365,7 +4400,7 @@ ${input.slice(result.pos)}
4365
4400
  return result;
4366
4401
  }
4367
4402
  }
4368
- var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4403
+ var Comma$0 = $TV($EXPECT($L23, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4369
4404
  return { $loc, token: $1 };
4370
4405
  });
4371
4406
  function Comma(state) {
@@ -4455,7 +4490,7 @@ ${input.slice(result.pos)}
4455
4490
  return result;
4456
4491
  }
4457
4492
  }
4458
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
4493
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L24, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L24, fail, 'UpcomingAssignment "="'), $EXPECT($L25, fail, 'UpcomingAssignment ">"')))));
4459
4494
  function UpcomingAssignment(state) {
4460
4495
  if (state.events) {
4461
4496
  const result = state.events.enter?.("UpcomingAssignment", state);
@@ -4704,7 +4739,7 @@ ${input.slice(result.pos)}
4704
4739
  }
4705
4740
  }
4706
4741
  var ArrayElementDelimiter$0 = $S(__, Comma);
4707
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
4742
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'ArrayElementDelimiter "]"')));
4708
4743
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
4709
4744
  return value[1];
4710
4745
  });
@@ -5074,7 +5109,7 @@ ${input.slice(result.pos)}
5074
5109
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
5075
5110
  return value[1];
5076
5111
  });
5077
- var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L29, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L15, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L28, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L17, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5112
+ var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L27, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L13, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L26, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L15, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
5078
5113
  return "";
5079
5114
  });
5080
5115
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -5099,7 +5134,7 @@ ${input.slice(result.pos)}
5099
5134
  }
5100
5135
  }
5101
5136
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
5102
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
5137
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ObjectPropertyDelimiter "}"')));
5103
5138
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5104
5139
  return value[1];
5105
5140
  });
@@ -5490,7 +5525,7 @@ ${input.slice(result.pos)}
5490
5525
  return result;
5491
5526
  }
5492
5527
  }
5493
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5528
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L6, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5494
5529
  return {
5495
5530
  type: "Identifier",
5496
5531
  name: $0,
@@ -5546,25 +5581,25 @@ ${input.slice(result.pos)}
5546
5581
  return result;
5547
5582
  }
5548
5583
  }
5549
- var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
5550
- var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
5551
- var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
5552
- var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
5553
- var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
5554
- var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
5555
- var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
5556
- var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
5557
- var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
5558
- var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
5559
- var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
5560
- var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
5561
- var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
5562
- var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
5563
- var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
5564
- var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
5584
+ var AssignmentOpSymbol$0 = $EXPECT($L28, fail, 'AssignmentOpSymbol "**="');
5585
+ var AssignmentOpSymbol$1 = $EXPECT($L29, fail, 'AssignmentOpSymbol "*="');
5586
+ var AssignmentOpSymbol$2 = $EXPECT($L30, fail, 'AssignmentOpSymbol "/="');
5587
+ var AssignmentOpSymbol$3 = $EXPECT($L31, fail, 'AssignmentOpSymbol "%="');
5588
+ var AssignmentOpSymbol$4 = $EXPECT($L32, fail, 'AssignmentOpSymbol "+="');
5589
+ var AssignmentOpSymbol$5 = $EXPECT($L33, fail, 'AssignmentOpSymbol "-="');
5590
+ var AssignmentOpSymbol$6 = $EXPECT($L34, fail, 'AssignmentOpSymbol "<<="');
5591
+ var AssignmentOpSymbol$7 = $EXPECT($L35, fail, 'AssignmentOpSymbol ">>>="');
5592
+ var AssignmentOpSymbol$8 = $EXPECT($L36, fail, 'AssignmentOpSymbol ">>="');
5593
+ var AssignmentOpSymbol$9 = $EXPECT($L37, fail, 'AssignmentOpSymbol "&&="');
5594
+ var AssignmentOpSymbol$10 = $EXPECT($L38, fail, 'AssignmentOpSymbol "&="');
5595
+ var AssignmentOpSymbol$11 = $EXPECT($L39, fail, 'AssignmentOpSymbol "^="');
5596
+ var AssignmentOpSymbol$12 = $EXPECT($L40, fail, 'AssignmentOpSymbol "||="');
5597
+ var AssignmentOpSymbol$13 = $EXPECT($L41, fail, 'AssignmentOpSymbol "|="');
5598
+ var AssignmentOpSymbol$14 = $EXPECT($L42, fail, 'AssignmentOpSymbol "??="');
5599
+ var AssignmentOpSymbol$15 = $T($EXPECT($L43, fail, 'AssignmentOpSymbol "?="'), function(value) {
5565
5600
  return "??=";
5566
5601
  });
5567
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
5602
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L24, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L24, fail, 'AssignmentOpSymbol "="'))), function(value) {
5568
5603
  return value[0];
5569
5604
  });
5570
5605
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -5588,10 +5623,10 @@ ${input.slice(result.pos)}
5588
5623
  return result;
5589
5624
  }
5590
5625
  }
5591
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5626
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L44, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5592
5627
  return "&&=";
5593
5628
  });
5594
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5629
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L45, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5595
5630
  return "||=";
5596
5631
  });
5597
5632
  function CoffeeWordAssignmentOp(state) {
@@ -5635,77 +5670,77 @@ ${input.slice(result.pos)}
5635
5670
  return result;
5636
5671
  }
5637
5672
  }
5638
- var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
5639
- var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
5640
- var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
5641
- var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5673
+ var BinaryOpSymbol$0 = $EXPECT($L46, fail, 'BinaryOpSymbol "**"');
5674
+ var BinaryOpSymbol$1 = $EXPECT($L47, fail, 'BinaryOpSymbol "*"');
5675
+ var BinaryOpSymbol$2 = $EXPECT($L48, fail, 'BinaryOpSymbol "/"');
5676
+ var BinaryOpSymbol$3 = $TV($EXPECT($L49, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5642
5677
  return {
5643
5678
  call: module.getRef("modulo"),
5644
5679
  special: true
5645
5680
  };
5646
5681
  });
5647
- var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
5648
- var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
5649
- var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
5650
- var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
5651
- var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
5652
- var BinaryOpSymbol$9 = $EXPECT($L57, fail, 'BinaryOpSymbol "<<"');
5682
+ var BinaryOpSymbol$4 = $EXPECT($L50, fail, 'BinaryOpSymbol "%"');
5683
+ var BinaryOpSymbol$5 = $EXPECT($L51, fail, 'BinaryOpSymbol "+"');
5684
+ var BinaryOpSymbol$6 = $EXPECT($L52, fail, 'BinaryOpSymbol "-"');
5685
+ var BinaryOpSymbol$7 = $EXPECT($L53, fail, 'BinaryOpSymbol "<="');
5686
+ var BinaryOpSymbol$8 = $EXPECT($L54, fail, 'BinaryOpSymbol ">="');
5687
+ var BinaryOpSymbol$9 = $EXPECT($L55, fail, 'BinaryOpSymbol "<<"');
5653
5688
  var BinaryOpSymbol$10 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
5654
5689
  return "<";
5655
5690
  });
5656
- var BinaryOpSymbol$11 = $EXPECT($L58, fail, 'BinaryOpSymbol ">>>"');
5657
- var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>"');
5658
- var BinaryOpSymbol$13 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
5659
- var BinaryOpSymbol$14 = $EXPECT($L60, fail, 'BinaryOpSymbol "!=="');
5660
- var BinaryOpSymbol$15 = $TV($EXPECT($L61, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5691
+ var BinaryOpSymbol$11 = $EXPECT($L56, fail, 'BinaryOpSymbol ">>>"');
5692
+ var BinaryOpSymbol$12 = $EXPECT($L57, fail, 'BinaryOpSymbol ">>"');
5693
+ var BinaryOpSymbol$13 = $EXPECT($L25, fail, 'BinaryOpSymbol ">"');
5694
+ var BinaryOpSymbol$14 = $EXPECT($L58, fail, 'BinaryOpSymbol "!=="');
5695
+ var BinaryOpSymbol$15 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5661
5696
  if (module.config.coffeeEq)
5662
5697
  return "!==";
5663
5698
  return $1;
5664
5699
  });
5665
- var BinaryOpSymbol$16 = $TS($S($EXPECT($L62, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5700
+ var BinaryOpSymbol$16 = $TS($S($EXPECT($L60, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5666
5701
  if (module.config.coffeeIsnt)
5667
5702
  return "!==";
5668
5703
  return $skip;
5669
5704
  });
5670
- var BinaryOpSymbol$17 = $EXPECT($L63, fail, 'BinaryOpSymbol "==="');
5671
- var BinaryOpSymbol$18 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5705
+ var BinaryOpSymbol$17 = $EXPECT($L61, fail, 'BinaryOpSymbol "==="');
5706
+ var BinaryOpSymbol$18 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5672
5707
  if (module.config.coffeeEq)
5673
5708
  return "===";
5674
5709
  return $1;
5675
5710
  });
5676
- var BinaryOpSymbol$19 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5711
+ var BinaryOpSymbol$19 = $T($S($EXPECT($L63, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5677
5712
  return "&&";
5678
5713
  });
5679
- var BinaryOpSymbol$20 = $EXPECT($L66, fail, 'BinaryOpSymbol "&&"');
5680
- var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5714
+ var BinaryOpSymbol$20 = $EXPECT($L64, fail, 'BinaryOpSymbol "&&"');
5715
+ var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L65, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5681
5716
  return "in";
5682
5717
  });
5683
- var BinaryOpSymbol$22 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5718
+ var BinaryOpSymbol$22 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5684
5719
  return "||";
5685
5720
  });
5686
- var BinaryOpSymbol$23 = $EXPECT($L69, fail, 'BinaryOpSymbol "||"');
5687
- var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "??"');
5688
- var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "?"')), function(value) {
5721
+ var BinaryOpSymbol$23 = $EXPECT($L67, fail, 'BinaryOpSymbol "||"');
5722
+ var BinaryOpSymbol$24 = $EXPECT($L68, fail, 'BinaryOpSymbol "??"');
5723
+ var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L69, fail, 'BinaryOpSymbol "?"')), function(value) {
5689
5724
  return "??";
5690
5725
  });
5691
- var BinaryOpSymbol$26 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5726
+ var BinaryOpSymbol$26 = $TS($S($EXPECT($L70, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5692
5727
  return $1;
5693
5728
  });
5694
- var BinaryOpSymbol$27 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5729
+ var BinaryOpSymbol$27 = $TS($S(CoffeeNotEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L70, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
5695
5730
  return {
5696
5731
  $loc,
5697
5732
  token: "instanceof",
5698
5733
  special: true
5699
5734
  };
5700
5735
  });
5701
- var BinaryOpSymbol$28 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5736
+ var BinaryOpSymbol$28 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L65, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5702
5737
  return {
5703
5738
  $loc,
5704
5739
  token: "in",
5705
5740
  special: true
5706
5741
  };
5707
5742
  });
5708
- var BinaryOpSymbol$29 = $TV($C($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5743
+ var BinaryOpSymbol$29 = $TV($C($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5709
5744
  return {
5710
5745
  call: [module.getRef("indexOf"), ".call"],
5711
5746
  relational: true,
@@ -5714,7 +5749,7 @@ ${input.slice(result.pos)}
5714
5749
  special: true
5715
5750
  };
5716
5751
  });
5717
- var BinaryOpSymbol$30 = $TV($C($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5752
+ var BinaryOpSymbol$30 = $TV($C($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue)), function($skip, $loc, $0, $1) {
5718
5753
  return {
5719
5754
  call: [module.getRef("indexOf"), ".call"],
5720
5755
  relational: true,
@@ -5723,18 +5758,18 @@ ${input.slice(result.pos)}
5723
5758
  special: true
5724
5759
  };
5725
5760
  });
5726
- var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5761
+ var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5727
5762
  return "!==";
5728
5763
  });
5729
- var BinaryOpSymbol$32 = $T($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5764
+ var BinaryOpSymbol$32 = $T($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5730
5765
  return "===";
5731
5766
  });
5732
- var BinaryOpSymbol$33 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5767
+ var BinaryOpSymbol$33 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5733
5768
  return $1;
5734
5769
  });
5735
- var BinaryOpSymbol$34 = $EXPECT($L76, fail, 'BinaryOpSymbol "&"');
5736
- var BinaryOpSymbol$35 = $EXPECT($L77, fail, 'BinaryOpSymbol "^"');
5737
- var BinaryOpSymbol$36 = $EXPECT($L78, fail, 'BinaryOpSymbol "|"');
5770
+ var BinaryOpSymbol$34 = $EXPECT($L74, fail, 'BinaryOpSymbol "&"');
5771
+ var BinaryOpSymbol$35 = $EXPECT($L75, fail, 'BinaryOpSymbol "^"');
5772
+ var BinaryOpSymbol$36 = $EXPECT($L76, fail, 'BinaryOpSymbol "|"');
5738
5773
  function BinaryOpSymbol(state) {
5739
5774
  if (state.events) {
5740
5775
  const result = state.events.enter?.("BinaryOpSymbol", state);
@@ -5873,7 +5908,7 @@ ${input.slice(result.pos)}
5873
5908
  return result;
5874
5909
  }
5875
5910
  }
5876
- var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L79, fail, 'EmptyStatement ";"'))), function(value) {
5911
+ var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L77, fail, 'EmptyStatement ";"'))), function(value) {
5877
5912
  return { "type": "EmptyStatement", "children": value[0] };
5878
5913
  });
5879
5914
  function EmptyStatement(state) {
@@ -5894,7 +5929,7 @@ ${input.slice(result.pos)}
5894
5929
  return result;
5895
5930
  }
5896
5931
  }
5897
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
5932
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L24, fail, 'BlockStatement "="')))), function(value) {
5898
5933
  return value[0];
5899
5934
  });
5900
5935
  function BlockStatement(state) {
@@ -6719,7 +6754,7 @@ ${input.slice(result.pos)}
6719
6754
  return result;
6720
6755
  }
6721
6756
  }
6722
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L80, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6757
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L78, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6723
6758
  var own = $1;
6724
6759
  var binding = $2;
6725
6760
  if (own) {
@@ -7263,7 +7298,7 @@ ${input.slice(result.pos)}
7263
7298
  return result;
7264
7299
  }
7265
7300
  }
7266
- var Finally$0 = $S(__, $EXPECT($L81, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7301
+ var Finally$0 = $S(__, $EXPECT($L79, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7267
7302
  function Finally(state) {
7268
7303
  if (state.events) {
7269
7304
  const result = state.events.enter?.("Finally", state);
@@ -7399,13 +7434,13 @@ ${input.slice(result.pos)}
7399
7434
  return result;
7400
7435
  }
7401
7436
  }
7402
- var KeywordStatement$0 = $T($S($EXPECT($L82, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7437
+ var KeywordStatement$0 = $T($S($EXPECT($L80, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7403
7438
  return { "type": "BreakStatement", "children": value };
7404
7439
  });
7405
- var KeywordStatement$1 = $T($S($EXPECT($L83, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7440
+ var KeywordStatement$1 = $T($S($EXPECT($L81, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7406
7441
  return { "type": "ContinueStatement", "children": value };
7407
7442
  });
7408
- var KeywordStatement$2 = $T($S($EXPECT($L84, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7443
+ var KeywordStatement$2 = $T($S($EXPECT($L82, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7409
7444
  return { "type": "DebuggerStatement", "children": value };
7410
7445
  });
7411
7446
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -7432,7 +7467,7 @@ ${input.slice(result.pos)}
7432
7467
  return result;
7433
7468
  }
7434
7469
  }
7435
- var DebuggerExpression$0 = $TS($S($EXPECT($L84, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7470
+ var DebuggerExpression$0 = $TS($S($EXPECT($L82, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7436
7471
  return {
7437
7472
  type: "DebuggerExpression",
7438
7473
  children: ["(()=>{", $1, "})()"]
@@ -7505,7 +7540,7 @@ ${input.slice(result.pos)}
7505
7540
  return result;
7506
7541
  }
7507
7542
  }
7508
- var ImportDeclaration$0 = $T($S($EXPECT($L85, fail, 'ImportDeclaration "import type"'), NonIdContinue, __, ImportClause, __, FromClause), function(value) {
7543
+ var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause), function(value) {
7509
7544
  return { "ts": true, "children": value };
7510
7545
  });
7511
7546
  var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
@@ -7622,11 +7657,9 @@ ${input.slice(result.pos)}
7622
7657
  return result;
7623
7658
  }
7624
7659
  }
7625
- var NamedImports$0 = $TS($S(OpenBrace, $Q(ImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7660
+ var NamedImports$0 = $TS($S(OpenBrace, $Q(TypeAndImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7626
7661
  var specifiers = $2;
7627
- const names = specifiers.flatMap(({ binding }) => {
7628
- return binding.names;
7629
- });
7662
+ const names = specifiers.flatMap(({ binding }) => binding.names);
7630
7663
  return {
7631
7664
  type: "Declaration",
7632
7665
  children: $0,
@@ -7670,6 +7703,29 @@ ${input.slice(result.pos)}
7670
7703
  return result;
7671
7704
  }
7672
7705
  }
7706
+ var TypeAndImportSpecifier$0 = $TS($S($E($S(__, TypeKeyword)), ImportSpecifier), function($skip, $loc, $0, $1, $2) {
7707
+ if (!$1)
7708
+ return $2;
7709
+ return { ts: true, children: $0, binding: $2.binding };
7710
+ });
7711
+ function TypeAndImportSpecifier(state) {
7712
+ if (state.events) {
7713
+ const result = state.events.enter?.("TypeAndImportSpecifier", state);
7714
+ if (result)
7715
+ return result.cache;
7716
+ }
7717
+ if (state.tokenize) {
7718
+ const result = $TOKEN("TypeAndImportSpecifier", state, TypeAndImportSpecifier$0(state));
7719
+ if (state.events)
7720
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7721
+ return result;
7722
+ } else {
7723
+ const result = TypeAndImportSpecifier$0(state);
7724
+ if (state.events)
7725
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7726
+ return result;
7727
+ }
7728
+ }
7673
7729
  var ImportSpecifier$0 = $TS($S(__, ModuleExportName, __, As, __, ImportedBinding, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
7674
7730
  var binding = $6;
7675
7731
  return {
@@ -7805,9 +7861,17 @@ ${input.slice(result.pos)}
7805
7861
  return result;
7806
7862
  }
7807
7863
  }
7808
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7809
- var ExportDeclaration$1 = $S(Export, __, ExportFromClause, __, FromClause);
7810
- var ExportDeclaration$2 = $S(Export, __, $C(Declaration, NamedExports, VariableStatement, ExportVarDec));
7864
+ var ExportDeclaration$0 = $S(Export, __, $EXPECT($L83, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7865
+ var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7866
+ if (!$3.ts)
7867
+ return $0;
7868
+ return { ts: true, children: $0 };
7869
+ });
7870
+ var ExportDeclaration$2 = $TS($S(Export, __, $C(Declaration, TypeAndNamedExports, VariableStatement, ExportVarDec)), function($skip, $loc, $0, $1, $2, $3) {
7871
+ if (!$3.ts)
7872
+ return $0;
7873
+ return { ts: true, children: $0 };
7874
+ });
7811
7875
  function ExportDeclaration(state) {
7812
7876
  if (state.events) {
7813
7877
  const result = state.events.enter?.("ExportDeclaration", state);
@@ -7846,7 +7910,7 @@ ${input.slice(result.pos)}
7846
7910
  }
7847
7911
  }
7848
7912
  var ExportFromClause$0 = $S(Star, $E($S(__, As, __, ModuleExportName)));
7849
- var ExportFromClause$1 = NamedExports;
7913
+ var ExportFromClause$1 = TypeAndNamedExports;
7850
7914
  function ExportFromClause(state) {
7851
7915
  if (state.events) {
7852
7916
  const result = state.events.enter?.("ExportFromClause", state);
@@ -7865,6 +7929,29 @@ ${input.slice(result.pos)}
7865
7929
  return result;
7866
7930
  }
7867
7931
  }
7932
+ var TypeAndNamedExports$0 = $TS($S($E($S(TypeKeyword, __)), NamedExports), function($skip, $loc, $0, $1, $2) {
7933
+ if (!$1)
7934
+ return $2;
7935
+ return { ts: true, children: $0 };
7936
+ });
7937
+ function TypeAndNamedExports(state) {
7938
+ if (state.events) {
7939
+ const result = state.events.enter?.("TypeAndNamedExports", state);
7940
+ if (result)
7941
+ return result.cache;
7942
+ }
7943
+ if (state.tokenize) {
7944
+ const result = $TOKEN("TypeAndNamedExports", state, TypeAndNamedExports$0(state));
7945
+ if (state.events)
7946
+ state.events.exit?.("TypeAndNamedExports", state, result);
7947
+ return result;
7948
+ } else {
7949
+ const result = TypeAndNamedExports$0(state);
7950
+ if (state.events)
7951
+ state.events.exit?.("TypeAndNamedExports", state, result);
7952
+ return result;
7953
+ }
7954
+ }
7868
7955
  var NamedExports$0 = $S(OpenBrace, $Q(ExportSpecifier), $E($S(__, Comma)), __, CloseBrace);
7869
7956
  var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(_, ImplicitExportSpecifier)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
7870
7957
  var open = $1;
@@ -7889,7 +7976,11 @@ ${input.slice(result.pos)}
7889
7976
  return result;
7890
7977
  }
7891
7978
  }
7892
- var ExportSpecifier$0 = $S(__, ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter);
7979
+ var ExportSpecifier$0 = $TS($S(__, $E($S(TypeKeyword, __)), ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7980
+ if (!$2)
7981
+ return $0;
7982
+ return { ts: true, children: $0 };
7983
+ });
7893
7984
  function ExportSpecifier(state) {
7894
7985
  if (state.events) {
7895
7986
  const result = state.events.enter?.("ExportSpecifier", state);
@@ -7908,7 +7999,7 @@ ${input.slice(result.pos)}
7908
7999
  return result;
7909
8000
  }
7910
8001
  }
7911
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
8002
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L83, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7912
8003
  function ImplicitExportSpecifier(state) {
7913
8004
  if (state.events) {
7914
8005
  const result = state.events.enter?.("ImplicitExportSpecifier", state);
@@ -8063,7 +8154,7 @@ ${input.slice(result.pos)}
8063
8154
  return result;
8064
8155
  }
8065
8156
  }
8066
- var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8157
+ var ConstAssignment$0 = $TV($EXPECT($L84, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8067
8158
  return { $loc, token: "=" };
8068
8159
  });
8069
8160
  function ConstAssignment(state) {
@@ -8084,10 +8175,10 @@ ${input.slice(result.pos)}
8084
8175
  return result;
8085
8176
  }
8086
8177
  }
8087
- var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8178
+ var LetAssignment$0 = $TV($EXPECT($L85, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8088
8179
  return { $loc, token: "=" };
8089
8180
  });
8090
- var LetAssignment$1 = $TV($EXPECT($L89, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8181
+ var LetAssignment$1 = $TV($EXPECT($L86, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8091
8182
  return { $loc, token: "=" };
8092
8183
  });
8093
8184
  function LetAssignment(state) {
@@ -8645,7 +8736,7 @@ ${input.slice(result.pos)}
8645
8736
  }
8646
8737
  }
8647
8738
  var RegularExpressionLiteral$0 = HeregexLiteral;
8648
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8739
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8649
8740
  return { $loc, token: $1 };
8650
8741
  });
8651
8742
  function RegularExpressionLiteral(state) {
@@ -8992,7 +9083,7 @@ ${input.slice(result.pos)}
8992
9083
  var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R34, fail, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
8993
9084
  var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R35, fail, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
8994
9085
  var ReservedWord$4 = $S(CoffeeNotEnabled, $R$0($EXPECT($R36, fail, "ReservedWord /(?:not)(?!\\p{ID_Continue})/")));
8995
- var ReservedWord$5 = $S($EXPECT($L73, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'ReservedWord "in"'), NonIdContinue);
9086
+ var ReservedWord$5 = $S($EXPECT($L71, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'ReservedWord "in"'), NonIdContinue);
8996
9087
  var ReservedWord$6 = $R$0($EXPECT($R37, fail, "ReservedWord /(?:and|as|await|break|case|catch|class|const|continue|debugger|default|delete|do|else|enum|export|extends|false|finally|for|function|if|import|in|instanceof|interface|is|let|loop|new|null|or|private|protected|public|return|satisfies|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
8997
9088
  function ReservedWord(state) {
8998
9089
  if (state.events) {
@@ -9093,7 +9184,7 @@ ${input.slice(result.pos)}
9093
9184
  return result;
9094
9185
  }
9095
9186
  }
9096
- var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L90, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L91, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L91, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
9187
+ var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L87, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L88, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L88, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
9097
9188
  return { $loc, token: $1 };
9098
9189
  });
9099
9190
  function JSMultiLineComment(state) {
@@ -9135,7 +9226,7 @@ ${input.slice(result.pos)}
9135
9226
  return result;
9136
9227
  }
9137
9228
  }
9138
- var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L91, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
9229
+ var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L88, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
9139
9230
  return { $loc, token: `/*${$2}*/` };
9140
9231
  });
9141
9232
  function CoffeeMultiLineComment(state) {
@@ -9175,7 +9266,7 @@ ${input.slice(result.pos)}
9175
9266
  return result;
9176
9267
  }
9177
9268
  }
9178
- var InlineComment$0 = $TV($TEXT($S($EXPECT($L90, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L91, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L91, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
9269
+ var InlineComment$0 = $TV($TEXT($S($EXPECT($L87, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L88, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L88, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
9179
9270
  return { $loc, token: $1 };
9180
9271
  });
9181
9272
  function InlineComment(state) {
@@ -9258,7 +9349,7 @@ ${input.slice(result.pos)}
9258
9349
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9259
9350
  return { $loc, token: $0 };
9260
9351
  });
9261
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L92, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9352
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L89, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9262
9353
  return "";
9263
9354
  });
9264
9355
  function NonNewlineWhitespace(state) {
@@ -9427,7 +9518,7 @@ ${input.slice(result.pos)}
9427
9518
  return result;
9428
9519
  }
9429
9520
  }
9430
- var Abstract$0 = $TV($TEXT($S($EXPECT($L93, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9521
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L90, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9431
9522
  return { $loc, token: $1, ts: true };
9432
9523
  });
9433
9524
  function Abstract(state) {
@@ -9448,7 +9539,7 @@ ${input.slice(result.pos)}
9448
9539
  return result;
9449
9540
  }
9450
9541
  }
9451
- var Ampersand$0 = $TV($EXPECT($L76, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9542
+ var Ampersand$0 = $TV($EXPECT($L74, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9452
9543
  return { $loc, token: $1 };
9453
9544
  });
9454
9545
  function Ampersand(state) {
@@ -9469,7 +9560,7 @@ ${input.slice(result.pos)}
9469
9560
  return result;
9470
9561
  }
9471
9562
  }
9472
- var As$0 = $TS($S($EXPECT($L94, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9563
+ var As$0 = $TS($S($EXPECT($L91, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9473
9564
  return { $loc, token: $1 };
9474
9565
  });
9475
9566
  function As(state) {
@@ -9490,7 +9581,7 @@ ${input.slice(result.pos)}
9490
9581
  return result;
9491
9582
  }
9492
9583
  }
9493
- var At$0 = $TV($EXPECT($L95, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9584
+ var At$0 = $TV($EXPECT($L92, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9494
9585
  return { $loc, token: $1 };
9495
9586
  });
9496
9587
  function At(state) {
@@ -9511,7 +9602,7 @@ ${input.slice(result.pos)}
9511
9602
  return result;
9512
9603
  }
9513
9604
  }
9514
- var AtAt$0 = $TV($EXPECT($L96, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9605
+ var AtAt$0 = $TV($EXPECT($L93, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9515
9606
  return { $loc, token: "@" };
9516
9607
  });
9517
9608
  function AtAt(state) {
@@ -9532,7 +9623,7 @@ ${input.slice(result.pos)}
9532
9623
  return result;
9533
9624
  }
9534
9625
  }
9535
- var Async$0 = $TS($S($EXPECT($L97, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9626
+ var Async$0 = $TS($S($EXPECT($L94, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9536
9627
  return { $loc, token: $1, type: "Async" };
9537
9628
  });
9538
9629
  function Async(state) {
@@ -9553,7 +9644,7 @@ ${input.slice(result.pos)}
9553
9644
  return result;
9554
9645
  }
9555
9646
  }
9556
- var Await$0 = $TS($S($EXPECT($L98, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9647
+ var Await$0 = $TS($S($EXPECT($L95, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9557
9648
  return { $loc, token: $1 };
9558
9649
  });
9559
9650
  function Await(state) {
@@ -9574,7 +9665,7 @@ ${input.slice(result.pos)}
9574
9665
  return result;
9575
9666
  }
9576
9667
  }
9577
- var Backtick$0 = $TV($EXPECT($L99, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9668
+ var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9578
9669
  return { $loc, token: $1 };
9579
9670
  });
9580
9671
  function Backtick(state) {
@@ -9595,7 +9686,7 @@ ${input.slice(result.pos)}
9595
9686
  return result;
9596
9687
  }
9597
9688
  }
9598
- var By$0 = $TS($S($EXPECT($L100, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9689
+ var By$0 = $TS($S($EXPECT($L97, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9599
9690
  return { $loc, token: $1 };
9600
9691
  });
9601
9692
  function By(state) {
@@ -9616,7 +9707,7 @@ ${input.slice(result.pos)}
9616
9707
  return result;
9617
9708
  }
9618
9709
  }
9619
- var Case$0 = $TS($S($EXPECT($L101, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9710
+ var Case$0 = $TS($S($EXPECT($L98, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9620
9711
  return { $loc, token: $1 };
9621
9712
  });
9622
9713
  function Case(state) {
@@ -9637,7 +9728,7 @@ ${input.slice(result.pos)}
9637
9728
  return result;
9638
9729
  }
9639
9730
  }
9640
- var Catch$0 = $TS($S($EXPECT($L102, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9731
+ var Catch$0 = $TS($S($EXPECT($L99, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9641
9732
  return { $loc, token: $1 };
9642
9733
  });
9643
9734
  function Catch(state) {
@@ -9658,7 +9749,7 @@ ${input.slice(result.pos)}
9658
9749
  return result;
9659
9750
  }
9660
9751
  }
9661
- var Class$0 = $TS($S($EXPECT($L103, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9752
+ var Class$0 = $TS($S($EXPECT($L100, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9662
9753
  return { $loc, token: $1 };
9663
9754
  });
9664
9755
  function Class(state) {
@@ -9679,7 +9770,7 @@ ${input.slice(result.pos)}
9679
9770
  return result;
9680
9771
  }
9681
9772
  }
9682
- var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9773
+ var CloseBrace$0 = $TV($EXPECT($L15, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9683
9774
  return { $loc, token: $1 };
9684
9775
  });
9685
9776
  function CloseBrace(state) {
@@ -9700,7 +9791,7 @@ ${input.slice(result.pos)}
9700
9791
  return result;
9701
9792
  }
9702
9793
  }
9703
- var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9794
+ var CloseBracket$0 = $TV($EXPECT($L26, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9704
9795
  return { $loc, token: $1 };
9705
9796
  });
9706
9797
  function CloseBracket(state) {
@@ -9721,7 +9812,7 @@ ${input.slice(result.pos)}
9721
9812
  return result;
9722
9813
  }
9723
9814
  }
9724
- var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9815
+ var CloseParen$0 = $TV($EXPECT($L13, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9725
9816
  return { $loc, token: $1 };
9726
9817
  });
9727
9818
  function CloseParen(state) {
@@ -9742,7 +9833,7 @@ ${input.slice(result.pos)}
9742
9833
  return result;
9743
9834
  }
9744
9835
  }
9745
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L104, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9836
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L101, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9746
9837
  return { $loc, token: "${" };
9747
9838
  });
9748
9839
  function CoffeeSubstitutionStart(state) {
@@ -9763,7 +9854,7 @@ ${input.slice(result.pos)}
9763
9854
  return result;
9764
9855
  }
9765
9856
  }
9766
- var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9857
+ var Colon$0 = $TV($EXPECT($L27, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9767
9858
  return { $loc, token: $1 };
9768
9859
  });
9769
9860
  function Colon(state) {
@@ -9784,7 +9875,7 @@ ${input.slice(result.pos)}
9784
9875
  return result;
9785
9876
  }
9786
9877
  }
9787
- var ConstructorShorthand$0 = $TV($EXPECT($L95, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9878
+ var ConstructorShorthand$0 = $TV($EXPECT($L92, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9788
9879
  return { $loc, token: "constructor" };
9789
9880
  });
9790
9881
  function ConstructorShorthand(state) {
@@ -9805,7 +9896,7 @@ ${input.slice(result.pos)}
9805
9896
  return result;
9806
9897
  }
9807
9898
  }
9808
- var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9899
+ var Default$0 = $TS($S($EXPECT($L83, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9809
9900
  return { $loc, token: $1 };
9810
9901
  });
9811
9902
  function Default(state) {
@@ -9826,7 +9917,7 @@ ${input.slice(result.pos)}
9826
9917
  return result;
9827
9918
  }
9828
9919
  }
9829
- var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9920
+ var Delete$0 = $TS($S($EXPECT($L102, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9830
9921
  return { $loc, token: $1 };
9831
9922
  });
9832
9923
  function Delete(state) {
@@ -9847,7 +9938,7 @@ ${input.slice(result.pos)}
9847
9938
  return result;
9848
9939
  }
9849
9940
  }
9850
- var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9941
+ var Do$0 = $TS($S($EXPECT($L103, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9851
9942
  return { $loc, token: $1 };
9852
9943
  });
9853
9944
  function Do(state) {
@@ -9868,7 +9959,7 @@ ${input.slice(result.pos)}
9868
9959
  return result;
9869
9960
  }
9870
9961
  }
9871
- var Dot$0 = $TV($EXPECT($L9, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9962
+ var Dot$0 = $TV($EXPECT($L7, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9872
9963
  return { $loc, token: $1 };
9873
9964
  });
9874
9965
  function Dot(state) {
@@ -9889,7 +9980,7 @@ ${input.slice(result.pos)}
9889
9980
  return result;
9890
9981
  }
9891
9982
  }
9892
- var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9983
+ var DotDot$0 = $TV($EXPECT($L104, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9893
9984
  return { $loc, token: $1 };
9894
9985
  });
9895
9986
  function DotDot(state) {
@@ -9910,7 +10001,7 @@ ${input.slice(result.pos)}
9910
10001
  return result;
9911
10002
  }
9912
10003
  }
9913
- var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
10004
+ var DotDotDot$0 = $TV($EXPECT($L105, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9914
10005
  return { $loc, token: $1 };
9915
10006
  });
9916
10007
  function DotDotDot(state) {
@@ -9931,7 +10022,7 @@ ${input.slice(result.pos)}
9931
10022
  return result;
9932
10023
  }
9933
10024
  }
9934
- var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
10025
+ var DoubleColon$0 = $TV($EXPECT($L106, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
9935
10026
  return { $loc, token: $1 };
9936
10027
  });
9937
10028
  function DoubleColon(state) {
@@ -9952,7 +10043,7 @@ ${input.slice(result.pos)}
9952
10043
  return result;
9953
10044
  }
9954
10045
  }
9955
- var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
10046
+ var DoubleQuote$0 = $TV($EXPECT($L107, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
9956
10047
  return { $loc, token: $1 };
9957
10048
  });
9958
10049
  function DoubleQuote(state) {
@@ -9973,7 +10064,7 @@ ${input.slice(result.pos)}
9973
10064
  return result;
9974
10065
  }
9975
10066
  }
9976
- var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10067
+ var Else$0 = $TS($S($EXPECT($L108, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9977
10068
  return { $loc, token: $1 };
9978
10069
  });
9979
10070
  function Else(state) {
@@ -9994,7 +10085,7 @@ ${input.slice(result.pos)}
9994
10085
  return result;
9995
10086
  }
9996
10087
  }
9997
- var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
10088
+ var Equals$0 = $TV($EXPECT($L24, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
9998
10089
  return { $loc, token: $1 };
9999
10090
  });
10000
10091
  function Equals(state) {
@@ -10015,7 +10106,7 @@ ${input.slice(result.pos)}
10015
10106
  return result;
10016
10107
  }
10017
10108
  }
10018
- var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10109
+ var Export$0 = $TS($S($EXPECT($L109, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10019
10110
  return { $loc, token: $1 };
10020
10111
  });
10021
10112
  function Export(state) {
@@ -10036,7 +10127,28 @@ ${input.slice(result.pos)}
10036
10127
  return result;
10037
10128
  }
10038
10129
  }
10039
- var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10130
+ var Extends$0 = $TS($S($EXPECT($L110, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10131
+ return { $loc, token: $1 };
10132
+ });
10133
+ function Extends(state) {
10134
+ if (state.events) {
10135
+ const result = state.events.enter?.("Extends", state);
10136
+ if (result)
10137
+ return result.cache;
10138
+ }
10139
+ if (state.tokenize) {
10140
+ const result = $TOKEN("Extends", state, Extends$0(state));
10141
+ if (state.events)
10142
+ state.events.exit?.("Extends", state, result);
10143
+ return result;
10144
+ } else {
10145
+ const result = Extends$0(state);
10146
+ if (state.events)
10147
+ state.events.exit?.("Extends", state, result);
10148
+ return result;
10149
+ }
10150
+ }
10151
+ var For$0 = $TS($S($EXPECT($L111, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10040
10152
  return { $loc, token: $1 };
10041
10153
  });
10042
10154
  function For(state) {
@@ -10057,7 +10169,7 @@ ${input.slice(result.pos)}
10057
10169
  return result;
10058
10170
  }
10059
10171
  }
10060
- var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10172
+ var From$0 = $TS($S($EXPECT($L112, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10061
10173
  return { $loc, token: $1 };
10062
10174
  });
10063
10175
  function From(state) {
@@ -10078,7 +10190,7 @@ ${input.slice(result.pos)}
10078
10190
  return result;
10079
10191
  }
10080
10192
  }
10081
- var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10193
+ var Function$0 = $TS($S($EXPECT($L113, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10082
10194
  return { $loc, token: $1 };
10083
10195
  });
10084
10196
  function Function(state) {
@@ -10099,7 +10211,7 @@ ${input.slice(result.pos)}
10099
10211
  return result;
10100
10212
  }
10101
10213
  }
10102
- var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10214
+ var GetOrSet$0 = $TS($S($C($EXPECT($L114, fail, 'GetOrSet "get"'), $EXPECT($L115, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10103
10215
  return { $loc, token: $1, type: "GetOrSet" };
10104
10216
  });
10105
10217
  function GetOrSet(state) {
@@ -10120,7 +10232,7 @@ ${input.slice(result.pos)}
10120
10232
  return result;
10121
10233
  }
10122
10234
  }
10123
- var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10235
+ var If$0 = $TV($TEXT($S($EXPECT($L116, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10124
10236
  return { $loc, token: $1 };
10125
10237
  });
10126
10238
  function If(state) {
@@ -10141,7 +10253,7 @@ ${input.slice(result.pos)}
10141
10253
  return result;
10142
10254
  }
10143
10255
  }
10144
- var Import$0 = $TS($S($EXPECT($L11, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10256
+ var Import$0 = $TS($S($EXPECT($L9, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10145
10257
  return { $loc, token: $1 };
10146
10258
  });
10147
10259
  function Import(state) {
@@ -10162,7 +10274,7 @@ ${input.slice(result.pos)}
10162
10274
  return result;
10163
10275
  }
10164
10276
  }
10165
- var In$0 = $TS($S($EXPECT($L74, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10277
+ var In$0 = $TS($S($EXPECT($L72, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10166
10278
  return { $loc, token: $1 };
10167
10279
  });
10168
10280
  function In(state) {
@@ -10183,7 +10295,7 @@ ${input.slice(result.pos)}
10183
10295
  return result;
10184
10296
  }
10185
10297
  }
10186
- var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10298
+ var LetOrConst$0 = $TS($S($C($EXPECT($L117, fail, 'LetOrConst "let"'), $EXPECT($L118, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10187
10299
  return { $loc, token: $1 };
10188
10300
  });
10189
10301
  function LetOrConst(state) {
@@ -10204,7 +10316,7 @@ ${input.slice(result.pos)}
10204
10316
  return result;
10205
10317
  }
10206
10318
  }
10207
- var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10319
+ var Loop$0 = $TS($S($EXPECT($L119, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10208
10320
  return { $loc, token: "while(true)" };
10209
10321
  });
10210
10322
  function Loop(state) {
@@ -10225,7 +10337,7 @@ ${input.slice(result.pos)}
10225
10337
  return result;
10226
10338
  }
10227
10339
  }
10228
- var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10340
+ var New$0 = $TS($S($EXPECT($L120, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10229
10341
  return { $loc, token: $1 };
10230
10342
  });
10231
10343
  function New(state) {
@@ -10246,7 +10358,7 @@ ${input.slice(result.pos)}
10246
10358
  return result;
10247
10359
  }
10248
10360
  }
10249
- var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L4, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10361
+ var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L71, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L4, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
10250
10362
  return { $loc, token: "!" };
10251
10363
  });
10252
10364
  function Not(state) {
@@ -10267,7 +10379,7 @@ ${input.slice(result.pos)}
10267
10379
  return result;
10268
10380
  }
10269
10381
  }
10270
- var Of$0 = $TS($S($EXPECT($L67, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10382
+ var Of$0 = $TS($S($EXPECT($L65, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10271
10383
  return { $loc, token: $1 };
10272
10384
  });
10273
10385
  function Of(state) {
@@ -10288,7 +10400,28 @@ ${input.slice(result.pos)}
10288
10400
  return result;
10289
10401
  }
10290
10402
  }
10291
- var OpenBrace$0 = $TV($EXPECT($L123, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10403
+ var OpenAngleBracket$0 = $TV($EXPECT($L121, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
10404
+ return { $loc, token: $1 };
10405
+ });
10406
+ function OpenAngleBracket(state) {
10407
+ if (state.events) {
10408
+ const result = state.events.enter?.("OpenAngleBracket", state);
10409
+ if (result)
10410
+ return result.cache;
10411
+ }
10412
+ if (state.tokenize) {
10413
+ const result = $TOKEN("OpenAngleBracket", state, OpenAngleBracket$0(state));
10414
+ if (state.events)
10415
+ state.events.exit?.("OpenAngleBracket", state, result);
10416
+ return result;
10417
+ } else {
10418
+ const result = OpenAngleBracket$0(state);
10419
+ if (state.events)
10420
+ state.events.exit?.("OpenAngleBracket", state, result);
10421
+ return result;
10422
+ }
10423
+ }
10424
+ var OpenBrace$0 = $TV($EXPECT($L122, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10292
10425
  return { $loc, token: $1 };
10293
10426
  });
10294
10427
  function OpenBrace(state) {
@@ -10309,7 +10442,7 @@ ${input.slice(result.pos)}
10309
10442
  return result;
10310
10443
  }
10311
10444
  }
10312
- var OpenBracket$0 = $TV($EXPECT($L124, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10445
+ var OpenBracket$0 = $TV($EXPECT($L123, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10313
10446
  return { $loc, token: $1 };
10314
10447
  });
10315
10448
  function OpenBracket(state) {
@@ -10330,7 +10463,7 @@ ${input.slice(result.pos)}
10330
10463
  return result;
10331
10464
  }
10332
10465
  }
10333
- var OpenParen$0 = $TV($EXPECT($L125, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10466
+ var OpenParen$0 = $TV($EXPECT($L124, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10334
10467
  return { $loc, token: $1 };
10335
10468
  });
10336
10469
  function OpenParen(state) {
@@ -10351,7 +10484,7 @@ ${input.slice(result.pos)}
10351
10484
  return result;
10352
10485
  }
10353
10486
  }
10354
- var Public$0 = $TS($S($EXPECT($L126, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10487
+ var Public$0 = $TS($S($EXPECT($L125, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10355
10488
  return { $loc, token: $1 };
10356
10489
  });
10357
10490
  function Public(state) {
@@ -10372,7 +10505,7 @@ ${input.slice(result.pos)}
10372
10505
  return result;
10373
10506
  }
10374
10507
  }
10375
- var Private$0 = $TS($S($EXPECT($L127, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10508
+ var Private$0 = $TS($S($EXPECT($L126, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10376
10509
  return { $loc, token: $1 };
10377
10510
  });
10378
10511
  function Private(state) {
@@ -10393,7 +10526,7 @@ ${input.slice(result.pos)}
10393
10526
  return result;
10394
10527
  }
10395
10528
  }
10396
- var Protected$0 = $TS($S($EXPECT($L128, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10529
+ var Protected$0 = $TS($S($EXPECT($L127, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10397
10530
  return { $loc, token: $1 };
10398
10531
  });
10399
10532
  function Protected(state) {
@@ -10414,7 +10547,7 @@ ${input.slice(result.pos)}
10414
10547
  return result;
10415
10548
  }
10416
10549
  }
10417
- var Pipe$0 = $TV($EXPECT($L129, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10550
+ var Pipe$0 = $TV($EXPECT($L128, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10418
10551
  return { $loc, token: $1 };
10419
10552
  });
10420
10553
  function Pipe(state) {
@@ -10435,7 +10568,7 @@ ${input.slice(result.pos)}
10435
10568
  return result;
10436
10569
  }
10437
10570
  }
10438
- var QuestionMark$0 = $TV($EXPECT($L71, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10571
+ var QuestionMark$0 = $TV($EXPECT($L69, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10439
10572
  return { $loc, token: $1 };
10440
10573
  });
10441
10574
  function QuestionMark(state) {
@@ -10456,7 +10589,7 @@ ${input.slice(result.pos)}
10456
10589
  return result;
10457
10590
  }
10458
10591
  }
10459
- var Readonly$0 = $TS($S($EXPECT($L130, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10592
+ var Readonly$0 = $TS($S($EXPECT($L129, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10460
10593
  return { $loc, token: $1, ts: true };
10461
10594
  });
10462
10595
  function Readonly(state) {
@@ -10477,7 +10610,7 @@ ${input.slice(result.pos)}
10477
10610
  return result;
10478
10611
  }
10479
10612
  }
10480
- var Return$0 = $TS($S($EXPECT($L131, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10613
+ var Return$0 = $TS($S($EXPECT($L130, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10481
10614
  return { $loc, token: $1 };
10482
10615
  });
10483
10616
  function Return(state) {
@@ -10498,7 +10631,7 @@ ${input.slice(result.pos)}
10498
10631
  return result;
10499
10632
  }
10500
10633
  }
10501
- var Satisfies$0 = $TS($S($EXPECT($L132, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10634
+ var Satisfies$0 = $TS($S($EXPECT($L131, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10502
10635
  return { $loc, token: $1 };
10503
10636
  });
10504
10637
  function Satisfies(state) {
@@ -10519,7 +10652,7 @@ ${input.slice(result.pos)}
10519
10652
  return result;
10520
10653
  }
10521
10654
  }
10522
- var Semicolon$0 = $TV($EXPECT($L79, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10655
+ var Semicolon$0 = $TV($EXPECT($L77, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10523
10656
  return { $loc, token: $1 };
10524
10657
  });
10525
10658
  function Semicolon(state) {
@@ -10540,7 +10673,7 @@ ${input.slice(result.pos)}
10540
10673
  return result;
10541
10674
  }
10542
10675
  }
10543
- var SingleQuote$0 = $TV($EXPECT($L133, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10676
+ var SingleQuote$0 = $TV($EXPECT($L132, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10544
10677
  return { $loc, token: $1 };
10545
10678
  });
10546
10679
  function SingleQuote(state) {
@@ -10561,7 +10694,7 @@ ${input.slice(result.pos)}
10561
10694
  return result;
10562
10695
  }
10563
10696
  }
10564
- var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10697
+ var Star$0 = $TV($EXPECT($L47, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10565
10698
  return { $loc, token: $1 };
10566
10699
  });
10567
10700
  function Star(state) {
@@ -10582,10 +10715,10 @@ ${input.slice(result.pos)}
10582
10715
  return result;
10583
10716
  }
10584
10717
  }
10585
- var Static$0 = $TS($S($EXPECT($L134, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10718
+ var Static$0 = $TS($S($EXPECT($L133, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10586
10719
  return { $loc, token: $1 };
10587
10720
  });
10588
- var Static$1 = $TS($S($EXPECT($L95, fail, 'Static "@"'), $N($C($EXPECT($L125, fail, 'Static "("'), $EXPECT($L95, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10721
+ var Static$1 = $TS($S($EXPECT($L92, fail, 'Static "@"'), $N($C($EXPECT($L124, fail, 'Static "("'), $EXPECT($L92, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
10589
10722
  return { $loc, token: "static " };
10590
10723
  });
10591
10724
  function Static(state) {
@@ -10606,7 +10739,7 @@ ${input.slice(result.pos)}
10606
10739
  return result;
10607
10740
  }
10608
10741
  }
10609
- var SubstitutionStart$0 = $TV($EXPECT($L135, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10742
+ var SubstitutionStart$0 = $TV($EXPECT($L134, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10610
10743
  return { $loc, token: $1 };
10611
10744
  });
10612
10745
  function SubstitutionStart(state) {
@@ -10627,7 +10760,7 @@ ${input.slice(result.pos)}
10627
10760
  return result;
10628
10761
  }
10629
10762
  }
10630
- var Switch$0 = $TS($S($EXPECT($L136, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10763
+ var Switch$0 = $TS($S($EXPECT($L135, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10631
10764
  return { $loc, token: $1 };
10632
10765
  });
10633
10766
  function Switch(state) {
@@ -10648,7 +10781,7 @@ ${input.slice(result.pos)}
10648
10781
  return result;
10649
10782
  }
10650
10783
  }
10651
- var Target$0 = $TS($S($EXPECT($L137, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10784
+ var Target$0 = $TS($S($EXPECT($L136, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10652
10785
  return { $loc, token: $1 };
10653
10786
  });
10654
10787
  function Target(state) {
@@ -10669,7 +10802,7 @@ ${input.slice(result.pos)}
10669
10802
  return result;
10670
10803
  }
10671
10804
  }
10672
- var Then$0 = $TS($S(__, $EXPECT($L138, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10805
+ var Then$0 = $TS($S(__, $EXPECT($L137, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10673
10806
  return { $loc, token: "" };
10674
10807
  });
10675
10808
  function Then(state) {
@@ -10690,7 +10823,7 @@ ${input.slice(result.pos)}
10690
10823
  return result;
10691
10824
  }
10692
10825
  }
10693
- var This$0 = $TS($S($EXPECT($L139, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10826
+ var This$0 = $TS($S($EXPECT($L138, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10694
10827
  return { $loc, token: $1 };
10695
10828
  });
10696
10829
  function This(state) {
@@ -10711,7 +10844,7 @@ ${input.slice(result.pos)}
10711
10844
  return result;
10712
10845
  }
10713
10846
  }
10714
- var Throw$0 = $TS($S($EXPECT($L140, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10847
+ var Throw$0 = $TS($S($EXPECT($L139, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10715
10848
  return { $loc, token: $1 };
10716
10849
  });
10717
10850
  function Throw(state) {
@@ -10732,7 +10865,7 @@ ${input.slice(result.pos)}
10732
10865
  return result;
10733
10866
  }
10734
10867
  }
10735
- var TripleDoubleQuote$0 = $TV($EXPECT($L141, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10868
+ var TripleDoubleQuote$0 = $TV($EXPECT($L140, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10736
10869
  return { $loc, token: "`" };
10737
10870
  });
10738
10871
  function TripleDoubleQuote(state) {
@@ -10753,7 +10886,7 @@ ${input.slice(result.pos)}
10753
10886
  return result;
10754
10887
  }
10755
10888
  }
10756
- var TripleSingleQuote$0 = $TV($EXPECT($L142, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10889
+ var TripleSingleQuote$0 = $TV($EXPECT($L141, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10757
10890
  return { $loc, token: "`" };
10758
10891
  });
10759
10892
  function TripleSingleQuote(state) {
@@ -10774,7 +10907,7 @@ ${input.slice(result.pos)}
10774
10907
  return result;
10775
10908
  }
10776
10909
  }
10777
- var TripleSlash$0 = $TV($EXPECT($L143, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10910
+ var TripleSlash$0 = $TV($EXPECT($L142, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10778
10911
  return { $loc, token: "/" };
10779
10912
  });
10780
10913
  function TripleSlash(state) {
@@ -10795,7 +10928,7 @@ ${input.slice(result.pos)}
10795
10928
  return result;
10796
10929
  }
10797
10930
  }
10798
- var TripleTick$0 = $TV($EXPECT($L144, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10931
+ var TripleTick$0 = $TV($EXPECT($L143, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10799
10932
  return { $loc, token: "`" };
10800
10933
  });
10801
10934
  function TripleTick(state) {
@@ -10816,7 +10949,7 @@ ${input.slice(result.pos)}
10816
10949
  return result;
10817
10950
  }
10818
10951
  }
10819
- var Try$0 = $TS($S($EXPECT($L145, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10952
+ var Try$0 = $TS($S($EXPECT($L144, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10820
10953
  return { $loc, token: $1 };
10821
10954
  });
10822
10955
  function Try(state) {
@@ -10837,7 +10970,7 @@ ${input.slice(result.pos)}
10837
10970
  return result;
10838
10971
  }
10839
10972
  }
10840
- var Typeof$0 = $TS($S($EXPECT($L146, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10973
+ var Typeof$0 = $TS($S($EXPECT($L145, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10841
10974
  return { $loc, token: $1 };
10842
10975
  });
10843
10976
  function Typeof(state) {
@@ -10858,7 +10991,7 @@ ${input.slice(result.pos)}
10858
10991
  return result;
10859
10992
  }
10860
10993
  }
10861
- var Unless$0 = $TS($S($EXPECT($L147, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10994
+ var Unless$0 = $TS($S($EXPECT($L146, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10862
10995
  return { $loc, token: $1 };
10863
10996
  });
10864
10997
  function Unless(state) {
@@ -10879,7 +11012,7 @@ ${input.slice(result.pos)}
10879
11012
  return result;
10880
11013
  }
10881
11014
  }
10882
- var Until$0 = $TS($S($EXPECT($L148, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11015
+ var Until$0 = $TS($S($EXPECT($L147, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10883
11016
  return { $loc, token: $1 };
10884
11017
  });
10885
11018
  function Until(state) {
@@ -10900,7 +11033,7 @@ ${input.slice(result.pos)}
10900
11033
  return result;
10901
11034
  }
10902
11035
  }
10903
- var Var$0 = $TS($S($EXPECT($L149, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11036
+ var Var$0 = $TS($S($EXPECT($L148, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10904
11037
  return { $loc, token: $1 };
10905
11038
  });
10906
11039
  function Var(state) {
@@ -10921,7 +11054,7 @@ ${input.slice(result.pos)}
10921
11054
  return result;
10922
11055
  }
10923
11056
  }
10924
- var Void$0 = $TS($S($EXPECT($L150, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11057
+ var Void$0 = $TS($S($EXPECT($L149, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10925
11058
  return { $loc, token: $1 };
10926
11059
  });
10927
11060
  function Void(state) {
@@ -10942,7 +11075,7 @@ ${input.slice(result.pos)}
10942
11075
  return result;
10943
11076
  }
10944
11077
  }
10945
- var When$0 = $TS($S($EXPECT($L151, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11078
+ var When$0 = $TS($S($EXPECT($L150, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10946
11079
  return { $loc, token: "case" };
10947
11080
  });
10948
11081
  function When(state) {
@@ -10963,7 +11096,7 @@ ${input.slice(result.pos)}
10963
11096
  return result;
10964
11097
  }
10965
11098
  }
10966
- var While$0 = $TS($S($EXPECT($L152, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11099
+ var While$0 = $TS($S($EXPECT($L151, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10967
11100
  return { $loc, token: $1 };
10968
11101
  });
10969
11102
  function While(state) {
@@ -10984,7 +11117,7 @@ ${input.slice(result.pos)}
10984
11117
  return result;
10985
11118
  }
10986
11119
  }
10987
- var Yield$0 = $TS($S($EXPECT($L153, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11120
+ var Yield$0 = $TS($S($EXPECT($L152, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10988
11121
  return { $loc, token: $1 };
10989
11122
  });
10990
11123
  function Yield(state) {
@@ -11100,7 +11233,7 @@ ${input.slice(result.pos)}
11100
11233
  return result;
11101
11234
  }
11102
11235
  }
11103
- var JSXSelfClosingElement$0 = $TS($S($EXPECT($L5, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L154, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
11236
+ var JSXSelfClosingElement$0 = $TS($S($EXPECT($L121, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L153, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
11104
11237
  return { type: "JSXElement", children: $0 };
11105
11238
  });
11106
11239
  function JSXSelfClosingElement(state) {
@@ -11121,7 +11254,7 @@ ${input.slice(result.pos)}
11121
11254
  return result;
11122
11255
  }
11123
11256
  }
11124
- var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
11257
+ var JSXOpeningElement$0 = $S($EXPECT($L121, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
11125
11258
  function JSXOpeningElement(state) {
11126
11259
  if (state.events) {
11127
11260
  const result = state.events.enter?.("JSXOpeningElement", state);
@@ -11140,7 +11273,7 @@ ${input.slice(result.pos)}
11140
11273
  return result;
11141
11274
  }
11142
11275
  }
11143
- var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
11276
+ var JSXClosingElement$0 = $S($EXPECT($L154, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L25, fail, 'JSXClosingElement ">"'));
11144
11277
  function JSXClosingElement(state) {
11145
11278
  if (state.events) {
11146
11279
  const result = state.events.enter?.("JSXClosingElement", state);
@@ -11159,14 +11292,14 @@ ${input.slice(result.pos)}
11159
11292
  return result;
11160
11293
  }
11161
11294
  }
11162
- var JSXFragment$0 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), $EXPECT($L157, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
11295
+ var JSXFragment$0 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), $EXPECT($L156, fail, 'JSXFragment "</>"')), function($skip, $loc, $0, $1, $2, $3, $4) {
11163
11296
  if ($2) {
11164
11297
  return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
11165
11298
  } else {
11166
11299
  return { type: "JSXFragment", children: $0, jsxChildren: [] };
11167
11300
  }
11168
11301
  });
11169
- var JSXFragment$1 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11302
+ var JSXFragment$1 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11170
11303
  return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
11171
11304
  });
11172
11305
  function JSXFragment(state) {
@@ -11377,7 +11510,7 @@ ${input.slice(result.pos)}
11377
11510
  }
11378
11511
  });
11379
11512
  var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace);
11380
- var JSXAttribute$3 = $TS($S($EXPECT($L8, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11513
+ var JSXAttribute$3 = $TS($S($EXPECT($L6, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11381
11514
  return [" ", "id=", $2];
11382
11515
  });
11383
11516
  var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -11640,8 +11773,8 @@ ${input.slice(result.pos)}
11640
11773
  return result;
11641
11774
  }
11642
11775
  }
11643
- var InlineJSXCallExpression$0 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11644
- var InlineJSXCallExpression$1 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11776
+ var InlineJSXCallExpression$0 = $S($EXPECT($L8, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11777
+ var InlineJSXCallExpression$1 = $S($EXPECT($L9, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11645
11778
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
11646
11779
  if ($2.length)
11647
11780
  return $0;
@@ -11828,7 +11961,7 @@ ${input.slice(result.pos)}
11828
11961
  }
11829
11962
  return $skip;
11830
11963
  });
11831
- var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11964
+ var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L15, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11832
11965
  return { children: [], jsxChildren: [] };
11833
11966
  });
11834
11967
  function JSXNestedChildren(state) {
@@ -11895,7 +12028,7 @@ ${input.slice(result.pos)}
11895
12028
  return result;
11896
12029
  }
11897
12030
  }
11898
- var JSXComment$0 = $TS($S($EXPECT($L158, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L159, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
12031
+ var JSXComment$0 = $TS($S($EXPECT($L157, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L158, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
11899
12032
  return ["{/*", $2, "*/}"];
11900
12033
  });
11901
12034
  function JSXComment(state) {
@@ -12044,7 +12177,7 @@ ${input.slice(result.pos)}
12044
12177
  return result;
12045
12178
  }
12046
12179
  }
12047
- var TypeDeclarationModifier$0 = $S($EXPECT($L160, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12180
+ var TypeDeclarationModifier$0 = $S($EXPECT($L159, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12048
12181
  var TypeDeclarationModifier$1 = Export;
12049
12182
  function TypeDeclarationModifier(state) {
12050
12183
  if (state.events) {
@@ -12086,7 +12219,7 @@ ${input.slice(result.pos)}
12086
12219
  return result;
12087
12220
  }
12088
12221
  }
12089
- var TypeKeyword$0 = $S($EXPECT($L161, fail, 'TypeKeyword "type"'), NonIdContinue);
12222
+ var TypeKeyword$0 = $S($EXPECT($L160, fail, 'TypeKeyword "type"'), NonIdContinue);
12090
12223
  function TypeKeyword(state) {
12091
12224
  if (state.events) {
12092
12225
  const result = state.events.enter?.("TypeKeyword", state);
@@ -12105,7 +12238,7 @@ ${input.slice(result.pos)}
12105
12238
  return result;
12106
12239
  }
12107
12240
  }
12108
- var Interface$0 = $S($EXPECT($L162, fail, 'Interface "interface"'), NonIdContinue);
12241
+ var Interface$0 = $S($EXPECT($L161, fail, 'Interface "interface"'), NonIdContinue);
12109
12242
  function Interface(state) {
12110
12243
  if (state.events) {
12111
12244
  const result = state.events.enter?.("Interface", state);
@@ -12124,7 +12257,7 @@ ${input.slice(result.pos)}
12124
12257
  return result;
12125
12258
  }
12126
12259
  }
12127
- var Namespace$0 = $S($EXPECT($L163, fail, 'Namespace "namespace"'), NonIdContinue);
12260
+ var Namespace$0 = $S($EXPECT($L162, fail, 'Namespace "namespace"'), NonIdContinue);
12128
12261
  function Namespace(state) {
12129
12262
  if (state.events) {
12130
12263
  const result = state.events.enter?.("Namespace", state);
@@ -12313,7 +12446,7 @@ ${input.slice(result.pos)}
12313
12446
  return result;
12314
12447
  }
12315
12448
  }
12316
- var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L130, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
12449
+ var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L129, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
12317
12450
  function TypeIndexSignature(state) {
12318
12451
  if (state.events) {
12319
12452
  const result = state.events.enter?.("TypeIndexSignature", state);
@@ -12373,7 +12506,7 @@ ${input.slice(result.pos)}
12373
12506
  return result;
12374
12507
  }
12375
12508
  }
12376
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L164, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12509
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L163, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12377
12510
  const children = [...$1, $2];
12378
12511
  if ($3)
12379
12512
  children.push($3);
@@ -12402,7 +12535,7 @@ ${input.slice(result.pos)}
12402
12535
  return result;
12403
12536
  }
12404
12537
  }
12405
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L75, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12538
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L73, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12406
12539
  if (!$2)
12407
12540
  return $1;
12408
12541
  return $0;
@@ -12508,10 +12641,10 @@ ${input.slice(result.pos)}
12508
12641
  return result;
12509
12642
  }
12510
12643
  }
12511
- var TypeUnaryOp$0 = $S($EXPECT($L165, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12512
- var TypeUnaryOp$1 = $S($EXPECT($L146, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12513
- var TypeUnaryOp$2 = $S($EXPECT($L166, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12514
- var TypeUnaryOp$3 = $S($EXPECT($L130, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12644
+ var TypeUnaryOp$0 = $S($EXPECT($L164, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12645
+ var TypeUnaryOp$1 = $S($EXPECT($L145, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12646
+ var TypeUnaryOp$2 = $S($EXPECT($L165, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12647
+ var TypeUnaryOp$3 = $S($EXPECT($L129, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12515
12648
  function TypeUnaryOp(state) {
12516
12649
  if (state.events) {
12517
12650
  const result = state.events.enter?.("TypeUnaryOp", state);
@@ -12655,7 +12788,7 @@ ${input.slice(result.pos)}
12655
12788
  return result;
12656
12789
  }
12657
12790
  }
12658
- var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L6, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
12791
+ var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L110, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
12659
12792
  if ($2)
12660
12793
  return $0;
12661
12794
  return $1;
@@ -12680,10 +12813,10 @@ ${input.slice(result.pos)}
12680
12813
  }
12681
12814
  var TypeLiteral$0 = Literal;
12682
12815
  var TypeLiteral$1 = TemplateLiteral;
12683
- var TypeLiteral$2 = $TS($S($EXPECT($L150, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12816
+ var TypeLiteral$2 = $TS($S($EXPECT($L149, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12684
12817
  return { $loc, token: "void" };
12685
12818
  });
12686
- var TypeLiteral$3 = $TV($EXPECT($L167, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12819
+ var TypeLiteral$3 = $TV($EXPECT($L166, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12687
12820
  return { $loc, token: "[]" };
12688
12821
  });
12689
12822
  function TypeLiteral(state) {
@@ -12704,10 +12837,10 @@ ${input.slice(result.pos)}
12704
12837
  return result;
12705
12838
  }
12706
12839
  }
12707
- var TypeBinaryOp$0 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12840
+ var TypeBinaryOp$0 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12708
12841
  return { $loc, token: "|" };
12709
12842
  });
12710
- var TypeBinaryOp$1 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12843
+ var TypeBinaryOp$1 = $TV($EXPECT($L74, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12711
12844
  return { $loc, token: "&" };
12712
12845
  });
12713
12846
  function TypeBinaryOp(state) {
@@ -12747,7 +12880,7 @@ ${input.slice(result.pos)}
12747
12880
  return result;
12748
12881
  }
12749
12882
  }
12750
- var TypeArguments$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12883
+ var TypeArguments$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12751
12884
  return { ts: true, children: $0 };
12752
12885
  });
12753
12886
  function TypeArguments(state) {
@@ -12768,7 +12901,7 @@ ${input.slice(result.pos)}
12768
12901
  return result;
12769
12902
  }
12770
12903
  }
12771
- var CompactTypeArguments$0 = $TS($S($EXPECT($L5, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12904
+ var CompactTypeArguments$0 = $TS($S($EXPECT($L121, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12772
12905
  return { ts: true, children: $0 };
12773
12906
  });
12774
12907
  function CompactTypeArguments(state) {
@@ -12827,7 +12960,7 @@ ${input.slice(result.pos)}
12827
12960
  return result;
12828
12961
  }
12829
12962
  }
12830
- var TypeParameters$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12963
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12831
12964
  var parameters = $3;
12832
12965
  return {
12833
12966
  type: "TypeParameters",
@@ -12854,7 +12987,7 @@ ${input.slice(result.pos)}
12854
12987
  return result;
12855
12988
  }
12856
12989
  }
12857
- var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), TypeParameterDelimiter);
12990
+ var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
12858
12991
  function TypeParameter(state) {
12859
12992
  if (state.events) {
12860
12993
  const result = state.events.enter?.("TypeParameter", state);
@@ -12873,7 +13006,7 @@ ${input.slice(result.pos)}
12873
13006
  return result;
12874
13007
  }
12875
13008
  }
12876
- var TypeConstraint$0 = $S(__, $EXPECT($L6, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
13009
+ var TypeConstraint$0 = $S(__, $EXPECT($L110, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
12877
13010
  function TypeConstraint(state) {
12878
13011
  if (state.events) {
12879
13012
  const result = state.events.enter?.("TypeConstraint", state);
@@ -12892,8 +13025,27 @@ ${input.slice(result.pos)}
12892
13025
  return result;
12893
13026
  }
12894
13027
  }
13028
+ var TypeInitializer$0 = $S(__, $EXPECT($L24, fail, 'TypeInitializer "="'), Type);
13029
+ function TypeInitializer(state) {
13030
+ if (state.events) {
13031
+ const result = state.events.enter?.("TypeInitializer", state);
13032
+ if (result)
13033
+ return result.cache;
13034
+ }
13035
+ if (state.tokenize) {
13036
+ const result = $TOKEN("TypeInitializer", state, TypeInitializer$0(state));
13037
+ if (state.events)
13038
+ state.events.exit?.("TypeInitializer", state, result);
13039
+ return result;
13040
+ } else {
13041
+ const result = TypeInitializer$0(state);
13042
+ if (state.events)
13043
+ state.events.exit?.("TypeInitializer", state, result);
13044
+ return result;
13045
+ }
13046
+ }
12895
13047
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
12896
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
13048
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L25, fail, 'TypeParameterDelimiter ">"')));
12897
13049
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
12898
13050
  return value[1];
12899
13051
  });
@@ -12960,7 +13112,7 @@ ${input.slice(result.pos)}
12960
13112
  return result;
12961
13113
  }
12962
13114
  }
12963
- var CivetPrologueContent$0 = $TS($S($EXPECT($L168, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
13115
+ var CivetPrologueContent$0 = $TS($S($EXPECT($L167, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
12964
13116
  var options = $3;
12965
13117
  return {
12966
13118
  type: "CivetPrologue",
@@ -13848,7 +14000,7 @@ ${input.slice(result.pos)}
13848
14000
  if (type.length === 1) {
13849
14001
  return type[0];
13850
14002
  } else {
13851
- type = type.map((t) => [t, ", "]).flat();
14003
+ type = type.flatMap((t) => [t, ", "]);
13852
14004
  type.pop();
13853
14005
  return ["[", type, "]"];
13854
14006
  }
@@ -15517,7 +15669,7 @@ ${input.slice(result.pos)}
15517
15669
  ({ parse } = import_parser.default);
15518
15670
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
15519
15671
  defaultOptions = {};
15520
- uncacheable = /* @__PURE__ */ new Set(["TrackIndented", "Samedent", "IndentedFurther", "PushIndent", "PopIndent", "Nested", "InsertIndent", "Arguments", "ArgumentsWithTrailingCallExpressions", "ApplicationStart", "CallExpression", "CallExpressionRest", "LeftHandSideExpression", "ActualAssignment", "UpdateExpression", "UnaryExpression", "BinaryOpExpression", "BinaryOpRHS", "ConditionalExpression", "ShortCircuitExpression", "InlineObjectLiteral", "ImplicitInlineObjectPropertyDelimiter", "FatArrowBody", "ThinArrowFunction", "ArrowFunctionTail", "ArrowFunction", "ImplicitNestedBlock", "BracedBlock", "BracedOrEmptyBlock", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatements", "SingleLineStatements", "ExpressionStatement", "Statement", "IndentedJSXChildExpression", "NestedJSXChildExpression", "ObjectLiteral", "NestedObject", "NestedImplicitObjectLiteral", "BracedObjectLiteralContent", "NestedPropertyDefinitions", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedBlockStatement", "NestedElement", "NestedElementList", "NestedBindingElement", "NestedBindingElements", "NestedInterfaceProperty", "MemberExpression", "PrimaryExpression", "IndentedApplicationAllowed", "ExpressionWithIndentedApplicationSuppressed", "SuppressIndentedApplication", "AssignmentExpressionTail", "AssignmentExpression", "ExtendedExpression", "Expression", "MemberExpressionRest", "ElseClause", "CoffeeCommentEnabled", "SingleLineComment", "Debugger", "JSXImplicitFragment", "JSXTag", "JSXElement", "TypedJSXElement", "JSXFragment", "TypedJSXFragment", "JSXChild", "JSXChildren", "JSXNestedChildren", "JSXMixedChildren"]);
15672
+ uncacheable = /* @__PURE__ */ new Set(["TrackIndented", "Samedent", "IndentedFurther", "PushIndent", "PopIndent", "Nested", "InsertIndent", "Arguments", "ArgumentsWithTrailingCallExpressions", "ApplicationStart", "CallExpression", "CallExpressionRest", "LeftHandSideExpression", "ActualAssignment", "UpdateExpression", "UnaryExpression", "BinaryOpExpression", "BinaryOpRHS", "ConditionalExpression", "ShortCircuitExpression", "InlineObjectLiteral", "ImplicitInlineObjectPropertyDelimiter", "FatArrowBody", "ThinArrowFunction", "ArrowFunctionTail", "ArrowFunction", "ImplicitNestedBlock", "BracedBlock", "BracedOrEmptyBlock", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatements", "SingleLineStatements", "ExpressionStatement", "Statement", "IndentedJSXChildExpression", "NestedJSXChildExpression", "ObjectLiteral", "NestedObject", "NestedImplicitObjectLiteral", "BracedObjectLiteralContent", "NestedPropertyDefinitions", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedBlockStatement", "NestedElement", "NestedElementList", "NestedBindingElement", "NestedBindingElements", "NestedInterfaceProperty", "SnugNamedProperty", "MemberExpression", "PrimaryExpression", "IndentedApplicationAllowed", "ExpressionWithIndentedApplicationSuppressed", "SuppressIndentedApplication", "AssignmentExpressionTail", "AssignmentExpression", "ExtendedExpression", "Expression", "MemberExpressionRest", "ElseClause", "CoffeeCommentEnabled", "SingleLineComment", "Debugger", "JSXImplicitFragment", "JSXTag", "JSXElement", "TypedJSXElement", "JSXFragment", "TypedJSXFragment", "JSXChild", "JSXChildren", "JSXNestedChildren", "JSXMixedChildren"]);
15521
15673
  var compile = function(src, options = defaultOptions) {
15522
15674
  var ast, code, events, filename, sm, srcMapJSON;
15523
15675
  filename = options.filename || "unknown";