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