@danielx/civet 0.5.37 → 0.5.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/browser.js +712 -498
- package/dist/civet +25 -15
- package/dist/main.js +712 -498
- package/dist/main.mjs +712 -498
- package/package.json +1 -1
package/dist/main.js
CHANGED
|
@@ -433,10 +433,13 @@ ${input.slice(result.pos)}
|
|
|
433
433
|
ExpressionizedStatement,
|
|
434
434
|
Expression,
|
|
435
435
|
Arguments,
|
|
436
|
+
ImplicitArguments,
|
|
436
437
|
ExplicitArguments,
|
|
437
438
|
ApplicationStart,
|
|
438
|
-
|
|
439
|
+
ForbiddenImplicitCalls,
|
|
439
440
|
ArgumentsWithTrailingMemberExpressions,
|
|
441
|
+
TrailingMemberExpressions,
|
|
442
|
+
NonSuppressedTrailingMemberExpressions,
|
|
440
443
|
ArgumentList,
|
|
441
444
|
NestedArgumentList,
|
|
442
445
|
NestedArgument,
|
|
@@ -493,7 +496,6 @@ ${input.slice(result.pos)}
|
|
|
493
496
|
CallExpressionRest,
|
|
494
497
|
OptionalShorthand,
|
|
495
498
|
NonNullAssertion,
|
|
496
|
-
AdditionalReservedWords,
|
|
497
499
|
MemberExpression,
|
|
498
500
|
MemberExpressionRest,
|
|
499
501
|
MemberBracketContent,
|
|
@@ -646,6 +648,9 @@ ${input.slice(result.pos)}
|
|
|
646
648
|
Condition,
|
|
647
649
|
ExpressionWithIndentedApplicationSuppressed,
|
|
648
650
|
SuppressIndentedApplication,
|
|
651
|
+
IndentedApplicationAllowed,
|
|
652
|
+
SuppressTrailingMemberProperty,
|
|
653
|
+
TrailingMemberPropertyAllowed,
|
|
649
654
|
ExpressionStatement,
|
|
650
655
|
KeywordStatement,
|
|
651
656
|
DebuggerExpression,
|
|
@@ -727,6 +732,7 @@ ${input.slice(result.pos)}
|
|
|
727
732
|
TrailingComment,
|
|
728
733
|
_,
|
|
729
734
|
NonNewlineWhitespace,
|
|
735
|
+
Trimmed_,
|
|
730
736
|
__,
|
|
731
737
|
Whitespace,
|
|
732
738
|
ExpressionDelimiter,
|
|
@@ -875,6 +881,7 @@ ${input.slice(result.pos)}
|
|
|
875
881
|
TypeUnaryOp,
|
|
876
882
|
TypeIndexedAccess,
|
|
877
883
|
TypePrimary,
|
|
884
|
+
ImportType,
|
|
878
885
|
TypeTuple,
|
|
879
886
|
TypeList,
|
|
880
887
|
NestedTypeList,
|
|
@@ -937,173 +944,175 @@ ${input.slice(result.pos)}
|
|
|
937
944
|
PopIndent,
|
|
938
945
|
Nested
|
|
939
946
|
});
|
|
940
|
-
var $L0 = $L("");
|
|
941
|
-
var $L1 = $L("
|
|
942
|
-
var $L2 = $L("
|
|
943
|
-
var $L3 = $L("
|
|
944
|
-
var $L4 = $L("
|
|
945
|
-
var $L5 = $L("
|
|
946
|
-
var $L6 = $L("
|
|
947
|
-
var $L7 = $L("
|
|
948
|
-
var $L8 = $L("
|
|
949
|
-
var $L9 = $L("
|
|
950
|
-
var $L10 = $L("
|
|
951
|
-
var $L11 = $L("
|
|
952
|
-
var $L12 = $L("
|
|
953
|
-
var $L13 = $L("
|
|
954
|
-
var $L14 = $L("
|
|
955
|
-
var $L15 = $L("
|
|
956
|
-
var $L16 = $L("
|
|
957
|
-
var $L17 = $L("
|
|
958
|
-
var $L18 = $L("
|
|
959
|
-
var $L19 = $L("
|
|
960
|
-
var $L20 = $L("
|
|
961
|
-
var $L21 = $L("
|
|
962
|
-
var $L22 = $L("
|
|
963
|
-
var $L23 = $L("
|
|
964
|
-
var $L24 = $L("
|
|
965
|
-
var $L25 = $L("
|
|
966
|
-
var $L26 = $L("
|
|
967
|
-
var $L27 = $L("
|
|
968
|
-
var $L28 = $L("
|
|
969
|
-
var $L29 = $L("
|
|
970
|
-
var $L30 = $L("
|
|
971
|
-
var $L31 = $L("
|
|
972
|
-
var $L32 = $L("
|
|
973
|
-
var $L33 = $L("
|
|
974
|
-
var $L34 = $L("
|
|
975
|
-
var $L35 = $L("
|
|
976
|
-
var $L36 = $L("
|
|
977
|
-
var $L37 = $L("
|
|
978
|
-
var $L38 = $L("
|
|
979
|
-
var $L39 = $L("
|
|
980
|
-
var $L40 = $L("
|
|
981
|
-
var $L41 = $L("
|
|
982
|
-
var $L42 = $L("
|
|
983
|
-
var $L43 = $L("
|
|
984
|
-
var $L44 = $L("
|
|
985
|
-
var $L45 = $L("
|
|
986
|
-
var $L46 = $L("
|
|
987
|
-
var $L47 = $L("
|
|
988
|
-
var $L48 = $L("
|
|
989
|
-
var $L49 = $L("
|
|
990
|
-
var $L50 = $L("
|
|
991
|
-
var $L51 = $L("
|
|
992
|
-
var $L52 = $L("
|
|
993
|
-
var $L53 = $L("
|
|
994
|
-
var $L54 = $L("
|
|
995
|
-
var $L55 = $L("
|
|
996
|
-
var $L56 = $L("
|
|
997
|
-
var $L57 = $L("
|
|
998
|
-
var $L58 = $L("
|
|
999
|
-
var $L59 = $L("
|
|
1000
|
-
var $L60 = $L("
|
|
1001
|
-
var $L61 = $L("
|
|
1002
|
-
var $L62 = $L("
|
|
1003
|
-
var $L63 = $L("
|
|
1004
|
-
var $L64 = $L("
|
|
1005
|
-
var $L65 = $L("
|
|
1006
|
-
var $L66 = $L("
|
|
1007
|
-
var $L67 = $L("
|
|
1008
|
-
var $L68 = $L("
|
|
1009
|
-
var $L69 = $L("
|
|
1010
|
-
var $L70 = $L("
|
|
1011
|
-
var $L71 = $L("
|
|
1012
|
-
var $L72 = $L("
|
|
1013
|
-
var $L73 = $L("
|
|
1014
|
-
var $L74 = $L("
|
|
1015
|
-
var $L75 = $L("
|
|
1016
|
-
var $L76 = $L("
|
|
1017
|
-
var $L77 = $L("
|
|
1018
|
-
var $L78 = $L("
|
|
1019
|
-
var $L79 = $L("
|
|
1020
|
-
var $L80 = $L("
|
|
1021
|
-
var $L81 = $L("
|
|
1022
|
-
var $L82 = $L("
|
|
1023
|
-
var $L83 = $L("
|
|
1024
|
-
var $L84 = $L("
|
|
1025
|
-
var $L85 = $L("
|
|
1026
|
-
var $L86 = $L("
|
|
1027
|
-
var $L87 = $L("
|
|
1028
|
-
var $L88 = $L("
|
|
1029
|
-
var $L89 = $L("
|
|
1030
|
-
var $L90 = $L("
|
|
1031
|
-
var $L91 = $L("
|
|
1032
|
-
var $L92 = $L("
|
|
1033
|
-
var $L93 = $L("
|
|
1034
|
-
var $L94 = $L("
|
|
1035
|
-
var $L95 = $L("
|
|
1036
|
-
var $L96 = $L("
|
|
1037
|
-
var $L97 = $L("
|
|
1038
|
-
var $L98 = $L("
|
|
1039
|
-
var $L99 = $L("
|
|
1040
|
-
var $L100 = $L("
|
|
1041
|
-
var $L101 = $L("
|
|
1042
|
-
var $L102 = $L("
|
|
1043
|
-
var $L103 = $L("
|
|
1044
|
-
var $L104 = $L("
|
|
1045
|
-
var $L105 = $L("
|
|
1046
|
-
var $L106 = $L(
|
|
1047
|
-
var $L107 = $L("
|
|
1048
|
-
var $L108 = $L("
|
|
1049
|
-
var $L109 = $L("
|
|
1050
|
-
var $L110 = $L("
|
|
1051
|
-
var $L111 = $L("
|
|
1052
|
-
var $L112 = $L("
|
|
1053
|
-
var $L113 = $L("
|
|
1054
|
-
var $L114 = $L("
|
|
1055
|
-
var $L115 = $L("
|
|
1056
|
-
var $L116 = $L("
|
|
1057
|
-
var $L117 = $L("
|
|
1058
|
-
var $L118 = $L("
|
|
1059
|
-
var $L119 = $L("
|
|
1060
|
-
var $L120 = $L("
|
|
1061
|
-
var $L121 = $L("
|
|
1062
|
-
var $L122 = $L("
|
|
1063
|
-
var $L123 = $L("
|
|
1064
|
-
var $L124 = $L("
|
|
1065
|
-
var $L125 = $L("
|
|
1066
|
-
var $L126 = $L("
|
|
1067
|
-
var $L127 = $L("
|
|
1068
|
-
var $L128 = $L("
|
|
1069
|
-
var $L129 = $L("
|
|
1070
|
-
var $L130 = $L("
|
|
1071
|
-
var $L131 = $L("
|
|
1072
|
-
var $L132 = $L("
|
|
1073
|
-
var $L133 = $L("
|
|
1074
|
-
var $L134 = $L("
|
|
1075
|
-
var $L135 = $L("
|
|
1076
|
-
var $L136 = $L("
|
|
1077
|
-
var $L137 = $L("
|
|
1078
|
-
var $L138 = $L("
|
|
1079
|
-
var $L139 = $L(
|
|
1080
|
-
var $L140 = $L("
|
|
1081
|
-
var $L141 = $L("
|
|
1082
|
-
var $L142 = $L("
|
|
1083
|
-
var $L143 = $L("
|
|
1084
|
-
var $L144 = $L("
|
|
1085
|
-
var $L145 = $L("
|
|
1086
|
-
var $L146 = $L("
|
|
1087
|
-
var $L147 = $L("
|
|
1088
|
-
var $L148 = $L("
|
|
1089
|
-
var $L149 = $L("
|
|
1090
|
-
var $L150 = $L("
|
|
1091
|
-
var $L151 = $L("
|
|
1092
|
-
var $L152 = $L("
|
|
1093
|
-
var $L153 = $L("
|
|
1094
|
-
var $L154 = $L("
|
|
1095
|
-
var $L155 = $L("
|
|
1096
|
-
var $L156 = $L("
|
|
1097
|
-
var $L157 = $L("
|
|
1098
|
-
var $L158 = $L("
|
|
1099
|
-
var $L159 = $L("
|
|
1100
|
-
var $L160 = $L("
|
|
1101
|
-
var $L161 = $L("
|
|
1102
|
-
var $L162 = $L("
|
|
1103
|
-
var $L163 = $L("
|
|
1104
|
-
var $L164 = $L("
|
|
1105
|
-
var $L165 = $L("
|
|
1106
|
-
var $L166 = $L("
|
|
947
|
+
var $L0 = $L("/ ");
|
|
948
|
+
var $L1 = $L("?");
|
|
949
|
+
var $L2 = $L(".");
|
|
950
|
+
var $L3 = $L("++");
|
|
951
|
+
var $L4 = $L("--");
|
|
952
|
+
var $L5 = $L("=>");
|
|
953
|
+
var $L6 = $L(" ");
|
|
954
|
+
var $L7 = $L("implements");
|
|
955
|
+
var $L8 = $L("#");
|
|
956
|
+
var $L9 = $L("super");
|
|
957
|
+
var $L10 = $L("import");
|
|
958
|
+
var $L11 = $L("!");
|
|
959
|
+
var $L12 = $L("super[");
|
|
960
|
+
var $L13 = $L("import.meta");
|
|
961
|
+
var $L14 = $L("");
|
|
962
|
+
var $L15 = $L(")");
|
|
963
|
+
var $L16 = $L("->");
|
|
964
|
+
var $L17 = $L("}");
|
|
965
|
+
var $L18 = $L("null");
|
|
966
|
+
var $L19 = $L("true");
|
|
967
|
+
var $L20 = $L("false");
|
|
968
|
+
var $L21 = $L("yes");
|
|
969
|
+
var $L22 = $L("on");
|
|
970
|
+
var $L23 = $L("no");
|
|
971
|
+
var $L24 = $L("off");
|
|
972
|
+
var $L25 = $L(",");
|
|
973
|
+
var $L26 = $L("=");
|
|
974
|
+
var $L27 = $L(">");
|
|
975
|
+
var $L28 = $L("]");
|
|
976
|
+
var $L29 = $L(":");
|
|
977
|
+
var $L30 = $L("**=");
|
|
978
|
+
var $L31 = $L("*=");
|
|
979
|
+
var $L32 = $L("/=");
|
|
980
|
+
var $L33 = $L("%=");
|
|
981
|
+
var $L34 = $L("+=");
|
|
982
|
+
var $L35 = $L("-=");
|
|
983
|
+
var $L36 = $L("<<=");
|
|
984
|
+
var $L37 = $L(">>>=");
|
|
985
|
+
var $L38 = $L(">>=");
|
|
986
|
+
var $L39 = $L("&&=");
|
|
987
|
+
var $L40 = $L("&=");
|
|
988
|
+
var $L41 = $L("^=");
|
|
989
|
+
var $L42 = $L("||=");
|
|
990
|
+
var $L43 = $L("|=");
|
|
991
|
+
var $L44 = $L("??=");
|
|
992
|
+
var $L45 = $L("?=");
|
|
993
|
+
var $L46 = $L("and=");
|
|
994
|
+
var $L47 = $L("or=");
|
|
995
|
+
var $L48 = $L("**");
|
|
996
|
+
var $L49 = $L("*");
|
|
997
|
+
var $L50 = $L("/");
|
|
998
|
+
var $L51 = $L("%%");
|
|
999
|
+
var $L52 = $L("%");
|
|
1000
|
+
var $L53 = $L("+");
|
|
1001
|
+
var $L54 = $L("-");
|
|
1002
|
+
var $L55 = $L("<=");
|
|
1003
|
+
var $L56 = $L(">=");
|
|
1004
|
+
var $L57 = $L("<?");
|
|
1005
|
+
var $L58 = $L("<<");
|
|
1006
|
+
var $L59 = $L(">>>");
|
|
1007
|
+
var $L60 = $L(">>");
|
|
1008
|
+
var $L61 = $L("!==");
|
|
1009
|
+
var $L62 = $L("!=");
|
|
1010
|
+
var $L63 = $L("isnt");
|
|
1011
|
+
var $L64 = $L("===");
|
|
1012
|
+
var $L65 = $L("==");
|
|
1013
|
+
var $L66 = $L("and");
|
|
1014
|
+
var $L67 = $L("&&");
|
|
1015
|
+
var $L68 = $L("of");
|
|
1016
|
+
var $L69 = $L("or");
|
|
1017
|
+
var $L70 = $L("||");
|
|
1018
|
+
var $L71 = $L("??");
|
|
1019
|
+
var $L72 = $L("instanceof");
|
|
1020
|
+
var $L73 = $L("not");
|
|
1021
|
+
var $L74 = $L("in");
|
|
1022
|
+
var $L75 = $L("is");
|
|
1023
|
+
var $L76 = $L("&");
|
|
1024
|
+
var $L77 = $L("^");
|
|
1025
|
+
var $L78 = $L("|");
|
|
1026
|
+
var $L79 = $L(";");
|
|
1027
|
+
var $L80 = $L("own");
|
|
1028
|
+
var $L81 = $L("finally");
|
|
1029
|
+
var $L82 = $L("break");
|
|
1030
|
+
var $L83 = $L("continue");
|
|
1031
|
+
var $L84 = $L("debugger");
|
|
1032
|
+
var $L85 = $L("default");
|
|
1033
|
+
var $L86 = $L(":=");
|
|
1034
|
+
var $L87 = $L(".=");
|
|
1035
|
+
var $L88 = $L("/*");
|
|
1036
|
+
var $L89 = $L("*/");
|
|
1037
|
+
var $L90 = $L("\\");
|
|
1038
|
+
var $L91 = $L("abstract");
|
|
1039
|
+
var $L92 = $L("as");
|
|
1040
|
+
var $L93 = $L("@");
|
|
1041
|
+
var $L94 = $L("@@");
|
|
1042
|
+
var $L95 = $L("async");
|
|
1043
|
+
var $L96 = $L("await");
|
|
1044
|
+
var $L97 = $L("`");
|
|
1045
|
+
var $L98 = $L("by");
|
|
1046
|
+
var $L99 = $L("case");
|
|
1047
|
+
var $L100 = $L("catch");
|
|
1048
|
+
var $L101 = $L("class");
|
|
1049
|
+
var $L102 = $L("#{");
|
|
1050
|
+
var $L103 = $L("delete");
|
|
1051
|
+
var $L104 = $L("do");
|
|
1052
|
+
var $L105 = $L("..");
|
|
1053
|
+
var $L106 = $L("...");
|
|
1054
|
+
var $L107 = $L("::");
|
|
1055
|
+
var $L108 = $L('"');
|
|
1056
|
+
var $L109 = $L("else");
|
|
1057
|
+
var $L110 = $L("export");
|
|
1058
|
+
var $L111 = $L("extends");
|
|
1059
|
+
var $L112 = $L("for");
|
|
1060
|
+
var $L113 = $L("from");
|
|
1061
|
+
var $L114 = $L("function");
|
|
1062
|
+
var $L115 = $L("get");
|
|
1063
|
+
var $L116 = $L("set");
|
|
1064
|
+
var $L117 = $L("if");
|
|
1065
|
+
var $L118 = $L("let");
|
|
1066
|
+
var $L119 = $L("const");
|
|
1067
|
+
var $L120 = $L("loop");
|
|
1068
|
+
var $L121 = $L("new");
|
|
1069
|
+
var $L122 = $L("<");
|
|
1070
|
+
var $L123 = $L("{");
|
|
1071
|
+
var $L124 = $L("[");
|
|
1072
|
+
var $L125 = $L("(");
|
|
1073
|
+
var $L126 = $L("public");
|
|
1074
|
+
var $L127 = $L("private");
|
|
1075
|
+
var $L128 = $L("protected");
|
|
1076
|
+
var $L129 = $L("|>");
|
|
1077
|
+
var $L130 = $L("readonly");
|
|
1078
|
+
var $L131 = $L("return");
|
|
1079
|
+
var $L132 = $L("satisfies");
|
|
1080
|
+
var $L133 = $L("'");
|
|
1081
|
+
var $L134 = $L("static");
|
|
1082
|
+
var $L135 = $L("${");
|
|
1083
|
+
var $L136 = $L("switch");
|
|
1084
|
+
var $L137 = $L("target");
|
|
1085
|
+
var $L138 = $L("then");
|
|
1086
|
+
var $L139 = $L("this");
|
|
1087
|
+
var $L140 = $L("throw");
|
|
1088
|
+
var $L141 = $L('"""');
|
|
1089
|
+
var $L142 = $L("'''");
|
|
1090
|
+
var $L143 = $L("///");
|
|
1091
|
+
var $L144 = $L("```");
|
|
1092
|
+
var $L145 = $L("try");
|
|
1093
|
+
var $L146 = $L("typeof");
|
|
1094
|
+
var $L147 = $L("unless");
|
|
1095
|
+
var $L148 = $L("until");
|
|
1096
|
+
var $L149 = $L("var");
|
|
1097
|
+
var $L150 = $L("void");
|
|
1098
|
+
var $L151 = $L("when");
|
|
1099
|
+
var $L152 = $L("while");
|
|
1100
|
+
var $L153 = $L("yield");
|
|
1101
|
+
var $L154 = $L("/>");
|
|
1102
|
+
var $L155 = $L("</");
|
|
1103
|
+
var $L156 = $L("<>");
|
|
1104
|
+
var $L157 = $L("</>");
|
|
1105
|
+
var $L158 = $L("<!--");
|
|
1106
|
+
var $L159 = $L("-->");
|
|
1107
|
+
var $L160 = $L("declare");
|
|
1108
|
+
var $L161 = $L("type");
|
|
1109
|
+
var $L162 = $L("interface");
|
|
1110
|
+
var $L163 = $L("namespace");
|
|
1111
|
+
var $L164 = $L("asserts");
|
|
1112
|
+
var $L165 = $L("keyof");
|
|
1113
|
+
var $L166 = $L("infer");
|
|
1114
|
+
var $L167 = $L("[]");
|
|
1115
|
+
var $L168 = $L("civet");
|
|
1107
1116
|
var $R0 = $R(new RegExp("(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
|
|
1108
1117
|
var $R1 = $R(new RegExp("[&]", "suy"));
|
|
1109
1118
|
var $R2 = $R(new RegExp("[!~+-]+", "suy"));
|
|
@@ -1351,13 +1360,12 @@ ${input.slice(result.pos)}
|
|
|
1351
1360
|
}
|
|
1352
1361
|
}
|
|
1353
1362
|
var Arguments$0 = ExplicitArguments;
|
|
1354
|
-
var Arguments$1 = $TS($S(
|
|
1355
|
-
var
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
return [ta?.[0], open, module2.insertTrimmingSpace(ws, ""), args, close];
|
|
1363
|
+
var Arguments$1 = $TS($S(SuppressTrailingMemberProperty, $E(ImplicitArguments)), function($skip, $loc, $0, $1, $2) {
|
|
1364
|
+
var args = $2;
|
|
1365
|
+
module2.suppressTrailingMemberProperty.pop();
|
|
1366
|
+
if (args)
|
|
1367
|
+
return args;
|
|
1368
|
+
return $skip;
|
|
1361
1369
|
});
|
|
1362
1370
|
function Arguments(state) {
|
|
1363
1371
|
let eventData;
|
|
@@ -1381,6 +1389,36 @@ ${input.slice(result.pos)}
|
|
|
1381
1389
|
return result;
|
|
1382
1390
|
}
|
|
1383
1391
|
}
|
|
1392
|
+
var ImplicitArguments$0 = $TS($S($E($S(TypeArguments, $N($S(__, ImplementsToken)))), ApplicationStart, InsertOpenParen, $Q(_), ArgumentList, InsertCloseParen), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
|
|
1393
|
+
var ta = $1;
|
|
1394
|
+
var open = $3;
|
|
1395
|
+
var ws = $4;
|
|
1396
|
+
var args = $5;
|
|
1397
|
+
var close = $6;
|
|
1398
|
+
return [ta?.[0], open, module2.insertTrimmingSpace(ws, ""), args, close];
|
|
1399
|
+
});
|
|
1400
|
+
function ImplicitArguments(state) {
|
|
1401
|
+
let eventData;
|
|
1402
|
+
if (state.events) {
|
|
1403
|
+
const result = state.events.enter?.("ImplicitArguments", state);
|
|
1404
|
+
if (result) {
|
|
1405
|
+
if (result.cache)
|
|
1406
|
+
return result.cache;
|
|
1407
|
+
eventData = result.data;
|
|
1408
|
+
}
|
|
1409
|
+
}
|
|
1410
|
+
if (state.tokenize) {
|
|
1411
|
+
const result = $TOKEN("ImplicitArguments", state, ImplicitArguments$0(state));
|
|
1412
|
+
if (state.events)
|
|
1413
|
+
state.events.exit?.("ImplicitArguments", state, result, eventData);
|
|
1414
|
+
return result;
|
|
1415
|
+
} else {
|
|
1416
|
+
const result = ImplicitArguments$0(state);
|
|
1417
|
+
if (state.events)
|
|
1418
|
+
state.events.exit?.("ImplicitArguments", state, result, eventData);
|
|
1419
|
+
return result;
|
|
1420
|
+
}
|
|
1421
|
+
}
|
|
1384
1422
|
var ExplicitArguments$0 = $S($E(TypeArguments), OpenParen, $E(ArgumentList), $E($S(__, Comma)), __, CloseParen);
|
|
1385
1423
|
function ExplicitArguments(state) {
|
|
1386
1424
|
let eventData;
|
|
@@ -1405,7 +1443,7 @@ ${input.slice(result.pos)}
|
|
|
1405
1443
|
}
|
|
1406
1444
|
}
|
|
1407
1445
|
var ApplicationStart$0 = $S(IndentedApplicationAllowed, $Y(NestedImplicitObjectLiteral));
|
|
1408
|
-
var ApplicationStart$1 = $S($N(EOS), $Y($S($P(_), $N(
|
|
1446
|
+
var ApplicationStart$1 = $S($N(EOS), $Y($S($P(_), $N(ForbiddenImplicitCalls))));
|
|
1409
1447
|
function ApplicationStart(state) {
|
|
1410
1448
|
let eventData;
|
|
1411
1449
|
if (state.events) {
|
|
@@ -1428,15 +1466,13 @@ ${input.slice(result.pos)}
|
|
|
1428
1466
|
return result;
|
|
1429
1467
|
}
|
|
1430
1468
|
}
|
|
1431
|
-
var
|
|
1432
|
-
|
|
1433
|
-
|
|
1434
|
-
|
|
1435
|
-
});
|
|
1436
|
-
function IndentedApplicationAllowed(state) {
|
|
1469
|
+
var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
|
|
1470
|
+
var ForbiddenImplicitCalls$1 = $EXPECT($L0, fail, 'ForbiddenImplicitCalls "/ "');
|
|
1471
|
+
var ForbiddenImplicitCalls$2 = AtAt;
|
|
1472
|
+
function ForbiddenImplicitCalls(state) {
|
|
1437
1473
|
let eventData;
|
|
1438
1474
|
if (state.events) {
|
|
1439
|
-
const result = state.events.enter?.("
|
|
1475
|
+
const result = state.events.enter?.("ForbiddenImplicitCalls", state);
|
|
1440
1476
|
if (result) {
|
|
1441
1477
|
if (result.cache)
|
|
1442
1478
|
return result.cache;
|
|
@@ -1444,18 +1480,18 @@ ${input.slice(result.pos)}
|
|
|
1444
1480
|
}
|
|
1445
1481
|
}
|
|
1446
1482
|
if (state.tokenize) {
|
|
1447
|
-
const result = $TOKEN("
|
|
1483
|
+
const result = $TOKEN("ForbiddenImplicitCalls", state, ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state));
|
|
1448
1484
|
if (state.events)
|
|
1449
|
-
state.events.exit?.("
|
|
1485
|
+
state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
|
|
1450
1486
|
return result;
|
|
1451
1487
|
} else {
|
|
1452
|
-
const result =
|
|
1488
|
+
const result = ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state);
|
|
1453
1489
|
if (state.events)
|
|
1454
|
-
state.events.exit?.("
|
|
1490
|
+
state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
|
|
1455
1491
|
return result;
|
|
1456
1492
|
}
|
|
1457
1493
|
}
|
|
1458
|
-
var ArgumentsWithTrailingMemberExpressions$0 = $S(Arguments,
|
|
1494
|
+
var ArgumentsWithTrailingMemberExpressions$0 = $S(Arguments, TrailingMemberExpressions);
|
|
1459
1495
|
function ArgumentsWithTrailingMemberExpressions(state) {
|
|
1460
1496
|
let eventData;
|
|
1461
1497
|
if (state.events) {
|
|
@@ -1478,6 +1514,57 @@ ${input.slice(result.pos)}
|
|
|
1478
1514
|
return result;
|
|
1479
1515
|
}
|
|
1480
1516
|
}
|
|
1517
|
+
var TrailingMemberExpressions$0 = $TS($S($Q(MemberExpressionRest), $Q($S($C(Samedent, IndentedFurther), $Y($S($E($EXPECT($L1, fail, 'TrailingMemberExpressions "?"')), $EXPECT($L2, fail, 'TrailingMemberExpressions "."'))), MemberExpressionRest))), function($skip, $loc, $0, $1, $2) {
|
|
1518
|
+
return $1.concat($2);
|
|
1519
|
+
});
|
|
1520
|
+
function TrailingMemberExpressions(state) {
|
|
1521
|
+
let eventData;
|
|
1522
|
+
if (state.events) {
|
|
1523
|
+
const result = state.events.enter?.("TrailingMemberExpressions", state);
|
|
1524
|
+
if (result) {
|
|
1525
|
+
if (result.cache)
|
|
1526
|
+
return result.cache;
|
|
1527
|
+
eventData = result.data;
|
|
1528
|
+
}
|
|
1529
|
+
}
|
|
1530
|
+
if (state.tokenize) {
|
|
1531
|
+
const result = $TOKEN("TrailingMemberExpressions", state, TrailingMemberExpressions$0(state));
|
|
1532
|
+
if (state.events)
|
|
1533
|
+
state.events.exit?.("TrailingMemberExpressions", state, result, eventData);
|
|
1534
|
+
return result;
|
|
1535
|
+
} else {
|
|
1536
|
+
const result = TrailingMemberExpressions$0(state);
|
|
1537
|
+
if (state.events)
|
|
1538
|
+
state.events.exit?.("TrailingMemberExpressions", state, result, eventData);
|
|
1539
|
+
return result;
|
|
1540
|
+
}
|
|
1541
|
+
}
|
|
1542
|
+
var NonSuppressedTrailingMemberExpressions$0 = $T($S(TrailingMemberPropertyAllowed, TrailingMemberExpressions), function(value) {
|
|
1543
|
+
return value[1];
|
|
1544
|
+
});
|
|
1545
|
+
var NonSuppressedTrailingMemberExpressions$1 = $Q(MemberExpressionRest);
|
|
1546
|
+
function NonSuppressedTrailingMemberExpressions(state) {
|
|
1547
|
+
let eventData;
|
|
1548
|
+
if (state.events) {
|
|
1549
|
+
const result = state.events.enter?.("NonSuppressedTrailingMemberExpressions", state);
|
|
1550
|
+
if (result) {
|
|
1551
|
+
if (result.cache)
|
|
1552
|
+
return result.cache;
|
|
1553
|
+
eventData = result.data;
|
|
1554
|
+
}
|
|
1555
|
+
}
|
|
1556
|
+
if (state.tokenize) {
|
|
1557
|
+
const result = $TOKEN("NonSuppressedTrailingMemberExpressions", state, NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state));
|
|
1558
|
+
if (state.events)
|
|
1559
|
+
state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
|
|
1560
|
+
return result;
|
|
1561
|
+
} else {
|
|
1562
|
+
const result = NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state);
|
|
1563
|
+
if (state.events)
|
|
1564
|
+
state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
|
|
1565
|
+
return result;
|
|
1566
|
+
}
|
|
1567
|
+
}
|
|
1481
1568
|
var ArgumentList$0 = $S(ArgumentPart, $P($S(__, Comma, $C(NestedImplicitObjectLiteral, NestedArgumentList))));
|
|
1482
1569
|
var ArgumentList$1 = $TS($S(NestedImplicitObjectLiteral), function($skip, $loc, $0, $1) {
|
|
1483
1570
|
return module2.insertTrimmingSpace($1, "");
|
|
@@ -1798,7 +1885,7 @@ ${input.slice(result.pos)}
|
|
|
1798
1885
|
return result;
|
|
1799
1886
|
}
|
|
1800
1887
|
}
|
|
1801
|
-
var UpdateExpressionSymbol$0 = $TV($C($EXPECT($
|
|
1888
|
+
var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L3, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L4, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
|
|
1802
1889
|
return { $loc, token: $1 };
|
|
1803
1890
|
});
|
|
1804
1891
|
function UpdateExpressionSymbol(state) {
|
|
@@ -2090,7 +2177,7 @@ ${input.slice(result.pos)}
|
|
|
2090
2177
|
return result;
|
|
2091
2178
|
}
|
|
2092
2179
|
}
|
|
2093
|
-
var FatArrow$0 = $TS($S(__, $EXPECT($
|
|
2180
|
+
var FatArrow$0 = $TS($S(__, $EXPECT($L5, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
|
|
2094
2181
|
var ws = $1;
|
|
2095
2182
|
if (!ws.length)
|
|
2096
2183
|
return " =>";
|
|
@@ -2173,7 +2260,7 @@ ${input.slice(result.pos)}
|
|
|
2173
2260
|
}
|
|
2174
2261
|
}
|
|
2175
2262
|
var TernaryRest$0 = NestedTernaryRest;
|
|
2176
|
-
var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($
|
|
2263
|
+
var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($L6, fail, 'TernaryRest " "')), $Q(TrailingComment), QuestionMark, ExtendedExpression, __, Colon, ExtendedExpression), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
|
|
2177
2264
|
return $0.slice(2);
|
|
2178
2265
|
});
|
|
2179
2266
|
function TernaryRest(state) {
|
|
@@ -2533,7 +2620,7 @@ ${input.slice(result.pos)}
|
|
|
2533
2620
|
return result;
|
|
2534
2621
|
}
|
|
2535
2622
|
}
|
|
2536
|
-
var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($
|
|
2623
|
+
var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L6, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
2537
2624
|
var l = $1;
|
|
2538
2625
|
var ws = $2;
|
|
2539
2626
|
var lt = $3;
|
|
@@ -2629,7 +2716,7 @@ ${input.slice(result.pos)}
|
|
|
2629
2716
|
return result;
|
|
2630
2717
|
}
|
|
2631
2718
|
}
|
|
2632
|
-
var ImplementsToken$0 = $TS($S($EXPECT($
|
|
2719
|
+
var ImplementsToken$0 = $TS($S($EXPECT($L7, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
2633
2720
|
return { $loc, token: $1 };
|
|
2634
2721
|
});
|
|
2635
2722
|
function ImplementsToken(state) {
|
|
@@ -2878,7 +2965,7 @@ ${input.slice(result.pos)}
|
|
|
2878
2965
|
}
|
|
2879
2966
|
}
|
|
2880
2967
|
var ThisLiteral$0 = This;
|
|
2881
|
-
var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($
|
|
2968
|
+
var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
|
|
2882
2969
|
var t = $1;
|
|
2883
2970
|
var id = $2;
|
|
2884
2971
|
return [{ ...t, token: "this." }, id];
|
|
@@ -2909,7 +2996,7 @@ ${input.slice(result.pos)}
|
|
|
2909
2996
|
return result;
|
|
2910
2997
|
}
|
|
2911
2998
|
}
|
|
2912
|
-
var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($
|
|
2999
|
+
var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L2, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
|
|
2913
3000
|
if ($1.length)
|
|
2914
3001
|
return $0;
|
|
2915
3002
|
return $2;
|
|
@@ -2936,21 +3023,24 @@ ${input.slice(result.pos)}
|
|
|
2936
3023
|
return result;
|
|
2937
3024
|
}
|
|
2938
3025
|
}
|
|
2939
|
-
var CallExpression$0 = $S($EXPECT($
|
|
2940
|
-
var CallExpression$1 = $TS($S($EXPECT($
|
|
3026
|
+
var CallExpression$0 = $S($EXPECT($L9, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest));
|
|
3027
|
+
var CallExpression$1 = $TS($S($EXPECT($L10, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
|
|
2941
3028
|
return {
|
|
2942
3029
|
type: "CallExpression",
|
|
2943
3030
|
children: $0
|
|
2944
3031
|
};
|
|
2945
3032
|
});
|
|
2946
|
-
var CallExpression$2 = $TS($S(MemberExpression, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2) {
|
|
2947
|
-
|
|
3033
|
+
var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
|
|
3034
|
+
var member = $1;
|
|
3035
|
+
var trailing = $2;
|
|
3036
|
+
var rest = $3;
|
|
3037
|
+
if (rest.length || trailing.length) {
|
|
2948
3038
|
return {
|
|
2949
|
-
type: "CallExpression",
|
|
2950
|
-
children: [
|
|
3039
|
+
type: rest.length ? "CallExpression" : "MemberExpression",
|
|
3040
|
+
children: [member, ...trailing, ...rest]
|
|
2951
3041
|
};
|
|
2952
3042
|
}
|
|
2953
|
-
return
|
|
3043
|
+
return member;
|
|
2954
3044
|
});
|
|
2955
3045
|
function CallExpression(state) {
|
|
2956
3046
|
let eventData;
|
|
@@ -3022,7 +3112,7 @@ ${input.slice(result.pos)}
|
|
|
3022
3112
|
return result;
|
|
3023
3113
|
}
|
|
3024
3114
|
}
|
|
3025
|
-
var NonNullAssertion$0 = $T($EXPECT($
|
|
3115
|
+
var NonNullAssertion$0 = $T($EXPECT($L11, fail, 'NonNullAssertion "!"'), function(value) {
|
|
3026
3116
|
return { "ts": true, "children": value };
|
|
3027
3117
|
});
|
|
3028
3118
|
function NonNullAssertion(state) {
|
|
@@ -3047,30 +3137,6 @@ ${input.slice(result.pos)}
|
|
|
3047
3137
|
return result;
|
|
3048
3138
|
}
|
|
3049
3139
|
}
|
|
3050
|
-
var AdditionalReservedWords$0 = $R$0($EXPECT($R0, fail, "AdditionalReservedWords /(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
|
|
3051
|
-
var AdditionalReservedWords$1 = AtAt;
|
|
3052
|
-
function AdditionalReservedWords(state) {
|
|
3053
|
-
let eventData;
|
|
3054
|
-
if (state.events) {
|
|
3055
|
-
const result = state.events.enter?.("AdditionalReservedWords", state);
|
|
3056
|
-
if (result) {
|
|
3057
|
-
if (result.cache)
|
|
3058
|
-
return result.cache;
|
|
3059
|
-
eventData = result.data;
|
|
3060
|
-
}
|
|
3061
|
-
}
|
|
3062
|
-
if (state.tokenize) {
|
|
3063
|
-
const result = $TOKEN("AdditionalReservedWords", state, AdditionalReservedWords$0(state) || AdditionalReservedWords$1(state));
|
|
3064
|
-
if (state.events)
|
|
3065
|
-
state.events.exit?.("AdditionalReservedWords", state, result, eventData);
|
|
3066
|
-
return result;
|
|
3067
|
-
} else {
|
|
3068
|
-
const result = AdditionalReservedWords$0(state) || AdditionalReservedWords$1(state);
|
|
3069
|
-
if (state.events)
|
|
3070
|
-
state.events.exit?.("AdditionalReservedWords", state, result, eventData);
|
|
3071
|
-
return result;
|
|
3072
|
-
}
|
|
3073
|
-
}
|
|
3074
3140
|
var MemberExpression$0 = $TS($S(PrimaryExpression, $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
|
|
3075
3141
|
var rest = $2;
|
|
3076
3142
|
if (rest.length) {
|
|
@@ -3114,13 +3180,7 @@ ${input.slice(result.pos)}
|
|
|
3114
3180
|
}
|
|
3115
3181
|
return $2;
|
|
3116
3182
|
});
|
|
3117
|
-
var MemberExpressionRest$1 =
|
|
3118
|
-
if ($1)
|
|
3119
|
-
return Object.assign({}, $2, {
|
|
3120
|
-
children: [$1, ...$2.children]
|
|
3121
|
-
});
|
|
3122
|
-
return $2;
|
|
3123
|
-
});
|
|
3183
|
+
var MemberExpressionRest$1 = PropertyAccess;
|
|
3124
3184
|
var MemberExpressionRest$2 = NonNullAssertion;
|
|
3125
3185
|
function MemberExpressionRest(state) {
|
|
3126
3186
|
let eventData;
|
|
@@ -3296,8 +3356,8 @@ ${input.slice(result.pos)}
|
|
|
3296
3356
|
return result;
|
|
3297
3357
|
}
|
|
3298
3358
|
}
|
|
3299
|
-
var SuperProperty$0 = $S($EXPECT($
|
|
3300
|
-
var SuperProperty$1 = $S($EXPECT($
|
|
3359
|
+
var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
|
|
3360
|
+
var SuperProperty$1 = $S($EXPECT($L9, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
|
|
3301
3361
|
function SuperProperty(state) {
|
|
3302
3362
|
let eventData;
|
|
3303
3363
|
if (state.events) {
|
|
@@ -3321,7 +3381,7 @@ ${input.slice(result.pos)}
|
|
|
3321
3381
|
}
|
|
3322
3382
|
}
|
|
3323
3383
|
var MetaProperty$0 = $S(New, Dot, Target);
|
|
3324
|
-
var MetaProperty$1 = $TS($S($EXPECT($
|
|
3384
|
+
var MetaProperty$1 = $TS($S($EXPECT($L13, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
3325
3385
|
return { $loc, token: $1 };
|
|
3326
3386
|
});
|
|
3327
3387
|
function MetaProperty(state) {
|
|
@@ -3347,7 +3407,7 @@ ${input.slice(result.pos)}
|
|
|
3347
3407
|
}
|
|
3348
3408
|
}
|
|
3349
3409
|
var Parameters$0 = NonEmptyParameters;
|
|
3350
|
-
var Parameters$1 = $TV($EXPECT($
|
|
3410
|
+
var Parameters$1 = $TV($EXPECT($L14, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
|
|
3351
3411
|
return {
|
|
3352
3412
|
type: "Parameters",
|
|
3353
3413
|
children: [{ $loc, token: "()" }],
|
|
@@ -3506,7 +3566,7 @@ ${input.slice(result.pos)}
|
|
|
3506
3566
|
}
|
|
3507
3567
|
}
|
|
3508
3568
|
var ParameterElementDelimiter$0 = $S($Q(_), Comma);
|
|
3509
|
-
var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($
|
|
3569
|
+
var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
|
|
3510
3570
|
var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
3511
3571
|
return value[1];
|
|
3512
3572
|
});
|
|
@@ -4179,7 +4239,7 @@ ${input.slice(result.pos)}
|
|
|
4179
4239
|
return result;
|
|
4180
4240
|
}
|
|
4181
4241
|
}
|
|
4182
|
-
var EmptyBindingPattern$0 = $TV($EXPECT($
|
|
4242
|
+
var EmptyBindingPattern$0 = $TV($EXPECT($L14, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
|
|
4183
4243
|
const ref = {
|
|
4184
4244
|
type: "Ref",
|
|
4185
4245
|
base: "ref",
|
|
@@ -4455,7 +4515,7 @@ ${input.slice(result.pos)}
|
|
|
4455
4515
|
return result;
|
|
4456
4516
|
}
|
|
4457
4517
|
}
|
|
4458
|
-
var Arrow$0 = $TV($EXPECT($
|
|
4518
|
+
var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
|
|
4459
4519
|
return { $loc, token: $1 };
|
|
4460
4520
|
});
|
|
4461
4521
|
function Arrow(state) {
|
|
@@ -4750,7 +4810,7 @@ ${input.slice(result.pos)}
|
|
|
4750
4810
|
children: [$1, expressions]
|
|
4751
4811
|
};
|
|
4752
4812
|
});
|
|
4753
|
-
var BracedContent$2 = $TV($Y($S(__, $EXPECT($
|
|
4813
|
+
var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
|
|
4754
4814
|
const expressions = [];
|
|
4755
4815
|
return {
|
|
4756
4816
|
type: "BlockStatement",
|
|
@@ -4895,7 +4955,7 @@ ${input.slice(result.pos)}
|
|
|
4895
4955
|
return result;
|
|
4896
4956
|
}
|
|
4897
4957
|
}
|
|
4898
|
-
var NullLiteral$0 = $TS($S($EXPECT($
|
|
4958
|
+
var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4899
4959
|
return { $loc, token: $1 };
|
|
4900
4960
|
});
|
|
4901
4961
|
function NullLiteral(state) {
|
|
@@ -4923,7 +4983,7 @@ ${input.slice(result.pos)}
|
|
|
4923
4983
|
var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
|
|
4924
4984
|
return value[1];
|
|
4925
4985
|
});
|
|
4926
|
-
var BooleanLiteral$1 = $TS($S($C($EXPECT($
|
|
4986
|
+
var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4927
4987
|
return { $loc, token: $1 };
|
|
4928
4988
|
});
|
|
4929
4989
|
function BooleanLiteral(state) {
|
|
@@ -4948,10 +5008,10 @@ ${input.slice(result.pos)}
|
|
|
4948
5008
|
return result;
|
|
4949
5009
|
}
|
|
4950
5010
|
}
|
|
4951
|
-
var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($
|
|
5011
|
+
var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4952
5012
|
return { $loc, token: "true" };
|
|
4953
5013
|
});
|
|
4954
|
-
var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($
|
|
5014
|
+
var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4955
5015
|
return { $loc, token: "false" };
|
|
4956
5016
|
});
|
|
4957
5017
|
function CoffeeScriptBooleanLiteral(state) {
|
|
@@ -4976,7 +5036,7 @@ ${input.slice(result.pos)}
|
|
|
4976
5036
|
return result;
|
|
4977
5037
|
}
|
|
4978
5038
|
}
|
|
4979
|
-
var Comma$0 = $TV($EXPECT($
|
|
5039
|
+
var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
|
|
4980
5040
|
return { $loc, token: $1 };
|
|
4981
5041
|
});
|
|
4982
5042
|
function Comma(state) {
|
|
@@ -5082,7 +5142,7 @@ ${input.slice(result.pos)}
|
|
|
5082
5142
|
return result;
|
|
5083
5143
|
}
|
|
5084
5144
|
}
|
|
5085
|
-
var UpcomingAssignment$0 = $Y($S(__, $EXPECT($
|
|
5145
|
+
var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
|
|
5086
5146
|
function UpcomingAssignment(state) {
|
|
5087
5147
|
let eventData;
|
|
5088
5148
|
if (state.events) {
|
|
@@ -5355,7 +5415,7 @@ ${input.slice(result.pos)}
|
|
|
5355
5415
|
}
|
|
5356
5416
|
}
|
|
5357
5417
|
var ArrayElementDelimiter$0 = $S(__, Comma);
|
|
5358
|
-
var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($
|
|
5418
|
+
var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
|
|
5359
5419
|
var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
5360
5420
|
return value[1];
|
|
5361
5421
|
});
|
|
@@ -5777,7 +5837,7 @@ ${input.slice(result.pos)}
|
|
|
5777
5837
|
var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
|
|
5778
5838
|
return value[1];
|
|
5779
5839
|
});
|
|
5780
|
-
var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($
|
|
5840
|
+
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) {
|
|
5781
5841
|
return "";
|
|
5782
5842
|
});
|
|
5783
5843
|
var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
|
|
@@ -5806,7 +5866,7 @@ ${input.slice(result.pos)}
|
|
|
5806
5866
|
}
|
|
5807
5867
|
}
|
|
5808
5868
|
var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
|
|
5809
|
-
var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($
|
|
5869
|
+
var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
|
|
5810
5870
|
var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
5811
5871
|
return value[1];
|
|
5812
5872
|
});
|
|
@@ -6249,7 +6309,7 @@ ${input.slice(result.pos)}
|
|
|
6249
6309
|
return result;
|
|
6250
6310
|
}
|
|
6251
6311
|
}
|
|
6252
|
-
var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($
|
|
6312
|
+
var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
|
|
6253
6313
|
return {
|
|
6254
6314
|
type: "Identifier",
|
|
6255
6315
|
name: $0,
|
|
@@ -6313,25 +6373,25 @@ ${input.slice(result.pos)}
|
|
|
6313
6373
|
return result;
|
|
6314
6374
|
}
|
|
6315
6375
|
}
|
|
6316
|
-
var AssignmentOpSymbol$0 = $EXPECT($
|
|
6317
|
-
var AssignmentOpSymbol$1 = $EXPECT($
|
|
6318
|
-
var AssignmentOpSymbol$2 = $EXPECT($
|
|
6319
|
-
var AssignmentOpSymbol$3 = $EXPECT($
|
|
6320
|
-
var AssignmentOpSymbol$4 = $EXPECT($
|
|
6321
|
-
var AssignmentOpSymbol$5 = $EXPECT($
|
|
6322
|
-
var AssignmentOpSymbol$6 = $EXPECT($
|
|
6323
|
-
var AssignmentOpSymbol$7 = $EXPECT($
|
|
6324
|
-
var AssignmentOpSymbol$8 = $EXPECT($
|
|
6325
|
-
var AssignmentOpSymbol$9 = $EXPECT($
|
|
6326
|
-
var AssignmentOpSymbol$10 = $EXPECT($
|
|
6327
|
-
var AssignmentOpSymbol$11 = $EXPECT($
|
|
6328
|
-
var AssignmentOpSymbol$12 = $EXPECT($
|
|
6329
|
-
var AssignmentOpSymbol$13 = $EXPECT($
|
|
6330
|
-
var AssignmentOpSymbol$14 = $EXPECT($
|
|
6331
|
-
var AssignmentOpSymbol$15 = $T($EXPECT($
|
|
6376
|
+
var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
|
|
6377
|
+
var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
|
|
6378
|
+
var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
|
|
6379
|
+
var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
|
|
6380
|
+
var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
|
|
6381
|
+
var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
|
|
6382
|
+
var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
|
|
6383
|
+
var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
|
|
6384
|
+
var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
|
|
6385
|
+
var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
|
|
6386
|
+
var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
|
|
6387
|
+
var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
|
|
6388
|
+
var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
|
|
6389
|
+
var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
|
|
6390
|
+
var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
|
|
6391
|
+
var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
|
|
6332
6392
|
return "??=";
|
|
6333
6393
|
});
|
|
6334
|
-
var AssignmentOpSymbol$16 = $T($S($EXPECT($
|
|
6394
|
+
var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
|
|
6335
6395
|
return value[0];
|
|
6336
6396
|
});
|
|
6337
6397
|
var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
|
|
@@ -6359,10 +6419,10 @@ ${input.slice(result.pos)}
|
|
|
6359
6419
|
return result;
|
|
6360
6420
|
}
|
|
6361
6421
|
}
|
|
6362
|
-
var CoffeeWordAssignmentOp$0 = $T($EXPECT($
|
|
6422
|
+
var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
|
|
6363
6423
|
return "&&=";
|
|
6364
6424
|
});
|
|
6365
|
-
var CoffeeWordAssignmentOp$1 = $T($EXPECT($
|
|
6425
|
+
var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
|
|
6366
6426
|
return "||=";
|
|
6367
6427
|
});
|
|
6368
6428
|
function CoffeeWordAssignmentOp(state) {
|
|
@@ -6414,77 +6474,80 @@ ${input.slice(result.pos)}
|
|
|
6414
6474
|
return result;
|
|
6415
6475
|
}
|
|
6416
6476
|
}
|
|
6417
|
-
var BinaryOpSymbol$0 = $EXPECT($
|
|
6418
|
-
var BinaryOpSymbol$1 = $EXPECT($
|
|
6419
|
-
var BinaryOpSymbol$2 = $EXPECT($
|
|
6420
|
-
var BinaryOpSymbol$3 = $TV($EXPECT($
|
|
6477
|
+
var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
|
|
6478
|
+
var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
|
|
6479
|
+
var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
|
|
6480
|
+
var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
|
|
6421
6481
|
return {
|
|
6422
6482
|
call: module2.getRef("modulo"),
|
|
6423
6483
|
special: true
|
|
6424
6484
|
};
|
|
6425
6485
|
});
|
|
6426
|
-
var BinaryOpSymbol$4 = $EXPECT($
|
|
6427
|
-
var BinaryOpSymbol$5 = $EXPECT($
|
|
6428
|
-
var BinaryOpSymbol$6 = $EXPECT($
|
|
6429
|
-
var BinaryOpSymbol$7 = $EXPECT($
|
|
6430
|
-
var BinaryOpSymbol$8 = $EXPECT($
|
|
6431
|
-
var BinaryOpSymbol$9 = $EXPECT($
|
|
6432
|
-
|
|
6486
|
+
var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
|
|
6487
|
+
var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
|
|
6488
|
+
var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
|
|
6489
|
+
var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
|
|
6490
|
+
var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
|
|
6491
|
+
var BinaryOpSymbol$9 = $TS($S($EXPECT($L57, fail, 'BinaryOpSymbol "<?"'), $E($EXPECT($L6, fail, 'BinaryOpSymbol " "'))), function($skip, $loc, $0, $1, $2) {
|
|
6492
|
+
return "instanceof ";
|
|
6493
|
+
});
|
|
6494
|
+
var BinaryOpSymbol$10 = $EXPECT($L58, fail, 'BinaryOpSymbol "<<"');
|
|
6495
|
+
var BinaryOpSymbol$11 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
6433
6496
|
return "<";
|
|
6434
6497
|
});
|
|
6435
|
-
var BinaryOpSymbol$
|
|
6436
|
-
var BinaryOpSymbol$
|
|
6437
|
-
var BinaryOpSymbol$
|
|
6438
|
-
var BinaryOpSymbol$
|
|
6439
|
-
var BinaryOpSymbol$
|
|
6498
|
+
var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>>"');
|
|
6499
|
+
var BinaryOpSymbol$13 = $EXPECT($L60, fail, 'BinaryOpSymbol ">>"');
|
|
6500
|
+
var BinaryOpSymbol$14 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
|
|
6501
|
+
var BinaryOpSymbol$15 = $EXPECT($L61, fail, 'BinaryOpSymbol "!=="');
|
|
6502
|
+
var BinaryOpSymbol$16 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
|
|
6440
6503
|
if (module2.config.coffeeEq)
|
|
6441
6504
|
return "!==";
|
|
6442
6505
|
return $1;
|
|
6443
6506
|
});
|
|
6444
|
-
var BinaryOpSymbol$
|
|
6507
|
+
var BinaryOpSymbol$17 = $TS($S($EXPECT($L63, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
6445
6508
|
if (module2.config.coffeeIsnt)
|
|
6446
6509
|
return "!==";
|
|
6447
6510
|
return $skip;
|
|
6448
6511
|
});
|
|
6449
|
-
var BinaryOpSymbol$
|
|
6450
|
-
var BinaryOpSymbol$
|
|
6512
|
+
var BinaryOpSymbol$18 = $EXPECT($L64, fail, 'BinaryOpSymbol "==="');
|
|
6513
|
+
var BinaryOpSymbol$19 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
|
|
6451
6514
|
if (module2.config.coffeeEq)
|
|
6452
6515
|
return "===";
|
|
6453
6516
|
return $1;
|
|
6454
6517
|
});
|
|
6455
|
-
var BinaryOpSymbol$
|
|
6518
|
+
var BinaryOpSymbol$20 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
|
|
6456
6519
|
return "&&";
|
|
6457
6520
|
});
|
|
6458
|
-
var BinaryOpSymbol$
|
|
6459
|
-
var BinaryOpSymbol$
|
|
6521
|
+
var BinaryOpSymbol$21 = $EXPECT($L67, fail, 'BinaryOpSymbol "&&"');
|
|
6522
|
+
var BinaryOpSymbol$22 = $T($S(CoffeeOfEnabled, $EXPECT($L68, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
|
|
6460
6523
|
return "in";
|
|
6461
6524
|
});
|
|
6462
|
-
var BinaryOpSymbol$
|
|
6525
|
+
var BinaryOpSymbol$23 = $T($S($EXPECT($L69, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
|
|
6463
6526
|
return "||";
|
|
6464
6527
|
});
|
|
6465
|
-
var BinaryOpSymbol$
|
|
6466
|
-
var BinaryOpSymbol$
|
|
6467
|
-
var BinaryOpSymbol$
|
|
6528
|
+
var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "||"');
|
|
6529
|
+
var BinaryOpSymbol$25 = $EXPECT($L71, fail, 'BinaryOpSymbol "??"');
|
|
6530
|
+
var BinaryOpSymbol$26 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L1, fail, 'BinaryOpSymbol "?"')), function(value) {
|
|
6468
6531
|
return "??";
|
|
6469
6532
|
});
|
|
6470
|
-
var BinaryOpSymbol$
|
|
6533
|
+
var BinaryOpSymbol$27 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
6471
6534
|
return $1;
|
|
6472
6535
|
});
|
|
6473
|
-
var BinaryOpSymbol$
|
|
6536
|
+
var BinaryOpSymbol$28 = $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) {
|
|
6474
6537
|
return {
|
|
6475
6538
|
$loc,
|
|
6476
6539
|
token: "instanceof",
|
|
6477
6540
|
special: true
|
|
6478
6541
|
};
|
|
6479
6542
|
});
|
|
6480
|
-
var BinaryOpSymbol$
|
|
6543
|
+
var BinaryOpSymbol$29 = $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($L68, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
|
|
6481
6544
|
return {
|
|
6482
6545
|
$loc,
|
|
6483
6546
|
token: "in",
|
|
6484
6547
|
special: true
|
|
6485
6548
|
};
|
|
6486
6549
|
});
|
|
6487
|
-
var BinaryOpSymbol$
|
|
6550
|
+
var BinaryOpSymbol$30 = $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) {
|
|
6488
6551
|
return {
|
|
6489
6552
|
call: [module2.getRef("indexOf"), ".call"],
|
|
6490
6553
|
relational: true,
|
|
@@ -6493,7 +6556,7 @@ ${input.slice(result.pos)}
|
|
|
6493
6556
|
special: true
|
|
6494
6557
|
};
|
|
6495
6558
|
});
|
|
6496
|
-
var BinaryOpSymbol$
|
|
6559
|
+
var BinaryOpSymbol$31 = $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) {
|
|
6497
6560
|
return {
|
|
6498
6561
|
call: [module2.getRef("indexOf"), ".call"],
|
|
6499
6562
|
relational: true,
|
|
@@ -6502,18 +6565,18 @@ ${input.slice(result.pos)}
|
|
|
6502
6565
|
special: true
|
|
6503
6566
|
};
|
|
6504
6567
|
});
|
|
6505
|
-
var BinaryOpSymbol$
|
|
6568
|
+
var BinaryOpSymbol$32 = $T($S($N(CoffeeNotEnabled), $EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
|
|
6506
6569
|
return "!==";
|
|
6507
6570
|
});
|
|
6508
|
-
var BinaryOpSymbol$
|
|
6571
|
+
var BinaryOpSymbol$33 = $T($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
|
|
6509
6572
|
return "===";
|
|
6510
6573
|
});
|
|
6511
|
-
var BinaryOpSymbol$
|
|
6574
|
+
var BinaryOpSymbol$34 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
6512
6575
|
return $1;
|
|
6513
6576
|
});
|
|
6514
|
-
var BinaryOpSymbol$
|
|
6515
|
-
var BinaryOpSymbol$
|
|
6516
|
-
var BinaryOpSymbol$
|
|
6577
|
+
var BinaryOpSymbol$35 = $EXPECT($L76, fail, 'BinaryOpSymbol "&"');
|
|
6578
|
+
var BinaryOpSymbol$36 = $EXPECT($L77, fail, 'BinaryOpSymbol "^"');
|
|
6579
|
+
var BinaryOpSymbol$37 = $EXPECT($L78, fail, 'BinaryOpSymbol "|"');
|
|
6517
6580
|
function BinaryOpSymbol(state) {
|
|
6518
6581
|
let eventData;
|
|
6519
6582
|
if (state.events) {
|
|
@@ -6525,12 +6588,12 @@ ${input.slice(result.pos)}
|
|
|
6525
6588
|
}
|
|
6526
6589
|
}
|
|
6527
6590
|
if (state.tokenize) {
|
|
6528
|
-
const result = $TOKEN("BinaryOpSymbol", state, BinaryOpSymbol$0(state) || BinaryOpSymbol$1(state) || BinaryOpSymbol$2(state) || BinaryOpSymbol$3(state) || BinaryOpSymbol$4(state) || BinaryOpSymbol$5(state) || BinaryOpSymbol$6(state) || BinaryOpSymbol$7(state) || BinaryOpSymbol$8(state) || BinaryOpSymbol$9(state) || BinaryOpSymbol$10(state) || BinaryOpSymbol$11(state) || BinaryOpSymbol$12(state) || BinaryOpSymbol$13(state) || BinaryOpSymbol$14(state) || BinaryOpSymbol$15(state) || BinaryOpSymbol$16(state) || BinaryOpSymbol$17(state) || BinaryOpSymbol$18(state) || BinaryOpSymbol$19(state) || BinaryOpSymbol$20(state) || BinaryOpSymbol$21(state) || BinaryOpSymbol$22(state) || BinaryOpSymbol$23(state) || BinaryOpSymbol$24(state) || BinaryOpSymbol$25(state) || BinaryOpSymbol$26(state) || BinaryOpSymbol$27(state) || BinaryOpSymbol$28(state) || BinaryOpSymbol$29(state) || BinaryOpSymbol$30(state) || BinaryOpSymbol$31(state) || BinaryOpSymbol$32(state) || BinaryOpSymbol$33(state) || BinaryOpSymbol$34(state) || BinaryOpSymbol$35(state) || BinaryOpSymbol$36(state));
|
|
6591
|
+
const result = $TOKEN("BinaryOpSymbol", state, BinaryOpSymbol$0(state) || BinaryOpSymbol$1(state) || BinaryOpSymbol$2(state) || BinaryOpSymbol$3(state) || BinaryOpSymbol$4(state) || BinaryOpSymbol$5(state) || BinaryOpSymbol$6(state) || BinaryOpSymbol$7(state) || BinaryOpSymbol$8(state) || BinaryOpSymbol$9(state) || BinaryOpSymbol$10(state) || BinaryOpSymbol$11(state) || BinaryOpSymbol$12(state) || BinaryOpSymbol$13(state) || BinaryOpSymbol$14(state) || BinaryOpSymbol$15(state) || BinaryOpSymbol$16(state) || BinaryOpSymbol$17(state) || BinaryOpSymbol$18(state) || BinaryOpSymbol$19(state) || BinaryOpSymbol$20(state) || BinaryOpSymbol$21(state) || BinaryOpSymbol$22(state) || BinaryOpSymbol$23(state) || BinaryOpSymbol$24(state) || BinaryOpSymbol$25(state) || BinaryOpSymbol$26(state) || BinaryOpSymbol$27(state) || BinaryOpSymbol$28(state) || BinaryOpSymbol$29(state) || BinaryOpSymbol$30(state) || BinaryOpSymbol$31(state) || BinaryOpSymbol$32(state) || BinaryOpSymbol$33(state) || BinaryOpSymbol$34(state) || BinaryOpSymbol$35(state) || BinaryOpSymbol$36(state) || BinaryOpSymbol$37(state));
|
|
6529
6592
|
if (state.events)
|
|
6530
6593
|
state.events.exit?.("BinaryOpSymbol", state, result, eventData);
|
|
6531
6594
|
return result;
|
|
6532
6595
|
} else {
|
|
6533
|
-
const result = BinaryOpSymbol$0(state) || BinaryOpSymbol$1(state) || BinaryOpSymbol$2(state) || BinaryOpSymbol$3(state) || BinaryOpSymbol$4(state) || BinaryOpSymbol$5(state) || BinaryOpSymbol$6(state) || BinaryOpSymbol$7(state) || BinaryOpSymbol$8(state) || BinaryOpSymbol$9(state) || BinaryOpSymbol$10(state) || BinaryOpSymbol$11(state) || BinaryOpSymbol$12(state) || BinaryOpSymbol$13(state) || BinaryOpSymbol$14(state) || BinaryOpSymbol$15(state) || BinaryOpSymbol$16(state) || BinaryOpSymbol$17(state) || BinaryOpSymbol$18(state) || BinaryOpSymbol$19(state) || BinaryOpSymbol$20(state) || BinaryOpSymbol$21(state) || BinaryOpSymbol$22(state) || BinaryOpSymbol$23(state) || BinaryOpSymbol$24(state) || BinaryOpSymbol$25(state) || BinaryOpSymbol$26(state) || BinaryOpSymbol$27(state) || BinaryOpSymbol$28(state) || BinaryOpSymbol$29(state) || BinaryOpSymbol$30(state) || BinaryOpSymbol$31(state) || BinaryOpSymbol$32(state) || BinaryOpSymbol$33(state) || BinaryOpSymbol$34(state) || BinaryOpSymbol$35(state) || BinaryOpSymbol$36(state);
|
|
6596
|
+
const result = BinaryOpSymbol$0(state) || BinaryOpSymbol$1(state) || BinaryOpSymbol$2(state) || BinaryOpSymbol$3(state) || BinaryOpSymbol$4(state) || BinaryOpSymbol$5(state) || BinaryOpSymbol$6(state) || BinaryOpSymbol$7(state) || BinaryOpSymbol$8(state) || BinaryOpSymbol$9(state) || BinaryOpSymbol$10(state) || BinaryOpSymbol$11(state) || BinaryOpSymbol$12(state) || BinaryOpSymbol$13(state) || BinaryOpSymbol$14(state) || BinaryOpSymbol$15(state) || BinaryOpSymbol$16(state) || BinaryOpSymbol$17(state) || BinaryOpSymbol$18(state) || BinaryOpSymbol$19(state) || BinaryOpSymbol$20(state) || BinaryOpSymbol$21(state) || BinaryOpSymbol$22(state) || BinaryOpSymbol$23(state) || BinaryOpSymbol$24(state) || BinaryOpSymbol$25(state) || BinaryOpSymbol$26(state) || BinaryOpSymbol$27(state) || BinaryOpSymbol$28(state) || BinaryOpSymbol$29(state) || BinaryOpSymbol$30(state) || BinaryOpSymbol$31(state) || BinaryOpSymbol$32(state) || BinaryOpSymbol$33(state) || BinaryOpSymbol$34(state) || BinaryOpSymbol$35(state) || BinaryOpSymbol$36(state) || BinaryOpSymbol$37(state);
|
|
6534
6597
|
if (state.events)
|
|
6535
6598
|
state.events.exit?.("BinaryOpSymbol", state, result, eventData);
|
|
6536
6599
|
return result;
|
|
@@ -6676,7 +6739,7 @@ ${input.slice(result.pos)}
|
|
|
6676
6739
|
return result;
|
|
6677
6740
|
}
|
|
6678
6741
|
}
|
|
6679
|
-
var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($
|
|
6742
|
+
var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L79, fail, 'EmptyStatement ";"'))), function(value) {
|
|
6680
6743
|
return { "type": "EmptyStatement", "children": value[0] };
|
|
6681
6744
|
});
|
|
6682
6745
|
function EmptyStatement(state) {
|
|
@@ -6701,7 +6764,7 @@ ${input.slice(result.pos)}
|
|
|
6701
6764
|
return result;
|
|
6702
6765
|
}
|
|
6703
6766
|
}
|
|
6704
|
-
var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($
|
|
6767
|
+
var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
|
|
6705
6768
|
return value[0];
|
|
6706
6769
|
});
|
|
6707
6770
|
function BlockStatement(state) {
|
|
@@ -7628,7 +7691,7 @@ ${input.slice(result.pos)}
|
|
|
7628
7691
|
return result;
|
|
7629
7692
|
}
|
|
7630
7693
|
}
|
|
7631
|
-
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($
|
|
7694
|
+
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L80, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
|
|
7632
7695
|
var own = $1;
|
|
7633
7696
|
var binding = $2;
|
|
7634
7697
|
return {
|
|
@@ -7828,7 +7891,8 @@ ${input.slice(result.pos)}
|
|
|
7828
7891
|
}
|
|
7829
7892
|
return {
|
|
7830
7893
|
type: "SwitchStatement",
|
|
7831
|
-
children: $0
|
|
7894
|
+
children: $0,
|
|
7895
|
+
caseBlock
|
|
7832
7896
|
};
|
|
7833
7897
|
});
|
|
7834
7898
|
function SwitchStatement(state) {
|
|
@@ -7888,8 +7952,8 @@ ${input.slice(result.pos)}
|
|
|
7888
7952
|
var e = $0;
|
|
7889
7953
|
return {
|
|
7890
7954
|
type: "SwitchExpression",
|
|
7891
|
-
|
|
7892
|
-
|
|
7955
|
+
children: ["(()=>{", e.children, "})()"],
|
|
7956
|
+
caseBlock: e.children[2]
|
|
7893
7957
|
};
|
|
7894
7958
|
});
|
|
7895
7959
|
function SwitchExpression(state) {
|
|
@@ -7983,9 +8047,10 @@ ${input.slice(result.pos)}
|
|
|
7983
8047
|
var NestedCaseClause$0 = $TS($S(Nested, CaseClause), function($skip, $loc, $0, $1, $2) {
|
|
7984
8048
|
var indent = $1;
|
|
7985
8049
|
var clause = $2;
|
|
7986
|
-
return
|
|
8050
|
+
return {
|
|
8051
|
+
...clause,
|
|
7987
8052
|
children: [indent, ...clause.children]
|
|
7988
|
-
}
|
|
8053
|
+
};
|
|
7989
8054
|
});
|
|
7990
8055
|
function NestedCaseClause(state) {
|
|
7991
8056
|
let eventData;
|
|
@@ -8095,7 +8160,7 @@ ${input.slice(result.pos)}
|
|
|
8095
8160
|
return result;
|
|
8096
8161
|
}
|
|
8097
8162
|
}
|
|
8098
|
-
var NoExpressions$0 = $T($EXPECT($
|
|
8163
|
+
var NoExpressions$0 = $T($EXPECT($L14, fail, 'NoExpressions ""'), function(value) {
|
|
8099
8164
|
return [];
|
|
8100
8165
|
});
|
|
8101
8166
|
function NoExpressions(state) {
|
|
@@ -8121,7 +8186,7 @@ ${input.slice(result.pos)}
|
|
|
8121
8186
|
}
|
|
8122
8187
|
}
|
|
8123
8188
|
var ImpliedColon$0 = $S(__, Colon);
|
|
8124
|
-
var ImpliedColon$1 = $TV($EXPECT($
|
|
8189
|
+
var ImpliedColon$1 = $TV($EXPECT($L14, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
|
|
8125
8190
|
return { $loc, token: ":" };
|
|
8126
8191
|
});
|
|
8127
8192
|
function ImpliedColon(state) {
|
|
@@ -8261,7 +8326,7 @@ ${input.slice(result.pos)}
|
|
|
8261
8326
|
return result;
|
|
8262
8327
|
}
|
|
8263
8328
|
}
|
|
8264
|
-
var Finally$0 = $S(__, $EXPECT($
|
|
8329
|
+
var Finally$0 = $S(__, $EXPECT($L81, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
|
|
8265
8330
|
function Finally(state) {
|
|
8266
8331
|
let eventData;
|
|
8267
8332
|
if (state.events) {
|
|
@@ -8373,7 +8438,7 @@ ${input.slice(result.pos)}
|
|
|
8373
8438
|
return result;
|
|
8374
8439
|
}
|
|
8375
8440
|
}
|
|
8376
|
-
var SuppressIndentedApplication$0 = $TV($EXPECT($
|
|
8441
|
+
var SuppressIndentedApplication$0 = $TV($EXPECT($L14, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
|
|
8377
8442
|
module2.suppressIndentedApplication = true;
|
|
8378
8443
|
});
|
|
8379
8444
|
function SuppressIndentedApplication(state) {
|
|
@@ -8398,6 +8463,84 @@ ${input.slice(result.pos)}
|
|
|
8398
8463
|
return result;
|
|
8399
8464
|
}
|
|
8400
8465
|
}
|
|
8466
|
+
var IndentedApplicationAllowed$0 = $TV($EXPECT($L14, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
|
|
8467
|
+
if (module2.suppressIndentedApplication)
|
|
8468
|
+
return $skip;
|
|
8469
|
+
return;
|
|
8470
|
+
});
|
|
8471
|
+
function IndentedApplicationAllowed(state) {
|
|
8472
|
+
let eventData;
|
|
8473
|
+
if (state.events) {
|
|
8474
|
+
const result = state.events.enter?.("IndentedApplicationAllowed", state);
|
|
8475
|
+
if (result) {
|
|
8476
|
+
if (result.cache)
|
|
8477
|
+
return result.cache;
|
|
8478
|
+
eventData = result.data;
|
|
8479
|
+
}
|
|
8480
|
+
}
|
|
8481
|
+
if (state.tokenize) {
|
|
8482
|
+
const result = $TOKEN("IndentedApplicationAllowed", state, IndentedApplicationAllowed$0(state));
|
|
8483
|
+
if (state.events)
|
|
8484
|
+
state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
|
|
8485
|
+
return result;
|
|
8486
|
+
} else {
|
|
8487
|
+
const result = IndentedApplicationAllowed$0(state);
|
|
8488
|
+
if (state.events)
|
|
8489
|
+
state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
|
|
8490
|
+
return result;
|
|
8491
|
+
}
|
|
8492
|
+
}
|
|
8493
|
+
var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L14, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
|
|
8494
|
+
module2.suppressTrailingMemberProperty.push(true);
|
|
8495
|
+
});
|
|
8496
|
+
function SuppressTrailingMemberProperty(state) {
|
|
8497
|
+
let eventData;
|
|
8498
|
+
if (state.events) {
|
|
8499
|
+
const result = state.events.enter?.("SuppressTrailingMemberProperty", state);
|
|
8500
|
+
if (result) {
|
|
8501
|
+
if (result.cache)
|
|
8502
|
+
return result.cache;
|
|
8503
|
+
eventData = result.data;
|
|
8504
|
+
}
|
|
8505
|
+
}
|
|
8506
|
+
if (state.tokenize) {
|
|
8507
|
+
const result = $TOKEN("SuppressTrailingMemberProperty", state, SuppressTrailingMemberProperty$0(state));
|
|
8508
|
+
if (state.events)
|
|
8509
|
+
state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
|
|
8510
|
+
return result;
|
|
8511
|
+
} else {
|
|
8512
|
+
const result = SuppressTrailingMemberProperty$0(state);
|
|
8513
|
+
if (state.events)
|
|
8514
|
+
state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
|
|
8515
|
+
return result;
|
|
8516
|
+
}
|
|
8517
|
+
}
|
|
8518
|
+
var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L14, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
|
|
8519
|
+
if (module2.trailingMemberPropertySuppressed)
|
|
8520
|
+
return $skip;
|
|
8521
|
+
});
|
|
8522
|
+
function TrailingMemberPropertyAllowed(state) {
|
|
8523
|
+
let eventData;
|
|
8524
|
+
if (state.events) {
|
|
8525
|
+
const result = state.events.enter?.("TrailingMemberPropertyAllowed", state);
|
|
8526
|
+
if (result) {
|
|
8527
|
+
if (result.cache)
|
|
8528
|
+
return result.cache;
|
|
8529
|
+
eventData = result.data;
|
|
8530
|
+
}
|
|
8531
|
+
}
|
|
8532
|
+
if (state.tokenize) {
|
|
8533
|
+
const result = $TOKEN("TrailingMemberPropertyAllowed", state, TrailingMemberPropertyAllowed$0(state));
|
|
8534
|
+
if (state.events)
|
|
8535
|
+
state.events.exit?.("TrailingMemberPropertyAllowed", state, result, eventData);
|
|
8536
|
+
return result;
|
|
8537
|
+
} else {
|
|
8538
|
+
const result = TrailingMemberPropertyAllowed$0(state);
|
|
8539
|
+
if (state.events)
|
|
8540
|
+
state.events.exit?.("TrailingMemberPropertyAllowed", state, result, eventData);
|
|
8541
|
+
return result;
|
|
8542
|
+
}
|
|
8543
|
+
}
|
|
8401
8544
|
var ExpressionStatement$0 = Expression;
|
|
8402
8545
|
function ExpressionStatement(state) {
|
|
8403
8546
|
let eventData;
|
|
@@ -8421,13 +8564,13 @@ ${input.slice(result.pos)}
|
|
|
8421
8564
|
return result;
|
|
8422
8565
|
}
|
|
8423
8566
|
}
|
|
8424
|
-
var KeywordStatement$0 = $T($S($EXPECT($
|
|
8567
|
+
var KeywordStatement$0 = $T($S($EXPECT($L82, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
|
|
8425
8568
|
return { "type": "BreakStatement", "children": value };
|
|
8426
8569
|
});
|
|
8427
|
-
var KeywordStatement$1 = $T($S($EXPECT($
|
|
8570
|
+
var KeywordStatement$1 = $T($S($EXPECT($L83, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
|
|
8428
8571
|
return { "type": "ContinueStatement", "children": value };
|
|
8429
8572
|
});
|
|
8430
|
-
var KeywordStatement$2 = $T($S($EXPECT($
|
|
8573
|
+
var KeywordStatement$2 = $T($S($EXPECT($L84, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
|
|
8431
8574
|
return { "type": "DebuggerStatement", "children": value };
|
|
8432
8575
|
});
|
|
8433
8576
|
var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
|
|
@@ -8458,7 +8601,7 @@ ${input.slice(result.pos)}
|
|
|
8458
8601
|
return result;
|
|
8459
8602
|
}
|
|
8460
8603
|
}
|
|
8461
|
-
var DebuggerExpression$0 = $TS($S($EXPECT($
|
|
8604
|
+
var DebuggerExpression$0 = $TS($S($EXPECT($L84, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
8462
8605
|
return {
|
|
8463
8606
|
type: "DebuggerExpression",
|
|
8464
8607
|
children: ["(()=>{", $1, "})()"]
|
|
@@ -8581,7 +8724,7 @@ ${input.slice(result.pos)}
|
|
|
8581
8724
|
return result;
|
|
8582
8725
|
}
|
|
8583
8726
|
}
|
|
8584
|
-
var ImpliedImport$0 = $TV($EXPECT($
|
|
8727
|
+
var ImpliedImport$0 = $TV($EXPECT($L14, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
|
|
8585
8728
|
return { $loc, token: "import " };
|
|
8586
8729
|
});
|
|
8587
8730
|
function ImpliedImport(state) {
|
|
@@ -8794,7 +8937,7 @@ ${input.slice(result.pos)}
|
|
|
8794
8937
|
}
|
|
8795
8938
|
}
|
|
8796
8939
|
var ImportAsToken$0 = $S(__, As);
|
|
8797
|
-
var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($
|
|
8940
|
+
var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L6, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
8798
8941
|
var l = $1;
|
|
8799
8942
|
var ws = $2;
|
|
8800
8943
|
var c = $3;
|
|
@@ -8954,7 +9097,7 @@ ${input.slice(result.pos)}
|
|
|
8954
9097
|
return result;
|
|
8955
9098
|
}
|
|
8956
9099
|
}
|
|
8957
|
-
var ExportDeclaration$0 = $S(Export, __, $EXPECT($
|
|
9100
|
+
var ExportDeclaration$0 = $S(Export, __, $EXPECT($L85, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
|
|
8958
9101
|
var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
8959
9102
|
if (!$3.ts)
|
|
8960
9103
|
return $0;
|
|
@@ -9116,7 +9259,7 @@ ${input.slice(result.pos)}
|
|
|
9116
9259
|
return result;
|
|
9117
9260
|
}
|
|
9118
9261
|
}
|
|
9119
|
-
var ImplicitExportSpecifier$0 = $S($N($EXPECT($
|
|
9262
|
+
var ImplicitExportSpecifier$0 = $S($N($EXPECT($L85, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
|
|
9120
9263
|
function ImplicitExportSpecifier(state) {
|
|
9121
9264
|
let eventData;
|
|
9122
9265
|
if (state.events) {
|
|
@@ -9287,7 +9430,7 @@ ${input.slice(result.pos)}
|
|
|
9287
9430
|
return result;
|
|
9288
9431
|
}
|
|
9289
9432
|
}
|
|
9290
|
-
var ConstAssignment$0 = $TV($EXPECT($
|
|
9433
|
+
var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
|
|
9291
9434
|
return { $loc, token: "=" };
|
|
9292
9435
|
});
|
|
9293
9436
|
function ConstAssignment(state) {
|
|
@@ -9312,7 +9455,7 @@ ${input.slice(result.pos)}
|
|
|
9312
9455
|
return result;
|
|
9313
9456
|
}
|
|
9314
9457
|
}
|
|
9315
|
-
var LetAssignment$0 = $TV($EXPECT($
|
|
9458
|
+
var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
|
|
9316
9459
|
return { $loc, token: "=" };
|
|
9317
9460
|
});
|
|
9318
9461
|
function LetAssignment(state) {
|
|
@@ -9962,7 +10105,7 @@ ${input.slice(result.pos)}
|
|
|
9962
10105
|
}
|
|
9963
10106
|
}
|
|
9964
10107
|
var RegularExpressionLiteral$0 = HeregexLiteral;
|
|
9965
|
-
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($
|
|
10108
|
+
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
|
|
9966
10109
|
return { $loc, token: $1 };
|
|
9967
10110
|
});
|
|
9968
10111
|
function RegularExpressionLiteral(state) {
|
|
@@ -10365,7 +10508,7 @@ ${input.slice(result.pos)}
|
|
|
10365
10508
|
var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R34, fail, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
|
|
10366
10509
|
var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R35, fail, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
|
|
10367
10510
|
var ReservedWord$4 = $S(CoffeeNotEnabled, $R$0($EXPECT($R36, fail, "ReservedWord /(?:not)(?!\\p{ID_Continue})/")));
|
|
10368
|
-
var ReservedWord$5 = $S($EXPECT($
|
|
10511
|
+
var ReservedWord$5 = $S($EXPECT($L73, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'ReservedWord "in"'), NonIdContinue);
|
|
10369
10512
|
var ReservedWord$6 = $R$0($EXPECT($R37, fail, "ReservedWord /(?:and|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|static|super|switch|this|throw|true|try|typeof|unless|until|var|void|while|with|yield)(?!\\p{ID_Continue})/"));
|
|
10370
10513
|
function ReservedWord(state) {
|
|
10371
10514
|
let eventData;
|
|
@@ -10486,7 +10629,7 @@ ${input.slice(result.pos)}
|
|
|
10486
10629
|
return result;
|
|
10487
10630
|
}
|
|
10488
10631
|
}
|
|
10489
|
-
var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($
|
|
10632
|
+
var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L89, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L89, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
|
|
10490
10633
|
return { $loc, token: $1 };
|
|
10491
10634
|
});
|
|
10492
10635
|
function JSMultiLineComment(state) {
|
|
@@ -10536,7 +10679,7 @@ ${input.slice(result.pos)}
|
|
|
10536
10679
|
return result;
|
|
10537
10680
|
}
|
|
10538
10681
|
}
|
|
10539
|
-
var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($
|
|
10682
|
+
var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L89, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
|
|
10540
10683
|
return { $loc, token: `/*${$2}*/` };
|
|
10541
10684
|
});
|
|
10542
10685
|
function CoffeeMultiLineComment(state) {
|
|
@@ -10584,7 +10727,7 @@ ${input.slice(result.pos)}
|
|
|
10584
10727
|
return result;
|
|
10585
10728
|
}
|
|
10586
10729
|
}
|
|
10587
|
-
var InlineComment$0 = $TV($TEXT($S($EXPECT($
|
|
10730
|
+
var InlineComment$0 = $TV($TEXT($S($EXPECT($L88, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L89, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L89, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
|
|
10588
10731
|
return { $loc, token: $1 };
|
|
10589
10732
|
});
|
|
10590
10733
|
function InlineComment(state) {
|
|
@@ -10683,7 +10826,7 @@ ${input.slice(result.pos)}
|
|
|
10683
10826
|
var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
10684
10827
|
return { $loc, token: $0 };
|
|
10685
10828
|
});
|
|
10686
|
-
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($
|
|
10829
|
+
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L90, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
|
|
10687
10830
|
return "";
|
|
10688
10831
|
});
|
|
10689
10832
|
function NonNewlineWhitespace(state) {
|
|
@@ -10708,6 +10851,32 @@ ${input.slice(result.pos)}
|
|
|
10708
10851
|
return result;
|
|
10709
10852
|
}
|
|
10710
10853
|
}
|
|
10854
|
+
var Trimmed_$0 = $TV($Q(_), function($skip, $loc, $0, $1) {
|
|
10855
|
+
var ws = $0;
|
|
10856
|
+
return module2.insertTrimmingSpace(ws, "");
|
|
10857
|
+
});
|
|
10858
|
+
function Trimmed_(state) {
|
|
10859
|
+
let eventData;
|
|
10860
|
+
if (state.events) {
|
|
10861
|
+
const result = state.events.enter?.("Trimmed_", state);
|
|
10862
|
+
if (result) {
|
|
10863
|
+
if (result.cache)
|
|
10864
|
+
return result.cache;
|
|
10865
|
+
eventData = result.data;
|
|
10866
|
+
}
|
|
10867
|
+
}
|
|
10868
|
+
if (state.tokenize) {
|
|
10869
|
+
const result = $TOKEN("Trimmed_", state, Trimmed_$0(state));
|
|
10870
|
+
if (state.events)
|
|
10871
|
+
state.events.exit?.("Trimmed_", state, result, eventData);
|
|
10872
|
+
return result;
|
|
10873
|
+
} else {
|
|
10874
|
+
const result = Trimmed_$0(state);
|
|
10875
|
+
if (state.events)
|
|
10876
|
+
state.events.exit?.("Trimmed_", state, result, eventData);
|
|
10877
|
+
return result;
|
|
10878
|
+
}
|
|
10879
|
+
}
|
|
10711
10880
|
var __$0 = $Q($C(Whitespace, Comment));
|
|
10712
10881
|
function __(state) {
|
|
10713
10882
|
let eventData;
|
|
@@ -10859,7 +11028,7 @@ ${input.slice(result.pos)}
|
|
|
10859
11028
|
return result;
|
|
10860
11029
|
}
|
|
10861
11030
|
}
|
|
10862
|
-
var Loc$0 = $TV($EXPECT($
|
|
11031
|
+
var Loc$0 = $TV($EXPECT($L14, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
|
|
10863
11032
|
return { $loc, token: "" };
|
|
10864
11033
|
});
|
|
10865
11034
|
function Loc(state) {
|
|
@@ -10884,7 +11053,7 @@ ${input.slice(result.pos)}
|
|
|
10884
11053
|
return result;
|
|
10885
11054
|
}
|
|
10886
11055
|
}
|
|
10887
|
-
var Abstract$0 = $TV($TEXT($S($EXPECT($
|
|
11056
|
+
var Abstract$0 = $TV($TEXT($S($EXPECT($L91, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
|
|
10888
11057
|
return { $loc, token: $1, ts: true };
|
|
10889
11058
|
});
|
|
10890
11059
|
function Abstract(state) {
|
|
@@ -10909,7 +11078,7 @@ ${input.slice(result.pos)}
|
|
|
10909
11078
|
return result;
|
|
10910
11079
|
}
|
|
10911
11080
|
}
|
|
10912
|
-
var Ampersand$0 = $TV($EXPECT($
|
|
11081
|
+
var Ampersand$0 = $TV($EXPECT($L76, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
|
|
10913
11082
|
return { $loc, token: $1 };
|
|
10914
11083
|
});
|
|
10915
11084
|
function Ampersand(state) {
|
|
@@ -10934,7 +11103,7 @@ ${input.slice(result.pos)}
|
|
|
10934
11103
|
return result;
|
|
10935
11104
|
}
|
|
10936
11105
|
}
|
|
10937
|
-
var As$0 = $TS($S($EXPECT($
|
|
11106
|
+
var As$0 = $TS($S($EXPECT($L92, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
10938
11107
|
return { $loc, token: $1 };
|
|
10939
11108
|
});
|
|
10940
11109
|
function As(state) {
|
|
@@ -10959,7 +11128,7 @@ ${input.slice(result.pos)}
|
|
|
10959
11128
|
return result;
|
|
10960
11129
|
}
|
|
10961
11130
|
}
|
|
10962
|
-
var At$0 = $TV($EXPECT($
|
|
11131
|
+
var At$0 = $TV($EXPECT($L93, fail, 'At "@"'), function($skip, $loc, $0, $1) {
|
|
10963
11132
|
return { $loc, token: $1 };
|
|
10964
11133
|
});
|
|
10965
11134
|
function At(state) {
|
|
@@ -10984,7 +11153,7 @@ ${input.slice(result.pos)}
|
|
|
10984
11153
|
return result;
|
|
10985
11154
|
}
|
|
10986
11155
|
}
|
|
10987
|
-
var AtAt$0 = $TV($EXPECT($
|
|
11156
|
+
var AtAt$0 = $TV($EXPECT($L94, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
|
|
10988
11157
|
return { $loc, token: "@" };
|
|
10989
11158
|
});
|
|
10990
11159
|
function AtAt(state) {
|
|
@@ -11009,7 +11178,7 @@ ${input.slice(result.pos)}
|
|
|
11009
11178
|
return result;
|
|
11010
11179
|
}
|
|
11011
11180
|
}
|
|
11012
|
-
var Async$0 = $TS($S($EXPECT($
|
|
11181
|
+
var Async$0 = $TS($S($EXPECT($L95, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11013
11182
|
return { $loc, token: $1, type: "Async" };
|
|
11014
11183
|
});
|
|
11015
11184
|
function Async(state) {
|
|
@@ -11034,7 +11203,7 @@ ${input.slice(result.pos)}
|
|
|
11034
11203
|
return result;
|
|
11035
11204
|
}
|
|
11036
11205
|
}
|
|
11037
|
-
var Await$0 = $TS($S($EXPECT($
|
|
11206
|
+
var Await$0 = $TS($S($EXPECT($L96, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11038
11207
|
return { $loc, token: $1 };
|
|
11039
11208
|
});
|
|
11040
11209
|
function Await(state) {
|
|
@@ -11059,7 +11228,7 @@ ${input.slice(result.pos)}
|
|
|
11059
11228
|
return result;
|
|
11060
11229
|
}
|
|
11061
11230
|
}
|
|
11062
|
-
var Backtick$0 = $TV($EXPECT($
|
|
11231
|
+
var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
|
|
11063
11232
|
return { $loc, token: $1 };
|
|
11064
11233
|
});
|
|
11065
11234
|
function Backtick(state) {
|
|
@@ -11084,7 +11253,7 @@ ${input.slice(result.pos)}
|
|
|
11084
11253
|
return result;
|
|
11085
11254
|
}
|
|
11086
11255
|
}
|
|
11087
|
-
var By$0 = $TS($S($EXPECT($
|
|
11256
|
+
var By$0 = $TS($S($EXPECT($L98, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11088
11257
|
return { $loc, token: $1 };
|
|
11089
11258
|
});
|
|
11090
11259
|
function By(state) {
|
|
@@ -11109,7 +11278,7 @@ ${input.slice(result.pos)}
|
|
|
11109
11278
|
return result;
|
|
11110
11279
|
}
|
|
11111
11280
|
}
|
|
11112
|
-
var Case$0 = $TS($S($EXPECT($
|
|
11281
|
+
var Case$0 = $TS($S($EXPECT($L99, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11113
11282
|
return { $loc, token: $1 };
|
|
11114
11283
|
});
|
|
11115
11284
|
function Case(state) {
|
|
@@ -11134,7 +11303,7 @@ ${input.slice(result.pos)}
|
|
|
11134
11303
|
return result;
|
|
11135
11304
|
}
|
|
11136
11305
|
}
|
|
11137
|
-
var Catch$0 = $TS($S($EXPECT($
|
|
11306
|
+
var Catch$0 = $TS($S($EXPECT($L100, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11138
11307
|
return { $loc, token: $1 };
|
|
11139
11308
|
});
|
|
11140
11309
|
function Catch(state) {
|
|
@@ -11159,7 +11328,7 @@ ${input.slice(result.pos)}
|
|
|
11159
11328
|
return result;
|
|
11160
11329
|
}
|
|
11161
11330
|
}
|
|
11162
|
-
var Class$0 = $TS($S($EXPECT($
|
|
11331
|
+
var Class$0 = $TS($S($EXPECT($L101, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11163
11332
|
return { $loc, token: $1 };
|
|
11164
11333
|
});
|
|
11165
11334
|
function Class(state) {
|
|
@@ -11184,7 +11353,7 @@ ${input.slice(result.pos)}
|
|
|
11184
11353
|
return result;
|
|
11185
11354
|
}
|
|
11186
11355
|
}
|
|
11187
|
-
var CloseBrace$0 = $TV($EXPECT($
|
|
11356
|
+
var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
|
|
11188
11357
|
return { $loc, token: $1 };
|
|
11189
11358
|
});
|
|
11190
11359
|
function CloseBrace(state) {
|
|
@@ -11209,7 +11378,7 @@ ${input.slice(result.pos)}
|
|
|
11209
11378
|
return result;
|
|
11210
11379
|
}
|
|
11211
11380
|
}
|
|
11212
|
-
var CloseBracket$0 = $TV($EXPECT($
|
|
11381
|
+
var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
|
|
11213
11382
|
return { $loc, token: $1 };
|
|
11214
11383
|
});
|
|
11215
11384
|
function CloseBracket(state) {
|
|
@@ -11234,7 +11403,7 @@ ${input.slice(result.pos)}
|
|
|
11234
11403
|
return result;
|
|
11235
11404
|
}
|
|
11236
11405
|
}
|
|
11237
|
-
var CloseParen$0 = $TV($EXPECT($
|
|
11406
|
+
var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
|
|
11238
11407
|
return { $loc, token: $1 };
|
|
11239
11408
|
});
|
|
11240
11409
|
function CloseParen(state) {
|
|
@@ -11259,7 +11428,7 @@ ${input.slice(result.pos)}
|
|
|
11259
11428
|
return result;
|
|
11260
11429
|
}
|
|
11261
11430
|
}
|
|
11262
|
-
var CoffeeSubstitutionStart$0 = $TV($EXPECT($
|
|
11431
|
+
var CoffeeSubstitutionStart$0 = $TV($EXPECT($L102, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
|
|
11263
11432
|
return { $loc, token: "${" };
|
|
11264
11433
|
});
|
|
11265
11434
|
function CoffeeSubstitutionStart(state) {
|
|
@@ -11284,7 +11453,7 @@ ${input.slice(result.pos)}
|
|
|
11284
11453
|
return result;
|
|
11285
11454
|
}
|
|
11286
11455
|
}
|
|
11287
|
-
var Colon$0 = $TV($EXPECT($
|
|
11456
|
+
var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
|
|
11288
11457
|
return { $loc, token: $1 };
|
|
11289
11458
|
});
|
|
11290
11459
|
function Colon(state) {
|
|
@@ -11309,7 +11478,7 @@ ${input.slice(result.pos)}
|
|
|
11309
11478
|
return result;
|
|
11310
11479
|
}
|
|
11311
11480
|
}
|
|
11312
|
-
var ConstructorShorthand$0 = $TV($EXPECT($
|
|
11481
|
+
var ConstructorShorthand$0 = $TV($EXPECT($L93, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
|
|
11313
11482
|
return { $loc, token: "constructor" };
|
|
11314
11483
|
});
|
|
11315
11484
|
function ConstructorShorthand(state) {
|
|
@@ -11334,7 +11503,7 @@ ${input.slice(result.pos)}
|
|
|
11334
11503
|
return result;
|
|
11335
11504
|
}
|
|
11336
11505
|
}
|
|
11337
|
-
var Default$0 = $TS($S($EXPECT($
|
|
11506
|
+
var Default$0 = $TS($S($EXPECT($L85, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11338
11507
|
return { $loc, token: $1 };
|
|
11339
11508
|
});
|
|
11340
11509
|
function Default(state) {
|
|
@@ -11359,7 +11528,7 @@ ${input.slice(result.pos)}
|
|
|
11359
11528
|
return result;
|
|
11360
11529
|
}
|
|
11361
11530
|
}
|
|
11362
|
-
var Delete$0 = $TS($S($EXPECT($
|
|
11531
|
+
var Delete$0 = $TS($S($EXPECT($L103, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11363
11532
|
return { $loc, token: $1 };
|
|
11364
11533
|
});
|
|
11365
11534
|
function Delete(state) {
|
|
@@ -11384,7 +11553,7 @@ ${input.slice(result.pos)}
|
|
|
11384
11553
|
return result;
|
|
11385
11554
|
}
|
|
11386
11555
|
}
|
|
11387
|
-
var Do$0 = $TS($S($EXPECT($
|
|
11556
|
+
var Do$0 = $TS($S($EXPECT($L104, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11388
11557
|
return { $loc, token: $1 };
|
|
11389
11558
|
});
|
|
11390
11559
|
function Do(state) {
|
|
@@ -11409,7 +11578,7 @@ ${input.slice(result.pos)}
|
|
|
11409
11578
|
return result;
|
|
11410
11579
|
}
|
|
11411
11580
|
}
|
|
11412
|
-
var Dot$0 = $TV($EXPECT($
|
|
11581
|
+
var Dot$0 = $TV($EXPECT($L2, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
|
|
11413
11582
|
return { $loc, token: $1 };
|
|
11414
11583
|
});
|
|
11415
11584
|
function Dot(state) {
|
|
@@ -11434,7 +11603,7 @@ ${input.slice(result.pos)}
|
|
|
11434
11603
|
return result;
|
|
11435
11604
|
}
|
|
11436
11605
|
}
|
|
11437
|
-
var DotDot$0 = $TV($EXPECT($
|
|
11606
|
+
var DotDot$0 = $TV($EXPECT($L105, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
|
|
11438
11607
|
return { $loc, token: $1 };
|
|
11439
11608
|
});
|
|
11440
11609
|
function DotDot(state) {
|
|
@@ -11459,7 +11628,7 @@ ${input.slice(result.pos)}
|
|
|
11459
11628
|
return result;
|
|
11460
11629
|
}
|
|
11461
11630
|
}
|
|
11462
|
-
var DotDotDot$0 = $TV($EXPECT($
|
|
11631
|
+
var DotDotDot$0 = $TV($EXPECT($L106, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
|
|
11463
11632
|
return { $loc, token: $1 };
|
|
11464
11633
|
});
|
|
11465
11634
|
function DotDotDot(state) {
|
|
@@ -11484,7 +11653,7 @@ ${input.slice(result.pos)}
|
|
|
11484
11653
|
return result;
|
|
11485
11654
|
}
|
|
11486
11655
|
}
|
|
11487
|
-
var DoubleColon$0 = $TV($EXPECT($
|
|
11656
|
+
var DoubleColon$0 = $TV($EXPECT($L107, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
|
|
11488
11657
|
return { $loc, token: $1 };
|
|
11489
11658
|
});
|
|
11490
11659
|
function DoubleColon(state) {
|
|
@@ -11509,7 +11678,7 @@ ${input.slice(result.pos)}
|
|
|
11509
11678
|
return result;
|
|
11510
11679
|
}
|
|
11511
11680
|
}
|
|
11512
|
-
var DoubleQuote$0 = $TV($EXPECT($
|
|
11681
|
+
var DoubleQuote$0 = $TV($EXPECT($L108, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
|
|
11513
11682
|
return { $loc, token: $1 };
|
|
11514
11683
|
});
|
|
11515
11684
|
function DoubleQuote(state) {
|
|
@@ -11534,7 +11703,7 @@ ${input.slice(result.pos)}
|
|
|
11534
11703
|
return result;
|
|
11535
11704
|
}
|
|
11536
11705
|
}
|
|
11537
|
-
var Else$0 = $TS($S($EXPECT($
|
|
11706
|
+
var Else$0 = $TS($S($EXPECT($L109, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11538
11707
|
return { $loc, token: $1 };
|
|
11539
11708
|
});
|
|
11540
11709
|
function Else(state) {
|
|
@@ -11559,7 +11728,7 @@ ${input.slice(result.pos)}
|
|
|
11559
11728
|
return result;
|
|
11560
11729
|
}
|
|
11561
11730
|
}
|
|
11562
|
-
var Equals$0 = $TV($EXPECT($
|
|
11731
|
+
var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
|
|
11563
11732
|
return { $loc, token: $1 };
|
|
11564
11733
|
});
|
|
11565
11734
|
function Equals(state) {
|
|
@@ -11584,7 +11753,7 @@ ${input.slice(result.pos)}
|
|
|
11584
11753
|
return result;
|
|
11585
11754
|
}
|
|
11586
11755
|
}
|
|
11587
|
-
var Export$0 = $TS($S($EXPECT($
|
|
11756
|
+
var Export$0 = $TS($S($EXPECT($L110, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11588
11757
|
return { $loc, token: $1 };
|
|
11589
11758
|
});
|
|
11590
11759
|
function Export(state) {
|
|
@@ -11609,7 +11778,7 @@ ${input.slice(result.pos)}
|
|
|
11609
11778
|
return result;
|
|
11610
11779
|
}
|
|
11611
11780
|
}
|
|
11612
|
-
var Extends$0 = $TS($S($EXPECT($
|
|
11781
|
+
var Extends$0 = $TS($S($EXPECT($L111, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11613
11782
|
return { $loc, token: $1 };
|
|
11614
11783
|
});
|
|
11615
11784
|
function Extends(state) {
|
|
@@ -11634,7 +11803,7 @@ ${input.slice(result.pos)}
|
|
|
11634
11803
|
return result;
|
|
11635
11804
|
}
|
|
11636
11805
|
}
|
|
11637
|
-
var For$0 = $TS($S($EXPECT($
|
|
11806
|
+
var For$0 = $TS($S($EXPECT($L112, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11638
11807
|
return { $loc, token: $1 };
|
|
11639
11808
|
});
|
|
11640
11809
|
function For(state) {
|
|
@@ -11659,7 +11828,7 @@ ${input.slice(result.pos)}
|
|
|
11659
11828
|
return result;
|
|
11660
11829
|
}
|
|
11661
11830
|
}
|
|
11662
|
-
var From$0 = $TS($S($EXPECT($
|
|
11831
|
+
var From$0 = $TS($S($EXPECT($L113, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11663
11832
|
return { $loc, token: $1 };
|
|
11664
11833
|
});
|
|
11665
11834
|
function From(state) {
|
|
@@ -11684,7 +11853,7 @@ ${input.slice(result.pos)}
|
|
|
11684
11853
|
return result;
|
|
11685
11854
|
}
|
|
11686
11855
|
}
|
|
11687
|
-
var Function$0 = $TS($S($EXPECT($
|
|
11856
|
+
var Function$0 = $TS($S($EXPECT($L114, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11688
11857
|
return { $loc, token: $1 };
|
|
11689
11858
|
});
|
|
11690
11859
|
function Function(state) {
|
|
@@ -11709,7 +11878,7 @@ ${input.slice(result.pos)}
|
|
|
11709
11878
|
return result;
|
|
11710
11879
|
}
|
|
11711
11880
|
}
|
|
11712
|
-
var GetOrSet$0 = $TS($S($C($EXPECT($
|
|
11881
|
+
var GetOrSet$0 = $TS($S($C($EXPECT($L115, fail, 'GetOrSet "get"'), $EXPECT($L116, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11713
11882
|
return { $loc, token: $1, type: "GetOrSet" };
|
|
11714
11883
|
});
|
|
11715
11884
|
function GetOrSet(state) {
|
|
@@ -11734,7 +11903,7 @@ ${input.slice(result.pos)}
|
|
|
11734
11903
|
return result;
|
|
11735
11904
|
}
|
|
11736
11905
|
}
|
|
11737
|
-
var If$0 = $TV($TEXT($S($EXPECT($
|
|
11906
|
+
var If$0 = $TV($TEXT($S($EXPECT($L117, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
|
|
11738
11907
|
return { $loc, token: $1 };
|
|
11739
11908
|
});
|
|
11740
11909
|
function If(state) {
|
|
@@ -11759,7 +11928,7 @@ ${input.slice(result.pos)}
|
|
|
11759
11928
|
return result;
|
|
11760
11929
|
}
|
|
11761
11930
|
}
|
|
11762
|
-
var Import$0 = $TS($S($EXPECT($
|
|
11931
|
+
var Import$0 = $TS($S($EXPECT($L10, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
|
|
11763
11932
|
return { $loc, token: $1 };
|
|
11764
11933
|
});
|
|
11765
11934
|
function Import(state) {
|
|
@@ -11784,7 +11953,7 @@ ${input.slice(result.pos)}
|
|
|
11784
11953
|
return result;
|
|
11785
11954
|
}
|
|
11786
11955
|
}
|
|
11787
|
-
var In$0 = $TS($S($EXPECT($
|
|
11956
|
+
var In$0 = $TS($S($EXPECT($L74, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11788
11957
|
return { $loc, token: $1 };
|
|
11789
11958
|
});
|
|
11790
11959
|
function In(state) {
|
|
@@ -11809,7 +11978,7 @@ ${input.slice(result.pos)}
|
|
|
11809
11978
|
return result;
|
|
11810
11979
|
}
|
|
11811
11980
|
}
|
|
11812
|
-
var LetOrConst$0 = $TS($S($C($EXPECT($
|
|
11981
|
+
var LetOrConst$0 = $TS($S($C($EXPECT($L118, fail, 'LetOrConst "let"'), $EXPECT($L119, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11813
11982
|
return { $loc, token: $1 };
|
|
11814
11983
|
});
|
|
11815
11984
|
function LetOrConst(state) {
|
|
@@ -11834,7 +12003,7 @@ ${input.slice(result.pos)}
|
|
|
11834
12003
|
return result;
|
|
11835
12004
|
}
|
|
11836
12005
|
}
|
|
11837
|
-
var Loop$0 = $TS($S($EXPECT($
|
|
12006
|
+
var Loop$0 = $TS($S($EXPECT($L120, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11838
12007
|
return { $loc, token: "while(true)" };
|
|
11839
12008
|
});
|
|
11840
12009
|
function Loop(state) {
|
|
@@ -11859,7 +12028,7 @@ ${input.slice(result.pos)}
|
|
|
11859
12028
|
return result;
|
|
11860
12029
|
}
|
|
11861
12030
|
}
|
|
11862
|
-
var New$0 = $TS($S($EXPECT($
|
|
12031
|
+
var New$0 = $TS($S($EXPECT($L121, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11863
12032
|
return { $loc, token: $1 };
|
|
11864
12033
|
});
|
|
11865
12034
|
function New(state) {
|
|
@@ -11884,7 +12053,7 @@ ${input.slice(result.pos)}
|
|
|
11884
12053
|
return result;
|
|
11885
12054
|
}
|
|
11886
12055
|
}
|
|
11887
|
-
var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($
|
|
12056
|
+
var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L73, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L6, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
11888
12057
|
return { $loc, token: "!" };
|
|
11889
12058
|
});
|
|
11890
12059
|
function Not(state) {
|
|
@@ -11909,7 +12078,7 @@ ${input.slice(result.pos)}
|
|
|
11909
12078
|
return result;
|
|
11910
12079
|
}
|
|
11911
12080
|
}
|
|
11912
|
-
var Of$0 = $TS($S($EXPECT($
|
|
12081
|
+
var Of$0 = $TS($S($EXPECT($L68, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11913
12082
|
return { $loc, token: $1 };
|
|
11914
12083
|
});
|
|
11915
12084
|
function Of(state) {
|
|
@@ -11934,7 +12103,7 @@ ${input.slice(result.pos)}
|
|
|
11934
12103
|
return result;
|
|
11935
12104
|
}
|
|
11936
12105
|
}
|
|
11937
|
-
var OpenAngleBracket$0 = $TV($EXPECT($
|
|
12106
|
+
var OpenAngleBracket$0 = $TV($EXPECT($L122, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
|
|
11938
12107
|
return { $loc, token: $1 };
|
|
11939
12108
|
});
|
|
11940
12109
|
function OpenAngleBracket(state) {
|
|
@@ -11959,7 +12128,7 @@ ${input.slice(result.pos)}
|
|
|
11959
12128
|
return result;
|
|
11960
12129
|
}
|
|
11961
12130
|
}
|
|
11962
|
-
var OpenBrace$0 = $TV($EXPECT($
|
|
12131
|
+
var OpenBrace$0 = $TV($EXPECT($L123, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
|
|
11963
12132
|
return { $loc, token: $1 };
|
|
11964
12133
|
});
|
|
11965
12134
|
function OpenBrace(state) {
|
|
@@ -11984,7 +12153,7 @@ ${input.slice(result.pos)}
|
|
|
11984
12153
|
return result;
|
|
11985
12154
|
}
|
|
11986
12155
|
}
|
|
11987
|
-
var OpenBracket$0 = $TV($EXPECT($
|
|
12156
|
+
var OpenBracket$0 = $TV($EXPECT($L124, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
|
|
11988
12157
|
return { $loc, token: $1 };
|
|
11989
12158
|
});
|
|
11990
12159
|
function OpenBracket(state) {
|
|
@@ -12009,7 +12178,7 @@ ${input.slice(result.pos)}
|
|
|
12009
12178
|
return result;
|
|
12010
12179
|
}
|
|
12011
12180
|
}
|
|
12012
|
-
var OpenParen$0 = $TV($EXPECT($
|
|
12181
|
+
var OpenParen$0 = $TV($EXPECT($L125, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
|
|
12013
12182
|
return { $loc, token: $1 };
|
|
12014
12183
|
});
|
|
12015
12184
|
function OpenParen(state) {
|
|
@@ -12034,7 +12203,7 @@ ${input.slice(result.pos)}
|
|
|
12034
12203
|
return result;
|
|
12035
12204
|
}
|
|
12036
12205
|
}
|
|
12037
|
-
var Public$0 = $TS($S($EXPECT($
|
|
12206
|
+
var Public$0 = $TS($S($EXPECT($L126, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12038
12207
|
return { $loc, token: $1 };
|
|
12039
12208
|
});
|
|
12040
12209
|
function Public(state) {
|
|
@@ -12059,7 +12228,7 @@ ${input.slice(result.pos)}
|
|
|
12059
12228
|
return result;
|
|
12060
12229
|
}
|
|
12061
12230
|
}
|
|
12062
|
-
var Private$0 = $TS($S($EXPECT($
|
|
12231
|
+
var Private$0 = $TS($S($EXPECT($L127, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12063
12232
|
return { $loc, token: $1 };
|
|
12064
12233
|
});
|
|
12065
12234
|
function Private(state) {
|
|
@@ -12084,7 +12253,7 @@ ${input.slice(result.pos)}
|
|
|
12084
12253
|
return result;
|
|
12085
12254
|
}
|
|
12086
12255
|
}
|
|
12087
|
-
var Protected$0 = $TS($S($EXPECT($
|
|
12256
|
+
var Protected$0 = $TS($S($EXPECT($L128, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12088
12257
|
return { $loc, token: $1 };
|
|
12089
12258
|
});
|
|
12090
12259
|
function Protected(state) {
|
|
@@ -12109,7 +12278,7 @@ ${input.slice(result.pos)}
|
|
|
12109
12278
|
return result;
|
|
12110
12279
|
}
|
|
12111
12280
|
}
|
|
12112
|
-
var Pipe$0 = $TV($EXPECT($
|
|
12281
|
+
var Pipe$0 = $TV($EXPECT($L129, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
|
|
12113
12282
|
return { $loc, token: $1 };
|
|
12114
12283
|
});
|
|
12115
12284
|
function Pipe(state) {
|
|
@@ -12134,7 +12303,7 @@ ${input.slice(result.pos)}
|
|
|
12134
12303
|
return result;
|
|
12135
12304
|
}
|
|
12136
12305
|
}
|
|
12137
|
-
var QuestionMark$0 = $TV($EXPECT($
|
|
12306
|
+
var QuestionMark$0 = $TV($EXPECT($L1, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
|
|
12138
12307
|
return { $loc, token: $1 };
|
|
12139
12308
|
});
|
|
12140
12309
|
function QuestionMark(state) {
|
|
@@ -12159,7 +12328,7 @@ ${input.slice(result.pos)}
|
|
|
12159
12328
|
return result;
|
|
12160
12329
|
}
|
|
12161
12330
|
}
|
|
12162
|
-
var Readonly$0 = $TS($S($EXPECT($
|
|
12331
|
+
var Readonly$0 = $TS($S($EXPECT($L130, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12163
12332
|
return { $loc, token: $1, ts: true };
|
|
12164
12333
|
});
|
|
12165
12334
|
function Readonly(state) {
|
|
@@ -12184,7 +12353,7 @@ ${input.slice(result.pos)}
|
|
|
12184
12353
|
return result;
|
|
12185
12354
|
}
|
|
12186
12355
|
}
|
|
12187
|
-
var Return$0 = $TS($S($EXPECT($
|
|
12356
|
+
var Return$0 = $TS($S($EXPECT($L131, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12188
12357
|
return { $loc, token: $1 };
|
|
12189
12358
|
});
|
|
12190
12359
|
function Return(state) {
|
|
@@ -12209,7 +12378,7 @@ ${input.slice(result.pos)}
|
|
|
12209
12378
|
return result;
|
|
12210
12379
|
}
|
|
12211
12380
|
}
|
|
12212
|
-
var Satisfies$0 = $TS($S($EXPECT($
|
|
12381
|
+
var Satisfies$0 = $TS($S($EXPECT($L132, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12213
12382
|
return { $loc, token: $1 };
|
|
12214
12383
|
});
|
|
12215
12384
|
function Satisfies(state) {
|
|
@@ -12234,7 +12403,7 @@ ${input.slice(result.pos)}
|
|
|
12234
12403
|
return result;
|
|
12235
12404
|
}
|
|
12236
12405
|
}
|
|
12237
|
-
var Semicolon$0 = $TV($EXPECT($
|
|
12406
|
+
var Semicolon$0 = $TV($EXPECT($L79, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
|
|
12238
12407
|
return { $loc, token: $1 };
|
|
12239
12408
|
});
|
|
12240
12409
|
function Semicolon(state) {
|
|
@@ -12259,7 +12428,7 @@ ${input.slice(result.pos)}
|
|
|
12259
12428
|
return result;
|
|
12260
12429
|
}
|
|
12261
12430
|
}
|
|
12262
|
-
var SingleQuote$0 = $TV($EXPECT($
|
|
12431
|
+
var SingleQuote$0 = $TV($EXPECT($L133, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
|
|
12263
12432
|
return { $loc, token: $1 };
|
|
12264
12433
|
});
|
|
12265
12434
|
function SingleQuote(state) {
|
|
@@ -12284,7 +12453,7 @@ ${input.slice(result.pos)}
|
|
|
12284
12453
|
return result;
|
|
12285
12454
|
}
|
|
12286
12455
|
}
|
|
12287
|
-
var Star$0 = $TV($EXPECT($
|
|
12456
|
+
var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
|
|
12288
12457
|
return { $loc, token: $1 };
|
|
12289
12458
|
});
|
|
12290
12459
|
function Star(state) {
|
|
@@ -12309,10 +12478,10 @@ ${input.slice(result.pos)}
|
|
|
12309
12478
|
return result;
|
|
12310
12479
|
}
|
|
12311
12480
|
}
|
|
12312
|
-
var Static$0 = $TS($S($EXPECT($
|
|
12481
|
+
var Static$0 = $TS($S($EXPECT($L134, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12313
12482
|
return { $loc, token: $1 };
|
|
12314
12483
|
});
|
|
12315
|
-
var Static$1 = $TS($S($EXPECT($
|
|
12484
|
+
var Static$1 = $TS($S($EXPECT($L93, fail, 'Static "@"'), $N($C($EXPECT($L125, fail, 'Static "("'), $EXPECT($L93, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
|
|
12316
12485
|
return { $loc, token: "static " };
|
|
12317
12486
|
});
|
|
12318
12487
|
function Static(state) {
|
|
@@ -12337,7 +12506,7 @@ ${input.slice(result.pos)}
|
|
|
12337
12506
|
return result;
|
|
12338
12507
|
}
|
|
12339
12508
|
}
|
|
12340
|
-
var SubstitutionStart$0 = $TV($EXPECT($
|
|
12509
|
+
var SubstitutionStart$0 = $TV($EXPECT($L135, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
|
|
12341
12510
|
return { $loc, token: $1 };
|
|
12342
12511
|
});
|
|
12343
12512
|
function SubstitutionStart(state) {
|
|
@@ -12362,7 +12531,7 @@ ${input.slice(result.pos)}
|
|
|
12362
12531
|
return result;
|
|
12363
12532
|
}
|
|
12364
12533
|
}
|
|
12365
|
-
var Switch$0 = $TS($S($EXPECT($
|
|
12534
|
+
var Switch$0 = $TS($S($EXPECT($L136, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12366
12535
|
return { $loc, token: $1 };
|
|
12367
12536
|
});
|
|
12368
12537
|
function Switch(state) {
|
|
@@ -12387,7 +12556,7 @@ ${input.slice(result.pos)}
|
|
|
12387
12556
|
return result;
|
|
12388
12557
|
}
|
|
12389
12558
|
}
|
|
12390
|
-
var Target$0 = $TS($S($EXPECT($
|
|
12559
|
+
var Target$0 = $TS($S($EXPECT($L137, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12391
12560
|
return { $loc, token: $1 };
|
|
12392
12561
|
});
|
|
12393
12562
|
function Target(state) {
|
|
@@ -12412,7 +12581,7 @@ ${input.slice(result.pos)}
|
|
|
12412
12581
|
return result;
|
|
12413
12582
|
}
|
|
12414
12583
|
}
|
|
12415
|
-
var Then$0 = $TS($S(__, $EXPECT($
|
|
12584
|
+
var Then$0 = $TS($S(__, $EXPECT($L138, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
|
|
12416
12585
|
return { $loc, token: "" };
|
|
12417
12586
|
});
|
|
12418
12587
|
function Then(state) {
|
|
@@ -12437,7 +12606,7 @@ ${input.slice(result.pos)}
|
|
|
12437
12606
|
return result;
|
|
12438
12607
|
}
|
|
12439
12608
|
}
|
|
12440
|
-
var This$0 = $TS($S($EXPECT($
|
|
12609
|
+
var This$0 = $TS($S($EXPECT($L139, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12441
12610
|
return { $loc, token: $1 };
|
|
12442
12611
|
});
|
|
12443
12612
|
function This(state) {
|
|
@@ -12462,7 +12631,7 @@ ${input.slice(result.pos)}
|
|
|
12462
12631
|
return result;
|
|
12463
12632
|
}
|
|
12464
12633
|
}
|
|
12465
|
-
var Throw$0 = $TS($S($EXPECT($
|
|
12634
|
+
var Throw$0 = $TS($S($EXPECT($L140, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12466
12635
|
return { $loc, token: $1 };
|
|
12467
12636
|
});
|
|
12468
12637
|
function Throw(state) {
|
|
@@ -12487,7 +12656,7 @@ ${input.slice(result.pos)}
|
|
|
12487
12656
|
return result;
|
|
12488
12657
|
}
|
|
12489
12658
|
}
|
|
12490
|
-
var TripleDoubleQuote$0 = $TV($EXPECT($
|
|
12659
|
+
var TripleDoubleQuote$0 = $TV($EXPECT($L141, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
|
|
12491
12660
|
return { $loc, token: "`" };
|
|
12492
12661
|
});
|
|
12493
12662
|
function TripleDoubleQuote(state) {
|
|
@@ -12512,7 +12681,7 @@ ${input.slice(result.pos)}
|
|
|
12512
12681
|
return result;
|
|
12513
12682
|
}
|
|
12514
12683
|
}
|
|
12515
|
-
var TripleSingleQuote$0 = $TV($EXPECT($
|
|
12684
|
+
var TripleSingleQuote$0 = $TV($EXPECT($L142, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
|
|
12516
12685
|
return { $loc, token: "`" };
|
|
12517
12686
|
});
|
|
12518
12687
|
function TripleSingleQuote(state) {
|
|
@@ -12537,7 +12706,7 @@ ${input.slice(result.pos)}
|
|
|
12537
12706
|
return result;
|
|
12538
12707
|
}
|
|
12539
12708
|
}
|
|
12540
|
-
var TripleSlash$0 = $TV($EXPECT($
|
|
12709
|
+
var TripleSlash$0 = $TV($EXPECT($L143, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
|
|
12541
12710
|
return { $loc, token: "/" };
|
|
12542
12711
|
});
|
|
12543
12712
|
function TripleSlash(state) {
|
|
@@ -12562,7 +12731,7 @@ ${input.slice(result.pos)}
|
|
|
12562
12731
|
return result;
|
|
12563
12732
|
}
|
|
12564
12733
|
}
|
|
12565
|
-
var TripleTick$0 = $TV($EXPECT($
|
|
12734
|
+
var TripleTick$0 = $TV($EXPECT($L144, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
|
|
12566
12735
|
return { $loc, token: "`" };
|
|
12567
12736
|
});
|
|
12568
12737
|
function TripleTick(state) {
|
|
@@ -12587,7 +12756,7 @@ ${input.slice(result.pos)}
|
|
|
12587
12756
|
return result;
|
|
12588
12757
|
}
|
|
12589
12758
|
}
|
|
12590
|
-
var Try$0 = $TS($S($EXPECT($
|
|
12759
|
+
var Try$0 = $TS($S($EXPECT($L145, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12591
12760
|
return { $loc, token: $1 };
|
|
12592
12761
|
});
|
|
12593
12762
|
function Try(state) {
|
|
@@ -12612,7 +12781,7 @@ ${input.slice(result.pos)}
|
|
|
12612
12781
|
return result;
|
|
12613
12782
|
}
|
|
12614
12783
|
}
|
|
12615
|
-
var Typeof$0 = $TS($S($EXPECT($
|
|
12784
|
+
var Typeof$0 = $TS($S($EXPECT($L146, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12616
12785
|
return { $loc, token: $1 };
|
|
12617
12786
|
});
|
|
12618
12787
|
function Typeof(state) {
|
|
@@ -12637,7 +12806,7 @@ ${input.slice(result.pos)}
|
|
|
12637
12806
|
return result;
|
|
12638
12807
|
}
|
|
12639
12808
|
}
|
|
12640
|
-
var Unless$0 = $TS($S($EXPECT($
|
|
12809
|
+
var Unless$0 = $TS($S($EXPECT($L147, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12641
12810
|
return { $loc, token: $1 };
|
|
12642
12811
|
});
|
|
12643
12812
|
function Unless(state) {
|
|
@@ -12662,7 +12831,7 @@ ${input.slice(result.pos)}
|
|
|
12662
12831
|
return result;
|
|
12663
12832
|
}
|
|
12664
12833
|
}
|
|
12665
|
-
var Until$0 = $TS($S($EXPECT($
|
|
12834
|
+
var Until$0 = $TS($S($EXPECT($L148, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12666
12835
|
return { $loc, token: $1 };
|
|
12667
12836
|
});
|
|
12668
12837
|
function Until(state) {
|
|
@@ -12687,7 +12856,7 @@ ${input.slice(result.pos)}
|
|
|
12687
12856
|
return result;
|
|
12688
12857
|
}
|
|
12689
12858
|
}
|
|
12690
|
-
var Var$0 = $TS($S($EXPECT($
|
|
12859
|
+
var Var$0 = $TS($S($EXPECT($L149, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12691
12860
|
return { $loc, token: $1 };
|
|
12692
12861
|
});
|
|
12693
12862
|
function Var(state) {
|
|
@@ -12712,7 +12881,7 @@ ${input.slice(result.pos)}
|
|
|
12712
12881
|
return result;
|
|
12713
12882
|
}
|
|
12714
12883
|
}
|
|
12715
|
-
var Void$0 = $TS($S($EXPECT($
|
|
12884
|
+
var Void$0 = $TS($S($EXPECT($L150, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12716
12885
|
return { $loc, token: $1 };
|
|
12717
12886
|
});
|
|
12718
12887
|
function Void(state) {
|
|
@@ -12737,7 +12906,7 @@ ${input.slice(result.pos)}
|
|
|
12737
12906
|
return result;
|
|
12738
12907
|
}
|
|
12739
12908
|
}
|
|
12740
|
-
var When$0 = $TS($S($EXPECT($
|
|
12909
|
+
var When$0 = $TS($S($EXPECT($L151, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12741
12910
|
return { $loc, token: "case" };
|
|
12742
12911
|
});
|
|
12743
12912
|
function When(state) {
|
|
@@ -12762,7 +12931,7 @@ ${input.slice(result.pos)}
|
|
|
12762
12931
|
return result;
|
|
12763
12932
|
}
|
|
12764
12933
|
}
|
|
12765
|
-
var While$0 = $TS($S($EXPECT($
|
|
12934
|
+
var While$0 = $TS($S($EXPECT($L152, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12766
12935
|
return { $loc, token: $1 };
|
|
12767
12936
|
});
|
|
12768
12937
|
function While(state) {
|
|
@@ -12787,7 +12956,7 @@ ${input.slice(result.pos)}
|
|
|
12787
12956
|
return result;
|
|
12788
12957
|
}
|
|
12789
12958
|
}
|
|
12790
|
-
var Yield$0 = $TS($S($EXPECT($
|
|
12959
|
+
var Yield$0 = $TS($S($EXPECT($L153, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12791
12960
|
return { $loc, token: $1 };
|
|
12792
12961
|
});
|
|
12793
12962
|
function Yield(state) {
|
|
@@ -12919,7 +13088,7 @@ ${input.slice(result.pos)}
|
|
|
12919
13088
|
return result;
|
|
12920
13089
|
}
|
|
12921
13090
|
}
|
|
12922
|
-
var JSXSelfClosingElement$0 = $TS($S($EXPECT($
|
|
13091
|
+
var JSXSelfClosingElement$0 = $TS($S($EXPECT($L122, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L154, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
|
|
12923
13092
|
return { type: "JSXElement", children: $0 };
|
|
12924
13093
|
});
|
|
12925
13094
|
function JSXSelfClosingElement(state) {
|
|
@@ -12944,7 +13113,7 @@ ${input.slice(result.pos)}
|
|
|
12944
13113
|
return result;
|
|
12945
13114
|
}
|
|
12946
13115
|
}
|
|
12947
|
-
var JSXOpeningElement$0 = $S($EXPECT($
|
|
13116
|
+
var JSXOpeningElement$0 = $S($EXPECT($L122, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
|
|
12948
13117
|
function JSXOpeningElement(state) {
|
|
12949
13118
|
let eventData;
|
|
12950
13119
|
if (state.events) {
|
|
@@ -12967,7 +13136,7 @@ ${input.slice(result.pos)}
|
|
|
12967
13136
|
return result;
|
|
12968
13137
|
}
|
|
12969
13138
|
}
|
|
12970
|
-
var JSXClosingElement$0 = $S($EXPECT($
|
|
13139
|
+
var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
|
|
12971
13140
|
function JSXClosingElement(state) {
|
|
12972
13141
|
let eventData;
|
|
12973
13142
|
if (state.events) {
|
|
@@ -12990,14 +13159,14 @@ ${input.slice(result.pos)}
|
|
|
12990
13159
|
return result;
|
|
12991
13160
|
}
|
|
12992
13161
|
}
|
|
12993
|
-
var JSXFragment$0 = $TS($S($EXPECT($
|
|
13162
|
+
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) {
|
|
12994
13163
|
if ($2) {
|
|
12995
13164
|
return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
|
|
12996
13165
|
} else {
|
|
12997
13166
|
return { type: "JSXFragment", children: $0, jsxChildren: [] };
|
|
12998
13167
|
}
|
|
12999
13168
|
});
|
|
13000
|
-
var JSXFragment$1 = $TS($S($EXPECT($
|
|
13169
|
+
var JSXFragment$1 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
13001
13170
|
return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
|
|
13002
13171
|
});
|
|
13003
13172
|
function JSXFragment(state) {
|
|
@@ -13224,7 +13393,7 @@ ${input.slice(result.pos)}
|
|
|
13224
13393
|
}
|
|
13225
13394
|
});
|
|
13226
13395
|
var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace);
|
|
13227
|
-
var JSXAttribute$3 = $TS($S($EXPECT($
|
|
13396
|
+
var JSXAttribute$3 = $TS($S($EXPECT($L8, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
|
|
13228
13397
|
return [" ", "id=", $2];
|
|
13229
13398
|
});
|
|
13230
13399
|
var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
|
|
@@ -13531,8 +13700,8 @@ ${input.slice(result.pos)}
|
|
|
13531
13700
|
return result;
|
|
13532
13701
|
}
|
|
13533
13702
|
}
|
|
13534
|
-
var InlineJSXCallExpression$0 = $S($EXPECT($
|
|
13535
|
-
var InlineJSXCallExpression$1 = $S($EXPECT($
|
|
13703
|
+
var InlineJSXCallExpression$0 = $S($EXPECT($L9, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
|
|
13704
|
+
var InlineJSXCallExpression$1 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
|
|
13536
13705
|
var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
|
|
13537
13706
|
if ($2.length)
|
|
13538
13707
|
return $0;
|
|
@@ -13747,7 +13916,7 @@ ${input.slice(result.pos)}
|
|
|
13747
13916
|
}
|
|
13748
13917
|
return $skip;
|
|
13749
13918
|
});
|
|
13750
|
-
var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($
|
|
13919
|
+
var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
|
|
13751
13920
|
return { children: [], jsxChildren: [] };
|
|
13752
13921
|
});
|
|
13753
13922
|
function JSXNestedChildren(state) {
|
|
@@ -13822,7 +13991,7 @@ ${input.slice(result.pos)}
|
|
|
13822
13991
|
return result;
|
|
13823
13992
|
}
|
|
13824
13993
|
}
|
|
13825
|
-
var JSXComment$0 = $TS($S($EXPECT($
|
|
13994
|
+
var JSXComment$0 = $TS($S($EXPECT($L158, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L159, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
|
|
13826
13995
|
return ["{/*", $2, "*/}"];
|
|
13827
13996
|
});
|
|
13828
13997
|
function JSXComment(state) {
|
|
@@ -13999,7 +14168,7 @@ ${input.slice(result.pos)}
|
|
|
13999
14168
|
return result;
|
|
14000
14169
|
}
|
|
14001
14170
|
}
|
|
14002
|
-
var TypeDeclarationModifier$0 = $S($EXPECT($
|
|
14171
|
+
var TypeDeclarationModifier$0 = $S($EXPECT($L160, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
|
|
14003
14172
|
var TypeDeclarationModifier$1 = Export;
|
|
14004
14173
|
function TypeDeclarationModifier(state) {
|
|
14005
14174
|
let eventData;
|
|
@@ -14095,7 +14264,7 @@ ${input.slice(result.pos)}
|
|
|
14095
14264
|
return result;
|
|
14096
14265
|
}
|
|
14097
14266
|
}
|
|
14098
|
-
var TypeKeyword$0 = $S($EXPECT($
|
|
14267
|
+
var TypeKeyword$0 = $S($EXPECT($L161, fail, 'TypeKeyword "type"'), NonIdContinue);
|
|
14099
14268
|
function TypeKeyword(state) {
|
|
14100
14269
|
let eventData;
|
|
14101
14270
|
if (state.events) {
|
|
@@ -14118,7 +14287,7 @@ ${input.slice(result.pos)}
|
|
|
14118
14287
|
return result;
|
|
14119
14288
|
}
|
|
14120
14289
|
}
|
|
14121
|
-
var Interface$0 = $S($EXPECT($
|
|
14290
|
+
var Interface$0 = $S($EXPECT($L162, fail, 'Interface "interface"'), NonIdContinue);
|
|
14122
14291
|
function Interface(state) {
|
|
14123
14292
|
let eventData;
|
|
14124
14293
|
if (state.events) {
|
|
@@ -14141,7 +14310,7 @@ ${input.slice(result.pos)}
|
|
|
14141
14310
|
return result;
|
|
14142
14311
|
}
|
|
14143
14312
|
}
|
|
14144
|
-
var Namespace$0 = $S($EXPECT($
|
|
14313
|
+
var Namespace$0 = $S($EXPECT($L163, fail, 'Namespace "namespace"'), NonIdContinue);
|
|
14145
14314
|
function Namespace(state) {
|
|
14146
14315
|
let eventData;
|
|
14147
14316
|
if (state.events) {
|
|
@@ -14366,7 +14535,7 @@ ${input.slice(result.pos)}
|
|
|
14366
14535
|
return result;
|
|
14367
14536
|
}
|
|
14368
14537
|
}
|
|
14369
|
-
var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($
|
|
14538
|
+
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)));
|
|
14370
14539
|
function TypeIndexSignature(state) {
|
|
14371
14540
|
let eventData;
|
|
14372
14541
|
if (state.events) {
|
|
@@ -14438,7 +14607,7 @@ ${input.slice(result.pos)}
|
|
|
14438
14607
|
return result;
|
|
14439
14608
|
}
|
|
14440
14609
|
}
|
|
14441
|
-
var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($
|
|
14610
|
+
var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L164, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
14442
14611
|
const children = [...$1, $2];
|
|
14443
14612
|
if ($3)
|
|
14444
14613
|
children.push($3);
|
|
@@ -14471,7 +14640,7 @@ ${input.slice(result.pos)}
|
|
|
14471
14640
|
return result;
|
|
14472
14641
|
}
|
|
14473
14642
|
}
|
|
14474
|
-
var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($
|
|
14643
|
+
var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L75, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
|
|
14475
14644
|
if (!$2)
|
|
14476
14645
|
return $1;
|
|
14477
14646
|
return $0;
|
|
@@ -14597,10 +14766,10 @@ ${input.slice(result.pos)}
|
|
|
14597
14766
|
return result;
|
|
14598
14767
|
}
|
|
14599
14768
|
}
|
|
14600
|
-
var TypeUnaryOp$0 = $S($EXPECT($
|
|
14601
|
-
var TypeUnaryOp$1 = $S($EXPECT($
|
|
14602
|
-
var TypeUnaryOp$2 = $S($EXPECT($
|
|
14603
|
-
var TypeUnaryOp$3 = $S($EXPECT($
|
|
14769
|
+
var TypeUnaryOp$0 = $S($EXPECT($L165, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
|
|
14770
|
+
var TypeUnaryOp$1 = $S($EXPECT($L146, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
|
|
14771
|
+
var TypeUnaryOp$2 = $S($EXPECT($L166, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
|
|
14772
|
+
var TypeUnaryOp$3 = $S($EXPECT($L130, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
|
|
14604
14773
|
function TypeUnaryOp(state) {
|
|
14605
14774
|
let eventData;
|
|
14606
14775
|
if (state.events) {
|
|
@@ -14649,9 +14818,10 @@ ${input.slice(result.pos)}
|
|
|
14649
14818
|
var TypePrimary$0 = InterfaceBlock;
|
|
14650
14819
|
var TypePrimary$1 = $S(__, OpenParen, Type, __, CloseParen);
|
|
14651
14820
|
var TypePrimary$2 = $S(__, TypeTuple);
|
|
14652
|
-
var TypePrimary$3 = $S($Q(_),
|
|
14653
|
-
var TypePrimary$4 = $S($Q(_),
|
|
14654
|
-
var TypePrimary$5 = $S($Q(_),
|
|
14821
|
+
var TypePrimary$3 = $S($Q(_), ImportType);
|
|
14822
|
+
var TypePrimary$4 = $S($Q(_), FunctionType);
|
|
14823
|
+
var TypePrimary$5 = $S($Q(_), TypeLiteral);
|
|
14824
|
+
var TypePrimary$6 = $S($Q(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments));
|
|
14655
14825
|
function TypePrimary(state) {
|
|
14656
14826
|
let eventData;
|
|
14657
14827
|
if (state.events) {
|
|
@@ -14663,17 +14833,41 @@ ${input.slice(result.pos)}
|
|
|
14663
14833
|
}
|
|
14664
14834
|
}
|
|
14665
14835
|
if (state.tokenize) {
|
|
14666
|
-
const result = $TOKEN("TypePrimary", state, TypePrimary$0(state) || TypePrimary$1(state) || TypePrimary$2(state) || TypePrimary$3(state) || TypePrimary$4(state) || TypePrimary$5(state));
|
|
14836
|
+
const result = $TOKEN("TypePrimary", state, TypePrimary$0(state) || TypePrimary$1(state) || TypePrimary$2(state) || TypePrimary$3(state) || TypePrimary$4(state) || TypePrimary$5(state) || TypePrimary$6(state));
|
|
14667
14837
|
if (state.events)
|
|
14668
14838
|
state.events.exit?.("TypePrimary", state, result, eventData);
|
|
14669
14839
|
return result;
|
|
14670
14840
|
} else {
|
|
14671
|
-
const result = TypePrimary$0(state) || TypePrimary$1(state) || TypePrimary$2(state) || TypePrimary$3(state) || TypePrimary$4(state) || TypePrimary$5(state);
|
|
14841
|
+
const result = TypePrimary$0(state) || TypePrimary$1(state) || TypePrimary$2(state) || TypePrimary$3(state) || TypePrimary$4(state) || TypePrimary$5(state) || TypePrimary$6(state);
|
|
14672
14842
|
if (state.events)
|
|
14673
14843
|
state.events.exit?.("TypePrimary", state, result, eventData);
|
|
14674
14844
|
return result;
|
|
14675
14845
|
}
|
|
14676
14846
|
}
|
|
14847
|
+
var ImportType$0 = $S($EXPECT($L10, fail, 'ImportType "import"'), OpenParen, __, BasicStringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
|
|
14848
|
+
var ImportType$1 = $S($EXPECT($L10, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, BasicStringLiteral, InsertCloseParen);
|
|
14849
|
+
function ImportType(state) {
|
|
14850
|
+
let eventData;
|
|
14851
|
+
if (state.events) {
|
|
14852
|
+
const result = state.events.enter?.("ImportType", state);
|
|
14853
|
+
if (result) {
|
|
14854
|
+
if (result.cache)
|
|
14855
|
+
return result.cache;
|
|
14856
|
+
eventData = result.data;
|
|
14857
|
+
}
|
|
14858
|
+
}
|
|
14859
|
+
if (state.tokenize) {
|
|
14860
|
+
const result = $TOKEN("ImportType", state, ImportType$0(state) || ImportType$1(state));
|
|
14861
|
+
if (state.events)
|
|
14862
|
+
state.events.exit?.("ImportType", state, result, eventData);
|
|
14863
|
+
return result;
|
|
14864
|
+
} else {
|
|
14865
|
+
const result = ImportType$0(state) || ImportType$1(state);
|
|
14866
|
+
if (state.events)
|
|
14867
|
+
state.events.exit?.("ImportType", state, result, eventData);
|
|
14868
|
+
return result;
|
|
14869
|
+
}
|
|
14870
|
+
}
|
|
14677
14871
|
var TypeTuple$0 = $S(OpenBracket, NestedTypeList, __, CloseBracket);
|
|
14678
14872
|
var TypeTuple$1 = $S(OpenBracket, $E(TypeList), __, CloseBracket);
|
|
14679
14873
|
function TypeTuple(state) {
|
|
@@ -14772,7 +14966,7 @@ ${input.slice(result.pos)}
|
|
|
14772
14966
|
return result;
|
|
14773
14967
|
}
|
|
14774
14968
|
}
|
|
14775
|
-
var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($
|
|
14969
|
+
var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L111, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
|
|
14776
14970
|
if ($2)
|
|
14777
14971
|
return $0;
|
|
14778
14972
|
return $1;
|
|
@@ -14801,10 +14995,10 @@ ${input.slice(result.pos)}
|
|
|
14801
14995
|
}
|
|
14802
14996
|
var TypeLiteral$0 = Literal;
|
|
14803
14997
|
var TypeLiteral$1 = TemplateLiteral;
|
|
14804
|
-
var TypeLiteral$2 = $TS($S($EXPECT($
|
|
14998
|
+
var TypeLiteral$2 = $TS($S($EXPECT($L150, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14805
14999
|
return { $loc, token: "void" };
|
|
14806
15000
|
});
|
|
14807
|
-
var TypeLiteral$3 = $TV($EXPECT($
|
|
15001
|
+
var TypeLiteral$3 = $TV($EXPECT($L167, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
|
|
14808
15002
|
return { $loc, token: "[]" };
|
|
14809
15003
|
});
|
|
14810
15004
|
function TypeLiteral(state) {
|
|
@@ -14829,10 +15023,10 @@ ${input.slice(result.pos)}
|
|
|
14829
15023
|
return result;
|
|
14830
15024
|
}
|
|
14831
15025
|
}
|
|
14832
|
-
var TypeBinaryOp$0 = $TV($EXPECT($
|
|
15026
|
+
var TypeBinaryOp$0 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
|
|
14833
15027
|
return { $loc, token: "|" };
|
|
14834
15028
|
});
|
|
14835
|
-
var TypeBinaryOp$1 = $TV($EXPECT($
|
|
15029
|
+
var TypeBinaryOp$1 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
|
|
14836
15030
|
return { $loc, token: "&" };
|
|
14837
15031
|
});
|
|
14838
15032
|
function TypeBinaryOp(state) {
|
|
@@ -14857,7 +15051,13 @@ ${input.slice(result.pos)}
|
|
|
14857
15051
|
return result;
|
|
14858
15052
|
}
|
|
14859
15053
|
}
|
|
14860
|
-
var FunctionType$0 = $S(Parameters, __, $EXPECT($
|
|
15054
|
+
var FunctionType$0 = $TS($S(Parameters, __, $EXPECT($L5, fail, 'FunctionType "=>"'), $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
15055
|
+
var type = $4;
|
|
15056
|
+
if (type) {
|
|
15057
|
+
return $0;
|
|
15058
|
+
}
|
|
15059
|
+
return [...$0, "void"];
|
|
15060
|
+
});
|
|
14861
15061
|
function FunctionType(state) {
|
|
14862
15062
|
let eventData;
|
|
14863
15063
|
if (state.events) {
|
|
@@ -14880,7 +15080,7 @@ ${input.slice(result.pos)}
|
|
|
14880
15080
|
return result;
|
|
14881
15081
|
}
|
|
14882
15082
|
}
|
|
14883
|
-
var TypeArguments$0 = $TS($S($EXPECT($
|
|
15083
|
+
var TypeArguments$0 = $TS($S($EXPECT($L122, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
14884
15084
|
return { ts: true, children: $0 };
|
|
14885
15085
|
});
|
|
14886
15086
|
function TypeArguments(state) {
|
|
@@ -14951,7 +15151,7 @@ ${input.slice(result.pos)}
|
|
|
14951
15151
|
return result;
|
|
14952
15152
|
}
|
|
14953
15153
|
}
|
|
14954
|
-
var TypeParameters$0 = $TS($S(__, $EXPECT($
|
|
15154
|
+
var TypeParameters$0 = $TS($S(__, $EXPECT($L122, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
14955
15155
|
var parameters = $3;
|
|
14956
15156
|
return {
|
|
14957
15157
|
type: "TypeParameters",
|
|
@@ -15005,7 +15205,7 @@ ${input.slice(result.pos)}
|
|
|
15005
15205
|
return result;
|
|
15006
15206
|
}
|
|
15007
15207
|
}
|
|
15008
|
-
var TypeConstraint$0 = $S(__, $EXPECT($
|
|
15208
|
+
var TypeConstraint$0 = $S(__, $EXPECT($L111, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
|
|
15009
15209
|
function TypeConstraint(state) {
|
|
15010
15210
|
let eventData;
|
|
15011
15211
|
if (state.events) {
|
|
@@ -15028,7 +15228,7 @@ ${input.slice(result.pos)}
|
|
|
15028
15228
|
return result;
|
|
15029
15229
|
}
|
|
15030
15230
|
}
|
|
15031
|
-
var TypeInitializer$0 = $S(__, $EXPECT($
|
|
15231
|
+
var TypeInitializer$0 = $S(__, $EXPECT($L26, fail, 'TypeInitializer "="'), Type);
|
|
15032
15232
|
function TypeInitializer(state) {
|
|
15033
15233
|
let eventData;
|
|
15034
15234
|
if (state.events) {
|
|
@@ -15052,7 +15252,7 @@ ${input.slice(result.pos)}
|
|
|
15052
15252
|
}
|
|
15053
15253
|
}
|
|
15054
15254
|
var TypeParameterDelimiter$0 = $S($Q(_), Comma);
|
|
15055
|
-
var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($
|
|
15255
|
+
var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
|
|
15056
15256
|
var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
15057
15257
|
return value[1];
|
|
15058
15258
|
});
|
|
@@ -15131,7 +15331,7 @@ ${input.slice(result.pos)}
|
|
|
15131
15331
|
return result;
|
|
15132
15332
|
}
|
|
15133
15333
|
}
|
|
15134
|
-
var CivetPrologueContent$0 = $TS($S($EXPECT($
|
|
15334
|
+
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) {
|
|
15135
15335
|
var options = $3;
|
|
15136
15336
|
return {
|
|
15137
15337
|
type: "CivetPrologue",
|
|
@@ -15292,7 +15492,7 @@ ${input.slice(result.pos)}
|
|
|
15292
15492
|
return result;
|
|
15293
15493
|
}
|
|
15294
15494
|
}
|
|
15295
|
-
var Debugger$0 = $TV($EXPECT($
|
|
15495
|
+
var Debugger$0 = $TV($EXPECT($L14, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
|
|
15296
15496
|
debugger;
|
|
15297
15497
|
});
|
|
15298
15498
|
function Debugger(state) {
|
|
@@ -15317,7 +15517,7 @@ ${input.slice(result.pos)}
|
|
|
15317
15517
|
return result;
|
|
15318
15518
|
}
|
|
15319
15519
|
}
|
|
15320
|
-
var InsertOpenParen$0 = $TV($EXPECT($
|
|
15520
|
+
var InsertOpenParen$0 = $TV($EXPECT($L14, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
|
|
15321
15521
|
return { $loc, token: "(" };
|
|
15322
15522
|
});
|
|
15323
15523
|
function InsertOpenParen(state) {
|
|
@@ -15342,7 +15542,7 @@ ${input.slice(result.pos)}
|
|
|
15342
15542
|
return result;
|
|
15343
15543
|
}
|
|
15344
15544
|
}
|
|
15345
|
-
var InsertCloseParen$0 = $TV($EXPECT($
|
|
15545
|
+
var InsertCloseParen$0 = $TV($EXPECT($L14, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
|
|
15346
15546
|
return { $loc, token: ")" };
|
|
15347
15547
|
});
|
|
15348
15548
|
function InsertCloseParen(state) {
|
|
@@ -15367,7 +15567,7 @@ ${input.slice(result.pos)}
|
|
|
15367
15567
|
return result;
|
|
15368
15568
|
}
|
|
15369
15569
|
}
|
|
15370
|
-
var InsertOpenBrace$0 = $TV($EXPECT($
|
|
15570
|
+
var InsertOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
|
|
15371
15571
|
return [{ $loc, token: " " }, { $loc, token: "{" }];
|
|
15372
15572
|
});
|
|
15373
15573
|
function InsertOpenBrace(state) {
|
|
@@ -15392,7 +15592,7 @@ ${input.slice(result.pos)}
|
|
|
15392
15592
|
return result;
|
|
15393
15593
|
}
|
|
15394
15594
|
}
|
|
15395
|
-
var InsertInlineOpenBrace$0 = $TV($EXPECT($
|
|
15595
|
+
var InsertInlineOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
|
|
15396
15596
|
return { $loc, token: "{" };
|
|
15397
15597
|
});
|
|
15398
15598
|
function InsertInlineOpenBrace(state) {
|
|
@@ -15417,7 +15617,7 @@ ${input.slice(result.pos)}
|
|
|
15417
15617
|
return result;
|
|
15418
15618
|
}
|
|
15419
15619
|
}
|
|
15420
|
-
var InsertCloseBrace$0 = $TV($EXPECT($
|
|
15620
|
+
var InsertCloseBrace$0 = $TV($EXPECT($L14, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
|
|
15421
15621
|
return { $loc, token: "}" };
|
|
15422
15622
|
});
|
|
15423
15623
|
function InsertCloseBrace(state) {
|
|
@@ -15442,7 +15642,7 @@ ${input.slice(result.pos)}
|
|
|
15442
15642
|
return result;
|
|
15443
15643
|
}
|
|
15444
15644
|
}
|
|
15445
|
-
var InsertComma$0 = $TV($EXPECT($
|
|
15645
|
+
var InsertComma$0 = $TV($EXPECT($L14, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
|
|
15446
15646
|
return { $loc, token: "," };
|
|
15447
15647
|
});
|
|
15448
15648
|
function InsertComma(state) {
|
|
@@ -15467,7 +15667,7 @@ ${input.slice(result.pos)}
|
|
|
15467
15667
|
return result;
|
|
15468
15668
|
}
|
|
15469
15669
|
}
|
|
15470
|
-
var InsertConst$0 = $TV($EXPECT($
|
|
15670
|
+
var InsertConst$0 = $TV($EXPECT($L14, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
|
|
15471
15671
|
return { $loc, token: "const " };
|
|
15472
15672
|
});
|
|
15473
15673
|
function InsertConst(state) {
|
|
@@ -15492,7 +15692,7 @@ ${input.slice(result.pos)}
|
|
|
15492
15692
|
return result;
|
|
15493
15693
|
}
|
|
15494
15694
|
}
|
|
15495
|
-
var InsertLet$0 = $TV($EXPECT($
|
|
15695
|
+
var InsertLet$0 = $TV($EXPECT($L14, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
|
|
15496
15696
|
return { $loc, token: "let " };
|
|
15497
15697
|
});
|
|
15498
15698
|
function InsertLet(state) {
|
|
@@ -15517,7 +15717,7 @@ ${input.slice(result.pos)}
|
|
|
15517
15717
|
return result;
|
|
15518
15718
|
}
|
|
15519
15719
|
}
|
|
15520
|
-
var InsertReadonly$0 = $TV($EXPECT($
|
|
15720
|
+
var InsertReadonly$0 = $TV($EXPECT($L14, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
|
|
15521
15721
|
return { ts: true, children: [{ $loc, token: "readonly " }] };
|
|
15522
15722
|
});
|
|
15523
15723
|
function InsertReadonly(state) {
|
|
@@ -15542,7 +15742,7 @@ ${input.slice(result.pos)}
|
|
|
15542
15742
|
return result;
|
|
15543
15743
|
}
|
|
15544
15744
|
}
|
|
15545
|
-
var InsertNewline$0 = $TV($EXPECT($
|
|
15745
|
+
var InsertNewline$0 = $TV($EXPECT($L14, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
|
|
15546
15746
|
return "\n";
|
|
15547
15747
|
});
|
|
15548
15748
|
function InsertNewline(state) {
|
|
@@ -15567,7 +15767,7 @@ ${input.slice(result.pos)}
|
|
|
15567
15767
|
return result;
|
|
15568
15768
|
}
|
|
15569
15769
|
}
|
|
15570
|
-
var InsertIndent$0 = $TV($EXPECT($
|
|
15770
|
+
var InsertIndent$0 = $TV($EXPECT($L14, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
|
|
15571
15771
|
return module2.currentIndent.token;
|
|
15572
15772
|
});
|
|
15573
15773
|
function InsertIndent(state) {
|
|
@@ -15592,7 +15792,7 @@ ${input.slice(result.pos)}
|
|
|
15592
15792
|
return result;
|
|
15593
15793
|
}
|
|
15594
15794
|
}
|
|
15595
|
-
var InsertSpace$0 = $TV($EXPECT($
|
|
15795
|
+
var InsertSpace$0 = $TV($EXPECT($L14, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
|
|
15596
15796
|
return { $loc, token: " " };
|
|
15597
15797
|
});
|
|
15598
15798
|
function InsertSpace(state) {
|
|
@@ -15617,7 +15817,7 @@ ${input.slice(result.pos)}
|
|
|
15617
15817
|
return result;
|
|
15618
15818
|
}
|
|
15619
15819
|
}
|
|
15620
|
-
var InsertDot$0 = $TV($EXPECT($
|
|
15820
|
+
var InsertDot$0 = $TV($EXPECT($L14, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
|
|
15621
15821
|
return { $loc, token: "." };
|
|
15622
15822
|
});
|
|
15623
15823
|
function InsertDot(state) {
|
|
@@ -15642,7 +15842,7 @@ ${input.slice(result.pos)}
|
|
|
15642
15842
|
return result;
|
|
15643
15843
|
}
|
|
15644
15844
|
}
|
|
15645
|
-
var InsertBreak$0 = $TV($EXPECT($
|
|
15845
|
+
var InsertBreak$0 = $TV($EXPECT($L14, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
|
|
15646
15846
|
return { $loc, token: ";break;" };
|
|
15647
15847
|
});
|
|
15648
15848
|
function InsertBreak(state) {
|
|
@@ -15667,7 +15867,7 @@ ${input.slice(result.pos)}
|
|
|
15667
15867
|
return result;
|
|
15668
15868
|
}
|
|
15669
15869
|
}
|
|
15670
|
-
var InsertVar$0 = $TV($EXPECT($
|
|
15870
|
+
var InsertVar$0 = $TV($EXPECT($L14, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
|
|
15671
15871
|
return { $loc, token: "var " };
|
|
15672
15872
|
});
|
|
15673
15873
|
function InsertVar(state) {
|
|
@@ -15692,7 +15892,7 @@ ${input.slice(result.pos)}
|
|
|
15692
15892
|
return result;
|
|
15693
15893
|
}
|
|
15694
15894
|
}
|
|
15695
|
-
var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($
|
|
15895
|
+
var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15696
15896
|
if (module2.config.coffeeBinaryExistential)
|
|
15697
15897
|
return;
|
|
15698
15898
|
return $skip;
|
|
@@ -15719,7 +15919,7 @@ ${input.slice(result.pos)}
|
|
|
15719
15919
|
return result;
|
|
15720
15920
|
}
|
|
15721
15921
|
}
|
|
15722
|
-
var CoffeeBooleansEnabled$0 = $TV($EXPECT($
|
|
15922
|
+
var CoffeeBooleansEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15723
15923
|
if (module2.config.coffeeBooleans)
|
|
15724
15924
|
return;
|
|
15725
15925
|
return $skip;
|
|
@@ -15746,7 +15946,7 @@ ${input.slice(result.pos)}
|
|
|
15746
15946
|
return result;
|
|
15747
15947
|
}
|
|
15748
15948
|
}
|
|
15749
|
-
var CoffeeClassesEnabled$0 = $TV($EXPECT($
|
|
15949
|
+
var CoffeeClassesEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15750
15950
|
if (module2.config.coffeeClasses)
|
|
15751
15951
|
return;
|
|
15752
15952
|
return $skip;
|
|
@@ -15773,7 +15973,7 @@ ${input.slice(result.pos)}
|
|
|
15773
15973
|
return result;
|
|
15774
15974
|
}
|
|
15775
15975
|
}
|
|
15776
|
-
var CoffeeCommentEnabled$0 = $TV($EXPECT($
|
|
15976
|
+
var CoffeeCommentEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15777
15977
|
if (module2.config.coffeeComment)
|
|
15778
15978
|
return;
|
|
15779
15979
|
return $skip;
|
|
@@ -15800,7 +16000,7 @@ ${input.slice(result.pos)}
|
|
|
15800
16000
|
return result;
|
|
15801
16001
|
}
|
|
15802
16002
|
}
|
|
15803
|
-
var CoffeeDoEnabled$0 = $TV($EXPECT($
|
|
16003
|
+
var CoffeeDoEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15804
16004
|
if (module2.config.coffeeDo)
|
|
15805
16005
|
return;
|
|
15806
16006
|
return $skip;
|
|
@@ -15827,7 +16027,7 @@ ${input.slice(result.pos)}
|
|
|
15827
16027
|
return result;
|
|
15828
16028
|
}
|
|
15829
16029
|
}
|
|
15830
|
-
var CoffeeForLoopsEnabled$0 = $TV($EXPECT($
|
|
16030
|
+
var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15831
16031
|
if (module2.config.coffeeForLoops)
|
|
15832
16032
|
return;
|
|
15833
16033
|
return $skip;
|
|
@@ -15854,7 +16054,7 @@ ${input.slice(result.pos)}
|
|
|
15854
16054
|
return result;
|
|
15855
16055
|
}
|
|
15856
16056
|
}
|
|
15857
|
-
var CoffeeInterpolationEnabled$0 = $TV($EXPECT($
|
|
16057
|
+
var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15858
16058
|
if (module2.config.coffeeInterpolation)
|
|
15859
16059
|
return;
|
|
15860
16060
|
return $skip;
|
|
@@ -15881,7 +16081,7 @@ ${input.slice(result.pos)}
|
|
|
15881
16081
|
return result;
|
|
15882
16082
|
}
|
|
15883
16083
|
}
|
|
15884
|
-
var CoffeeIsntEnabled$0 = $TV($EXPECT($
|
|
16084
|
+
var CoffeeIsntEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15885
16085
|
if (module2.config.coffeeIsnt)
|
|
15886
16086
|
return;
|
|
15887
16087
|
return $skip;
|
|
@@ -15908,7 +16108,7 @@ ${input.slice(result.pos)}
|
|
|
15908
16108
|
return result;
|
|
15909
16109
|
}
|
|
15910
16110
|
}
|
|
15911
|
-
var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($
|
|
16111
|
+
var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15912
16112
|
if (module2.config.coffeeLineContinuation)
|
|
15913
16113
|
return;
|
|
15914
16114
|
return $skip;
|
|
@@ -15935,7 +16135,7 @@ ${input.slice(result.pos)}
|
|
|
15935
16135
|
return result;
|
|
15936
16136
|
}
|
|
15937
16137
|
}
|
|
15938
|
-
var CoffeeNotEnabled$0 = $TV($EXPECT($
|
|
16138
|
+
var CoffeeNotEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15939
16139
|
if (module2.config.coffeeNot)
|
|
15940
16140
|
return;
|
|
15941
16141
|
return $skip;
|
|
@@ -15962,7 +16162,7 @@ ${input.slice(result.pos)}
|
|
|
15962
16162
|
return result;
|
|
15963
16163
|
}
|
|
15964
16164
|
}
|
|
15965
|
-
var CoffeeOfEnabled$0 = $TV($EXPECT($
|
|
16165
|
+
var CoffeeOfEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15966
16166
|
if (module2.config.coffeeOf)
|
|
15967
16167
|
return;
|
|
15968
16168
|
return $skip;
|
|
@@ -15989,7 +16189,7 @@ ${input.slice(result.pos)}
|
|
|
15989
16189
|
return result;
|
|
15990
16190
|
}
|
|
15991
16191
|
}
|
|
15992
|
-
var CoffeePrototypeEnabled$0 = $TV($EXPECT($
|
|
16192
|
+
var CoffeePrototypeEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15993
16193
|
if (module2.config.coffeePrototype)
|
|
15994
16194
|
return;
|
|
15995
16195
|
return $skip;
|
|
@@ -16016,17 +16216,25 @@ ${input.slice(result.pos)}
|
|
|
16016
16216
|
return result;
|
|
16017
16217
|
}
|
|
16018
16218
|
}
|
|
16019
|
-
var Reset$0 = $TV($EXPECT($
|
|
16219
|
+
var Reset$0 = $TV($EXPECT($L14, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
|
|
16020
16220
|
module2.indentLevels = [{
|
|
16021
16221
|
level: 0,
|
|
16022
16222
|
token: ""
|
|
16023
16223
|
}];
|
|
16224
|
+
module2.suppressTrailingMemberProperty = [false];
|
|
16024
16225
|
if (!module2._init) {
|
|
16025
16226
|
module2._init = true;
|
|
16026
16227
|
Object.defineProperties(module2, {
|
|
16027
16228
|
currentIndent: {
|
|
16028
16229
|
get() {
|
|
16029
|
-
|
|
16230
|
+
const { indentLevels: l } = module2;
|
|
16231
|
+
return l[l.length - 1];
|
|
16232
|
+
}
|
|
16233
|
+
},
|
|
16234
|
+
trailingMemberPropertySuppressed: {
|
|
16235
|
+
get() {
|
|
16236
|
+
const { suppressTrailingMemberProperty: s } = module2;
|
|
16237
|
+
return s[s.length - 1];
|
|
16030
16238
|
}
|
|
16031
16239
|
}
|
|
16032
16240
|
});
|
|
@@ -16264,7 +16472,7 @@ ${input.slice(result.pos)}
|
|
|
16264
16472
|
return result;
|
|
16265
16473
|
}
|
|
16266
16474
|
}
|
|
16267
|
-
var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($
|
|
16475
|
+
var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L14, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
|
|
16268
16476
|
var directives = $2;
|
|
16269
16477
|
directives.forEach((directive) => {
|
|
16270
16478
|
if (directive.type === "CivetPrologue") {
|
|
@@ -16453,6 +16661,18 @@ ${input.slice(result.pos)}
|
|
|
16453
16661
|
children
|
|
16454
16662
|
};
|
|
16455
16663
|
}
|
|
16664
|
+
function insertSwitchReturns(exp) {
|
|
16665
|
+
switch (exp.type) {
|
|
16666
|
+
case "SwitchStatement":
|
|
16667
|
+
exp.caseBlock.clauses.forEach((clause) => {
|
|
16668
|
+
insertReturn(clause);
|
|
16669
|
+
});
|
|
16670
|
+
return;
|
|
16671
|
+
case "SwitchExpression":
|
|
16672
|
+
exp.caseBlock.clauses.forEach(insertReturn);
|
|
16673
|
+
return;
|
|
16674
|
+
}
|
|
16675
|
+
}
|
|
16456
16676
|
function insertReturn(node) {
|
|
16457
16677
|
if (!node)
|
|
16458
16678
|
return;
|
|
@@ -16460,11 +16680,6 @@ ${input.slice(result.pos)}
|
|
|
16460
16680
|
case "BlockStatement":
|
|
16461
16681
|
insertReturn(node.expressions[node.expressions.length - 1]);
|
|
16462
16682
|
return;
|
|
16463
|
-
case "CaseBlock":
|
|
16464
|
-
node.clauses.forEach((clause) => {
|
|
16465
|
-
insertReturn(clause);
|
|
16466
|
-
});
|
|
16467
|
-
return;
|
|
16468
16683
|
case "WhenClause":
|
|
16469
16684
|
node.children.splice(node.children.indexOf(node.break), 1);
|
|
16470
16685
|
if (node.block.length === 0) {
|
|
@@ -16509,7 +16724,7 @@ ${input.slice(result.pos)}
|
|
|
16509
16724
|
exp.children.push(["\n", indent, wrapWithReturn()]);
|
|
16510
16725
|
return;
|
|
16511
16726
|
case "SwitchStatement":
|
|
16512
|
-
|
|
16727
|
+
insertSwitchReturns(exp);
|
|
16513
16728
|
return;
|
|
16514
16729
|
case "TryStatement":
|
|
16515
16730
|
insertReturn(exp.children[1]);
|
|
@@ -16873,9 +17088,7 @@ ${input.slice(result.pos)}
|
|
|
16873
17088
|
}
|
|
16874
17089
|
function processSwitchExpressions(statements) {
|
|
16875
17090
|
if (module2.config.implicitReturns) {
|
|
16876
|
-
gatherRecursiveAll(statements, (n) => n.type === "SwitchExpression").forEach(
|
|
16877
|
-
insertReturn(block);
|
|
16878
|
-
});
|
|
17091
|
+
gatherRecursiveAll(statements, (n) => n.type === "SwitchExpression").forEach(insertSwitchReturns);
|
|
16879
17092
|
}
|
|
16880
17093
|
}
|
|
16881
17094
|
function processTryExpressions(statements) {
|
|
@@ -17110,6 +17323,7 @@ ${input.slice(result.pos)}
|
|
|
17110
17323
|
indent = indent[indent.length - 1];
|
|
17111
17324
|
statements.unshift([indent, "var ", varIds.join(", "), "\n"]);
|
|
17112
17325
|
}
|
|
17326
|
+
scopes.pop();
|
|
17113
17327
|
}
|
|
17114
17328
|
function createLetDecs(statements, scopes) {
|
|
17115
17329
|
function hasDec(name) {
|
|
@@ -17392,7 +17606,7 @@ ${input.slice(result.pos)}
|
|
|
17392
17606
|
return result;
|
|
17393
17607
|
}
|
|
17394
17608
|
}
|
|
17395
|
-
var PopIndent$0 = $TV($EXPECT($
|
|
17609
|
+
var PopIndent$0 = $TV($EXPECT($L14, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
|
|
17396
17610
|
if (module2.config.verbose) {
|
|
17397
17611
|
console.log("popping indent", module2.indentLevels[module2.indentLevels.length - 1], "->", module2.indentLevels[module2.indentLevels.length - 2]);
|
|
17398
17612
|
}
|
|
@@ -17885,7 +18099,7 @@ var uncacheable;
|
|
|
17885
18099
|
({ parse } = import_parser.default);
|
|
17886
18100
|
({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
|
|
17887
18101
|
defaultOptions = {};
|
|
17888
|
-
uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "ConditionalExpression", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNestedChildren", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "Samedent", "ShortCircuitExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "SuppressIndentedApplication", "ThinArrowFunction", "TrackIndented", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
|
|
18102
|
+
uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "CoffeeCommentEnabled", "ConditionalExpression", "Debugger", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationSuppressed", "ExtendedExpression", "FatArrowBody", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNestedChildren", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedObject", "NestedPropertyDefinitions", "NonSuppressedTrailingMemberExpressions", "ObjectLiteral", "PopIndent", "PrimaryExpression", "PushIndent", "Samedent", "ShortCircuitExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "SuppressIndentedApplication", "SuppressTrailingMemberProperty", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
|
|
17889
18103
|
var compile = function(src, options = defaultOptions) {
|
|
17890
18104
|
var ast, code, events, filename, sm, srcMapJSON;
|
|
17891
18105
|
filename = options.filename || "unknown";
|