@danielx/civet 0.5.90 → 0.5.91
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/README.md +1 -1
- package/dist/browser.js +264 -211
- package/dist/browser.js.gzip +0 -0
- package/dist/civet +41 -12
- package/dist/esm.mjs +2 -1
- package/dist/main.js +264 -211
- package/dist/main.mjs +264 -211
- package/package.json +1 -1
package/dist/main.mjs
CHANGED
|
@@ -976,6 +976,7 @@ ${input.slice(result.pos)}
|
|
|
976
976
|
SingleLineExtendedExpression,
|
|
977
977
|
NonPipelineExtendedExpression,
|
|
978
978
|
NonAssignmentExtendedExpression,
|
|
979
|
+
NestedNonAssignmentExtendedExpression,
|
|
979
980
|
ExpressionizedStatement,
|
|
980
981
|
Expression,
|
|
981
982
|
Arguments,
|
|
@@ -1607,6 +1608,7 @@ ${input.slice(result.pos)}
|
|
|
1607
1608
|
Samedent,
|
|
1608
1609
|
IndentedFurther,
|
|
1609
1610
|
NotDedented,
|
|
1611
|
+
Dedented,
|
|
1610
1612
|
PushIndent,
|
|
1611
1613
|
PopIndent,
|
|
1612
1614
|
Nested
|
|
@@ -1643,84 +1645,84 @@ ${input.slice(result.pos)}
|
|
|
1643
1645
|
var $L29 = $L("off");
|
|
1644
1646
|
var $L30 = $L(">");
|
|
1645
1647
|
var $L31 = $L("]");
|
|
1646
|
-
var $L32 = $L("
|
|
1647
|
-
var $L33 = $L("
|
|
1648
|
-
var $L34 = $L("
|
|
1649
|
-
var $L35 = $L("
|
|
1650
|
-
var $L36 = $L("
|
|
1651
|
-
var $L37 = $L("
|
|
1652
|
-
var $L38 = $L("
|
|
1653
|
-
var $L39 = $L("
|
|
1654
|
-
var $L40 = $L("
|
|
1655
|
-
var $L41 = $L("
|
|
1656
|
-
var $L42 = $L("
|
|
1657
|
-
var $L43 = $L("
|
|
1658
|
-
var $L44 = $L("
|
|
1659
|
-
var $L45 = $L("
|
|
1660
|
-
var $L46 = $L("
|
|
1661
|
-
var $L47 = $L("
|
|
1662
|
-
var $L48 = $L("
|
|
1663
|
-
var $L49 = $L("
|
|
1664
|
-
var $L50 = $L("
|
|
1665
|
-
var $L51 = $L("
|
|
1666
|
-
var $L52 = $L("
|
|
1667
|
-
var $L53 = $L("
|
|
1668
|
-
var $L54 = $L("
|
|
1669
|
-
var $L55 = $L("
|
|
1670
|
-
var $L56 = $L("
|
|
1671
|
-
var $L57 = $L("
|
|
1672
|
-
var $L58 = $L("
|
|
1673
|
-
var $L59 = $L("
|
|
1674
|
-
var $L60 = $L("
|
|
1675
|
-
var $L61 = $L("
|
|
1676
|
-
var $L62 = $L("
|
|
1677
|
-
var $L63 = $L("
|
|
1678
|
-
var $L64 = $L("
|
|
1679
|
-
var $L65 = $L("
|
|
1680
|
-
var $L66 = $L("
|
|
1681
|
-
var $L67 = $L("
|
|
1682
|
-
var $L68 = $L("
|
|
1683
|
-
var $L69 = $L("
|
|
1684
|
-
var $L70 = $L("
|
|
1685
|
-
var $L71 = $L("
|
|
1686
|
-
var $L72 = $L("
|
|
1687
|
-
var $L73 = $L("
|
|
1688
|
-
var $L74 = $L("
|
|
1689
|
-
var $L75 = $L("
|
|
1690
|
-
var $L76 = $L("
|
|
1691
|
-
var $L77 = $L("
|
|
1692
|
-
var $L78 = $L("
|
|
1693
|
-
var $L79 = $L("
|
|
1694
|
-
var $L80 = $L("
|
|
1695
|
-
var $L81 = $L("
|
|
1696
|
-
var $L82 = $L("
|
|
1697
|
-
var $L83 = $L("
|
|
1698
|
-
var $L84 = $L("
|
|
1699
|
-
var $L85 = $L("
|
|
1700
|
-
var $L86 = $L("
|
|
1701
|
-
var $L87 = $L("
|
|
1702
|
-
var $L88 = $L("
|
|
1703
|
-
var $L89 = $L("
|
|
1704
|
-
var $L90 = $L("
|
|
1705
|
-
var $L91 = $L("
|
|
1706
|
-
var $L92 = $L("
|
|
1707
|
-
var $L93 = $L("
|
|
1708
|
-
var $L94 = $L("
|
|
1709
|
-
var $L95 = $L("
|
|
1710
|
-
var $L96 = $L("
|
|
1711
|
-
var $L97 = $L("
|
|
1712
|
-
var $L98 = $L("
|
|
1713
|
-
var $L99 = $L("
|
|
1714
|
-
var $L100 = $L("
|
|
1715
|
-
var $L101 = $L("
|
|
1716
|
-
var $L102 = $L("
|
|
1717
|
-
var $L103 = $L("
|
|
1718
|
-
var $L104 = $L("
|
|
1719
|
-
var $L105 = $L("
|
|
1720
|
-
var $L106 = $L("
|
|
1721
|
-
var $L107 = $L("
|
|
1722
|
-
var $L108 = $L("
|
|
1723
|
-
var $L109 = $L("
|
|
1648
|
+
var $L32 = $L("**=");
|
|
1649
|
+
var $L33 = $L("*=");
|
|
1650
|
+
var $L34 = $L("/=");
|
|
1651
|
+
var $L35 = $L("%=");
|
|
1652
|
+
var $L36 = $L("+=");
|
|
1653
|
+
var $L37 = $L("-=");
|
|
1654
|
+
var $L38 = $L("<<=");
|
|
1655
|
+
var $L39 = $L(">>>=");
|
|
1656
|
+
var $L40 = $L(">>=");
|
|
1657
|
+
var $L41 = $L("&&=");
|
|
1658
|
+
var $L42 = $L("&=");
|
|
1659
|
+
var $L43 = $L("^=");
|
|
1660
|
+
var $L44 = $L("||=");
|
|
1661
|
+
var $L45 = $L("|=");
|
|
1662
|
+
var $L46 = $L("??=");
|
|
1663
|
+
var $L47 = $L("?=");
|
|
1664
|
+
var $L48 = $L("and=");
|
|
1665
|
+
var $L49 = $L("or=");
|
|
1666
|
+
var $L50 = $L("not");
|
|
1667
|
+
var $L51 = $L("**");
|
|
1668
|
+
var $L52 = $L("*");
|
|
1669
|
+
var $L53 = $L("/");
|
|
1670
|
+
var $L54 = $L("%%");
|
|
1671
|
+
var $L55 = $L("%");
|
|
1672
|
+
var $L56 = $L("+");
|
|
1673
|
+
var $L57 = $L("<=");
|
|
1674
|
+
var $L58 = $L(">=");
|
|
1675
|
+
var $L59 = $L("<?");
|
|
1676
|
+
var $L60 = $L("!<?");
|
|
1677
|
+
var $L61 = $L("<<");
|
|
1678
|
+
var $L62 = $L(">>>");
|
|
1679
|
+
var $L63 = $L(">>");
|
|
1680
|
+
var $L64 = $L("!==");
|
|
1681
|
+
var $L65 = $L("!=");
|
|
1682
|
+
var $L66 = $L("isnt");
|
|
1683
|
+
var $L67 = $L("===");
|
|
1684
|
+
var $L68 = $L("==");
|
|
1685
|
+
var $L69 = $L("and");
|
|
1686
|
+
var $L70 = $L("&&");
|
|
1687
|
+
var $L71 = $L("of");
|
|
1688
|
+
var $L72 = $L("or");
|
|
1689
|
+
var $L73 = $L("||");
|
|
1690
|
+
var $L74 = $L("^^");
|
|
1691
|
+
var $L75 = $L("xor");
|
|
1692
|
+
var $L76 = $L("xnor");
|
|
1693
|
+
var $L77 = $L("??");
|
|
1694
|
+
var $L78 = $L("instanceof");
|
|
1695
|
+
var $L79 = $L("in");
|
|
1696
|
+
var $L80 = $L("is");
|
|
1697
|
+
var $L81 = $L("&");
|
|
1698
|
+
var $L82 = $L("|");
|
|
1699
|
+
var $L83 = $L(";");
|
|
1700
|
+
var $L84 = $L("$:");
|
|
1701
|
+
var $L85 = $L("own");
|
|
1702
|
+
var $L86 = $L("break");
|
|
1703
|
+
var $L87 = $L("continue");
|
|
1704
|
+
var $L88 = $L("debugger");
|
|
1705
|
+
var $L89 = $L("assert");
|
|
1706
|
+
var $L90 = $L(":=");
|
|
1707
|
+
var $L91 = $L(".=");
|
|
1708
|
+
var $L92 = $L("/*");
|
|
1709
|
+
var $L93 = $L("*/");
|
|
1710
|
+
var $L94 = $L("\\");
|
|
1711
|
+
var $L95 = $L("[");
|
|
1712
|
+
var $L96 = $L("`");
|
|
1713
|
+
var $L97 = $L("abstract");
|
|
1714
|
+
var $L98 = $L("as");
|
|
1715
|
+
var $L99 = $L("@");
|
|
1716
|
+
var $L100 = $L("@@");
|
|
1717
|
+
var $L101 = $L("async");
|
|
1718
|
+
var $L102 = $L("await");
|
|
1719
|
+
var $L103 = $L("by");
|
|
1720
|
+
var $L104 = $L("case");
|
|
1721
|
+
var $L105 = $L("catch");
|
|
1722
|
+
var $L106 = $L("class");
|
|
1723
|
+
var $L107 = $L(")");
|
|
1724
|
+
var $L108 = $L("#{");
|
|
1725
|
+
var $L109 = $L(":");
|
|
1724
1726
|
var $L110 = $L("declare");
|
|
1725
1727
|
var $L111 = $L("default");
|
|
1726
1728
|
var $L112 = $L("delete");
|
|
@@ -2094,12 +2096,7 @@ ${input.slice(result.pos)}
|
|
|
2094
2096
|
return result;
|
|
2095
2097
|
}
|
|
2096
2098
|
}
|
|
2097
|
-
var NonAssignmentExtendedExpression$0 =
|
|
2098
|
-
var expression = $3;
|
|
2099
|
-
if (expression)
|
|
2100
|
-
return expression;
|
|
2101
|
-
return $skip;
|
|
2102
|
-
});
|
|
2099
|
+
var NonAssignmentExtendedExpression$0 = NestedNonAssignmentExtendedExpression;
|
|
2103
2100
|
var NonAssignmentExtendedExpression$1 = $TS($S(__, ExpressionizedStatement), function($skip, $loc, $0, $1, $2) {
|
|
2104
2101
|
return {
|
|
2105
2102
|
...$2,
|
|
@@ -2128,6 +2125,34 @@ ${input.slice(result.pos)}
|
|
|
2128
2125
|
return result;
|
|
2129
2126
|
}
|
|
2130
2127
|
}
|
|
2128
|
+
var NestedNonAssignmentExtendedExpression$0 = $TS($S($Y(EOS), PushIndent, $E($S(Nested, ExpressionizedStatement)), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
2129
|
+
var expression = $3;
|
|
2130
|
+
if (expression)
|
|
2131
|
+
return expression;
|
|
2132
|
+
return $skip;
|
|
2133
|
+
});
|
|
2134
|
+
function NestedNonAssignmentExtendedExpression(state) {
|
|
2135
|
+
let eventData;
|
|
2136
|
+
if (state.events) {
|
|
2137
|
+
const result = state.events.enter?.("NestedNonAssignmentExtendedExpression", state);
|
|
2138
|
+
if (result) {
|
|
2139
|
+
if (result.cache)
|
|
2140
|
+
return result.cache;
|
|
2141
|
+
eventData = result.data;
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
if (state.tokenize) {
|
|
2145
|
+
const result = $TOKEN("NestedNonAssignmentExtendedExpression", state, NestedNonAssignmentExtendedExpression$0(state));
|
|
2146
|
+
if (state.events)
|
|
2147
|
+
state.events.exit?.("NestedNonAssignmentExtendedExpression", state, result, eventData);
|
|
2148
|
+
return result;
|
|
2149
|
+
} else {
|
|
2150
|
+
const result = NestedNonAssignmentExtendedExpression$0(state);
|
|
2151
|
+
if (state.events)
|
|
2152
|
+
state.events.exit?.("NestedNonAssignmentExtendedExpression", state, result, eventData);
|
|
2153
|
+
return result;
|
|
2154
|
+
}
|
|
2155
|
+
}
|
|
2131
2156
|
var ExpressionizedStatement$0 = DebuggerExpression;
|
|
2132
2157
|
var ExpressionizedStatement$1 = IfExpression;
|
|
2133
2158
|
var ExpressionizedStatement$2 = UnlessExpression;
|
|
@@ -2725,7 +2750,7 @@ ${input.slice(result.pos)}
|
|
|
2725
2750
|
return result;
|
|
2726
2751
|
}
|
|
2727
2752
|
}
|
|
2728
|
-
var UnaryExpression$0 = $TS($S($Q(UnaryOp), UpdateExpression, $E(UnaryPostfix)), function($skip, $loc, $0, $1, $2, $3) {
|
|
2753
|
+
var UnaryExpression$0 = $TS($S($Q(UnaryOp), $C(UpdateExpression, NestedNonAssignmentExtendedExpression), $E(UnaryPostfix)), function($skip, $loc, $0, $1, $2, $3) {
|
|
2729
2754
|
var pre = $1;
|
|
2730
2755
|
var exp = $2;
|
|
2731
2756
|
var post = $3;
|
|
@@ -7991,12 +8016,15 @@ ${input.slice(result.pos)}
|
|
|
7991
8016
|
return result;
|
|
7992
8017
|
}
|
|
7993
8018
|
}
|
|
7994
|
-
var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, ImplicitInlineObjectPropertyDelimiter, $
|
|
8019
|
+
var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, $Q($S(ImplicitInlineObjectPropertyDelimiter, ImplicitNamedProperty)), $E($S($E(_), Comma, $Y(Dedented))), InsertCloseBrace), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
7995
8020
|
var open = $1;
|
|
8021
|
+
var first = $2;
|
|
8022
|
+
var rest = $3;
|
|
8023
|
+
var trailing = $4;
|
|
7996
8024
|
var close = $5;
|
|
7997
8025
|
return {
|
|
7998
8026
|
type: "ObjectExpression",
|
|
7999
|
-
children: [open,
|
|
8027
|
+
children: [open, first, ...rest, trailing, close]
|
|
8000
8028
|
};
|
|
8001
8029
|
});
|
|
8002
8030
|
function InlineObjectLiteral(state) {
|
|
@@ -8021,15 +8049,9 @@ ${input.slice(result.pos)}
|
|
|
8021
8049
|
return result;
|
|
8022
8050
|
}
|
|
8023
8051
|
}
|
|
8024
|
-
var ImplicitInlineObjectPropertyDelimiter$0 = $S($E(_), Comma);
|
|
8025
|
-
var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $
|
|
8026
|
-
return value[1];
|
|
8027
|
-
});
|
|
8028
|
-
var ImplicitInlineObjectPropertyDelimiter$2 = $T($Y($S(__, $C($EXPECT($L32, fail, 'ImplicitInlineObjectPropertyDelimiter ":"'), $EXPECT($L33, fail, 'ImplicitInlineObjectPropertyDelimiter ")"'), $EXPECT($L31, fail, 'ImplicitInlineObjectPropertyDelimiter "]"'), $EXPECT($L22, fail, 'ImplicitInlineObjectPropertyDelimiter "}"'), ReservedWord))), function(value) {
|
|
8029
|
-
return "";
|
|
8030
|
-
});
|
|
8031
|
-
var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
|
|
8032
|
-
return "";
|
|
8052
|
+
var ImplicitInlineObjectPropertyDelimiter$0 = $S($E(_), Comma, $C(NotDedented, $E(_)));
|
|
8053
|
+
var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S(Samedent, ImplicitNamedProperty)), InsertComma, $C(Samedent, $E(_))), function(value) {
|
|
8054
|
+
return [value[1], value[2]];
|
|
8033
8055
|
});
|
|
8034
8056
|
function ImplicitInlineObjectPropertyDelimiter(state) {
|
|
8035
8057
|
let eventData;
|
|
@@ -8042,18 +8064,18 @@ ${input.slice(result.pos)}
|
|
|
8042
8064
|
}
|
|
8043
8065
|
}
|
|
8044
8066
|
if (state.tokenize) {
|
|
8045
|
-
const result = $TOKEN("ImplicitInlineObjectPropertyDelimiter", state, ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state)
|
|
8067
|
+
const result = $TOKEN("ImplicitInlineObjectPropertyDelimiter", state, ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state));
|
|
8046
8068
|
if (state.events)
|
|
8047
8069
|
state.events.exit?.("ImplicitInlineObjectPropertyDelimiter", state, result, eventData);
|
|
8048
8070
|
return result;
|
|
8049
8071
|
} else {
|
|
8050
|
-
const result = ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state)
|
|
8072
|
+
const result = ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state);
|
|
8051
8073
|
if (state.events)
|
|
8052
8074
|
state.events.exit?.("ImplicitInlineObjectPropertyDelimiter", state, result, eventData);
|
|
8053
8075
|
return result;
|
|
8054
8076
|
}
|
|
8055
8077
|
}
|
|
8056
|
-
var ObjectPropertyDelimiter$0 = $S($
|
|
8078
|
+
var ObjectPropertyDelimiter$0 = $S($E(_), Comma);
|
|
8057
8079
|
var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L22, fail, 'ObjectPropertyDelimiter "}"')));
|
|
8058
8080
|
var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
8059
8081
|
return value[1];
|
|
@@ -8776,22 +8798,22 @@ ${input.slice(result.pos)}
|
|
|
8776
8798
|
return result;
|
|
8777
8799
|
}
|
|
8778
8800
|
}
|
|
8779
|
-
var AssignmentOpSymbol$0 = $EXPECT($
|
|
8780
|
-
var AssignmentOpSymbol$1 = $EXPECT($
|
|
8781
|
-
var AssignmentOpSymbol$2 = $EXPECT($
|
|
8782
|
-
var AssignmentOpSymbol$3 = $EXPECT($
|
|
8783
|
-
var AssignmentOpSymbol$4 = $EXPECT($
|
|
8784
|
-
var AssignmentOpSymbol$5 = $EXPECT($
|
|
8785
|
-
var AssignmentOpSymbol$6 = $EXPECT($
|
|
8786
|
-
var AssignmentOpSymbol$7 = $EXPECT($
|
|
8787
|
-
var AssignmentOpSymbol$8 = $EXPECT($
|
|
8788
|
-
var AssignmentOpSymbol$9 = $EXPECT($
|
|
8789
|
-
var AssignmentOpSymbol$10 = $EXPECT($
|
|
8790
|
-
var AssignmentOpSymbol$11 = $EXPECT($
|
|
8791
|
-
var AssignmentOpSymbol$12 = $EXPECT($
|
|
8792
|
-
var AssignmentOpSymbol$13 = $EXPECT($
|
|
8793
|
-
var AssignmentOpSymbol$14 = $EXPECT($
|
|
8794
|
-
var AssignmentOpSymbol$15 = $T($EXPECT($
|
|
8801
|
+
var AssignmentOpSymbol$0 = $EXPECT($L32, fail, 'AssignmentOpSymbol "**="');
|
|
8802
|
+
var AssignmentOpSymbol$1 = $EXPECT($L33, fail, 'AssignmentOpSymbol "*="');
|
|
8803
|
+
var AssignmentOpSymbol$2 = $EXPECT($L34, fail, 'AssignmentOpSymbol "/="');
|
|
8804
|
+
var AssignmentOpSymbol$3 = $EXPECT($L35, fail, 'AssignmentOpSymbol "%="');
|
|
8805
|
+
var AssignmentOpSymbol$4 = $EXPECT($L36, fail, 'AssignmentOpSymbol "+="');
|
|
8806
|
+
var AssignmentOpSymbol$5 = $EXPECT($L37, fail, 'AssignmentOpSymbol "-="');
|
|
8807
|
+
var AssignmentOpSymbol$6 = $EXPECT($L38, fail, 'AssignmentOpSymbol "<<="');
|
|
8808
|
+
var AssignmentOpSymbol$7 = $EXPECT($L39, fail, 'AssignmentOpSymbol ">>>="');
|
|
8809
|
+
var AssignmentOpSymbol$8 = $EXPECT($L40, fail, 'AssignmentOpSymbol ">>="');
|
|
8810
|
+
var AssignmentOpSymbol$9 = $EXPECT($L41, fail, 'AssignmentOpSymbol "&&="');
|
|
8811
|
+
var AssignmentOpSymbol$10 = $EXPECT($L42, fail, 'AssignmentOpSymbol "&="');
|
|
8812
|
+
var AssignmentOpSymbol$11 = $EXPECT($L43, fail, 'AssignmentOpSymbol "^="');
|
|
8813
|
+
var AssignmentOpSymbol$12 = $EXPECT($L44, fail, 'AssignmentOpSymbol "||="');
|
|
8814
|
+
var AssignmentOpSymbol$13 = $EXPECT($L45, fail, 'AssignmentOpSymbol "|="');
|
|
8815
|
+
var AssignmentOpSymbol$14 = $EXPECT($L46, fail, 'AssignmentOpSymbol "??="');
|
|
8816
|
+
var AssignmentOpSymbol$15 = $T($EXPECT($L47, fail, 'AssignmentOpSymbol "?="'), function(value) {
|
|
8795
8817
|
return "??=";
|
|
8796
8818
|
});
|
|
8797
8819
|
var AssignmentOpSymbol$16 = $T($S($EXPECT($L2, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L2, fail, 'AssignmentOpSymbol "="'))), function(value) {
|
|
@@ -8822,10 +8844,10 @@ ${input.slice(result.pos)}
|
|
|
8822
8844
|
return result;
|
|
8823
8845
|
}
|
|
8824
8846
|
}
|
|
8825
|
-
var CoffeeWordAssignmentOp$0 = $T($EXPECT($
|
|
8847
|
+
var CoffeeWordAssignmentOp$0 = $T($EXPECT($L48, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
|
|
8826
8848
|
return "&&=";
|
|
8827
8849
|
});
|
|
8828
|
-
var CoffeeWordAssignmentOp$1 = $T($EXPECT($
|
|
8850
|
+
var CoffeeWordAssignmentOp$1 = $T($EXPECT($L49, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
|
|
8829
8851
|
return "||=";
|
|
8830
8852
|
});
|
|
8831
8853
|
function CoffeeWordAssignmentOp(state) {
|
|
@@ -8864,7 +8886,7 @@ ${input.slice(result.pos)}
|
|
|
8864
8886
|
special: true
|
|
8865
8887
|
};
|
|
8866
8888
|
});
|
|
8867
|
-
var BinaryOp$2 = $TS($S($EXPECT($
|
|
8889
|
+
var BinaryOp$2 = $TS($S($EXPECT($L50, fail, 'BinaryOp "not"'), NonIdContinue, __, Identifier), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
8868
8890
|
var id = $4;
|
|
8869
8891
|
if (!module.operators.has(id.name))
|
|
8870
8892
|
return $skip;
|
|
@@ -8896,21 +8918,21 @@ ${input.slice(result.pos)}
|
|
|
8896
8918
|
return result;
|
|
8897
8919
|
}
|
|
8898
8920
|
}
|
|
8899
|
-
var BinaryOpSymbol$0 = $EXPECT($
|
|
8900
|
-
var BinaryOpSymbol$1 = $EXPECT($
|
|
8901
|
-
var BinaryOpSymbol$2 = $EXPECT($
|
|
8902
|
-
var BinaryOpSymbol$3 = $TV($EXPECT($
|
|
8921
|
+
var BinaryOpSymbol$0 = $EXPECT($L51, fail, 'BinaryOpSymbol "**"');
|
|
8922
|
+
var BinaryOpSymbol$1 = $EXPECT($L52, fail, 'BinaryOpSymbol "*"');
|
|
8923
|
+
var BinaryOpSymbol$2 = $EXPECT($L53, fail, 'BinaryOpSymbol "/"');
|
|
8924
|
+
var BinaryOpSymbol$3 = $TV($EXPECT($L54, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
|
|
8903
8925
|
return {
|
|
8904
8926
|
call: module.getRef("modulo"),
|
|
8905
8927
|
special: true
|
|
8906
8928
|
};
|
|
8907
8929
|
});
|
|
8908
|
-
var BinaryOpSymbol$4 = $EXPECT($
|
|
8909
|
-
var BinaryOpSymbol$5 = $EXPECT($
|
|
8930
|
+
var BinaryOpSymbol$4 = $EXPECT($L55, fail, 'BinaryOpSymbol "%"');
|
|
8931
|
+
var BinaryOpSymbol$5 = $EXPECT($L56, fail, 'BinaryOpSymbol "+"');
|
|
8910
8932
|
var BinaryOpSymbol$6 = $EXPECT($L18, fail, 'BinaryOpSymbol "-"');
|
|
8911
|
-
var BinaryOpSymbol$7 = $EXPECT($
|
|
8912
|
-
var BinaryOpSymbol$8 = $EXPECT($
|
|
8913
|
-
var BinaryOpSymbol$9 = $TV($EXPECT($
|
|
8933
|
+
var BinaryOpSymbol$7 = $EXPECT($L57, fail, 'BinaryOpSymbol "<="');
|
|
8934
|
+
var BinaryOpSymbol$8 = $EXPECT($L58, fail, 'BinaryOpSymbol ">="');
|
|
8935
|
+
var BinaryOpSymbol$9 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
|
|
8914
8936
|
return {
|
|
8915
8937
|
$loc,
|
|
8916
8938
|
token: "instanceof",
|
|
@@ -8918,7 +8940,7 @@ ${input.slice(result.pos)}
|
|
|
8918
8940
|
special: true
|
|
8919
8941
|
};
|
|
8920
8942
|
});
|
|
8921
|
-
var BinaryOpSymbol$10 = $TV($EXPECT($
|
|
8943
|
+
var BinaryOpSymbol$10 = $TV($EXPECT($L60, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
|
|
8922
8944
|
return {
|
|
8923
8945
|
$loc,
|
|
8924
8946
|
token: "instanceof",
|
|
@@ -8927,58 +8949,58 @@ ${input.slice(result.pos)}
|
|
|
8927
8949
|
negated: true
|
|
8928
8950
|
};
|
|
8929
8951
|
});
|
|
8930
|
-
var BinaryOpSymbol$11 = $EXPECT($
|
|
8952
|
+
var BinaryOpSymbol$11 = $EXPECT($L61, fail, 'BinaryOpSymbol "<<"');
|
|
8931
8953
|
var BinaryOpSymbol$12 = $TR($EXPECT($R7, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
8932
8954
|
return "<";
|
|
8933
8955
|
});
|
|
8934
|
-
var BinaryOpSymbol$13 = $EXPECT($
|
|
8935
|
-
var BinaryOpSymbol$14 = $EXPECT($
|
|
8956
|
+
var BinaryOpSymbol$13 = $EXPECT($L62, fail, 'BinaryOpSymbol ">>>"');
|
|
8957
|
+
var BinaryOpSymbol$14 = $EXPECT($L63, fail, 'BinaryOpSymbol ">>"');
|
|
8936
8958
|
var BinaryOpSymbol$15 = $EXPECT($L30, fail, 'BinaryOpSymbol ">"');
|
|
8937
|
-
var BinaryOpSymbol$16 = $EXPECT($
|
|
8938
|
-
var BinaryOpSymbol$17 = $TV($EXPECT($
|
|
8959
|
+
var BinaryOpSymbol$16 = $EXPECT($L64, fail, 'BinaryOpSymbol "!=="');
|
|
8960
|
+
var BinaryOpSymbol$17 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
|
|
8939
8961
|
if (module.config.coffeeEq)
|
|
8940
8962
|
return "!==";
|
|
8941
8963
|
return $1;
|
|
8942
8964
|
});
|
|
8943
|
-
var BinaryOpSymbol$18 = $TS($S($EXPECT($
|
|
8965
|
+
var BinaryOpSymbol$18 = $TS($S($EXPECT($L66, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
8944
8966
|
if (module.config.coffeeIsnt)
|
|
8945
8967
|
return "!==";
|
|
8946
8968
|
return $skip;
|
|
8947
8969
|
});
|
|
8948
|
-
var BinaryOpSymbol$19 = $EXPECT($
|
|
8949
|
-
var BinaryOpSymbol$20 = $TV($EXPECT($
|
|
8970
|
+
var BinaryOpSymbol$19 = $EXPECT($L67, fail, 'BinaryOpSymbol "==="');
|
|
8971
|
+
var BinaryOpSymbol$20 = $TV($EXPECT($L68, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
|
|
8950
8972
|
if (module.config.coffeeEq)
|
|
8951
8973
|
return "===";
|
|
8952
8974
|
return $1;
|
|
8953
8975
|
});
|
|
8954
|
-
var BinaryOpSymbol$21 = $T($S($EXPECT($
|
|
8976
|
+
var BinaryOpSymbol$21 = $T($S($EXPECT($L69, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
|
|
8955
8977
|
return "&&";
|
|
8956
8978
|
});
|
|
8957
|
-
var BinaryOpSymbol$22 = $EXPECT($
|
|
8958
|
-
var BinaryOpSymbol$23 = $T($S(CoffeeOfEnabled, $EXPECT($
|
|
8979
|
+
var BinaryOpSymbol$22 = $EXPECT($L70, fail, 'BinaryOpSymbol "&&"');
|
|
8980
|
+
var BinaryOpSymbol$23 = $T($S(CoffeeOfEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
|
|
8959
8981
|
return "in";
|
|
8960
8982
|
});
|
|
8961
|
-
var BinaryOpSymbol$24 = $T($S($EXPECT($
|
|
8983
|
+
var BinaryOpSymbol$24 = $T($S($EXPECT($L72, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
|
|
8962
8984
|
return "||";
|
|
8963
8985
|
});
|
|
8964
|
-
var BinaryOpSymbol$25 = $EXPECT($
|
|
8965
|
-
var BinaryOpSymbol$26 = $TV($C($EXPECT($
|
|
8986
|
+
var BinaryOpSymbol$25 = $EXPECT($L73, fail, 'BinaryOpSymbol "||"');
|
|
8987
|
+
var BinaryOpSymbol$26 = $TV($C($EXPECT($L74, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L75, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
|
|
8966
8988
|
return {
|
|
8967
8989
|
call: module.getRef("xor"),
|
|
8968
8990
|
special: true
|
|
8969
8991
|
};
|
|
8970
8992
|
});
|
|
8971
|
-
var BinaryOpSymbol$27 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($
|
|
8993
|
+
var BinaryOpSymbol$27 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L76, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
|
|
8972
8994
|
return {
|
|
8973
8995
|
call: module.getRef("xnor"),
|
|
8974
8996
|
special: true
|
|
8975
8997
|
};
|
|
8976
8998
|
});
|
|
8977
|
-
var BinaryOpSymbol$28 = $EXPECT($
|
|
8999
|
+
var BinaryOpSymbol$28 = $EXPECT($L77, fail, 'BinaryOpSymbol "??"');
|
|
8978
9000
|
var BinaryOpSymbol$29 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L4, fail, 'BinaryOpSymbol "?"')), function(value) {
|
|
8979
9001
|
return "??";
|
|
8980
9002
|
});
|
|
8981
|
-
var BinaryOpSymbol$30 = $TS($S($EXPECT($
|
|
9003
|
+
var BinaryOpSymbol$30 = $TS($S($EXPECT($L78, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
8982
9004
|
return {
|
|
8983
9005
|
$loc,
|
|
8984
9006
|
token: $1,
|
|
@@ -8986,7 +9008,7 @@ ${input.slice(result.pos)}
|
|
|
8986
9008
|
special: true
|
|
8987
9009
|
};
|
|
8988
9010
|
});
|
|
8989
|
-
var BinaryOpSymbol$31 = $TS($S($EXPECT($
|
|
9011
|
+
var BinaryOpSymbol$31 = $TS($S($EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L78, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
8990
9012
|
return {
|
|
8991
9013
|
$loc,
|
|
8992
9014
|
token: "instanceof",
|
|
@@ -8995,7 +9017,7 @@ ${input.slice(result.pos)}
|
|
|
8995
9017
|
negated: true
|
|
8996
9018
|
};
|
|
8997
9019
|
});
|
|
8998
|
-
var BinaryOpSymbol$32 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($
|
|
9020
|
+
var BinaryOpSymbol$32 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), $S(CoffeeOfEnabled, $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L71, fail, 'BinaryOpSymbol "of"'), NonIdContinue)), function($skip, $loc, $0, $1) {
|
|
8999
9021
|
return {
|
|
9000
9022
|
$loc,
|
|
9001
9023
|
token: "in",
|
|
@@ -9003,7 +9025,7 @@ ${input.slice(result.pos)}
|
|
|
9003
9025
|
negated: true
|
|
9004
9026
|
};
|
|
9005
9027
|
});
|
|
9006
|
-
var BinaryOpSymbol$33 = $TS($S($EXPECT($
|
|
9028
|
+
var BinaryOpSymbol$33 = $TS($S($EXPECT($L80, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
9007
9029
|
return {
|
|
9008
9030
|
method: "includes",
|
|
9009
9031
|
relational: true,
|
|
@@ -9011,7 +9033,7 @@ ${input.slice(result.pos)}
|
|
|
9011
9033
|
special: true
|
|
9012
9034
|
};
|
|
9013
9035
|
});
|
|
9014
|
-
var BinaryOpSymbol$34 = $TS($S(CoffeeOfEnabled, $EXPECT($
|
|
9036
|
+
var BinaryOpSymbol$34 = $TS($S(CoffeeOfEnabled, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
|
|
9015
9037
|
return {
|
|
9016
9038
|
call: [module.getRef("indexOf"), ".call"],
|
|
9017
9039
|
relational: true,
|
|
@@ -9020,7 +9042,7 @@ ${input.slice(result.pos)}
|
|
|
9020
9042
|
special: true
|
|
9021
9043
|
};
|
|
9022
9044
|
});
|
|
9023
|
-
var BinaryOpSymbol$35 = $TS($S($EXPECT($
|
|
9045
|
+
var BinaryOpSymbol$35 = $TS($S($EXPECT($L80, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8) {
|
|
9024
9046
|
return {
|
|
9025
9047
|
method: "includes",
|
|
9026
9048
|
relational: true,
|
|
@@ -9029,7 +9051,7 @@ ${input.slice(result.pos)}
|
|
|
9029
9051
|
negated: true
|
|
9030
9052
|
};
|
|
9031
9053
|
});
|
|
9032
|
-
var BinaryOpSymbol$36 = $TS($S(CoffeeOfEnabled, $EXPECT($
|
|
9054
|
+
var BinaryOpSymbol$36 = $TS($S(CoffeeOfEnabled, $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue, __, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
|
|
9033
9055
|
return {
|
|
9034
9056
|
call: [module.getRef("indexOf"), ".call"],
|
|
9035
9057
|
relational: true,
|
|
@@ -9038,7 +9060,7 @@ ${input.slice(result.pos)}
|
|
|
9038
9060
|
special: true
|
|
9039
9061
|
};
|
|
9040
9062
|
});
|
|
9041
|
-
var BinaryOpSymbol$37 = $TS($S($N(CoffeeNotEnabled), $EXPECT($
|
|
9063
|
+
var BinaryOpSymbol$37 = $TS($S($N(CoffeeNotEnabled), $EXPECT($L80, fail, 'BinaryOpSymbol "is"'), NonIdContinue, __, $EXPECT($L50, fail, 'BinaryOpSymbol "not"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
|
|
9042
9064
|
if (module.config.objectIs) {
|
|
9043
9065
|
return {
|
|
9044
9066
|
call: module.getRef("is"),
|
|
@@ -9050,7 +9072,7 @@ ${input.slice(result.pos)}
|
|
|
9050
9072
|
}
|
|
9051
9073
|
return "!==";
|
|
9052
9074
|
});
|
|
9053
|
-
var BinaryOpSymbol$38 = $TS($S($EXPECT($
|
|
9075
|
+
var BinaryOpSymbol$38 = $TS($S($EXPECT($L80, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
9054
9076
|
if (module.config.objectIs) {
|
|
9055
9077
|
return {
|
|
9056
9078
|
call: module.getRef("is"),
|
|
@@ -9061,12 +9083,12 @@ ${input.slice(result.pos)}
|
|
|
9061
9083
|
}
|
|
9062
9084
|
return "===";
|
|
9063
9085
|
});
|
|
9064
|
-
var BinaryOpSymbol$39 = $TS($S($EXPECT($
|
|
9086
|
+
var BinaryOpSymbol$39 = $TS($S($EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
9065
9087
|
return $1;
|
|
9066
9088
|
});
|
|
9067
|
-
var BinaryOpSymbol$40 = $EXPECT($
|
|
9089
|
+
var BinaryOpSymbol$40 = $EXPECT($L81, fail, 'BinaryOpSymbol "&"');
|
|
9068
9090
|
var BinaryOpSymbol$41 = $EXPECT($L17, fail, 'BinaryOpSymbol "^"');
|
|
9069
|
-
var BinaryOpSymbol$42 = $EXPECT($
|
|
9091
|
+
var BinaryOpSymbol$42 = $EXPECT($L82, fail, 'BinaryOpSymbol "|"');
|
|
9070
9092
|
function BinaryOpSymbol(state) {
|
|
9071
9093
|
let eventData;
|
|
9072
9094
|
if (state.events) {
|
|
@@ -9089,8 +9111,8 @@ ${input.slice(result.pos)}
|
|
|
9089
9111
|
return result;
|
|
9090
9112
|
}
|
|
9091
9113
|
}
|
|
9092
|
-
var Xor$0 = $EXPECT($
|
|
9093
|
-
var Xor$1 = $S($EXPECT($
|
|
9114
|
+
var Xor$0 = $EXPECT($L74, fail, 'Xor "^^"');
|
|
9115
|
+
var Xor$1 = $S($EXPECT($L75, fail, 'Xor "xor"'), NonIdContinue);
|
|
9094
9116
|
function Xor(state) {
|
|
9095
9117
|
let eventData;
|
|
9096
9118
|
if (state.events) {
|
|
@@ -9114,7 +9136,7 @@ ${input.slice(result.pos)}
|
|
|
9114
9136
|
}
|
|
9115
9137
|
}
|
|
9116
9138
|
var Xnor$0 = $R$0($EXPECT($R8, fail, "Xnor /!\\^\\^?/"));
|
|
9117
|
-
var Xnor$1 = $EXPECT($
|
|
9139
|
+
var Xnor$1 = $EXPECT($L76, fail, 'Xnor "xnor"');
|
|
9118
9140
|
function Xnor(state) {
|
|
9119
9141
|
let eventData;
|
|
9120
9142
|
if (state.events) {
|
|
@@ -9165,7 +9187,7 @@ ${input.slice(result.pos)}
|
|
|
9165
9187
|
return result;
|
|
9166
9188
|
}
|
|
9167
9189
|
}
|
|
9168
|
-
var AwaitOp$0 = $TS($S(Await, $E($S(Dot, IdentifierName)), $C(_, $Y(
|
|
9190
|
+
var AwaitOp$0 = $TS($S(Await, $E($S(Dot, IdentifierName)), $C($Y(OpenParen), _, $Y(EOS))), function($skip, $loc, $0, $1, $2, $3) {
|
|
9169
9191
|
var a = $1;
|
|
9170
9192
|
var op = $2;
|
|
9171
9193
|
var ws = $3;
|
|
@@ -9400,7 +9422,7 @@ ${input.slice(result.pos)}
|
|
|
9400
9422
|
return result;
|
|
9401
9423
|
}
|
|
9402
9424
|
}
|
|
9403
|
-
var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($
|
|
9425
|
+
var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L83, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
|
|
9404
9426
|
return { type: "EmptyStatement", children: $1 || [] };
|
|
9405
9427
|
});
|
|
9406
9428
|
function EmptyStatement(state) {
|
|
@@ -9479,7 +9501,7 @@ ${input.slice(result.pos)}
|
|
|
9479
9501
|
var w = $3;
|
|
9480
9502
|
return [id, colon, w];
|
|
9481
9503
|
});
|
|
9482
|
-
var Label$1 = $S($EXPECT($
|
|
9504
|
+
var Label$1 = $S($EXPECT($L84, fail, 'Label "$:"'), Whitespace);
|
|
9483
9505
|
function Label(state) {
|
|
9484
9506
|
let eventData;
|
|
9485
9507
|
if (state.events) {
|
|
@@ -10463,7 +10485,7 @@ ${input.slice(result.pos)}
|
|
|
10463
10485
|
return result;
|
|
10464
10486
|
}
|
|
10465
10487
|
}
|
|
10466
|
-
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($
|
|
10488
|
+
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L85, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
|
|
10467
10489
|
var own = $1;
|
|
10468
10490
|
var binding = $2;
|
|
10469
10491
|
return {
|
|
@@ -11877,7 +11899,7 @@ ${input.slice(result.pos)}
|
|
|
11877
11899
|
return result;
|
|
11878
11900
|
}
|
|
11879
11901
|
}
|
|
11880
|
-
var Break$0 = $TS($S($EXPECT($
|
|
11902
|
+
var Break$0 = $TS($S($EXPECT($L86, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11881
11903
|
return { $loc, token: $1 };
|
|
11882
11904
|
});
|
|
11883
11905
|
function Break(state) {
|
|
@@ -11902,7 +11924,7 @@ ${input.slice(result.pos)}
|
|
|
11902
11924
|
return result;
|
|
11903
11925
|
}
|
|
11904
11926
|
}
|
|
11905
|
-
var Continue$0 = $TS($S($EXPECT($
|
|
11927
|
+
var Continue$0 = $TS($S($EXPECT($L87, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11906
11928
|
return { $loc, token: $1 };
|
|
11907
11929
|
});
|
|
11908
11930
|
function Continue(state) {
|
|
@@ -11927,7 +11949,7 @@ ${input.slice(result.pos)}
|
|
|
11927
11949
|
return result;
|
|
11928
11950
|
}
|
|
11929
11951
|
}
|
|
11930
|
-
var Debugger$0 = $TS($S($EXPECT($
|
|
11952
|
+
var Debugger$0 = $TS($S($EXPECT($L88, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11931
11953
|
return { $loc, token: $1 };
|
|
11932
11954
|
});
|
|
11933
11955
|
function Debugger(state) {
|
|
@@ -12233,7 +12255,7 @@ ${input.slice(result.pos)}
|
|
|
12233
12255
|
return result;
|
|
12234
12256
|
}
|
|
12235
12257
|
}
|
|
12236
|
-
var ImportAssertion$0 = $S($E(_), $EXPECT($
|
|
12258
|
+
var ImportAssertion$0 = $S($E(_), $EXPECT($L89, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
|
|
12237
12259
|
function ImportAssertion(state) {
|
|
12238
12260
|
let eventData;
|
|
12239
12261
|
if (state.events) {
|
|
@@ -12610,10 +12632,12 @@ ${input.slice(result.pos)}
|
|
|
12610
12632
|
}
|
|
12611
12633
|
}
|
|
12612
12634
|
var NamedExports$0 = $S(OpenBrace, $Q(ExportSpecifier), $E($S(__, Comma)), __, CloseBrace);
|
|
12613
|
-
var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(
|
|
12635
|
+
var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(ImplicitInlineObjectPropertyDelimiter, ImplicitExportSpecifier)), InsertCloseBrace, $Y($C(StatementDelimiter, $S(__, From)))), function($skip, $loc, $0, $1, $2, $3, $4, $5) {
|
|
12614
12636
|
var open = $1;
|
|
12637
|
+
var first = $2;
|
|
12638
|
+
var rest = $3;
|
|
12615
12639
|
var close = $4;
|
|
12616
|
-
return [open,
|
|
12640
|
+
return [open, first, ...rest, close];
|
|
12617
12641
|
});
|
|
12618
12642
|
function NamedExports(state) {
|
|
12619
12643
|
let eventData;
|
|
@@ -12664,7 +12688,7 @@ ${input.slice(result.pos)}
|
|
|
12664
12688
|
return result;
|
|
12665
12689
|
}
|
|
12666
12690
|
}
|
|
12667
|
-
var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName))
|
|
12691
|
+
var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName)));
|
|
12668
12692
|
function ImplicitExportSpecifier(state) {
|
|
12669
12693
|
let eventData;
|
|
12670
12694
|
if (state.events) {
|
|
@@ -12803,7 +12827,7 @@ ${input.slice(result.pos)}
|
|
|
12803
12827
|
return result;
|
|
12804
12828
|
}
|
|
12805
12829
|
}
|
|
12806
|
-
var ConstAssignment$0 = $TV($EXPECT($
|
|
12830
|
+
var ConstAssignment$0 = $TV($EXPECT($L90, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
|
|
12807
12831
|
return { $loc, token: "=" };
|
|
12808
12832
|
});
|
|
12809
12833
|
function ConstAssignment(state) {
|
|
@@ -12828,7 +12852,7 @@ ${input.slice(result.pos)}
|
|
|
12828
12852
|
return result;
|
|
12829
12853
|
}
|
|
12830
12854
|
}
|
|
12831
|
-
var LetAssignment$0 = $TV($EXPECT($
|
|
12855
|
+
var LetAssignment$0 = $TV($EXPECT($L91, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
|
|
12832
12856
|
return { $loc, token: "=" };
|
|
12833
12857
|
});
|
|
12834
12858
|
function LetAssignment(state) {
|
|
@@ -13535,7 +13559,7 @@ ${input.slice(result.pos)}
|
|
|
13535
13559
|
}
|
|
13536
13560
|
}
|
|
13537
13561
|
var RegularExpressionLiteral$0 = HeregexLiteral;
|
|
13538
|
-
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($
|
|
13562
|
+
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L53, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L53, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
|
|
13539
13563
|
return { type: "RegularExpressionLiteral", $loc, token: $1 };
|
|
13540
13564
|
});
|
|
13541
13565
|
function RegularExpressionLiteral(state) {
|
|
@@ -14102,7 +14126,7 @@ ${input.slice(result.pos)}
|
|
|
14102
14126
|
return result;
|
|
14103
14127
|
}
|
|
14104
14128
|
}
|
|
14105
|
-
var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($
|
|
14129
|
+
var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($L92, fail, 'JSMultiLineComment "/*"'), $Q($S($N($EXPECT($L93, fail, 'JSMultiLineComment "*/"')), $EXPECT($R42, fail, "JSMultiLineComment /./"))), $EXPECT($L93, fail, 'JSMultiLineComment "*/"'))), function($skip, $loc, $0, $1) {
|
|
14106
14130
|
return { type: "Comment", $loc, token: $1 };
|
|
14107
14131
|
});
|
|
14108
14132
|
function JSMultiLineComment(state) {
|
|
@@ -14201,7 +14225,7 @@ ${input.slice(result.pos)}
|
|
|
14201
14225
|
return result;
|
|
14202
14226
|
}
|
|
14203
14227
|
}
|
|
14204
|
-
var InlineComment$0 = $TV($TEXT($S($EXPECT($
|
|
14228
|
+
var InlineComment$0 = $TV($TEXT($S($EXPECT($L92, fail, 'InlineComment "/*"'), $TEXT($Q($S($N($EXPECT($L93, fail, 'InlineComment "*/"')), $EXPECT($R46, fail, "InlineComment /[^\\r\\n]/")))), $EXPECT($L93, fail, 'InlineComment "*/"'))), function($skip, $loc, $0, $1) {
|
|
14205
14229
|
return { $loc, token: $1 };
|
|
14206
14230
|
});
|
|
14207
14231
|
function InlineComment(state) {
|
|
@@ -14298,7 +14322,7 @@ ${input.slice(result.pos)}
|
|
|
14298
14322
|
var NonNewlineWhitespace$0 = $TR($EXPECT($R47, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
14299
14323
|
return { $loc, token: $0 };
|
|
14300
14324
|
});
|
|
14301
|
-
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($
|
|
14325
|
+
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L94, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
|
|
14302
14326
|
return "";
|
|
14303
14327
|
});
|
|
14304
14328
|
function NonNewlineWhitespace(state) {
|
|
@@ -14450,7 +14474,7 @@ ${input.slice(result.pos)}
|
|
|
14450
14474
|
}
|
|
14451
14475
|
}
|
|
14452
14476
|
var StatementDelimiter$0 = SemicolonDelimiter;
|
|
14453
|
-
var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L3, fail, 'StatementDelimiter "("'), $EXPECT($
|
|
14477
|
+
var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L3, fail, 'StatementDelimiter "("'), $EXPECT($L95, fail, 'StatementDelimiter "["'), $EXPECT($L96, fail, 'StatementDelimiter "`"'), $EXPECT($L56, fail, 'StatementDelimiter "+"'), $EXPECT($L18, fail, 'StatementDelimiter "-"'), $EXPECT($L52, fail, 'StatementDelimiter "*"'), $EXPECT($L53, fail, 'StatementDelimiter "/"'), ObjectLiteral, Arrow, FatArrow, $S(Function, $E($S($E(_), Star)), $E(_), $EXPECT($L3, fail, 'StatementDelimiter "("'))))), InsertSemicolon);
|
|
14454
14478
|
var StatementDelimiter$2 = $Y(EOS);
|
|
14455
14479
|
function StatementDelimiter(state) {
|
|
14456
14480
|
let eventData;
|
|
@@ -14550,7 +14574,7 @@ ${input.slice(result.pos)}
|
|
|
14550
14574
|
return result;
|
|
14551
14575
|
}
|
|
14552
14576
|
}
|
|
14553
|
-
var Abstract$0 = $TV($TEXT($S($EXPECT($
|
|
14577
|
+
var Abstract$0 = $TV($TEXT($S($EXPECT($L97, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L9, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
|
|
14554
14578
|
return { $loc, token: $1, ts: true };
|
|
14555
14579
|
});
|
|
14556
14580
|
function Abstract(state) {
|
|
@@ -14575,7 +14599,7 @@ ${input.slice(result.pos)}
|
|
|
14575
14599
|
return result;
|
|
14576
14600
|
}
|
|
14577
14601
|
}
|
|
14578
|
-
var Ampersand$0 = $TV($EXPECT($
|
|
14602
|
+
var Ampersand$0 = $TV($EXPECT($L81, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
|
|
14579
14603
|
return { $loc, token: $1 };
|
|
14580
14604
|
});
|
|
14581
14605
|
function Ampersand(state) {
|
|
@@ -14600,7 +14624,7 @@ ${input.slice(result.pos)}
|
|
|
14600
14624
|
return result;
|
|
14601
14625
|
}
|
|
14602
14626
|
}
|
|
14603
|
-
var As$0 = $TS($S($EXPECT($
|
|
14627
|
+
var As$0 = $TS($S($EXPECT($L98, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14604
14628
|
return { $loc, token: $1 };
|
|
14605
14629
|
});
|
|
14606
14630
|
function As(state) {
|
|
@@ -14625,7 +14649,7 @@ ${input.slice(result.pos)}
|
|
|
14625
14649
|
return result;
|
|
14626
14650
|
}
|
|
14627
14651
|
}
|
|
14628
|
-
var At$0 = $TV($EXPECT($
|
|
14652
|
+
var At$0 = $TV($EXPECT($L99, fail, 'At "@"'), function($skip, $loc, $0, $1) {
|
|
14629
14653
|
return { $loc, token: $1 };
|
|
14630
14654
|
});
|
|
14631
14655
|
function At(state) {
|
|
@@ -14650,7 +14674,7 @@ ${input.slice(result.pos)}
|
|
|
14650
14674
|
return result;
|
|
14651
14675
|
}
|
|
14652
14676
|
}
|
|
14653
|
-
var AtAt$0 = $TV($EXPECT($
|
|
14677
|
+
var AtAt$0 = $TV($EXPECT($L100, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
|
|
14654
14678
|
return { $loc, token: "@" };
|
|
14655
14679
|
});
|
|
14656
14680
|
function AtAt(state) {
|
|
@@ -14675,7 +14699,7 @@ ${input.slice(result.pos)}
|
|
|
14675
14699
|
return result;
|
|
14676
14700
|
}
|
|
14677
14701
|
}
|
|
14678
|
-
var Async$0 = $TS($S($EXPECT($
|
|
14702
|
+
var Async$0 = $TS($S($EXPECT($L101, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14679
14703
|
return { $loc, token: $1, type: "Async" };
|
|
14680
14704
|
});
|
|
14681
14705
|
function Async(state) {
|
|
@@ -14700,7 +14724,7 @@ ${input.slice(result.pos)}
|
|
|
14700
14724
|
return result;
|
|
14701
14725
|
}
|
|
14702
14726
|
}
|
|
14703
|
-
var Await$0 = $TS($S($EXPECT($
|
|
14727
|
+
var Await$0 = $TS($S($EXPECT($L102, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14704
14728
|
return { $loc, token: $1, type: "Await" };
|
|
14705
14729
|
});
|
|
14706
14730
|
function Await(state) {
|
|
@@ -14725,7 +14749,7 @@ ${input.slice(result.pos)}
|
|
|
14725
14749
|
return result;
|
|
14726
14750
|
}
|
|
14727
14751
|
}
|
|
14728
|
-
var Backtick$0 = $TV($EXPECT($
|
|
14752
|
+
var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
|
|
14729
14753
|
return { $loc, token: $1 };
|
|
14730
14754
|
});
|
|
14731
14755
|
function Backtick(state) {
|
|
@@ -14750,7 +14774,7 @@ ${input.slice(result.pos)}
|
|
|
14750
14774
|
return result;
|
|
14751
14775
|
}
|
|
14752
14776
|
}
|
|
14753
|
-
var By$0 = $TS($S($EXPECT($
|
|
14777
|
+
var By$0 = $TS($S($EXPECT($L103, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14754
14778
|
return { $loc, token: $1 };
|
|
14755
14779
|
});
|
|
14756
14780
|
function By(state) {
|
|
@@ -14775,7 +14799,7 @@ ${input.slice(result.pos)}
|
|
|
14775
14799
|
return result;
|
|
14776
14800
|
}
|
|
14777
14801
|
}
|
|
14778
|
-
var Case$0 = $TS($S($EXPECT($
|
|
14802
|
+
var Case$0 = $TS($S($EXPECT($L104, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14779
14803
|
return { $loc, token: $1 };
|
|
14780
14804
|
});
|
|
14781
14805
|
function Case(state) {
|
|
@@ -14800,7 +14824,7 @@ ${input.slice(result.pos)}
|
|
|
14800
14824
|
return result;
|
|
14801
14825
|
}
|
|
14802
14826
|
}
|
|
14803
|
-
var Catch$0 = $TS($S($EXPECT($
|
|
14827
|
+
var Catch$0 = $TS($S($EXPECT($L105, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14804
14828
|
return { $loc, token: $1 };
|
|
14805
14829
|
});
|
|
14806
14830
|
function Catch(state) {
|
|
@@ -14825,7 +14849,7 @@ ${input.slice(result.pos)}
|
|
|
14825
14849
|
return result;
|
|
14826
14850
|
}
|
|
14827
14851
|
}
|
|
14828
|
-
var Class$0 = $TS($S($EXPECT($
|
|
14852
|
+
var Class$0 = $TS($S($EXPECT($L106, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14829
14853
|
return { $loc, token: $1 };
|
|
14830
14854
|
});
|
|
14831
14855
|
function Class(state) {
|
|
@@ -14900,7 +14924,7 @@ ${input.slice(result.pos)}
|
|
|
14900
14924
|
return result;
|
|
14901
14925
|
}
|
|
14902
14926
|
}
|
|
14903
|
-
var CloseParen$0 = $TV($EXPECT($
|
|
14927
|
+
var CloseParen$0 = $TV($EXPECT($L107, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
|
|
14904
14928
|
return { $loc, token: $1 };
|
|
14905
14929
|
});
|
|
14906
14930
|
function CloseParen(state) {
|
|
@@ -14925,7 +14949,7 @@ ${input.slice(result.pos)}
|
|
|
14925
14949
|
return result;
|
|
14926
14950
|
}
|
|
14927
14951
|
}
|
|
14928
|
-
var CoffeeSubstitutionStart$0 = $TV($EXPECT($
|
|
14952
|
+
var CoffeeSubstitutionStart$0 = $TV($EXPECT($L108, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
|
|
14929
14953
|
return { $loc, token: "${" };
|
|
14930
14954
|
});
|
|
14931
14955
|
function CoffeeSubstitutionStart(state) {
|
|
@@ -14950,7 +14974,7 @@ ${input.slice(result.pos)}
|
|
|
14950
14974
|
return result;
|
|
14951
14975
|
}
|
|
14952
14976
|
}
|
|
14953
|
-
var Colon$0 = $TS($S($EXPECT($
|
|
14977
|
+
var Colon$0 = $TS($S($EXPECT($L109, fail, 'Colon ":"'), $N($EXPECT($L2, fail, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
|
|
14954
14978
|
return { $loc, token: $1 };
|
|
14955
14979
|
});
|
|
14956
14980
|
function Colon(state) {
|
|
@@ -15000,7 +15024,7 @@ ${input.slice(result.pos)}
|
|
|
15000
15024
|
return result;
|
|
15001
15025
|
}
|
|
15002
15026
|
}
|
|
15003
|
-
var ConstructorShorthand$0 = $TV($EXPECT($
|
|
15027
|
+
var ConstructorShorthand$0 = $TV($EXPECT($L99, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
|
|
15004
15028
|
return { $loc, token: "constructor" };
|
|
15005
15029
|
});
|
|
15006
15030
|
function ConstructorShorthand(state) {
|
|
@@ -15525,7 +15549,7 @@ ${input.slice(result.pos)}
|
|
|
15525
15549
|
return result;
|
|
15526
15550
|
}
|
|
15527
15551
|
}
|
|
15528
|
-
var In$0 = $TS($S($EXPECT($
|
|
15552
|
+
var In$0 = $TS($S($EXPECT($L79, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
15529
15553
|
return { $loc, token: $1 };
|
|
15530
15554
|
});
|
|
15531
15555
|
function In(state) {
|
|
@@ -15674,7 +15698,7 @@ ${input.slice(result.pos)}
|
|
|
15674
15698
|
return result;
|
|
15675
15699
|
}
|
|
15676
15700
|
}
|
|
15677
|
-
var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($
|
|
15701
|
+
var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($L50, fail, 'Not "not"'), NonIdContinue, $E($EXPECT($L9, fail, 'Not " "'))), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
15678
15702
|
return { $loc, token: "!" };
|
|
15679
15703
|
});
|
|
15680
15704
|
function Not(state) {
|
|
@@ -15699,7 +15723,7 @@ ${input.slice(result.pos)}
|
|
|
15699
15723
|
return result;
|
|
15700
15724
|
}
|
|
15701
15725
|
}
|
|
15702
|
-
var Of$0 = $TS($S($EXPECT($
|
|
15726
|
+
var Of$0 = $TS($S($EXPECT($L71, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
15703
15727
|
return { $loc, token: $1 };
|
|
15704
15728
|
});
|
|
15705
15729
|
function Of(state) {
|
|
@@ -15774,7 +15798,7 @@ ${input.slice(result.pos)}
|
|
|
15774
15798
|
return result;
|
|
15775
15799
|
}
|
|
15776
15800
|
}
|
|
15777
|
-
var OpenBracket$0 = $TV($EXPECT($
|
|
15801
|
+
var OpenBracket$0 = $TV($EXPECT($L95, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
|
|
15778
15802
|
return { $loc, token: $1 };
|
|
15779
15803
|
});
|
|
15780
15804
|
function OpenBracket(state) {
|
|
@@ -16055,7 +16079,7 @@ ${input.slice(result.pos)}
|
|
|
16055
16079
|
return result;
|
|
16056
16080
|
}
|
|
16057
16081
|
}
|
|
16058
|
-
var Semicolon$0 = $TV($EXPECT($
|
|
16082
|
+
var Semicolon$0 = $TV($EXPECT($L83, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
|
|
16059
16083
|
return { $loc, token: $1 };
|
|
16060
16084
|
});
|
|
16061
16085
|
function Semicolon(state) {
|
|
@@ -16105,7 +16129,7 @@ ${input.slice(result.pos)}
|
|
|
16105
16129
|
return result;
|
|
16106
16130
|
}
|
|
16107
16131
|
}
|
|
16108
|
-
var Star$0 = $TV($EXPECT($
|
|
16132
|
+
var Star$0 = $TV($EXPECT($L52, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
|
|
16109
16133
|
return { $loc, token: $1 };
|
|
16110
16134
|
});
|
|
16111
16135
|
function Star(state) {
|
|
@@ -16133,7 +16157,7 @@ ${input.slice(result.pos)}
|
|
|
16133
16157
|
var Static$0 = $TS($S($EXPECT($L145, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
16134
16158
|
return { $loc, token: $1 };
|
|
16135
16159
|
});
|
|
16136
|
-
var Static$1 = $TS($S($EXPECT($
|
|
16160
|
+
var Static$1 = $TS($S($EXPECT($L99, fail, 'Static "@"'), $N($C($EXPECT($L3, fail, 'Static "("'), $EXPECT($L99, fail, 'Static "@"')))), function($skip, $loc, $0, $1, $2) {
|
|
16137
16161
|
return { $loc, token: "static " };
|
|
16138
16162
|
});
|
|
16139
16163
|
function Static(state) {
|
|
@@ -16753,7 +16777,7 @@ ${input.slice(result.pos)}
|
|
|
16753
16777
|
return result;
|
|
16754
16778
|
}
|
|
16755
16779
|
}
|
|
16756
|
-
var JSXSelfClosingElement$0 = $TS($S($EXPECT($L132, fail, 'JSXSelfClosingElement "<"'),
|
|
16780
|
+
var JSXSelfClosingElement$0 = $TS($S($EXPECT($L132, fail, 'JSXSelfClosingElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L165, fail, 'JSXSelfClosingElement "/>"')), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6) {
|
|
16757
16781
|
return { type: "JSXElement", children: $0, tag: $2 };
|
|
16758
16782
|
});
|
|
16759
16783
|
function JSXSelfClosingElement(state) {
|
|
@@ -16829,7 +16853,7 @@ ${input.slice(result.pos)}
|
|
|
16829
16853
|
return result;
|
|
16830
16854
|
}
|
|
16831
16855
|
}
|
|
16832
|
-
var JSXOpeningElement$0 = $S($EXPECT($L132, fail, 'JSXOpeningElement "<"'),
|
|
16856
|
+
var JSXOpeningElement$0 = $S($EXPECT($L132, fail, 'JSXOpeningElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L30, fail, 'JSXOpeningElement ">"'));
|
|
16833
16857
|
function JSXOpeningElement(state) {
|
|
16834
16858
|
let eventData;
|
|
16835
16859
|
if (state.events) {
|
|
@@ -16881,7 +16905,7 @@ ${input.slice(result.pos)}
|
|
|
16881
16905
|
return result;
|
|
16882
16906
|
}
|
|
16883
16907
|
}
|
|
16884
|
-
var JSXClosingElement$0 = $S($EXPECT($L166, fail, 'JSXClosingElement "</"'), $E(Whitespace),
|
|
16908
|
+
var JSXClosingElement$0 = $S($EXPECT($L166, fail, 'JSXClosingElement "</"'), $E(Whitespace), JSXElementName, $E(Whitespace), $EXPECT($L30, fail, 'JSXClosingElement ">"'));
|
|
16885
16909
|
function JSXClosingElement(state) {
|
|
16886
16910
|
let eventData;
|
|
16887
16911
|
if (state.events) {
|
|
@@ -17027,7 +17051,10 @@ ${input.slice(result.pos)}
|
|
|
17027
17051
|
return result;
|
|
17028
17052
|
}
|
|
17029
17053
|
}
|
|
17030
|
-
var JSXElementName$0 = $S(
|
|
17054
|
+
var JSXElementName$0 = $TV($Y($S($C($EXPECT($L12, fail, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
|
|
17055
|
+
return module.config.defaultElement;
|
|
17056
|
+
});
|
|
17057
|
+
var JSXElementName$1 = $TEXT($S(JSXIdentifierName, $C($S(Colon, JSXIdentifierName), $Q($S(Dot, JSXIdentifierName)))));
|
|
17031
17058
|
function JSXElementName(state) {
|
|
17032
17059
|
let eventData;
|
|
17033
17060
|
if (state.events) {
|
|
@@ -17039,12 +17066,12 @@ ${input.slice(result.pos)}
|
|
|
17039
17066
|
}
|
|
17040
17067
|
}
|
|
17041
17068
|
if (state.tokenize) {
|
|
17042
|
-
const result = $TOKEN("JSXElementName", state, JSXElementName$0(state));
|
|
17069
|
+
const result = $TOKEN("JSXElementName", state, JSXElementName$0(state) || JSXElementName$1(state));
|
|
17043
17070
|
if (state.events)
|
|
17044
17071
|
state.events.exit?.("JSXElementName", state, result, eventData);
|
|
17045
17072
|
return result;
|
|
17046
17073
|
} else {
|
|
17047
|
-
const result = JSXElementName$0(state);
|
|
17074
|
+
const result = JSXElementName$0(state) || JSXElementName$1(state);
|
|
17048
17075
|
if (state.events)
|
|
17049
17076
|
state.events.exit?.("JSXElementName", state, result, eventData);
|
|
17050
17077
|
return result;
|
|
@@ -19012,7 +19039,7 @@ ${input.slice(result.pos)}
|
|
|
19012
19039
|
return result;
|
|
19013
19040
|
}
|
|
19014
19041
|
}
|
|
19015
|
-
var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($
|
|
19042
|
+
var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L80, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
|
|
19016
19043
|
var lhs = $1;
|
|
19017
19044
|
var rhs = $2;
|
|
19018
19045
|
if (!rhs)
|
|
@@ -19573,7 +19600,7 @@ ${input.slice(result.pos)}
|
|
|
19573
19600
|
var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
|
|
19574
19601
|
return value[1];
|
|
19575
19602
|
});
|
|
19576
|
-
var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($
|
|
19603
|
+
var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L109, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L107, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L22, fail, 'InlineInterfacePropertyDelimiter "}"'))));
|
|
19577
19604
|
var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
|
|
19578
19605
|
function InlineInterfacePropertyDelimiter(state) {
|
|
19579
19606
|
let eventData;
|
|
@@ -19597,10 +19624,10 @@ ${input.slice(result.pos)}
|
|
|
19597
19624
|
return result;
|
|
19598
19625
|
}
|
|
19599
19626
|
}
|
|
19600
|
-
var TypeBinaryOp$0 = $TV($EXPECT($
|
|
19627
|
+
var TypeBinaryOp$0 = $TV($EXPECT($L82, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
|
|
19601
19628
|
return { $loc, token: "|" };
|
|
19602
19629
|
});
|
|
19603
|
-
var TypeBinaryOp$1 = $TV($EXPECT($
|
|
19630
|
+
var TypeBinaryOp$1 = $TV($EXPECT($L81, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
|
|
19604
19631
|
return { $loc, token: "&" };
|
|
19605
19632
|
});
|
|
19606
19633
|
function TypeBinaryOp(state) {
|
|
@@ -21041,6 +21068,7 @@ ${input.slice(result.pos)}
|
|
|
21041
21068
|
coffeeNot: false,
|
|
21042
21069
|
coffeeOf: false,
|
|
21043
21070
|
coffeePrototype: false,
|
|
21071
|
+
defaultElement: "div",
|
|
21044
21072
|
implicitReturns: true,
|
|
21045
21073
|
objectIs: false,
|
|
21046
21074
|
react: false,
|
|
@@ -23175,6 +23203,31 @@ ${input.slice(result.pos)}
|
|
|
23175
23203
|
return result;
|
|
23176
23204
|
}
|
|
23177
23205
|
}
|
|
23206
|
+
var Dedented$0 = $T($S($N($C(Samedent, IndentedFurther)), EOS), function(value) {
|
|
23207
|
+
return value[1];
|
|
23208
|
+
});
|
|
23209
|
+
function Dedented(state) {
|
|
23210
|
+
let eventData;
|
|
23211
|
+
if (state.events) {
|
|
23212
|
+
const result = state.events.enter?.("Dedented", state);
|
|
23213
|
+
if (result) {
|
|
23214
|
+
if (result.cache)
|
|
23215
|
+
return result.cache;
|
|
23216
|
+
eventData = result.data;
|
|
23217
|
+
}
|
|
23218
|
+
}
|
|
23219
|
+
if (state.tokenize) {
|
|
23220
|
+
const result = $TOKEN("Dedented", state, Dedented$0(state));
|
|
23221
|
+
if (state.events)
|
|
23222
|
+
state.events.exit?.("Dedented", state, result, eventData);
|
|
23223
|
+
return result;
|
|
23224
|
+
} else {
|
|
23225
|
+
const result = Dedented$0(state);
|
|
23226
|
+
if (state.events)
|
|
23227
|
+
state.events.exit?.("Dedented", state, result, eventData);
|
|
23228
|
+
return result;
|
|
23229
|
+
}
|
|
23230
|
+
}
|
|
23178
23231
|
var PushIndent$0 = $Y($S(EOS, TrackIndented));
|
|
23179
23232
|
function PushIndent(state) {
|
|
23180
23233
|
let eventData;
|
|
@@ -23727,7 +23780,7 @@ var parse;
|
|
|
23727
23780
|
var uncacheable;
|
|
23728
23781
|
({ parse } = import_parser.default);
|
|
23729
23782
|
({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
|
|
23730
|
-
uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowClassImplicitCall", "AllowIndentedApplication", "AllowMultiLineImplicitObjectLiteral", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "ClassImplicitCallForbidden", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidClassImplicitCall", "ForbidIndentedApplication", "ForbidMultiLineImplicitObjectLiteral", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreClassImplicitCall", "RestoreMultiLineImplicitObjectLiteral", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
|
|
23783
|
+
uncacheable = /* @__PURE__ */ new Set(["ActualAssignment", "AllowAll", "AllowClassImplicitCall", "AllowIndentedApplication", "AllowMultiLineImplicitObjectLiteral", "AllowTrailingMemberProperty", "AllowedTrailingMemberExpressions", "ApplicationStart", "Arguments", "ArgumentsWithTrailingMemberExpressions", "ArrowFunction", "ArrowFunctionTail", "AssignmentExpression", "AssignmentExpressionTail", "BinaryOpExpression", "BinaryOpRHS", "BracedBlock", "BracedObjectLiteralContent", "BracedOrEmptyBlock", "CallExpression", "CallExpressionRest", "ClassImplicitCallForbidden", "CoffeeCommentEnabled", "CommaDelimiter", "ConditionalExpression", "Declaration", "Debugger", "Dedented", "ElementListWithIndentedApplicationForbidden", "ElseClause", "Expression", "ExpressionStatement", "ExpressionWithIndentedApplicationForbidden", "ExtendedExpression", "FatArrowBody", "ForbidClassImplicitCall", "ForbidIndentedApplication", "ForbidMultiLineImplicitObjectLiteral", "ForbidTrailingMemberProperty", "FunctionDeclaration", "FunctionExpression", "HoistableDeclaration", "ImplicitArguments", "ImplicitInlineObjectPropertyDelimiter", "ImplicitNestedBlock", "IndentedApplicationAllowed", "IndentedFurther", "IndentedJSXChildExpression", "InlineObjectLiteral", "InsertIndent", "JSXChild", "JSXChildren", "JSXElement", "JSXFragment", "JSXImplicitFragment", "JSXMixedChildren", "JSXNested", "JSXNestedChildren", "JSXOptionalClosingElement", "JSXOptionalClosingFragment", "JSXTag", "LeftHandSideExpression", "MemberExpression", "MemberExpressionRest", "Nested", "NestedBindingElement", "NestedBindingElements", "NestedBlockExpression", "NestedBlockExpression", "NestedBlockStatement", "NestedBlockStatements", "NestedClassSignatureElement", "NestedClassSignatureElements", "NestedDeclareElement", "NestedDeclareElements", "NestedElement", "NestedElementList", "NestedImplicitObjectLiteral", "NestedImplicitPropertyDefinition", "NestedImplicitPropertyDefinitions", "NestedInterfaceProperty", "NestedJSXChildExpression", "NestedModuleItem", "NestedModuleItems", "NestedNonAssignmentExtendedExpression", "NestedObject", "NestedPropertyDefinitions", "NonSingleBracedBlock", "NotDedented", "ObjectLiteral", "PopIndent", "PopJSXStack", "PostfixedExpression", "PostfixedStatement", "PrimaryExpression", "PushIndent", "PushJSXOpeningElement", "PushJSXOpeningFragment", "RestoreAll", "RestoreClassImplicitCall", "RestoreMultiLineImplicitObjectLiteral", "RestoreIndentedApplication", "RestoreTrailingMemberProperty", "RHS", "Samedent", "ShortCircuitExpression", "SingleLineAssignmentExpression", "SingleLineComment", "SingleLineStatements", "SnugNamedProperty", "Statement", "StatementListItem", "SuffixedExpression", "SuffixedStatement", "ThinArrowFunction", "TrackIndented", "TrailingMemberExpressions", "TrailingMemberPropertyAllowed", "TypedJSXElement", "TypedJSXFragment", "UnaryExpression", "UpdateExpression"]);
|
|
23731
23784
|
var compile = function(src, options) {
|
|
23732
23785
|
var ast, code, events, filename, ref, result, sm, srcMapJSON;
|
|
23733
23786
|
if (!options) {
|