@danielx/civet 0.5.44 → 0.5.46
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 +339 -787
- package/dist/civet +1 -1
- package/dist/main.js +339 -787
- package/dist/main.mjs +339 -787
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -514,33 +514,19 @@ ${input.slice(result.pos)}
|
|
|
514
514
|
BindingPattern,
|
|
515
515
|
ObjectBindingPattern,
|
|
516
516
|
ObjectBindingPatternContent,
|
|
517
|
+
BindingPropertyList,
|
|
517
518
|
ArrayBindingPattern,
|
|
518
519
|
ArrayBindingPatternContent,
|
|
519
520
|
Elision,
|
|
520
521
|
NestedBindingProperties,
|
|
521
|
-
|
|
522
|
+
NestedBindingPropertyList,
|
|
522
523
|
BindingProperty,
|
|
523
|
-
NestedBindingRestProperty,
|
|
524
524
|
BindingRestProperty,
|
|
525
525
|
NestedBindingElements,
|
|
526
526
|
NestedBindingElement,
|
|
527
527
|
BindingElement,
|
|
528
528
|
BindingRestElement,
|
|
529
529
|
EmptyBindingPattern,
|
|
530
|
-
MatchingPattern,
|
|
531
|
-
ObjectMatchingPattern,
|
|
532
|
-
ObjectMatchingPatternContent,
|
|
533
|
-
NestedMatchingProperties,
|
|
534
|
-
NestedMatchingProperty,
|
|
535
|
-
MatchingProperty,
|
|
536
|
-
NestedMatchingRestProperty,
|
|
537
|
-
MatchingRestProperty,
|
|
538
|
-
ArrayMatchingPattern,
|
|
539
|
-
ArrayMatchingPatternContent,
|
|
540
|
-
NestedMatchingElements,
|
|
541
|
-
NestedMatchingElement,
|
|
542
|
-
MatchingElement,
|
|
543
|
-
MatchingRestElement,
|
|
544
530
|
FunctionDeclaration,
|
|
545
531
|
FunctionSignature,
|
|
546
532
|
FunctionExpression,
|
|
@@ -676,6 +662,7 @@ ${input.slice(result.pos)}
|
|
|
676
662
|
NameSpaceImport,
|
|
677
663
|
NamedImports,
|
|
678
664
|
FromClause,
|
|
665
|
+
ImportAssertion,
|
|
679
666
|
TypeAndImportSpecifier,
|
|
680
667
|
ImportSpecifier,
|
|
681
668
|
ImportAsToken,
|
|
@@ -1052,90 +1039,91 @@ ${input.slice(result.pos)}
|
|
|
1052
1039
|
var $L82 = $L("break");
|
|
1053
1040
|
var $L83 = $L("continue");
|
|
1054
1041
|
var $L84 = $L("debugger");
|
|
1055
|
-
var $L85 = $L("
|
|
1056
|
-
var $L86 = $L("
|
|
1057
|
-
var $L87 = $L("
|
|
1058
|
-
var $L88 = $L("
|
|
1059
|
-
var $L89 = $L("
|
|
1060
|
-
var $L90 = $L("
|
|
1061
|
-
var $L91 = $L("
|
|
1062
|
-
var $L92 = $L("
|
|
1063
|
-
var $L93 = $L("
|
|
1064
|
-
var $L94 = $L("
|
|
1065
|
-
var $L95 = $L("
|
|
1066
|
-
var $L96 = $L("
|
|
1067
|
-
var $L97 = $L("
|
|
1068
|
-
var $L98 = $L("
|
|
1069
|
-
var $L99 = $L("
|
|
1070
|
-
var $L100 = $L("
|
|
1071
|
-
var $L101 = $L("
|
|
1072
|
-
var $L102 = $L("
|
|
1073
|
-
var $L103 = $L("
|
|
1074
|
-
var $L104 = $L("
|
|
1075
|
-
var $L105 = $L("
|
|
1076
|
-
var $L106 = $L("
|
|
1077
|
-
var $L107 = $L("
|
|
1078
|
-
var $L108 = $L(
|
|
1079
|
-
var $L109 = $L("
|
|
1080
|
-
var $L110 = $L("
|
|
1081
|
-
var $L111 = $L("
|
|
1082
|
-
var $L112 = $L("
|
|
1083
|
-
var $L113 = $L("
|
|
1084
|
-
var $L114 = $L("
|
|
1085
|
-
var $L115 = $L("
|
|
1086
|
-
var $L116 = $L("
|
|
1087
|
-
var $L117 = $L("
|
|
1088
|
-
var $L118 = $L("
|
|
1089
|
-
var $L119 = $L("
|
|
1090
|
-
var $L120 = $L("
|
|
1091
|
-
var $L121 = $L("
|
|
1092
|
-
var $L122 = $L("
|
|
1093
|
-
var $L123 = $L("
|
|
1094
|
-
var $L124 = $L("
|
|
1095
|
-
var $L125 = $L("
|
|
1096
|
-
var $L126 = $L("
|
|
1097
|
-
var $L127 = $L("
|
|
1098
|
-
var $L128 = $L("
|
|
1099
|
-
var $L129 = $L("
|
|
1100
|
-
var $L130 = $L("
|
|
1101
|
-
var $L131 = $L("
|
|
1102
|
-
var $L132 = $L("
|
|
1103
|
-
var $L133 = $L("
|
|
1104
|
-
var $L134 = $L("
|
|
1105
|
-
var $L135 = $L("
|
|
1106
|
-
var $L136 = $L("
|
|
1107
|
-
var $L137 = $L("
|
|
1108
|
-
var $L138 = $L("
|
|
1109
|
-
var $L139 = $L("
|
|
1110
|
-
var $L140 = $L("
|
|
1111
|
-
var $L141 = $L(
|
|
1112
|
-
var $L142 = $L("'
|
|
1113
|
-
var $L143 = $L("
|
|
1114
|
-
var $L144 = $L("
|
|
1115
|
-
var $L145 = $L("
|
|
1116
|
-
var $L146 = $L("
|
|
1117
|
-
var $L147 = $L("
|
|
1118
|
-
var $L148 = $L("
|
|
1119
|
-
var $L149 = $L("
|
|
1120
|
-
var $L150 = $L("
|
|
1121
|
-
var $L151 = $L("
|
|
1122
|
-
var $L152 = $L("
|
|
1123
|
-
var $L153 = $L("
|
|
1124
|
-
var $L154 = $L("
|
|
1125
|
-
var $L155 = $L("
|
|
1126
|
-
var $L156 = $L("
|
|
1127
|
-
var $L157 = $L("
|
|
1128
|
-
var $L158 = $L("
|
|
1129
|
-
var $L159 = $L("
|
|
1130
|
-
var $L160 = $L("
|
|
1131
|
-
var $L161 = $L("
|
|
1132
|
-
var $L162 = $L("
|
|
1133
|
-
var $L163 = $L("
|
|
1134
|
-
var $L164 = $L("
|
|
1135
|
-
var $L165 = $L("
|
|
1136
|
-
var $L166 = $L("
|
|
1137
|
-
var $L167 = $L("
|
|
1138
|
-
var $L168 = $L("
|
|
1042
|
+
var $L85 = $L("assert");
|
|
1043
|
+
var $L86 = $L("default");
|
|
1044
|
+
var $L87 = $L(":=");
|
|
1045
|
+
var $L88 = $L(".=");
|
|
1046
|
+
var $L89 = $L("/*");
|
|
1047
|
+
var $L90 = $L("*/");
|
|
1048
|
+
var $L91 = $L("\\");
|
|
1049
|
+
var $L92 = $L("abstract");
|
|
1050
|
+
var $L93 = $L("as");
|
|
1051
|
+
var $L94 = $L("@");
|
|
1052
|
+
var $L95 = $L("@@");
|
|
1053
|
+
var $L96 = $L("async");
|
|
1054
|
+
var $L97 = $L("await");
|
|
1055
|
+
var $L98 = $L("`");
|
|
1056
|
+
var $L99 = $L("by");
|
|
1057
|
+
var $L100 = $L("case");
|
|
1058
|
+
var $L101 = $L("catch");
|
|
1059
|
+
var $L102 = $L("class");
|
|
1060
|
+
var $L103 = $L("#{");
|
|
1061
|
+
var $L104 = $L("delete");
|
|
1062
|
+
var $L105 = $L("do");
|
|
1063
|
+
var $L106 = $L("..");
|
|
1064
|
+
var $L107 = $L("...");
|
|
1065
|
+
var $L108 = $L("::");
|
|
1066
|
+
var $L109 = $L('"');
|
|
1067
|
+
var $L110 = $L("else");
|
|
1068
|
+
var $L111 = $L("export");
|
|
1069
|
+
var $L112 = $L("extends");
|
|
1070
|
+
var $L113 = $L("for");
|
|
1071
|
+
var $L114 = $L("from");
|
|
1072
|
+
var $L115 = $L("function");
|
|
1073
|
+
var $L116 = $L("get");
|
|
1074
|
+
var $L117 = $L("set");
|
|
1075
|
+
var $L118 = $L("if");
|
|
1076
|
+
var $L119 = $L("let");
|
|
1077
|
+
var $L120 = $L("const");
|
|
1078
|
+
var $L121 = $L("loop");
|
|
1079
|
+
var $L122 = $L("new");
|
|
1080
|
+
var $L123 = $L("<");
|
|
1081
|
+
var $L124 = $L("{");
|
|
1082
|
+
var $L125 = $L("[");
|
|
1083
|
+
var $L126 = $L("(");
|
|
1084
|
+
var $L127 = $L("public");
|
|
1085
|
+
var $L128 = $L("private");
|
|
1086
|
+
var $L129 = $L("protected");
|
|
1087
|
+
var $L130 = $L("|>");
|
|
1088
|
+
var $L131 = $L("readonly");
|
|
1089
|
+
var $L132 = $L("return");
|
|
1090
|
+
var $L133 = $L("satisfies");
|
|
1091
|
+
var $L134 = $L("'");
|
|
1092
|
+
var $L135 = $L("static");
|
|
1093
|
+
var $L136 = $L("${");
|
|
1094
|
+
var $L137 = $L("switch");
|
|
1095
|
+
var $L138 = $L("target");
|
|
1096
|
+
var $L139 = $L("then");
|
|
1097
|
+
var $L140 = $L("this");
|
|
1098
|
+
var $L141 = $L("throw");
|
|
1099
|
+
var $L142 = $L('"""');
|
|
1100
|
+
var $L143 = $L("'''");
|
|
1101
|
+
var $L144 = $L("///");
|
|
1102
|
+
var $L145 = $L("```");
|
|
1103
|
+
var $L146 = $L("try");
|
|
1104
|
+
var $L147 = $L("typeof");
|
|
1105
|
+
var $L148 = $L("unless");
|
|
1106
|
+
var $L149 = $L("until");
|
|
1107
|
+
var $L150 = $L("var");
|
|
1108
|
+
var $L151 = $L("void");
|
|
1109
|
+
var $L152 = $L("when");
|
|
1110
|
+
var $L153 = $L("while");
|
|
1111
|
+
var $L154 = $L("yield");
|
|
1112
|
+
var $L155 = $L("/>");
|
|
1113
|
+
var $L156 = $L("</");
|
|
1114
|
+
var $L157 = $L("<>");
|
|
1115
|
+
var $L158 = $L("</>");
|
|
1116
|
+
var $L159 = $L("<!--");
|
|
1117
|
+
var $L160 = $L("-->");
|
|
1118
|
+
var $L161 = $L("declare");
|
|
1119
|
+
var $L162 = $L("type");
|
|
1120
|
+
var $L163 = $L("interface");
|
|
1121
|
+
var $L164 = $L("namespace");
|
|
1122
|
+
var $L165 = $L("asserts");
|
|
1123
|
+
var $L166 = $L("keyof");
|
|
1124
|
+
var $L167 = $L("infer");
|
|
1125
|
+
var $L168 = $L("[]");
|
|
1126
|
+
var $L169 = $L("civet");
|
|
1139
1127
|
var $R0 = $R(new RegExp("(as|for|of|satisfies|then|when)(?!\\p{ID_Continue}|[\\u200C\\u200D$])", "suy"));
|
|
1140
1128
|
var $R1 = $R(new RegExp("[&]", "suy"));
|
|
1141
1129
|
var $R2 = $R(new RegExp("[!~+-]+", "suy"));
|
|
@@ -3826,21 +3814,11 @@ ${input.slice(result.pos)}
|
|
|
3826
3814
|
}
|
|
3827
3815
|
}
|
|
3828
3816
|
var ObjectBindingPatternContent$0 = NestedBindingProperties;
|
|
3829
|
-
var ObjectBindingPatternContent$1 = $
|
|
3830
|
-
var props = $
|
|
3831
|
-
|
|
3832
|
-
|
|
3833
|
-
|
|
3834
|
-
const children = [...props];
|
|
3835
|
-
if (rest) {
|
|
3836
|
-
[rest, after] = module.reorderBindingRestProperty(rest, after);
|
|
3837
|
-
children.push(...after, rest);
|
|
3838
|
-
names.push(...after.flatMap((p) => p.names), ...rest.names);
|
|
3839
|
-
}
|
|
3840
|
-
return {
|
|
3841
|
-
names,
|
|
3842
|
-
children
|
|
3843
|
-
};
|
|
3817
|
+
var ObjectBindingPatternContent$1 = $TV($E(BindingPropertyList), function($skip, $loc, $0, $1) {
|
|
3818
|
+
var props = $0;
|
|
3819
|
+
if (!props)
|
|
3820
|
+
return { children: [], names: [] };
|
|
3821
|
+
return module.reorderBindingRestProperty(props);
|
|
3844
3822
|
});
|
|
3845
3823
|
function ObjectBindingPatternContent(state) {
|
|
3846
3824
|
let eventData;
|
|
@@ -3864,6 +3842,37 @@ ${input.slice(result.pos)}
|
|
|
3864
3842
|
return result;
|
|
3865
3843
|
}
|
|
3866
3844
|
}
|
|
3845
|
+
var BindingPropertyList$0 = $TV($P($S(BindingProperty, ObjectPropertyDelimiter)), function($skip, $loc, $0, $1) {
|
|
3846
|
+
var props = $0;
|
|
3847
|
+
return props.map(([prop, delim]) => {
|
|
3848
|
+
return {
|
|
3849
|
+
...prop,
|
|
3850
|
+
children: [...prop.children, delim]
|
|
3851
|
+
};
|
|
3852
|
+
});
|
|
3853
|
+
});
|
|
3854
|
+
function BindingPropertyList(state) {
|
|
3855
|
+
let eventData;
|
|
3856
|
+
if (state.events) {
|
|
3857
|
+
const result = state.events.enter?.("BindingPropertyList", state);
|
|
3858
|
+
if (result) {
|
|
3859
|
+
if (result.cache)
|
|
3860
|
+
return result.cache;
|
|
3861
|
+
eventData = result.data;
|
|
3862
|
+
}
|
|
3863
|
+
}
|
|
3864
|
+
if (state.tokenize) {
|
|
3865
|
+
const result = $TOKEN("BindingPropertyList", state, BindingPropertyList$0(state));
|
|
3866
|
+
if (state.events)
|
|
3867
|
+
state.events.exit?.("BindingPropertyList", state, result, eventData);
|
|
3868
|
+
return result;
|
|
3869
|
+
} else {
|
|
3870
|
+
const result = BindingPropertyList$0(state);
|
|
3871
|
+
if (state.events)
|
|
3872
|
+
state.events.exit?.("BindingPropertyList", state, result, eventData);
|
|
3873
|
+
return result;
|
|
3874
|
+
}
|
|
3875
|
+
}
|
|
3867
3876
|
var ArrayBindingPattern$0 = $TS($S(OpenBracket, ArrayBindingPatternContent, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
3868
3877
|
var c = $2;
|
|
3869
3878
|
return {
|
|
@@ -3971,23 +3980,12 @@ ${input.slice(result.pos)}
|
|
|
3971
3980
|
return result;
|
|
3972
3981
|
}
|
|
3973
3982
|
}
|
|
3974
|
-
var NestedBindingProperties$0 = $TS($S(PushIndent, $Q(
|
|
3983
|
+
var NestedBindingProperties$0 = $TS($S(PushIndent, $Q(NestedBindingPropertyList), PopIndent), function($skip, $loc, $0, $1, $2, $3) {
|
|
3975
3984
|
var props = $2;
|
|
3976
|
-
|
|
3977
|
-
var after = $4;
|
|
3978
|
-
if (!(props.length || rest))
|
|
3985
|
+
if (!props.length)
|
|
3979
3986
|
return $skip;
|
|
3980
|
-
|
|
3981
|
-
|
|
3982
|
-
if (rest) {
|
|
3983
|
-
[rest, after] = module.reorderBindingRestProperty(rest, after);
|
|
3984
|
-
children.push(...after, rest);
|
|
3985
|
-
names.push(...after.flatMap((p) => p.names), ...rest.names);
|
|
3986
|
-
}
|
|
3987
|
-
return {
|
|
3988
|
-
children,
|
|
3989
|
-
names
|
|
3990
|
-
};
|
|
3987
|
+
props = props.flat();
|
|
3988
|
+
return module.reorderBindingRestProperty(props);
|
|
3991
3989
|
});
|
|
3992
3990
|
function NestedBindingProperties(state) {
|
|
3993
3991
|
let eventData;
|
|
@@ -4011,18 +4009,22 @@ ${input.slice(result.pos)}
|
|
|
4011
4009
|
return result;
|
|
4012
4010
|
}
|
|
4013
4011
|
}
|
|
4014
|
-
var
|
|
4015
|
-
var
|
|
4016
|
-
var
|
|
4017
|
-
return {
|
|
4018
|
-
|
|
4019
|
-
|
|
4020
|
-
|
|
4012
|
+
var NestedBindingPropertyList$0 = $TS($S(Nested, BindingPropertyList), function($skip, $loc, $0, $1, $2) {
|
|
4013
|
+
var ws = $1;
|
|
4014
|
+
var props = $2;
|
|
4015
|
+
return props.map((prop, i) => {
|
|
4016
|
+
if (i > 0)
|
|
4017
|
+
return prop;
|
|
4018
|
+
return {
|
|
4019
|
+
...prop,
|
|
4020
|
+
children: [ws, ...prop.children]
|
|
4021
|
+
};
|
|
4022
|
+
});
|
|
4021
4023
|
});
|
|
4022
|
-
function
|
|
4024
|
+
function NestedBindingPropertyList(state) {
|
|
4023
4025
|
let eventData;
|
|
4024
4026
|
if (state.events) {
|
|
4025
|
-
const result = state.events.enter?.("
|
|
4027
|
+
const result = state.events.enter?.("NestedBindingPropertyList", state);
|
|
4026
4028
|
if (result) {
|
|
4027
4029
|
if (result.cache)
|
|
4028
4030
|
return result.cache;
|
|
@@ -4030,25 +4032,26 @@ ${input.slice(result.pos)}
|
|
|
4030
4032
|
}
|
|
4031
4033
|
}
|
|
4032
4034
|
if (state.tokenize) {
|
|
4033
|
-
const result = $TOKEN("
|
|
4035
|
+
const result = $TOKEN("NestedBindingPropertyList", state, NestedBindingPropertyList$0(state));
|
|
4034
4036
|
if (state.events)
|
|
4035
|
-
state.events.exit?.("
|
|
4037
|
+
state.events.exit?.("NestedBindingPropertyList", state, result, eventData);
|
|
4036
4038
|
return result;
|
|
4037
4039
|
} else {
|
|
4038
|
-
const result =
|
|
4040
|
+
const result = NestedBindingPropertyList$0(state);
|
|
4039
4041
|
if (state.events)
|
|
4040
|
-
state.events.exit?.("
|
|
4042
|
+
state.events.exit?.("NestedBindingPropertyList", state, result, eventData);
|
|
4041
4043
|
return result;
|
|
4042
4044
|
}
|
|
4043
4045
|
}
|
|
4044
|
-
var BindingProperty$0 =
|
|
4046
|
+
var BindingProperty$0 = BindingRestProperty;
|
|
4047
|
+
var BindingProperty$1 = $TS($S($E(_), PropertyName, __, Colon, $C(BindingIdentifier, BindingPattern), $E(Initializer)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
|
|
4045
4048
|
var b = $5;
|
|
4046
4049
|
return {
|
|
4047
4050
|
names: b.names,
|
|
4048
4051
|
children: $0
|
|
4049
4052
|
};
|
|
4050
4053
|
});
|
|
4051
|
-
var BindingProperty$
|
|
4054
|
+
var BindingProperty$2 = $TS($S(BindingIdentifier, $E(Initializer)), function($skip, $loc, $0, $1, $2) {
|
|
4052
4055
|
var b = $1;
|
|
4053
4056
|
if (b.type === "AtBinding") {
|
|
4054
4057
|
return {
|
|
@@ -4074,65 +4077,35 @@ ${input.slice(result.pos)}
|
|
|
4074
4077
|
}
|
|
4075
4078
|
}
|
|
4076
4079
|
if (state.tokenize) {
|
|
4077
|
-
const result = $TOKEN("BindingProperty", state, BindingProperty$0(state) || BindingProperty$1(state));
|
|
4080
|
+
const result = $TOKEN("BindingProperty", state, BindingProperty$0(state) || BindingProperty$1(state) || BindingProperty$2(state));
|
|
4078
4081
|
if (state.events)
|
|
4079
4082
|
state.events.exit?.("BindingProperty", state, result, eventData);
|
|
4080
4083
|
return result;
|
|
4081
4084
|
} else {
|
|
4082
|
-
const result = BindingProperty$0(state) || BindingProperty$1(state);
|
|
4085
|
+
const result = BindingProperty$0(state) || BindingProperty$1(state) || BindingProperty$2(state);
|
|
4083
4086
|
if (state.events)
|
|
4084
4087
|
state.events.exit?.("BindingProperty", state, result, eventData);
|
|
4085
4088
|
return result;
|
|
4086
4089
|
}
|
|
4087
4090
|
}
|
|
4088
|
-
var
|
|
4089
|
-
var indent = $1;
|
|
4090
|
-
var prop = $2;
|
|
4091
|
-
return {
|
|
4092
|
-
...prop,
|
|
4093
|
-
children: [indent, ...prop.children]
|
|
4094
|
-
};
|
|
4095
|
-
});
|
|
4096
|
-
function NestedBindingRestProperty(state) {
|
|
4097
|
-
let eventData;
|
|
4098
|
-
if (state.events) {
|
|
4099
|
-
const result = state.events.enter?.("NestedBindingRestProperty", state);
|
|
4100
|
-
if (result) {
|
|
4101
|
-
if (result.cache)
|
|
4102
|
-
return result.cache;
|
|
4103
|
-
eventData = result.data;
|
|
4104
|
-
}
|
|
4105
|
-
}
|
|
4106
|
-
if (state.tokenize) {
|
|
4107
|
-
const result = $TOKEN("NestedBindingRestProperty", state, NestedBindingRestProperty$0(state));
|
|
4108
|
-
if (state.events)
|
|
4109
|
-
state.events.exit?.("NestedBindingRestProperty", state, result, eventData);
|
|
4110
|
-
return result;
|
|
4111
|
-
} else {
|
|
4112
|
-
const result = NestedBindingRestProperty$0(state);
|
|
4113
|
-
if (state.events)
|
|
4114
|
-
state.events.exit?.("NestedBindingRestProperty", state, result, eventData);
|
|
4115
|
-
return result;
|
|
4116
|
-
}
|
|
4117
|
-
}
|
|
4118
|
-
var BindingRestProperty$0 = $TS($S(__, DotDotDot, BindingIdentifier, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
4091
|
+
var BindingRestProperty$0 = $TS($S($E(_), DotDotDot, BindingIdentifier), function($skip, $loc, $0, $1, $2, $3) {
|
|
4119
4092
|
var ws = $1;
|
|
4120
4093
|
var dots = $2;
|
|
4121
4094
|
var id = $3;
|
|
4122
|
-
var delimiter = $4;
|
|
4123
4095
|
return {
|
|
4124
4096
|
...id,
|
|
4125
|
-
|
|
4097
|
+
type: "BindingRestProperty",
|
|
4098
|
+
children: [...ws || [], dots, ...id.children]
|
|
4126
4099
|
};
|
|
4127
4100
|
});
|
|
4128
|
-
var BindingRestProperty$1 = $TS($S(
|
|
4101
|
+
var BindingRestProperty$1 = $TS($S($E(_), BindingIdentifier, DotDotDot), function($skip, $loc, $0, $1, $2, $3) {
|
|
4129
4102
|
var ws = $1;
|
|
4130
4103
|
var id = $2;
|
|
4131
4104
|
var dots = $3;
|
|
4132
|
-
var delimiter = $4;
|
|
4133
4105
|
return {
|
|
4134
4106
|
...id,
|
|
4135
|
-
|
|
4107
|
+
type: "BindingRestProperty",
|
|
4108
|
+
children: [...ws || [], dots, ...id.children]
|
|
4136
4109
|
};
|
|
4137
4110
|
});
|
|
4138
4111
|
function BindingRestProperty(state) {
|
|
@@ -4345,492 +4318,6 @@ ${input.slice(result.pos)}
|
|
|
4345
4318
|
return result;
|
|
4346
4319
|
}
|
|
4347
4320
|
}
|
|
4348
|
-
var MatchingPattern$0 = ObjectMatchingPattern;
|
|
4349
|
-
var MatchingPattern$1 = ArrayMatchingPattern;
|
|
4350
|
-
var MatchingPattern$2 = Literal;
|
|
4351
|
-
var MatchingPattern$3 = RegularExpressionLiteral;
|
|
4352
|
-
function MatchingPattern(state) {
|
|
4353
|
-
let eventData;
|
|
4354
|
-
if (state.events) {
|
|
4355
|
-
const result = state.events.enter?.("MatchingPattern", state);
|
|
4356
|
-
if (result) {
|
|
4357
|
-
if (result.cache)
|
|
4358
|
-
return result.cache;
|
|
4359
|
-
eventData = result.data;
|
|
4360
|
-
}
|
|
4361
|
-
}
|
|
4362
|
-
if (state.tokenize) {
|
|
4363
|
-
const result = $TOKEN("MatchingPattern", state, MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state));
|
|
4364
|
-
if (state.events)
|
|
4365
|
-
state.events.exit?.("MatchingPattern", state, result, eventData);
|
|
4366
|
-
return result;
|
|
4367
|
-
} else {
|
|
4368
|
-
const result = MatchingPattern$0(state) || MatchingPattern$1(state) || MatchingPattern$2(state) || MatchingPattern$3(state);
|
|
4369
|
-
if (state.events)
|
|
4370
|
-
state.events.exit?.("MatchingPattern", state, result, eventData);
|
|
4371
|
-
return result;
|
|
4372
|
-
}
|
|
4373
|
-
}
|
|
4374
|
-
var ObjectMatchingPattern$0 = $TS($S(OpenBrace, ObjectMatchingPatternContent, __, CloseBrace), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
4375
|
-
var open = $1;
|
|
4376
|
-
var content = $2;
|
|
4377
|
-
var ws = $3;
|
|
4378
|
-
var close = $4;
|
|
4379
|
-
return {
|
|
4380
|
-
type: "ObjectMatchingPattern",
|
|
4381
|
-
children: [open, ...content.children, ...ws, close]
|
|
4382
|
-
};
|
|
4383
|
-
});
|
|
4384
|
-
function ObjectMatchingPattern(state) {
|
|
4385
|
-
let eventData;
|
|
4386
|
-
if (state.events) {
|
|
4387
|
-
const result = state.events.enter?.("ObjectMatchingPattern", state);
|
|
4388
|
-
if (result) {
|
|
4389
|
-
if (result.cache)
|
|
4390
|
-
return result.cache;
|
|
4391
|
-
eventData = result.data;
|
|
4392
|
-
}
|
|
4393
|
-
}
|
|
4394
|
-
if (state.tokenize) {
|
|
4395
|
-
const result = $TOKEN("ObjectMatchingPattern", state, ObjectMatchingPattern$0(state));
|
|
4396
|
-
if (state.events)
|
|
4397
|
-
state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
|
|
4398
|
-
return result;
|
|
4399
|
-
} else {
|
|
4400
|
-
const result = ObjectMatchingPattern$0(state);
|
|
4401
|
-
if (state.events)
|
|
4402
|
-
state.events.exit?.("ObjectMatchingPattern", state, result, eventData);
|
|
4403
|
-
return result;
|
|
4404
|
-
}
|
|
4405
|
-
}
|
|
4406
|
-
var ObjectMatchingPatternContent$0 = NestedMatchingProperties;
|
|
4407
|
-
var ObjectMatchingPatternContent$1 = $TS($S($Q(MatchingProperty), $E(MatchingRestProperty), $Q(MatchingProperty)), function($skip, $loc, $0, $1, $2, $3) {
|
|
4408
|
-
var props = $1;
|
|
4409
|
-
var rest = $2;
|
|
4410
|
-
var after = $3;
|
|
4411
|
-
const names = props.flatMap((p) => p.names);
|
|
4412
|
-
const children = [...props];
|
|
4413
|
-
if (rest) {
|
|
4414
|
-
[rest, after] = module.reorderBindingRestProperty(rest, after);
|
|
4415
|
-
children.push(...after, rest);
|
|
4416
|
-
names.push(...after.flatMap((p) => p.names), ...rest.names);
|
|
4417
|
-
}
|
|
4418
|
-
return {
|
|
4419
|
-
names,
|
|
4420
|
-
children
|
|
4421
|
-
};
|
|
4422
|
-
});
|
|
4423
|
-
function ObjectMatchingPatternContent(state) {
|
|
4424
|
-
let eventData;
|
|
4425
|
-
if (state.events) {
|
|
4426
|
-
const result = state.events.enter?.("ObjectMatchingPatternContent", state);
|
|
4427
|
-
if (result) {
|
|
4428
|
-
if (result.cache)
|
|
4429
|
-
return result.cache;
|
|
4430
|
-
eventData = result.data;
|
|
4431
|
-
}
|
|
4432
|
-
}
|
|
4433
|
-
if (state.tokenize) {
|
|
4434
|
-
const result = $TOKEN("ObjectMatchingPatternContent", state, ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state));
|
|
4435
|
-
if (state.events)
|
|
4436
|
-
state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
|
|
4437
|
-
return result;
|
|
4438
|
-
} else {
|
|
4439
|
-
const result = ObjectMatchingPatternContent$0(state) || ObjectMatchingPatternContent$1(state);
|
|
4440
|
-
if (state.events)
|
|
4441
|
-
state.events.exit?.("ObjectMatchingPatternContent", state, result, eventData);
|
|
4442
|
-
return result;
|
|
4443
|
-
}
|
|
4444
|
-
}
|
|
4445
|
-
var NestedMatchingProperties$0 = $TS($S(PushIndent, $Q(NestedMatchingProperty), $E(NestedMatchingRestProperty), $Q(NestedMatchingProperty), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
4446
|
-
var props = $2;
|
|
4447
|
-
var rest = $3;
|
|
4448
|
-
var after = $4;
|
|
4449
|
-
if (!(props.length || rest))
|
|
4450
|
-
return $skip;
|
|
4451
|
-
const names = props.flatMap((p) => p.names);
|
|
4452
|
-
const children = [...props];
|
|
4453
|
-
if (rest) {
|
|
4454
|
-
[rest, after] = module.reorderBindingRestProperty(rest, after);
|
|
4455
|
-
children.push(...after, rest);
|
|
4456
|
-
names.push(...after.flatMap((p) => p.names), ...rest.names);
|
|
4457
|
-
}
|
|
4458
|
-
return {
|
|
4459
|
-
children,
|
|
4460
|
-
names
|
|
4461
|
-
};
|
|
4462
|
-
});
|
|
4463
|
-
function NestedMatchingProperties(state) {
|
|
4464
|
-
let eventData;
|
|
4465
|
-
if (state.events) {
|
|
4466
|
-
const result = state.events.enter?.("NestedMatchingProperties", state);
|
|
4467
|
-
if (result) {
|
|
4468
|
-
if (result.cache)
|
|
4469
|
-
return result.cache;
|
|
4470
|
-
eventData = result.data;
|
|
4471
|
-
}
|
|
4472
|
-
}
|
|
4473
|
-
if (state.tokenize) {
|
|
4474
|
-
const result = $TOKEN("NestedMatchingProperties", state, NestedMatchingProperties$0(state));
|
|
4475
|
-
if (state.events)
|
|
4476
|
-
state.events.exit?.("NestedMatchingProperties", state, result, eventData);
|
|
4477
|
-
return result;
|
|
4478
|
-
} else {
|
|
4479
|
-
const result = NestedMatchingProperties$0(state);
|
|
4480
|
-
if (state.events)
|
|
4481
|
-
state.events.exit?.("NestedMatchingProperties", state, result, eventData);
|
|
4482
|
-
return result;
|
|
4483
|
-
}
|
|
4484
|
-
}
|
|
4485
|
-
var NestedMatchingProperty$0 = $TS($S(Nested, MatchingProperty), function($skip, $loc, $0, $1, $2) {
|
|
4486
|
-
var indent = $1;
|
|
4487
|
-
var prop = $2;
|
|
4488
|
-
return {
|
|
4489
|
-
...prop,
|
|
4490
|
-
children: [...indent, ...prop.children]
|
|
4491
|
-
};
|
|
4492
|
-
});
|
|
4493
|
-
function NestedMatchingProperty(state) {
|
|
4494
|
-
let eventData;
|
|
4495
|
-
if (state.events) {
|
|
4496
|
-
const result = state.events.enter?.("NestedMatchingProperty", state);
|
|
4497
|
-
if (result) {
|
|
4498
|
-
if (result.cache)
|
|
4499
|
-
return result.cache;
|
|
4500
|
-
eventData = result.data;
|
|
4501
|
-
}
|
|
4502
|
-
}
|
|
4503
|
-
if (state.tokenize) {
|
|
4504
|
-
const result = $TOKEN("NestedMatchingProperty", state, NestedMatchingProperty$0(state));
|
|
4505
|
-
if (state.events)
|
|
4506
|
-
state.events.exit?.("NestedMatchingProperty", state, result, eventData);
|
|
4507
|
-
return result;
|
|
4508
|
-
} else {
|
|
4509
|
-
const result = NestedMatchingProperty$0(state);
|
|
4510
|
-
if (state.events)
|
|
4511
|
-
state.events.exit?.("NestedMatchingProperty", state, result, eventData);
|
|
4512
|
-
return result;
|
|
4513
|
-
}
|
|
4514
|
-
}
|
|
4515
|
-
var MatchingProperty$0 = $TS($S(__, PropertyName, __, Colon, $C(BindingIdentifier, MatchingPattern), ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
|
|
4516
|
-
var m = $5;
|
|
4517
|
-
return {
|
|
4518
|
-
names: m.names,
|
|
4519
|
-
children: $0
|
|
4520
|
-
};
|
|
4521
|
-
});
|
|
4522
|
-
var MatchingProperty$1 = $TS($S(BindingIdentifier, ObjectPropertyDelimiter), function($skip, $loc, $0, $1, $2) {
|
|
4523
|
-
var b = $1;
|
|
4524
|
-
if (b.type === "AtBinding") {
|
|
4525
|
-
return {
|
|
4526
|
-
type: "AtBindingProperty",
|
|
4527
|
-
ref: b.ref,
|
|
4528
|
-
names: [],
|
|
4529
|
-
children: $0
|
|
4530
|
-
};
|
|
4531
|
-
}
|
|
4532
|
-
return {
|
|
4533
|
-
names: b.names,
|
|
4534
|
-
children: $0
|
|
4535
|
-
};
|
|
4536
|
-
});
|
|
4537
|
-
function MatchingProperty(state) {
|
|
4538
|
-
let eventData;
|
|
4539
|
-
if (state.events) {
|
|
4540
|
-
const result = state.events.enter?.("MatchingProperty", state);
|
|
4541
|
-
if (result) {
|
|
4542
|
-
if (result.cache)
|
|
4543
|
-
return result.cache;
|
|
4544
|
-
eventData = result.data;
|
|
4545
|
-
}
|
|
4546
|
-
}
|
|
4547
|
-
if (state.tokenize) {
|
|
4548
|
-
const result = $TOKEN("MatchingProperty", state, MatchingProperty$0(state) || MatchingProperty$1(state));
|
|
4549
|
-
if (state.events)
|
|
4550
|
-
state.events.exit?.("MatchingProperty", state, result, eventData);
|
|
4551
|
-
return result;
|
|
4552
|
-
} else {
|
|
4553
|
-
const result = MatchingProperty$0(state) || MatchingProperty$1(state);
|
|
4554
|
-
if (state.events)
|
|
4555
|
-
state.events.exit?.("MatchingProperty", state, result, eventData);
|
|
4556
|
-
return result;
|
|
4557
|
-
}
|
|
4558
|
-
}
|
|
4559
|
-
var NestedMatchingRestProperty$0 = $TS($S(Nested, MatchingRestProperty), function($skip, $loc, $0, $1, $2) {
|
|
4560
|
-
var indent = $1;
|
|
4561
|
-
var prop = $2;
|
|
4562
|
-
return {
|
|
4563
|
-
...prop,
|
|
4564
|
-
children: [indent, ...prop.children]
|
|
4565
|
-
};
|
|
4566
|
-
});
|
|
4567
|
-
function NestedMatchingRestProperty(state) {
|
|
4568
|
-
let eventData;
|
|
4569
|
-
if (state.events) {
|
|
4570
|
-
const result = state.events.enter?.("NestedMatchingRestProperty", state);
|
|
4571
|
-
if (result) {
|
|
4572
|
-
if (result.cache)
|
|
4573
|
-
return result.cache;
|
|
4574
|
-
eventData = result.data;
|
|
4575
|
-
}
|
|
4576
|
-
}
|
|
4577
|
-
if (state.tokenize) {
|
|
4578
|
-
const result = $TOKEN("NestedMatchingRestProperty", state, NestedMatchingRestProperty$0(state));
|
|
4579
|
-
if (state.events)
|
|
4580
|
-
state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
|
|
4581
|
-
return result;
|
|
4582
|
-
} else {
|
|
4583
|
-
const result = NestedMatchingRestProperty$0(state);
|
|
4584
|
-
if (state.events)
|
|
4585
|
-
state.events.exit?.("NestedMatchingRestProperty", state, result, eventData);
|
|
4586
|
-
return result;
|
|
4587
|
-
}
|
|
4588
|
-
}
|
|
4589
|
-
var MatchingRestProperty$0 = BindingRestProperty;
|
|
4590
|
-
function MatchingRestProperty(state) {
|
|
4591
|
-
let eventData;
|
|
4592
|
-
if (state.events) {
|
|
4593
|
-
const result = state.events.enter?.("MatchingRestProperty", state);
|
|
4594
|
-
if (result) {
|
|
4595
|
-
if (result.cache)
|
|
4596
|
-
return result.cache;
|
|
4597
|
-
eventData = result.data;
|
|
4598
|
-
}
|
|
4599
|
-
}
|
|
4600
|
-
if (state.tokenize) {
|
|
4601
|
-
const result = $TOKEN("MatchingRestProperty", state, MatchingRestProperty$0(state));
|
|
4602
|
-
if (state.events)
|
|
4603
|
-
state.events.exit?.("MatchingRestProperty", state, result, eventData);
|
|
4604
|
-
return result;
|
|
4605
|
-
} else {
|
|
4606
|
-
const result = MatchingRestProperty$0(state);
|
|
4607
|
-
if (state.events)
|
|
4608
|
-
state.events.exit?.("MatchingRestProperty", state, result, eventData);
|
|
4609
|
-
return result;
|
|
4610
|
-
}
|
|
4611
|
-
}
|
|
4612
|
-
var ArrayMatchingPattern$0 = $TS($S(OpenBracket, ArrayMatchingPatternContent, __, CloseBracket), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
4613
|
-
var open = $1;
|
|
4614
|
-
var content = $2;
|
|
4615
|
-
var ws = $3;
|
|
4616
|
-
var close = $4;
|
|
4617
|
-
return {
|
|
4618
|
-
type: "ArrayMatchingPattern",
|
|
4619
|
-
children: $0
|
|
4620
|
-
};
|
|
4621
|
-
});
|
|
4622
|
-
function ArrayMatchingPattern(state) {
|
|
4623
|
-
let eventData;
|
|
4624
|
-
if (state.events) {
|
|
4625
|
-
const result = state.events.enter?.("ArrayMatchingPattern", state);
|
|
4626
|
-
if (result) {
|
|
4627
|
-
if (result.cache)
|
|
4628
|
-
return result.cache;
|
|
4629
|
-
eventData = result.data;
|
|
4630
|
-
}
|
|
4631
|
-
}
|
|
4632
|
-
if (state.tokenize) {
|
|
4633
|
-
const result = $TOKEN("ArrayMatchingPattern", state, ArrayMatchingPattern$0(state));
|
|
4634
|
-
if (state.events)
|
|
4635
|
-
state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
|
|
4636
|
-
return result;
|
|
4637
|
-
} else {
|
|
4638
|
-
const result = ArrayMatchingPattern$0(state);
|
|
4639
|
-
if (state.events)
|
|
4640
|
-
state.events.exit?.("ArrayMatchingPattern", state, result, eventData);
|
|
4641
|
-
return result;
|
|
4642
|
-
}
|
|
4643
|
-
}
|
|
4644
|
-
var ArrayMatchingPatternContent$0 = NestedMatchingElements;
|
|
4645
|
-
var ArrayMatchingPatternContent$1 = $TS($S($Q($C(MatchingElement, Elision)), $E($S(MatchingRestElement, ArrayElementDelimiter)), $Q($C(MatchingElement, Elision))), function($skip, $loc, $0, $1, $2, $3) {
|
|
4646
|
-
var props = $1;
|
|
4647
|
-
var rest = $2;
|
|
4648
|
-
var after = $3;
|
|
4649
|
-
const names = props.flatMap((p) => p.names || []);
|
|
4650
|
-
const children = [...props];
|
|
4651
|
-
let blockPrefix;
|
|
4652
|
-
if (rest) {
|
|
4653
|
-
const [restBinding] = rest;
|
|
4654
|
-
children.push(restBinding);
|
|
4655
|
-
let restIdentifier;
|
|
4656
|
-
if (restBinding.ref) {
|
|
4657
|
-
restIdentifier = restBinding.ref;
|
|
4658
|
-
} else {
|
|
4659
|
-
restIdentifier = restBinding.names[0];
|
|
4660
|
-
names.push(...restBinding.names);
|
|
4661
|
-
}
|
|
4662
|
-
if (after.length) {
|
|
4663
|
-
const spliceRef = module.getRef("splice");
|
|
4664
|
-
blockPrefix = {
|
|
4665
|
-
children: ["[", module.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
|
|
4666
|
-
names: after.flatMap((p) => p.names)
|
|
4667
|
-
};
|
|
4668
|
-
}
|
|
4669
|
-
}
|
|
4670
|
-
return {
|
|
4671
|
-
names,
|
|
4672
|
-
children,
|
|
4673
|
-
blockPrefix
|
|
4674
|
-
};
|
|
4675
|
-
});
|
|
4676
|
-
function ArrayMatchingPatternContent(state) {
|
|
4677
|
-
let eventData;
|
|
4678
|
-
if (state.events) {
|
|
4679
|
-
const result = state.events.enter?.("ArrayMatchingPatternContent", state);
|
|
4680
|
-
if (result) {
|
|
4681
|
-
if (result.cache)
|
|
4682
|
-
return result.cache;
|
|
4683
|
-
eventData = result.data;
|
|
4684
|
-
}
|
|
4685
|
-
}
|
|
4686
|
-
if (state.tokenize) {
|
|
4687
|
-
const result = $TOKEN("ArrayMatchingPatternContent", state, ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state));
|
|
4688
|
-
if (state.events)
|
|
4689
|
-
state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
|
|
4690
|
-
return result;
|
|
4691
|
-
} else {
|
|
4692
|
-
const result = ArrayMatchingPatternContent$0(state) || ArrayMatchingPatternContent$1(state);
|
|
4693
|
-
if (state.events)
|
|
4694
|
-
state.events.exit?.("ArrayMatchingPatternContent", state, result, eventData);
|
|
4695
|
-
return result;
|
|
4696
|
-
}
|
|
4697
|
-
}
|
|
4698
|
-
var NestedMatchingElements$0 = $TS($S(PushIndent, $Q(NestedMatchingElement), $E($S(Nested, MatchingRestElement, ArrayElementDelimiter)), $Q(NestedMatchingElement), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
4699
|
-
var props = $2;
|
|
4700
|
-
var rest = $3;
|
|
4701
|
-
var after = $4;
|
|
4702
|
-
if (!(props.length || rest))
|
|
4703
|
-
return $skip;
|
|
4704
|
-
const names = props.flatMap((p) => p.names), children = [...props];
|
|
4705
|
-
let blockPrefix;
|
|
4706
|
-
if (rest) {
|
|
4707
|
-
const [, restBinding] = rest;
|
|
4708
|
-
let restIdentifier;
|
|
4709
|
-
if (restBinding.ref) {
|
|
4710
|
-
restIdentifier = restBinding.binding.ref;
|
|
4711
|
-
} else {
|
|
4712
|
-
restIdentifier = restBinding.names[0];
|
|
4713
|
-
}
|
|
4714
|
-
if (after.length) {
|
|
4715
|
-
const spliceRef = module.getRef("splice");
|
|
4716
|
-
blockPrefix = {
|
|
4717
|
-
children: ["[", module.insertTrimmingSpace(after, ""), "] = ", spliceRef, ".call(", restIdentifier, ", -", after.length.toString(), ")"],
|
|
4718
|
-
names: after.flatMap((p) => p.names)
|
|
4719
|
-
};
|
|
4720
|
-
}
|
|
4721
|
-
children.push(...rest);
|
|
4722
|
-
names.push(...restBinding.names);
|
|
4723
|
-
}
|
|
4724
|
-
return {
|
|
4725
|
-
children,
|
|
4726
|
-
names,
|
|
4727
|
-
blockPrefix
|
|
4728
|
-
};
|
|
4729
|
-
});
|
|
4730
|
-
function NestedMatchingElements(state) {
|
|
4731
|
-
let eventData;
|
|
4732
|
-
if (state.events) {
|
|
4733
|
-
const result = state.events.enter?.("NestedMatchingElements", state);
|
|
4734
|
-
if (result) {
|
|
4735
|
-
if (result.cache)
|
|
4736
|
-
return result.cache;
|
|
4737
|
-
eventData = result.data;
|
|
4738
|
-
}
|
|
4739
|
-
}
|
|
4740
|
-
if (state.tokenize) {
|
|
4741
|
-
const result = $TOKEN("NestedMatchingElements", state, NestedMatchingElements$0(state));
|
|
4742
|
-
if (state.events)
|
|
4743
|
-
state.events.exit?.("NestedMatchingElements", state, result, eventData);
|
|
4744
|
-
return result;
|
|
4745
|
-
} else {
|
|
4746
|
-
const result = NestedMatchingElements$0(state);
|
|
4747
|
-
if (state.events)
|
|
4748
|
-
state.events.exit?.("NestedMatchingElements", state, result, eventData);
|
|
4749
|
-
return result;
|
|
4750
|
-
}
|
|
4751
|
-
}
|
|
4752
|
-
var NestedMatchingElement$0 = $TS($S(Nested, MatchingElement), function($skip, $loc, $0, $1, $2) {
|
|
4753
|
-
var indent = $1;
|
|
4754
|
-
var element = $2;
|
|
4755
|
-
return {
|
|
4756
|
-
...element,
|
|
4757
|
-
children: [indent, ...element.children]
|
|
4758
|
-
};
|
|
4759
|
-
});
|
|
4760
|
-
function NestedMatchingElement(state) {
|
|
4761
|
-
let eventData;
|
|
4762
|
-
if (state.events) {
|
|
4763
|
-
const result = state.events.enter?.("NestedMatchingElement", state);
|
|
4764
|
-
if (result) {
|
|
4765
|
-
if (result.cache)
|
|
4766
|
-
return result.cache;
|
|
4767
|
-
eventData = result.data;
|
|
4768
|
-
}
|
|
4769
|
-
}
|
|
4770
|
-
if (state.tokenize) {
|
|
4771
|
-
const result = $TOKEN("NestedMatchingElement", state, NestedMatchingElement$0(state));
|
|
4772
|
-
if (state.events)
|
|
4773
|
-
state.events.exit?.("NestedMatchingElement", state, result, eventData);
|
|
4774
|
-
return result;
|
|
4775
|
-
} else {
|
|
4776
|
-
const result = NestedMatchingElement$0(state);
|
|
4777
|
-
if (state.events)
|
|
4778
|
-
state.events.exit?.("NestedMatchingElement", state, result, eventData);
|
|
4779
|
-
return result;
|
|
4780
|
-
}
|
|
4781
|
-
}
|
|
4782
|
-
var MatchingElement$0 = $TS($S($C(BindingIdentifier, MatchingPattern), ArrayElementDelimiter), function($skip, $loc, $0, $1, $2) {
|
|
4783
|
-
var binding = $1;
|
|
4784
|
-
return {
|
|
4785
|
-
names: binding.names,
|
|
4786
|
-
children: $0
|
|
4787
|
-
};
|
|
4788
|
-
});
|
|
4789
|
-
function MatchingElement(state) {
|
|
4790
|
-
let eventData;
|
|
4791
|
-
if (state.events) {
|
|
4792
|
-
const result = state.events.enter?.("MatchingElement", state);
|
|
4793
|
-
if (result) {
|
|
4794
|
-
if (result.cache)
|
|
4795
|
-
return result.cache;
|
|
4796
|
-
eventData = result.data;
|
|
4797
|
-
}
|
|
4798
|
-
}
|
|
4799
|
-
if (state.tokenize) {
|
|
4800
|
-
const result = $TOKEN("MatchingElement", state, MatchingElement$0(state));
|
|
4801
|
-
if (state.events)
|
|
4802
|
-
state.events.exit?.("MatchingElement", state, result, eventData);
|
|
4803
|
-
return result;
|
|
4804
|
-
} else {
|
|
4805
|
-
const result = MatchingElement$0(state);
|
|
4806
|
-
if (state.events)
|
|
4807
|
-
state.events.exit?.("MatchingElement", state, result, eventData);
|
|
4808
|
-
return result;
|
|
4809
|
-
}
|
|
4810
|
-
}
|
|
4811
|
-
var MatchingRestElement$0 = BindingRestElement;
|
|
4812
|
-
function MatchingRestElement(state) {
|
|
4813
|
-
let eventData;
|
|
4814
|
-
if (state.events) {
|
|
4815
|
-
const result = state.events.enter?.("MatchingRestElement", state);
|
|
4816
|
-
if (result) {
|
|
4817
|
-
if (result.cache)
|
|
4818
|
-
return result.cache;
|
|
4819
|
-
eventData = result.data;
|
|
4820
|
-
}
|
|
4821
|
-
}
|
|
4822
|
-
if (state.tokenize) {
|
|
4823
|
-
const result = $TOKEN("MatchingRestElement", state, MatchingRestElement$0(state));
|
|
4824
|
-
if (state.events)
|
|
4825
|
-
state.events.exit?.("MatchingRestElement", state, result, eventData);
|
|
4826
|
-
return result;
|
|
4827
|
-
} else {
|
|
4828
|
-
const result = MatchingRestElement$0(state);
|
|
4829
|
-
if (state.events)
|
|
4830
|
-
state.events.exit?.("MatchingRestElement", state, result, eventData);
|
|
4831
|
-
return result;
|
|
4832
|
-
}
|
|
4833
|
-
}
|
|
4834
4321
|
var FunctionDeclaration$0 = FunctionExpression;
|
|
4835
4322
|
function FunctionDeclaration(state) {
|
|
4836
4323
|
let eventData;
|
|
@@ -6366,7 +5853,10 @@ ${input.slice(result.pos)}
|
|
|
6366
5853
|
var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, ImplicitInlineObjectPropertyDelimiter, $Q($S($C(Samedent, $Q(_)), NamedProperty, ImplicitInlineObjectPropertyDelimiter)), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
6367
5854
|
var open = $1;
|
|
6368
5855
|
var close = $5;
|
|
6369
|
-
return
|
|
5856
|
+
return {
|
|
5857
|
+
type: "ObjectExpression",
|
|
5858
|
+
children: [open, $2, $3, ...$4, close]
|
|
5859
|
+
};
|
|
6370
5860
|
});
|
|
6371
5861
|
function InlineObjectLiteral(state) {
|
|
6372
5862
|
let eventData;
|
|
@@ -7272,7 +6762,15 @@ ${input.slice(result.pos)}
|
|
|
7272
6762
|
var Statement$4 = SwitchStatement;
|
|
7273
6763
|
var Statement$5 = TryStatement;
|
|
7274
6764
|
var Statement$6 = EmptyStatement;
|
|
7275
|
-
var Statement$7 = ExpressionStatement
|
|
6765
|
+
var Statement$7 = $TS($S(ExpressionStatement), function($skip, $loc, $0, $1) {
|
|
6766
|
+
if ($1.type === "ObjectExpression") {
|
|
6767
|
+
return {
|
|
6768
|
+
type: "ParenthesizedExpression",
|
|
6769
|
+
children: ["(", $1, ")"]
|
|
6770
|
+
};
|
|
6771
|
+
}
|
|
6772
|
+
return $1;
|
|
6773
|
+
});
|
|
7276
6774
|
var Statement$8 = BlockStatement;
|
|
7277
6775
|
function Statement(state) {
|
|
7278
6776
|
let eventData;
|
|
@@ -9243,21 +8741,26 @@ ${input.slice(result.pos)}
|
|
|
9243
8741
|
return result;
|
|
9244
8742
|
}
|
|
9245
8743
|
}
|
|
9246
|
-
var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause), function(value) {
|
|
8744
|
+
var ImportDeclaration$0 = $T($S(Import, __, TypeKeyword, __, ImportClause, __, FromClause, $E(ImportAssertion)), function(value) {
|
|
9247
8745
|
return { "ts": true, "children": value };
|
|
9248
8746
|
});
|
|
9249
|
-
var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause);
|
|
9250
|
-
var ImportDeclaration$2 = $S(Import, __, ModuleSpecifier);
|
|
9251
|
-
var ImportDeclaration$3 = $TS($S(ImpliedImport, ImportClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
8747
|
+
var ImportDeclaration$1 = $S(Import, __, ImportClause, __, FromClause, $E(ImportAssertion));
|
|
8748
|
+
var ImportDeclaration$2 = $S(Import, __, ModuleSpecifier, $E(ImportAssertion));
|
|
8749
|
+
var ImportDeclaration$3 = $TS($S(ImpliedImport, $E($S(TypeKeyword, __)), ImportClause, __, FromClause, $E(ImportAssertion)), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
|
|
9252
8750
|
var i = $1;
|
|
9253
|
-
var
|
|
9254
|
-
var
|
|
9255
|
-
var
|
|
8751
|
+
var t = $2;
|
|
8752
|
+
var c = $3;
|
|
8753
|
+
var w = $4;
|
|
8754
|
+
var f = $5;
|
|
8755
|
+
var a = $6;
|
|
9256
8756
|
i.$loc = {
|
|
9257
8757
|
pos: f[0].$loc.pos - 1,
|
|
9258
8758
|
length: f[0].$loc.length + 1
|
|
9259
8759
|
};
|
|
9260
|
-
|
|
8760
|
+
const children = [i, t, c, w, f, a];
|
|
8761
|
+
if (!t)
|
|
8762
|
+
return children;
|
|
8763
|
+
return { ts: true, children };
|
|
9261
8764
|
});
|
|
9262
8765
|
function ImportDeclaration(state) {
|
|
9263
8766
|
let eventData;
|
|
@@ -9430,6 +8933,29 @@ ${input.slice(result.pos)}
|
|
|
9430
8933
|
return result;
|
|
9431
8934
|
}
|
|
9432
8935
|
}
|
|
8936
|
+
var ImportAssertion$0 = $S($E(_), $EXPECT($L85, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
|
|
8937
|
+
function ImportAssertion(state) {
|
|
8938
|
+
let eventData;
|
|
8939
|
+
if (state.events) {
|
|
8940
|
+
const result = state.events.enter?.("ImportAssertion", state);
|
|
8941
|
+
if (result) {
|
|
8942
|
+
if (result.cache)
|
|
8943
|
+
return result.cache;
|
|
8944
|
+
eventData = result.data;
|
|
8945
|
+
}
|
|
8946
|
+
}
|
|
8947
|
+
if (state.tokenize) {
|
|
8948
|
+
const result = $TOKEN("ImportAssertion", state, ImportAssertion$0(state));
|
|
8949
|
+
if (state.events)
|
|
8950
|
+
state.events.exit?.("ImportAssertion", state, result, eventData);
|
|
8951
|
+
return result;
|
|
8952
|
+
} else {
|
|
8953
|
+
const result = ImportAssertion$0(state);
|
|
8954
|
+
if (state.events)
|
|
8955
|
+
state.events.exit?.("ImportAssertion", state, result, eventData);
|
|
8956
|
+
return result;
|
|
8957
|
+
}
|
|
8958
|
+
}
|
|
9433
8959
|
var TypeAndImportSpecifier$0 = $TS($S($E($S(__, TypeKeyword)), ImportSpecifier), function($skip, $loc, $0, $1, $2) {
|
|
9434
8960
|
if (!$1)
|
|
9435
8961
|
return $2;
|
|
@@ -9654,7 +9180,7 @@ ${input.slice(result.pos)}
|
|
|
9654
9180
|
return result;
|
|
9655
9181
|
}
|
|
9656
9182
|
}
|
|
9657
|
-
var ExportDeclaration$0 = $S(Export, __, $EXPECT($
|
|
9183
|
+
var ExportDeclaration$0 = $S(Export, __, $EXPECT($L86, fail, 'ExportDeclaration "default"'), NonIdContinue, __, $C(HoistableDeclaration, ClassDeclaration, ExtendedExpression));
|
|
9658
9184
|
var ExportDeclaration$1 = $TS($S(Export, __, ExportFromClause, __, FromClause), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
9659
9185
|
if (!$3.ts)
|
|
9660
9186
|
return $0;
|
|
@@ -9816,7 +9342,7 @@ ${input.slice(result.pos)}
|
|
|
9816
9342
|
return result;
|
|
9817
9343
|
}
|
|
9818
9344
|
}
|
|
9819
|
-
var ImplicitExportSpecifier$0 = $S($N($EXPECT($
|
|
9345
|
+
var ImplicitExportSpecifier$0 = $S($N($EXPECT($L86, fail, 'ImplicitExportSpecifier "default"')), ModuleExportName, $E($S(__, As, __, ModuleExportName)), $C($Y($S(__, From)), ImplicitInlineObjectPropertyDelimiter));
|
|
9820
9346
|
function ImplicitExportSpecifier(state) {
|
|
9821
9347
|
let eventData;
|
|
9822
9348
|
if (state.events) {
|
|
@@ -9987,7 +9513,7 @@ ${input.slice(result.pos)}
|
|
|
9987
9513
|
return result;
|
|
9988
9514
|
}
|
|
9989
9515
|
}
|
|
9990
|
-
var ConstAssignment$0 = $TV($EXPECT($
|
|
9516
|
+
var ConstAssignment$0 = $TV($EXPECT($L87, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
|
|
9991
9517
|
return { $loc, token: "=" };
|
|
9992
9518
|
});
|
|
9993
9519
|
function ConstAssignment(state) {
|
|
@@ -10012,7 +9538,7 @@ ${input.slice(result.pos)}
|
|
|
10012
9538
|
return result;
|
|
10013
9539
|
}
|
|
10014
9540
|
}
|
|
10015
|
-
var LetAssignment$0 = $TV($EXPECT($
|
|
9541
|
+
var LetAssignment$0 = $TV($EXPECT($L88, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
|
|
10016
9542
|
return { $loc, token: "=" };
|
|
10017
9543
|
});
|
|
10018
9544
|
function LetAssignment(state) {
|
|
@@ -11186,7 +10712,7 @@ ${input.slice(result.pos)}
|
|
|
11186
10712
|
return result;
|
|
11187
10713
|
}
|
|
11188
10714
|
}
|
|
11189
|
-
var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($
|
|
10715
|
+
var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L90, fail, 'JSMultiLineComment "*/"')), $EXPECT($R39, fail, "JSMultiLineComment /./"))), $EXPECT($L90, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
|
|
11190
10716
|
return { $loc, token: $1 };
|
|
11191
10717
|
});
|
|
11192
10718
|
function JSMultiLineComment(state) {
|
|
@@ -11236,7 +10762,7 @@ ${input.slice(result.pos)}
|
|
|
11236
10762
|
return result;
|
|
11237
10763
|
}
|
|
11238
10764
|
}
|
|
11239
|
-
var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($
|
|
10765
|
+
var CoffeeMultiLineComment$0 = $TS($S(CoffeeHereCommentStart, $TEXT($Q($S($N($C(CoffeeHereCommentStart, $EXPECT($L90, fail, 'CoffeeMultiLineComment "*/"'))), $EXPECT($R39, fail, "CoffeeMultiLineComment /./")))), CoffeeHereCommentStart), function($skip, $loc, $0, $1, $2, $3) {
|
|
11240
10766
|
return { $loc, token: `/*${$2}*/` };
|
|
11241
10767
|
});
|
|
11242
10768
|
function CoffeeMultiLineComment(state) {
|
|
@@ -11284,7 +10810,7 @@ ${input.slice(result.pos)}
|
|
|
11284
10810
|
return result;
|
|
11285
10811
|
}
|
|
11286
10812
|
}
|
|
11287
|
-
var InlineComment$0 = $TV($TEXT($S($EXPECT($
|
|
10813
|
+
var InlineComment$0 = $TV($TEXT($S($EXPECT($L89, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L90, fail, 'InlineComment "*/"')), $EXPECT($R42, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L90, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
|
|
11288
10814
|
return { $loc, token: $1 };
|
|
11289
10815
|
});
|
|
11290
10816
|
function InlineComment(state) {
|
|
@@ -11383,7 +10909,7 @@ ${input.slice(result.pos)}
|
|
|
11383
10909
|
var NonNewlineWhitespace$0 = $TR($EXPECT($R43, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
11384
10910
|
return { $loc, token: $0 };
|
|
11385
10911
|
});
|
|
11386
|
-
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($
|
|
10912
|
+
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L91, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
|
|
11387
10913
|
return "";
|
|
11388
10914
|
});
|
|
11389
10915
|
function NonNewlineWhitespace(state) {
|
|
@@ -11610,7 +11136,7 @@ ${input.slice(result.pos)}
|
|
|
11610
11136
|
return result;
|
|
11611
11137
|
}
|
|
11612
11138
|
}
|
|
11613
|
-
var Abstract$0 = $TV($TEXT($S($EXPECT($
|
|
11139
|
+
var Abstract$0 = $TV($TEXT($S($EXPECT($L92, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L6, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
|
|
11614
11140
|
return { $loc, token: $1, ts: true };
|
|
11615
11141
|
});
|
|
11616
11142
|
function Abstract(state) {
|
|
@@ -11660,7 +11186,7 @@ ${input.slice(result.pos)}
|
|
|
11660
11186
|
return result;
|
|
11661
11187
|
}
|
|
11662
11188
|
}
|
|
11663
|
-
var As$0 = $TS($S($EXPECT($
|
|
11189
|
+
var As$0 = $TS($S($EXPECT($L93, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11664
11190
|
return { $loc, token: $1 };
|
|
11665
11191
|
});
|
|
11666
11192
|
function As(state) {
|
|
@@ -11685,7 +11211,7 @@ ${input.slice(result.pos)}
|
|
|
11685
11211
|
return result;
|
|
11686
11212
|
}
|
|
11687
11213
|
}
|
|
11688
|
-
var At$0 = $TV($EXPECT($
|
|
11214
|
+
var At$0 = $TV($EXPECT($L94, fail, 'At "@"'), function($skip, $loc, $0, $1) {
|
|
11689
11215
|
return { $loc, token: $1 };
|
|
11690
11216
|
});
|
|
11691
11217
|
function At(state) {
|
|
@@ -11710,7 +11236,7 @@ ${input.slice(result.pos)}
|
|
|
11710
11236
|
return result;
|
|
11711
11237
|
}
|
|
11712
11238
|
}
|
|
11713
|
-
var AtAt$0 = $TV($EXPECT($
|
|
11239
|
+
var AtAt$0 = $TV($EXPECT($L95, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
|
|
11714
11240
|
return { $loc, token: "@" };
|
|
11715
11241
|
});
|
|
11716
11242
|
function AtAt(state) {
|
|
@@ -11735,7 +11261,7 @@ ${input.slice(result.pos)}
|
|
|
11735
11261
|
return result;
|
|
11736
11262
|
}
|
|
11737
11263
|
}
|
|
11738
|
-
var Async$0 = $TS($S($EXPECT($
|
|
11264
|
+
var Async$0 = $TS($S($EXPECT($L96, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11739
11265
|
return { $loc, token: $1, type: "Async" };
|
|
11740
11266
|
});
|
|
11741
11267
|
function Async(state) {
|
|
@@ -11760,7 +11286,7 @@ ${input.slice(result.pos)}
|
|
|
11760
11286
|
return result;
|
|
11761
11287
|
}
|
|
11762
11288
|
}
|
|
11763
|
-
var Await$0 = $TS($S($EXPECT($
|
|
11289
|
+
var Await$0 = $TS($S($EXPECT($L97, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11764
11290
|
return { $loc, token: $1 };
|
|
11765
11291
|
});
|
|
11766
11292
|
function Await(state) {
|
|
@@ -11785,7 +11311,7 @@ ${input.slice(result.pos)}
|
|
|
11785
11311
|
return result;
|
|
11786
11312
|
}
|
|
11787
11313
|
}
|
|
11788
|
-
var Backtick$0 = $TV($EXPECT($
|
|
11314
|
+
var Backtick$0 = $TV($EXPECT($L98, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
|
|
11789
11315
|
return { $loc, token: $1 };
|
|
11790
11316
|
});
|
|
11791
11317
|
function Backtick(state) {
|
|
@@ -11810,7 +11336,7 @@ ${input.slice(result.pos)}
|
|
|
11810
11336
|
return result;
|
|
11811
11337
|
}
|
|
11812
11338
|
}
|
|
11813
|
-
var By$0 = $TS($S($EXPECT($
|
|
11339
|
+
var By$0 = $TS($S($EXPECT($L99, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11814
11340
|
return { $loc, token: $1 };
|
|
11815
11341
|
});
|
|
11816
11342
|
function By(state) {
|
|
@@ -11835,7 +11361,7 @@ ${input.slice(result.pos)}
|
|
|
11835
11361
|
return result;
|
|
11836
11362
|
}
|
|
11837
11363
|
}
|
|
11838
|
-
var Case$0 = $TS($S($EXPECT($
|
|
11364
|
+
var Case$0 = $TS($S($EXPECT($L100, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11839
11365
|
return { $loc, token: $1 };
|
|
11840
11366
|
});
|
|
11841
11367
|
function Case(state) {
|
|
@@ -11860,7 +11386,7 @@ ${input.slice(result.pos)}
|
|
|
11860
11386
|
return result;
|
|
11861
11387
|
}
|
|
11862
11388
|
}
|
|
11863
|
-
var Catch$0 = $TS($S($EXPECT($
|
|
11389
|
+
var Catch$0 = $TS($S($EXPECT($L101, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11864
11390
|
return { $loc, token: $1 };
|
|
11865
11391
|
});
|
|
11866
11392
|
function Catch(state) {
|
|
@@ -11885,7 +11411,7 @@ ${input.slice(result.pos)}
|
|
|
11885
11411
|
return result;
|
|
11886
11412
|
}
|
|
11887
11413
|
}
|
|
11888
|
-
var Class$0 = $TS($S($EXPECT($
|
|
11414
|
+
var Class$0 = $TS($S($EXPECT($L102, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11889
11415
|
return { $loc, token: $1 };
|
|
11890
11416
|
});
|
|
11891
11417
|
function Class(state) {
|
|
@@ -11985,7 +11511,7 @@ ${input.slice(result.pos)}
|
|
|
11985
11511
|
return result;
|
|
11986
11512
|
}
|
|
11987
11513
|
}
|
|
11988
|
-
var CoffeeSubstitutionStart$0 = $TV($EXPECT($
|
|
11514
|
+
var CoffeeSubstitutionStart$0 = $TV($EXPECT($L103, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
|
|
11989
11515
|
return { $loc, token: "${" };
|
|
11990
11516
|
});
|
|
11991
11517
|
function CoffeeSubstitutionStart(state) {
|
|
@@ -12035,7 +11561,7 @@ ${input.slice(result.pos)}
|
|
|
12035
11561
|
return result;
|
|
12036
11562
|
}
|
|
12037
11563
|
}
|
|
12038
|
-
var ConstructorShorthand$0 = $TV($EXPECT($
|
|
11564
|
+
var ConstructorShorthand$0 = $TV($EXPECT($L94, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
|
|
12039
11565
|
return { $loc, token: "constructor" };
|
|
12040
11566
|
});
|
|
12041
11567
|
function ConstructorShorthand(state) {
|
|
@@ -12060,7 +11586,7 @@ ${input.slice(result.pos)}
|
|
|
12060
11586
|
return result;
|
|
12061
11587
|
}
|
|
12062
11588
|
}
|
|
12063
|
-
var Default$0 = $TS($S($EXPECT($
|
|
11589
|
+
var Default$0 = $TS($S($EXPECT($L86, fail, 'Default "default"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12064
11590
|
return { $loc, token: $1 };
|
|
12065
11591
|
});
|
|
12066
11592
|
function Default(state) {
|
|
@@ -12085,7 +11611,7 @@ ${input.slice(result.pos)}
|
|
|
12085
11611
|
return result;
|
|
12086
11612
|
}
|
|
12087
11613
|
}
|
|
12088
|
-
var Delete$0 = $TS($S($EXPECT($
|
|
11614
|
+
var Delete$0 = $TS($S($EXPECT($L104, fail, 'Delete "delete"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12089
11615
|
return { $loc, token: $1 };
|
|
12090
11616
|
});
|
|
12091
11617
|
function Delete(state) {
|
|
@@ -12110,7 +11636,7 @@ ${input.slice(result.pos)}
|
|
|
12110
11636
|
return result;
|
|
12111
11637
|
}
|
|
12112
11638
|
}
|
|
12113
|
-
var Do$0 = $TS($S($EXPECT($
|
|
11639
|
+
var Do$0 = $TS($S($EXPECT($L105, fail, 'Do "do"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12114
11640
|
return { $loc, token: $1 };
|
|
12115
11641
|
});
|
|
12116
11642
|
function Do(state) {
|
|
@@ -12160,7 +11686,7 @@ ${input.slice(result.pos)}
|
|
|
12160
11686
|
return result;
|
|
12161
11687
|
}
|
|
12162
11688
|
}
|
|
12163
|
-
var DotDot$0 = $TV($EXPECT($
|
|
11689
|
+
var DotDot$0 = $TV($EXPECT($L106, fail, 'DotDot ".."'), function($skip, $loc, $0, $1) {
|
|
12164
11690
|
return { $loc, token: $1 };
|
|
12165
11691
|
});
|
|
12166
11692
|
function DotDot(state) {
|
|
@@ -12185,7 +11711,7 @@ ${input.slice(result.pos)}
|
|
|
12185
11711
|
return result;
|
|
12186
11712
|
}
|
|
12187
11713
|
}
|
|
12188
|
-
var DotDotDot$0 = $TV($EXPECT($
|
|
11714
|
+
var DotDotDot$0 = $TV($EXPECT($L107, fail, 'DotDotDot "..."'), function($skip, $loc, $0, $1) {
|
|
12189
11715
|
return { $loc, token: $1 };
|
|
12190
11716
|
});
|
|
12191
11717
|
function DotDotDot(state) {
|
|
@@ -12210,7 +11736,7 @@ ${input.slice(result.pos)}
|
|
|
12210
11736
|
return result;
|
|
12211
11737
|
}
|
|
12212
11738
|
}
|
|
12213
|
-
var DoubleColon$0 = $TV($EXPECT($
|
|
11739
|
+
var DoubleColon$0 = $TV($EXPECT($L108, fail, 'DoubleColon "::"'), function($skip, $loc, $0, $1) {
|
|
12214
11740
|
return { $loc, token: $1 };
|
|
12215
11741
|
});
|
|
12216
11742
|
function DoubleColon(state) {
|
|
@@ -12235,7 +11761,7 @@ ${input.slice(result.pos)}
|
|
|
12235
11761
|
return result;
|
|
12236
11762
|
}
|
|
12237
11763
|
}
|
|
12238
|
-
var DoubleQuote$0 = $TV($EXPECT($
|
|
11764
|
+
var DoubleQuote$0 = $TV($EXPECT($L109, fail, 'DoubleQuote "\\\\\\""'), function($skip, $loc, $0, $1) {
|
|
12239
11765
|
return { $loc, token: $1 };
|
|
12240
11766
|
});
|
|
12241
11767
|
function DoubleQuote(state) {
|
|
@@ -12260,7 +11786,7 @@ ${input.slice(result.pos)}
|
|
|
12260
11786
|
return result;
|
|
12261
11787
|
}
|
|
12262
11788
|
}
|
|
12263
|
-
var Else$0 = $TS($S($EXPECT($
|
|
11789
|
+
var Else$0 = $TS($S($EXPECT($L110, fail, 'Else "else"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12264
11790
|
return { $loc, token: $1 };
|
|
12265
11791
|
});
|
|
12266
11792
|
function Else(state) {
|
|
@@ -12310,7 +11836,7 @@ ${input.slice(result.pos)}
|
|
|
12310
11836
|
return result;
|
|
12311
11837
|
}
|
|
12312
11838
|
}
|
|
12313
|
-
var Export$0 = $TS($S($EXPECT($
|
|
11839
|
+
var Export$0 = $TS($S($EXPECT($L111, fail, 'Export "export"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12314
11840
|
return { $loc, token: $1 };
|
|
12315
11841
|
});
|
|
12316
11842
|
function Export(state) {
|
|
@@ -12335,7 +11861,7 @@ ${input.slice(result.pos)}
|
|
|
12335
11861
|
return result;
|
|
12336
11862
|
}
|
|
12337
11863
|
}
|
|
12338
|
-
var Extends$0 = $TS($S($EXPECT($
|
|
11864
|
+
var Extends$0 = $TS($S($EXPECT($L112, fail, 'Extends "extends"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12339
11865
|
return { $loc, token: $1 };
|
|
12340
11866
|
});
|
|
12341
11867
|
function Extends(state) {
|
|
@@ -12360,7 +11886,7 @@ ${input.slice(result.pos)}
|
|
|
12360
11886
|
return result;
|
|
12361
11887
|
}
|
|
12362
11888
|
}
|
|
12363
|
-
var For$0 = $TS($S($EXPECT($
|
|
11889
|
+
var For$0 = $TS($S($EXPECT($L113, fail, 'For "for"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12364
11890
|
return { $loc, token: $1 };
|
|
12365
11891
|
});
|
|
12366
11892
|
function For(state) {
|
|
@@ -12385,7 +11911,7 @@ ${input.slice(result.pos)}
|
|
|
12385
11911
|
return result;
|
|
12386
11912
|
}
|
|
12387
11913
|
}
|
|
12388
|
-
var From$0 = $TS($S($EXPECT($
|
|
11914
|
+
var From$0 = $TS($S($EXPECT($L114, fail, 'From "from"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12389
11915
|
return { $loc, token: $1 };
|
|
12390
11916
|
});
|
|
12391
11917
|
function From(state) {
|
|
@@ -12410,7 +11936,7 @@ ${input.slice(result.pos)}
|
|
|
12410
11936
|
return result;
|
|
12411
11937
|
}
|
|
12412
11938
|
}
|
|
12413
|
-
var Function$0 = $TS($S($EXPECT($
|
|
11939
|
+
var Function$0 = $TS($S($EXPECT($L115, fail, 'Function "function"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12414
11940
|
return { $loc, token: $1 };
|
|
12415
11941
|
});
|
|
12416
11942
|
function Function(state) {
|
|
@@ -12435,7 +11961,7 @@ ${input.slice(result.pos)}
|
|
|
12435
11961
|
return result;
|
|
12436
11962
|
}
|
|
12437
11963
|
}
|
|
12438
|
-
var GetOrSet$0 = $TS($S($C($EXPECT($
|
|
11964
|
+
var GetOrSet$0 = $TS($S($C($EXPECT($L116, fail, 'GetOrSet "get"'), $EXPECT($L117, fail, 'GetOrSet "set"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12439
11965
|
return { $loc, token: $1, type: "GetOrSet" };
|
|
12440
11966
|
});
|
|
12441
11967
|
function GetOrSet(state) {
|
|
@@ -12460,7 +11986,7 @@ ${input.slice(result.pos)}
|
|
|
12460
11986
|
return result;
|
|
12461
11987
|
}
|
|
12462
11988
|
}
|
|
12463
|
-
var If$0 = $TV($TEXT($S($EXPECT($
|
|
11989
|
+
var If$0 = $TV($TEXT($S($EXPECT($L118, fail, 'If "if"'), NonIdContinue, $E($EXPECT($L6, fail, 'If " "')))), function($skip, $loc, $0, $1) {
|
|
12464
11990
|
return { $loc, token: $1 };
|
|
12465
11991
|
});
|
|
12466
11992
|
function If(state) {
|
|
@@ -12535,7 +12061,7 @@ ${input.slice(result.pos)}
|
|
|
12535
12061
|
return result;
|
|
12536
12062
|
}
|
|
12537
12063
|
}
|
|
12538
|
-
var LetOrConst$0 = $TS($S($C($EXPECT($
|
|
12064
|
+
var LetOrConst$0 = $TS($S($C($EXPECT($L119, fail, 'LetOrConst "let"'), $EXPECT($L120, fail, 'LetOrConst "const"')), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12539
12065
|
return { $loc, token: $1 };
|
|
12540
12066
|
});
|
|
12541
12067
|
function LetOrConst(state) {
|
|
@@ -12560,7 +12086,7 @@ ${input.slice(result.pos)}
|
|
|
12560
12086
|
return result;
|
|
12561
12087
|
}
|
|
12562
12088
|
}
|
|
12563
|
-
var Loop$0 = $TS($S($EXPECT($
|
|
12089
|
+
var Loop$0 = $TS($S($EXPECT($L121, fail, 'Loop "loop"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12564
12090
|
return { $loc, token: "while(true)" };
|
|
12565
12091
|
});
|
|
12566
12092
|
function Loop(state) {
|
|
@@ -12585,7 +12111,7 @@ ${input.slice(result.pos)}
|
|
|
12585
12111
|
return result;
|
|
12586
12112
|
}
|
|
12587
12113
|
}
|
|
12588
|
-
var New$0 = $TS($S($EXPECT($
|
|
12114
|
+
var New$0 = $TS($S($EXPECT($L122, fail, 'New "new"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12589
12115
|
return { $loc, token: $1 };
|
|
12590
12116
|
});
|
|
12591
12117
|
function New(state) {
|
|
@@ -12660,7 +12186,7 @@ ${input.slice(result.pos)}
|
|
|
12660
12186
|
return result;
|
|
12661
12187
|
}
|
|
12662
12188
|
}
|
|
12663
|
-
var OpenAngleBracket$0 = $TV($EXPECT($
|
|
12189
|
+
var OpenAngleBracket$0 = $TV($EXPECT($L123, fail, 'OpenAngleBracket "<"'), function($skip, $loc, $0, $1) {
|
|
12664
12190
|
return { $loc, token: $1 };
|
|
12665
12191
|
});
|
|
12666
12192
|
function OpenAngleBracket(state) {
|
|
@@ -12685,7 +12211,7 @@ ${input.slice(result.pos)}
|
|
|
12685
12211
|
return result;
|
|
12686
12212
|
}
|
|
12687
12213
|
}
|
|
12688
|
-
var OpenBrace$0 = $TV($EXPECT($
|
|
12214
|
+
var OpenBrace$0 = $TV($EXPECT($L124, fail, 'OpenBrace "{"'), function($skip, $loc, $0, $1) {
|
|
12689
12215
|
return { $loc, token: $1 };
|
|
12690
12216
|
});
|
|
12691
12217
|
function OpenBrace(state) {
|
|
@@ -12710,7 +12236,7 @@ ${input.slice(result.pos)}
|
|
|
12710
12236
|
return result;
|
|
12711
12237
|
}
|
|
12712
12238
|
}
|
|
12713
|
-
var OpenBracket$0 = $TV($EXPECT($
|
|
12239
|
+
var OpenBracket$0 = $TV($EXPECT($L125, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
|
|
12714
12240
|
return { $loc, token: $1 };
|
|
12715
12241
|
});
|
|
12716
12242
|
function OpenBracket(state) {
|
|
@@ -12735,7 +12261,7 @@ ${input.slice(result.pos)}
|
|
|
12735
12261
|
return result;
|
|
12736
12262
|
}
|
|
12737
12263
|
}
|
|
12738
|
-
var OpenParen$0 = $TV($EXPECT($
|
|
12264
|
+
var OpenParen$0 = $TV($EXPECT($L126, fail, 'OpenParen "("'), function($skip, $loc, $0, $1) {
|
|
12739
12265
|
return { $loc, token: $1 };
|
|
12740
12266
|
});
|
|
12741
12267
|
function OpenParen(state) {
|
|
@@ -12760,7 +12286,7 @@ ${input.slice(result.pos)}
|
|
|
12760
12286
|
return result;
|
|
12761
12287
|
}
|
|
12762
12288
|
}
|
|
12763
|
-
var Public$0 = $TS($S($EXPECT($
|
|
12289
|
+
var Public$0 = $TS($S($EXPECT($L127, fail, 'Public "public"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12764
12290
|
return { $loc, token: $1 };
|
|
12765
12291
|
});
|
|
12766
12292
|
function Public(state) {
|
|
@@ -12785,7 +12311,7 @@ ${input.slice(result.pos)}
|
|
|
12785
12311
|
return result;
|
|
12786
12312
|
}
|
|
12787
12313
|
}
|
|
12788
|
-
var Private$0 = $TS($S($EXPECT($
|
|
12314
|
+
var Private$0 = $TS($S($EXPECT($L128, fail, 'Private "private"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12789
12315
|
return { $loc, token: $1 };
|
|
12790
12316
|
});
|
|
12791
12317
|
function Private(state) {
|
|
@@ -12810,7 +12336,7 @@ ${input.slice(result.pos)}
|
|
|
12810
12336
|
return result;
|
|
12811
12337
|
}
|
|
12812
12338
|
}
|
|
12813
|
-
var Protected$0 = $TS($S($EXPECT($
|
|
12339
|
+
var Protected$0 = $TS($S($EXPECT($L129, fail, 'Protected "protected"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12814
12340
|
return { $loc, token: $1 };
|
|
12815
12341
|
});
|
|
12816
12342
|
function Protected(state) {
|
|
@@ -12835,7 +12361,7 @@ ${input.slice(result.pos)}
|
|
|
12835
12361
|
return result;
|
|
12836
12362
|
}
|
|
12837
12363
|
}
|
|
12838
|
-
var Pipe$0 = $TV($EXPECT($
|
|
12364
|
+
var Pipe$0 = $TV($EXPECT($L130, fail, 'Pipe "|>"'), function($skip, $loc, $0, $1) {
|
|
12839
12365
|
return { $loc, token: $1 };
|
|
12840
12366
|
});
|
|
12841
12367
|
function Pipe(state) {
|
|
@@ -12885,7 +12411,7 @@ ${input.slice(result.pos)}
|
|
|
12885
12411
|
return result;
|
|
12886
12412
|
}
|
|
12887
12413
|
}
|
|
12888
|
-
var Readonly$0 = $TS($S($EXPECT($
|
|
12414
|
+
var Readonly$0 = $TS($S($EXPECT($L131, fail, 'Readonly "readonly"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12889
12415
|
return { $loc, token: $1, ts: true };
|
|
12890
12416
|
});
|
|
12891
12417
|
function Readonly(state) {
|
|
@@ -12910,7 +12436,7 @@ ${input.slice(result.pos)}
|
|
|
12910
12436
|
return result;
|
|
12911
12437
|
}
|
|
12912
12438
|
}
|
|
12913
|
-
var Return$0 = $TS($S($EXPECT($
|
|
12439
|
+
var Return$0 = $TS($S($EXPECT($L132, fail, 'Return "return"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12914
12440
|
return { $loc, token: $1 };
|
|
12915
12441
|
});
|
|
12916
12442
|
function Return(state) {
|
|
@@ -12935,7 +12461,7 @@ ${input.slice(result.pos)}
|
|
|
12935
12461
|
return result;
|
|
12936
12462
|
}
|
|
12937
12463
|
}
|
|
12938
|
-
var Satisfies$0 = $TS($S($EXPECT($
|
|
12464
|
+
var Satisfies$0 = $TS($S($EXPECT($L133, fail, 'Satisfies "satisfies"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
12939
12465
|
return { $loc, token: $1 };
|
|
12940
12466
|
});
|
|
12941
12467
|
function Satisfies(state) {
|
|
@@ -12985,7 +12511,7 @@ ${input.slice(result.pos)}
|
|
|
12985
12511
|
return result;
|
|
12986
12512
|
}
|
|
12987
12513
|
}
|
|
12988
|
-
var SingleQuote$0 = $TV($EXPECT($
|
|
12514
|
+
var SingleQuote$0 = $TV($EXPECT($L134, fail, `SingleQuote "'"`), function($skip, $loc, $0, $1) {
|
|
12989
12515
|
return { $loc, token: $1 };
|
|
12990
12516
|
});
|
|
12991
12517
|
function SingleQuote(state) {
|
|
@@ -13035,10 +12561,10 @@ ${input.slice(result.pos)}
|
|
|
13035
12561
|
return result;
|
|
13036
12562
|
}
|
|
13037
12563
|
}
|
|
13038
|
-
var Static$0 = $TS($S($EXPECT($
|
|
12564
|
+
var Static$0 = $TS($S($EXPECT($L135, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13039
12565
|
return { $loc, token: $1 };
|
|
13040
12566
|
});
|
|
13041
|
-
var Static$1 = $TS($S($EXPECT($
|
|
12567
|
+
var Static$1 = $TS($S($EXPECT($L94, fail, 'Static "@"'), $N($C($EXPECT($L126, fail, 'Static "("'), $EXPECT($L94, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
|
|
13042
12568
|
return { $loc, token: "static " };
|
|
13043
12569
|
});
|
|
13044
12570
|
function Static(state) {
|
|
@@ -13063,7 +12589,7 @@ ${input.slice(result.pos)}
|
|
|
13063
12589
|
return result;
|
|
13064
12590
|
}
|
|
13065
12591
|
}
|
|
13066
|
-
var SubstitutionStart$0 = $TV($EXPECT($
|
|
12592
|
+
var SubstitutionStart$0 = $TV($EXPECT($L136, fail, 'SubstitutionStart "${"'), function($skip, $loc, $0, $1) {
|
|
13067
12593
|
return { $loc, token: $1 };
|
|
13068
12594
|
});
|
|
13069
12595
|
function SubstitutionStart(state) {
|
|
@@ -13088,7 +12614,7 @@ ${input.slice(result.pos)}
|
|
|
13088
12614
|
return result;
|
|
13089
12615
|
}
|
|
13090
12616
|
}
|
|
13091
|
-
var Switch$0 = $TS($S($EXPECT($
|
|
12617
|
+
var Switch$0 = $TS($S($EXPECT($L137, fail, 'Switch "switch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13092
12618
|
return { $loc, token: $1 };
|
|
13093
12619
|
});
|
|
13094
12620
|
function Switch(state) {
|
|
@@ -13113,7 +12639,7 @@ ${input.slice(result.pos)}
|
|
|
13113
12639
|
return result;
|
|
13114
12640
|
}
|
|
13115
12641
|
}
|
|
13116
|
-
var Target$0 = $TS($S($EXPECT($
|
|
12642
|
+
var Target$0 = $TS($S($EXPECT($L138, fail, 'Target "target"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13117
12643
|
return { $loc, token: $1 };
|
|
13118
12644
|
});
|
|
13119
12645
|
function Target(state) {
|
|
@@ -13138,7 +12664,7 @@ ${input.slice(result.pos)}
|
|
|
13138
12664
|
return result;
|
|
13139
12665
|
}
|
|
13140
12666
|
}
|
|
13141
|
-
var Then$0 = $TS($S(__, $EXPECT($
|
|
12667
|
+
var Then$0 = $TS($S(__, $EXPECT($L139, fail, 'Then "then"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
|
|
13142
12668
|
return { $loc, token: "" };
|
|
13143
12669
|
});
|
|
13144
12670
|
function Then(state) {
|
|
@@ -13163,7 +12689,7 @@ ${input.slice(result.pos)}
|
|
|
13163
12689
|
return result;
|
|
13164
12690
|
}
|
|
13165
12691
|
}
|
|
13166
|
-
var This$0 = $TS($S($EXPECT($
|
|
12692
|
+
var This$0 = $TS($S($EXPECT($L140, fail, 'This "this"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13167
12693
|
return { $loc, token: $1 };
|
|
13168
12694
|
});
|
|
13169
12695
|
function This(state) {
|
|
@@ -13188,7 +12714,7 @@ ${input.slice(result.pos)}
|
|
|
13188
12714
|
return result;
|
|
13189
12715
|
}
|
|
13190
12716
|
}
|
|
13191
|
-
var Throw$0 = $TS($S($EXPECT($
|
|
12717
|
+
var Throw$0 = $TS($S($EXPECT($L141, fail, 'Throw "throw"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13192
12718
|
return { $loc, token: $1 };
|
|
13193
12719
|
});
|
|
13194
12720
|
function Throw(state) {
|
|
@@ -13213,7 +12739,7 @@ ${input.slice(result.pos)}
|
|
|
13213
12739
|
return result;
|
|
13214
12740
|
}
|
|
13215
12741
|
}
|
|
13216
|
-
var TripleDoubleQuote$0 = $TV($EXPECT($
|
|
12742
|
+
var TripleDoubleQuote$0 = $TV($EXPECT($L142, fail, 'TripleDoubleQuote "\\\\\\"\\\\\\"\\\\\\""'), function($skip, $loc, $0, $1) {
|
|
13217
12743
|
return { $loc, token: "`" };
|
|
13218
12744
|
});
|
|
13219
12745
|
function TripleDoubleQuote(state) {
|
|
@@ -13238,7 +12764,7 @@ ${input.slice(result.pos)}
|
|
|
13238
12764
|
return result;
|
|
13239
12765
|
}
|
|
13240
12766
|
}
|
|
13241
|
-
var TripleSingleQuote$0 = $TV($EXPECT($
|
|
12767
|
+
var TripleSingleQuote$0 = $TV($EXPECT($L143, fail, `TripleSingleQuote "'''"`), function($skip, $loc, $0, $1) {
|
|
13242
12768
|
return { $loc, token: "`" };
|
|
13243
12769
|
});
|
|
13244
12770
|
function TripleSingleQuote(state) {
|
|
@@ -13263,7 +12789,7 @@ ${input.slice(result.pos)}
|
|
|
13263
12789
|
return result;
|
|
13264
12790
|
}
|
|
13265
12791
|
}
|
|
13266
|
-
var TripleSlash$0 = $TV($EXPECT($
|
|
12792
|
+
var TripleSlash$0 = $TV($EXPECT($L144, fail, 'TripleSlash "///"'), function($skip, $loc, $0, $1) {
|
|
13267
12793
|
return { $loc, token: "/" };
|
|
13268
12794
|
});
|
|
13269
12795
|
function TripleSlash(state) {
|
|
@@ -13288,7 +12814,7 @@ ${input.slice(result.pos)}
|
|
|
13288
12814
|
return result;
|
|
13289
12815
|
}
|
|
13290
12816
|
}
|
|
13291
|
-
var TripleTick$0 = $TV($EXPECT($
|
|
12817
|
+
var TripleTick$0 = $TV($EXPECT($L145, fail, 'TripleTick "```"'), function($skip, $loc, $0, $1) {
|
|
13292
12818
|
return { $loc, token: "`" };
|
|
13293
12819
|
});
|
|
13294
12820
|
function TripleTick(state) {
|
|
@@ -13313,7 +12839,7 @@ ${input.slice(result.pos)}
|
|
|
13313
12839
|
return result;
|
|
13314
12840
|
}
|
|
13315
12841
|
}
|
|
13316
|
-
var Try$0 = $TS($S($EXPECT($
|
|
12842
|
+
var Try$0 = $TS($S($EXPECT($L146, fail, 'Try "try"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13317
12843
|
return { $loc, token: $1 };
|
|
13318
12844
|
});
|
|
13319
12845
|
function Try(state) {
|
|
@@ -13338,7 +12864,7 @@ ${input.slice(result.pos)}
|
|
|
13338
12864
|
return result;
|
|
13339
12865
|
}
|
|
13340
12866
|
}
|
|
13341
|
-
var Typeof$0 = $TS($S($EXPECT($
|
|
12867
|
+
var Typeof$0 = $TS($S($EXPECT($L147, fail, 'Typeof "typeof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13342
12868
|
return { $loc, token: $1 };
|
|
13343
12869
|
});
|
|
13344
12870
|
function Typeof(state) {
|
|
@@ -13363,7 +12889,7 @@ ${input.slice(result.pos)}
|
|
|
13363
12889
|
return result;
|
|
13364
12890
|
}
|
|
13365
12891
|
}
|
|
13366
|
-
var Unless$0 = $TS($S($EXPECT($
|
|
12892
|
+
var Unless$0 = $TS($S($EXPECT($L148, fail, 'Unless "unless"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13367
12893
|
return { $loc, token: $1 };
|
|
13368
12894
|
});
|
|
13369
12895
|
function Unless(state) {
|
|
@@ -13388,7 +12914,7 @@ ${input.slice(result.pos)}
|
|
|
13388
12914
|
return result;
|
|
13389
12915
|
}
|
|
13390
12916
|
}
|
|
13391
|
-
var Until$0 = $TS($S($EXPECT($
|
|
12917
|
+
var Until$0 = $TS($S($EXPECT($L149, fail, 'Until "until"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13392
12918
|
return { $loc, token: $1 };
|
|
13393
12919
|
});
|
|
13394
12920
|
function Until(state) {
|
|
@@ -13413,7 +12939,7 @@ ${input.slice(result.pos)}
|
|
|
13413
12939
|
return result;
|
|
13414
12940
|
}
|
|
13415
12941
|
}
|
|
13416
|
-
var Var$0 = $TS($S($EXPECT($
|
|
12942
|
+
var Var$0 = $TS($S($EXPECT($L150, fail, 'Var "var"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13417
12943
|
return { $loc, token: $1 };
|
|
13418
12944
|
});
|
|
13419
12945
|
function Var(state) {
|
|
@@ -13438,7 +12964,7 @@ ${input.slice(result.pos)}
|
|
|
13438
12964
|
return result;
|
|
13439
12965
|
}
|
|
13440
12966
|
}
|
|
13441
|
-
var Void$0 = $TS($S($EXPECT($
|
|
12967
|
+
var Void$0 = $TS($S($EXPECT($L151, fail, 'Void "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13442
12968
|
return { $loc, token: $1 };
|
|
13443
12969
|
});
|
|
13444
12970
|
function Void(state) {
|
|
@@ -13463,7 +12989,7 @@ ${input.slice(result.pos)}
|
|
|
13463
12989
|
return result;
|
|
13464
12990
|
}
|
|
13465
12991
|
}
|
|
13466
|
-
var When$0 = $TS($S($EXPECT($
|
|
12992
|
+
var When$0 = $TS($S($EXPECT($L152, fail, 'When "when"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13467
12993
|
return { $loc, token: "case" };
|
|
13468
12994
|
});
|
|
13469
12995
|
function When(state) {
|
|
@@ -13488,7 +13014,7 @@ ${input.slice(result.pos)}
|
|
|
13488
13014
|
return result;
|
|
13489
13015
|
}
|
|
13490
13016
|
}
|
|
13491
|
-
var While$0 = $TS($S($EXPECT($
|
|
13017
|
+
var While$0 = $TS($S($EXPECT($L153, fail, 'While "while"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13492
13018
|
return { $loc, token: $1 };
|
|
13493
13019
|
});
|
|
13494
13020
|
function While(state) {
|
|
@@ -13513,7 +13039,7 @@ ${input.slice(result.pos)}
|
|
|
13513
13039
|
return result;
|
|
13514
13040
|
}
|
|
13515
13041
|
}
|
|
13516
|
-
var Yield$0 = $TS($S($EXPECT($
|
|
13042
|
+
var Yield$0 = $TS($S($EXPECT($L154, fail, 'Yield "yield"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
13517
13043
|
return { $loc, token: $1 };
|
|
13518
13044
|
});
|
|
13519
13045
|
function Yield(state) {
|
|
@@ -13659,7 +13185,7 @@ ${input.slice(result.pos)}
|
|
|
13659
13185
|
return result;
|
|
13660
13186
|
}
|
|
13661
13187
|
}
|
|
13662
|
-
var JSXSelfClosingElement$0 = $TS($S($EXPECT($
|
|
13188
|
+
var JSXSelfClosingElement$0 = $TS($S($EXPECT($L123, fail, 'JSXSelfClosingElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L155, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
|
|
13663
13189
|
return { type: "JSXElement", children: $0, tag: $2 };
|
|
13664
13190
|
});
|
|
13665
13191
|
function JSXSelfClosingElement(state) {
|
|
@@ -13710,7 +13236,7 @@ ${input.slice(result.pos)}
|
|
|
13710
13236
|
return result;
|
|
13711
13237
|
}
|
|
13712
13238
|
}
|
|
13713
|
-
var JSXOpeningElement$0 = $S($EXPECT($
|
|
13239
|
+
var JSXOpeningElement$0 = $S($EXPECT($L123, fail, 'JSXOpeningElement "<"'), $TEXT(JSXElementName), $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L27, fail, 'JSXOpeningElement ">"'));
|
|
13714
13240
|
function JSXOpeningElement(state) {
|
|
13715
13241
|
let eventData;
|
|
13716
13242
|
if (state.events) {
|
|
@@ -13762,7 +13288,7 @@ ${input.slice(result.pos)}
|
|
|
13762
13288
|
return result;
|
|
13763
13289
|
}
|
|
13764
13290
|
}
|
|
13765
|
-
var JSXClosingElement$0 = $S($EXPECT($
|
|
13291
|
+
var JSXClosingElement$0 = $S($EXPECT($L156, fail, 'JSXClosingElement "</"'), $E(Whitespace), $TEXT(JSXElementName), $E(Whitespace), $EXPECT($L27, fail, 'JSXClosingElement ">"'));
|
|
13766
13292
|
function JSXClosingElement(state) {
|
|
13767
13293
|
let eventData;
|
|
13768
13294
|
if (state.events) {
|
|
@@ -13801,7 +13327,7 @@ ${input.slice(result.pos)}
|
|
|
13801
13327
|
];
|
|
13802
13328
|
return { type: "JSXFragment", children: parts, jsxChildren: children.jsxChildren };
|
|
13803
13329
|
});
|
|
13804
|
-
var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($
|
|
13330
|
+
var JSXFragment$1 = $TS($S(CoffeeJSXEnabled, $EXPECT($L157, fail, 'JSXFragment "<>"'), $E(JSXChildren), $E(Whitespace), JSXClosingFragment), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
13805
13331
|
var children = $3;
|
|
13806
13332
|
$0 = $0.slice(1);
|
|
13807
13333
|
return {
|
|
@@ -13832,7 +13358,7 @@ ${input.slice(result.pos)}
|
|
|
13832
13358
|
return result;
|
|
13833
13359
|
}
|
|
13834
13360
|
}
|
|
13835
|
-
var PushJSXOpeningFragment$0 = $TV($EXPECT($
|
|
13361
|
+
var PushJSXOpeningFragment$0 = $TV($EXPECT($L157, fail, 'PushJSXOpeningFragment "<>"'), function($skip, $loc, $0, $1) {
|
|
13836
13362
|
module.JSXTagStack.push("");
|
|
13837
13363
|
return $1;
|
|
13838
13364
|
});
|
|
@@ -13886,7 +13412,7 @@ ${input.slice(result.pos)}
|
|
|
13886
13412
|
return result;
|
|
13887
13413
|
}
|
|
13888
13414
|
}
|
|
13889
|
-
var JSXClosingFragment$0 = $EXPECT($
|
|
13415
|
+
var JSXClosingFragment$0 = $EXPECT($L158, fail, 'JSXClosingFragment "</>"');
|
|
13890
13416
|
function JSXClosingFragment(state) {
|
|
13891
13417
|
let eventData;
|
|
13892
13418
|
if (state.events) {
|
|
@@ -14763,7 +14289,7 @@ ${input.slice(result.pos)}
|
|
|
14763
14289
|
return result;
|
|
14764
14290
|
}
|
|
14765
14291
|
}
|
|
14766
|
-
var JSXComment$0 = $TS($S($EXPECT($
|
|
14292
|
+
var JSXComment$0 = $TS($S($EXPECT($L159, fail, 'JSXComment "<!--"'), JSXCommentContent, $EXPECT($L160, fail, 'JSXComment "-->"')), function($skip, $loc, $0, $1, $2, $3) {
|
|
14767
14293
|
return ["{/*", $2, "*/}"];
|
|
14768
14294
|
});
|
|
14769
14295
|
function JSXComment(state) {
|
|
@@ -14940,7 +14466,7 @@ ${input.slice(result.pos)}
|
|
|
14940
14466
|
return result;
|
|
14941
14467
|
}
|
|
14942
14468
|
}
|
|
14943
|
-
var TypeDeclarationModifier$0 = $S($EXPECT($
|
|
14469
|
+
var TypeDeclarationModifier$0 = $S($EXPECT($L161, fail, 'TypeDeclarationModifier "declare"'), NonIdContinue);
|
|
14944
14470
|
var TypeDeclarationModifier$1 = Export;
|
|
14945
14471
|
function TypeDeclarationModifier(state) {
|
|
14946
14472
|
let eventData;
|
|
@@ -15036,7 +14562,7 @@ ${input.slice(result.pos)}
|
|
|
15036
14562
|
return result;
|
|
15037
14563
|
}
|
|
15038
14564
|
}
|
|
15039
|
-
var TypeKeyword$0 = $S($EXPECT($
|
|
14565
|
+
var TypeKeyword$0 = $S($EXPECT($L162, fail, 'TypeKeyword "type"'), NonIdContinue);
|
|
15040
14566
|
function TypeKeyword(state) {
|
|
15041
14567
|
let eventData;
|
|
15042
14568
|
if (state.events) {
|
|
@@ -15059,7 +14585,7 @@ ${input.slice(result.pos)}
|
|
|
15059
14585
|
return result;
|
|
15060
14586
|
}
|
|
15061
14587
|
}
|
|
15062
|
-
var Interface$0 = $S($EXPECT($
|
|
14588
|
+
var Interface$0 = $S($EXPECT($L163, fail, 'Interface "interface"'), NonIdContinue);
|
|
15063
14589
|
function Interface(state) {
|
|
15064
14590
|
let eventData;
|
|
15065
14591
|
if (state.events) {
|
|
@@ -15082,7 +14608,7 @@ ${input.slice(result.pos)}
|
|
|
15082
14608
|
return result;
|
|
15083
14609
|
}
|
|
15084
14610
|
}
|
|
15085
|
-
var Namespace$0 = $S($EXPECT($
|
|
14611
|
+
var Namespace$0 = $S($EXPECT($L164, fail, 'Namespace "namespace"'), NonIdContinue);
|
|
15086
14612
|
function Namespace(state) {
|
|
15087
14613
|
let eventData;
|
|
15088
14614
|
if (state.events) {
|
|
@@ -15307,7 +14833,7 @@ ${input.slice(result.pos)}
|
|
|
15307
14833
|
return result;
|
|
15308
14834
|
}
|
|
15309
14835
|
}
|
|
15310
|
-
var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($
|
|
14836
|
+
var TypeIndexSignature$0 = $S($E($S($R$0($EXPECT($R50, fail, "TypeIndexSignature /[+-]?/")), $EXPECT($L131, fail, 'TypeIndexSignature "readonly"'), __)), OpenBracket, TypeIndex, CloseBracket, $E($S(__, $R$0($EXPECT($R51, fail, "TypeIndexSignature /[+-]/")), QuestionMark)));
|
|
15311
14837
|
function TypeIndexSignature(state) {
|
|
15312
14838
|
let eventData;
|
|
15313
14839
|
if (state.events) {
|
|
@@ -15379,7 +14905,7 @@ ${input.slice(result.pos)}
|
|
|
15379
14905
|
return result;
|
|
15380
14906
|
}
|
|
15381
14907
|
}
|
|
15382
|
-
var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($
|
|
14908
|
+
var ReturnTypeSuffix$0 = $TS($S(__, Colon, $E($S(__, $EXPECT($L165, fail, 'ReturnTypeSuffix "asserts"'), NonIdContinue)), TypePredicate), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
15383
14909
|
const children = [...$1, $2];
|
|
15384
14910
|
if ($3)
|
|
15385
14911
|
children.push($3);
|
|
@@ -15538,10 +15064,10 @@ ${input.slice(result.pos)}
|
|
|
15538
15064
|
return result;
|
|
15539
15065
|
}
|
|
15540
15066
|
}
|
|
15541
|
-
var TypeUnaryOp$0 = $S($EXPECT($
|
|
15542
|
-
var TypeUnaryOp$1 = $S($EXPECT($
|
|
15543
|
-
var TypeUnaryOp$2 = $S($EXPECT($
|
|
15544
|
-
var TypeUnaryOp$3 = $S($EXPECT($
|
|
15067
|
+
var TypeUnaryOp$0 = $S($EXPECT($L166, fail, 'TypeUnaryOp "keyof"'), NonIdContinue);
|
|
15068
|
+
var TypeUnaryOp$1 = $S($EXPECT($L147, fail, 'TypeUnaryOp "typeof"'), NonIdContinue);
|
|
15069
|
+
var TypeUnaryOp$2 = $S($EXPECT($L167, fail, 'TypeUnaryOp "infer"'), NonIdContinue);
|
|
15070
|
+
var TypeUnaryOp$3 = $S($EXPECT($L131, fail, 'TypeUnaryOp "readonly"'), NonIdContinue);
|
|
15545
15071
|
function TypeUnaryOp(state) {
|
|
15546
15072
|
let eventData;
|
|
15547
15073
|
if (state.events) {
|
|
@@ -15564,7 +15090,7 @@ ${input.slice(result.pos)}
|
|
|
15564
15090
|
return result;
|
|
15565
15091
|
}
|
|
15566
15092
|
}
|
|
15567
|
-
var TypeIndexedAccess$0 = $S(
|
|
15093
|
+
var TypeIndexedAccess$0 = $S(OpenBracket, $E(Type), __, CloseBracket);
|
|
15568
15094
|
function TypeIndexedAccess(state) {
|
|
15569
15095
|
let eventData;
|
|
15570
15096
|
if (state.events) {
|
|
@@ -15589,11 +15115,11 @@ ${input.slice(result.pos)}
|
|
|
15589
15115
|
}
|
|
15590
15116
|
var TypePrimary$0 = InterfaceBlock;
|
|
15591
15117
|
var TypePrimary$1 = $S(__, OpenParen, Type, __, CloseParen);
|
|
15592
|
-
var TypePrimary$2 = $S(
|
|
15593
|
-
var TypePrimary$3 = $S($
|
|
15594
|
-
var TypePrimary$4 = $S($
|
|
15595
|
-
var TypePrimary$5 = $S($
|
|
15596
|
-
var TypePrimary$6 = $S($
|
|
15118
|
+
var TypePrimary$2 = $S($E(_), TypeTuple);
|
|
15119
|
+
var TypePrimary$3 = $S($E(_), ImportType);
|
|
15120
|
+
var TypePrimary$4 = $S($E(_), FunctionType);
|
|
15121
|
+
var TypePrimary$5 = $S($E(_), TypeLiteral);
|
|
15122
|
+
var TypePrimary$6 = $S($E(_), IdentifierName, $Q($S(Dot, IdentifierName)), $E(TypeArguments));
|
|
15597
15123
|
function TypePrimary(state) {
|
|
15598
15124
|
let eventData;
|
|
15599
15125
|
if (state.events) {
|
|
@@ -15738,7 +15264,7 @@ ${input.slice(result.pos)}
|
|
|
15738
15264
|
return result;
|
|
15739
15265
|
}
|
|
15740
15266
|
}
|
|
15741
|
-
var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($
|
|
15267
|
+
var TypeConditional$0 = $TS($S(TypeBinary, $E($S(__, $EXPECT($L112, fail, 'TypeConditional "extends"'), NonIdContinue, Type, $E($S(__, QuestionMark, Type, __, Colon, Type))))), function($skip, $loc, $0, $1, $2) {
|
|
15742
15268
|
if ($2)
|
|
15743
15269
|
return $0;
|
|
15744
15270
|
return $1;
|
|
@@ -15767,10 +15293,10 @@ ${input.slice(result.pos)}
|
|
|
15767
15293
|
}
|
|
15768
15294
|
var TypeLiteral$0 = Literal;
|
|
15769
15295
|
var TypeLiteral$1 = TemplateLiteral;
|
|
15770
|
-
var TypeLiteral$2 = $TS($S($EXPECT($
|
|
15296
|
+
var TypeLiteral$2 = $TS($S($EXPECT($L151, fail, 'TypeLiteral "void"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
15771
15297
|
return { $loc, token: "void" };
|
|
15772
15298
|
});
|
|
15773
|
-
var TypeLiteral$3 = $TV($EXPECT($
|
|
15299
|
+
var TypeLiteral$3 = $TV($EXPECT($L168, fail, 'TypeLiteral "[]"'), function($skip, $loc, $0, $1) {
|
|
15774
15300
|
return { $loc, token: "[]" };
|
|
15775
15301
|
});
|
|
15776
15302
|
function TypeLiteral(state) {
|
|
@@ -15852,7 +15378,7 @@ ${input.slice(result.pos)}
|
|
|
15852
15378
|
return result;
|
|
15853
15379
|
}
|
|
15854
15380
|
}
|
|
15855
|
-
var TypeArguments$0 = $TS($S($EXPECT($
|
|
15381
|
+
var TypeArguments$0 = $TS($S($EXPECT($L123, fail, 'TypeArguments "<"'), $P(TypeArgument), __, $EXPECT($L27, fail, 'TypeArguments ">"')), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
15856
15382
|
return { ts: true, children: $0 };
|
|
15857
15383
|
});
|
|
15858
15384
|
function TypeArguments(state) {
|
|
@@ -15923,7 +15449,7 @@ ${input.slice(result.pos)}
|
|
|
15923
15449
|
return result;
|
|
15924
15450
|
}
|
|
15925
15451
|
}
|
|
15926
|
-
var TypeParameters$0 = $TS($S(__, $EXPECT($
|
|
15452
|
+
var TypeParameters$0 = $TS($S(__, $EXPECT($L123, fail, 'TypeParameters "<"'), $P(TypeParameter), __, $EXPECT($L27, fail, 'TypeParameters ">"')), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
15927
15453
|
var parameters = $3;
|
|
15928
15454
|
return {
|
|
15929
15455
|
type: "TypeParameters",
|
|
@@ -15977,7 +15503,7 @@ ${input.slice(result.pos)}
|
|
|
15977
15503
|
return result;
|
|
15978
15504
|
}
|
|
15979
15505
|
}
|
|
15980
|
-
var TypeConstraint$0 = $S(__, $EXPECT($
|
|
15506
|
+
var TypeConstraint$0 = $S(__, $EXPECT($L112, fail, 'TypeConstraint "extends"'), NonIdContinue, Type);
|
|
15981
15507
|
function TypeConstraint(state) {
|
|
15982
15508
|
let eventData;
|
|
15983
15509
|
if (state.events) {
|
|
@@ -16128,7 +15654,7 @@ ${input.slice(result.pos)}
|
|
|
16128
15654
|
return result;
|
|
16129
15655
|
}
|
|
16130
15656
|
}
|
|
16131
|
-
var CivetPrologueContent$0 = $TS($S($EXPECT($
|
|
15657
|
+
var CivetPrologueContent$0 = $TS($S($EXPECT($L169, fail, 'CivetPrologueContent "civet"'), NonIdContinue, $Q(CivetOption), $EXPECT($R54, fail, "CivetPrologueContent /[\\s]*/")), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
16132
15658
|
var options = $3;
|
|
16133
15659
|
return {
|
|
16134
15660
|
type: "CivetPrologue",
|
|
@@ -17776,13 +17302,39 @@ ${input.slice(result.pos)}
|
|
|
17776
17302
|
token: str
|
|
17777
17303
|
};
|
|
17778
17304
|
};
|
|
17779
|
-
module.reorderBindingRestProperty = function(
|
|
17780
|
-
|
|
17781
|
-
|
|
17782
|
-
|
|
17783
|
-
|
|
17305
|
+
module.reorderBindingRestProperty = function(props) {
|
|
17306
|
+
const names = props.flatMap((p) => p.names);
|
|
17307
|
+
let restIndex = -1;
|
|
17308
|
+
let restCount = 0;
|
|
17309
|
+
props.forEach(({ type }, i) => {
|
|
17310
|
+
if (type === "BindingRestProperty") {
|
|
17311
|
+
if (restIndex < 0)
|
|
17312
|
+
restIndex = i;
|
|
17313
|
+
restCount++;
|
|
17314
|
+
}
|
|
17315
|
+
});
|
|
17316
|
+
if (restCount === 0) {
|
|
17317
|
+
const children = [...props];
|
|
17318
|
+
return {
|
|
17319
|
+
children,
|
|
17320
|
+
names
|
|
17321
|
+
};
|
|
17322
|
+
} else if (restCount === 1) {
|
|
17323
|
+
let after = props.slice(restIndex + 1);
|
|
17324
|
+
let rest = props[restIndex];
|
|
17325
|
+
props = props.slice(0, restIndex);
|
|
17326
|
+
if (after.length) {
|
|
17327
|
+
const [restDelim] = rest.children.slice(-1), lastAfterProp = after[after.length - 1], lastAfterChildren = lastAfterProp.children, [lastDelim] = lastAfterChildren.slice(-1);
|
|
17328
|
+
rest = { ...rest, children: [...rest.children.slice(0, -1), lastDelim] };
|
|
17329
|
+
after = [...after.slice(0, -1), { ...lastAfterProp, children: [...lastAfterChildren.slice(0, -1), restDelim] }];
|
|
17330
|
+
}
|
|
17331
|
+
const children = [...props, ...after, rest];
|
|
17332
|
+
return {
|
|
17333
|
+
children,
|
|
17334
|
+
names
|
|
17335
|
+
};
|
|
17784
17336
|
}
|
|
17785
|
-
|
|
17337
|
+
throw new Error("Multiple rest properties in object pattern");
|
|
17786
17338
|
};
|
|
17787
17339
|
function gatherNodes(node, predicate) {
|
|
17788
17340
|
if (node == null)
|