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