@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.mjs
CHANGED
|
@@ -431,10 +431,13 @@ ${input.slice(result.pos)}
|
|
|
431
431
|
ExpressionizedStatement,
|
|
432
432
|
Expression,
|
|
433
433
|
Arguments,
|
|
434
|
+
ImplicitArguments,
|
|
434
435
|
ExplicitArguments,
|
|
435
436
|
ApplicationStart,
|
|
436
|
-
|
|
437
|
+
ForbiddenImplicitCalls,
|
|
437
438
|
ArgumentsWithTrailingMemberExpressions,
|
|
439
|
+
TrailingMemberExpressions,
|
|
440
|
+
NonSuppressedTrailingMemberExpressions,
|
|
438
441
|
ArgumentList,
|
|
439
442
|
NestedArgumentList,
|
|
440
443
|
NestedArgument,
|
|
@@ -491,7 +494,6 @@ ${input.slice(result.pos)}
|
|
|
491
494
|
CallExpressionRest,
|
|
492
495
|
OptionalShorthand,
|
|
493
496
|
NonNullAssertion,
|
|
494
|
-
AdditionalReservedWords,
|
|
495
497
|
MemberExpression,
|
|
496
498
|
MemberExpressionRest,
|
|
497
499
|
MemberBracketContent,
|
|
@@ -644,6 +646,9 @@ ${input.slice(result.pos)}
|
|
|
644
646
|
Condition,
|
|
645
647
|
ExpressionWithIndentedApplicationSuppressed,
|
|
646
648
|
SuppressIndentedApplication,
|
|
649
|
+
IndentedApplicationAllowed,
|
|
650
|
+
SuppressTrailingMemberProperty,
|
|
651
|
+
TrailingMemberPropertyAllowed,
|
|
647
652
|
ExpressionStatement,
|
|
648
653
|
KeywordStatement,
|
|
649
654
|
DebuggerExpression,
|
|
@@ -725,6 +730,7 @@ ${input.slice(result.pos)}
|
|
|
725
730
|
TrailingComment,
|
|
726
731
|
_,
|
|
727
732
|
NonNewlineWhitespace,
|
|
733
|
+
Trimmed_,
|
|
728
734
|
__,
|
|
729
735
|
Whitespace,
|
|
730
736
|
ExpressionDelimiter,
|
|
@@ -873,6 +879,7 @@ ${input.slice(result.pos)}
|
|
|
873
879
|
TypeUnaryOp,
|
|
874
880
|
TypeIndexedAccess,
|
|
875
881
|
TypePrimary,
|
|
882
|
+
ImportType,
|
|
876
883
|
TypeTuple,
|
|
877
884
|
TypeList,
|
|
878
885
|
NestedTypeList,
|
|
@@ -935,173 +942,175 @@ ${input.slice(result.pos)}
|
|
|
935
942
|
PopIndent,
|
|
936
943
|
Nested
|
|
937
944
|
});
|
|
938
|
-
var $L0 = $L("");
|
|
939
|
-
var $L1 = $L("
|
|
940
|
-
var $L2 = $L("
|
|
941
|
-
var $L3 = $L("
|
|
942
|
-
var $L4 = $L("
|
|
943
|
-
var $L5 = $L("
|
|
944
|
-
var $L6 = $L("
|
|
945
|
-
var $L7 = $L("
|
|
946
|
-
var $L8 = $L("
|
|
947
|
-
var $L9 = $L("
|
|
948
|
-
var $L10 = $L("
|
|
949
|
-
var $L11 = $L("
|
|
950
|
-
var $L12 = $L("
|
|
951
|
-
var $L13 = $L("
|
|
952
|
-
var $L14 = $L("
|
|
953
|
-
var $L15 = $L("
|
|
954
|
-
var $L16 = $L("
|
|
955
|
-
var $L17 = $L("
|
|
956
|
-
var $L18 = $L("
|
|
957
|
-
var $L19 = $L("
|
|
958
|
-
var $L20 = $L("
|
|
959
|
-
var $L21 = $L("
|
|
960
|
-
var $L22 = $L("
|
|
961
|
-
var $L23 = $L("
|
|
962
|
-
var $L24 = $L("
|
|
963
|
-
var $L25 = $L("
|
|
964
|
-
var $L26 = $L("
|
|
965
|
-
var $L27 = $L("
|
|
966
|
-
var $L28 = $L("
|
|
967
|
-
var $L29 = $L("
|
|
968
|
-
var $L30 = $L("
|
|
969
|
-
var $L31 = $L("
|
|
970
|
-
var $L32 = $L("
|
|
971
|
-
var $L33 = $L("
|
|
972
|
-
var $L34 = $L("
|
|
973
|
-
var $L35 = $L("
|
|
974
|
-
var $L36 = $L("
|
|
975
|
-
var $L37 = $L("
|
|
976
|
-
var $L38 = $L("
|
|
977
|
-
var $L39 = $L("
|
|
978
|
-
var $L40 = $L("
|
|
979
|
-
var $L41 = $L("
|
|
980
|
-
var $L42 = $L("
|
|
981
|
-
var $L43 = $L("
|
|
982
|
-
var $L44 = $L("
|
|
983
|
-
var $L45 = $L("
|
|
984
|
-
var $L46 = $L("
|
|
985
|
-
var $L47 = $L("
|
|
986
|
-
var $L48 = $L("
|
|
987
|
-
var $L49 = $L("
|
|
988
|
-
var $L50 = $L("
|
|
989
|
-
var $L51 = $L("
|
|
990
|
-
var $L52 = $L("
|
|
991
|
-
var $L53 = $L("
|
|
992
|
-
var $L54 = $L("
|
|
993
|
-
var $L55 = $L("
|
|
994
|
-
var $L56 = $L("
|
|
995
|
-
var $L57 = $L("
|
|
996
|
-
var $L58 = $L("
|
|
997
|
-
var $L59 = $L("
|
|
998
|
-
var $L60 = $L("
|
|
999
|
-
var $L61 = $L("
|
|
1000
|
-
var $L62 = $L("
|
|
1001
|
-
var $L63 = $L("
|
|
1002
|
-
var $L64 = $L("
|
|
1003
|
-
var $L65 = $L("
|
|
1004
|
-
var $L66 = $L("
|
|
1005
|
-
var $L67 = $L("
|
|
1006
|
-
var $L68 = $L("
|
|
1007
|
-
var $L69 = $L("
|
|
1008
|
-
var $L70 = $L("
|
|
1009
|
-
var $L71 = $L("
|
|
1010
|
-
var $L72 = $L("
|
|
1011
|
-
var $L73 = $L("
|
|
1012
|
-
var $L74 = $L("
|
|
1013
|
-
var $L75 = $L("
|
|
1014
|
-
var $L76 = $L("
|
|
1015
|
-
var $L77 = $L("
|
|
1016
|
-
var $L78 = $L("
|
|
1017
|
-
var $L79 = $L("
|
|
1018
|
-
var $L80 = $L("
|
|
1019
|
-
var $L81 = $L("
|
|
1020
|
-
var $L82 = $L("
|
|
1021
|
-
var $L83 = $L("
|
|
1022
|
-
var $L84 = $L("
|
|
1023
|
-
var $L85 = $L("
|
|
1024
|
-
var $L86 = $L("
|
|
1025
|
-
var $L87 = $L("
|
|
1026
|
-
var $L88 = $L("
|
|
1027
|
-
var $L89 = $L("
|
|
1028
|
-
var $L90 = $L("
|
|
1029
|
-
var $L91 = $L("
|
|
1030
|
-
var $L92 = $L("
|
|
1031
|
-
var $L93 = $L("
|
|
1032
|
-
var $L94 = $L("
|
|
1033
|
-
var $L95 = $L("
|
|
1034
|
-
var $L96 = $L("
|
|
1035
|
-
var $L97 = $L("
|
|
1036
|
-
var $L98 = $L("
|
|
1037
|
-
var $L99 = $L("
|
|
1038
|
-
var $L100 = $L("
|
|
1039
|
-
var $L101 = $L("
|
|
1040
|
-
var $L102 = $L("
|
|
1041
|
-
var $L103 = $L("
|
|
1042
|
-
var $L104 = $L("
|
|
1043
|
-
var $L105 = $L("
|
|
1044
|
-
var $L106 = $L(
|
|
1045
|
-
var $L107 = $L("
|
|
1046
|
-
var $L108 = $L("
|
|
1047
|
-
var $L109 = $L("
|
|
1048
|
-
var $L110 = $L("
|
|
1049
|
-
var $L111 = $L("
|
|
1050
|
-
var $L112 = $L("
|
|
1051
|
-
var $L113 = $L("
|
|
1052
|
-
var $L114 = $L("
|
|
1053
|
-
var $L115 = $L("
|
|
1054
|
-
var $L116 = $L("
|
|
1055
|
-
var $L117 = $L("
|
|
1056
|
-
var $L118 = $L("
|
|
1057
|
-
var $L119 = $L("
|
|
1058
|
-
var $L120 = $L("
|
|
1059
|
-
var $L121 = $L("
|
|
1060
|
-
var $L122 = $L("
|
|
1061
|
-
var $L123 = $L("
|
|
1062
|
-
var $L124 = $L("
|
|
1063
|
-
var $L125 = $L("
|
|
1064
|
-
var $L126 = $L("
|
|
1065
|
-
var $L127 = $L("
|
|
1066
|
-
var $L128 = $L("
|
|
1067
|
-
var $L129 = $L("
|
|
1068
|
-
var $L130 = $L("
|
|
1069
|
-
var $L131 = $L("
|
|
1070
|
-
var $L132 = $L("
|
|
1071
|
-
var $L133 = $L("
|
|
1072
|
-
var $L134 = $L("
|
|
1073
|
-
var $L135 = $L("
|
|
1074
|
-
var $L136 = $L("
|
|
1075
|
-
var $L137 = $L("
|
|
1076
|
-
var $L138 = $L("
|
|
1077
|
-
var $L139 = $L(
|
|
1078
|
-
var $L140 = $L("
|
|
1079
|
-
var $L141 = $L("
|
|
1080
|
-
var $L142 = $L("
|
|
1081
|
-
var $L143 = $L("
|
|
1082
|
-
var $L144 = $L("
|
|
1083
|
-
var $L145 = $L("
|
|
1084
|
-
var $L146 = $L("
|
|
1085
|
-
var $L147 = $L("
|
|
1086
|
-
var $L148 = $L("
|
|
1087
|
-
var $L149 = $L("
|
|
1088
|
-
var $L150 = $L("
|
|
1089
|
-
var $L151 = $L("
|
|
1090
|
-
var $L152 = $L("
|
|
1091
|
-
var $L153 = $L("
|
|
1092
|
-
var $L154 = $L("
|
|
1093
|
-
var $L155 = $L("
|
|
1094
|
-
var $L156 = $L("
|
|
1095
|
-
var $L157 = $L("
|
|
1096
|
-
var $L158 = $L("
|
|
1097
|
-
var $L159 = $L("
|
|
1098
|
-
var $L160 = $L("
|
|
1099
|
-
var $L161 = $L("
|
|
1100
|
-
var $L162 = $L("
|
|
1101
|
-
var $L163 = $L("
|
|
1102
|
-
var $L164 = $L("
|
|
1103
|
-
var $L165 = $L("
|
|
1104
|
-
var $L166 = $L("
|
|
945
|
+
var $L0 = $L("/ ");
|
|
946
|
+
var $L1 = $L("?");
|
|
947
|
+
var $L2 = $L(".");
|
|
948
|
+
var $L3 = $L("++");
|
|
949
|
+
var $L4 = $L("--");
|
|
950
|
+
var $L5 = $L("=>");
|
|
951
|
+
var $L6 = $L(" ");
|
|
952
|
+
var $L7 = $L("implements");
|
|
953
|
+
var $L8 = $L("#");
|
|
954
|
+
var $L9 = $L("super");
|
|
955
|
+
var $L10 = $L("import");
|
|
956
|
+
var $L11 = $L("!");
|
|
957
|
+
var $L12 = $L("super[");
|
|
958
|
+
var $L13 = $L("import.meta");
|
|
959
|
+
var $L14 = $L("");
|
|
960
|
+
var $L15 = $L(")");
|
|
961
|
+
var $L16 = $L("->");
|
|
962
|
+
var $L17 = $L("}");
|
|
963
|
+
var $L18 = $L("null");
|
|
964
|
+
var $L19 = $L("true");
|
|
965
|
+
var $L20 = $L("false");
|
|
966
|
+
var $L21 = $L("yes");
|
|
967
|
+
var $L22 = $L("on");
|
|
968
|
+
var $L23 = $L("no");
|
|
969
|
+
var $L24 = $L("off");
|
|
970
|
+
var $L25 = $L(",");
|
|
971
|
+
var $L26 = $L("=");
|
|
972
|
+
var $L27 = $L(">");
|
|
973
|
+
var $L28 = $L("]");
|
|
974
|
+
var $L29 = $L(":");
|
|
975
|
+
var $L30 = $L("**=");
|
|
976
|
+
var $L31 = $L("*=");
|
|
977
|
+
var $L32 = $L("/=");
|
|
978
|
+
var $L33 = $L("%=");
|
|
979
|
+
var $L34 = $L("+=");
|
|
980
|
+
var $L35 = $L("-=");
|
|
981
|
+
var $L36 = $L("<<=");
|
|
982
|
+
var $L37 = $L(">>>=");
|
|
983
|
+
var $L38 = $L(">>=");
|
|
984
|
+
var $L39 = $L("&&=");
|
|
985
|
+
var $L40 = $L("&=");
|
|
986
|
+
var $L41 = $L("^=");
|
|
987
|
+
var $L42 = $L("||=");
|
|
988
|
+
var $L43 = $L("|=");
|
|
989
|
+
var $L44 = $L("??=");
|
|
990
|
+
var $L45 = $L("?=");
|
|
991
|
+
var $L46 = $L("and=");
|
|
992
|
+
var $L47 = $L("or=");
|
|
993
|
+
var $L48 = $L("**");
|
|
994
|
+
var $L49 = $L("*");
|
|
995
|
+
var $L50 = $L("/");
|
|
996
|
+
var $L51 = $L("%%");
|
|
997
|
+
var $L52 = $L("%");
|
|
998
|
+
var $L53 = $L("+");
|
|
999
|
+
var $L54 = $L("-");
|
|
1000
|
+
var $L55 = $L("<=");
|
|
1001
|
+
var $L56 = $L(">=");
|
|
1002
|
+
var $L57 = $L("<?");
|
|
1003
|
+
var $L58 = $L("<<");
|
|
1004
|
+
var $L59 = $L(">>>");
|
|
1005
|
+
var $L60 = $L(">>");
|
|
1006
|
+
var $L61 = $L("!==");
|
|
1007
|
+
var $L62 = $L("!=");
|
|
1008
|
+
var $L63 = $L("isnt");
|
|
1009
|
+
var $L64 = $L("===");
|
|
1010
|
+
var $L65 = $L("==");
|
|
1011
|
+
var $L66 = $L("and");
|
|
1012
|
+
var $L67 = $L("&&");
|
|
1013
|
+
var $L68 = $L("of");
|
|
1014
|
+
var $L69 = $L("or");
|
|
1015
|
+
var $L70 = $L("||");
|
|
1016
|
+
var $L71 = $L("??");
|
|
1017
|
+
var $L72 = $L("instanceof");
|
|
1018
|
+
var $L73 = $L("not");
|
|
1019
|
+
var $L74 = $L("in");
|
|
1020
|
+
var $L75 = $L("is");
|
|
1021
|
+
var $L76 = $L("&");
|
|
1022
|
+
var $L77 = $L("^");
|
|
1023
|
+
var $L78 = $L("|");
|
|
1024
|
+
var $L79 = $L(";");
|
|
1025
|
+
var $L80 = $L("own");
|
|
1026
|
+
var $L81 = $L("finally");
|
|
1027
|
+
var $L82 = $L("break");
|
|
1028
|
+
var $L83 = $L("continue");
|
|
1029
|
+
var $L84 = $L("debugger");
|
|
1030
|
+
var $L85 = $L("default");
|
|
1031
|
+
var $L86 = $L(":=");
|
|
1032
|
+
var $L87 = $L(".=");
|
|
1033
|
+
var $L88 = $L("/*");
|
|
1034
|
+
var $L89 = $L("*/");
|
|
1035
|
+
var $L90 = $L("\\");
|
|
1036
|
+
var $L91 = $L("abstract");
|
|
1037
|
+
var $L92 = $L("as");
|
|
1038
|
+
var $L93 = $L("@");
|
|
1039
|
+
var $L94 = $L("@@");
|
|
1040
|
+
var $L95 = $L("async");
|
|
1041
|
+
var $L96 = $L("await");
|
|
1042
|
+
var $L97 = $L("`");
|
|
1043
|
+
var $L98 = $L("by");
|
|
1044
|
+
var $L99 = $L("case");
|
|
1045
|
+
var $L100 = $L("catch");
|
|
1046
|
+
var $L101 = $L("class");
|
|
1047
|
+
var $L102 = $L("#{");
|
|
1048
|
+
var $L103 = $L("delete");
|
|
1049
|
+
var $L104 = $L("do");
|
|
1050
|
+
var $L105 = $L("..");
|
|
1051
|
+
var $L106 = $L("...");
|
|
1052
|
+
var $L107 = $L("::");
|
|
1053
|
+
var $L108 = $L('"');
|
|
1054
|
+
var $L109 = $L("else");
|
|
1055
|
+
var $L110 = $L("export");
|
|
1056
|
+
var $L111 = $L("extends");
|
|
1057
|
+
var $L112 = $L("for");
|
|
1058
|
+
var $L113 = $L("from");
|
|
1059
|
+
var $L114 = $L("function");
|
|
1060
|
+
var $L115 = $L("get");
|
|
1061
|
+
var $L116 = $L("set");
|
|
1062
|
+
var $L117 = $L("if");
|
|
1063
|
+
var $L118 = $L("let");
|
|
1064
|
+
var $L119 = $L("const");
|
|
1065
|
+
var $L120 = $L("loop");
|
|
1066
|
+
var $L121 = $L("new");
|
|
1067
|
+
var $L122 = $L("<");
|
|
1068
|
+
var $L123 = $L("{");
|
|
1069
|
+
var $L124 = $L("[");
|
|
1070
|
+
var $L125 = $L("(");
|
|
1071
|
+
var $L126 = $L("public");
|
|
1072
|
+
var $L127 = $L("private");
|
|
1073
|
+
var $L128 = $L("protected");
|
|
1074
|
+
var $L129 = $L("|>");
|
|
1075
|
+
var $L130 = $L("readonly");
|
|
1076
|
+
var $L131 = $L("return");
|
|
1077
|
+
var $L132 = $L("satisfies");
|
|
1078
|
+
var $L133 = $L("'");
|
|
1079
|
+
var $L134 = $L("static");
|
|
1080
|
+
var $L135 = $L("${");
|
|
1081
|
+
var $L136 = $L("switch");
|
|
1082
|
+
var $L137 = $L("target");
|
|
1083
|
+
var $L138 = $L("then");
|
|
1084
|
+
var $L139 = $L("this");
|
|
1085
|
+
var $L140 = $L("throw");
|
|
1086
|
+
var $L141 = $L('"""');
|
|
1087
|
+
var $L142 = $L("'''");
|
|
1088
|
+
var $L143 = $L("///");
|
|
1089
|
+
var $L144 = $L("```");
|
|
1090
|
+
var $L145 = $L("try");
|
|
1091
|
+
var $L146 = $L("typeof");
|
|
1092
|
+
var $L147 = $L("unless");
|
|
1093
|
+
var $L148 = $L("until");
|
|
1094
|
+
var $L149 = $L("var");
|
|
1095
|
+
var $L150 = $L("void");
|
|
1096
|
+
var $L151 = $L("when");
|
|
1097
|
+
var $L152 = $L("while");
|
|
1098
|
+
var $L153 = $L("yield");
|
|
1099
|
+
var $L154 = $L("/>");
|
|
1100
|
+
var $L155 = $L("</");
|
|
1101
|
+
var $L156 = $L("<>");
|
|
1102
|
+
var $L157 = $L("</>");
|
|
1103
|
+
var $L158 = $L("<!--");
|
|
1104
|
+
var $L159 = $L("-->");
|
|
1105
|
+
var $L160 = $L("declare");
|
|
1106
|
+
var $L161 = $L("type");
|
|
1107
|
+
var $L162 = $L("interface");
|
|
1108
|
+
var $L163 = $L("namespace");
|
|
1109
|
+
var $L164 = $L("asserts");
|
|
1110
|
+
var $L165 = $L("keyof");
|
|
1111
|
+
var $L166 = $L("infer");
|
|
1112
|
+
var $L167 = $L("[]");
|
|
1113
|
+
var $L168 = $L("civet");
|
|
1105
1114
|
var $R0 = $R(new RegExp("(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
|
|
1106
1115
|
var $R1 = $R(new RegExp("[&]", "suy"));
|
|
1107
1116
|
var $R2 = $R(new RegExp("[!~+-]+", "suy"));
|
|
@@ -1349,13 +1358,12 @@ ${input.slice(result.pos)}
|
|
|
1349
1358
|
}
|
|
1350
1359
|
}
|
|
1351
1360
|
var Arguments$0 = ExplicitArguments;
|
|
1352
|
-
var Arguments$1 = $TS($S(
|
|
1353
|
-
var
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
return [ta?.[0], open, module.insertTrimmingSpace(ws, ""), args, close];
|
|
1361
|
+
var Arguments$1 = $TS($S(SuppressTrailingMemberProperty, $E(ImplicitArguments)), function($skip, $loc, $0, $1, $2) {
|
|
1362
|
+
var args = $2;
|
|
1363
|
+
module.suppressTrailingMemberProperty.pop();
|
|
1364
|
+
if (args)
|
|
1365
|
+
return args;
|
|
1366
|
+
return $skip;
|
|
1359
1367
|
});
|
|
1360
1368
|
function Arguments(state) {
|
|
1361
1369
|
let eventData;
|
|
@@ -1379,6 +1387,36 @@ ${input.slice(result.pos)}
|
|
|
1379
1387
|
return result;
|
|
1380
1388
|
}
|
|
1381
1389
|
}
|
|
1390
|
+
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) {
|
|
1391
|
+
var ta = $1;
|
|
1392
|
+
var open = $3;
|
|
1393
|
+
var ws = $4;
|
|
1394
|
+
var args = $5;
|
|
1395
|
+
var close = $6;
|
|
1396
|
+
return [ta?.[0], open, module.insertTrimmingSpace(ws, ""), args, close];
|
|
1397
|
+
});
|
|
1398
|
+
function ImplicitArguments(state) {
|
|
1399
|
+
let eventData;
|
|
1400
|
+
if (state.events) {
|
|
1401
|
+
const result = state.events.enter?.("ImplicitArguments", state);
|
|
1402
|
+
if (result) {
|
|
1403
|
+
if (result.cache)
|
|
1404
|
+
return result.cache;
|
|
1405
|
+
eventData = result.data;
|
|
1406
|
+
}
|
|
1407
|
+
}
|
|
1408
|
+
if (state.tokenize) {
|
|
1409
|
+
const result = $TOKEN("ImplicitArguments", state, ImplicitArguments$0(state));
|
|
1410
|
+
if (state.events)
|
|
1411
|
+
state.events.exit?.("ImplicitArguments", state, result, eventData);
|
|
1412
|
+
return result;
|
|
1413
|
+
} else {
|
|
1414
|
+
const result = ImplicitArguments$0(state);
|
|
1415
|
+
if (state.events)
|
|
1416
|
+
state.events.exit?.("ImplicitArguments", state, result, eventData);
|
|
1417
|
+
return result;
|
|
1418
|
+
}
|
|
1419
|
+
}
|
|
1382
1420
|
var ExplicitArguments$0 = $S($E(TypeArguments), OpenParen, $E(ArgumentList), $E($S(__, Comma)), __, CloseParen);
|
|
1383
1421
|
function ExplicitArguments(state) {
|
|
1384
1422
|
let eventData;
|
|
@@ -1403,7 +1441,7 @@ ${input.slice(result.pos)}
|
|
|
1403
1441
|
}
|
|
1404
1442
|
}
|
|
1405
1443
|
var ApplicationStart$0 = $S(IndentedApplicationAllowed, $Y(NestedImplicitObjectLiteral));
|
|
1406
|
-
var ApplicationStart$1 = $S($N(EOS), $Y($S($P(_), $N(
|
|
1444
|
+
var ApplicationStart$1 = $S($N(EOS), $Y($S($P(_), $N(ForbiddenImplicitCalls))));
|
|
1407
1445
|
function ApplicationStart(state) {
|
|
1408
1446
|
let eventData;
|
|
1409
1447
|
if (state.events) {
|
|
@@ -1426,15 +1464,13 @@ ${input.slice(result.pos)}
|
|
|
1426
1464
|
return result;
|
|
1427
1465
|
}
|
|
1428
1466
|
}
|
|
1429
|
-
var
|
|
1430
|
-
|
|
1431
|
-
|
|
1432
|
-
|
|
1433
|
-
});
|
|
1434
|
-
function IndentedApplicationAllowed(state) {
|
|
1467
|
+
var ForbiddenImplicitCalls$0 = $R$0($EXPECT($R0, fail, "ForbiddenImplicitCalls /(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
|
|
1468
|
+
var ForbiddenImplicitCalls$1 = $EXPECT($L0, fail, 'ForbiddenImplicitCalls "/ "');
|
|
1469
|
+
var ForbiddenImplicitCalls$2 = AtAt;
|
|
1470
|
+
function ForbiddenImplicitCalls(state) {
|
|
1435
1471
|
let eventData;
|
|
1436
1472
|
if (state.events) {
|
|
1437
|
-
const result = state.events.enter?.("
|
|
1473
|
+
const result = state.events.enter?.("ForbiddenImplicitCalls", state);
|
|
1438
1474
|
if (result) {
|
|
1439
1475
|
if (result.cache)
|
|
1440
1476
|
return result.cache;
|
|
@@ -1442,18 +1478,18 @@ ${input.slice(result.pos)}
|
|
|
1442
1478
|
}
|
|
1443
1479
|
}
|
|
1444
1480
|
if (state.tokenize) {
|
|
1445
|
-
const result = $TOKEN("
|
|
1481
|
+
const result = $TOKEN("ForbiddenImplicitCalls", state, ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state));
|
|
1446
1482
|
if (state.events)
|
|
1447
|
-
state.events.exit?.("
|
|
1483
|
+
state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
|
|
1448
1484
|
return result;
|
|
1449
1485
|
} else {
|
|
1450
|
-
const result =
|
|
1486
|
+
const result = ForbiddenImplicitCalls$0(state) || ForbiddenImplicitCalls$1(state) || ForbiddenImplicitCalls$2(state);
|
|
1451
1487
|
if (state.events)
|
|
1452
|
-
state.events.exit?.("
|
|
1488
|
+
state.events.exit?.("ForbiddenImplicitCalls", state, result, eventData);
|
|
1453
1489
|
return result;
|
|
1454
1490
|
}
|
|
1455
1491
|
}
|
|
1456
|
-
var ArgumentsWithTrailingMemberExpressions$0 = $S(Arguments,
|
|
1492
|
+
var ArgumentsWithTrailingMemberExpressions$0 = $S(Arguments, TrailingMemberExpressions);
|
|
1457
1493
|
function ArgumentsWithTrailingMemberExpressions(state) {
|
|
1458
1494
|
let eventData;
|
|
1459
1495
|
if (state.events) {
|
|
@@ -1476,6 +1512,57 @@ ${input.slice(result.pos)}
|
|
|
1476
1512
|
return result;
|
|
1477
1513
|
}
|
|
1478
1514
|
}
|
|
1515
|
+
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) {
|
|
1516
|
+
return $1.concat($2);
|
|
1517
|
+
});
|
|
1518
|
+
function TrailingMemberExpressions(state) {
|
|
1519
|
+
let eventData;
|
|
1520
|
+
if (state.events) {
|
|
1521
|
+
const result = state.events.enter?.("TrailingMemberExpressions", state);
|
|
1522
|
+
if (result) {
|
|
1523
|
+
if (result.cache)
|
|
1524
|
+
return result.cache;
|
|
1525
|
+
eventData = result.data;
|
|
1526
|
+
}
|
|
1527
|
+
}
|
|
1528
|
+
if (state.tokenize) {
|
|
1529
|
+
const result = $TOKEN("TrailingMemberExpressions", state, TrailingMemberExpressions$0(state));
|
|
1530
|
+
if (state.events)
|
|
1531
|
+
state.events.exit?.("TrailingMemberExpressions", state, result, eventData);
|
|
1532
|
+
return result;
|
|
1533
|
+
} else {
|
|
1534
|
+
const result = TrailingMemberExpressions$0(state);
|
|
1535
|
+
if (state.events)
|
|
1536
|
+
state.events.exit?.("TrailingMemberExpressions", state, result, eventData);
|
|
1537
|
+
return result;
|
|
1538
|
+
}
|
|
1539
|
+
}
|
|
1540
|
+
var NonSuppressedTrailingMemberExpressions$0 = $T($S(TrailingMemberPropertyAllowed, TrailingMemberExpressions), function(value) {
|
|
1541
|
+
return value[1];
|
|
1542
|
+
});
|
|
1543
|
+
var NonSuppressedTrailingMemberExpressions$1 = $Q(MemberExpressionRest);
|
|
1544
|
+
function NonSuppressedTrailingMemberExpressions(state) {
|
|
1545
|
+
let eventData;
|
|
1546
|
+
if (state.events) {
|
|
1547
|
+
const result = state.events.enter?.("NonSuppressedTrailingMemberExpressions", state);
|
|
1548
|
+
if (result) {
|
|
1549
|
+
if (result.cache)
|
|
1550
|
+
return result.cache;
|
|
1551
|
+
eventData = result.data;
|
|
1552
|
+
}
|
|
1553
|
+
}
|
|
1554
|
+
if (state.tokenize) {
|
|
1555
|
+
const result = $TOKEN("NonSuppressedTrailingMemberExpressions", state, NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state));
|
|
1556
|
+
if (state.events)
|
|
1557
|
+
state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
|
|
1558
|
+
return result;
|
|
1559
|
+
} else {
|
|
1560
|
+
const result = NonSuppressedTrailingMemberExpressions$0(state) || NonSuppressedTrailingMemberExpressions$1(state);
|
|
1561
|
+
if (state.events)
|
|
1562
|
+
state.events.exit?.("NonSuppressedTrailingMemberExpressions", state, result, eventData);
|
|
1563
|
+
return result;
|
|
1564
|
+
}
|
|
1565
|
+
}
|
|
1479
1566
|
var ArgumentList$0 = $S(ArgumentPart, $P($S(__, Comma, $C(NestedImplicitObjectLiteral, NestedArgumentList))));
|
|
1480
1567
|
var ArgumentList$1 = $TS($S(NestedImplicitObjectLiteral), function($skip, $loc, $0, $1) {
|
|
1481
1568
|
return module.insertTrimmingSpace($1, "");
|
|
@@ -1796,7 +1883,7 @@ ${input.slice(result.pos)}
|
|
|
1796
1883
|
return result;
|
|
1797
1884
|
}
|
|
1798
1885
|
}
|
|
1799
|
-
var UpdateExpressionSymbol$0 = $TV($C($EXPECT($
|
|
1886
|
+
var UpdateExpressionSymbol$0 = $TV($C($EXPECT($L3, fail, 'UpdateExpressionSymbol "++"'), $EXPECT($L4, fail, 'UpdateExpressionSymbol "--"')), function($skip, $loc, $0, $1) {
|
|
1800
1887
|
return { $loc, token: $1 };
|
|
1801
1888
|
});
|
|
1802
1889
|
function UpdateExpressionSymbol(state) {
|
|
@@ -2088,7 +2175,7 @@ ${input.slice(result.pos)}
|
|
|
2088
2175
|
return result;
|
|
2089
2176
|
}
|
|
2090
2177
|
}
|
|
2091
|
-
var FatArrow$0 = $TS($S(__, $EXPECT($
|
|
2178
|
+
var FatArrow$0 = $TS($S(__, $EXPECT($L5, fail, 'FatArrow "=>"')), function($skip, $loc, $0, $1, $2) {
|
|
2092
2179
|
var ws = $1;
|
|
2093
2180
|
if (!ws.length)
|
|
2094
2181
|
return " =>";
|
|
@@ -2171,7 +2258,7 @@ ${input.slice(result.pos)}
|
|
|
2171
2258
|
}
|
|
2172
2259
|
}
|
|
2173
2260
|
var TernaryRest$0 = NestedTernaryRest;
|
|
2174
|
-
var TernaryRest$1 = $TS($S($N(CoffeeBinaryExistentialEnabled), $Y($EXPECT($
|
|
2261
|
+
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) {
|
|
2175
2262
|
return $0.slice(2);
|
|
2176
2263
|
});
|
|
2177
2264
|
function TernaryRest(state) {
|
|
@@ -2531,7 +2618,7 @@ ${input.slice(result.pos)}
|
|
|
2531
2618
|
return result;
|
|
2532
2619
|
}
|
|
2533
2620
|
}
|
|
2534
|
-
var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($
|
|
2621
|
+
var ExtendsToken$0 = $TS($S(Loc, __, OpenAngleBracket, $E($EXPECT($L6, fail, 'ExtendsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
2535
2622
|
var l = $1;
|
|
2536
2623
|
var ws = $2;
|
|
2537
2624
|
var lt = $3;
|
|
@@ -2627,7 +2714,7 @@ ${input.slice(result.pos)}
|
|
|
2627
2714
|
return result;
|
|
2628
2715
|
}
|
|
2629
2716
|
}
|
|
2630
|
-
var ImplementsToken$0 = $TS($S($EXPECT($
|
|
2717
|
+
var ImplementsToken$0 = $TS($S($EXPECT($L7, fail, 'ImplementsToken "implements"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
2631
2718
|
return { $loc, token: $1 };
|
|
2632
2719
|
});
|
|
2633
2720
|
function ImplementsToken(state) {
|
|
@@ -2876,7 +2963,7 @@ ${input.slice(result.pos)}
|
|
|
2876
2963
|
}
|
|
2877
2964
|
}
|
|
2878
2965
|
var ThisLiteral$0 = This;
|
|
2879
|
-
var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($
|
|
2966
|
+
var ThisLiteral$1 = $TS($S(At, $TEXT($S($E($EXPECT($L8, fail, 'ThisLiteral "#"')), IdentifierName))), function($skip, $loc, $0, $1, $2) {
|
|
2880
2967
|
var t = $1;
|
|
2881
2968
|
var id = $2;
|
|
2882
2969
|
return [{ ...t, token: "this." }, id];
|
|
@@ -2907,7 +2994,7 @@ ${input.slice(result.pos)}
|
|
|
2907
2994
|
return result;
|
|
2908
2995
|
}
|
|
2909
2996
|
}
|
|
2910
|
-
var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($
|
|
2997
|
+
var LeftHandSideExpression$0 = $TS($S($Q($S(New, $N($EXPECT($L2, fail, 'LeftHandSideExpression "."')), __)), CallExpression), function($skip, $loc, $0, $1, $2) {
|
|
2911
2998
|
if ($1.length)
|
|
2912
2999
|
return $0;
|
|
2913
3000
|
return $2;
|
|
@@ -2934,21 +3021,24 @@ ${input.slice(result.pos)}
|
|
|
2934
3021
|
return result;
|
|
2935
3022
|
}
|
|
2936
3023
|
}
|
|
2937
|
-
var CallExpression$0 = $S($EXPECT($
|
|
2938
|
-
var CallExpression$1 = $TS($S($EXPECT($
|
|
3024
|
+
var CallExpression$0 = $S($EXPECT($L9, fail, 'CallExpression "super"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest));
|
|
3025
|
+
var CallExpression$1 = $TS($S($EXPECT($L10, fail, 'CallExpression "import"'), ArgumentsWithTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
|
|
2939
3026
|
return {
|
|
2940
3027
|
type: "CallExpression",
|
|
2941
3028
|
children: $0
|
|
2942
3029
|
};
|
|
2943
3030
|
});
|
|
2944
|
-
var CallExpression$2 = $TS($S(MemberExpression, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2) {
|
|
2945
|
-
|
|
3031
|
+
var CallExpression$2 = $TS($S(MemberExpression, NonSuppressedTrailingMemberExpressions, $Q(CallExpressionRest)), function($skip, $loc, $0, $1, $2, $3) {
|
|
3032
|
+
var member = $1;
|
|
3033
|
+
var trailing = $2;
|
|
3034
|
+
var rest = $3;
|
|
3035
|
+
if (rest.length || trailing.length) {
|
|
2946
3036
|
return {
|
|
2947
|
-
type: "CallExpression",
|
|
2948
|
-
children: [
|
|
3037
|
+
type: rest.length ? "CallExpression" : "MemberExpression",
|
|
3038
|
+
children: [member, ...trailing, ...rest]
|
|
2949
3039
|
};
|
|
2950
3040
|
}
|
|
2951
|
-
return
|
|
3041
|
+
return member;
|
|
2952
3042
|
});
|
|
2953
3043
|
function CallExpression(state) {
|
|
2954
3044
|
let eventData;
|
|
@@ -3020,7 +3110,7 @@ ${input.slice(result.pos)}
|
|
|
3020
3110
|
return result;
|
|
3021
3111
|
}
|
|
3022
3112
|
}
|
|
3023
|
-
var NonNullAssertion$0 = $T($EXPECT($
|
|
3113
|
+
var NonNullAssertion$0 = $T($EXPECT($L11, fail, 'NonNullAssertion "!"'), function(value) {
|
|
3024
3114
|
return { "ts": true, "children": value };
|
|
3025
3115
|
});
|
|
3026
3116
|
function NonNullAssertion(state) {
|
|
@@ -3045,30 +3135,6 @@ ${input.slice(result.pos)}
|
|
|
3045
3135
|
return result;
|
|
3046
3136
|
}
|
|
3047
3137
|
}
|
|
3048
|
-
var AdditionalReservedWords$0 = $R$0($EXPECT($R0, fail, "AdditionalReservedWords /(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])/"));
|
|
3049
|
-
var AdditionalReservedWords$1 = AtAt;
|
|
3050
|
-
function AdditionalReservedWords(state) {
|
|
3051
|
-
let eventData;
|
|
3052
|
-
if (state.events) {
|
|
3053
|
-
const result = state.events.enter?.("AdditionalReservedWords", state);
|
|
3054
|
-
if (result) {
|
|
3055
|
-
if (result.cache)
|
|
3056
|
-
return result.cache;
|
|
3057
|
-
eventData = result.data;
|
|
3058
|
-
}
|
|
3059
|
-
}
|
|
3060
|
-
if (state.tokenize) {
|
|
3061
|
-
const result = $TOKEN("AdditionalReservedWords", state, AdditionalReservedWords$0(state) || AdditionalReservedWords$1(state));
|
|
3062
|
-
if (state.events)
|
|
3063
|
-
state.events.exit?.("AdditionalReservedWords", state, result, eventData);
|
|
3064
|
-
return result;
|
|
3065
|
-
} else {
|
|
3066
|
-
const result = AdditionalReservedWords$0(state) || AdditionalReservedWords$1(state);
|
|
3067
|
-
if (state.events)
|
|
3068
|
-
state.events.exit?.("AdditionalReservedWords", state, result, eventData);
|
|
3069
|
-
return result;
|
|
3070
|
-
}
|
|
3071
|
-
}
|
|
3072
3138
|
var MemberExpression$0 = $TS($S(PrimaryExpression, $Q(MemberExpressionRest)), function($skip, $loc, $0, $1, $2) {
|
|
3073
3139
|
var rest = $2;
|
|
3074
3140
|
if (rest.length) {
|
|
@@ -3112,13 +3178,7 @@ ${input.slice(result.pos)}
|
|
|
3112
3178
|
}
|
|
3113
3179
|
return $2;
|
|
3114
3180
|
});
|
|
3115
|
-
var MemberExpressionRest$1 =
|
|
3116
|
-
if ($1)
|
|
3117
|
-
return Object.assign({}, $2, {
|
|
3118
|
-
children: [$1, ...$2.children]
|
|
3119
|
-
});
|
|
3120
|
-
return $2;
|
|
3121
|
-
});
|
|
3181
|
+
var MemberExpressionRest$1 = PropertyAccess;
|
|
3122
3182
|
var MemberExpressionRest$2 = NonNullAssertion;
|
|
3123
3183
|
function MemberExpressionRest(state) {
|
|
3124
3184
|
let eventData;
|
|
@@ -3294,8 +3354,8 @@ ${input.slice(result.pos)}
|
|
|
3294
3354
|
return result;
|
|
3295
3355
|
}
|
|
3296
3356
|
}
|
|
3297
|
-
var SuperProperty$0 = $S($EXPECT($
|
|
3298
|
-
var SuperProperty$1 = $S($EXPECT($
|
|
3357
|
+
var SuperProperty$0 = $S($EXPECT($L12, fail, 'SuperProperty "super["'), ExtendedExpression, __, CloseBracket);
|
|
3358
|
+
var SuperProperty$1 = $S($EXPECT($L9, fail, 'SuperProperty "super"'), $N($C(QuestionMark, NonNullAssertion)), PropertyAccess);
|
|
3299
3359
|
function SuperProperty(state) {
|
|
3300
3360
|
let eventData;
|
|
3301
3361
|
if (state.events) {
|
|
@@ -3319,7 +3379,7 @@ ${input.slice(result.pos)}
|
|
|
3319
3379
|
}
|
|
3320
3380
|
}
|
|
3321
3381
|
var MetaProperty$0 = $S(New, Dot, Target);
|
|
3322
|
-
var MetaProperty$1 = $TS($S($EXPECT($
|
|
3382
|
+
var MetaProperty$1 = $TS($S($EXPECT($L13, fail, 'MetaProperty "import.meta"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
3323
3383
|
return { $loc, token: $1 };
|
|
3324
3384
|
});
|
|
3325
3385
|
function MetaProperty(state) {
|
|
@@ -3345,7 +3405,7 @@ ${input.slice(result.pos)}
|
|
|
3345
3405
|
}
|
|
3346
3406
|
}
|
|
3347
3407
|
var Parameters$0 = NonEmptyParameters;
|
|
3348
|
-
var Parameters$1 = $TV($EXPECT($
|
|
3408
|
+
var Parameters$1 = $TV($EXPECT($L14, fail, 'Parameters ""'), function($skip, $loc, $0, $1) {
|
|
3349
3409
|
return {
|
|
3350
3410
|
type: "Parameters",
|
|
3351
3411
|
children: [{ $loc, token: "()" }],
|
|
@@ -3504,7 +3564,7 @@ ${input.slice(result.pos)}
|
|
|
3504
3564
|
}
|
|
3505
3565
|
}
|
|
3506
3566
|
var ParameterElementDelimiter$0 = $S($Q(_), Comma);
|
|
3507
|
-
var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($
|
|
3567
|
+
var ParameterElementDelimiter$1 = $Y($S(__, $EXPECT($L15, fail, 'ParameterElementDelimiter ")"')));
|
|
3508
3568
|
var ParameterElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
3509
3569
|
return value[1];
|
|
3510
3570
|
});
|
|
@@ -4177,7 +4237,7 @@ ${input.slice(result.pos)}
|
|
|
4177
4237
|
return result;
|
|
4178
4238
|
}
|
|
4179
4239
|
}
|
|
4180
|
-
var EmptyBindingPattern$0 = $TV($EXPECT($
|
|
4240
|
+
var EmptyBindingPattern$0 = $TV($EXPECT($L14, fail, 'EmptyBindingPattern ""'), function($skip, $loc, $0, $1) {
|
|
4181
4241
|
const ref = {
|
|
4182
4242
|
type: "Ref",
|
|
4183
4243
|
base: "ref",
|
|
@@ -4453,7 +4513,7 @@ ${input.slice(result.pos)}
|
|
|
4453
4513
|
return result;
|
|
4454
4514
|
}
|
|
4455
4515
|
}
|
|
4456
|
-
var Arrow$0 = $TV($EXPECT($
|
|
4516
|
+
var Arrow$0 = $TV($EXPECT($L16, fail, 'Arrow "->"'), function($skip, $loc, $0, $1) {
|
|
4457
4517
|
return { $loc, token: $1 };
|
|
4458
4518
|
});
|
|
4459
4519
|
function Arrow(state) {
|
|
@@ -4748,7 +4808,7 @@ ${input.slice(result.pos)}
|
|
|
4748
4808
|
children: [$1, expressions]
|
|
4749
4809
|
};
|
|
4750
4810
|
});
|
|
4751
|
-
var BracedContent$2 = $TV($Y($S(__, $EXPECT($
|
|
4811
|
+
var BracedContent$2 = $TV($Y($S(__, $EXPECT($L17, fail, 'BracedContent "}"'))), function($skip, $loc, $0, $1) {
|
|
4752
4812
|
const expressions = [];
|
|
4753
4813
|
return {
|
|
4754
4814
|
type: "BlockStatement",
|
|
@@ -4893,7 +4953,7 @@ ${input.slice(result.pos)}
|
|
|
4893
4953
|
return result;
|
|
4894
4954
|
}
|
|
4895
4955
|
}
|
|
4896
|
-
var NullLiteral$0 = $TS($S($EXPECT($
|
|
4956
|
+
var NullLiteral$0 = $TS($S($EXPECT($L18, fail, 'NullLiteral "null"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4897
4957
|
return { $loc, token: $1 };
|
|
4898
4958
|
});
|
|
4899
4959
|
function NullLiteral(state) {
|
|
@@ -4921,7 +4981,7 @@ ${input.slice(result.pos)}
|
|
|
4921
4981
|
var BooleanLiteral$0 = $T($S(CoffeeBooleansEnabled, CoffeeScriptBooleanLiteral), function(value) {
|
|
4922
4982
|
return value[1];
|
|
4923
4983
|
});
|
|
4924
|
-
var BooleanLiteral$1 = $TS($S($C($EXPECT($
|
|
4984
|
+
var BooleanLiteral$1 = $TS($S($C($EXPECT($L19, fail, 'BooleanLiteral "true"'), $EXPECT($L20, fail, 'BooleanLiteral "false"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4925
4985
|
return { $loc, token: $1 };
|
|
4926
4986
|
});
|
|
4927
4987
|
function BooleanLiteral(state) {
|
|
@@ -4946,10 +5006,10 @@ ${input.slice(result.pos)}
|
|
|
4946
5006
|
return result;
|
|
4947
5007
|
}
|
|
4948
5008
|
}
|
|
4949
|
-
var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($
|
|
5009
|
+
var CoffeeScriptBooleanLiteral$0 = $TS($S($C($EXPECT($L21, fail, 'CoffeeScriptBooleanLiteral "yes"'), $EXPECT($L22, fail, 'CoffeeScriptBooleanLiteral "on"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4950
5010
|
return { $loc, token: "true" };
|
|
4951
5011
|
});
|
|
4952
|
-
var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($
|
|
5012
|
+
var CoffeeScriptBooleanLiteral$1 = $TS($S($C($EXPECT($L23, fail, 'CoffeeScriptBooleanLiteral "no"'), $EXPECT($L24, fail, 'CoffeeScriptBooleanLiteral "off"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
4953
5013
|
return { $loc, token: "false" };
|
|
4954
5014
|
});
|
|
4955
5015
|
function CoffeeScriptBooleanLiteral(state) {
|
|
@@ -4974,7 +5034,7 @@ ${input.slice(result.pos)}
|
|
|
4974
5034
|
return result;
|
|
4975
5035
|
}
|
|
4976
5036
|
}
|
|
4977
|
-
var Comma$0 = $TV($EXPECT($
|
|
5037
|
+
var Comma$0 = $TV($EXPECT($L25, fail, 'Comma ","'), function($skip, $loc, $0, $1) {
|
|
4978
5038
|
return { $loc, token: $1 };
|
|
4979
5039
|
});
|
|
4980
5040
|
function Comma(state) {
|
|
@@ -5080,7 +5140,7 @@ ${input.slice(result.pos)}
|
|
|
5080
5140
|
return result;
|
|
5081
5141
|
}
|
|
5082
5142
|
}
|
|
5083
|
-
var UpcomingAssignment$0 = $Y($S(__, $EXPECT($
|
|
5143
|
+
var UpcomingAssignment$0 = $Y($S(__, $EXPECT($L26, fail, 'UpcomingAssignment "="'), $N($C($EXPECT($L26, fail, 'UpcomingAssignment "="'), $EXPECT($L27, fail, 'UpcomingAssignment ">"')))));
|
|
5084
5144
|
function UpcomingAssignment(state) {
|
|
5085
5145
|
let eventData;
|
|
5086
5146
|
if (state.events) {
|
|
@@ -5353,7 +5413,7 @@ ${input.slice(result.pos)}
|
|
|
5353
5413
|
}
|
|
5354
5414
|
}
|
|
5355
5415
|
var ArrayElementDelimiter$0 = $S(__, Comma);
|
|
5356
|
-
var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($
|
|
5416
|
+
var ArrayElementDelimiter$1 = $Y($S(__, $EXPECT($L28, fail, 'ArrayElementDelimiter "]"')));
|
|
5357
5417
|
var ArrayElementDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
5358
5418
|
return value[1];
|
|
5359
5419
|
});
|
|
@@ -5775,7 +5835,7 @@ ${input.slice(result.pos)}
|
|
|
5775
5835
|
var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $Q(_)), NamedProperty)), InsertComma), function(value) {
|
|
5776
5836
|
return value[1];
|
|
5777
5837
|
});
|
|
5778
|
-
var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($
|
|
5838
|
+
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) {
|
|
5779
5839
|
return "";
|
|
5780
5840
|
});
|
|
5781
5841
|
var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
|
|
@@ -5804,7 +5864,7 @@ ${input.slice(result.pos)}
|
|
|
5804
5864
|
}
|
|
5805
5865
|
}
|
|
5806
5866
|
var ObjectPropertyDelimiter$0 = $S($Q(_), Comma);
|
|
5807
|
-
var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($
|
|
5867
|
+
var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L17, fail, 'ObjectPropertyDelimiter "}"')));
|
|
5808
5868
|
var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
5809
5869
|
return value[1];
|
|
5810
5870
|
});
|
|
@@ -6247,7 +6307,7 @@ ${input.slice(result.pos)}
|
|
|
6247
6307
|
return result;
|
|
6248
6308
|
}
|
|
6249
6309
|
}
|
|
6250
|
-
var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($
|
|
6310
|
+
var PrivateIdentifier$0 = $TV($TEXT($S($EXPECT($L8, fail, 'PrivateIdentifier "#"'), IdentifierName)), function($skip, $loc, $0, $1) {
|
|
6251
6311
|
return {
|
|
6252
6312
|
type: "Identifier",
|
|
6253
6313
|
name: $0,
|
|
@@ -6311,25 +6371,25 @@ ${input.slice(result.pos)}
|
|
|
6311
6371
|
return result;
|
|
6312
6372
|
}
|
|
6313
6373
|
}
|
|
6314
|
-
var AssignmentOpSymbol$0 = $EXPECT($
|
|
6315
|
-
var AssignmentOpSymbol$1 = $EXPECT($
|
|
6316
|
-
var AssignmentOpSymbol$2 = $EXPECT($
|
|
6317
|
-
var AssignmentOpSymbol$3 = $EXPECT($
|
|
6318
|
-
var AssignmentOpSymbol$4 = $EXPECT($
|
|
6319
|
-
var AssignmentOpSymbol$5 = $EXPECT($
|
|
6320
|
-
var AssignmentOpSymbol$6 = $EXPECT($
|
|
6321
|
-
var AssignmentOpSymbol$7 = $EXPECT($
|
|
6322
|
-
var AssignmentOpSymbol$8 = $EXPECT($
|
|
6323
|
-
var AssignmentOpSymbol$9 = $EXPECT($
|
|
6324
|
-
var AssignmentOpSymbol$10 = $EXPECT($
|
|
6325
|
-
var AssignmentOpSymbol$11 = $EXPECT($
|
|
6326
|
-
var AssignmentOpSymbol$12 = $EXPECT($
|
|
6327
|
-
var AssignmentOpSymbol$13 = $EXPECT($
|
|
6328
|
-
var AssignmentOpSymbol$14 = $EXPECT($
|
|
6329
|
-
var AssignmentOpSymbol$15 = $T($EXPECT($
|
|
6374
|
+
var AssignmentOpSymbol$0 = $EXPECT($L30, fail, 'AssignmentOpSymbol "**="');
|
|
6375
|
+
var AssignmentOpSymbol$1 = $EXPECT($L31, fail, 'AssignmentOpSymbol "*="');
|
|
6376
|
+
var AssignmentOpSymbol$2 = $EXPECT($L32, fail, 'AssignmentOpSymbol "/="');
|
|
6377
|
+
var AssignmentOpSymbol$3 = $EXPECT($L33, fail, 'AssignmentOpSymbol "%="');
|
|
6378
|
+
var AssignmentOpSymbol$4 = $EXPECT($L34, fail, 'AssignmentOpSymbol "+="');
|
|
6379
|
+
var AssignmentOpSymbol$5 = $EXPECT($L35, fail, 'AssignmentOpSymbol "-="');
|
|
6380
|
+
var AssignmentOpSymbol$6 = $EXPECT($L36, fail, 'AssignmentOpSymbol "<<="');
|
|
6381
|
+
var AssignmentOpSymbol$7 = $EXPECT($L37, fail, 'AssignmentOpSymbol ">>>="');
|
|
6382
|
+
var AssignmentOpSymbol$8 = $EXPECT($L38, fail, 'AssignmentOpSymbol ">>="');
|
|
6383
|
+
var AssignmentOpSymbol$9 = $EXPECT($L39, fail, 'AssignmentOpSymbol "&&="');
|
|
6384
|
+
var AssignmentOpSymbol$10 = $EXPECT($L40, fail, 'AssignmentOpSymbol "&="');
|
|
6385
|
+
var AssignmentOpSymbol$11 = $EXPECT($L41, fail, 'AssignmentOpSymbol "^="');
|
|
6386
|
+
var AssignmentOpSymbol$12 = $EXPECT($L42, fail, 'AssignmentOpSymbol "||="');
|
|
6387
|
+
var AssignmentOpSymbol$13 = $EXPECT($L43, fail, 'AssignmentOpSymbol "|="');
|
|
6388
|
+
var AssignmentOpSymbol$14 = $EXPECT($L44, fail, 'AssignmentOpSymbol "??="');
|
|
6389
|
+
var AssignmentOpSymbol$15 = $T($EXPECT($L45, fail, 'AssignmentOpSymbol "?="'), function(value) {
|
|
6330
6390
|
return "??=";
|
|
6331
6391
|
});
|
|
6332
|
-
var AssignmentOpSymbol$16 = $T($S($EXPECT($
|
|
6392
|
+
var AssignmentOpSymbol$16 = $T($S($EXPECT($L26, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L26, fail, 'AssignmentOpSymbol "="'))), function(value) {
|
|
6333
6393
|
return value[0];
|
|
6334
6394
|
});
|
|
6335
6395
|
var AssignmentOpSymbol$17 = $T($S(CoffeeWordAssignmentOp), function(value) {
|
|
@@ -6357,10 +6417,10 @@ ${input.slice(result.pos)}
|
|
|
6357
6417
|
return result;
|
|
6358
6418
|
}
|
|
6359
6419
|
}
|
|
6360
|
-
var CoffeeWordAssignmentOp$0 = $T($EXPECT($
|
|
6420
|
+
var CoffeeWordAssignmentOp$0 = $T($EXPECT($L46, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
|
|
6361
6421
|
return "&&=";
|
|
6362
6422
|
});
|
|
6363
|
-
var CoffeeWordAssignmentOp$1 = $T($EXPECT($
|
|
6423
|
+
var CoffeeWordAssignmentOp$1 = $T($EXPECT($L47, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
|
|
6364
6424
|
return "||=";
|
|
6365
6425
|
});
|
|
6366
6426
|
function CoffeeWordAssignmentOp(state) {
|
|
@@ -6412,77 +6472,80 @@ ${input.slice(result.pos)}
|
|
|
6412
6472
|
return result;
|
|
6413
6473
|
}
|
|
6414
6474
|
}
|
|
6415
|
-
var BinaryOpSymbol$0 = $EXPECT($
|
|
6416
|
-
var BinaryOpSymbol$1 = $EXPECT($
|
|
6417
|
-
var BinaryOpSymbol$2 = $EXPECT($
|
|
6418
|
-
var BinaryOpSymbol$3 = $TV($EXPECT($
|
|
6475
|
+
var BinaryOpSymbol$0 = $EXPECT($L48, fail, 'BinaryOpSymbol "**"');
|
|
6476
|
+
var BinaryOpSymbol$1 = $EXPECT($L49, fail, 'BinaryOpSymbol "*"');
|
|
6477
|
+
var BinaryOpSymbol$2 = $EXPECT($L50, fail, 'BinaryOpSymbol "/"');
|
|
6478
|
+
var BinaryOpSymbol$3 = $TV($EXPECT($L51, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
|
|
6419
6479
|
return {
|
|
6420
6480
|
call: module.getRef("modulo"),
|
|
6421
6481
|
special: true
|
|
6422
6482
|
};
|
|
6423
6483
|
});
|
|
6424
|
-
var BinaryOpSymbol$4 = $EXPECT($
|
|
6425
|
-
var BinaryOpSymbol$5 = $EXPECT($
|
|
6426
|
-
var BinaryOpSymbol$6 = $EXPECT($
|
|
6427
|
-
var BinaryOpSymbol$7 = $EXPECT($
|
|
6428
|
-
var BinaryOpSymbol$8 = $EXPECT($
|
|
6429
|
-
var BinaryOpSymbol$9 = $EXPECT($
|
|
6430
|
-
|
|
6484
|
+
var BinaryOpSymbol$4 = $EXPECT($L52, fail, 'BinaryOpSymbol "%"');
|
|
6485
|
+
var BinaryOpSymbol$5 = $EXPECT($L53, fail, 'BinaryOpSymbol "+"');
|
|
6486
|
+
var BinaryOpSymbol$6 = $EXPECT($L54, fail, 'BinaryOpSymbol "-"');
|
|
6487
|
+
var BinaryOpSymbol$7 = $EXPECT($L55, fail, 'BinaryOpSymbol "<="');
|
|
6488
|
+
var BinaryOpSymbol$8 = $EXPECT($L56, fail, 'BinaryOpSymbol ">="');
|
|
6489
|
+
var BinaryOpSymbol$9 = $TS($S($EXPECT($L57, fail, 'BinaryOpSymbol "<?"'), $E($EXPECT($L6, fail, 'BinaryOpSymbol " "'))), function($skip, $loc, $0, $1, $2) {
|
|
6490
|
+
return "instanceof ";
|
|
6491
|
+
});
|
|
6492
|
+
var BinaryOpSymbol$10 = $EXPECT($L58, fail, 'BinaryOpSymbol "<<"');
|
|
6493
|
+
var BinaryOpSymbol$11 = $TR($EXPECT($R5, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
6431
6494
|
return "<";
|
|
6432
6495
|
});
|
|
6433
|
-
var BinaryOpSymbol$
|
|
6434
|
-
var BinaryOpSymbol$
|
|
6435
|
-
var BinaryOpSymbol$
|
|
6436
|
-
var BinaryOpSymbol$
|
|
6437
|
-
var BinaryOpSymbol$
|
|
6496
|
+
var BinaryOpSymbol$12 = $EXPECT($L59, fail, 'BinaryOpSymbol ">>>"');
|
|
6497
|
+
var BinaryOpSymbol$13 = $EXPECT($L60, fail, 'BinaryOpSymbol ">>"');
|
|
6498
|
+
var BinaryOpSymbol$14 = $EXPECT($L27, fail, 'BinaryOpSymbol ">"');
|
|
6499
|
+
var BinaryOpSymbol$15 = $EXPECT($L61, fail, 'BinaryOpSymbol "!=="');
|
|
6500
|
+
var BinaryOpSymbol$16 = $TV($EXPECT($L62, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
|
|
6438
6501
|
if (module.config.coffeeEq)
|
|
6439
6502
|
return "!==";
|
|
6440
6503
|
return $1;
|
|
6441
6504
|
});
|
|
6442
|
-
var BinaryOpSymbol$
|
|
6505
|
+
var BinaryOpSymbol$17 = $TS($S($EXPECT($L63, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
6443
6506
|
if (module.config.coffeeIsnt)
|
|
6444
6507
|
return "!==";
|
|
6445
6508
|
return $skip;
|
|
6446
6509
|
});
|
|
6447
|
-
var BinaryOpSymbol$
|
|
6448
|
-
var BinaryOpSymbol$
|
|
6510
|
+
var BinaryOpSymbol$18 = $EXPECT($L64, fail, 'BinaryOpSymbol "==="');
|
|
6511
|
+
var BinaryOpSymbol$19 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
|
|
6449
6512
|
if (module.config.coffeeEq)
|
|
6450
6513
|
return "===";
|
|
6451
6514
|
return $1;
|
|
6452
6515
|
});
|
|
6453
|
-
var BinaryOpSymbol$
|
|
6516
|
+
var BinaryOpSymbol$20 = $T($S($EXPECT($L66, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
|
|
6454
6517
|
return "&&";
|
|
6455
6518
|
});
|
|
6456
|
-
var BinaryOpSymbol$
|
|
6457
|
-
var BinaryOpSymbol$
|
|
6519
|
+
var BinaryOpSymbol$21 = $EXPECT($L67, fail, 'BinaryOpSymbol "&&"');
|
|
6520
|
+
var BinaryOpSymbol$22 = $T($S(CoffeeOfEnabled, $EXPECT($L68, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
|
|
6458
6521
|
return "in";
|
|
6459
6522
|
});
|
|
6460
|
-
var BinaryOpSymbol$
|
|
6523
|
+
var BinaryOpSymbol$23 = $T($S($EXPECT($L69, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
|
|
6461
6524
|
return "||";
|
|
6462
6525
|
});
|
|
6463
|
-
var BinaryOpSymbol$
|
|
6464
|
-
var BinaryOpSymbol$
|
|
6465
|
-
var BinaryOpSymbol$
|
|
6526
|
+
var BinaryOpSymbol$24 = $EXPECT($L70, fail, 'BinaryOpSymbol "||"');
|
|
6527
|
+
var BinaryOpSymbol$25 = $EXPECT($L71, fail, 'BinaryOpSymbol "??"');
|
|
6528
|
+
var BinaryOpSymbol$26 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L1, fail, 'BinaryOpSymbol "?"')), function(value) {
|
|
6466
6529
|
return "??";
|
|
6467
6530
|
});
|
|
6468
|
-
var BinaryOpSymbol$
|
|
6531
|
+
var BinaryOpSymbol$27 = $TS($S($EXPECT($L72, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
6469
6532
|
return $1;
|
|
6470
6533
|
});
|
|
6471
|
-
var BinaryOpSymbol$
|
|
6534
|
+
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) {
|
|
6472
6535
|
return {
|
|
6473
6536
|
$loc,
|
|
6474
6537
|
token: "instanceof",
|
|
6475
6538
|
special: true
|
|
6476
6539
|
};
|
|
6477
6540
|
});
|
|
6478
|
-
var BinaryOpSymbol$
|
|
6541
|
+
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) {
|
|
6479
6542
|
return {
|
|
6480
6543
|
$loc,
|
|
6481
6544
|
token: "in",
|
|
6482
6545
|
special: true
|
|
6483
6546
|
};
|
|
6484
6547
|
});
|
|
6485
|
-
var BinaryOpSymbol$
|
|
6548
|
+
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) {
|
|
6486
6549
|
return {
|
|
6487
6550
|
call: [module.getRef("indexOf"), ".call"],
|
|
6488
6551
|
relational: true,
|
|
@@ -6491,7 +6554,7 @@ ${input.slice(result.pos)}
|
|
|
6491
6554
|
special: true
|
|
6492
6555
|
};
|
|
6493
6556
|
});
|
|
6494
|
-
var BinaryOpSymbol$
|
|
6557
|
+
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) {
|
|
6495
6558
|
return {
|
|
6496
6559
|
call: [module.getRef("indexOf"), ".call"],
|
|
6497
6560
|
relational: true,
|
|
@@ -6500,18 +6563,18 @@ ${input.slice(result.pos)}
|
|
|
6500
6563
|
special: true
|
|
6501
6564
|
};
|
|
6502
6565
|
});
|
|
6503
|
-
var BinaryOpSymbol$
|
|
6566
|
+
var BinaryOpSymbol$32 = $T($S($N(CoffeeNotEnabled), $EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L73, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function(value) {
|
|
6504
6567
|
return "!==";
|
|
6505
6568
|
});
|
|
6506
|
-
var BinaryOpSymbol$
|
|
6569
|
+
var BinaryOpSymbol$33 = $T($S($EXPECT($L75, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function(value) {
|
|
6507
6570
|
return "===";
|
|
6508
6571
|
});
|
|
6509
|
-
var BinaryOpSymbol$
|
|
6572
|
+
var BinaryOpSymbol$34 = $TS($S($EXPECT($L74, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
6510
6573
|
return $1;
|
|
6511
6574
|
});
|
|
6512
|
-
var BinaryOpSymbol$
|
|
6513
|
-
var BinaryOpSymbol$
|
|
6514
|
-
var BinaryOpSymbol$
|
|
6575
|
+
var BinaryOpSymbol$35 = $EXPECT($L76, fail, 'BinaryOpSymbol "&"');
|
|
6576
|
+
var BinaryOpSymbol$36 = $EXPECT($L77, fail, 'BinaryOpSymbol "^"');
|
|
6577
|
+
var BinaryOpSymbol$37 = $EXPECT($L78, fail, 'BinaryOpSymbol "|"');
|
|
6515
6578
|
function BinaryOpSymbol(state) {
|
|
6516
6579
|
let eventData;
|
|
6517
6580
|
if (state.events) {
|
|
@@ -6523,12 +6586,12 @@ ${input.slice(result.pos)}
|
|
|
6523
6586
|
}
|
|
6524
6587
|
}
|
|
6525
6588
|
if (state.tokenize) {
|
|
6526
|
-
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));
|
|
6589
|
+
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));
|
|
6527
6590
|
if (state.events)
|
|
6528
6591
|
state.events.exit?.("BinaryOpSymbol", state, result, eventData);
|
|
6529
6592
|
return result;
|
|
6530
6593
|
} else {
|
|
6531
|
-
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);
|
|
6594
|
+
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);
|
|
6532
6595
|
if (state.events)
|
|
6533
6596
|
state.events.exit?.("BinaryOpSymbol", state, result, eventData);
|
|
6534
6597
|
return result;
|
|
@@ -6674,7 +6737,7 @@ ${input.slice(result.pos)}
|
|
|
6674
6737
|
return result;
|
|
6675
6738
|
}
|
|
6676
6739
|
}
|
|
6677
|
-
var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($
|
|
6740
|
+
var EmptyStatement$0 = $T($S($Q(TrailingComment), $Y($EXPECT($L79, fail, 'EmptyStatement ";"'))), function(value) {
|
|
6678
6741
|
return { "type": "EmptyStatement", "children": value[0] };
|
|
6679
6742
|
});
|
|
6680
6743
|
function EmptyStatement(state) {
|
|
@@ -6699,7 +6762,7 @@ ${input.slice(result.pos)}
|
|
|
6699
6762
|
return result;
|
|
6700
6763
|
}
|
|
6701
6764
|
}
|
|
6702
|
-
var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($
|
|
6765
|
+
var BlockStatement$0 = $T($S(ExplicitBlock, $N($S(__, $EXPECT($L26, fail, 'BlockStatement "="')))), function(value) {
|
|
6703
6766
|
return value[0];
|
|
6704
6767
|
});
|
|
6705
6768
|
function BlockStatement(state) {
|
|
@@ -7626,7 +7689,7 @@ ${input.slice(result.pos)}
|
|
|
7626
7689
|
return result;
|
|
7627
7690
|
}
|
|
7628
7691
|
}
|
|
7629
|
-
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($
|
|
7692
|
+
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L80, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
|
|
7630
7693
|
var own = $1;
|
|
7631
7694
|
var binding = $2;
|
|
7632
7695
|
return {
|
|
@@ -7826,7 +7889,8 @@ ${input.slice(result.pos)}
|
|
|
7826
7889
|
}
|
|
7827
7890
|
return {
|
|
7828
7891
|
type: "SwitchStatement",
|
|
7829
|
-
children: $0
|
|
7892
|
+
children: $0,
|
|
7893
|
+
caseBlock
|
|
7830
7894
|
};
|
|
7831
7895
|
});
|
|
7832
7896
|
function SwitchStatement(state) {
|
|
@@ -7886,8 +7950,8 @@ ${input.slice(result.pos)}
|
|
|
7886
7950
|
var e = $0;
|
|
7887
7951
|
return {
|
|
7888
7952
|
type: "SwitchExpression",
|
|
7889
|
-
|
|
7890
|
-
|
|
7953
|
+
children: ["(()=>{", e.children, "})()"],
|
|
7954
|
+
caseBlock: e.children[2]
|
|
7891
7955
|
};
|
|
7892
7956
|
});
|
|
7893
7957
|
function SwitchExpression(state) {
|
|
@@ -7981,9 +8045,10 @@ ${input.slice(result.pos)}
|
|
|
7981
8045
|
var NestedCaseClause$0 = $TS($S(Nested, CaseClause), function($skip, $loc, $0, $1, $2) {
|
|
7982
8046
|
var indent = $1;
|
|
7983
8047
|
var clause = $2;
|
|
7984
|
-
return
|
|
8048
|
+
return {
|
|
8049
|
+
...clause,
|
|
7985
8050
|
children: [indent, ...clause.children]
|
|
7986
|
-
}
|
|
8051
|
+
};
|
|
7987
8052
|
});
|
|
7988
8053
|
function NestedCaseClause(state) {
|
|
7989
8054
|
let eventData;
|
|
@@ -8093,7 +8158,7 @@ ${input.slice(result.pos)}
|
|
|
8093
8158
|
return result;
|
|
8094
8159
|
}
|
|
8095
8160
|
}
|
|
8096
|
-
var NoExpressions$0 = $T($EXPECT($
|
|
8161
|
+
var NoExpressions$0 = $T($EXPECT($L14, fail, 'NoExpressions ""'), function(value) {
|
|
8097
8162
|
return [];
|
|
8098
8163
|
});
|
|
8099
8164
|
function NoExpressions(state) {
|
|
@@ -8119,7 +8184,7 @@ ${input.slice(result.pos)}
|
|
|
8119
8184
|
}
|
|
8120
8185
|
}
|
|
8121
8186
|
var ImpliedColon$0 = $S(__, Colon);
|
|
8122
|
-
var ImpliedColon$1 = $TV($EXPECT($
|
|
8187
|
+
var ImpliedColon$1 = $TV($EXPECT($L14, fail, 'ImpliedColon ""'), function($skip, $loc, $0, $1) {
|
|
8123
8188
|
return { $loc, token: ":" };
|
|
8124
8189
|
});
|
|
8125
8190
|
function ImpliedColon(state) {
|
|
@@ -8259,7 +8324,7 @@ ${input.slice(result.pos)}
|
|
|
8259
8324
|
return result;
|
|
8260
8325
|
}
|
|
8261
8326
|
}
|
|
8262
|
-
var Finally$0 = $S(__, $EXPECT($
|
|
8327
|
+
var Finally$0 = $S(__, $EXPECT($L81, fail, 'Finally "finally"'), NonIdContinue, BracedBlock);
|
|
8263
8328
|
function Finally(state) {
|
|
8264
8329
|
let eventData;
|
|
8265
8330
|
if (state.events) {
|
|
@@ -8371,7 +8436,7 @@ ${input.slice(result.pos)}
|
|
|
8371
8436
|
return result;
|
|
8372
8437
|
}
|
|
8373
8438
|
}
|
|
8374
|
-
var SuppressIndentedApplication$0 = $TV($EXPECT($
|
|
8439
|
+
var SuppressIndentedApplication$0 = $TV($EXPECT($L14, fail, 'SuppressIndentedApplication ""'), function($skip, $loc, $0, $1) {
|
|
8375
8440
|
module.suppressIndentedApplication = true;
|
|
8376
8441
|
});
|
|
8377
8442
|
function SuppressIndentedApplication(state) {
|
|
@@ -8396,6 +8461,84 @@ ${input.slice(result.pos)}
|
|
|
8396
8461
|
return result;
|
|
8397
8462
|
}
|
|
8398
8463
|
}
|
|
8464
|
+
var IndentedApplicationAllowed$0 = $TV($EXPECT($L14, fail, 'IndentedApplicationAllowed ""'), function($skip, $loc, $0, $1) {
|
|
8465
|
+
if (module.suppressIndentedApplication)
|
|
8466
|
+
return $skip;
|
|
8467
|
+
return;
|
|
8468
|
+
});
|
|
8469
|
+
function IndentedApplicationAllowed(state) {
|
|
8470
|
+
let eventData;
|
|
8471
|
+
if (state.events) {
|
|
8472
|
+
const result = state.events.enter?.("IndentedApplicationAllowed", state);
|
|
8473
|
+
if (result) {
|
|
8474
|
+
if (result.cache)
|
|
8475
|
+
return result.cache;
|
|
8476
|
+
eventData = result.data;
|
|
8477
|
+
}
|
|
8478
|
+
}
|
|
8479
|
+
if (state.tokenize) {
|
|
8480
|
+
const result = $TOKEN("IndentedApplicationAllowed", state, IndentedApplicationAllowed$0(state));
|
|
8481
|
+
if (state.events)
|
|
8482
|
+
state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
|
|
8483
|
+
return result;
|
|
8484
|
+
} else {
|
|
8485
|
+
const result = IndentedApplicationAllowed$0(state);
|
|
8486
|
+
if (state.events)
|
|
8487
|
+
state.events.exit?.("IndentedApplicationAllowed", state, result, eventData);
|
|
8488
|
+
return result;
|
|
8489
|
+
}
|
|
8490
|
+
}
|
|
8491
|
+
var SuppressTrailingMemberProperty$0 = $TV($EXPECT($L14, fail, 'SuppressTrailingMemberProperty ""'), function($skip, $loc, $0, $1) {
|
|
8492
|
+
module.suppressTrailingMemberProperty.push(true);
|
|
8493
|
+
});
|
|
8494
|
+
function SuppressTrailingMemberProperty(state) {
|
|
8495
|
+
let eventData;
|
|
8496
|
+
if (state.events) {
|
|
8497
|
+
const result = state.events.enter?.("SuppressTrailingMemberProperty", state);
|
|
8498
|
+
if (result) {
|
|
8499
|
+
if (result.cache)
|
|
8500
|
+
return result.cache;
|
|
8501
|
+
eventData = result.data;
|
|
8502
|
+
}
|
|
8503
|
+
}
|
|
8504
|
+
if (state.tokenize) {
|
|
8505
|
+
const result = $TOKEN("SuppressTrailingMemberProperty", state, SuppressTrailingMemberProperty$0(state));
|
|
8506
|
+
if (state.events)
|
|
8507
|
+
state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
|
|
8508
|
+
return result;
|
|
8509
|
+
} else {
|
|
8510
|
+
const result = SuppressTrailingMemberProperty$0(state);
|
|
8511
|
+
if (state.events)
|
|
8512
|
+
state.events.exit?.("SuppressTrailingMemberProperty", state, result, eventData);
|
|
8513
|
+
return result;
|
|
8514
|
+
}
|
|
8515
|
+
}
|
|
8516
|
+
var TrailingMemberPropertyAllowed$0 = $TV($EXPECT($L14, fail, 'TrailingMemberPropertyAllowed ""'), function($skip, $loc, $0, $1) {
|
|
8517
|
+
if (module.trailingMemberPropertySuppressed)
|
|
8518
|
+
return $skip;
|
|
8519
|
+
});
|
|
8520
|
+
function TrailingMemberPropertyAllowed(state) {
|
|
8521
|
+
let eventData;
|
|
8522
|
+
if (state.events) {
|
|
8523
|
+
const result = state.events.enter?.("TrailingMemberPropertyAllowed", state);
|
|
8524
|
+
if (result) {
|
|
8525
|
+
if (result.cache)
|
|
8526
|
+
return result.cache;
|
|
8527
|
+
eventData = result.data;
|
|
8528
|
+
}
|
|
8529
|
+
}
|
|
8530
|
+
if (state.tokenize) {
|
|
8531
|
+
const result = $TOKEN("TrailingMemberPropertyAllowed", state, TrailingMemberPropertyAllowed$0(state));
|
|
8532
|
+
if (state.events)
|
|
8533
|
+
state.events.exit?.("TrailingMemberPropertyAllowed", state, result, eventData);
|
|
8534
|
+
return result;
|
|
8535
|
+
} else {
|
|
8536
|
+
const result = TrailingMemberPropertyAllowed$0(state);
|
|
8537
|
+
if (state.events)
|
|
8538
|
+
state.events.exit?.("TrailingMemberPropertyAllowed", state, result, eventData);
|
|
8539
|
+
return result;
|
|
8540
|
+
}
|
|
8541
|
+
}
|
|
8399
8542
|
var ExpressionStatement$0 = Expression;
|
|
8400
8543
|
function ExpressionStatement(state) {
|
|
8401
8544
|
let eventData;
|
|
@@ -8419,13 +8562,13 @@ ${input.slice(result.pos)}
|
|
|
8419
8562
|
return result;
|
|
8420
8563
|
}
|
|
8421
8564
|
}
|
|
8422
|
-
var KeywordStatement$0 = $T($S($EXPECT($
|
|
8565
|
+
var KeywordStatement$0 = $T($S($EXPECT($L82, fail, 'KeywordStatement "break"'), NonIdContinue), function(value) {
|
|
8423
8566
|
return { "type": "BreakStatement", "children": value };
|
|
8424
8567
|
});
|
|
8425
|
-
var KeywordStatement$1 = $T($S($EXPECT($
|
|
8568
|
+
var KeywordStatement$1 = $T($S($EXPECT($L83, fail, 'KeywordStatement "continue"'), NonIdContinue), function(value) {
|
|
8426
8569
|
return { "type": "ContinueStatement", "children": value };
|
|
8427
8570
|
});
|
|
8428
|
-
var KeywordStatement$2 = $T($S($EXPECT($
|
|
8571
|
+
var KeywordStatement$2 = $T($S($EXPECT($L84, fail, 'KeywordStatement "debugger"'), NonIdContinue), function(value) {
|
|
8429
8572
|
return { "type": "DebuggerStatement", "children": value };
|
|
8430
8573
|
});
|
|
8431
8574
|
var KeywordStatement$3 = $T($S(Return, $E(MaybeNestedExpression)), function(value) {
|
|
@@ -8456,7 +8599,7 @@ ${input.slice(result.pos)}
|
|
|
8456
8599
|
return result;
|
|
8457
8600
|
}
|
|
8458
8601
|
}
|
|
8459
|
-
var DebuggerExpression$0 = $TS($S($EXPECT($
|
|
8602
|
+
var DebuggerExpression$0 = $TS($S($EXPECT($L84, fail, 'DebuggerExpression "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
8460
8603
|
return {
|
|
8461
8604
|
type: "DebuggerExpression",
|
|
8462
8605
|
children: ["(()=>{", $1, "})()"]
|
|
@@ -8579,7 +8722,7 @@ ${input.slice(result.pos)}
|
|
|
8579
8722
|
return result;
|
|
8580
8723
|
}
|
|
8581
8724
|
}
|
|
8582
|
-
var ImpliedImport$0 = $TV($EXPECT($
|
|
8725
|
+
var ImpliedImport$0 = $TV($EXPECT($L14, fail, 'ImpliedImport ""'), function($skip, $loc, $0, $1) {
|
|
8583
8726
|
return { $loc, token: "import " };
|
|
8584
8727
|
});
|
|
8585
8728
|
function ImpliedImport(state) {
|
|
@@ -8792,7 +8935,7 @@ ${input.slice(result.pos)}
|
|
|
8792
8935
|
}
|
|
8793
8936
|
}
|
|
8794
8937
|
var ImportAsToken$0 = $S(__, As);
|
|
8795
|
-
var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($
|
|
8938
|
+
var ImportAsToken$1 = $TS($S(Loc, __, Colon, $E($EXPECT($L6, fail, 'ImportAsToken " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
8796
8939
|
var l = $1;
|
|
8797
8940
|
var ws = $2;
|
|
8798
8941
|
var c = $3;
|
|
@@ -8952,7 +9095,7 @@ ${input.slice(result.pos)}
|
|
|
8952
9095
|
return result;
|
|
8953
9096
|
}
|
|
8954
9097
|
}
|
|
8955
|
-
var ExportDeclaration$0 = $S(Export, __, $EXPECT($
|
|
9098
|
+
var ExportDeclaration$0 = $S(Export, __, $EXPECT($L85, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
|
|
8956
9099
|
var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
8957
9100
|
if (!$3.ts)
|
|
8958
9101
|
return $0;
|
|
@@ -9114,7 +9257,7 @@ ${input.slice(result.pos)}
|
|
|
9114
9257
|
return result;
|
|
9115
9258
|
}
|
|
9116
9259
|
}
|
|
9117
|
-
var ImplicitExportSpecifier$0 = $S($N($EXPECT($
|
|
9260
|
+
var ImplicitExportSpecifier$0 = $S($N($EXPECT($L85, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
|
|
9118
9261
|
function ImplicitExportSpecifier(state) {
|
|
9119
9262
|
let eventData;
|
|
9120
9263
|
if (state.events) {
|
|
@@ -9285,7 +9428,7 @@ ${input.slice(result.pos)}
|
|
|
9285
9428
|
return result;
|
|
9286
9429
|
}
|
|
9287
9430
|
}
|
|
9288
|
-
var ConstAssignment$0 = $TV($EXPECT($
|
|
9431
|
+
var ConstAssignment$0 = $TV($EXPECT($L86, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
|
|
9289
9432
|
return { $loc, token: "=" };
|
|
9290
9433
|
});
|
|
9291
9434
|
function ConstAssignment(state) {
|
|
@@ -9310,7 +9453,7 @@ ${input.slice(result.pos)}
|
|
|
9310
9453
|
return result;
|
|
9311
9454
|
}
|
|
9312
9455
|
}
|
|
9313
|
-
var LetAssignment$0 = $TV($EXPECT($
|
|
9456
|
+
var LetAssignment$0 = $TV($EXPECT($L87, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
|
|
9314
9457
|
return { $loc, token: "=" };
|
|
9315
9458
|
});
|
|
9316
9459
|
function LetAssignment(state) {
|
|
@@ -9960,7 +10103,7 @@ ${input.slice(result.pos)}
|
|
|
9960
10103
|
}
|
|
9961
10104
|
}
|
|
9962
10105
|
var RegularExpressionLiteral$0 = HeregexLiteral;
|
|
9963
|
-
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($
|
|
10106
|
+
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L50, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
|
|
9964
10107
|
return { $loc, token: $1 };
|
|
9965
10108
|
});
|
|
9966
10109
|
function RegularExpressionLiteral(state) {
|
|
@@ -10363,7 +10506,7 @@ ${input.slice(result.pos)}
|
|
|
10363
10506
|
var ReservedWord$2 = $S(CoffeeForLoopsEnabled, $R$0($EXPECT($R34, fail, "ReservedWord /(?:by)(?!\\p{ID_Continue})/")));
|
|
10364
10507
|
var ReservedWord$3 = $S(CoffeeOfEnabled, $R$0($EXPECT($R35, fail, "ReservedWord /(?:of)(?!\\p{ID_Continue})/")));
|
|
10365
10508
|
var ReservedWord$4 = $S(CoffeeNotEnabled, $R$0($EXPECT($R36, fail, "ReservedWord /(?:not)(?!\\p{ID_Continue})/")));
|
|
10366
|
-
var ReservedWord$5 = $S($EXPECT($
|
|
10509
|
+
var ReservedWord$5 = $S($EXPECT($L73, fail, 'ReservedWord "not"'), NonIdContinue, __, $EXPECT($L74, fail, 'ReservedWord "in"'), NonIdContinue);
|
|
10367
10510
|
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})/"));
|
|
10368
10511
|
function ReservedWord(state) {
|
|
10369
10512
|
let eventData;
|
|
@@ -10484,7 +10627,7 @@ ${input.slice(result.pos)}
|
|
|
10484
10627
|
return result;
|
|
10485
10628
|
}
|
|
10486
10629
|
}
|
|
10487
|
-
var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($
|
|
10630
|
+
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) {
|
|
10488
10631
|
return { $loc, token: $1 };
|
|
10489
10632
|
});
|
|
10490
10633
|
function JSMultiLineComment(state) {
|
|
@@ -10534,7 +10677,7 @@ ${input.slice(result.pos)}
|
|
|
10534
10677
|
return result;
|
|
10535
10678
|
}
|
|
10536
10679
|
}
|
|
10537
|
-
var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($
|
|
10680
|
+
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) {
|
|
10538
10681
|
return { $loc, token: `/*${$2}*/` };
|
|
10539
10682
|
});
|
|
10540
10683
|
function CoffeeMultiLineComment(state) {
|
|
@@ -10582,7 +10725,7 @@ ${input.slice(result.pos)}
|
|
|
10582
10725
|
return result;
|
|
10583
10726
|
}
|
|
10584
10727
|
}
|
|
10585
|
-
var InlineComment$0 = $TV($TEXT($S($EXPECT($
|
|
10728
|
+
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) {
|
|
10586
10729
|
return { $loc, token: $1 };
|
|
10587
10730
|
});
|
|
10588
10731
|
function InlineComment(state) {
|
|
@@ -10681,7 +10824,7 @@ ${input.slice(result.pos)}
|
|
|
10681
10824
|
var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
10682
10825
|
return { $loc, token: $0 };
|
|
10683
10826
|
});
|
|
10684
|
-
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($
|
|
10827
|
+
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L90, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
|
|
10685
10828
|
return "";
|
|
10686
10829
|
});
|
|
10687
10830
|
function NonNewlineWhitespace(state) {
|
|
@@ -10706,6 +10849,32 @@ ${input.slice(result.pos)}
|
|
|
10706
10849
|
return result;
|
|
10707
10850
|
}
|
|
10708
10851
|
}
|
|
10852
|
+
var Trimmed_$0 = $TV($Q(_), function($skip, $loc, $0, $1) {
|
|
10853
|
+
var ws = $0;
|
|
10854
|
+
return module.insertTrimmingSpace(ws, "");
|
|
10855
|
+
});
|
|
10856
|
+
function Trimmed_(state) {
|
|
10857
|
+
let eventData;
|
|
10858
|
+
if (state.events) {
|
|
10859
|
+
const result = state.events.enter?.("Trimmed_", state);
|
|
10860
|
+
if (result) {
|
|
10861
|
+
if (result.cache)
|
|
10862
|
+
return result.cache;
|
|
10863
|
+
eventData = result.data;
|
|
10864
|
+
}
|
|
10865
|
+
}
|
|
10866
|
+
if (state.tokenize) {
|
|
10867
|
+
const result = $TOKEN("Trimmed_", state, Trimmed_$0(state));
|
|
10868
|
+
if (state.events)
|
|
10869
|
+
state.events.exit?.("Trimmed_", state, result, eventData);
|
|
10870
|
+
return result;
|
|
10871
|
+
} else {
|
|
10872
|
+
const result = Trimmed_$0(state);
|
|
10873
|
+
if (state.events)
|
|
10874
|
+
state.events.exit?.("Trimmed_", state, result, eventData);
|
|
10875
|
+
return result;
|
|
10876
|
+
}
|
|
10877
|
+
}
|
|
10709
10878
|
var __$0 = $Q($C(Whitespace, Comment));
|
|
10710
10879
|
function __(state) {
|
|
10711
10880
|
let eventData;
|
|
@@ -10857,7 +11026,7 @@ ${input.slice(result.pos)}
|
|
|
10857
11026
|
return result;
|
|
10858
11027
|
}
|
|
10859
11028
|
}
|
|
10860
|
-
var Loc$0 = $TV($EXPECT($
|
|
11029
|
+
var Loc$0 = $TV($EXPECT($L14, fail, 'Loc ""'), function($skip, $loc, $0, $1) {
|
|
10861
11030
|
return { $loc, token: "" };
|
|
10862
11031
|
});
|
|
10863
11032
|
function Loc(state) {
|
|
@@ -10882,7 +11051,7 @@ ${input.slice(result.pos)}
|
|
|
10882
11051
|
return result;
|
|
10883
11052
|
}
|
|
10884
11053
|
}
|
|
10885
|
-
var Abstract$0 = $TV($TEXT($S($EXPECT($
|
|
11054
|
+
var Abstract$0 = $TV($TEXT($S($EXPECT($L91, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
|
|
10886
11055
|
return { $loc, token: $1, ts: true };
|
|
10887
11056
|
});
|
|
10888
11057
|
function Abstract(state) {
|
|
@@ -10907,7 +11076,7 @@ ${input.slice(result.pos)}
|
|
|
10907
11076
|
return result;
|
|
10908
11077
|
}
|
|
10909
11078
|
}
|
|
10910
|
-
var Ampersand$0 = $TV($EXPECT($
|
|
11079
|
+
var Ampersand$0 = $TV($EXPECT($L76, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
|
|
10911
11080
|
return { $loc, token: $1 };
|
|
10912
11081
|
});
|
|
10913
11082
|
function Ampersand(state) {
|
|
@@ -10932,7 +11101,7 @@ ${input.slice(result.pos)}
|
|
|
10932
11101
|
return result;
|
|
10933
11102
|
}
|
|
10934
11103
|
}
|
|
10935
|
-
var As$0 = $TS($S($EXPECT($
|
|
11104
|
+
var As$0 = $TS($S($EXPECT($L92, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
10936
11105
|
return { $loc, token: $1 };
|
|
10937
11106
|
});
|
|
10938
11107
|
function As(state) {
|
|
@@ -10957,7 +11126,7 @@ ${input.slice(result.pos)}
|
|
|
10957
11126
|
return result;
|
|
10958
11127
|
}
|
|
10959
11128
|
}
|
|
10960
|
-
var At$0 = $TV($EXPECT($
|
|
11129
|
+
var At$0 = $TV($EXPECT($L93, fail, 'At "@"'), function($skip, $loc, $0, $1) {
|
|
10961
11130
|
return { $loc, token: $1 };
|
|
10962
11131
|
});
|
|
10963
11132
|
function At(state) {
|
|
@@ -10982,7 +11151,7 @@ ${input.slice(result.pos)}
|
|
|
10982
11151
|
return result;
|
|
10983
11152
|
}
|
|
10984
11153
|
}
|
|
10985
|
-
var AtAt$0 = $TV($EXPECT($
|
|
11154
|
+
var AtAt$0 = $TV($EXPECT($L94, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
|
|
10986
11155
|
return { $loc, token: "@" };
|
|
10987
11156
|
});
|
|
10988
11157
|
function AtAt(state) {
|
|
@@ -11007,7 +11176,7 @@ ${input.slice(result.pos)}
|
|
|
11007
11176
|
return result;
|
|
11008
11177
|
}
|
|
11009
11178
|
}
|
|
11010
|
-
var Async$0 = $TS($S($EXPECT($
|
|
11179
|
+
var Async$0 = $TS($S($EXPECT($L95, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11011
11180
|
return { $loc, token: $1, type: "Async" };
|
|
11012
11181
|
});
|
|
11013
11182
|
function Async(state) {
|
|
@@ -11032,7 +11201,7 @@ ${input.slice(result.pos)}
|
|
|
11032
11201
|
return result;
|
|
11033
11202
|
}
|
|
11034
11203
|
}
|
|
11035
|
-
var Await$0 = $TS($S($EXPECT($
|
|
11204
|
+
var Await$0 = $TS($S($EXPECT($L96, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11036
11205
|
return { $loc, token: $1 };
|
|
11037
11206
|
});
|
|
11038
11207
|
function Await(state) {
|
|
@@ -11057,7 +11226,7 @@ ${input.slice(result.pos)}
|
|
|
11057
11226
|
return result;
|
|
11058
11227
|
}
|
|
11059
11228
|
}
|
|
11060
|
-
var Backtick$0 = $TV($EXPECT($
|
|
11229
|
+
var Backtick$0 = $TV($EXPECT($L97, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
|
|
11061
11230
|
return { $loc, token: $1 };
|
|
11062
11231
|
});
|
|
11063
11232
|
function Backtick(state) {
|
|
@@ -11082,7 +11251,7 @@ ${input.slice(result.pos)}
|
|
|
11082
11251
|
return result;
|
|
11083
11252
|
}
|
|
11084
11253
|
}
|
|
11085
|
-
var By$0 = $TS($S($EXPECT($
|
|
11254
|
+
var By$0 = $TS($S($EXPECT($L98, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11086
11255
|
return { $loc, token: $1 };
|
|
11087
11256
|
});
|
|
11088
11257
|
function By(state) {
|
|
@@ -11107,7 +11276,7 @@ ${input.slice(result.pos)}
|
|
|
11107
11276
|
return result;
|
|
11108
11277
|
}
|
|
11109
11278
|
}
|
|
11110
|
-
var Case$0 = $TS($S($EXPECT($
|
|
11279
|
+
var Case$0 = $TS($S($EXPECT($L99, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11111
11280
|
return { $loc, token: $1 };
|
|
11112
11281
|
});
|
|
11113
11282
|
function Case(state) {
|
|
@@ -11132,7 +11301,7 @@ ${input.slice(result.pos)}
|
|
|
11132
11301
|
return result;
|
|
11133
11302
|
}
|
|
11134
11303
|
}
|
|
11135
|
-
var Catch$0 = $TS($S($EXPECT($
|
|
11304
|
+
var Catch$0 = $TS($S($EXPECT($L100, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11136
11305
|
return { $loc, token: $1 };
|
|
11137
11306
|
});
|
|
11138
11307
|
function Catch(state) {
|
|
@@ -11157,7 +11326,7 @@ ${input.slice(result.pos)}
|
|
|
11157
11326
|
return result;
|
|
11158
11327
|
}
|
|
11159
11328
|
}
|
|
11160
|
-
var Class$0 = $TS($S($EXPECT($
|
|
11329
|
+
var Class$0 = $TS($S($EXPECT($L101, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11161
11330
|
return { $loc, token: $1 };
|
|
11162
11331
|
});
|
|
11163
11332
|
function Class(state) {
|
|
@@ -11182,7 +11351,7 @@ ${input.slice(result.pos)}
|
|
|
11182
11351
|
return result;
|
|
11183
11352
|
}
|
|
11184
11353
|
}
|
|
11185
|
-
var CloseBrace$0 = $TV($EXPECT($
|
|
11354
|
+
var CloseBrace$0 = $TV($EXPECT($L17, fail, 'CloseBrace "}"'), function($skip, $loc, $0, $1) {
|
|
11186
11355
|
return { $loc, token: $1 };
|
|
11187
11356
|
});
|
|
11188
11357
|
function CloseBrace(state) {
|
|
@@ -11207,7 +11376,7 @@ ${input.slice(result.pos)}
|
|
|
11207
11376
|
return result;
|
|
11208
11377
|
}
|
|
11209
11378
|
}
|
|
11210
|
-
var CloseBracket$0 = $TV($EXPECT($
|
|
11379
|
+
var CloseBracket$0 = $TV($EXPECT($L28, fail, 'CloseBracket "]"'), function($skip, $loc, $0, $1) {
|
|
11211
11380
|
return { $loc, token: $1 };
|
|
11212
11381
|
});
|
|
11213
11382
|
function CloseBracket(state) {
|
|
@@ -11232,7 +11401,7 @@ ${input.slice(result.pos)}
|
|
|
11232
11401
|
return result;
|
|
11233
11402
|
}
|
|
11234
11403
|
}
|
|
11235
|
-
var CloseParen$0 = $TV($EXPECT($
|
|
11404
|
+
var CloseParen$0 = $TV($EXPECT($L15, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
|
|
11236
11405
|
return { $loc, token: $1 };
|
|
11237
11406
|
});
|
|
11238
11407
|
function CloseParen(state) {
|
|
@@ -11257,7 +11426,7 @@ ${input.slice(result.pos)}
|
|
|
11257
11426
|
return result;
|
|
11258
11427
|
}
|
|
11259
11428
|
}
|
|
11260
|
-
var CoffeeSubstitutionStart$0 = $TV($EXPECT($
|
|
11429
|
+
var CoffeeSubstitutionStart$0 = $TV($EXPECT($L102, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
|
|
11261
11430
|
return { $loc, token: "${" };
|
|
11262
11431
|
});
|
|
11263
11432
|
function CoffeeSubstitutionStart(state) {
|
|
@@ -11282,7 +11451,7 @@ ${input.slice(result.pos)}
|
|
|
11282
11451
|
return result;
|
|
11283
11452
|
}
|
|
11284
11453
|
}
|
|
11285
|
-
var Colon$0 = $TV($EXPECT($
|
|
11454
|
+
var Colon$0 = $TV($EXPECT($L29, fail, 'Colon ":"'), function($skip, $loc, $0, $1) {
|
|
11286
11455
|
return { $loc, token: $1 };
|
|
11287
11456
|
});
|
|
11288
11457
|
function Colon(state) {
|
|
@@ -11307,7 +11476,7 @@ ${input.slice(result.pos)}
|
|
|
11307
11476
|
return result;
|
|
11308
11477
|
}
|
|
11309
11478
|
}
|
|
11310
|
-
var ConstructorShorthand$0 = $TV($EXPECT($
|
|
11479
|
+
var ConstructorShorthand$0 = $TV($EXPECT($L93, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
|
|
11311
11480
|
return { $loc, token: "constructor" };
|
|
11312
11481
|
});
|
|
11313
11482
|
function ConstructorShorthand(state) {
|
|
@@ -11332,7 +11501,7 @@ ${input.slice(result.pos)}
|
|
|
11332
11501
|
return result;
|
|
11333
11502
|
}
|
|
11334
11503
|
}
|
|
11335
|
-
var Default$0 = $TS($S($EXPECT($
|
|
11504
|
+
var Default$0 = $TS($S($EXPECT($L85, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11336
11505
|
return { $loc, token: $1 };
|
|
11337
11506
|
});
|
|
11338
11507
|
function Default(state) {
|
|
@@ -11357,7 +11526,7 @@ ${input.slice(result.pos)}
|
|
|
11357
11526
|
return result;
|
|
11358
11527
|
}
|
|
11359
11528
|
}
|
|
11360
|
-
var Delete$0 = $TS($S($EXPECT($
|
|
11529
|
+
var Delete$0 = $TS($S($EXPECT($L103, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11361
11530
|
return { $loc, token: $1 };
|
|
11362
11531
|
});
|
|
11363
11532
|
function Delete(state) {
|
|
@@ -11382,7 +11551,7 @@ ${input.slice(result.pos)}
|
|
|
11382
11551
|
return result;
|
|
11383
11552
|
}
|
|
11384
11553
|
}
|
|
11385
|
-
var Do$0 = $TS($S($EXPECT($
|
|
11554
|
+
var Do$0 = $TS($S($EXPECT($L104, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11386
11555
|
return { $loc, token: $1 };
|
|
11387
11556
|
});
|
|
11388
11557
|
function Do(state) {
|
|
@@ -11407,7 +11576,7 @@ ${input.slice(result.pos)}
|
|
|
11407
11576
|
return result;
|
|
11408
11577
|
}
|
|
11409
11578
|
}
|
|
11410
|
-
var Dot$0 = $TV($EXPECT($
|
|
11579
|
+
var Dot$0 = $TV($EXPECT($L2, fail, 'Dot "."'), function($skip, $loc, $0, $1) {
|
|
11411
11580
|
return { $loc, token: $1 };
|
|
11412
11581
|
});
|
|
11413
11582
|
function Dot(state) {
|
|
@@ -11432,7 +11601,7 @@ ${input.slice(result.pos)}
|
|
|
11432
11601
|
return result;
|
|
11433
11602
|
}
|
|
11434
11603
|
}
|
|
11435
|
-
var DotDot$0 = $TV($EXPECT($
|
|
11604
|
+
var DotDot$0 = $TV($EXPECT($L105, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
|
|
11436
11605
|
return { $loc, token: $1 };
|
|
11437
11606
|
});
|
|
11438
11607
|
function DotDot(state) {
|
|
@@ -11457,7 +11626,7 @@ ${input.slice(result.pos)}
|
|
|
11457
11626
|
return result;
|
|
11458
11627
|
}
|
|
11459
11628
|
}
|
|
11460
|
-
var DotDotDot$0 = $TV($EXPECT($
|
|
11629
|
+
var DotDotDot$0 = $TV($EXPECT($L106, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
|
|
11461
11630
|
return { $loc, token: $1 };
|
|
11462
11631
|
});
|
|
11463
11632
|
function DotDotDot(state) {
|
|
@@ -11482,7 +11651,7 @@ ${input.slice(result.pos)}
|
|
|
11482
11651
|
return result;
|
|
11483
11652
|
}
|
|
11484
11653
|
}
|
|
11485
|
-
var DoubleColon$0 = $TV($EXPECT($
|
|
11654
|
+
var DoubleColon$0 = $TV($EXPECT($L107, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
|
|
11486
11655
|
return { $loc, token: $1 };
|
|
11487
11656
|
});
|
|
11488
11657
|
function DoubleColon(state) {
|
|
@@ -11507,7 +11676,7 @@ ${input.slice(result.pos)}
|
|
|
11507
11676
|
return result;
|
|
11508
11677
|
}
|
|
11509
11678
|
}
|
|
11510
|
-
var DoubleQuote$0 = $TV($EXPECT($
|
|
11679
|
+
var DoubleQuote$0 = $TV($EXPECT($L108, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
|
|
11511
11680
|
return { $loc, token: $1 };
|
|
11512
11681
|
});
|
|
11513
11682
|
function DoubleQuote(state) {
|
|
@@ -11532,7 +11701,7 @@ ${input.slice(result.pos)}
|
|
|
11532
11701
|
return result;
|
|
11533
11702
|
}
|
|
11534
11703
|
}
|
|
11535
|
-
var Else$0 = $TS($S($EXPECT($
|
|
11704
|
+
var Else$0 = $TS($S($EXPECT($L109, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11536
11705
|
return { $loc, token: $1 };
|
|
11537
11706
|
});
|
|
11538
11707
|
function Else(state) {
|
|
@@ -11557,7 +11726,7 @@ ${input.slice(result.pos)}
|
|
|
11557
11726
|
return result;
|
|
11558
11727
|
}
|
|
11559
11728
|
}
|
|
11560
|
-
var Equals$0 = $TV($EXPECT($
|
|
11729
|
+
var Equals$0 = $TV($EXPECT($L26, fail, 'Equals "="'), function($skip, $loc, $0, $1) {
|
|
11561
11730
|
return { $loc, token: $1 };
|
|
11562
11731
|
});
|
|
11563
11732
|
function Equals(state) {
|
|
@@ -11582,7 +11751,7 @@ ${input.slice(result.pos)}
|
|
|
11582
11751
|
return result;
|
|
11583
11752
|
}
|
|
11584
11753
|
}
|
|
11585
|
-
var Export$0 = $TS($S($EXPECT($
|
|
11754
|
+
var Export$0 = $TS($S($EXPECT($L110, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11586
11755
|
return { $loc, token: $1 };
|
|
11587
11756
|
});
|
|
11588
11757
|
function Export(state) {
|
|
@@ -11607,7 +11776,7 @@ ${input.slice(result.pos)}
|
|
|
11607
11776
|
return result;
|
|
11608
11777
|
}
|
|
11609
11778
|
}
|
|
11610
|
-
var Extends$0 = $TS($S($EXPECT($
|
|
11779
|
+
var Extends$0 = $TS($S($EXPECT($L111, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11611
11780
|
return { $loc, token: $1 };
|
|
11612
11781
|
});
|
|
11613
11782
|
function Extends(state) {
|
|
@@ -11632,7 +11801,7 @@ ${input.slice(result.pos)}
|
|
|
11632
11801
|
return result;
|
|
11633
11802
|
}
|
|
11634
11803
|
}
|
|
11635
|
-
var For$0 = $TS($S($EXPECT($
|
|
11804
|
+
var For$0 = $TS($S($EXPECT($L112, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11636
11805
|
return { $loc, token: $1 };
|
|
11637
11806
|
});
|
|
11638
11807
|
function For(state) {
|
|
@@ -11657,7 +11826,7 @@ ${input.slice(result.pos)}
|
|
|
11657
11826
|
return result;
|
|
11658
11827
|
}
|
|
11659
11828
|
}
|
|
11660
|
-
var From$0 = $TS($S($EXPECT($
|
|
11829
|
+
var From$0 = $TS($S($EXPECT($L113, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11661
11830
|
return { $loc, token: $1 };
|
|
11662
11831
|
});
|
|
11663
11832
|
function From(state) {
|
|
@@ -11682,7 +11851,7 @@ ${input.slice(result.pos)}
|
|
|
11682
11851
|
return result;
|
|
11683
11852
|
}
|
|
11684
11853
|
}
|
|
11685
|
-
var Function$0 = $TS($S($EXPECT($
|
|
11854
|
+
var Function$0 = $TS($S($EXPECT($L114, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11686
11855
|
return { $loc, token: $1 };
|
|
11687
11856
|
});
|
|
11688
11857
|
function Function(state) {
|
|
@@ -11707,7 +11876,7 @@ ${input.slice(result.pos)}
|
|
|
11707
11876
|
return result;
|
|
11708
11877
|
}
|
|
11709
11878
|
}
|
|
11710
|
-
var GetOrSet$0 = $TS($S($C($EXPECT($
|
|
11879
|
+
var GetOrSet$0 = $TS($S($C($EXPECT($L115, fail, 'GetOrSet "get"'), $EXPECT($L116, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11711
11880
|
return { $loc, token: $1, type: "GetOrSet" };
|
|
11712
11881
|
});
|
|
11713
11882
|
function GetOrSet(state) {
|
|
@@ -11732,7 +11901,7 @@ ${input.slice(result.pos)}
|
|
|
11732
11901
|
return result;
|
|
11733
11902
|
}
|
|
11734
11903
|
}
|
|
11735
|
-
var If$0 = $TV($TEXT($S($EXPECT($
|
|
11904
|
+
var If$0 = $TV($TEXT($S($EXPECT($L117, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
|
|
11736
11905
|
return { $loc, token: $1 };
|
|
11737
11906
|
});
|
|
11738
11907
|
function If(state) {
|
|
@@ -11757,7 +11926,7 @@ ${input.slice(result.pos)}
|
|
|
11757
11926
|
return result;
|
|
11758
11927
|
}
|
|
11759
11928
|
}
|
|
11760
|
-
var Import$0 = $TS($S($EXPECT($
|
|
11929
|
+
var Import$0 = $TS($S($EXPECT($L10, fail, 'Import "import"'), $Y($EXPECT($R45, fail, "Import /\\s/"))), function($skip, $loc, $0, $1, $2) {
|
|
11761
11930
|
return { $loc, token: $1 };
|
|
11762
11931
|
});
|
|
11763
11932
|
function Import(state) {
|
|
@@ -11782,7 +11951,7 @@ ${input.slice(result.pos)}
|
|
|
11782
11951
|
return result;
|
|
11783
11952
|
}
|
|
11784
11953
|
}
|
|
11785
|
-
var In$0 = $TS($S($EXPECT($
|
|
11954
|
+
var In$0 = $TS($S($EXPECT($L74, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11786
11955
|
return { $loc, token: $1 };
|
|
11787
11956
|
});
|
|
11788
11957
|
function In(state) {
|
|
@@ -11807,7 +11976,7 @@ ${input.slice(result.pos)}
|
|
|
11807
11976
|
return result;
|
|
11808
11977
|
}
|
|
11809
11978
|
}
|
|
11810
|
-
var LetOrConst$0 = $TS($S($C($EXPECT($
|
|
11979
|
+
var LetOrConst$0 = $TS($S($C($EXPECT($L118, fail, 'LetOrConst "let"'), $EXPECT($L119, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11811
11980
|
return { $loc, token: $1 };
|
|
11812
11981
|
});
|
|
11813
11982
|
function LetOrConst(state) {
|
|
@@ -11832,7 +12001,7 @@ ${input.slice(result.pos)}
|
|
|
11832
12001
|
return result;
|
|
11833
12002
|
}
|
|
11834
12003
|
}
|
|
11835
|
-
var Loop$0 = $TS($S($EXPECT($
|
|
12004
|
+
var Loop$0 = $TS($S($EXPECT($L120, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11836
12005
|
return { $loc, token: "while(true)" };
|
|
11837
12006
|
});
|
|
11838
12007
|
function Loop(state) {
|
|
@@ -11857,7 +12026,7 @@ ${input.slice(result.pos)}
|
|
|
11857
12026
|
return result;
|
|
11858
12027
|
}
|
|
11859
12028
|
}
|
|
11860
|
-
var New$0 = $TS($S($EXPECT($
|
|
12029
|
+
var New$0 = $TS($S($EXPECT($L121, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11861
12030
|
return { $loc, token: $1 };
|
|
11862
12031
|
});
|
|
11863
12032
|
function New(state) {
|
|
@@ -11882,7 +12051,7 @@ ${input.slice(result.pos)}
|
|
|
11882
12051
|
return result;
|
|
11883
12052
|
}
|
|
11884
12053
|
}
|
|
11885
|
-
var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($
|
|
12054
|
+
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) {
|
|
11886
12055
|
return { $loc, token: "!" };
|
|
11887
12056
|
});
|
|
11888
12057
|
function Not(state) {
|
|
@@ -11907,7 +12076,7 @@ ${input.slice(result.pos)}
|
|
|
11907
12076
|
return result;
|
|
11908
12077
|
}
|
|
11909
12078
|
}
|
|
11910
|
-
var Of$0 = $TS($S($EXPECT($
|
|
12079
|
+
var Of$0 = $TS($S($EXPECT($L68, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11911
12080
|
return { $loc, token: $1 };
|
|
11912
12081
|
});
|
|
11913
12082
|
function Of(state) {
|
|
@@ -11932,7 +12101,7 @@ ${input.slice(result.pos)}
|
|
|
11932
12101
|
return result;
|
|
11933
12102
|
}
|
|
11934
12103
|
}
|
|
11935
|
-
var OpenAngleBracket$0 = $TV($EXPECT($
|
|
12104
|
+
var OpenAngleBracket$0 = $TV($EXPECT($L122, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
|
|
11936
12105
|
return { $loc, token: $1 };
|
|
11937
12106
|
});
|
|
11938
12107
|
function OpenAngleBracket(state) {
|
|
@@ -11957,7 +12126,7 @@ ${input.slice(result.pos)}
|
|
|
11957
12126
|
return result;
|
|
11958
12127
|
}
|
|
11959
12128
|
}
|
|
11960
|
-
var OpenBrace$0 = $TV($EXPECT($
|
|
12129
|
+
var OpenBrace$0 = $TV($EXPECT($L123, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
|
|
11961
12130
|
return { $loc, token: $1 };
|
|
11962
12131
|
});
|
|
11963
12132
|
function OpenBrace(state) {
|
|
@@ -11982,7 +12151,7 @@ ${input.slice(result.pos)}
|
|
|
11982
12151
|
return result;
|
|
11983
12152
|
}
|
|
11984
12153
|
}
|
|
11985
|
-
var OpenBracket$0 = $TV($EXPECT($
|
|
12154
|
+
var OpenBracket$0 = $TV($EXPECT($L124, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
|
|
11986
12155
|
return { $loc, token: $1 };
|
|
11987
12156
|
});
|
|
11988
12157
|
function OpenBracket(state) {
|
|
@@ -12007,7 +12176,7 @@ ${input.slice(result.pos)}
|
|
|
12007
12176
|
return result;
|
|
12008
12177
|
}
|
|
12009
12178
|
}
|
|
12010
|
-
var OpenParen$0 = $TV($EXPECT($
|
|
12179
|
+
var OpenParen$0 = $TV($EXPECT($L125, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
|
|
12011
12180
|
return { $loc, token: $1 };
|
|
12012
12181
|
});
|
|
12013
12182
|
function OpenParen(state) {
|
|
@@ -12032,7 +12201,7 @@ ${input.slice(result.pos)}
|
|
|
12032
12201
|
return result;
|
|
12033
12202
|
}
|
|
12034
12203
|
}
|
|
12035
|
-
var Public$0 = $TS($S($EXPECT($
|
|
12204
|
+
var Public$0 = $TS($S($EXPECT($L126, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12036
12205
|
return { $loc, token: $1 };
|
|
12037
12206
|
});
|
|
12038
12207
|
function Public(state) {
|
|
@@ -12057,7 +12226,7 @@ ${input.slice(result.pos)}
|
|
|
12057
12226
|
return result;
|
|
12058
12227
|
}
|
|
12059
12228
|
}
|
|
12060
|
-
var Private$0 = $TS($S($EXPECT($
|
|
12229
|
+
var Private$0 = $TS($S($EXPECT($L127, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12061
12230
|
return { $loc, token: $1 };
|
|
12062
12231
|
});
|
|
12063
12232
|
function Private(state) {
|
|
@@ -12082,7 +12251,7 @@ ${input.slice(result.pos)}
|
|
|
12082
12251
|
return result;
|
|
12083
12252
|
}
|
|
12084
12253
|
}
|
|
12085
|
-
var Protected$0 = $TS($S($EXPECT($
|
|
12254
|
+
var Protected$0 = $TS($S($EXPECT($L128, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12086
12255
|
return { $loc, token: $1 };
|
|
12087
12256
|
});
|
|
12088
12257
|
function Protected(state) {
|
|
@@ -12107,7 +12276,7 @@ ${input.slice(result.pos)}
|
|
|
12107
12276
|
return result;
|
|
12108
12277
|
}
|
|
12109
12278
|
}
|
|
12110
|
-
var Pipe$0 = $TV($EXPECT($
|
|
12279
|
+
var Pipe$0 = $TV($EXPECT($L129, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
|
|
12111
12280
|
return { $loc, token: $1 };
|
|
12112
12281
|
});
|
|
12113
12282
|
function Pipe(state) {
|
|
@@ -12132,7 +12301,7 @@ ${input.slice(result.pos)}
|
|
|
12132
12301
|
return result;
|
|
12133
12302
|
}
|
|
12134
12303
|
}
|
|
12135
|
-
var QuestionMark$0 = $TV($EXPECT($
|
|
12304
|
+
var QuestionMark$0 = $TV($EXPECT($L1, fail, 'QuestionMark "?"'), function($skip, $loc, $0, $1) {
|
|
12136
12305
|
return { $loc, token: $1 };
|
|
12137
12306
|
});
|
|
12138
12307
|
function QuestionMark(state) {
|
|
@@ -12157,7 +12326,7 @@ ${input.slice(result.pos)}
|
|
|
12157
12326
|
return result;
|
|
12158
12327
|
}
|
|
12159
12328
|
}
|
|
12160
|
-
var Readonly$0 = $TS($S($EXPECT($
|
|
12329
|
+
var Readonly$0 = $TS($S($EXPECT($L130, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12161
12330
|
return { $loc, token: $1, ts: true };
|
|
12162
12331
|
});
|
|
12163
12332
|
function Readonly(state) {
|
|
@@ -12182,7 +12351,7 @@ ${input.slice(result.pos)}
|
|
|
12182
12351
|
return result;
|
|
12183
12352
|
}
|
|
12184
12353
|
}
|
|
12185
|
-
var Return$0 = $TS($S($EXPECT($
|
|
12354
|
+
var Return$0 = $TS($S($EXPECT($L131, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12186
12355
|
return { $loc, token: $1 };
|
|
12187
12356
|
});
|
|
12188
12357
|
function Return(state) {
|
|
@@ -12207,7 +12376,7 @@ ${input.slice(result.pos)}
|
|
|
12207
12376
|
return result;
|
|
12208
12377
|
}
|
|
12209
12378
|
}
|
|
12210
|
-
var Satisfies$0 = $TS($S($EXPECT($
|
|
12379
|
+
var Satisfies$0 = $TS($S($EXPECT($L132, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12211
12380
|
return { $loc, token: $1 };
|
|
12212
12381
|
});
|
|
12213
12382
|
function Satisfies(state) {
|
|
@@ -12232,7 +12401,7 @@ ${input.slice(result.pos)}
|
|
|
12232
12401
|
return result;
|
|
12233
12402
|
}
|
|
12234
12403
|
}
|
|
12235
|
-
var Semicolon$0 = $TV($EXPECT($
|
|
12404
|
+
var Semicolon$0 = $TV($EXPECT($L79, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
|
|
12236
12405
|
return { $loc, token: $1 };
|
|
12237
12406
|
});
|
|
12238
12407
|
function Semicolon(state) {
|
|
@@ -12257,7 +12426,7 @@ ${input.slice(result.pos)}
|
|
|
12257
12426
|
return result;
|
|
12258
12427
|
}
|
|
12259
12428
|
}
|
|
12260
|
-
var SingleQuote$0 = $TV($EXPECT($
|
|
12429
|
+
var SingleQuote$0 = $TV($EXPECT($L133, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
|
|
12261
12430
|
return { $loc, token: $1 };
|
|
12262
12431
|
});
|
|
12263
12432
|
function SingleQuote(state) {
|
|
@@ -12282,7 +12451,7 @@ ${input.slice(result.pos)}
|
|
|
12282
12451
|
return result;
|
|
12283
12452
|
}
|
|
12284
12453
|
}
|
|
12285
|
-
var Star$0 = $TV($EXPECT($
|
|
12454
|
+
var Star$0 = $TV($EXPECT($L49, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
|
|
12286
12455
|
return { $loc, token: $1 };
|
|
12287
12456
|
});
|
|
12288
12457
|
function Star(state) {
|
|
@@ -12307,10 +12476,10 @@ ${input.slice(result.pos)}
|
|
|
12307
12476
|
return result;
|
|
12308
12477
|
}
|
|
12309
12478
|
}
|
|
12310
|
-
var Static$0 = $TS($S($EXPECT($
|
|
12479
|
+
var Static$0 = $TS($S($EXPECT($L134, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12311
12480
|
return { $loc, token: $1 };
|
|
12312
12481
|
});
|
|
12313
|
-
var Static$1 = $TS($S($EXPECT($
|
|
12482
|
+
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) {
|
|
12314
12483
|
return { $loc, token: "static " };
|
|
12315
12484
|
});
|
|
12316
12485
|
function Static(state) {
|
|
@@ -12335,7 +12504,7 @@ ${input.slice(result.pos)}
|
|
|
12335
12504
|
return result;
|
|
12336
12505
|
}
|
|
12337
12506
|
}
|
|
12338
|
-
var SubstitutionStart$0 = $TV($EXPECT($
|
|
12507
|
+
var SubstitutionStart$0 = $TV($EXPECT($L135, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
|
|
12339
12508
|
return { $loc, token: $1 };
|
|
12340
12509
|
});
|
|
12341
12510
|
function SubstitutionStart(state) {
|
|
@@ -12360,7 +12529,7 @@ ${input.slice(result.pos)}
|
|
|
12360
12529
|
return result;
|
|
12361
12530
|
}
|
|
12362
12531
|
}
|
|
12363
|
-
var Switch$0 = $TS($S($EXPECT($
|
|
12532
|
+
var Switch$0 = $TS($S($EXPECT($L136, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12364
12533
|
return { $loc, token: $1 };
|
|
12365
12534
|
});
|
|
12366
12535
|
function Switch(state) {
|
|
@@ -12385,7 +12554,7 @@ ${input.slice(result.pos)}
|
|
|
12385
12554
|
return result;
|
|
12386
12555
|
}
|
|
12387
12556
|
}
|
|
12388
|
-
var Target$0 = $TS($S($EXPECT($
|
|
12557
|
+
var Target$0 = $TS($S($EXPECT($L137, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12389
12558
|
return { $loc, token: $1 };
|
|
12390
12559
|
});
|
|
12391
12560
|
function Target(state) {
|
|
@@ -12410,7 +12579,7 @@ ${input.slice(result.pos)}
|
|
|
12410
12579
|
return result;
|
|
12411
12580
|
}
|
|
12412
12581
|
}
|
|
12413
|
-
var Then$0 = $TS($S(__, $EXPECT($
|
|
12582
|
+
var Then$0 = $TS($S(__, $EXPECT($L138, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
|
|
12414
12583
|
return { $loc, token: "" };
|
|
12415
12584
|
});
|
|
12416
12585
|
function Then(state) {
|
|
@@ -12435,7 +12604,7 @@ ${input.slice(result.pos)}
|
|
|
12435
12604
|
return result;
|
|
12436
12605
|
}
|
|
12437
12606
|
}
|
|
12438
|
-
var This$0 = $TS($S($EXPECT($
|
|
12607
|
+
var This$0 = $TS($S($EXPECT($L139, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12439
12608
|
return { $loc, token: $1 };
|
|
12440
12609
|
});
|
|
12441
12610
|
function This(state) {
|
|
@@ -12460,7 +12629,7 @@ ${input.slice(result.pos)}
|
|
|
12460
12629
|
return result;
|
|
12461
12630
|
}
|
|
12462
12631
|
}
|
|
12463
|
-
var Throw$0 = $TS($S($EXPECT($
|
|
12632
|
+
var Throw$0 = $TS($S($EXPECT($L140, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12464
12633
|
return { $loc, token: $1 };
|
|
12465
12634
|
});
|
|
12466
12635
|
function Throw(state) {
|
|
@@ -12485,7 +12654,7 @@ ${input.slice(result.pos)}
|
|
|
12485
12654
|
return result;
|
|
12486
12655
|
}
|
|
12487
12656
|
}
|
|
12488
|
-
var TripleDoubleQuote$0 = $TV($EXPECT($
|
|
12657
|
+
var TripleDoubleQuote$0 = $TV($EXPECT($L141, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
|
|
12489
12658
|
return { $loc, token: "`" };
|
|
12490
12659
|
});
|
|
12491
12660
|
function TripleDoubleQuote(state) {
|
|
@@ -12510,7 +12679,7 @@ ${input.slice(result.pos)}
|
|
|
12510
12679
|
return result;
|
|
12511
12680
|
}
|
|
12512
12681
|
}
|
|
12513
|
-
var TripleSingleQuote$0 = $TV($EXPECT($
|
|
12682
|
+
var TripleSingleQuote$0 = $TV($EXPECT($L142, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
|
|
12514
12683
|
return { $loc, token: "`" };
|
|
12515
12684
|
});
|
|
12516
12685
|
function TripleSingleQuote(state) {
|
|
@@ -12535,7 +12704,7 @@ ${input.slice(result.pos)}
|
|
|
12535
12704
|
return result;
|
|
12536
12705
|
}
|
|
12537
12706
|
}
|
|
12538
|
-
var TripleSlash$0 = $TV($EXPECT($
|
|
12707
|
+
var TripleSlash$0 = $TV($EXPECT($L143, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
|
|
12539
12708
|
return { $loc, token: "/" };
|
|
12540
12709
|
});
|
|
12541
12710
|
function TripleSlash(state) {
|
|
@@ -12560,7 +12729,7 @@ ${input.slice(result.pos)}
|
|
|
12560
12729
|
return result;
|
|
12561
12730
|
}
|
|
12562
12731
|
}
|
|
12563
|
-
var TripleTick$0 = $TV($EXPECT($
|
|
12732
|
+
var TripleTick$0 = $TV($EXPECT($L144, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
|
|
12564
12733
|
return { $loc, token: "`" };
|
|
12565
12734
|
});
|
|
12566
12735
|
function TripleTick(state) {
|
|
@@ -12585,7 +12754,7 @@ ${input.slice(result.pos)}
|
|
|
12585
12754
|
return result;
|
|
12586
12755
|
}
|
|
12587
12756
|
}
|
|
12588
|
-
var Try$0 = $TS($S($EXPECT($
|
|
12757
|
+
var Try$0 = $TS($S($EXPECT($L145, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12589
12758
|
return { $loc, token: $1 };
|
|
12590
12759
|
});
|
|
12591
12760
|
function Try(state) {
|
|
@@ -12610,7 +12779,7 @@ ${input.slice(result.pos)}
|
|
|
12610
12779
|
return result;
|
|
12611
12780
|
}
|
|
12612
12781
|
}
|
|
12613
|
-
var Typeof$0 = $TS($S($EXPECT($
|
|
12782
|
+
var Typeof$0 = $TS($S($EXPECT($L146, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12614
12783
|
return { $loc, token: $1 };
|
|
12615
12784
|
});
|
|
12616
12785
|
function Typeof(state) {
|
|
@@ -12635,7 +12804,7 @@ ${input.slice(result.pos)}
|
|
|
12635
12804
|
return result;
|
|
12636
12805
|
}
|
|
12637
12806
|
}
|
|
12638
|
-
var Unless$0 = $TS($S($EXPECT($
|
|
12807
|
+
var Unless$0 = $TS($S($EXPECT($L147, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12639
12808
|
return { $loc, token: $1 };
|
|
12640
12809
|
});
|
|
12641
12810
|
function Unless(state) {
|
|
@@ -12660,7 +12829,7 @@ ${input.slice(result.pos)}
|
|
|
12660
12829
|
return result;
|
|
12661
12830
|
}
|
|
12662
12831
|
}
|
|
12663
|
-
var Until$0 = $TS($S($EXPECT($
|
|
12832
|
+
var Until$0 = $TS($S($EXPECT($L148, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12664
12833
|
return { $loc, token: $1 };
|
|
12665
12834
|
});
|
|
12666
12835
|
function Until(state) {
|
|
@@ -12685,7 +12854,7 @@ ${input.slice(result.pos)}
|
|
|
12685
12854
|
return result;
|
|
12686
12855
|
}
|
|
12687
12856
|
}
|
|
12688
|
-
var Var$0 = $TS($S($EXPECT($
|
|
12857
|
+
var Var$0 = $TS($S($EXPECT($L149, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12689
12858
|
return { $loc, token: $1 };
|
|
12690
12859
|
});
|
|
12691
12860
|
function Var(state) {
|
|
@@ -12710,7 +12879,7 @@ ${input.slice(result.pos)}
|
|
|
12710
12879
|
return result;
|
|
12711
12880
|
}
|
|
12712
12881
|
}
|
|
12713
|
-
var Void$0 = $TS($S($EXPECT($
|
|
12882
|
+
var Void$0 = $TS($S($EXPECT($L150, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12714
12883
|
return { $loc, token: $1 };
|
|
12715
12884
|
});
|
|
12716
12885
|
function Void(state) {
|
|
@@ -12735,7 +12904,7 @@ ${input.slice(result.pos)}
|
|
|
12735
12904
|
return result;
|
|
12736
12905
|
}
|
|
12737
12906
|
}
|
|
12738
|
-
var When$0 = $TS($S($EXPECT($
|
|
12907
|
+
var When$0 = $TS($S($EXPECT($L151, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12739
12908
|
return { $loc, token: "case" };
|
|
12740
12909
|
});
|
|
12741
12910
|
function When(state) {
|
|
@@ -12760,7 +12929,7 @@ ${input.slice(result.pos)}
|
|
|
12760
12929
|
return result;
|
|
12761
12930
|
}
|
|
12762
12931
|
}
|
|
12763
|
-
var While$0 = $TS($S($EXPECT($
|
|
12932
|
+
var While$0 = $TS($S($EXPECT($L152, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12764
12933
|
return { $loc, token: $1 };
|
|
12765
12934
|
});
|
|
12766
12935
|
function While(state) {
|
|
@@ -12785,7 +12954,7 @@ ${input.slice(result.pos)}
|
|
|
12785
12954
|
return result;
|
|
12786
12955
|
}
|
|
12787
12956
|
}
|
|
12788
|
-
var Yield$0 = $TS($S($EXPECT($
|
|
12957
|
+
var Yield$0 = $TS($S($EXPECT($L153, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12789
12958
|
return { $loc, token: $1 };
|
|
12790
12959
|
});
|
|
12791
12960
|
function Yield(state) {
|
|
@@ -12917,7 +13086,7 @@ ${input.slice(result.pos)}
|
|
|
12917
13086
|
return result;
|
|
12918
13087
|
}
|
|
12919
13088
|
}
|
|
12920
|
-
var JSXSelfClosingElement$0 = $TS($S($EXPECT($
|
|
13089
|
+
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) {
|
|
12921
13090
|
return { type: "JSXElement", children: $0 };
|
|
12922
13091
|
});
|
|
12923
13092
|
function JSXSelfClosingElement(state) {
|
|
@@ -12942,7 +13111,7 @@ ${input.slice(result.pos)}
|
|
|
12942
13111
|
return result;
|
|
12943
13112
|
}
|
|
12944
13113
|
}
|
|
12945
|
-
var JSXOpeningElement$0 = $S($EXPECT($
|
|
13114
|
+
var JSXOpeningElement$0 = $S($EXPECT($L122, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
|
|
12946
13115
|
function JSXOpeningElement(state) {
|
|
12947
13116
|
let eventData;
|
|
12948
13117
|
if (state.events) {
|
|
@@ -12965,7 +13134,7 @@ ${input.slice(result.pos)}
|
|
|
12965
13134
|
return result;
|
|
12966
13135
|
}
|
|
12967
13136
|
}
|
|
12968
|
-
var JSXClosingElement$0 = $S($EXPECT($
|
|
13137
|
+
var JSXClosingElement$0 = $S($EXPECT($L155, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
|
|
12969
13138
|
function JSXClosingElement(state) {
|
|
12970
13139
|
let eventData;
|
|
12971
13140
|
if (state.events) {
|
|
@@ -12988,14 +13157,14 @@ ${input.slice(result.pos)}
|
|
|
12988
13157
|
return result;
|
|
12989
13158
|
}
|
|
12990
13159
|
}
|
|
12991
|
-
var JSXFragment$0 = $TS($S($EXPECT($
|
|
13160
|
+
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) {
|
|
12992
13161
|
if ($2) {
|
|
12993
13162
|
return { type: "JSXFragment", children: $0, jsxChildren: $2.jsxChildren };
|
|
12994
13163
|
} else {
|
|
12995
13164
|
return { type: "JSXFragment", children: $0, jsxChildren: [] };
|
|
12996
13165
|
}
|
|
12997
13166
|
});
|
|
12998
|
-
var JSXFragment$1 = $TS($S($EXPECT($
|
|
13167
|
+
var JSXFragment$1 = $TS($S($EXPECT($L156, fail, 'JSXFragment "<>"'), JSXMixedChildren, InsertNewline, InsertIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
12999
13168
|
return { type: "JSXFragment", children: [...$0, "</>"], jsxChildren: $2.jsxChildren };
|
|
13000
13169
|
});
|
|
13001
13170
|
function JSXFragment(state) {
|
|
@@ -13222,7 +13391,7 @@ ${input.slice(result.pos)}
|
|
|
13222
13391
|
}
|
|
13223
13392
|
});
|
|
13224
13393
|
var JSXAttribute$2 = $S(InsertInlineOpenBrace, DotDotDot, InlineJSXAttributeValue, InsertCloseBrace);
|
|
13225
|
-
var JSXAttribute$3 = $TS($S($EXPECT($
|
|
13394
|
+
var JSXAttribute$3 = $TS($S($EXPECT($L8, fail, 'JSXAttribute "#"'), JSXShorthandString), function($skip, $loc, $0, $1, $2) {
|
|
13226
13395
|
return [" ", "id=", $2];
|
|
13227
13396
|
});
|
|
13228
13397
|
var JSXAttribute$4 = $TS($S(Dot, JSXShorthandString), function($skip, $loc, $0, $1, $2) {
|
|
@@ -13529,8 +13698,8 @@ ${input.slice(result.pos)}
|
|
|
13529
13698
|
return result;
|
|
13530
13699
|
}
|
|
13531
13700
|
}
|
|
13532
|
-
var InlineJSXCallExpression$0 = $S($EXPECT($
|
|
13533
|
-
var InlineJSXCallExpression$1 = $S($EXPECT($
|
|
13701
|
+
var InlineJSXCallExpression$0 = $S($EXPECT($L9, fail, 'InlineJSXCallExpression "super"'), ExplicitArguments);
|
|
13702
|
+
var InlineJSXCallExpression$1 = $S($EXPECT($L10, fail, 'InlineJSXCallExpression "import"'), OpenParen, ExtendedExpression, __, CloseParen);
|
|
13534
13703
|
var InlineJSXCallExpression$2 = $TS($S(InlineJSXMemberExpression, $Q(InlineJSXCallExpressionRest)), function($skip, $loc, $0, $1, $2) {
|
|
13535
13704
|
if ($2.length)
|
|
13536
13705
|
return $0;
|
|
@@ -13745,7 +13914,7 @@ ${input.slice(result.pos)}
|
|
|
13745
13914
|
}
|
|
13746
13915
|
return $skip;
|
|
13747
13916
|
});
|
|
13748
|
-
var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($
|
|
13917
|
+
var JSXNestedChildren$1 = $TV($Y($C(EOS, $EXPECT($L17, fail, 'JSXNestedChildren "}"'))), function($skip, $loc, $0, $1) {
|
|
13749
13918
|
return { children: [], jsxChildren: [] };
|
|
13750
13919
|
});
|
|
13751
13920
|
function JSXNestedChildren(state) {
|
|
@@ -13820,7 +13989,7 @@ ${input.slice(result.pos)}
|
|
|
13820
13989
|
return result;
|
|
13821
13990
|
}
|
|
13822
13991
|
}
|
|
13823
|
-
var JSXComment$0 = $TS($S($EXPECT($
|
|
13992
|
+
var JSXComment$0 = $TS($S($EXPECT($L158, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L159, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
|
|
13824
13993
|
return ["{/*", $2, "*/}"];
|
|
13825
13994
|
});
|
|
13826
13995
|
function JSXComment(state) {
|
|
@@ -13997,7 +14166,7 @@ ${input.slice(result.pos)}
|
|
|
13997
14166
|
return result;
|
|
13998
14167
|
}
|
|
13999
14168
|
}
|
|
14000
|
-
var TypeDeclarationModifier$0 = $S($EXPECT($
|
|
14169
|
+
var TypeDeclarationModifier$0 = $S($EXPECT($L160, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
|
|
14001
14170
|
var TypeDeclarationModifier$1 = Export;
|
|
14002
14171
|
function TypeDeclarationModifier(state) {
|
|
14003
14172
|
let eventData;
|
|
@@ -14093,7 +14262,7 @@ ${input.slice(result.pos)}
|
|
|
14093
14262
|
return result;
|
|
14094
14263
|
}
|
|
14095
14264
|
}
|
|
14096
|
-
var TypeKeyword$0 = $S($EXPECT($
|
|
14265
|
+
var TypeKeyword$0 = $S($EXPECT($L161, fail, 'TypeKeyword "type"'), NonIdContinue);
|
|
14097
14266
|
function TypeKeyword(state) {
|
|
14098
14267
|
let eventData;
|
|
14099
14268
|
if (state.events) {
|
|
@@ -14116,7 +14285,7 @@ ${input.slice(result.pos)}
|
|
|
14116
14285
|
return result;
|
|
14117
14286
|
}
|
|
14118
14287
|
}
|
|
14119
|
-
var Interface$0 = $S($EXPECT($
|
|
14288
|
+
var Interface$0 = $S($EXPECT($L162, fail, 'Interface "interface"'), NonIdContinue);
|
|
14120
14289
|
function Interface(state) {
|
|
14121
14290
|
let eventData;
|
|
14122
14291
|
if (state.events) {
|
|
@@ -14139,7 +14308,7 @@ ${input.slice(result.pos)}
|
|
|
14139
14308
|
return result;
|
|
14140
14309
|
}
|
|
14141
14310
|
}
|
|
14142
|
-
var Namespace$0 = $S($EXPECT($
|
|
14311
|
+
var Namespace$0 = $S($EXPECT($L163, fail, 'Namespace "namespace"'), NonIdContinue);
|
|
14143
14312
|
function Namespace(state) {
|
|
14144
14313
|
let eventData;
|
|
14145
14314
|
if (state.events) {
|
|
@@ -14364,7 +14533,7 @@ ${input.slice(result.pos)}
|
|
|
14364
14533
|
return result;
|
|
14365
14534
|
}
|
|
14366
14535
|
}
|
|
14367
|
-
var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($
|
|
14536
|
+
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)));
|
|
14368
14537
|
function TypeIndexSignature(state) {
|
|
14369
14538
|
let eventData;
|
|
14370
14539
|
if (state.events) {
|
|
@@ -14436,7 +14605,7 @@ ${input.slice(result.pos)}
|
|
|
14436
14605
|
return result;
|
|
14437
14606
|
}
|
|
14438
14607
|
}
|
|
14439
|
-
var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($
|
|
14608
|
+
var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L164, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
14440
14609
|
const children = [...$1, $2];
|
|
14441
14610
|
if ($3)
|
|
14442
14611
|
children.push($3);
|
|
@@ -14469,7 +14638,7 @@ ${input.slice(result.pos)}
|
|
|
14469
14638
|
return result;
|
|
14470
14639
|
}
|
|
14471
14640
|
}
|
|
14472
|
-
var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($
|
|
14641
|
+
var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L75, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
|
|
14473
14642
|
if (!$2)
|
|
14474
14643
|
return $1;
|
|
14475
14644
|
return $0;
|
|
@@ -14595,10 +14764,10 @@ ${input.slice(result.pos)}
|
|
|
14595
14764
|
return result;
|
|
14596
14765
|
}
|
|
14597
14766
|
}
|
|
14598
|
-
var TypeUnaryOp$0 = $S($EXPECT($
|
|
14599
|
-
var TypeUnaryOp$1 = $S($EXPECT($
|
|
14600
|
-
var TypeUnaryOp$2 = $S($EXPECT($
|
|
14601
|
-
var TypeUnaryOp$3 = $S($EXPECT($
|
|
14767
|
+
var TypeUnaryOp$0 = $S($EXPECT($L165, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
|
|
14768
|
+
var TypeUnaryOp$1 = $S($EXPECT($L146, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
|
|
14769
|
+
var TypeUnaryOp$2 = $S($EXPECT($L166, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
|
|
14770
|
+
var TypeUnaryOp$3 = $S($EXPECT($L130, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
|
|
14602
14771
|
function TypeUnaryOp(state) {
|
|
14603
14772
|
let eventData;
|
|
14604
14773
|
if (state.events) {
|
|
@@ -14647,9 +14816,10 @@ ${input.slice(result.pos)}
|
|
|
14647
14816
|
var TypePrimary$0 = InterfaceBlock;
|
|
14648
14817
|
var TypePrimary$1 = $S(__, OpenParen, Type, __, CloseParen);
|
|
14649
14818
|
var TypePrimary$2 = $S(__, TypeTuple);
|
|
14650
|
-
var TypePrimary$3 = $S($Q(_),
|
|
14651
|
-
var TypePrimary$4 = $S($Q(_),
|
|
14652
|
-
var TypePrimary$5 = $S($Q(_),
|
|
14819
|
+
var TypePrimary$3 = $S($Q(_), ImportType);
|
|
14820
|
+
var TypePrimary$4 = $S($Q(_), FunctionType);
|
|
14821
|
+
var TypePrimary$5 = $S($Q(_), TypeLiteral);
|
|
14822
|
+
var TypePrimary$6 = $S($Q(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments));
|
|
14653
14823
|
function TypePrimary(state) {
|
|
14654
14824
|
let eventData;
|
|
14655
14825
|
if (state.events) {
|
|
@@ -14661,17 +14831,41 @@ ${input.slice(result.pos)}
|
|
|
14661
14831
|
}
|
|
14662
14832
|
}
|
|
14663
14833
|
if (state.tokenize) {
|
|
14664
|
-
const result = $TOKEN("TypePrimary", state, TypePrimary$0(state) || TypePrimary$1(state) || TypePrimary$2(state) || TypePrimary$3(state) || TypePrimary$4(state) || TypePrimary$5(state));
|
|
14834
|
+
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));
|
|
14665
14835
|
if (state.events)
|
|
14666
14836
|
state.events.exit?.("TypePrimary", state, result, eventData);
|
|
14667
14837
|
return result;
|
|
14668
14838
|
} else {
|
|
14669
|
-
const result = TypePrimary$0(state) || TypePrimary$1(state) || TypePrimary$2(state) || TypePrimary$3(state) || TypePrimary$4(state) || TypePrimary$5(state);
|
|
14839
|
+
const result = TypePrimary$0(state) || TypePrimary$1(state) || TypePrimary$2(state) || TypePrimary$3(state) || TypePrimary$4(state) || TypePrimary$5(state) || TypePrimary$6(state);
|
|
14670
14840
|
if (state.events)
|
|
14671
14841
|
state.events.exit?.("TypePrimary", state, result, eventData);
|
|
14672
14842
|
return result;
|
|
14673
14843
|
}
|
|
14674
14844
|
}
|
|
14845
|
+
var ImportType$0 = $S($EXPECT($L10, fail, 'ImportType "import"'), OpenParen, __, BasicStringLiteral, __, CloseParen, $E($S(Dot, IdentifierName)), $E(TypeArguments));
|
|
14846
|
+
var ImportType$1 = $S($EXPECT($L10, fail, 'ImportType "import"'), InsertOpenParen, Trimmed_, BasicStringLiteral, InsertCloseParen);
|
|
14847
|
+
function ImportType(state) {
|
|
14848
|
+
let eventData;
|
|
14849
|
+
if (state.events) {
|
|
14850
|
+
const result = state.events.enter?.("ImportType", state);
|
|
14851
|
+
if (result) {
|
|
14852
|
+
if (result.cache)
|
|
14853
|
+
return result.cache;
|
|
14854
|
+
eventData = result.data;
|
|
14855
|
+
}
|
|
14856
|
+
}
|
|
14857
|
+
if (state.tokenize) {
|
|
14858
|
+
const result = $TOKEN("ImportType", state, ImportType$0(state) || ImportType$1(state));
|
|
14859
|
+
if (state.events)
|
|
14860
|
+
state.events.exit?.("ImportType", state, result, eventData);
|
|
14861
|
+
return result;
|
|
14862
|
+
} else {
|
|
14863
|
+
const result = ImportType$0(state) || ImportType$1(state);
|
|
14864
|
+
if (state.events)
|
|
14865
|
+
state.events.exit?.("ImportType", state, result, eventData);
|
|
14866
|
+
return result;
|
|
14867
|
+
}
|
|
14868
|
+
}
|
|
14675
14869
|
var TypeTuple$0 = $S(OpenBracket, NestedTypeList, __, CloseBracket);
|
|
14676
14870
|
var TypeTuple$1 = $S(OpenBracket, $E(TypeList), __, CloseBracket);
|
|
14677
14871
|
function TypeTuple(state) {
|
|
@@ -14770,7 +14964,7 @@ ${input.slice(result.pos)}
|
|
|
14770
14964
|
return result;
|
|
14771
14965
|
}
|
|
14772
14966
|
}
|
|
14773
|
-
var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($
|
|
14967
|
+
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) {
|
|
14774
14968
|
if ($2)
|
|
14775
14969
|
return $0;
|
|
14776
14970
|
return $1;
|
|
@@ -14799,10 +14993,10 @@ ${input.slice(result.pos)}
|
|
|
14799
14993
|
}
|
|
14800
14994
|
var TypeLiteral$0 = Literal;
|
|
14801
14995
|
var TypeLiteral$1 = TemplateLiteral;
|
|
14802
|
-
var TypeLiteral$2 = $TS($S($EXPECT($
|
|
14996
|
+
var TypeLiteral$2 = $TS($S($EXPECT($L150, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14803
14997
|
return { $loc, token: "void" };
|
|
14804
14998
|
});
|
|
14805
|
-
var TypeLiteral$3 = $TV($EXPECT($
|
|
14999
|
+
var TypeLiteral$3 = $TV($EXPECT($L167, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
|
|
14806
15000
|
return { $loc, token: "[]" };
|
|
14807
15001
|
});
|
|
14808
15002
|
function TypeLiteral(state) {
|
|
@@ -14827,10 +15021,10 @@ ${input.slice(result.pos)}
|
|
|
14827
15021
|
return result;
|
|
14828
15022
|
}
|
|
14829
15023
|
}
|
|
14830
|
-
var TypeBinaryOp$0 = $TV($EXPECT($
|
|
15024
|
+
var TypeBinaryOp$0 = $TV($EXPECT($L78, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
|
|
14831
15025
|
return { $loc, token: "|" };
|
|
14832
15026
|
});
|
|
14833
|
-
var TypeBinaryOp$1 = $TV($EXPECT($
|
|
15027
|
+
var TypeBinaryOp$1 = $TV($EXPECT($L76, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
|
|
14834
15028
|
return { $loc, token: "&" };
|
|
14835
15029
|
});
|
|
14836
15030
|
function TypeBinaryOp(state) {
|
|
@@ -14855,7 +15049,13 @@ ${input.slice(result.pos)}
|
|
|
14855
15049
|
return result;
|
|
14856
15050
|
}
|
|
14857
15051
|
}
|
|
14858
|
-
var FunctionType$0 = $S(Parameters, __, $EXPECT($
|
|
15052
|
+
var FunctionType$0 = $TS($S(Parameters, __, $EXPECT($L5, fail, 'FunctionType "=>"'), $E(Type)), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
15053
|
+
var type = $4;
|
|
15054
|
+
if (type) {
|
|
15055
|
+
return $0;
|
|
15056
|
+
}
|
|
15057
|
+
return [...$0, "void"];
|
|
15058
|
+
});
|
|
14859
15059
|
function FunctionType(state) {
|
|
14860
15060
|
let eventData;
|
|
14861
15061
|
if (state.events) {
|
|
@@ -14878,7 +15078,7 @@ ${input.slice(result.pos)}
|
|
|
14878
15078
|
return result;
|
|
14879
15079
|
}
|
|
14880
15080
|
}
|
|
14881
|
-
var TypeArguments$0 = $TS($S($EXPECT($
|
|
15081
|
+
var TypeArguments$0 = $TS($S($EXPECT($L122, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
14882
15082
|
return { ts: true, children: $0 };
|
|
14883
15083
|
});
|
|
14884
15084
|
function TypeArguments(state) {
|
|
@@ -14949,7 +15149,7 @@ ${input.slice(result.pos)}
|
|
|
14949
15149
|
return result;
|
|
14950
15150
|
}
|
|
14951
15151
|
}
|
|
14952
|
-
var TypeParameters$0 = $TS($S(__, $EXPECT($
|
|
15152
|
+
var TypeParameters$0 = $TS($S(__, $EXPECT($L122, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
14953
15153
|
var parameters = $3;
|
|
14954
15154
|
return {
|
|
14955
15155
|
type: "TypeParameters",
|
|
@@ -15003,7 +15203,7 @@ ${input.slice(result.pos)}
|
|
|
15003
15203
|
return result;
|
|
15004
15204
|
}
|
|
15005
15205
|
}
|
|
15006
|
-
var TypeConstraint$0 = $S(__, $EXPECT($
|
|
15206
|
+
var TypeConstraint$0 = $S(__, $EXPECT($L111, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
|
|
15007
15207
|
function TypeConstraint(state) {
|
|
15008
15208
|
let eventData;
|
|
15009
15209
|
if (state.events) {
|
|
@@ -15026,7 +15226,7 @@ ${input.slice(result.pos)}
|
|
|
15026
15226
|
return result;
|
|
15027
15227
|
}
|
|
15028
15228
|
}
|
|
15029
|
-
var TypeInitializer$0 = $S(__, $EXPECT($
|
|
15229
|
+
var TypeInitializer$0 = $S(__, $EXPECT($L26, fail, 'TypeInitializer "="'), Type);
|
|
15030
15230
|
function TypeInitializer(state) {
|
|
15031
15231
|
let eventData;
|
|
15032
15232
|
if (state.events) {
|
|
@@ -15050,7 +15250,7 @@ ${input.slice(result.pos)}
|
|
|
15050
15250
|
}
|
|
15051
15251
|
}
|
|
15052
15252
|
var TypeParameterDelimiter$0 = $S($Q(_), Comma);
|
|
15053
|
-
var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($
|
|
15253
|
+
var TypeParameterDelimiter$1 = $Y($S(__, $EXPECT($L27, fail, 'TypeParameterDelimiter ">"')));
|
|
15054
15254
|
var TypeParameterDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
15055
15255
|
return value[1];
|
|
15056
15256
|
});
|
|
@@ -15129,7 +15329,7 @@ ${input.slice(result.pos)}
|
|
|
15129
15329
|
return result;
|
|
15130
15330
|
}
|
|
15131
15331
|
}
|
|
15132
|
-
var CivetPrologueContent$0 = $TS($S($EXPECT($
|
|
15332
|
+
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) {
|
|
15133
15333
|
var options = $3;
|
|
15134
15334
|
return {
|
|
15135
15335
|
type: "CivetPrologue",
|
|
@@ -15290,7 +15490,7 @@ ${input.slice(result.pos)}
|
|
|
15290
15490
|
return result;
|
|
15291
15491
|
}
|
|
15292
15492
|
}
|
|
15293
|
-
var Debugger$0 = $TV($EXPECT($
|
|
15493
|
+
var Debugger$0 = $TV($EXPECT($L14, fail, 'Debugger ""'), function($skip, $loc, $0, $1) {
|
|
15294
15494
|
debugger;
|
|
15295
15495
|
});
|
|
15296
15496
|
function Debugger(state) {
|
|
@@ -15315,7 +15515,7 @@ ${input.slice(result.pos)}
|
|
|
15315
15515
|
return result;
|
|
15316
15516
|
}
|
|
15317
15517
|
}
|
|
15318
|
-
var InsertOpenParen$0 = $TV($EXPECT($
|
|
15518
|
+
var InsertOpenParen$0 = $TV($EXPECT($L14, fail, 'InsertOpenParen ""'), function($skip, $loc, $0, $1) {
|
|
15319
15519
|
return { $loc, token: "(" };
|
|
15320
15520
|
});
|
|
15321
15521
|
function InsertOpenParen(state) {
|
|
@@ -15340,7 +15540,7 @@ ${input.slice(result.pos)}
|
|
|
15340
15540
|
return result;
|
|
15341
15541
|
}
|
|
15342
15542
|
}
|
|
15343
|
-
var InsertCloseParen$0 = $TV($EXPECT($
|
|
15543
|
+
var InsertCloseParen$0 = $TV($EXPECT($L14, fail, 'InsertCloseParen ""'), function($skip, $loc, $0, $1) {
|
|
15344
15544
|
return { $loc, token: ")" };
|
|
15345
15545
|
});
|
|
15346
15546
|
function InsertCloseParen(state) {
|
|
@@ -15365,7 +15565,7 @@ ${input.slice(result.pos)}
|
|
|
15365
15565
|
return result;
|
|
15366
15566
|
}
|
|
15367
15567
|
}
|
|
15368
|
-
var InsertOpenBrace$0 = $TV($EXPECT($
|
|
15568
|
+
var InsertOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertOpenBrace ""'), function($skip, $loc, $0, $1) {
|
|
15369
15569
|
return [{ $loc, token: " " }, { $loc, token: "{" }];
|
|
15370
15570
|
});
|
|
15371
15571
|
function InsertOpenBrace(state) {
|
|
@@ -15390,7 +15590,7 @@ ${input.slice(result.pos)}
|
|
|
15390
15590
|
return result;
|
|
15391
15591
|
}
|
|
15392
15592
|
}
|
|
15393
|
-
var InsertInlineOpenBrace$0 = $TV($EXPECT($
|
|
15593
|
+
var InsertInlineOpenBrace$0 = $TV($EXPECT($L14, fail, 'InsertInlineOpenBrace ""'), function($skip, $loc, $0, $1) {
|
|
15394
15594
|
return { $loc, token: "{" };
|
|
15395
15595
|
});
|
|
15396
15596
|
function InsertInlineOpenBrace(state) {
|
|
@@ -15415,7 +15615,7 @@ ${input.slice(result.pos)}
|
|
|
15415
15615
|
return result;
|
|
15416
15616
|
}
|
|
15417
15617
|
}
|
|
15418
|
-
var InsertCloseBrace$0 = $TV($EXPECT($
|
|
15618
|
+
var InsertCloseBrace$0 = $TV($EXPECT($L14, fail, 'InsertCloseBrace ""'), function($skip, $loc, $0, $1) {
|
|
15419
15619
|
return { $loc, token: "}" };
|
|
15420
15620
|
});
|
|
15421
15621
|
function InsertCloseBrace(state) {
|
|
@@ -15440,7 +15640,7 @@ ${input.slice(result.pos)}
|
|
|
15440
15640
|
return result;
|
|
15441
15641
|
}
|
|
15442
15642
|
}
|
|
15443
|
-
var InsertComma$0 = $TV($EXPECT($
|
|
15643
|
+
var InsertComma$0 = $TV($EXPECT($L14, fail, 'InsertComma ""'), function($skip, $loc, $0, $1) {
|
|
15444
15644
|
return { $loc, token: "," };
|
|
15445
15645
|
});
|
|
15446
15646
|
function InsertComma(state) {
|
|
@@ -15465,7 +15665,7 @@ ${input.slice(result.pos)}
|
|
|
15465
15665
|
return result;
|
|
15466
15666
|
}
|
|
15467
15667
|
}
|
|
15468
|
-
var InsertConst$0 = $TV($EXPECT($
|
|
15668
|
+
var InsertConst$0 = $TV($EXPECT($L14, fail, 'InsertConst ""'), function($skip, $loc, $0, $1) {
|
|
15469
15669
|
return { $loc, token: "const " };
|
|
15470
15670
|
});
|
|
15471
15671
|
function InsertConst(state) {
|
|
@@ -15490,7 +15690,7 @@ ${input.slice(result.pos)}
|
|
|
15490
15690
|
return result;
|
|
15491
15691
|
}
|
|
15492
15692
|
}
|
|
15493
|
-
var InsertLet$0 = $TV($EXPECT($
|
|
15693
|
+
var InsertLet$0 = $TV($EXPECT($L14, fail, 'InsertLet ""'), function($skip, $loc, $0, $1) {
|
|
15494
15694
|
return { $loc, token: "let " };
|
|
15495
15695
|
});
|
|
15496
15696
|
function InsertLet(state) {
|
|
@@ -15515,7 +15715,7 @@ ${input.slice(result.pos)}
|
|
|
15515
15715
|
return result;
|
|
15516
15716
|
}
|
|
15517
15717
|
}
|
|
15518
|
-
var InsertReadonly$0 = $TV($EXPECT($
|
|
15718
|
+
var InsertReadonly$0 = $TV($EXPECT($L14, fail, 'InsertReadonly ""'), function($skip, $loc, $0, $1) {
|
|
15519
15719
|
return { ts: true, children: [{ $loc, token: "readonly " }] };
|
|
15520
15720
|
});
|
|
15521
15721
|
function InsertReadonly(state) {
|
|
@@ -15540,7 +15740,7 @@ ${input.slice(result.pos)}
|
|
|
15540
15740
|
return result;
|
|
15541
15741
|
}
|
|
15542
15742
|
}
|
|
15543
|
-
var InsertNewline$0 = $TV($EXPECT($
|
|
15743
|
+
var InsertNewline$0 = $TV($EXPECT($L14, fail, 'InsertNewline ""'), function($skip, $loc, $0, $1) {
|
|
15544
15744
|
return "\n";
|
|
15545
15745
|
});
|
|
15546
15746
|
function InsertNewline(state) {
|
|
@@ -15565,7 +15765,7 @@ ${input.slice(result.pos)}
|
|
|
15565
15765
|
return result;
|
|
15566
15766
|
}
|
|
15567
15767
|
}
|
|
15568
|
-
var InsertIndent$0 = $TV($EXPECT($
|
|
15768
|
+
var InsertIndent$0 = $TV($EXPECT($L14, fail, 'InsertIndent ""'), function($skip, $loc, $0, $1) {
|
|
15569
15769
|
return module.currentIndent.token;
|
|
15570
15770
|
});
|
|
15571
15771
|
function InsertIndent(state) {
|
|
@@ -15590,7 +15790,7 @@ ${input.slice(result.pos)}
|
|
|
15590
15790
|
return result;
|
|
15591
15791
|
}
|
|
15592
15792
|
}
|
|
15593
|
-
var InsertSpace$0 = $TV($EXPECT($
|
|
15793
|
+
var InsertSpace$0 = $TV($EXPECT($L14, fail, 'InsertSpace ""'), function($skip, $loc, $0, $1) {
|
|
15594
15794
|
return { $loc, token: " " };
|
|
15595
15795
|
});
|
|
15596
15796
|
function InsertSpace(state) {
|
|
@@ -15615,7 +15815,7 @@ ${input.slice(result.pos)}
|
|
|
15615
15815
|
return result;
|
|
15616
15816
|
}
|
|
15617
15817
|
}
|
|
15618
|
-
var InsertDot$0 = $TV($EXPECT($
|
|
15818
|
+
var InsertDot$0 = $TV($EXPECT($L14, fail, 'InsertDot ""'), function($skip, $loc, $0, $1) {
|
|
15619
15819
|
return { $loc, token: "." };
|
|
15620
15820
|
});
|
|
15621
15821
|
function InsertDot(state) {
|
|
@@ -15640,7 +15840,7 @@ ${input.slice(result.pos)}
|
|
|
15640
15840
|
return result;
|
|
15641
15841
|
}
|
|
15642
15842
|
}
|
|
15643
|
-
var InsertBreak$0 = $TV($EXPECT($
|
|
15843
|
+
var InsertBreak$0 = $TV($EXPECT($L14, fail, 'InsertBreak ""'), function($skip, $loc, $0, $1) {
|
|
15644
15844
|
return { $loc, token: ";break;" };
|
|
15645
15845
|
});
|
|
15646
15846
|
function InsertBreak(state) {
|
|
@@ -15665,7 +15865,7 @@ ${input.slice(result.pos)}
|
|
|
15665
15865
|
return result;
|
|
15666
15866
|
}
|
|
15667
15867
|
}
|
|
15668
|
-
var InsertVar$0 = $TV($EXPECT($
|
|
15868
|
+
var InsertVar$0 = $TV($EXPECT($L14, fail, 'InsertVar ""'), function($skip, $loc, $0, $1) {
|
|
15669
15869
|
return { $loc, token: "var " };
|
|
15670
15870
|
});
|
|
15671
15871
|
function InsertVar(state) {
|
|
@@ -15690,7 +15890,7 @@ ${input.slice(result.pos)}
|
|
|
15690
15890
|
return result;
|
|
15691
15891
|
}
|
|
15692
15892
|
}
|
|
15693
|
-
var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($
|
|
15893
|
+
var CoffeeBinaryExistentialEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBinaryExistentialEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15694
15894
|
if (module.config.coffeeBinaryExistential)
|
|
15695
15895
|
return;
|
|
15696
15896
|
return $skip;
|
|
@@ -15717,7 +15917,7 @@ ${input.slice(result.pos)}
|
|
|
15717
15917
|
return result;
|
|
15718
15918
|
}
|
|
15719
15919
|
}
|
|
15720
|
-
var CoffeeBooleansEnabled$0 = $TV($EXPECT($
|
|
15920
|
+
var CoffeeBooleansEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeBooleansEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15721
15921
|
if (module.config.coffeeBooleans)
|
|
15722
15922
|
return;
|
|
15723
15923
|
return $skip;
|
|
@@ -15744,7 +15944,7 @@ ${input.slice(result.pos)}
|
|
|
15744
15944
|
return result;
|
|
15745
15945
|
}
|
|
15746
15946
|
}
|
|
15747
|
-
var CoffeeClassesEnabled$0 = $TV($EXPECT($
|
|
15947
|
+
var CoffeeClassesEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeClassesEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15748
15948
|
if (module.config.coffeeClasses)
|
|
15749
15949
|
return;
|
|
15750
15950
|
return $skip;
|
|
@@ -15771,7 +15971,7 @@ ${input.slice(result.pos)}
|
|
|
15771
15971
|
return result;
|
|
15772
15972
|
}
|
|
15773
15973
|
}
|
|
15774
|
-
var CoffeeCommentEnabled$0 = $TV($EXPECT($
|
|
15974
|
+
var CoffeeCommentEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeCommentEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15775
15975
|
if (module.config.coffeeComment)
|
|
15776
15976
|
return;
|
|
15777
15977
|
return $skip;
|
|
@@ -15798,7 +15998,7 @@ ${input.slice(result.pos)}
|
|
|
15798
15998
|
return result;
|
|
15799
15999
|
}
|
|
15800
16000
|
}
|
|
15801
|
-
var CoffeeDoEnabled$0 = $TV($EXPECT($
|
|
16001
|
+
var CoffeeDoEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeDoEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15802
16002
|
if (module.config.coffeeDo)
|
|
15803
16003
|
return;
|
|
15804
16004
|
return $skip;
|
|
@@ -15825,7 +16025,7 @@ ${input.slice(result.pos)}
|
|
|
15825
16025
|
return result;
|
|
15826
16026
|
}
|
|
15827
16027
|
}
|
|
15828
|
-
var CoffeeForLoopsEnabled$0 = $TV($EXPECT($
|
|
16028
|
+
var CoffeeForLoopsEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeForLoopsEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15829
16029
|
if (module.config.coffeeForLoops)
|
|
15830
16030
|
return;
|
|
15831
16031
|
return $skip;
|
|
@@ -15852,7 +16052,7 @@ ${input.slice(result.pos)}
|
|
|
15852
16052
|
return result;
|
|
15853
16053
|
}
|
|
15854
16054
|
}
|
|
15855
|
-
var CoffeeInterpolationEnabled$0 = $TV($EXPECT($
|
|
16055
|
+
var CoffeeInterpolationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeInterpolationEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15856
16056
|
if (module.config.coffeeInterpolation)
|
|
15857
16057
|
return;
|
|
15858
16058
|
return $skip;
|
|
@@ -15879,7 +16079,7 @@ ${input.slice(result.pos)}
|
|
|
15879
16079
|
return result;
|
|
15880
16080
|
}
|
|
15881
16081
|
}
|
|
15882
|
-
var CoffeeIsntEnabled$0 = $TV($EXPECT($
|
|
16082
|
+
var CoffeeIsntEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeIsntEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15883
16083
|
if (module.config.coffeeIsnt)
|
|
15884
16084
|
return;
|
|
15885
16085
|
return $skip;
|
|
@@ -15906,7 +16106,7 @@ ${input.slice(result.pos)}
|
|
|
15906
16106
|
return result;
|
|
15907
16107
|
}
|
|
15908
16108
|
}
|
|
15909
|
-
var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($
|
|
16109
|
+
var CoffeeLineContinuationEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeLineContinuationEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15910
16110
|
if (module.config.coffeeLineContinuation)
|
|
15911
16111
|
return;
|
|
15912
16112
|
return $skip;
|
|
@@ -15933,7 +16133,7 @@ ${input.slice(result.pos)}
|
|
|
15933
16133
|
return result;
|
|
15934
16134
|
}
|
|
15935
16135
|
}
|
|
15936
|
-
var CoffeeNotEnabled$0 = $TV($EXPECT($
|
|
16136
|
+
var CoffeeNotEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeNotEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15937
16137
|
if (module.config.coffeeNot)
|
|
15938
16138
|
return;
|
|
15939
16139
|
return $skip;
|
|
@@ -15960,7 +16160,7 @@ ${input.slice(result.pos)}
|
|
|
15960
16160
|
return result;
|
|
15961
16161
|
}
|
|
15962
16162
|
}
|
|
15963
|
-
var CoffeeOfEnabled$0 = $TV($EXPECT($
|
|
16163
|
+
var CoffeeOfEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeeOfEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15964
16164
|
if (module.config.coffeeOf)
|
|
15965
16165
|
return;
|
|
15966
16166
|
return $skip;
|
|
@@ -15987,7 +16187,7 @@ ${input.slice(result.pos)}
|
|
|
15987
16187
|
return result;
|
|
15988
16188
|
}
|
|
15989
16189
|
}
|
|
15990
|
-
var CoffeePrototypeEnabled$0 = $TV($EXPECT($
|
|
16190
|
+
var CoffeePrototypeEnabled$0 = $TV($EXPECT($L14, fail, 'CoffeePrototypeEnabled ""'), function($skip, $loc, $0, $1) {
|
|
15991
16191
|
if (module.config.coffeePrototype)
|
|
15992
16192
|
return;
|
|
15993
16193
|
return $skip;
|
|
@@ -16014,17 +16214,25 @@ ${input.slice(result.pos)}
|
|
|
16014
16214
|
return result;
|
|
16015
16215
|
}
|
|
16016
16216
|
}
|
|
16017
|
-
var Reset$0 = $TV($EXPECT($
|
|
16217
|
+
var Reset$0 = $TV($EXPECT($L14, fail, 'Reset ""'), function($skip, $loc, $0, $1) {
|
|
16018
16218
|
module.indentLevels = [{
|
|
16019
16219
|
level: 0,
|
|
16020
16220
|
token: ""
|
|
16021
16221
|
}];
|
|
16222
|
+
module.suppressTrailingMemberProperty = [false];
|
|
16022
16223
|
if (!module._init) {
|
|
16023
16224
|
module._init = true;
|
|
16024
16225
|
Object.defineProperties(module, {
|
|
16025
16226
|
currentIndent: {
|
|
16026
16227
|
get() {
|
|
16027
|
-
|
|
16228
|
+
const { indentLevels: l } = module;
|
|
16229
|
+
return l[l.length - 1];
|
|
16230
|
+
}
|
|
16231
|
+
},
|
|
16232
|
+
trailingMemberPropertySuppressed: {
|
|
16233
|
+
get() {
|
|
16234
|
+
const { suppressTrailingMemberProperty: s } = module;
|
|
16235
|
+
return s[s.length - 1];
|
|
16028
16236
|
}
|
|
16029
16237
|
}
|
|
16030
16238
|
});
|
|
@@ -16262,7 +16470,7 @@ ${input.slice(result.pos)}
|
|
|
16262
16470
|
return result;
|
|
16263
16471
|
}
|
|
16264
16472
|
}
|
|
16265
|
-
var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($
|
|
16473
|
+
var Init$0 = $TS($S($E(Shebang), $Q(DirectivePrologue), $EXPECT($L14, fail, 'Init ""')), function($skip, $loc, $0, $1, $2, $3) {
|
|
16266
16474
|
var directives = $2;
|
|
16267
16475
|
directives.forEach((directive) => {
|
|
16268
16476
|
if (directive.type === "CivetPrologue") {
|
|
@@ -16451,6 +16659,18 @@ ${input.slice(result.pos)}
|
|
|
16451
16659
|
children
|
|
16452
16660
|
};
|
|
16453
16661
|
}
|
|
16662
|
+
function insertSwitchReturns(exp) {
|
|
16663
|
+
switch (exp.type) {
|
|
16664
|
+
case "SwitchStatement":
|
|
16665
|
+
exp.caseBlock.clauses.forEach((clause) => {
|
|
16666
|
+
insertReturn(clause);
|
|
16667
|
+
});
|
|
16668
|
+
return;
|
|
16669
|
+
case "SwitchExpression":
|
|
16670
|
+
exp.caseBlock.clauses.forEach(insertReturn);
|
|
16671
|
+
return;
|
|
16672
|
+
}
|
|
16673
|
+
}
|
|
16454
16674
|
function insertReturn(node) {
|
|
16455
16675
|
if (!node)
|
|
16456
16676
|
return;
|
|
@@ -16458,11 +16678,6 @@ ${input.slice(result.pos)}
|
|
|
16458
16678
|
case "BlockStatement":
|
|
16459
16679
|
insertReturn(node.expressions[node.expressions.length - 1]);
|
|
16460
16680
|
return;
|
|
16461
|
-
case "CaseBlock":
|
|
16462
|
-
node.clauses.forEach((clause) => {
|
|
16463
|
-
insertReturn(clause);
|
|
16464
|
-
});
|
|
16465
|
-
return;
|
|
16466
16681
|
case "WhenClause":
|
|
16467
16682
|
node.children.splice(node.children.indexOf(node.break), 1);
|
|
16468
16683
|
if (node.block.length === 0) {
|
|
@@ -16507,7 +16722,7 @@ ${input.slice(result.pos)}
|
|
|
16507
16722
|
exp.children.push(["\n", indent, wrapWithReturn()]);
|
|
16508
16723
|
return;
|
|
16509
16724
|
case "SwitchStatement":
|
|
16510
|
-
|
|
16725
|
+
insertSwitchReturns(exp);
|
|
16511
16726
|
return;
|
|
16512
16727
|
case "TryStatement":
|
|
16513
16728
|
insertReturn(exp.children[1]);
|
|
@@ -16871,9 +17086,7 @@ ${input.slice(result.pos)}
|
|
|
16871
17086
|
}
|
|
16872
17087
|
function processSwitchExpressions(statements) {
|
|
16873
17088
|
if (module.config.implicitReturns) {
|
|
16874
|
-
gatherRecursiveAll(statements, (n) => n.type === "SwitchExpression").forEach(
|
|
16875
|
-
insertReturn(block);
|
|
16876
|
-
});
|
|
17089
|
+
gatherRecursiveAll(statements, (n) => n.type === "SwitchExpression").forEach(insertSwitchReturns);
|
|
16877
17090
|
}
|
|
16878
17091
|
}
|
|
16879
17092
|
function processTryExpressions(statements) {
|
|
@@ -17108,6 +17321,7 @@ ${input.slice(result.pos)}
|
|
|
17108
17321
|
indent = indent[indent.length - 1];
|
|
17109
17322
|
statements.unshift([indent, "var ", varIds.join(", "), "\n"]);
|
|
17110
17323
|
}
|
|
17324
|
+
scopes.pop();
|
|
17111
17325
|
}
|
|
17112
17326
|
function createLetDecs(statements, scopes) {
|
|
17113
17327
|
function hasDec(name) {
|
|
@@ -17390,7 +17604,7 @@ ${input.slice(result.pos)}
|
|
|
17390
17604
|
return result;
|
|
17391
17605
|
}
|
|
17392
17606
|
}
|
|
17393
|
-
var PopIndent$0 = $TV($EXPECT($
|
|
17607
|
+
var PopIndent$0 = $TV($EXPECT($L14, fail, 'PopIndent ""'), function($skip, $loc, $0, $1) {
|
|
17394
17608
|
if (module.config.verbose) {
|
|
17395
17609
|
console.log("popping indent", module.indentLevels[module.indentLevels.length - 1], "->", module.indentLevels[module.indentLevels.length - 2]);
|
|
17396
17610
|
}
|
|
@@ -17873,7 +18087,7 @@ var uncacheable;
|
|
|
17873
18087
|
({ parse } = import_parser.default);
|
|
17874
18088
|
({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
|
|
17875
18089
|
defaultOptions = {};
|
|
17876
|
-
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"]);
|
|
18090
|
+
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"]);
|
|
17877
18091
|
var compile = function(src, options = defaultOptions) {
|
|
17878
18092
|
var ast, code, events, filename, sm, srcMapJSON;
|
|
17879
18093
|
filename = options.filename || "unknown";
|