@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.mjs CHANGED
@@ -495,6 +495,7 @@ ${input.slice(result.pos)}
495
495
  ParameterElement,
496
496
  ParameterElementDelimiter,
497
497
  BindingIdentifier,
498
+ NWBindingIdentifier,
498
499
  AtIdentifierRef,
499
500
  BindingPattern,
500
501
  ObjectBindingPattern,
@@ -641,6 +642,7 @@ ${input.slice(result.pos)}
641
642
  NameSpaceImport,
642
643
  NamedImports,
643
644
  FromClause,
645
+ TypeAndImportSpecifier,
644
646
  ImportSpecifier,
645
647
  ModuleExportName,
646
648
  ModuleSpecifier,
@@ -650,6 +652,7 @@ ${input.slice(result.pos)}
650
652
  ExportDeclaration,
651
653
  ExportVarDec,
652
654
  ExportFromClause,
655
+ TypeAndNamedExports,
653
656
  NamedExports,
654
657
  ExportSpecifier,
655
658
  ImplicitExportSpecifier,
@@ -744,6 +747,7 @@ ${input.slice(result.pos)}
744
747
  Else,
745
748
  Equals,
746
749
  Export,
750
+ Extends,
747
751
  For,
748
752
  From,
749
753
  Function,
@@ -756,6 +760,7 @@ ${input.slice(result.pos)}
756
760
  New,
757
761
  Not,
758
762
  Of,
763
+ OpenAngleBracket,
759
764
  OpenBrace,
760
765
  OpenBracket,
761
766
  OpenParen,
@@ -867,6 +872,7 @@ ${input.slice(result.pos)}
867
872
  TypeParameters,
868
873
  TypeParameter,
869
874
  TypeConstraint,
875
+ TypeInitializer,
870
876
  TypeParameterDelimiter,
871
877
  Shebang,
872
878
  CivetPrologue,
@@ -918,170 +924,169 @@ ${input.slice(result.pos)}
918
924
  var $L2 = $L("--");
919
925
  var $L3 = $L("=>");
920
926
  var $L4 = $L(" ");
921
- var $L5 = $L("<");
922
- var $L6 = $L("extends");
923
- var $L7 = $L("implements");
924
- var $L8 = $L("#");
925
- var $L9 = $L(".");
926
- var $L10 = $L("super");
927
- var $L11 = $L("import");
928
- var $L12 = $L("!");
929
- var $L13 = $L("super[");
930
- var $L14 = $L("import.meta");
931
- var $L15 = $L(")");
932
- var $L16 = $L("->");
933
- var $L17 = $L("}");
934
- var $L18 = $L("null");
935
- var $L19 = $L("true");
936
- var $L20 = $L("false");
937
- var $L21 = $L("yes");
938
- var $L22 = $L("on");
939
- var $L23 = $L("no");
940
- var $L24 = $L("off");
941
- var $L25 = $L(",");
942
- var $L26 = $L("=");
943
- var $L27 = $L(">");
944
- var $L28 = $L("]");
945
- var $L29 = $L(":");
946
- var $L30 = $L("**=");
947
- var $L31 = $L("*=");
948
- var $L32 = $L("/=");
949
- var $L33 = $L("%=");
950
- var $L34 = $L("+=");
951
- var $L35 = $L("-=");
952
- var $L36 = $L("<<=");
953
- var $L37 = $L(">>>=");
954
- var $L38 = $L(">>=");
955
- var $L39 = $L("&&=");
956
- var $L40 = $L("&=");
957
- var $L41 = $L("^=");
958
- var $L42 = $L("||=");
959
- var $L43 = $L("|=");
960
- var $L44 = $L("??=");
961
- var $L45 = $L("?=");
962
- var $L46 = $L("and=");
963
- var $L47 = $L("or=");
964
- var $L48 = $L("**");
965
- var $L49 = $L("*");
966
- var $L50 = $L("/");
967
- var $L51 = $L("%%");
968
- var $L52 = $L("%");
969
- var $L53 = $L("+");
970
- var $L54 = $L("-");
971
- var $L55 = $L("<=");
972
- var $L56 = $L(">=");
973
- var $L57 = $L("<<");
974
- var $L58 = $L(">>>");
975
- var $L59 = $L(">>");
976
- var $L60 = $L("!==");
977
- var $L61 = $L("!=");
978
- var $L62 = $L("isnt");
979
- var $L63 = $L("===");
980
- var $L64 = $L("==");
981
- var $L65 = $L("and");
982
- var $L66 = $L("&&");
983
- var $L67 = $L("of");
984
- var $L68 = $L("or");
985
- var $L69 = $L("||");
986
- var $L70 = $L("??");
987
- var $L71 = $L("?");
988
- var $L72 = $L("instanceof");
989
- var $L73 = $L("not");
990
- var $L74 = $L("in");
991
- var $L75 = $L("is");
992
- var $L76 = $L("&");
993
- var $L77 = $L("^");
994
- var $L78 = $L("|");
995
- var $L79 = $L(";");
996
- var $L80 = $L("own");
997
- var $L81 = $L("finally");
998
- var $L82 = $L("break");
999
- var $L83 = $L("continue");
1000
- var $L84 = $L("debugger");
1001
- var $L85 = $L("import type");
1002
- var $L86 = $L("default");
1003
- var $L87 = $L(":=");
1004
- var $L88 = $L("::=");
1005
- var $L89 = $L(".=");
1006
- var $L90 = $L("/*");
1007
- var $L91 = $L("*/");
1008
- var $L92 = $L("\\");
1009
- var $L93 = $L("abstract");
1010
- var $L94 = $L("as");
1011
- var $L95 = $L("@");
1012
- var $L96 = $L("@@");
1013
- var $L97 = $L("async");
1014
- var $L98 = $L("await");
1015
- var $L99 = $L("`");
1016
- var $L100 = $L("by");
1017
- var $L101 = $L("case");
1018
- var $L102 = $L("catch");
1019
- var $L103 = $L("class");
1020
- var $L104 = $L("#{");
1021
- var $L105 = $L("delete");
1022
- var $L106 = $L("do");
1023
- var $L107 = $L("..");
1024
- var $L108 = $L("...");
1025
- var $L109 = $L("::");
1026
- var $L110 = $L('"');
1027
- var $L111 = $L("else");
1028
- var $L112 = $L("export");
1029
- var $L113 = $L("for");
1030
- var $L114 = $L("from");
1031
- var $L115 = $L("function");
1032
- var $L116 = $L("get");
1033
- var $L117 = $L("set");
1034
- var $L118 = $L("if");
1035
- var $L119 = $L("let");
1036
- var $L120 = $L("const");
1037
- var $L121 = $L("loop");
1038
- var $L122 = $L("new");
1039
- var $L123 = $L("{");
1040
- var $L124 = $L("[");
1041
- var $L125 = $L("(");
1042
- var $L126 = $L("public");
1043
- var $L127 = $L("private");
1044
- var $L128 = $L("protected");
1045
- var $L129 = $L("|>");
1046
- var $L130 = $L("readonly");
1047
- var $L131 = $L("return");
1048
- var $L132 = $L("satisfies");
1049
- var $L133 = $L("'");
1050
- var $L134 = $L("static");
1051
- var $L135 = $L("${");
1052
- var $L136 = $L("switch");
1053
- var $L137 = $L("target");
1054
- var $L138 = $L("then");
1055
- var $L139 = $L("this");
1056
- var $L140 = $L("throw");
1057
- var $L141 = $L('"""');
1058
- var $L142 = $L("'''");
1059
- var $L143 = $L("///");
1060
- var $L144 = $L("```");
1061
- var $L145 = $L("try");
1062
- var $L146 = $L("typeof");
1063
- var $L147 = $L("unless");
1064
- var $L148 = $L("until");
1065
- var $L149 = $L("var");
1066
- var $L150 = $L("void");
1067
- var $L151 = $L("when");
1068
- var $L152 = $L("while");
1069
- var $L153 = $L("yield");
1070
- var $L154 = $L("/>");
1071
- var $L155 = $L("</");
1072
- var $L156 = $L("<>");
1073
- var $L157 = $L("</>");
1074
- var $L158 = $L("<!--");
1075
- var $L159 = $L("-->");
1076
- var $L160 = $L("declare");
1077
- var $L161 = $L("type");
1078
- var $L162 = $L("interface");
1079
- var $L163 = $L("namespace");
1080
- var $L164 = $L("asserts");
1081
- var $L165 = $L("keyof");
1082
- var $L166 = $L("infer");
1083
- var $L167 = $L("[]");
1084
- var $L168 = $L("civet");
927
+ var $L5 = $L("implements");
928
+ var $L6 = $L("#");
929
+ var $L7 = $L(".");
930
+ var $L8 = $L("super");
931
+ var $L9 = $L("import");
932
+ var $L10 = $L("!");
933
+ var $L11 = $L("super[");
934
+ var $L12 = $L("import.meta");
935
+ var $L13 = $L(")");
936
+ var $L14 = $L("->");
937
+ var $L15 = $L("}");
938
+ var $L16 = $L("null");
939
+ var $L17 = $L("true");
940
+ var $L18 = $L("false");
941
+ var $L19 = $L("yes");
942
+ var $L20 = $L("on");
943
+ var $L21 = $L("no");
944
+ var $L22 = $L("off");
945
+ var $L23 = $L(",");
946
+ var $L24 = $L("=");
947
+ var $L25 = $L(">");
948
+ var $L26 = $L("]");
949
+ var $L27 = $L(":");
950
+ var $L28 = $L("**=");
951
+ var $L29 = $L("*=");
952
+ var $L30 = $L("/=");
953
+ var $L31 = $L("%=");
954
+ var $L32 = $L("+=");
955
+ var $L33 = $L("-=");
956
+ var $L34 = $L("<<=");
957
+ var $L35 = $L(">>>=");
958
+ var $L36 = $L(">>=");
959
+ var $L37 = $L("&&=");
960
+ var $L38 = $L("&=");
961
+ var $L39 = $L("^=");
962
+ var $L40 = $L("||=");
963
+ var $L41 = $L("|=");
964
+ var $L42 = $L("??=");
965
+ var $L43 = $L("?=");
966
+ var $L44 = $L("and=");
967
+ var $L45 = $L("or=");
968
+ var $L46 = $L("**");
969
+ var $L47 = $L("*");
970
+ var $L48 = $L("/");
971
+ var $L49 = $L("%%");
972
+ var $L50 = $L("%");
973
+ var $L51 = $L("+");
974
+ var $L52 = $L("-");
975
+ var $L53 = $L("<=");
976
+ var $L54 = $L(">=");
977
+ var $L55 = $L("<<");
978
+ var $L56 = $L(">>>");
979
+ var $L57 = $L(">>");
980
+ var $L58 = $L("!==");
981
+ var $L59 = $L("!=");
982
+ var $L60 = $L("isnt");
983
+ var $L61 = $L("===");
984
+ var $L62 = $L("==");
985
+ var $L63 = $L("and");
986
+ var $L64 = $L("&&");
987
+ var $L65 = $L("of");
988
+ var $L66 = $L("or");
989
+ var $L67 = $L("||");
990
+ var $L68 = $L("??");
991
+ var $L69 = $L("?");
992
+ var $L70 = $L("instanceof");
993
+ var $L71 = $L("not");
994
+ var $L72 = $L("in");
995
+ var $L73 = $L("is");
996
+ var $L74 = $L("&");
997
+ var $L75 = $L("^");
998
+ var $L76 = $L("|");
999
+ var $L77 = $L(";");
1000
+ var $L78 = $L("own");
1001
+ var $L79 = $L("finally");
1002
+ var $L80 = $L("break");
1003
+ var $L81 = $L("continue");
1004
+ var $L82 = $L("debugger");
1005
+ var $L83 = $L("default");
1006
+ var $L84 = $L(":=");
1007
+ var $L85 = $L("::=");
1008
+ var $L86 = $L(".=");
1009
+ var $L87 = $L("/*");
1010
+ var $L88 = $L("*/");
1011
+ var $L89 = $L("\\");
1012
+ var $L90 = $L("abstract");
1013
+ var $L91 = $L("as");
1014
+ var $L92 = $L("@");
1015
+ var $L93 = $L("@@");
1016
+ var $L94 = $L("async");
1017
+ var $L95 = $L("await");
1018
+ var $L96 = $L("`");
1019
+ var $L97 = $L("by");
1020
+ var $L98 = $L("case");
1021
+ var $L99 = $L("catch");
1022
+ var $L100 = $L("class");
1023
+ var $L101 = $L("#{");
1024
+ var $L102 = $L("delete");
1025
+ var $L103 = $L("do");
1026
+ var $L104 = $L("..");
1027
+ var $L105 = $L("...");
1028
+ var $L106 = $L("::");
1029
+ var $L107 = $L('"');
1030
+ var $L108 = $L("else");
1031
+ var $L109 = $L("export");
1032
+ var $L110 = $L("extends");
1033
+ var $L111 = $L("for");
1034
+ var $L112 = $L("from");
1035
+ var $L113 = $L("function");
1036
+ var $L114 = $L("get");
1037
+ var $L115 = $L("set");
1038
+ var $L116 = $L("if");
1039
+ var $L117 = $L("let");
1040
+ var $L118 = $L("const");
1041
+ var $L119 = $L("loop");
1042
+ var $L120 = $L("new");
1043
+ var $L121 = $L("<");
1044
+ var $L122 = $L("{");
1045
+ var $L123 = $L("[");
1046
+ var $L124 = $L("(");
1047
+ var $L125 = $L("public");
1048
+ var $L126 = $L("private");
1049
+ var $L127 = $L("protected");
1050
+ var $L128 = $L("|>");
1051
+ var $L129 = $L("readonly");
1052
+ var $L130 = $L("return");
1053
+ var $L131 = $L("satisfies");
1054
+ var $L132 = $L("'");
1055
+ var $L133 = $L("static");
1056
+ var $L134 = $L("${");
1057
+ var $L135 = $L("switch");
1058
+ var $L136 = $L("target");
1059
+ var $L137 = $L("then");
1060
+ var $L138 = $L("this");
1061
+ var $L139 = $L("throw");
1062
+ var $L140 = $L('"""');
1063
+ var $L141 = $L("'''");
1064
+ var $L142 = $L("///");
1065
+ var $L143 = $L("```");
1066
+ var $L144 = $L("try");
1067
+ var $L145 = $L("typeof");
1068
+ var $L146 = $L("unless");
1069
+ var $L147 = $L("until");
1070
+ var $L148 = $L("var");
1071
+ var $L149 = $L("void");
1072
+ var $L150 = $L("when");
1073
+ var $L151 = $L("while");
1074
+ var $L152 = $L("yield");
1075
+ var $L153 = $L("/>");
1076
+ var $L154 = $L("</");
1077
+ var $L155 = $L("<>");
1078
+ var $L156 = $L("</>");
1079
+ var $L157 = $L("<!--");
1080
+ var $L158 = $L("-->");
1081
+ var $L159 = $L("declare");
1082
+ var $L160 = $L("type");
1083
+ var $L161 = $L("interface");
1084
+ var $L162 = $L("namespace");
1085
+ var $L163 = $L("asserts");
1086
+ var $L164 = $L("keyof");
1087
+ var $L165 = $L("infer");
1088
+ var $L166 = $L("[]");
1089
+ var $L167 = $L("civet");
1085
1090
  var $R0 = $R(new RegExp("(for|of|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
1086
1091
  var $R1 = $R(new RegExp("[&]", "suy"));
1087
1092
  var $R2 = $R(new RegExp("[!~+-]+", "suy"));
@@ -2290,7 +2295,7 @@ ${input.slice(result.pos)}
2290
2295
  return result;
2291
2296
  }
2292
2297
  }
2293
- var ExtendsClause$0 = $S(__, ExtendsToken, __, ExtendsTarget);
2298
+ var ExtendsClause$0 = $S(ExtendsToken, __, ExtendsTarget);
2294
2299
  function ExtendsClause(state) {
2295
2300
  if (state.events) {
2296
2301
  const result = state.events.enter?.("ExtendsClause", state);
@@ -2309,12 +2314,22 @@ ${input.slice(result.pos)}
2309
2314
  return result;
2310
2315
  }
2311
2316
  }
2312
- var ExtendsToken$0 = $TV($EXPECT($L5, fail, 'ExtendsToken "<"'), function($skip, $loc, $0, $1) {
2313
- return { $loc, token: "extends" };
2314
- });
2315
- var ExtendsToken$1 = $TS($S($EXPECT($L6, fail, 'ExtendsToken "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2316
- return { $loc, token: $1 };
2317
+ var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L4, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
2318
+ var l = $1;
2319
+ var ws = $2;
2320
+ var lt = $3;
2321
+ const children = [
2322
+ ...ws,
2323
+ { ...lt, token: "extends " }
2324
+ ];
2325
+ if (!ws.length) {
2326
+ children.unshift({ $loc: l.$loc, token: " " });
2327
+ }
2328
+ return {
2329
+ children
2330
+ };
2317
2331
  });
2332
+ var ExtendsToken$1 = $S(__, Extends);
2318
2333
  function ExtendsToken(state) {
2319
2334
  if (state.events) {
2320
2335
  const result = state.events.enter?.("ExtendsToken", state);
@@ -2383,7 +2398,7 @@ ${input.slice(result.pos)}
2383
2398
  return result;
2384
2399
  }
2385
2400
  }
2386
- var ImplementsToken$0 = $TS($S($EXPECT($L7, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2401
+ var ImplementsToken$0 = $TS($S($EXPECT($L5, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2387
2402
  return { $loc, token: $1 };
2388
2403
  });
2389
2404
  function ImplementsToken(state) {
@@ -2596,7 +2611,7 @@ ${input.slice(result.pos)}
2596
2611
  }
2597
2612
  }
2598
2613
  var ThisLiteral$0 = This;
2599
- var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2614
+ var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L6, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
2600
2615
  var t = $1;
2601
2616
  var id = $2;
2602
2617
  return [{ ...t, token: "this." }, id];
@@ -2623,7 +2638,7 @@ ${input.slice(result.pos)}
2623
2638
  return result;
2624
2639
  }
2625
2640
  }
2626
- var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L9, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2641
+ var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L7, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
2627
2642
  if ($1.length)
2628
2643
  return $0;
2629
2644
  return $2;
@@ -2646,8 +2661,8 @@ ${input.slice(result.pos)}
2646
2661
  return result;
2647
2662
  }
2648
2663
  }
2649
- var CallExpression$0 = $S($EXPECT($L10, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2650
- var CallExpression$1 = $TS($S($EXPECT($L11, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2664
+ var CallExpression$0 = $S($EXPECT($L8, fail, 'CallExpression "super"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest));
2665
+ var CallExpression$1 = $TS($S($EXPECT($L9, fail, 'CallExpression "import"'), ArgumentsWithTrailingCallExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
2651
2666
  return {
2652
2667
  type: "CallExpression",
2653
2668
  children: $0
@@ -2720,7 +2735,7 @@ ${input.slice(result.pos)}
2720
2735
  return result;
2721
2736
  }
2722
2737
  }
2723
- var NonNullAssertion$0 = $T($EXPECT($L12, fail, 'NonNullAssertion "!"'), function(value) {
2738
+ var NonNullAssertion$0 = $T($EXPECT($L10, fail, 'NonNullAssertion "!"'), function(value) {
2724
2739
  return { "ts": true, "children": value };
2725
2740
  });
2726
2741
  function NonNullAssertion(state) {
@@ -2966,8 +2981,8 @@ ${input.slice(result.pos)}
2966
2981
  return result;
2967
2982
  }
2968
2983
  }
2969
- var SuperProperty$0 = $S($EXPECT($L13, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2970
- var SuperProperty$1 = $S($EXPECT($L10, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2984
+ var SuperProperty$0 = $S($EXPECT($L11, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
2985
+ var SuperProperty$1 = $S($EXPECT($L8, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
2971
2986
  function SuperProperty(state) {
2972
2987
  if (state.events) {
2973
2988
  const result = state.events.enter?.("SuperProperty", state);
@@ -2987,7 +3002,7 @@ ${input.slice(result.pos)}
2987
3002
  }
2988
3003
  }
2989
3004
  var MetaProperty$0 = $S(New, Dot, Target);
2990
- var MetaProperty$1 = $TS($S($EXPECT($L14, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
3005
+ var MetaProperty$1 = $TS($S($EXPECT($L12, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
2991
3006
  return { $loc, token: $1 };
2992
3007
  });
2993
3008
  function MetaProperty(state) {
@@ -3013,7 +3028,8 @@ ${input.slice(result.pos)}
3013
3028
  return {
3014
3029
  type: "Parameters",
3015
3030
  children: [{ $loc, token: "()" }],
3016
- names: []
3031
+ names: [],
3032
+ implicit: true
3017
3033
  };
3018
3034
  });
3019
3035
  function Parameters(state) {
@@ -3151,7 +3167,7 @@ ${input.slice(result.pos)}
3151
3167
  }
3152
3168
  }
3153
3169
  var ParameterElementDelimiter$0 = $S($Q(_), Comma);
3154
- var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
3170
+ var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L13, fail, 'ParameterElementDelimiter ")"')));
3155
3171
  var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
3156
3172
  return value[1];
3157
3173
  });
@@ -3173,22 +3189,10 @@ ${input.slice(result.pos)}
3173
3189
  return result;
3174
3190
  }
3175
3191
  }
3176
- var BindingIdentifier$0 = $TS($S(__, At, AtIdentifierRef), function($skip, $loc, $0, $1, $2, $3) {
3177
- var ws = $1;
3178
- var ref = $3;
3179
- return {
3180
- type: "AtBinding",
3181
- children: [...ws, ref],
3182
- ref
3183
- };
3184
- });
3185
- var BindingIdentifier$1 = $TS($S(__, Identifier), function($skip, $loc, $0, $1, $2) {
3192
+ var BindingIdentifier$0 = $TS($S(__, NWBindingIdentifier), function($skip, $loc, $0, $1, $2) {
3186
3193
  var ws = $1;
3187
- var id = $2;
3188
- return {
3189
- ...id,
3190
- children: [...ws, ...id.children]
3191
- };
3194
+ var identifier = $2;
3195
+ return { ...identifier, children: [...ws, ...identifier.children] };
3192
3196
  });
3193
3197
  function BindingIdentifier(state) {
3194
3198
  if (state.events) {
@@ -3197,17 +3201,44 @@ ${input.slice(result.pos)}
3197
3201
  return result.cache;
3198
3202
  }
3199
3203
  if (state.tokenize) {
3200
- const result = $TOKEN("BindingIdentifier", state, BindingIdentifier$0(state) || BindingIdentifier$1(state));
3204
+ const result = $TOKEN("BindingIdentifier", state, BindingIdentifier$0(state));
3201
3205
  if (state.events)
3202
3206
  state.events.exit?.("BindingIdentifier", state, result);
3203
3207
  return result;
3204
3208
  } else {
3205
- const result = BindingIdentifier$0(state) || BindingIdentifier$1(state);
3209
+ const result = BindingIdentifier$0(state);
3206
3210
  if (state.events)
3207
3211
  state.events.exit?.("BindingIdentifier", state, result);
3208
3212
  return result;
3209
3213
  }
3210
3214
  }
3215
+ var NWBindingIdentifier$0 = $TS($S(At, AtIdentifierRef), function($skip, $loc, $0, $1, $2) {
3216
+ var ref = $2;
3217
+ return {
3218
+ type: "AtBinding",
3219
+ children: [ref],
3220
+ ref
3221
+ };
3222
+ });
3223
+ var NWBindingIdentifier$1 = Identifier;
3224
+ function NWBindingIdentifier(state) {
3225
+ if (state.events) {
3226
+ const result = state.events.enter?.("NWBindingIdentifier", state);
3227
+ if (result)
3228
+ return result.cache;
3229
+ }
3230
+ if (state.tokenize) {
3231
+ const result = $TOKEN("NWBindingIdentifier", state, NWBindingIdentifier$0(state) || NWBindingIdentifier$1(state));
3232
+ if (state.events)
3233
+ state.events.exit?.("NWBindingIdentifier", state, result);
3234
+ return result;
3235
+ } else {
3236
+ const result = NWBindingIdentifier$0(state) || NWBindingIdentifier$1(state);
3237
+ if (state.events)
3238
+ state.events.exit?.("NWBindingIdentifier", state, result);
3239
+ return result;
3240
+ }
3241
+ }
3211
3242
  var AtIdentifierRef$0 = $TV(ReservedWord, function($skip, $loc, $0, $1) {
3212
3243
  var r = $0;
3213
3244
  return {
@@ -3783,18 +3814,22 @@ ${input.slice(result.pos)}
3783
3814
  return result;
3784
3815
  }
3785
3816
  }
3786
- 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) {
3787
- var id = $4;
3817
+ 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) {
3818
+ var async = $1;
3819
+ var func = $2;
3820
+ var star = $3;
3821
+ var wid = $4;
3822
+ var w = $5;
3788
3823
  var parameters = $6;
3789
3824
  var suffix = $7;
3790
3825
  return {
3791
3826
  type: "FunctionSignature",
3792
- id,
3827
+ id: wid?.[1],
3793
3828
  parameters,
3794
3829
  returnType: suffix?.children?.[1]?.[0]?.[1]?.token,
3795
3830
  ts: false,
3796
3831
  block: null,
3797
- children: $0
3832
+ children: !parameters.implicit ? $0 : [async, func, star, wid, parameters, w, suffix]
3798
3833
  };
3799
3834
  });
3800
3835
  function FunctionSignature(state) {
@@ -3906,7 +3941,7 @@ ${input.slice(result.pos)}
3906
3941
  return result;
3907
3942
  }
3908
3943
  }
3909
- var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3944
+ var Arrow$0 = $TV($EXPECT($L14, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
3910
3945
  return { $loc, token: $1 };
3911
3946
  });
3912
3947
  function Arrow(state) {
@@ -4168,7 +4203,7 @@ ${input.slice(result.pos)}
4168
4203
  children: [$1, expressions]
4169
4204
  };
4170
4205
  });
4171
- var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4206
+ var BracedContent$2 = $TV($Y($S(__, $EXPECT($L15, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
4172
4207
  const expressions = [];
4173
4208
  return {
4174
4209
  type: "BlockStatement",
@@ -4293,7 +4328,7 @@ ${input.slice(result.pos)}
4293
4328
  return result;
4294
4329
  }
4295
4330
  }
4296
- var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4331
+ var NullLiteral$0 = $TS($S($EXPECT($L16, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4297
4332
  return { $loc, token: $1 };
4298
4333
  });
4299
4334
  function NullLiteral(state) {
@@ -4317,7 +4352,7 @@ ${input.slice(result.pos)}
4317
4352
  var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
4318
4353
  return value[1];
4319
4354
  });
4320
- var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4355
+ var BooleanLiteral$1 = $TS($S($C($EXPECT($L17, fail, 'BooleanLiteral "true"'), $EXPECT($L18, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4321
4356
  return { $loc, token: $1 };
4322
4357
  });
4323
4358
  function BooleanLiteral(state) {
@@ -4338,10 +4373,10 @@ ${input.slice(result.pos)}
4338
4373
  return result;
4339
4374
  }
4340
4375
  }
4341
- var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4376
+ var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L19, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L20, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4342
4377
  return { $loc, token: "true" };
4343
4378
  });
4344
- var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4379
+ var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
4345
4380
  return { $loc, token: "false" };
4346
4381
  });
4347
4382
  function CoffeeScriptBooleanLiteral(state) {
@@ -4362,7 +4397,7 @@ ${input.slice(result.pos)}
4362
4397
  return result;
4363
4398
  }
4364
4399
  }
4365
- var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4400
+ var Comma$0 = $TV($EXPECT($L23, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
4366
4401
  return { $loc, token: $1 };
4367
4402
  });
4368
4403
  function Comma(state) {
@@ -4452,7 +4487,7 @@ ${input.slice(result.pos)}
4452
4487
  return result;
4453
4488
  }
4454
4489
  }
4455
- var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
4490
+ var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L24, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L24, fail, 'UpcomingAssignment "="'), $EXPECT($L25, fail, 'UpcomingAssignment ">"')))));
4456
4491
  function UpcomingAssignment(state) {
4457
4492
  if (state.events) {
4458
4493
  const result = state.events.enter?.("UpcomingAssignment", state);
@@ -4701,7 +4736,7 @@ ${input.slice(result.pos)}
4701
4736
  }
4702
4737
  }
4703
4738
  var ArrayElementDelimiter$0 = $S(__, Comma);
4704
- var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
4739
+ var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L26, fail, 'ArrayElementDelimiter "]"')));
4705
4740
  var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
4706
4741
  return value[1];
4707
4742
  });
@@ -5071,7 +5106,7 @@ ${input.slice(result.pos)}
5071
5106
  var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
5072
5107
  return value[1];
5073
5108
  });
5074
- 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) {
5109
+ 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) {
5075
5110
  return "";
5076
5111
  });
5077
5112
  var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
@@ -5096,7 +5131,7 @@ ${input.slice(result.pos)}
5096
5131
  }
5097
5132
  }
5098
5133
  var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
5099
- var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
5134
+ var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ObjectPropertyDelimiter "}"')));
5100
5135
  var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
5101
5136
  return value[1];
5102
5137
  });
@@ -5487,7 +5522,7 @@ ${input.slice(result.pos)}
5487
5522
  return result;
5488
5523
  }
5489
5524
  }
5490
- var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5525
+ var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L6, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
5491
5526
  return {
5492
5527
  type: "Identifier",
5493
5528
  name: $0,
@@ -5543,25 +5578,25 @@ ${input.slice(result.pos)}
5543
5578
  return result;
5544
5579
  }
5545
5580
  }
5546
- var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
5547
- var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
5548
- var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
5549
- var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
5550
- var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
5551
- var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
5552
- var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
5553
- var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
5554
- var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
5555
- var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
5556
- var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
5557
- var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
5558
- var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
5559
- var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
5560
- var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
5561
- var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
5581
+ var AssignmentOpSymbol$0 = $EXPECT($L28, fail, 'AssignmentOpSymbol "**="');
5582
+ var AssignmentOpSymbol$1 = $EXPECT($L29, fail, 'AssignmentOpSymbol "*="');
5583
+ var AssignmentOpSymbol$2 = $EXPECT($L30, fail, 'AssignmentOpSymbol "/="');
5584
+ var AssignmentOpSymbol$3 = $EXPECT($L31, fail, 'AssignmentOpSymbol "%="');
5585
+ var AssignmentOpSymbol$4 = $EXPECT($L32, fail, 'AssignmentOpSymbol "+="');
5586
+ var AssignmentOpSymbol$5 = $EXPECT($L33, fail, 'AssignmentOpSymbol "-="');
5587
+ var AssignmentOpSymbol$6 = $EXPECT($L34, fail, 'AssignmentOpSymbol "<<="');
5588
+ var AssignmentOpSymbol$7 = $EXPECT($L35, fail, 'AssignmentOpSymbol ">>>="');
5589
+ var AssignmentOpSymbol$8 = $EXPECT($L36, fail, 'AssignmentOpSymbol ">>="');
5590
+ var AssignmentOpSymbol$9 = $EXPECT($L37, fail, 'AssignmentOpSymbol "&&="');
5591
+ var AssignmentOpSymbol$10 = $EXPECT($L38, fail, 'AssignmentOpSymbol "&="');
5592
+ var AssignmentOpSymbol$11 = $EXPECT($L39, fail, 'AssignmentOpSymbol "^="');
5593
+ var AssignmentOpSymbol$12 = $EXPECT($L40, fail, 'AssignmentOpSymbol "||="');
5594
+ var AssignmentOpSymbol$13 = $EXPECT($L41, fail, 'AssignmentOpSymbol "|="');
5595
+ var AssignmentOpSymbol$14 = $EXPECT($L42, fail, 'AssignmentOpSymbol "??="');
5596
+ var AssignmentOpSymbol$15 = $T($EXPECT($L43, fail, 'AssignmentOpSymbol "?="'), function(value) {
5562
5597
  return "??=";
5563
5598
  });
5564
- var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
5599
+ var AssignmentOpSymbol$16 = $T($S($EXPECT($L24, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L24, fail, 'AssignmentOpSymbol "="'))), function(value) {
5565
5600
  return value[0];
5566
5601
  });
5567
5602
  var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
@@ -5585,10 +5620,10 @@ ${input.slice(result.pos)}
5585
5620
  return result;
5586
5621
  }
5587
5622
  }
5588
- var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5623
+ var CoffeeWordAssignmentOp$0 = $T($EXPECT($L44, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
5589
5624
  return "&&=";
5590
5625
  });
5591
- var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5626
+ var CoffeeWordAssignmentOp$1 = $T($EXPECT($L45, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
5592
5627
  return "||=";
5593
5628
  });
5594
5629
  function CoffeeWordAssignmentOp(state) {
@@ -5632,77 +5667,77 @@ ${input.slice(result.pos)}
5632
5667
  return result;
5633
5668
  }
5634
5669
  }
5635
- var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
5636
- var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
5637
- var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
5638
- var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5670
+ var BinaryOpSymbol$0 = $EXPECT($L46, fail, 'BinaryOpSymbol "**"');
5671
+ var BinaryOpSymbol$1 = $EXPECT($L47, fail, 'BinaryOpSymbol "*"');
5672
+ var BinaryOpSymbol$2 = $EXPECT($L48, fail, 'BinaryOpSymbol "/"');
5673
+ var BinaryOpSymbol$3 = $TV($EXPECT($L49, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
5639
5674
  return {
5640
5675
  call: module.getRef("modulo"),
5641
5676
  special: true
5642
5677
  };
5643
5678
  });
5644
- var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
5645
- var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
5646
- var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
5647
- var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
5648
- var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
5649
- var BinaryOpSymbol$9 = $EXPECT($L57, fail, 'BinaryOpSymbol "<<"');
5679
+ var BinaryOpSymbol$4 = $EXPECT($L50, fail, 'BinaryOpSymbol "%"');
5680
+ var BinaryOpSymbol$5 = $EXPECT($L51, fail, 'BinaryOpSymbol "+"');
5681
+ var BinaryOpSymbol$6 = $EXPECT($L52, fail, 'BinaryOpSymbol "-"');
5682
+ var BinaryOpSymbol$7 = $EXPECT($L53, fail, 'BinaryOpSymbol "<="');
5683
+ var BinaryOpSymbol$8 = $EXPECT($L54, fail, 'BinaryOpSymbol ">="');
5684
+ var BinaryOpSymbol$9 = $EXPECT($L55, fail, 'BinaryOpSymbol "<<"');
5650
5685
  var BinaryOpSymbol$10 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
5651
5686
  return "<";
5652
5687
  });
5653
- var BinaryOpSymbol$11 = $EXPECT($L58, fail, 'BinaryOpSymbol ">>>"');
5654
- var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>"');
5655
- var BinaryOpSymbol$13 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
5656
- var BinaryOpSymbol$14 = $EXPECT($L60, fail, 'BinaryOpSymbol "!=="');
5657
- var BinaryOpSymbol$15 = $TV($EXPECT($L61, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5688
+ var BinaryOpSymbol$11 = $EXPECT($L56, fail, 'BinaryOpSymbol ">>>"');
5689
+ var BinaryOpSymbol$12 = $EXPECT($L57, fail, 'BinaryOpSymbol ">>"');
5690
+ var BinaryOpSymbol$13 = $EXPECT($L25, fail, 'BinaryOpSymbol ">"');
5691
+ var BinaryOpSymbol$14 = $EXPECT($L58, fail, 'BinaryOpSymbol "!=="');
5692
+ var BinaryOpSymbol$15 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
5658
5693
  if (module.config.coffeeEq)
5659
5694
  return "!==";
5660
5695
  return $1;
5661
5696
  });
5662
- var BinaryOpSymbol$16 = $TS($S($EXPECT($L62, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5697
+ var BinaryOpSymbol$16 = $TS($S($EXPECT($L60, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5663
5698
  if (module.config.coffeeIsnt)
5664
5699
  return "!==";
5665
5700
  return $skip;
5666
5701
  });
5667
- var BinaryOpSymbol$17 = $EXPECT($L63, fail, 'BinaryOpSymbol "==="');
5668
- var BinaryOpSymbol$18 = $TV($EXPECT($L64, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5702
+ var BinaryOpSymbol$17 = $EXPECT($L61, fail, 'BinaryOpSymbol "==="');
5703
+ var BinaryOpSymbol$18 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
5669
5704
  if (module.config.coffeeEq)
5670
5705
  return "===";
5671
5706
  return $1;
5672
5707
  });
5673
- var BinaryOpSymbol$19 = $T($S($EXPECT($L65, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5708
+ var BinaryOpSymbol$19 = $T($S($EXPECT($L63, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
5674
5709
  return "&&";
5675
5710
  });
5676
- var BinaryOpSymbol$20 = $EXPECT($L66, fail, 'BinaryOpSymbol "&&"');
5677
- var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L67, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5711
+ var BinaryOpSymbol$20 = $EXPECT($L64, fail, 'BinaryOpSymbol "&&"');
5712
+ var BinaryOpSymbol$21 = $T($S(CoffeeOfEnabled, $EXPECT($L65, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
5678
5713
  return "in";
5679
5714
  });
5680
- var BinaryOpSymbol$22 = $T($S($EXPECT($L68, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5715
+ var BinaryOpSymbol$22 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
5681
5716
  return "||";
5682
5717
  });
5683
- var BinaryOpSymbol$23 = $EXPECT($L69, fail, 'BinaryOpSymbol "||"');
5684
- var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "??"');
5685
- var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "?"')), function(value) {
5718
+ var BinaryOpSymbol$23 = $EXPECT($L67, fail, 'BinaryOpSymbol "||"');
5719
+ var BinaryOpSymbol$24 = $EXPECT($L68, fail, 'BinaryOpSymbol "??"');
5720
+ var BinaryOpSymbol$25 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L69, fail, 'BinaryOpSymbol "?"')), function(value) {
5686
5721
  return "??";
5687
5722
  });
5688
- var BinaryOpSymbol$26 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5723
+ var BinaryOpSymbol$26 = $TS($S($EXPECT($L70, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5689
5724
  return $1;
5690
5725
  });
5691
- 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) {
5726
+ 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) {
5692
5727
  return {
5693
5728
  $loc,
5694
5729
  token: "instanceof",
5695
5730
  special: true
5696
5731
  };
5697
5732
  });
5698
- 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) {
5733
+ 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) {
5699
5734
  return {
5700
5735
  $loc,
5701
5736
  token: "in",
5702
5737
  special: true
5703
5738
  };
5704
5739
  });
5705
- 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) {
5740
+ 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) {
5706
5741
  return {
5707
5742
  call: [module.getRef("indexOf"), ".call"],
5708
5743
  relational: true,
@@ -5711,7 +5746,7 @@ ${input.slice(result.pos)}
5711
5746
  special: true
5712
5747
  };
5713
5748
  });
5714
- 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) {
5749
+ 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) {
5715
5750
  return {
5716
5751
  call: [module.getRef("indexOf"), ".call"],
5717
5752
  relational: true,
@@ -5720,18 +5755,18 @@ ${input.slice(result.pos)}
5720
5755
  special: true
5721
5756
  };
5722
5757
  });
5723
- var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5758
+ var BinaryOpSymbol$31 = $T($S($N(CoffeeNotEnabled), $EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
5724
5759
  return "!==";
5725
5760
  });
5726
- var BinaryOpSymbol$32 = $T($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5761
+ var BinaryOpSymbol$32 = $T($S($EXPECT($L73, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
5727
5762
  return "===";
5728
5763
  });
5729
- var BinaryOpSymbol$33 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5764
+ var BinaryOpSymbol$33 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
5730
5765
  return $1;
5731
5766
  });
5732
- var BinaryOpSymbol$34 = $EXPECT($L76, fail, 'BinaryOpSymbol "&"');
5733
- var BinaryOpSymbol$35 = $EXPECT($L77, fail, 'BinaryOpSymbol "^"');
5734
- var BinaryOpSymbol$36 = $EXPECT($L78, fail, 'BinaryOpSymbol "|"');
5767
+ var BinaryOpSymbol$34 = $EXPECT($L74, fail, 'BinaryOpSymbol "&"');
5768
+ var BinaryOpSymbol$35 = $EXPECT($L75, fail, 'BinaryOpSymbol "^"');
5769
+ var BinaryOpSymbol$36 = $EXPECT($L76, fail, 'BinaryOpSymbol "|"');
5735
5770
  function BinaryOpSymbol(state) {
5736
5771
  if (state.events) {
5737
5772
  const result = state.events.enter?.("BinaryOpSymbol", state);
@@ -5870,7 +5905,7 @@ ${input.slice(result.pos)}
5870
5905
  return result;
5871
5906
  }
5872
5907
  }
5873
- var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L79, fail, 'EmptyStatement ";"'))), function(value) {
5908
+ var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L77, fail, 'EmptyStatement ";"'))), function(value) {
5874
5909
  return { "type": "EmptyStatement", "children": value[0] };
5875
5910
  });
5876
5911
  function EmptyStatement(state) {
@@ -5891,7 +5926,7 @@ ${input.slice(result.pos)}
5891
5926
  return result;
5892
5927
  }
5893
5928
  }
5894
- var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
5929
+ var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L24, fail, 'BlockStatement "="')))), function(value) {
5895
5930
  return value[0];
5896
5931
  });
5897
5932
  function BlockStatement(state) {
@@ -6716,7 +6751,7 @@ ${input.slice(result.pos)}
6716
6751
  return result;
6717
6752
  }
6718
6753
  }
6719
- var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L80, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6754
+ var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L78, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
6720
6755
  var own = $1;
6721
6756
  var binding = $2;
6722
6757
  if (own) {
@@ -7260,7 +7295,7 @@ ${input.slice(result.pos)}
7260
7295
  return result;
7261
7296
  }
7262
7297
  }
7263
- var Finally$0 = $S(__, $EXPECT($L81, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7298
+ var Finally$0 = $S(__, $EXPECT($L79, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
7264
7299
  function Finally(state) {
7265
7300
  if (state.events) {
7266
7301
  const result = state.events.enter?.("Finally", state);
@@ -7396,13 +7431,13 @@ ${input.slice(result.pos)}
7396
7431
  return result;
7397
7432
  }
7398
7433
  }
7399
- var KeywordStatement$0 = $T($S($EXPECT($L82, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7434
+ var KeywordStatement$0 = $T($S($EXPECT($L80, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
7400
7435
  return { "type": "BreakStatement", "children": value };
7401
7436
  });
7402
- var KeywordStatement$1 = $T($S($EXPECT($L83, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7437
+ var KeywordStatement$1 = $T($S($EXPECT($L81, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
7403
7438
  return { "type": "ContinueStatement", "children": value };
7404
7439
  });
7405
- var KeywordStatement$2 = $T($S($EXPECT($L84, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7440
+ var KeywordStatement$2 = $T($S($EXPECT($L82, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
7406
7441
  return { "type": "DebuggerStatement", "children": value };
7407
7442
  });
7408
7443
  var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
@@ -7429,7 +7464,7 @@ ${input.slice(result.pos)}
7429
7464
  return result;
7430
7465
  }
7431
7466
  }
7432
- var DebuggerExpression$0 = $TS($S($EXPECT($L84, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7467
+ var DebuggerExpression$0 = $TS($S($EXPECT($L82, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
7433
7468
  return {
7434
7469
  type: "DebuggerExpression",
7435
7470
  children: ["(()=>{", $1, "})()"]
@@ -7502,7 +7537,7 @@ ${input.slice(result.pos)}
7502
7537
  return result;
7503
7538
  }
7504
7539
  }
7505
- var ImportDeclaration$0 = $T($S($EXPECT($L85, fail, 'ImportDeclaration "import type"'), NonIdContinue, __, ImportClause, __, FromClause), function(value) {
7540
+ var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause), function(value) {
7506
7541
  return { "ts": true, "children": value };
7507
7542
  });
7508
7543
  var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
@@ -7619,11 +7654,9 @@ ${input.slice(result.pos)}
7619
7654
  return result;
7620
7655
  }
7621
7656
  }
7622
- var NamedImports$0 = $TS($S(OpenBrace, $Q(ImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7657
+ var NamedImports$0 = $TS($S(OpenBrace, $Q(TypeAndImportSpecifier), $E($S(__, Comma)), __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7623
7658
  var specifiers = $2;
7624
- const names = specifiers.flatMap(({ binding }) => {
7625
- return binding.names;
7626
- });
7659
+ const names = specifiers.flatMap(({ binding }) => binding.names);
7627
7660
  return {
7628
7661
  type: "Declaration",
7629
7662
  children: $0,
@@ -7667,6 +7700,29 @@ ${input.slice(result.pos)}
7667
7700
  return result;
7668
7701
  }
7669
7702
  }
7703
+ var TypeAndImportSpecifier$0 = $TS($S($E($S(__, TypeKeyword)), ImportSpecifier), function($skip, $loc, $0, $1, $2) {
7704
+ if (!$1)
7705
+ return $2;
7706
+ return { ts: true, children: $0, binding: $2.binding };
7707
+ });
7708
+ function TypeAndImportSpecifier(state) {
7709
+ if (state.events) {
7710
+ const result = state.events.enter?.("TypeAndImportSpecifier", state);
7711
+ if (result)
7712
+ return result.cache;
7713
+ }
7714
+ if (state.tokenize) {
7715
+ const result = $TOKEN("TypeAndImportSpecifier", state, TypeAndImportSpecifier$0(state));
7716
+ if (state.events)
7717
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7718
+ return result;
7719
+ } else {
7720
+ const result = TypeAndImportSpecifier$0(state);
7721
+ if (state.events)
7722
+ state.events.exit?.("TypeAndImportSpecifier", state, result);
7723
+ return result;
7724
+ }
7725
+ }
7670
7726
  var ImportSpecifier$0 = $TS($S(__, ModuleExportName, __, As, __, ImportedBinding, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7) {
7671
7727
  var binding = $6;
7672
7728
  return {
@@ -7802,9 +7858,17 @@ ${input.slice(result.pos)}
7802
7858
  return result;
7803
7859
  }
7804
7860
  }
7805
- var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7806
- var ExportDeclaration$1 = $S(Export, __, ExportFromClause, __, FromClause);
7807
- var ExportDeclaration$2 = $S(Export, __, $C(Declaration, NamedExports, VariableStatement, ExportVarDec));
7861
+ var ExportDeclaration$0 = $S(Export, __, $EXPECT($L83, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
7862
+ var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7863
+ if (!$3.ts)
7864
+ return $0;
7865
+ return { ts: true, children: $0 };
7866
+ });
7867
+ var ExportDeclaration$2 = $TS($S(Export, __, $C(Declaration, TypeAndNamedExports, VariableStatement, ExportVarDec)), function($skip, $loc, $0, $1, $2, $3) {
7868
+ if (!$3.ts)
7869
+ return $0;
7870
+ return { ts: true, children: $0 };
7871
+ });
7808
7872
  function ExportDeclaration(state) {
7809
7873
  if (state.events) {
7810
7874
  const result = state.events.enter?.("ExportDeclaration", state);
@@ -7843,7 +7907,7 @@ ${input.slice(result.pos)}
7843
7907
  }
7844
7908
  }
7845
7909
  var ExportFromClause$0 = $S(Star, $E($S(__, As, __, ModuleExportName)));
7846
- var ExportFromClause$1 = NamedExports;
7910
+ var ExportFromClause$1 = TypeAndNamedExports;
7847
7911
  function ExportFromClause(state) {
7848
7912
  if (state.events) {
7849
7913
  const result = state.events.enter?.("ExportFromClause", state);
@@ -7862,6 +7926,29 @@ ${input.slice(result.pos)}
7862
7926
  return result;
7863
7927
  }
7864
7928
  }
7929
+ var TypeAndNamedExports$0 = $TS($S($E($S(TypeKeyword, __)), NamedExports), function($skip, $loc, $0, $1, $2) {
7930
+ if (!$1)
7931
+ return $2;
7932
+ return { ts: true, children: $0 };
7933
+ });
7934
+ function TypeAndNamedExports(state) {
7935
+ if (state.events) {
7936
+ const result = state.events.enter?.("TypeAndNamedExports", state);
7937
+ if (result)
7938
+ return result.cache;
7939
+ }
7940
+ if (state.tokenize) {
7941
+ const result = $TOKEN("TypeAndNamedExports", state, TypeAndNamedExports$0(state));
7942
+ if (state.events)
7943
+ state.events.exit?.("TypeAndNamedExports", state, result);
7944
+ return result;
7945
+ } else {
7946
+ const result = TypeAndNamedExports$0(state);
7947
+ if (state.events)
7948
+ state.events.exit?.("TypeAndNamedExports", state, result);
7949
+ return result;
7950
+ }
7951
+ }
7865
7952
  var NamedExports$0 = $S(OpenBrace, $Q(ExportSpecifier), $E($S(__, Comma)), __, CloseBrace);
7866
7953
  var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(_, ImplicitExportSpecifier)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
7867
7954
  var open = $1;
@@ -7886,7 +7973,11 @@ ${input.slice(result.pos)}
7886
7973
  return result;
7887
7974
  }
7888
7975
  }
7889
- var ExportSpecifier$0 = $S(__, ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter);
7976
+ var ExportSpecifier$0 = $TS($S(__, $E($S(TypeKeyword, __)), ModuleExportName, $E($S(__, As, __, ModuleExportName)), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
7977
+ if (!$2)
7978
+ return $0;
7979
+ return { ts: true, children: $0 };
7980
+ });
7890
7981
  function ExportSpecifier(state) {
7891
7982
  if (state.events) {
7892
7983
  const result = state.events.enter?.("ExportSpecifier", state);
@@ -7905,7 +7996,7 @@ ${input.slice(result.pos)}
7905
7996
  return result;
7906
7997
  }
7907
7998
  }
7908
- var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7999
+ var ImplicitExportSpecifier$0 = $S($N($EXPECT($L83, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
7909
8000
  function ImplicitExportSpecifier(state) {
7910
8001
  if (state.events) {
7911
8002
  const result = state.events.enter?.("ImplicitExportSpecifier", state);
@@ -8060,7 +8151,7 @@ ${input.slice(result.pos)}
8060
8151
  return result;
8061
8152
  }
8062
8153
  }
8063
- var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8154
+ var ConstAssignment$0 = $TV($EXPECT($L84, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
8064
8155
  return { $loc, token: "=" };
8065
8156
  });
8066
8157
  function ConstAssignment(state) {
@@ -8081,10 +8172,10 @@ ${input.slice(result.pos)}
8081
8172
  return result;
8082
8173
  }
8083
8174
  }
8084
- var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8175
+ var LetAssignment$0 = $TV($EXPECT($L85, fail, 'LetAssignment "::="'), function($skip, $loc, $0, $1) {
8085
8176
  return { $loc, token: "=" };
8086
8177
  });
8087
- var LetAssignment$1 = $TV($EXPECT($L89, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8178
+ var LetAssignment$1 = $TV($EXPECT($L86, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
8088
8179
  return { $loc, token: "=" };
8089
8180
  });
8090
8181
  function LetAssignment(state) {
@@ -8642,7 +8733,7 @@ ${input.slice(result.pos)}
8642
8733
  }
8643
8734
  }
8644
8735
  var RegularExpressionLiteral$0 = HeregexLiteral;
8645
- var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8736
+ var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L48, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
8646
8737
  return { $loc, token: $1 };
8647
8738
  });
8648
8739
  function RegularExpressionLiteral(state) {
@@ -8989,7 +9080,7 @@ ${input.slice(result.pos)}
8989
9080
  var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R34, fail, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
8990
9081
  var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R35, fail, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
8991
9082
  var ReservedWord$4 = $S(CoffeeNotEnabled, $R$0($EXPECT($R36, fail, "ReservedWord /(?:not)(?!\\p{ID_Continue})/")));
8992
- var ReservedWord$5 = $S($EXPECT($L73, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'ReservedWord "in"'), NonIdContinue);
9083
+ var ReservedWord$5 = $S($EXPECT($L71, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L72, fail, 'ReservedWord "in"'), NonIdContinue);
8993
9084
  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})/"));
8994
9085
  function ReservedWord(state) {
8995
9086
  if (state.events) {
@@ -9090,7 +9181,7 @@ ${input.slice(result.pos)}
9090
9181
  return result;
9091
9182
  }
9092
9183
  }
9093
- 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) {
9184
+ 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) {
9094
9185
  return { $loc, token: $1 };
9095
9186
  });
9096
9187
  function JSMultiLineComment(state) {
@@ -9132,7 +9223,7 @@ ${input.slice(result.pos)}
9132
9223
  return result;
9133
9224
  }
9134
9225
  }
9135
- 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) {
9226
+ 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) {
9136
9227
  return { $loc, token: `/*${$2}*/` };
9137
9228
  });
9138
9229
  function CoffeeMultiLineComment(state) {
@@ -9172,7 +9263,7 @@ ${input.slice(result.pos)}
9172
9263
  return result;
9173
9264
  }
9174
9265
  }
9175
- 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) {
9266
+ 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) {
9176
9267
  return { $loc, token: $1 };
9177
9268
  });
9178
9269
  function InlineComment(state) {
@@ -9255,7 +9346,7 @@ ${input.slice(result.pos)}
9255
9346
  var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
9256
9347
  return { $loc, token: $0 };
9257
9348
  });
9258
- var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L92, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9349
+ var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L89, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
9259
9350
  return "";
9260
9351
  });
9261
9352
  function NonNewlineWhitespace(state) {
@@ -9424,7 +9515,7 @@ ${input.slice(result.pos)}
9424
9515
  return result;
9425
9516
  }
9426
9517
  }
9427
- var Abstract$0 = $TV($TEXT($S($EXPECT($L93, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9518
+ var Abstract$0 = $TV($TEXT($S($EXPECT($L90, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L4, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
9428
9519
  return { $loc, token: $1, ts: true };
9429
9520
  });
9430
9521
  function Abstract(state) {
@@ -9445,7 +9536,7 @@ ${input.slice(result.pos)}
9445
9536
  return result;
9446
9537
  }
9447
9538
  }
9448
- var Ampersand$0 = $TV($EXPECT($L76, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9539
+ var Ampersand$0 = $TV($EXPECT($L74, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
9449
9540
  return { $loc, token: $1 };
9450
9541
  });
9451
9542
  function Ampersand(state) {
@@ -9466,7 +9557,7 @@ ${input.slice(result.pos)}
9466
9557
  return result;
9467
9558
  }
9468
9559
  }
9469
- var As$0 = $TS($S($EXPECT($L94, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9560
+ var As$0 = $TS($S($EXPECT($L91, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9470
9561
  return { $loc, token: $1 };
9471
9562
  });
9472
9563
  function As(state) {
@@ -9487,7 +9578,7 @@ ${input.slice(result.pos)}
9487
9578
  return result;
9488
9579
  }
9489
9580
  }
9490
- var At$0 = $TV($EXPECT($L95, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9581
+ var At$0 = $TV($EXPECT($L92, fail, 'At "@"'), function($skip, $loc, $0, $1) {
9491
9582
  return { $loc, token: $1 };
9492
9583
  });
9493
9584
  function At(state) {
@@ -9508,7 +9599,7 @@ ${input.slice(result.pos)}
9508
9599
  return result;
9509
9600
  }
9510
9601
  }
9511
- var AtAt$0 = $TV($EXPECT($L96, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9602
+ var AtAt$0 = $TV($EXPECT($L93, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
9512
9603
  return { $loc, token: "@" };
9513
9604
  });
9514
9605
  function AtAt(state) {
@@ -9529,7 +9620,7 @@ ${input.slice(result.pos)}
9529
9620
  return result;
9530
9621
  }
9531
9622
  }
9532
- var Async$0 = $TS($S($EXPECT($L97, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9623
+ var Async$0 = $TS($S($EXPECT($L94, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9533
9624
  return { $loc, token: $1, type: "Async" };
9534
9625
  });
9535
9626
  function Async(state) {
@@ -9550,7 +9641,7 @@ ${input.slice(result.pos)}
9550
9641
  return result;
9551
9642
  }
9552
9643
  }
9553
- var Await$0 = $TS($S($EXPECT($L98, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9644
+ var Await$0 = $TS($S($EXPECT($L95, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9554
9645
  return { $loc, token: $1 };
9555
9646
  });
9556
9647
  function Await(state) {
@@ -9571,7 +9662,7 @@ ${input.slice(result.pos)}
9571
9662
  return result;
9572
9663
  }
9573
9664
  }
9574
- var Backtick$0 = $TV($EXPECT($L99, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9665
+ var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
9575
9666
  return { $loc, token: $1 };
9576
9667
  });
9577
9668
  function Backtick(state) {
@@ -9592,7 +9683,7 @@ ${input.slice(result.pos)}
9592
9683
  return result;
9593
9684
  }
9594
9685
  }
9595
- var By$0 = $TS($S($EXPECT($L100, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9686
+ var By$0 = $TS($S($EXPECT($L97, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9596
9687
  return { $loc, token: $1 };
9597
9688
  });
9598
9689
  function By(state) {
@@ -9613,7 +9704,7 @@ ${input.slice(result.pos)}
9613
9704
  return result;
9614
9705
  }
9615
9706
  }
9616
- var Case$0 = $TS($S($EXPECT($L101, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9707
+ var Case$0 = $TS($S($EXPECT($L98, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9617
9708
  return { $loc, token: $1 };
9618
9709
  });
9619
9710
  function Case(state) {
@@ -9634,7 +9725,7 @@ ${input.slice(result.pos)}
9634
9725
  return result;
9635
9726
  }
9636
9727
  }
9637
- var Catch$0 = $TS($S($EXPECT($L102, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9728
+ var Catch$0 = $TS($S($EXPECT($L99, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9638
9729
  return { $loc, token: $1 };
9639
9730
  });
9640
9731
  function Catch(state) {
@@ -9655,7 +9746,7 @@ ${input.slice(result.pos)}
9655
9746
  return result;
9656
9747
  }
9657
9748
  }
9658
- var Class$0 = $TS($S($EXPECT($L103, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9749
+ var Class$0 = $TS($S($EXPECT($L100, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9659
9750
  return { $loc, token: $1 };
9660
9751
  });
9661
9752
  function Class(state) {
@@ -9676,7 +9767,7 @@ ${input.slice(result.pos)}
9676
9767
  return result;
9677
9768
  }
9678
9769
  }
9679
- var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9770
+ var CloseBrace$0 = $TV($EXPECT($L15, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
9680
9771
  return { $loc, token: $1 };
9681
9772
  });
9682
9773
  function CloseBrace(state) {
@@ -9697,7 +9788,7 @@ ${input.slice(result.pos)}
9697
9788
  return result;
9698
9789
  }
9699
9790
  }
9700
- var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9791
+ var CloseBracket$0 = $TV($EXPECT($L26, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
9701
9792
  return { $loc, token: $1 };
9702
9793
  });
9703
9794
  function CloseBracket(state) {
@@ -9718,7 +9809,7 @@ ${input.slice(result.pos)}
9718
9809
  return result;
9719
9810
  }
9720
9811
  }
9721
- var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9812
+ var CloseParen$0 = $TV($EXPECT($L13, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
9722
9813
  return { $loc, token: $1 };
9723
9814
  });
9724
9815
  function CloseParen(state) {
@@ -9739,7 +9830,7 @@ ${input.slice(result.pos)}
9739
9830
  return result;
9740
9831
  }
9741
9832
  }
9742
- var CoffeeSubstitutionStart$0 = $TV($EXPECT($L104, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9833
+ var CoffeeSubstitutionStart$0 = $TV($EXPECT($L101, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
9743
9834
  return { $loc, token: "${" };
9744
9835
  });
9745
9836
  function CoffeeSubstitutionStart(state) {
@@ -9760,7 +9851,7 @@ ${input.slice(result.pos)}
9760
9851
  return result;
9761
9852
  }
9762
9853
  }
9763
- var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9854
+ var Colon$0 = $TV($EXPECT($L27, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
9764
9855
  return { $loc, token: $1 };
9765
9856
  });
9766
9857
  function Colon(state) {
@@ -9781,7 +9872,7 @@ ${input.slice(result.pos)}
9781
9872
  return result;
9782
9873
  }
9783
9874
  }
9784
- var ConstructorShorthand$0 = $TV($EXPECT($L95, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9875
+ var ConstructorShorthand$0 = $TV($EXPECT($L92, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
9785
9876
  return { $loc, token: "constructor" };
9786
9877
  });
9787
9878
  function ConstructorShorthand(state) {
@@ -9802,7 +9893,7 @@ ${input.slice(result.pos)}
9802
9893
  return result;
9803
9894
  }
9804
9895
  }
9805
- var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9896
+ var Default$0 = $TS($S($EXPECT($L83, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9806
9897
  return { $loc, token: $1 };
9807
9898
  });
9808
9899
  function Default(state) {
@@ -9823,7 +9914,7 @@ ${input.slice(result.pos)}
9823
9914
  return result;
9824
9915
  }
9825
9916
  }
9826
- var Delete$0 = $TS($S($EXPECT($L105, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9917
+ var Delete$0 = $TS($S($EXPECT($L102, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9827
9918
  return { $loc, token: $1 };
9828
9919
  });
9829
9920
  function Delete(state) {
@@ -9844,7 +9935,7 @@ ${input.slice(result.pos)}
9844
9935
  return result;
9845
9936
  }
9846
9937
  }
9847
- var Do$0 = $TS($S($EXPECT($L106, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9938
+ var Do$0 = $TS($S($EXPECT($L103, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9848
9939
  return { $loc, token: $1 };
9849
9940
  });
9850
9941
  function Do(state) {
@@ -9865,7 +9956,7 @@ ${input.slice(result.pos)}
9865
9956
  return result;
9866
9957
  }
9867
9958
  }
9868
- var Dot$0 = $TV($EXPECT($L9, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9959
+ var Dot$0 = $TV($EXPECT($L7, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
9869
9960
  return { $loc, token: $1 };
9870
9961
  });
9871
9962
  function Dot(state) {
@@ -9886,7 +9977,7 @@ ${input.slice(result.pos)}
9886
9977
  return result;
9887
9978
  }
9888
9979
  }
9889
- var DotDot$0 = $TV($EXPECT($L107, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9980
+ var DotDot$0 = $TV($EXPECT($L104, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
9890
9981
  return { $loc, token: $1 };
9891
9982
  });
9892
9983
  function DotDot(state) {
@@ -9907,7 +9998,7 @@ ${input.slice(result.pos)}
9907
9998
  return result;
9908
9999
  }
9909
10000
  }
9910
- var DotDotDot$0 = $TV($EXPECT($L108, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
10001
+ var DotDotDot$0 = $TV($EXPECT($L105, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
9911
10002
  return { $loc, token: $1 };
9912
10003
  });
9913
10004
  function DotDotDot(state) {
@@ -9928,7 +10019,7 @@ ${input.slice(result.pos)}
9928
10019
  return result;
9929
10020
  }
9930
10021
  }
9931
- var DoubleColon$0 = $TV($EXPECT($L109, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
10022
+ var DoubleColon$0 = $TV($EXPECT($L106, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
9932
10023
  return { $loc, token: $1 };
9933
10024
  });
9934
10025
  function DoubleColon(state) {
@@ -9949,7 +10040,7 @@ ${input.slice(result.pos)}
9949
10040
  return result;
9950
10041
  }
9951
10042
  }
9952
- var DoubleQuote$0 = $TV($EXPECT($L110, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
10043
+ var DoubleQuote$0 = $TV($EXPECT($L107, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
9953
10044
  return { $loc, token: $1 };
9954
10045
  });
9955
10046
  function DoubleQuote(state) {
@@ -9970,7 +10061,7 @@ ${input.slice(result.pos)}
9970
10061
  return result;
9971
10062
  }
9972
10063
  }
9973
- var Else$0 = $TS($S($EXPECT($L111, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10064
+ var Else$0 = $TS($S($EXPECT($L108, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
9974
10065
  return { $loc, token: $1 };
9975
10066
  });
9976
10067
  function Else(state) {
@@ -9991,7 +10082,7 @@ ${input.slice(result.pos)}
9991
10082
  return result;
9992
10083
  }
9993
10084
  }
9994
- var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
10085
+ var Equals$0 = $TV($EXPECT($L24, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
9995
10086
  return { $loc, token: $1 };
9996
10087
  });
9997
10088
  function Equals(state) {
@@ -10012,7 +10103,7 @@ ${input.slice(result.pos)}
10012
10103
  return result;
10013
10104
  }
10014
10105
  }
10015
- var Export$0 = $TS($S($EXPECT($L112, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10106
+ var Export$0 = $TS($S($EXPECT($L109, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10016
10107
  return { $loc, token: $1 };
10017
10108
  });
10018
10109
  function Export(state) {
@@ -10033,7 +10124,28 @@ ${input.slice(result.pos)}
10033
10124
  return result;
10034
10125
  }
10035
10126
  }
10036
- var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10127
+ var Extends$0 = $TS($S($EXPECT($L110, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10128
+ return { $loc, token: $1 };
10129
+ });
10130
+ function Extends(state) {
10131
+ if (state.events) {
10132
+ const result = state.events.enter?.("Extends", state);
10133
+ if (result)
10134
+ return result.cache;
10135
+ }
10136
+ if (state.tokenize) {
10137
+ const result = $TOKEN("Extends", state, Extends$0(state));
10138
+ if (state.events)
10139
+ state.events.exit?.("Extends", state, result);
10140
+ return result;
10141
+ } else {
10142
+ const result = Extends$0(state);
10143
+ if (state.events)
10144
+ state.events.exit?.("Extends", state, result);
10145
+ return result;
10146
+ }
10147
+ }
10148
+ var For$0 = $TS($S($EXPECT($L111, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10037
10149
  return { $loc, token: $1 };
10038
10150
  });
10039
10151
  function For(state) {
@@ -10054,7 +10166,7 @@ ${input.slice(result.pos)}
10054
10166
  return result;
10055
10167
  }
10056
10168
  }
10057
- var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10169
+ var From$0 = $TS($S($EXPECT($L112, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10058
10170
  return { $loc, token: $1 };
10059
10171
  });
10060
10172
  function From(state) {
@@ -10075,7 +10187,7 @@ ${input.slice(result.pos)}
10075
10187
  return result;
10076
10188
  }
10077
10189
  }
10078
- var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10190
+ var Function$0 = $TS($S($EXPECT($L113, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10079
10191
  return { $loc, token: $1 };
10080
10192
  });
10081
10193
  function Function(state) {
@@ -10096,7 +10208,7 @@ ${input.slice(result.pos)}
10096
10208
  return result;
10097
10209
  }
10098
10210
  }
10099
- var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10211
+ var GetOrSet$0 = $TS($S($C($EXPECT($L114, fail, 'GetOrSet "get"'), $EXPECT($L115, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10100
10212
  return { $loc, token: $1, type: "GetOrSet" };
10101
10213
  });
10102
10214
  function GetOrSet(state) {
@@ -10117,7 +10229,7 @@ ${input.slice(result.pos)}
10117
10229
  return result;
10118
10230
  }
10119
10231
  }
10120
- var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10232
+ var If$0 = $TV($TEXT($S($EXPECT($L116, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L4, fail, 'If " "')))), function($skip, $loc, $0, $1) {
10121
10233
  return { $loc, token: $1 };
10122
10234
  });
10123
10235
  function If(state) {
@@ -10138,7 +10250,7 @@ ${input.slice(result.pos)}
10138
10250
  return result;
10139
10251
  }
10140
10252
  }
10141
- var Import$0 = $TS($S($EXPECT($L11, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10253
+ var Import$0 = $TS($S($EXPECT($L9, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
10142
10254
  return { $loc, token: $1 };
10143
10255
  });
10144
10256
  function Import(state) {
@@ -10159,7 +10271,7 @@ ${input.slice(result.pos)}
10159
10271
  return result;
10160
10272
  }
10161
10273
  }
10162
- var In$0 = $TS($S($EXPECT($L74, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10274
+ var In$0 = $TS($S($EXPECT($L72, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10163
10275
  return { $loc, token: $1 };
10164
10276
  });
10165
10277
  function In(state) {
@@ -10180,7 +10292,7 @@ ${input.slice(result.pos)}
10180
10292
  return result;
10181
10293
  }
10182
10294
  }
10183
- var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10295
+ var LetOrConst$0 = $TS($S($C($EXPECT($L117, fail, 'LetOrConst "let"'), $EXPECT($L118, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10184
10296
  return { $loc, token: $1 };
10185
10297
  });
10186
10298
  function LetOrConst(state) {
@@ -10201,7 +10313,7 @@ ${input.slice(result.pos)}
10201
10313
  return result;
10202
10314
  }
10203
10315
  }
10204
- var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10316
+ var Loop$0 = $TS($S($EXPECT($L119, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10205
10317
  return { $loc, token: "while(true)" };
10206
10318
  });
10207
10319
  function Loop(state) {
@@ -10222,7 +10334,7 @@ ${input.slice(result.pos)}
10222
10334
  return result;
10223
10335
  }
10224
10336
  }
10225
- var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10337
+ var New$0 = $TS($S($EXPECT($L120, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10226
10338
  return { $loc, token: $1 };
10227
10339
  });
10228
10340
  function New(state) {
@@ -10243,7 +10355,7 @@ ${input.slice(result.pos)}
10243
10355
  return result;
10244
10356
  }
10245
10357
  }
10246
- 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) {
10358
+ 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) {
10247
10359
  return { $loc, token: "!" };
10248
10360
  });
10249
10361
  function Not(state) {
@@ -10264,7 +10376,7 @@ ${input.slice(result.pos)}
10264
10376
  return result;
10265
10377
  }
10266
10378
  }
10267
- var Of$0 = $TS($S($EXPECT($L67, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10379
+ var Of$0 = $TS($S($EXPECT($L65, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10268
10380
  return { $loc, token: $1 };
10269
10381
  });
10270
10382
  function Of(state) {
@@ -10285,7 +10397,28 @@ ${input.slice(result.pos)}
10285
10397
  return result;
10286
10398
  }
10287
10399
  }
10288
- var OpenBrace$0 = $TV($EXPECT($L123, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10400
+ var OpenAngleBracket$0 = $TV($EXPECT($L121, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
10401
+ return { $loc, token: $1 };
10402
+ });
10403
+ function OpenAngleBracket(state) {
10404
+ if (state.events) {
10405
+ const result = state.events.enter?.("OpenAngleBracket", state);
10406
+ if (result)
10407
+ return result.cache;
10408
+ }
10409
+ if (state.tokenize) {
10410
+ const result = $TOKEN("OpenAngleBracket", state, OpenAngleBracket$0(state));
10411
+ if (state.events)
10412
+ state.events.exit?.("OpenAngleBracket", state, result);
10413
+ return result;
10414
+ } else {
10415
+ const result = OpenAngleBracket$0(state);
10416
+ if (state.events)
10417
+ state.events.exit?.("OpenAngleBracket", state, result);
10418
+ return result;
10419
+ }
10420
+ }
10421
+ var OpenBrace$0 = $TV($EXPECT($L122, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
10289
10422
  return { $loc, token: $1 };
10290
10423
  });
10291
10424
  function OpenBrace(state) {
@@ -10306,7 +10439,7 @@ ${input.slice(result.pos)}
10306
10439
  return result;
10307
10440
  }
10308
10441
  }
10309
- var OpenBracket$0 = $TV($EXPECT($L124, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10442
+ var OpenBracket$0 = $TV($EXPECT($L123, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
10310
10443
  return { $loc, token: $1 };
10311
10444
  });
10312
10445
  function OpenBracket(state) {
@@ -10327,7 +10460,7 @@ ${input.slice(result.pos)}
10327
10460
  return result;
10328
10461
  }
10329
10462
  }
10330
- var OpenParen$0 = $TV($EXPECT($L125, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10463
+ var OpenParen$0 = $TV($EXPECT($L124, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
10331
10464
  return { $loc, token: $1 };
10332
10465
  });
10333
10466
  function OpenParen(state) {
@@ -10348,7 +10481,7 @@ ${input.slice(result.pos)}
10348
10481
  return result;
10349
10482
  }
10350
10483
  }
10351
- var Public$0 = $TS($S($EXPECT($L126, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10484
+ var Public$0 = $TS($S($EXPECT($L125, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10352
10485
  return { $loc, token: $1 };
10353
10486
  });
10354
10487
  function Public(state) {
@@ -10369,7 +10502,7 @@ ${input.slice(result.pos)}
10369
10502
  return result;
10370
10503
  }
10371
10504
  }
10372
- var Private$0 = $TS($S($EXPECT($L127, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10505
+ var Private$0 = $TS($S($EXPECT($L126, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10373
10506
  return { $loc, token: $1 };
10374
10507
  });
10375
10508
  function Private(state) {
@@ -10390,7 +10523,7 @@ ${input.slice(result.pos)}
10390
10523
  return result;
10391
10524
  }
10392
10525
  }
10393
- var Protected$0 = $TS($S($EXPECT($L128, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10526
+ var Protected$0 = $TS($S($EXPECT($L127, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10394
10527
  return { $loc, token: $1 };
10395
10528
  });
10396
10529
  function Protected(state) {
@@ -10411,7 +10544,7 @@ ${input.slice(result.pos)}
10411
10544
  return result;
10412
10545
  }
10413
10546
  }
10414
- var Pipe$0 = $TV($EXPECT($L129, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10547
+ var Pipe$0 = $TV($EXPECT($L128, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
10415
10548
  return { $loc, token: $1 };
10416
10549
  });
10417
10550
  function Pipe(state) {
@@ -10432,7 +10565,7 @@ ${input.slice(result.pos)}
10432
10565
  return result;
10433
10566
  }
10434
10567
  }
10435
- var QuestionMark$0 = $TV($EXPECT($L71, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10568
+ var QuestionMark$0 = $TV($EXPECT($L69, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
10436
10569
  return { $loc, token: $1 };
10437
10570
  });
10438
10571
  function QuestionMark(state) {
@@ -10453,7 +10586,7 @@ ${input.slice(result.pos)}
10453
10586
  return result;
10454
10587
  }
10455
10588
  }
10456
- var Readonly$0 = $TS($S($EXPECT($L130, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10589
+ var Readonly$0 = $TS($S($EXPECT($L129, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10457
10590
  return { $loc, token: $1, ts: true };
10458
10591
  });
10459
10592
  function Readonly(state) {
@@ -10474,7 +10607,7 @@ ${input.slice(result.pos)}
10474
10607
  return result;
10475
10608
  }
10476
10609
  }
10477
- var Return$0 = $TS($S($EXPECT($L131, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10610
+ var Return$0 = $TS($S($EXPECT($L130, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10478
10611
  return { $loc, token: $1 };
10479
10612
  });
10480
10613
  function Return(state) {
@@ -10495,7 +10628,7 @@ ${input.slice(result.pos)}
10495
10628
  return result;
10496
10629
  }
10497
10630
  }
10498
- var Satisfies$0 = $TS($S($EXPECT($L132, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10631
+ var Satisfies$0 = $TS($S($EXPECT($L131, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10499
10632
  return { $loc, token: $1 };
10500
10633
  });
10501
10634
  function Satisfies(state) {
@@ -10516,7 +10649,7 @@ ${input.slice(result.pos)}
10516
10649
  return result;
10517
10650
  }
10518
10651
  }
10519
- var Semicolon$0 = $TV($EXPECT($L79, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10652
+ var Semicolon$0 = $TV($EXPECT($L77, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
10520
10653
  return { $loc, token: $1 };
10521
10654
  });
10522
10655
  function Semicolon(state) {
@@ -10537,7 +10670,7 @@ ${input.slice(result.pos)}
10537
10670
  return result;
10538
10671
  }
10539
10672
  }
10540
- var SingleQuote$0 = $TV($EXPECT($L133, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10673
+ var SingleQuote$0 = $TV($EXPECT($L132, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
10541
10674
  return { $loc, token: $1 };
10542
10675
  });
10543
10676
  function SingleQuote(state) {
@@ -10558,7 +10691,7 @@ ${input.slice(result.pos)}
10558
10691
  return result;
10559
10692
  }
10560
10693
  }
10561
- var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10694
+ var Star$0 = $TV($EXPECT($L47, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
10562
10695
  return { $loc, token: $1 };
10563
10696
  });
10564
10697
  function Star(state) {
@@ -10579,10 +10712,10 @@ ${input.slice(result.pos)}
10579
10712
  return result;
10580
10713
  }
10581
10714
  }
10582
- var Static$0 = $TS($S($EXPECT($L134, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10715
+ var Static$0 = $TS($S($EXPECT($L133, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10583
10716
  return { $loc, token: $1 };
10584
10717
  });
10585
- 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) {
10718
+ 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) {
10586
10719
  return { $loc, token: "static " };
10587
10720
  });
10588
10721
  function Static(state) {
@@ -10603,7 +10736,7 @@ ${input.slice(result.pos)}
10603
10736
  return result;
10604
10737
  }
10605
10738
  }
10606
- var SubstitutionStart$0 = $TV($EXPECT($L135, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10739
+ var SubstitutionStart$0 = $TV($EXPECT($L134, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
10607
10740
  return { $loc, token: $1 };
10608
10741
  });
10609
10742
  function SubstitutionStart(state) {
@@ -10624,7 +10757,7 @@ ${input.slice(result.pos)}
10624
10757
  return result;
10625
10758
  }
10626
10759
  }
10627
- var Switch$0 = $TS($S($EXPECT($L136, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10760
+ var Switch$0 = $TS($S($EXPECT($L135, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10628
10761
  return { $loc, token: $1 };
10629
10762
  });
10630
10763
  function Switch(state) {
@@ -10645,7 +10778,7 @@ ${input.slice(result.pos)}
10645
10778
  return result;
10646
10779
  }
10647
10780
  }
10648
- var Target$0 = $TS($S($EXPECT($L137, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10781
+ var Target$0 = $TS($S($EXPECT($L136, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10649
10782
  return { $loc, token: $1 };
10650
10783
  });
10651
10784
  function Target(state) {
@@ -10666,7 +10799,7 @@ ${input.slice(result.pos)}
10666
10799
  return result;
10667
10800
  }
10668
10801
  }
10669
- var Then$0 = $TS($S(__, $EXPECT($L138, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10802
+ var Then$0 = $TS($S(__, $EXPECT($L137, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
10670
10803
  return { $loc, token: "" };
10671
10804
  });
10672
10805
  function Then(state) {
@@ -10687,7 +10820,7 @@ ${input.slice(result.pos)}
10687
10820
  return result;
10688
10821
  }
10689
10822
  }
10690
- var This$0 = $TS($S($EXPECT($L139, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10823
+ var This$0 = $TS($S($EXPECT($L138, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10691
10824
  return { $loc, token: $1 };
10692
10825
  });
10693
10826
  function This(state) {
@@ -10708,7 +10841,7 @@ ${input.slice(result.pos)}
10708
10841
  return result;
10709
10842
  }
10710
10843
  }
10711
- var Throw$0 = $TS($S($EXPECT($L140, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10844
+ var Throw$0 = $TS($S($EXPECT($L139, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10712
10845
  return { $loc, token: $1 };
10713
10846
  });
10714
10847
  function Throw(state) {
@@ -10729,7 +10862,7 @@ ${input.slice(result.pos)}
10729
10862
  return result;
10730
10863
  }
10731
10864
  }
10732
- var TripleDoubleQuote$0 = $TV($EXPECT($L141, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10865
+ var TripleDoubleQuote$0 = $TV($EXPECT($L140, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
10733
10866
  return { $loc, token: "`" };
10734
10867
  });
10735
10868
  function TripleDoubleQuote(state) {
@@ -10750,7 +10883,7 @@ ${input.slice(result.pos)}
10750
10883
  return result;
10751
10884
  }
10752
10885
  }
10753
- var TripleSingleQuote$0 = $TV($EXPECT($L142, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10886
+ var TripleSingleQuote$0 = $TV($EXPECT($L141, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
10754
10887
  return { $loc, token: "`" };
10755
10888
  });
10756
10889
  function TripleSingleQuote(state) {
@@ -10771,7 +10904,7 @@ ${input.slice(result.pos)}
10771
10904
  return result;
10772
10905
  }
10773
10906
  }
10774
- var TripleSlash$0 = $TV($EXPECT($L143, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10907
+ var TripleSlash$0 = $TV($EXPECT($L142, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
10775
10908
  return { $loc, token: "/" };
10776
10909
  });
10777
10910
  function TripleSlash(state) {
@@ -10792,7 +10925,7 @@ ${input.slice(result.pos)}
10792
10925
  return result;
10793
10926
  }
10794
10927
  }
10795
- var TripleTick$0 = $TV($EXPECT($L144, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10928
+ var TripleTick$0 = $TV($EXPECT($L143, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
10796
10929
  return { $loc, token: "`" };
10797
10930
  });
10798
10931
  function TripleTick(state) {
@@ -10813,7 +10946,7 @@ ${input.slice(result.pos)}
10813
10946
  return result;
10814
10947
  }
10815
10948
  }
10816
- var Try$0 = $TS($S($EXPECT($L145, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10949
+ var Try$0 = $TS($S($EXPECT($L144, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10817
10950
  return { $loc, token: $1 };
10818
10951
  });
10819
10952
  function Try(state) {
@@ -10834,7 +10967,7 @@ ${input.slice(result.pos)}
10834
10967
  return result;
10835
10968
  }
10836
10969
  }
10837
- var Typeof$0 = $TS($S($EXPECT($L146, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10970
+ var Typeof$0 = $TS($S($EXPECT($L145, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10838
10971
  return { $loc, token: $1 };
10839
10972
  });
10840
10973
  function Typeof(state) {
@@ -10855,7 +10988,7 @@ ${input.slice(result.pos)}
10855
10988
  return result;
10856
10989
  }
10857
10990
  }
10858
- var Unless$0 = $TS($S($EXPECT($L147, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10991
+ var Unless$0 = $TS($S($EXPECT($L146, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10859
10992
  return { $loc, token: $1 };
10860
10993
  });
10861
10994
  function Unless(state) {
@@ -10876,7 +11009,7 @@ ${input.slice(result.pos)}
10876
11009
  return result;
10877
11010
  }
10878
11011
  }
10879
- var Until$0 = $TS($S($EXPECT($L148, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11012
+ var Until$0 = $TS($S($EXPECT($L147, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10880
11013
  return { $loc, token: $1 };
10881
11014
  });
10882
11015
  function Until(state) {
@@ -10897,7 +11030,7 @@ ${input.slice(result.pos)}
10897
11030
  return result;
10898
11031
  }
10899
11032
  }
10900
- var Var$0 = $TS($S($EXPECT($L149, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11033
+ var Var$0 = $TS($S($EXPECT($L148, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10901
11034
  return { $loc, token: $1 };
10902
11035
  });
10903
11036
  function Var(state) {
@@ -10918,7 +11051,7 @@ ${input.slice(result.pos)}
10918
11051
  return result;
10919
11052
  }
10920
11053
  }
10921
- var Void$0 = $TS($S($EXPECT($L150, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11054
+ var Void$0 = $TS($S($EXPECT($L149, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10922
11055
  return { $loc, token: $1 };
10923
11056
  });
10924
11057
  function Void(state) {
@@ -10939,7 +11072,7 @@ ${input.slice(result.pos)}
10939
11072
  return result;
10940
11073
  }
10941
11074
  }
10942
- var When$0 = $TS($S($EXPECT($L151, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11075
+ var When$0 = $TS($S($EXPECT($L150, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10943
11076
  return { $loc, token: "case" };
10944
11077
  });
10945
11078
  function When(state) {
@@ -10960,7 +11093,7 @@ ${input.slice(result.pos)}
10960
11093
  return result;
10961
11094
  }
10962
11095
  }
10963
- var While$0 = $TS($S($EXPECT($L152, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11096
+ var While$0 = $TS($S($EXPECT($L151, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10964
11097
  return { $loc, token: $1 };
10965
11098
  });
10966
11099
  function While(state) {
@@ -10981,7 +11114,7 @@ ${input.slice(result.pos)}
10981
11114
  return result;
10982
11115
  }
10983
11116
  }
10984
- var Yield$0 = $TS($S($EXPECT($L153, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
11117
+ var Yield$0 = $TS($S($EXPECT($L152, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
10985
11118
  return { $loc, token: $1 };
10986
11119
  });
10987
11120
  function Yield(state) {
@@ -11097,7 +11230,7 @@ ${input.slice(result.pos)}
11097
11230
  return result;
11098
11231
  }
11099
11232
  }
11100
- 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) {
11233
+ 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) {
11101
11234
  return { type: "JSXElement", children: $0 };
11102
11235
  });
11103
11236
  function JSXSelfClosingElement(state) {
@@ -11118,7 +11251,7 @@ ${input.slice(result.pos)}
11118
11251
  return result;
11119
11252
  }
11120
11253
  }
11121
- var JSXOpeningElement$0 = $S($EXPECT($L5, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
11254
+ var JSXOpeningElement$0 = $S($EXPECT($L121, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(CompactTypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L25, fail, 'JSXOpeningElement ">"'));
11122
11255
  function JSXOpeningElement(state) {
11123
11256
  if (state.events) {
11124
11257
  const result = state.events.enter?.("JSXOpeningElement", state);
@@ -11137,7 +11270,7 @@ ${input.slice(result.pos)}
11137
11270
  return result;
11138
11271
  }
11139
11272
  }
11140
- var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
11273
+ var JSXClosingElement$0 = $S($EXPECT($L154, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L25, fail, 'JSXClosingElement ">"'));
11141
11274
  function JSXClosingElement(state) {
11142
11275
  if (state.events) {
11143
11276
  const result = state.events.enter?.("JSXClosingElement", state);
@@ -11156,14 +11289,14 @@ ${input.slice(result.pos)}
11156
11289
  return result;
11157
11290
  }
11158
11291
  }
11159
- 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) {
11292
+ 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) {
11160
11293
  if ($2) {
11161
11294
  return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
11162
11295
  } else {
11163
11296
  return { type: "JSXFragment", children: $0, jsxChildren: [] };
11164
11297
  }
11165
11298
  });
11166
- var JSXFragment$1 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11299
+ var JSXFragment$1 = $TS($S($EXPECT($L155, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
11167
11300
  return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
11168
11301
  });
11169
11302
  function JSXFragment(state) {
@@ -11374,7 +11507,7 @@ ${input.slice(result.pos)}
11374
11507
  }
11375
11508
  });
11376
11509
  var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace);
11377
- var JSXAttribute$3 = $TS($S($EXPECT($L8, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11510
+ var JSXAttribute$3 = $TS($S($EXPECT($L6, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
11378
11511
  return [" ", "id=", $2];
11379
11512
  });
11380
11513
  var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
@@ -11637,8 +11770,8 @@ ${input.slice(result.pos)}
11637
11770
  return result;
11638
11771
  }
11639
11772
  }
11640
- var InlineJSXCallExpression$0 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11641
- var InlineJSXCallExpression$1 = $S($EXPECT($L11, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11773
+ var InlineJSXCallExpression$0 = $S($EXPECT($L8, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
11774
+ var InlineJSXCallExpression$1 = $S($EXPECT($L9, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
11642
11775
  var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
11643
11776
  if ($2.length)
11644
11777
  return $0;
@@ -11825,7 +11958,7 @@ ${input.slice(result.pos)}
11825
11958
  }
11826
11959
  return $skip;
11827
11960
  });
11828
- var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11961
+ var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L15, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
11829
11962
  return { children: [], jsxChildren: [] };
11830
11963
  });
11831
11964
  function JSXNestedChildren(state) {
@@ -11892,7 +12025,7 @@ ${input.slice(result.pos)}
11892
12025
  return result;
11893
12026
  }
11894
12027
  }
11895
- var JSXComment$0 = $TS($S($EXPECT($L158, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L159, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
12028
+ var JSXComment$0 = $TS($S($EXPECT($L157, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L158, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
11896
12029
  return ["{/*", $2, "*/}"];
11897
12030
  });
11898
12031
  function JSXComment(state) {
@@ -12041,7 +12174,7 @@ ${input.slice(result.pos)}
12041
12174
  return result;
12042
12175
  }
12043
12176
  }
12044
- var TypeDeclarationModifier$0 = $S($EXPECT($L160, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12177
+ var TypeDeclarationModifier$0 = $S($EXPECT($L159, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
12045
12178
  var TypeDeclarationModifier$1 = Export;
12046
12179
  function TypeDeclarationModifier(state) {
12047
12180
  if (state.events) {
@@ -12083,7 +12216,7 @@ ${input.slice(result.pos)}
12083
12216
  return result;
12084
12217
  }
12085
12218
  }
12086
- var TypeKeyword$0 = $S($EXPECT($L161, fail, 'TypeKeyword "type"'), NonIdContinue);
12219
+ var TypeKeyword$0 = $S($EXPECT($L160, fail, 'TypeKeyword "type"'), NonIdContinue);
12087
12220
  function TypeKeyword(state) {
12088
12221
  if (state.events) {
12089
12222
  const result = state.events.enter?.("TypeKeyword", state);
@@ -12102,7 +12235,7 @@ ${input.slice(result.pos)}
12102
12235
  return result;
12103
12236
  }
12104
12237
  }
12105
- var Interface$0 = $S($EXPECT($L162, fail, 'Interface "interface"'), NonIdContinue);
12238
+ var Interface$0 = $S($EXPECT($L161, fail, 'Interface "interface"'), NonIdContinue);
12106
12239
  function Interface(state) {
12107
12240
  if (state.events) {
12108
12241
  const result = state.events.enter?.("Interface", state);
@@ -12121,7 +12254,7 @@ ${input.slice(result.pos)}
12121
12254
  return result;
12122
12255
  }
12123
12256
  }
12124
- var Namespace$0 = $S($EXPECT($L163, fail, 'Namespace "namespace"'), NonIdContinue);
12257
+ var Namespace$0 = $S($EXPECT($L162, fail, 'Namespace "namespace"'), NonIdContinue);
12125
12258
  function Namespace(state) {
12126
12259
  if (state.events) {
12127
12260
  const result = state.events.enter?.("Namespace", state);
@@ -12310,7 +12443,7 @@ ${input.slice(result.pos)}
12310
12443
  return result;
12311
12444
  }
12312
12445
  }
12313
- 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)));
12446
+ 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)));
12314
12447
  function TypeIndexSignature(state) {
12315
12448
  if (state.events) {
12316
12449
  const result = state.events.enter?.("TypeIndexSignature", state);
@@ -12370,7 +12503,7 @@ ${input.slice(result.pos)}
12370
12503
  return result;
12371
12504
  }
12372
12505
  }
12373
- var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L164, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12506
+ var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L163, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
12374
12507
  const children = [...$1, $2];
12375
12508
  if ($3)
12376
12509
  children.push($3);
@@ -12399,7 +12532,7 @@ ${input.slice(result.pos)}
12399
12532
  return result;
12400
12533
  }
12401
12534
  }
12402
- var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L75, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12535
+ var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L73, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
12403
12536
  if (!$2)
12404
12537
  return $1;
12405
12538
  return $0;
@@ -12505,10 +12638,10 @@ ${input.slice(result.pos)}
12505
12638
  return result;
12506
12639
  }
12507
12640
  }
12508
- var TypeUnaryOp$0 = $S($EXPECT($L165, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12509
- var TypeUnaryOp$1 = $S($EXPECT($L146, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12510
- var TypeUnaryOp$2 = $S($EXPECT($L166, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12511
- var TypeUnaryOp$3 = $S($EXPECT($L130, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12641
+ var TypeUnaryOp$0 = $S($EXPECT($L164, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
12642
+ var TypeUnaryOp$1 = $S($EXPECT($L145, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
12643
+ var TypeUnaryOp$2 = $S($EXPECT($L165, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
12644
+ var TypeUnaryOp$3 = $S($EXPECT($L129, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
12512
12645
  function TypeUnaryOp(state) {
12513
12646
  if (state.events) {
12514
12647
  const result = state.events.enter?.("TypeUnaryOp", state);
@@ -12652,7 +12785,7 @@ ${input.slice(result.pos)}
12652
12785
  return result;
12653
12786
  }
12654
12787
  }
12655
- 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) {
12788
+ 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) {
12656
12789
  if ($2)
12657
12790
  return $0;
12658
12791
  return $1;
@@ -12677,10 +12810,10 @@ ${input.slice(result.pos)}
12677
12810
  }
12678
12811
  var TypeLiteral$0 = Literal;
12679
12812
  var TypeLiteral$1 = TemplateLiteral;
12680
- var TypeLiteral$2 = $TS($S($EXPECT($L150, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12813
+ var TypeLiteral$2 = $TS($S($EXPECT($L149, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
12681
12814
  return { $loc, token: "void" };
12682
12815
  });
12683
- var TypeLiteral$3 = $TV($EXPECT($L167, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12816
+ var TypeLiteral$3 = $TV($EXPECT($L166, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
12684
12817
  return { $loc, token: "[]" };
12685
12818
  });
12686
12819
  function TypeLiteral(state) {
@@ -12701,10 +12834,10 @@ ${input.slice(result.pos)}
12701
12834
  return result;
12702
12835
  }
12703
12836
  }
12704
- var TypeBinaryOp$0 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12837
+ var TypeBinaryOp$0 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
12705
12838
  return { $loc, token: "|" };
12706
12839
  });
12707
- var TypeBinaryOp$1 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12840
+ var TypeBinaryOp$1 = $TV($EXPECT($L74, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
12708
12841
  return { $loc, token: "&" };
12709
12842
  });
12710
12843
  function TypeBinaryOp(state) {
@@ -12744,7 +12877,7 @@ ${input.slice(result.pos)}
12744
12877
  return result;
12745
12878
  }
12746
12879
  }
12747
- var TypeArguments$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12880
+ var TypeArguments$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12748
12881
  return { ts: true, children: $0 };
12749
12882
  });
12750
12883
  function TypeArguments(state) {
@@ -12765,7 +12898,7 @@ ${input.slice(result.pos)}
12765
12898
  return result;
12766
12899
  }
12767
12900
  }
12768
- var CompactTypeArguments$0 = $TS($S($EXPECT($L5, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12901
+ var CompactTypeArguments$0 = $TS($S($EXPECT($L121, fail, 'CompactTypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L25, fail, 'CompactTypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
12769
12902
  return { ts: true, children: $0 };
12770
12903
  });
12771
12904
  function CompactTypeArguments(state) {
@@ -12824,7 +12957,7 @@ ${input.slice(result.pos)}
12824
12957
  return result;
12825
12958
  }
12826
12959
  }
12827
- var TypeParameters$0 = $TS($S(__, $EXPECT($L5, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12960
+ var TypeParameters$0 = $TS($S(__, $EXPECT($L121, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L25, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
12828
12961
  var parameters = $3;
12829
12962
  return {
12830
12963
  type: "TypeParameters",
@@ -12851,7 +12984,7 @@ ${input.slice(result.pos)}
12851
12984
  return result;
12852
12985
  }
12853
12986
  }
12854
- var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), TypeParameterDelimiter);
12987
+ var TypeParameter$0 = $S(__, Identifier, $E(TypeConstraint), $E(TypeInitializer), TypeParameterDelimiter);
12855
12988
  function TypeParameter(state) {
12856
12989
  if (state.events) {
12857
12990
  const result = state.events.enter?.("TypeParameter", state);
@@ -12870,7 +13003,7 @@ ${input.slice(result.pos)}
12870
13003
  return result;
12871
13004
  }
12872
13005
  }
12873
- var TypeConstraint$0 = $S(__, $EXPECT($L6, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
13006
+ var TypeConstraint$0 = $S(__, $EXPECT($L110, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
12874
13007
  function TypeConstraint(state) {
12875
13008
  if (state.events) {
12876
13009
  const result = state.events.enter?.("TypeConstraint", state);
@@ -12889,8 +13022,27 @@ ${input.slice(result.pos)}
12889
13022
  return result;
12890
13023
  }
12891
13024
  }
13025
+ var TypeInitializer$0 = $S(__, $EXPECT($L24, fail, 'TypeInitializer "="'), Type);
13026
+ function TypeInitializer(state) {
13027
+ if (state.events) {
13028
+ const result = state.events.enter?.("TypeInitializer", state);
13029
+ if (result)
13030
+ return result.cache;
13031
+ }
13032
+ if (state.tokenize) {
13033
+ const result = $TOKEN("TypeInitializer", state, TypeInitializer$0(state));
13034
+ if (state.events)
13035
+ state.events.exit?.("TypeInitializer", state, result);
13036
+ return result;
13037
+ } else {
13038
+ const result = TypeInitializer$0(state);
13039
+ if (state.events)
13040
+ state.events.exit?.("TypeInitializer", state, result);
13041
+ return result;
13042
+ }
13043
+ }
12892
13044
  var TypeParameterDelimiter$0 = $S($Q(_), Comma);
12893
- var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
13045
+ var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L25, fail, 'TypeParameterDelimiter ">"')));
12894
13046
  var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
12895
13047
  return value[1];
12896
13048
  });
@@ -12957,7 +13109,7 @@ ${input.slice(result.pos)}
12957
13109
  return result;
12958
13110
  }
12959
13111
  }
12960
- 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) {
13112
+ 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) {
12961
13113
  var options = $3;
12962
13114
  return {
12963
13115
  type: "CivetPrologue",
@@ -13845,7 +13997,7 @@ ${input.slice(result.pos)}
13845
13997
  if (type.length === 1) {
13846
13998
  return type[0];
13847
13999
  } else {
13848
- type = type.map((t) => [t, ", "]).flat();
14000
+ type = type.flatMap((t) => [t, ", "]);
13849
14001
  type.pop();
13850
14002
  return ["[", type, "]"];
13851
14003
  }
@@ -15506,7 +15658,7 @@ var uncacheable;
15506
15658
  ({ parse } = import_parser.default);
15507
15659
  ({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
15508
15660
  defaultOptions = {};
15509
- 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"]);
15661
+ 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"]);
15510
15662
  var compile = function(src, options = defaultOptions) {
15511
15663
  var ast, code, events, filename, sm, srcMapJSON;
15512
15664
  filename = options.filename || "unknown";