@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.js
CHANGED
|
@@ -978,6 +978,7 @@ ${input.slice(result.pos)}
|
|
|
978
978
|
SingleLineExtendedExpression,
|
|
979
979
|
NonPipelineExtendedExpression,
|
|
980
980
|
NonAssignmentExtendedExpression,
|
|
981
|
+
NestedNonAssignmentExtendedExpression,
|
|
981
982
|
ExpressionizedStatement,
|
|
982
983
|
Expression,
|
|
983
984
|
Arguments,
|
|
@@ -1609,6 +1610,7 @@ ${input.slice(result.pos)}
|
|
|
1609
1610
|
Samedent,
|
|
1610
1611
|
IndentedFurther,
|
|
1611
1612
|
NotDedented,
|
|
1613
|
+
Dedented,
|
|
1612
1614
|
PushIndent,
|
|
1613
1615
|
PopIndent,
|
|
1614
1616
|
Nested
|
|
@@ -1645,84 +1647,84 @@ ${input.slice(result.pos)}
|
|
|
1645
1647
|
var $L29 = $L("off");
|
|
1646
1648
|
var $L30 = $L(">");
|
|
1647
1649
|
var $L31 = $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("
|
|
1665
|
-
var $L49 = $L("
|
|
1666
|
-
var $L50 = $L("
|
|
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("
|
|
1683
|
-
var $L67 = $L("
|
|
1684
|
-
var $L68 = $L("
|
|
1685
|
-
var $L69 = $L("
|
|
1686
|
-
var $L70 = $L("
|
|
1687
|
-
var $L71 = $L("
|
|
1688
|
-
var $L72 = $L("
|
|
1689
|
-
var $L73 = $L("
|
|
1690
|
-
var $L74 = $L("
|
|
1691
|
-
var $L75 = $L("
|
|
1692
|
-
var $L76 = $L("
|
|
1693
|
-
var $L77 = $L("
|
|
1694
|
-
var $L78 = $L("
|
|
1695
|
-
var $L79 = $L("
|
|
1696
|
-
var $L80 = $L("
|
|
1697
|
-
var $L81 = $L("
|
|
1698
|
-
var $L82 = $L("
|
|
1699
|
-
var $L83 = $L("
|
|
1700
|
-
var $L84 = $L("
|
|
1701
|
-
var $L85 = $L("
|
|
1702
|
-
var $L86 = $L("
|
|
1703
|
-
var $L87 = $L("
|
|
1704
|
-
var $L88 = $L("
|
|
1705
|
-
var $L89 = $L("
|
|
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("
|
|
1714
|
-
var $L98 = $L("
|
|
1715
|
-
var $L99 = $L("
|
|
1716
|
-
var $L100 = $L("
|
|
1717
|
-
var $L101 = $L("
|
|
1718
|
-
var $L102 = $L("
|
|
1719
|
-
var $L103 = $L("
|
|
1720
|
-
var $L104 = $L("
|
|
1721
|
-
var $L105 = $L("
|
|
1722
|
-
var $L106 = $L("
|
|
1723
|
-
var $L107 = $L("
|
|
1724
|
-
var $L108 = $L("
|
|
1725
|
-
var $L109 = $L("
|
|
1650
|
+
var $L32 = $L("**=");
|
|
1651
|
+
var $L33 = $L("*=");
|
|
1652
|
+
var $L34 = $L("/=");
|
|
1653
|
+
var $L35 = $L("%=");
|
|
1654
|
+
var $L36 = $L("+=");
|
|
1655
|
+
var $L37 = $L("-=");
|
|
1656
|
+
var $L38 = $L("<<=");
|
|
1657
|
+
var $L39 = $L(">>>=");
|
|
1658
|
+
var $L40 = $L(">>=");
|
|
1659
|
+
var $L41 = $L("&&=");
|
|
1660
|
+
var $L42 = $L("&=");
|
|
1661
|
+
var $L43 = $L("^=");
|
|
1662
|
+
var $L44 = $L("||=");
|
|
1663
|
+
var $L45 = $L("|=");
|
|
1664
|
+
var $L46 = $L("??=");
|
|
1665
|
+
var $L47 = $L("?=");
|
|
1666
|
+
var $L48 = $L("and=");
|
|
1667
|
+
var $L49 = $L("or=");
|
|
1668
|
+
var $L50 = $L("not");
|
|
1669
|
+
var $L51 = $L("**");
|
|
1670
|
+
var $L52 = $L("*");
|
|
1671
|
+
var $L53 = $L("/");
|
|
1672
|
+
var $L54 = $L("%%");
|
|
1673
|
+
var $L55 = $L("%");
|
|
1674
|
+
var $L56 = $L("+");
|
|
1675
|
+
var $L57 = $L("<=");
|
|
1676
|
+
var $L58 = $L(">=");
|
|
1677
|
+
var $L59 = $L("<?");
|
|
1678
|
+
var $L60 = $L("!<?");
|
|
1679
|
+
var $L61 = $L("<<");
|
|
1680
|
+
var $L62 = $L(">>>");
|
|
1681
|
+
var $L63 = $L(">>");
|
|
1682
|
+
var $L64 = $L("!==");
|
|
1683
|
+
var $L65 = $L("!=");
|
|
1684
|
+
var $L66 = $L("isnt");
|
|
1685
|
+
var $L67 = $L("===");
|
|
1686
|
+
var $L68 = $L("==");
|
|
1687
|
+
var $L69 = $L("and");
|
|
1688
|
+
var $L70 = $L("&&");
|
|
1689
|
+
var $L71 = $L("of");
|
|
1690
|
+
var $L72 = $L("or");
|
|
1691
|
+
var $L73 = $L("||");
|
|
1692
|
+
var $L74 = $L("^^");
|
|
1693
|
+
var $L75 = $L("xor");
|
|
1694
|
+
var $L76 = $L("xnor");
|
|
1695
|
+
var $L77 = $L("??");
|
|
1696
|
+
var $L78 = $L("instanceof");
|
|
1697
|
+
var $L79 = $L("in");
|
|
1698
|
+
var $L80 = $L("is");
|
|
1699
|
+
var $L81 = $L("&");
|
|
1700
|
+
var $L82 = $L("|");
|
|
1701
|
+
var $L83 = $L(";");
|
|
1702
|
+
var $L84 = $L("$:");
|
|
1703
|
+
var $L85 = $L("own");
|
|
1704
|
+
var $L86 = $L("break");
|
|
1705
|
+
var $L87 = $L("continue");
|
|
1706
|
+
var $L88 = $L("debugger");
|
|
1707
|
+
var $L89 = $L("assert");
|
|
1708
|
+
var $L90 = $L(":=");
|
|
1709
|
+
var $L91 = $L(".=");
|
|
1710
|
+
var $L92 = $L("/*");
|
|
1711
|
+
var $L93 = $L("*/");
|
|
1712
|
+
var $L94 = $L("\\");
|
|
1713
|
+
var $L95 = $L("[");
|
|
1714
|
+
var $L96 = $L("`");
|
|
1715
|
+
var $L97 = $L("abstract");
|
|
1716
|
+
var $L98 = $L("as");
|
|
1717
|
+
var $L99 = $L("@");
|
|
1718
|
+
var $L100 = $L("@@");
|
|
1719
|
+
var $L101 = $L("async");
|
|
1720
|
+
var $L102 = $L("await");
|
|
1721
|
+
var $L103 = $L("by");
|
|
1722
|
+
var $L104 = $L("case");
|
|
1723
|
+
var $L105 = $L("catch");
|
|
1724
|
+
var $L106 = $L("class");
|
|
1725
|
+
var $L107 = $L(")");
|
|
1726
|
+
var $L108 = $L("#{");
|
|
1727
|
+
var $L109 = $L(":");
|
|
1726
1728
|
var $L110 = $L("declare");
|
|
1727
1729
|
var $L111 = $L("default");
|
|
1728
1730
|
var $L112 = $L("delete");
|
|
@@ -2096,12 +2098,7 @@ ${input.slice(result.pos)}
|
|
|
2096
2098
|
return result;
|
|
2097
2099
|
}
|
|
2098
2100
|
}
|
|
2099
|
-
var NonAssignmentExtendedExpression$0 =
|
|
2100
|
-
var expression = $3;
|
|
2101
|
-
if (expression)
|
|
2102
|
-
return expression;
|
|
2103
|
-
return $skip;
|
|
2104
|
-
});
|
|
2101
|
+
var NonAssignmentExtendedExpression$0 = NestedNonAssignmentExtendedExpression;
|
|
2105
2102
|
var NonAssignmentExtendedExpression$1 = $TS($S(__, ExpressionizedStatement), function($skip, $loc, $0, $1, $2) {
|
|
2106
2103
|
return {
|
|
2107
2104
|
...$2,
|
|
@@ -2130,6 +2127,34 @@ ${input.slice(result.pos)}
|
|
|
2130
2127
|
return result;
|
|
2131
2128
|
}
|
|
2132
2129
|
}
|
|
2130
|
+
var NestedNonAssignmentExtendedExpression$0 = $TS($S($Y(EOS), PushIndent, $E($S(Nested, ExpressionizedStatement)), PopIndent), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
2131
|
+
var expression = $3;
|
|
2132
|
+
if (expression)
|
|
2133
|
+
return expression;
|
|
2134
|
+
return $skip;
|
|
2135
|
+
});
|
|
2136
|
+
function NestedNonAssignmentExtendedExpression(state) {
|
|
2137
|
+
let eventData;
|
|
2138
|
+
if (state.events) {
|
|
2139
|
+
const result = state.events.enter?.("NestedNonAssignmentExtendedExpression", state);
|
|
2140
|
+
if (result) {
|
|
2141
|
+
if (result.cache)
|
|
2142
|
+
return result.cache;
|
|
2143
|
+
eventData = result.data;
|
|
2144
|
+
}
|
|
2145
|
+
}
|
|
2146
|
+
if (state.tokenize) {
|
|
2147
|
+
const result = $TOKEN("NestedNonAssignmentExtendedExpression", state, NestedNonAssignmentExtendedExpression$0(state));
|
|
2148
|
+
if (state.events)
|
|
2149
|
+
state.events.exit?.("NestedNonAssignmentExtendedExpression", state, result, eventData);
|
|
2150
|
+
return result;
|
|
2151
|
+
} else {
|
|
2152
|
+
const result = NestedNonAssignmentExtendedExpression$0(state);
|
|
2153
|
+
if (state.events)
|
|
2154
|
+
state.events.exit?.("NestedNonAssignmentExtendedExpression", state, result, eventData);
|
|
2155
|
+
return result;
|
|
2156
|
+
}
|
|
2157
|
+
}
|
|
2133
2158
|
var ExpressionizedStatement$0 = DebuggerExpression;
|
|
2134
2159
|
var ExpressionizedStatement$1 = IfExpression;
|
|
2135
2160
|
var ExpressionizedStatement$2 = UnlessExpression;
|
|
@@ -2727,7 +2752,7 @@ ${input.slice(result.pos)}
|
|
|
2727
2752
|
return result;
|
|
2728
2753
|
}
|
|
2729
2754
|
}
|
|
2730
|
-
var UnaryExpression$0 = $TS($S($Q(UnaryOp), UpdateExpression, $E(UnaryPostfix)), function($skip, $loc, $0, $1, $2, $3) {
|
|
2755
|
+
var UnaryExpression$0 = $TS($S($Q(UnaryOp), $C(UpdateExpression, NestedNonAssignmentExtendedExpression), $E(UnaryPostfix)), function($skip, $loc, $0, $1, $2, $3) {
|
|
2731
2756
|
var pre = $1;
|
|
2732
2757
|
var exp = $2;
|
|
2733
2758
|
var post = $3;
|
|
@@ -7993,12 +8018,15 @@ ${input.slice(result.pos)}
|
|
|
7993
8018
|
return result;
|
|
7994
8019
|
}
|
|
7995
8020
|
}
|
|
7996
|
-
var InlineObjectLiteral$0 = $TS($S(InsertInlineOpenBrace, SnugNamedProperty, ImplicitInlineObjectPropertyDelimiter, $
|
|
8021
|
+
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) {
|
|
7997
8022
|
var open = $1;
|
|
8023
|
+
var first = $2;
|
|
8024
|
+
var rest = $3;
|
|
8025
|
+
var trailing = $4;
|
|
7998
8026
|
var close = $5;
|
|
7999
8027
|
return {
|
|
8000
8028
|
type: "ObjectExpression",
|
|
8001
|
-
children: [open,
|
|
8029
|
+
children: [open, first, ...rest, trailing, close]
|
|
8002
8030
|
};
|
|
8003
8031
|
});
|
|
8004
8032
|
function InlineObjectLiteral(state) {
|
|
@@ -8023,15 +8051,9 @@ ${input.slice(result.pos)}
|
|
|
8023
8051
|
return result;
|
|
8024
8052
|
}
|
|
8025
8053
|
}
|
|
8026
|
-
var ImplicitInlineObjectPropertyDelimiter$0 = $S($E(_), Comma);
|
|
8027
|
-
var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S($C(Samedent, $
|
|
8028
|
-
return value[1];
|
|
8029
|
-
});
|
|
8030
|
-
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) {
|
|
8031
|
-
return "";
|
|
8032
|
-
});
|
|
8033
|
-
var ImplicitInlineObjectPropertyDelimiter$3 = $T($Y(EOS), function(value) {
|
|
8034
|
-
return "";
|
|
8054
|
+
var ImplicitInlineObjectPropertyDelimiter$0 = $S($E(_), Comma, $C(NotDedented, $E(_)));
|
|
8055
|
+
var ImplicitInlineObjectPropertyDelimiter$1 = $T($S($Y($S(Samedent, ImplicitNamedProperty)), InsertComma, $C(Samedent, $E(_))), function(value) {
|
|
8056
|
+
return [value[1], value[2]];
|
|
8035
8057
|
});
|
|
8036
8058
|
function ImplicitInlineObjectPropertyDelimiter(state) {
|
|
8037
8059
|
let eventData;
|
|
@@ -8044,18 +8066,18 @@ ${input.slice(result.pos)}
|
|
|
8044
8066
|
}
|
|
8045
8067
|
}
|
|
8046
8068
|
if (state.tokenize) {
|
|
8047
|
-
const result = $TOKEN("ImplicitInlineObjectPropertyDelimiter", state, ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state)
|
|
8069
|
+
const result = $TOKEN("ImplicitInlineObjectPropertyDelimiter", state, ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state));
|
|
8048
8070
|
if (state.events)
|
|
8049
8071
|
state.events.exit?.("ImplicitInlineObjectPropertyDelimiter", state, result, eventData);
|
|
8050
8072
|
return result;
|
|
8051
8073
|
} else {
|
|
8052
|
-
const result = ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state)
|
|
8074
|
+
const result = ImplicitInlineObjectPropertyDelimiter$0(state) || ImplicitInlineObjectPropertyDelimiter$1(state);
|
|
8053
8075
|
if (state.events)
|
|
8054
8076
|
state.events.exit?.("ImplicitInlineObjectPropertyDelimiter", state, result, eventData);
|
|
8055
8077
|
return result;
|
|
8056
8078
|
}
|
|
8057
8079
|
}
|
|
8058
|
-
var ObjectPropertyDelimiter$0 = $S($
|
|
8080
|
+
var ObjectPropertyDelimiter$0 = $S($E(_), Comma);
|
|
8059
8081
|
var ObjectPropertyDelimiter$1 = $Y($S(__, $EXPECT($L22, fail, 'ObjectPropertyDelimiter "}"')));
|
|
8060
8082
|
var ObjectPropertyDelimiter$2 = $T($S($Y(EOS), InsertComma), function(value) {
|
|
8061
8083
|
return value[1];
|
|
@@ -8778,22 +8800,22 @@ ${input.slice(result.pos)}
|
|
|
8778
8800
|
return result;
|
|
8779
8801
|
}
|
|
8780
8802
|
}
|
|
8781
|
-
var AssignmentOpSymbol$0 = $EXPECT($
|
|
8782
|
-
var AssignmentOpSymbol$1 = $EXPECT($
|
|
8783
|
-
var AssignmentOpSymbol$2 = $EXPECT($
|
|
8784
|
-
var AssignmentOpSymbol$3 = $EXPECT($
|
|
8785
|
-
var AssignmentOpSymbol$4 = $EXPECT($
|
|
8786
|
-
var AssignmentOpSymbol$5 = $EXPECT($
|
|
8787
|
-
var AssignmentOpSymbol$6 = $EXPECT($
|
|
8788
|
-
var AssignmentOpSymbol$7 = $EXPECT($
|
|
8789
|
-
var AssignmentOpSymbol$8 = $EXPECT($
|
|
8790
|
-
var AssignmentOpSymbol$9 = $EXPECT($
|
|
8791
|
-
var AssignmentOpSymbol$10 = $EXPECT($
|
|
8792
|
-
var AssignmentOpSymbol$11 = $EXPECT($
|
|
8793
|
-
var AssignmentOpSymbol$12 = $EXPECT($
|
|
8794
|
-
var AssignmentOpSymbol$13 = $EXPECT($
|
|
8795
|
-
var AssignmentOpSymbol$14 = $EXPECT($
|
|
8796
|
-
var AssignmentOpSymbol$15 = $T($EXPECT($
|
|
8803
|
+
var AssignmentOpSymbol$0 = $EXPECT($L32, fail, 'AssignmentOpSymbol "**="');
|
|
8804
|
+
var AssignmentOpSymbol$1 = $EXPECT($L33, fail, 'AssignmentOpSymbol "*="');
|
|
8805
|
+
var AssignmentOpSymbol$2 = $EXPECT($L34, fail, 'AssignmentOpSymbol "/="');
|
|
8806
|
+
var AssignmentOpSymbol$3 = $EXPECT($L35, fail, 'AssignmentOpSymbol "%="');
|
|
8807
|
+
var AssignmentOpSymbol$4 = $EXPECT($L36, fail, 'AssignmentOpSymbol "+="');
|
|
8808
|
+
var AssignmentOpSymbol$5 = $EXPECT($L37, fail, 'AssignmentOpSymbol "-="');
|
|
8809
|
+
var AssignmentOpSymbol$6 = $EXPECT($L38, fail, 'AssignmentOpSymbol "<<="');
|
|
8810
|
+
var AssignmentOpSymbol$7 = $EXPECT($L39, fail, 'AssignmentOpSymbol ">>>="');
|
|
8811
|
+
var AssignmentOpSymbol$8 = $EXPECT($L40, fail, 'AssignmentOpSymbol ">>="');
|
|
8812
|
+
var AssignmentOpSymbol$9 = $EXPECT($L41, fail, 'AssignmentOpSymbol "&&="');
|
|
8813
|
+
var AssignmentOpSymbol$10 = $EXPECT($L42, fail, 'AssignmentOpSymbol "&="');
|
|
8814
|
+
var AssignmentOpSymbol$11 = $EXPECT($L43, fail, 'AssignmentOpSymbol "^="');
|
|
8815
|
+
var AssignmentOpSymbol$12 = $EXPECT($L44, fail, 'AssignmentOpSymbol "||="');
|
|
8816
|
+
var AssignmentOpSymbol$13 = $EXPECT($L45, fail, 'AssignmentOpSymbol "|="');
|
|
8817
|
+
var AssignmentOpSymbol$14 = $EXPECT($L46, fail, 'AssignmentOpSymbol "??="');
|
|
8818
|
+
var AssignmentOpSymbol$15 = $T($EXPECT($L47, fail, 'AssignmentOpSymbol "?="'), function(value) {
|
|
8797
8819
|
return "??=";
|
|
8798
8820
|
});
|
|
8799
8821
|
var AssignmentOpSymbol$16 = $T($S($EXPECT($L2, fail, 'AssignmentOpSymbol "="'), $N($EXPECT($L2, fail, 'AssignmentOpSymbol "="'))), function(value) {
|
|
@@ -8824,10 +8846,10 @@ ${input.slice(result.pos)}
|
|
|
8824
8846
|
return result;
|
|
8825
8847
|
}
|
|
8826
8848
|
}
|
|
8827
|
-
var CoffeeWordAssignmentOp$0 = $T($EXPECT($
|
|
8849
|
+
var CoffeeWordAssignmentOp$0 = $T($EXPECT($L48, fail, 'CoffeeWordAssignmentOp "and="'), function(value) {
|
|
8828
8850
|
return "&&=";
|
|
8829
8851
|
});
|
|
8830
|
-
var CoffeeWordAssignmentOp$1 = $T($EXPECT($
|
|
8852
|
+
var CoffeeWordAssignmentOp$1 = $T($EXPECT($L49, fail, 'CoffeeWordAssignmentOp "or="'), function(value) {
|
|
8831
8853
|
return "||=";
|
|
8832
8854
|
});
|
|
8833
8855
|
function CoffeeWordAssignmentOp(state) {
|
|
@@ -8866,7 +8888,7 @@ ${input.slice(result.pos)}
|
|
|
8866
8888
|
special: true
|
|
8867
8889
|
};
|
|
8868
8890
|
});
|
|
8869
|
-
var BinaryOp$2 = $TS($S($EXPECT($
|
|
8891
|
+
var BinaryOp$2 = $TS($S($EXPECT($L50, fail, 'BinaryOp "not"'), NonIdContinue, __, Identifier), function($skip, $loc, $0, $1, $2, $3, $4) {
|
|
8870
8892
|
var id = $4;
|
|
8871
8893
|
if (!module2.operators.has(id.name))
|
|
8872
8894
|
return $skip;
|
|
@@ -8898,21 +8920,21 @@ ${input.slice(result.pos)}
|
|
|
8898
8920
|
return result;
|
|
8899
8921
|
}
|
|
8900
8922
|
}
|
|
8901
|
-
var BinaryOpSymbol$0 = $EXPECT($
|
|
8902
|
-
var BinaryOpSymbol$1 = $EXPECT($
|
|
8903
|
-
var BinaryOpSymbol$2 = $EXPECT($
|
|
8904
|
-
var BinaryOpSymbol$3 = $TV($EXPECT($
|
|
8923
|
+
var BinaryOpSymbol$0 = $EXPECT($L51, fail, 'BinaryOpSymbol "**"');
|
|
8924
|
+
var BinaryOpSymbol$1 = $EXPECT($L52, fail, 'BinaryOpSymbol "*"');
|
|
8925
|
+
var BinaryOpSymbol$2 = $EXPECT($L53, fail, 'BinaryOpSymbol "/"');
|
|
8926
|
+
var BinaryOpSymbol$3 = $TV($EXPECT($L54, fail, 'BinaryOpSymbol "%%"'), function($skip, $loc, $0, $1) {
|
|
8905
8927
|
return {
|
|
8906
8928
|
call: module2.getRef("modulo"),
|
|
8907
8929
|
special: true
|
|
8908
8930
|
};
|
|
8909
8931
|
});
|
|
8910
|
-
var BinaryOpSymbol$4 = $EXPECT($
|
|
8911
|
-
var BinaryOpSymbol$5 = $EXPECT($
|
|
8932
|
+
var BinaryOpSymbol$4 = $EXPECT($L55, fail, 'BinaryOpSymbol "%"');
|
|
8933
|
+
var BinaryOpSymbol$5 = $EXPECT($L56, fail, 'BinaryOpSymbol "+"');
|
|
8912
8934
|
var BinaryOpSymbol$6 = $EXPECT($L18, fail, 'BinaryOpSymbol "-"');
|
|
8913
|
-
var BinaryOpSymbol$7 = $EXPECT($
|
|
8914
|
-
var BinaryOpSymbol$8 = $EXPECT($
|
|
8915
|
-
var BinaryOpSymbol$9 = $TV($EXPECT($
|
|
8935
|
+
var BinaryOpSymbol$7 = $EXPECT($L57, fail, 'BinaryOpSymbol "<="');
|
|
8936
|
+
var BinaryOpSymbol$8 = $EXPECT($L58, fail, 'BinaryOpSymbol ">="');
|
|
8937
|
+
var BinaryOpSymbol$9 = $TV($EXPECT($L59, fail, 'BinaryOpSymbol "<?"'), function($skip, $loc, $0, $1) {
|
|
8916
8938
|
return {
|
|
8917
8939
|
$loc,
|
|
8918
8940
|
token: "instanceof",
|
|
@@ -8920,7 +8942,7 @@ ${input.slice(result.pos)}
|
|
|
8920
8942
|
special: true
|
|
8921
8943
|
};
|
|
8922
8944
|
});
|
|
8923
|
-
var BinaryOpSymbol$10 = $TV($EXPECT($
|
|
8945
|
+
var BinaryOpSymbol$10 = $TV($EXPECT($L60, fail, 'BinaryOpSymbol "!<?"'), function($skip, $loc, $0, $1) {
|
|
8924
8946
|
return {
|
|
8925
8947
|
$loc,
|
|
8926
8948
|
token: "instanceof",
|
|
@@ -8929,58 +8951,58 @@ ${input.slice(result.pos)}
|
|
|
8929
8951
|
negated: true
|
|
8930
8952
|
};
|
|
8931
8953
|
});
|
|
8932
|
-
var BinaryOpSymbol$11 = $EXPECT($
|
|
8954
|
+
var BinaryOpSymbol$11 = $EXPECT($L61, fail, 'BinaryOpSymbol "<<"');
|
|
8933
8955
|
var BinaryOpSymbol$12 = $TR($EXPECT($R7, fail, "BinaryOpSymbol /<(?!\\p{ID_Start}|[_$])/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
8934
8956
|
return "<";
|
|
8935
8957
|
});
|
|
8936
|
-
var BinaryOpSymbol$13 = $EXPECT($
|
|
8937
|
-
var BinaryOpSymbol$14 = $EXPECT($
|
|
8958
|
+
var BinaryOpSymbol$13 = $EXPECT($L62, fail, 'BinaryOpSymbol ">>>"');
|
|
8959
|
+
var BinaryOpSymbol$14 = $EXPECT($L63, fail, 'BinaryOpSymbol ">>"');
|
|
8938
8960
|
var BinaryOpSymbol$15 = $EXPECT($L30, fail, 'BinaryOpSymbol ">"');
|
|
8939
|
-
var BinaryOpSymbol$16 = $EXPECT($
|
|
8940
|
-
var BinaryOpSymbol$17 = $TV($EXPECT($
|
|
8961
|
+
var BinaryOpSymbol$16 = $EXPECT($L64, fail, 'BinaryOpSymbol "!=="');
|
|
8962
|
+
var BinaryOpSymbol$17 = $TV($EXPECT($L65, fail, 'BinaryOpSymbol "!="'), function($skip, $loc, $0, $1) {
|
|
8941
8963
|
if (module2.config.coffeeEq)
|
|
8942
8964
|
return "!==";
|
|
8943
8965
|
return $1;
|
|
8944
8966
|
});
|
|
8945
|
-
var BinaryOpSymbol$18 = $TS($S($EXPECT($
|
|
8967
|
+
var BinaryOpSymbol$18 = $TS($S($EXPECT($L66, fail, 'BinaryOpSymbol "isnt"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
8946
8968
|
if (module2.config.coffeeIsnt)
|
|
8947
8969
|
return "!==";
|
|
8948
8970
|
return $skip;
|
|
8949
8971
|
});
|
|
8950
|
-
var BinaryOpSymbol$19 = $EXPECT($
|
|
8951
|
-
var BinaryOpSymbol$20 = $TV($EXPECT($
|
|
8972
|
+
var BinaryOpSymbol$19 = $EXPECT($L67, fail, 'BinaryOpSymbol "==="');
|
|
8973
|
+
var BinaryOpSymbol$20 = $TV($EXPECT($L68, fail, 'BinaryOpSymbol "=="'), function($skip, $loc, $0, $1) {
|
|
8952
8974
|
if (module2.config.coffeeEq)
|
|
8953
8975
|
return "===";
|
|
8954
8976
|
return $1;
|
|
8955
8977
|
});
|
|
8956
|
-
var BinaryOpSymbol$21 = $T($S($EXPECT($
|
|
8978
|
+
var BinaryOpSymbol$21 = $T($S($EXPECT($L69, fail, 'BinaryOpSymbol "and"'), NonIdContinue), function(value) {
|
|
8957
8979
|
return "&&";
|
|
8958
8980
|
});
|
|
8959
|
-
var BinaryOpSymbol$22 = $EXPECT($
|
|
8960
|
-
var BinaryOpSymbol$23 = $T($S(CoffeeOfEnabled, $EXPECT($
|
|
8981
|
+
var BinaryOpSymbol$22 = $EXPECT($L70, fail, 'BinaryOpSymbol "&&"');
|
|
8982
|
+
var BinaryOpSymbol$23 = $T($S(CoffeeOfEnabled, $EXPECT($L71, fail, 'BinaryOpSymbol "of"'), NonIdContinue), function(value) {
|
|
8961
8983
|
return "in";
|
|
8962
8984
|
});
|
|
8963
|
-
var BinaryOpSymbol$24 = $T($S($EXPECT($
|
|
8985
|
+
var BinaryOpSymbol$24 = $T($S($EXPECT($L72, fail, 'BinaryOpSymbol "or"'), NonIdContinue), function(value) {
|
|
8964
8986
|
return "||";
|
|
8965
8987
|
});
|
|
8966
|
-
var BinaryOpSymbol$25 = $EXPECT($
|
|
8967
|
-
var BinaryOpSymbol$26 = $TV($C($EXPECT($
|
|
8988
|
+
var BinaryOpSymbol$25 = $EXPECT($L73, fail, 'BinaryOpSymbol "||"');
|
|
8989
|
+
var BinaryOpSymbol$26 = $TV($C($EXPECT($L74, fail, 'BinaryOpSymbol "^^"'), $S($EXPECT($L75, fail, 'BinaryOpSymbol "xor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
|
|
8968
8990
|
return {
|
|
8969
8991
|
call: module2.getRef("xor"),
|
|
8970
8992
|
special: true
|
|
8971
8993
|
};
|
|
8972
8994
|
});
|
|
8973
|
-
var BinaryOpSymbol$27 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($
|
|
8995
|
+
var BinaryOpSymbol$27 = $TV($C($EXPECT($R8, fail, "BinaryOpSymbol /!\\^\\^?/"), $S($EXPECT($L76, fail, 'BinaryOpSymbol "xnor"'), NonIdContinue)), function($skip, $loc, $0, $1) {
|
|
8974
8996
|
return {
|
|
8975
8997
|
call: module2.getRef("xnor"),
|
|
8976
8998
|
special: true
|
|
8977
8999
|
};
|
|
8978
9000
|
});
|
|
8979
|
-
var BinaryOpSymbol$28 = $EXPECT($
|
|
9001
|
+
var BinaryOpSymbol$28 = $EXPECT($L77, fail, 'BinaryOpSymbol "??"');
|
|
8980
9002
|
var BinaryOpSymbol$29 = $T($S(CoffeeBinaryExistentialEnabled, $EXPECT($L4, fail, 'BinaryOpSymbol "?"')), function(value) {
|
|
8981
9003
|
return "??";
|
|
8982
9004
|
});
|
|
8983
|
-
var BinaryOpSymbol$30 = $TS($S($EXPECT($
|
|
9005
|
+
var BinaryOpSymbol$30 = $TS($S($EXPECT($L78, fail, 'BinaryOpSymbol "instanceof"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
8984
9006
|
return {
|
|
8985
9007
|
$loc,
|
|
8986
9008
|
token: $1,
|
|
@@ -8988,7 +9010,7 @@ ${input.slice(result.pos)}
|
|
|
8988
9010
|
special: true
|
|
8989
9011
|
};
|
|
8990
9012
|
});
|
|
8991
|
-
var BinaryOpSymbol$31 = $TS($S($EXPECT($
|
|
9013
|
+
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) {
|
|
8992
9014
|
return {
|
|
8993
9015
|
$loc,
|
|
8994
9016
|
token: "instanceof",
|
|
@@ -8997,7 +9019,7 @@ ${input.slice(result.pos)}
|
|
|
8997
9019
|
negated: true
|
|
8998
9020
|
};
|
|
8999
9021
|
});
|
|
9000
|
-
var BinaryOpSymbol$32 = $TV($C($S($N(CoffeeOfEnabled), $EXPECT($
|
|
9022
|
+
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) {
|
|
9001
9023
|
return {
|
|
9002
9024
|
$loc,
|
|
9003
9025
|
token: "in",
|
|
@@ -9005,7 +9027,7 @@ ${input.slice(result.pos)}
|
|
|
9005
9027
|
negated: true
|
|
9006
9028
|
};
|
|
9007
9029
|
});
|
|
9008
|
-
var BinaryOpSymbol$33 = $TS($S($EXPECT($
|
|
9030
|
+
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) {
|
|
9009
9031
|
return {
|
|
9010
9032
|
method: "includes",
|
|
9011
9033
|
relational: true,
|
|
@@ -9013,7 +9035,7 @@ ${input.slice(result.pos)}
|
|
|
9013
9035
|
special: true
|
|
9014
9036
|
};
|
|
9015
9037
|
});
|
|
9016
|
-
var BinaryOpSymbol$34 = $TS($S(CoffeeOfEnabled, $EXPECT($
|
|
9038
|
+
var BinaryOpSymbol$34 = $TS($S(CoffeeOfEnabled, $EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2, $3) {
|
|
9017
9039
|
return {
|
|
9018
9040
|
call: [module2.getRef("indexOf"), ".call"],
|
|
9019
9041
|
relational: true,
|
|
@@ -9022,7 +9044,7 @@ ${input.slice(result.pos)}
|
|
|
9022
9044
|
special: true
|
|
9023
9045
|
};
|
|
9024
9046
|
});
|
|
9025
|
-
var BinaryOpSymbol$35 = $TS($S($EXPECT($
|
|
9047
|
+
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) {
|
|
9026
9048
|
return {
|
|
9027
9049
|
method: "includes",
|
|
9028
9050
|
relational: true,
|
|
@@ -9031,7 +9053,7 @@ ${input.slice(result.pos)}
|
|
|
9031
9053
|
negated: true
|
|
9032
9054
|
};
|
|
9033
9055
|
});
|
|
9034
|
-
var BinaryOpSymbol$36 = $TS($S(CoffeeOfEnabled, $EXPECT($
|
|
9056
|
+
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) {
|
|
9035
9057
|
return {
|
|
9036
9058
|
call: [module2.getRef("indexOf"), ".call"],
|
|
9037
9059
|
relational: true,
|
|
@@ -9040,7 +9062,7 @@ ${input.slice(result.pos)}
|
|
|
9040
9062
|
special: true
|
|
9041
9063
|
};
|
|
9042
9064
|
});
|
|
9043
|
-
var BinaryOpSymbol$37 = $TS($S($N(CoffeeNotEnabled), $EXPECT($
|
|
9065
|
+
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) {
|
|
9044
9066
|
if (module2.config.objectIs) {
|
|
9045
9067
|
return {
|
|
9046
9068
|
call: module2.getRef("is"),
|
|
@@ -9052,7 +9074,7 @@ ${input.slice(result.pos)}
|
|
|
9052
9074
|
}
|
|
9053
9075
|
return "!==";
|
|
9054
9076
|
});
|
|
9055
|
-
var BinaryOpSymbol$38 = $TS($S($EXPECT($
|
|
9077
|
+
var BinaryOpSymbol$38 = $TS($S($EXPECT($L80, fail, 'BinaryOpSymbol "is"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
9056
9078
|
if (module2.config.objectIs) {
|
|
9057
9079
|
return {
|
|
9058
9080
|
call: module2.getRef("is"),
|
|
@@ -9063,12 +9085,12 @@ ${input.slice(result.pos)}
|
|
|
9063
9085
|
}
|
|
9064
9086
|
return "===";
|
|
9065
9087
|
});
|
|
9066
|
-
var BinaryOpSymbol$39 = $TS($S($EXPECT($
|
|
9088
|
+
var BinaryOpSymbol$39 = $TS($S($EXPECT($L79, fail, 'BinaryOpSymbol "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
9067
9089
|
return $1;
|
|
9068
9090
|
});
|
|
9069
|
-
var BinaryOpSymbol$40 = $EXPECT($
|
|
9091
|
+
var BinaryOpSymbol$40 = $EXPECT($L81, fail, 'BinaryOpSymbol "&"');
|
|
9070
9092
|
var BinaryOpSymbol$41 = $EXPECT($L17, fail, 'BinaryOpSymbol "^"');
|
|
9071
|
-
var BinaryOpSymbol$42 = $EXPECT($
|
|
9093
|
+
var BinaryOpSymbol$42 = $EXPECT($L82, fail, 'BinaryOpSymbol "|"');
|
|
9072
9094
|
function BinaryOpSymbol(state) {
|
|
9073
9095
|
let eventData;
|
|
9074
9096
|
if (state.events) {
|
|
@@ -9091,8 +9113,8 @@ ${input.slice(result.pos)}
|
|
|
9091
9113
|
return result;
|
|
9092
9114
|
}
|
|
9093
9115
|
}
|
|
9094
|
-
var Xor$0 = $EXPECT($
|
|
9095
|
-
var Xor$1 = $S($EXPECT($
|
|
9116
|
+
var Xor$0 = $EXPECT($L74, fail, 'Xor "^^"');
|
|
9117
|
+
var Xor$1 = $S($EXPECT($L75, fail, 'Xor "xor"'), NonIdContinue);
|
|
9096
9118
|
function Xor(state) {
|
|
9097
9119
|
let eventData;
|
|
9098
9120
|
if (state.events) {
|
|
@@ -9116,7 +9138,7 @@ ${input.slice(result.pos)}
|
|
|
9116
9138
|
}
|
|
9117
9139
|
}
|
|
9118
9140
|
var Xnor$0 = $R$0($EXPECT($R8, fail, "Xnor /!\\^\\^?/"));
|
|
9119
|
-
var Xnor$1 = $EXPECT($
|
|
9141
|
+
var Xnor$1 = $EXPECT($L76, fail, 'Xnor "xnor"');
|
|
9120
9142
|
function Xnor(state) {
|
|
9121
9143
|
let eventData;
|
|
9122
9144
|
if (state.events) {
|
|
@@ -9167,7 +9189,7 @@ ${input.slice(result.pos)}
|
|
|
9167
9189
|
return result;
|
|
9168
9190
|
}
|
|
9169
9191
|
}
|
|
9170
|
-
var AwaitOp$0 = $TS($S(Await, $E($S(Dot, IdentifierName)), $C(_, $Y(
|
|
9192
|
+
var AwaitOp$0 = $TS($S(Await, $E($S(Dot, IdentifierName)), $C($Y(OpenParen), _, $Y(EOS))), function($skip, $loc, $0, $1, $2, $3) {
|
|
9171
9193
|
var a = $1;
|
|
9172
9194
|
var op = $2;
|
|
9173
9195
|
var ws = $3;
|
|
@@ -9402,7 +9424,7 @@ ${input.slice(result.pos)}
|
|
|
9402
9424
|
return result;
|
|
9403
9425
|
}
|
|
9404
9426
|
}
|
|
9405
|
-
var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($
|
|
9427
|
+
var EmptyStatement$0 = $TS($S($E(_), $Y($EXPECT($L83, fail, 'EmptyStatement ";"'))), function($skip, $loc, $0, $1, $2) {
|
|
9406
9428
|
return { type: "EmptyStatement", children: $1 || [] };
|
|
9407
9429
|
});
|
|
9408
9430
|
function EmptyStatement(state) {
|
|
@@ -9481,7 +9503,7 @@ ${input.slice(result.pos)}
|
|
|
9481
9503
|
var w = $3;
|
|
9482
9504
|
return [id, colon, w];
|
|
9483
9505
|
});
|
|
9484
|
-
var Label$1 = $S($EXPECT($
|
|
9506
|
+
var Label$1 = $S($EXPECT($L84, fail, 'Label "$:"'), Whitespace);
|
|
9485
9507
|
function Label(state) {
|
|
9486
9508
|
let eventData;
|
|
9487
9509
|
if (state.events) {
|
|
@@ -10465,7 +10487,7 @@ ${input.slice(result.pos)}
|
|
|
10465
10487
|
return result;
|
|
10466
10488
|
}
|
|
10467
10489
|
}
|
|
10468
|
-
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($
|
|
10490
|
+
var CoffeeForDeclaration$0 = $TS($S($E($S(__, $EXPECT($L85, fail, 'CoffeeForDeclaration "own"'), NonIdContinue)), ForBinding), function($skip, $loc, $0, $1, $2) {
|
|
10469
10491
|
var own = $1;
|
|
10470
10492
|
var binding = $2;
|
|
10471
10493
|
return {
|
|
@@ -11879,7 +11901,7 @@ ${input.slice(result.pos)}
|
|
|
11879
11901
|
return result;
|
|
11880
11902
|
}
|
|
11881
11903
|
}
|
|
11882
|
-
var Break$0 = $TS($S($EXPECT($
|
|
11904
|
+
var Break$0 = $TS($S($EXPECT($L86, fail, 'Break "break"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11883
11905
|
return { $loc, token: $1 };
|
|
11884
11906
|
});
|
|
11885
11907
|
function Break(state) {
|
|
@@ -11904,7 +11926,7 @@ ${input.slice(result.pos)}
|
|
|
11904
11926
|
return result;
|
|
11905
11927
|
}
|
|
11906
11928
|
}
|
|
11907
|
-
var Continue$0 = $TS($S($EXPECT($
|
|
11929
|
+
var Continue$0 = $TS($S($EXPECT($L87, fail, 'Continue "continue"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11908
11930
|
return { $loc, token: $1 };
|
|
11909
11931
|
});
|
|
11910
11932
|
function Continue(state) {
|
|
@@ -11929,7 +11951,7 @@ ${input.slice(result.pos)}
|
|
|
11929
11951
|
return result;
|
|
11930
11952
|
}
|
|
11931
11953
|
}
|
|
11932
|
-
var Debugger$0 = $TS($S($EXPECT($
|
|
11954
|
+
var Debugger$0 = $TS($S($EXPECT($L88, fail, 'Debugger "debugger"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
11933
11955
|
return { $loc, token: $1 };
|
|
11934
11956
|
});
|
|
11935
11957
|
function Debugger(state) {
|
|
@@ -12235,7 +12257,7 @@ ${input.slice(result.pos)}
|
|
|
12235
12257
|
return result;
|
|
12236
12258
|
}
|
|
12237
12259
|
}
|
|
12238
|
-
var ImportAssertion$0 = $S($E(_), $EXPECT($
|
|
12260
|
+
var ImportAssertion$0 = $S($E(_), $EXPECT($L89, fail, 'ImportAssertion "assert"'), NonIdContinue, $E(_), ObjectLiteral);
|
|
12239
12261
|
function ImportAssertion(state) {
|
|
12240
12262
|
let eventData;
|
|
12241
12263
|
if (state.events) {
|
|
@@ -12612,10 +12634,12 @@ ${input.slice(result.pos)}
|
|
|
12612
12634
|
}
|
|
12613
12635
|
}
|
|
12614
12636
|
var NamedExports$0 = $S(OpenBrace, $Q(ExportSpecifier), $E($S(__, Comma)), __, CloseBrace);
|
|
12615
|
-
var NamedExports$1 = $TS($S(InsertInlineOpenBrace, ImplicitExportSpecifier, $Q($S(
|
|
12637
|
+
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) {
|
|
12616
12638
|
var open = $1;
|
|
12639
|
+
var first = $2;
|
|
12640
|
+
var rest = $3;
|
|
12617
12641
|
var close = $4;
|
|
12618
|
-
return [open,
|
|
12642
|
+
return [open, first, ...rest, close];
|
|
12619
12643
|
});
|
|
12620
12644
|
function NamedExports(state) {
|
|
12621
12645
|
let eventData;
|
|
@@ -12666,7 +12690,7 @@ ${input.slice(result.pos)}
|
|
|
12666
12690
|
return result;
|
|
12667
12691
|
}
|
|
12668
12692
|
}
|
|
12669
|
-
var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName))
|
|
12693
|
+
var ImplicitExportSpecifier$0 = $S($N(Default), ModuleExportName, $E($S(__, As, __, ModuleExportName)));
|
|
12670
12694
|
function ImplicitExportSpecifier(state) {
|
|
12671
12695
|
let eventData;
|
|
12672
12696
|
if (state.events) {
|
|
@@ -12805,7 +12829,7 @@ ${input.slice(result.pos)}
|
|
|
12805
12829
|
return result;
|
|
12806
12830
|
}
|
|
12807
12831
|
}
|
|
12808
|
-
var ConstAssignment$0 = $TV($EXPECT($
|
|
12832
|
+
var ConstAssignment$0 = $TV($EXPECT($L90, fail, 'ConstAssignment ":="'), function($skip, $loc, $0, $1) {
|
|
12809
12833
|
return { $loc, token: "=" };
|
|
12810
12834
|
});
|
|
12811
12835
|
function ConstAssignment(state) {
|
|
@@ -12830,7 +12854,7 @@ ${input.slice(result.pos)}
|
|
|
12830
12854
|
return result;
|
|
12831
12855
|
}
|
|
12832
12856
|
}
|
|
12833
|
-
var LetAssignment$0 = $TV($EXPECT($
|
|
12857
|
+
var LetAssignment$0 = $TV($EXPECT($L91, fail, 'LetAssignment ".="'), function($skip, $loc, $0, $1) {
|
|
12834
12858
|
return { $loc, token: "=" };
|
|
12835
12859
|
});
|
|
12836
12860
|
function LetAssignment(state) {
|
|
@@ -13537,7 +13561,7 @@ ${input.slice(result.pos)}
|
|
|
13537
13561
|
}
|
|
13538
13562
|
}
|
|
13539
13563
|
var RegularExpressionLiteral$0 = HeregexLiteral;
|
|
13540
|
-
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($
|
|
13564
|
+
var RegularExpressionLiteral$1 = $TV($TEXT($S($EXPECT($L53, fail, 'RegularExpressionLiteral "/"'), RegularExpressionBody, $EXPECT($L53, fail, 'RegularExpressionLiteral "/"'), RegularExpressionFlags)), function($skip, $loc, $0, $1) {
|
|
13541
13565
|
return { type: "RegularExpressionLiteral", $loc, token: $1 };
|
|
13542
13566
|
});
|
|
13543
13567
|
function RegularExpressionLiteral(state) {
|
|
@@ -14104,7 +14128,7 @@ ${input.slice(result.pos)}
|
|
|
14104
14128
|
return result;
|
|
14105
14129
|
}
|
|
14106
14130
|
}
|
|
14107
|
-
var JSMultiLineComment$0 = $TV($TEXT($S($EXPECT($
|
|
14131
|
+
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) {
|
|
14108
14132
|
return { type: "Comment", $loc, token: $1 };
|
|
14109
14133
|
});
|
|
14110
14134
|
function JSMultiLineComment(state) {
|
|
@@ -14203,7 +14227,7 @@ ${input.slice(result.pos)}
|
|
|
14203
14227
|
return result;
|
|
14204
14228
|
}
|
|
14205
14229
|
}
|
|
14206
|
-
var InlineComment$0 = $TV($TEXT($S($EXPECT($
|
|
14230
|
+
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) {
|
|
14207
14231
|
return { $loc, token: $1 };
|
|
14208
14232
|
});
|
|
14209
14233
|
function InlineComment(state) {
|
|
@@ -14300,7 +14324,7 @@ ${input.slice(result.pos)}
|
|
|
14300
14324
|
var NonNewlineWhitespace$0 = $TR($EXPECT($R47, fail, "NonNewlineWhitespace /[ \\t]+/"), function($skip, $loc, $0, $1, $2, $3, $4, $5, $6, $7, $8, $9) {
|
|
14301
14325
|
return { $loc, token: $0 };
|
|
14302
14326
|
});
|
|
14303
|
-
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($
|
|
14327
|
+
var NonNewlineWhitespace$1 = $T($S(CoffeeLineContinuationEnabled, $EXPECT($L94, fail, 'NonNewlineWhitespace "\\\\\\\\"'), EOL), function(value) {
|
|
14304
14328
|
return "";
|
|
14305
14329
|
});
|
|
14306
14330
|
function NonNewlineWhitespace(state) {
|
|
@@ -14452,7 +14476,7 @@ ${input.slice(result.pos)}
|
|
|
14452
14476
|
}
|
|
14453
14477
|
}
|
|
14454
14478
|
var StatementDelimiter$0 = SemicolonDelimiter;
|
|
14455
|
-
var StatementDelimiter$1 = $S($Y($S(Samedent, $C($EXPECT($L3, fail, 'StatementDelimiter "("'), $EXPECT($
|
|
14479
|
+
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);
|
|
14456
14480
|
var StatementDelimiter$2 = $Y(EOS);
|
|
14457
14481
|
function StatementDelimiter(state) {
|
|
14458
14482
|
let eventData;
|
|
@@ -14552,7 +14576,7 @@ ${input.slice(result.pos)}
|
|
|
14552
14576
|
return result;
|
|
14553
14577
|
}
|
|
14554
14578
|
}
|
|
14555
|
-
var Abstract$0 = $TV($TEXT($S($EXPECT($
|
|
14579
|
+
var Abstract$0 = $TV($TEXT($S($EXPECT($L97, fail, 'Abstract "abstract"'), NonIdContinue, $E($EXPECT($L9, fail, 'Abstract " "')))), function($skip, $loc, $0, $1) {
|
|
14556
14580
|
return { $loc, token: $1, ts: true };
|
|
14557
14581
|
});
|
|
14558
14582
|
function Abstract(state) {
|
|
@@ -14577,7 +14601,7 @@ ${input.slice(result.pos)}
|
|
|
14577
14601
|
return result;
|
|
14578
14602
|
}
|
|
14579
14603
|
}
|
|
14580
|
-
var Ampersand$0 = $TV($EXPECT($
|
|
14604
|
+
var Ampersand$0 = $TV($EXPECT($L81, fail, 'Ampersand "&"'), function($skip, $loc, $0, $1) {
|
|
14581
14605
|
return { $loc, token: $1 };
|
|
14582
14606
|
});
|
|
14583
14607
|
function Ampersand(state) {
|
|
@@ -14602,7 +14626,7 @@ ${input.slice(result.pos)}
|
|
|
14602
14626
|
return result;
|
|
14603
14627
|
}
|
|
14604
14628
|
}
|
|
14605
|
-
var As$0 = $TS($S($EXPECT($
|
|
14629
|
+
var As$0 = $TS($S($EXPECT($L98, fail, 'As "as"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14606
14630
|
return { $loc, token: $1 };
|
|
14607
14631
|
});
|
|
14608
14632
|
function As(state) {
|
|
@@ -14627,7 +14651,7 @@ ${input.slice(result.pos)}
|
|
|
14627
14651
|
return result;
|
|
14628
14652
|
}
|
|
14629
14653
|
}
|
|
14630
|
-
var At$0 = $TV($EXPECT($
|
|
14654
|
+
var At$0 = $TV($EXPECT($L99, fail, 'At "@"'), function($skip, $loc, $0, $1) {
|
|
14631
14655
|
return { $loc, token: $1 };
|
|
14632
14656
|
});
|
|
14633
14657
|
function At(state) {
|
|
@@ -14652,7 +14676,7 @@ ${input.slice(result.pos)}
|
|
|
14652
14676
|
return result;
|
|
14653
14677
|
}
|
|
14654
14678
|
}
|
|
14655
|
-
var AtAt$0 = $TV($EXPECT($
|
|
14679
|
+
var AtAt$0 = $TV($EXPECT($L100, fail, 'AtAt "@@"'), function($skip, $loc, $0, $1) {
|
|
14656
14680
|
return { $loc, token: "@" };
|
|
14657
14681
|
});
|
|
14658
14682
|
function AtAt(state) {
|
|
@@ -14677,7 +14701,7 @@ ${input.slice(result.pos)}
|
|
|
14677
14701
|
return result;
|
|
14678
14702
|
}
|
|
14679
14703
|
}
|
|
14680
|
-
var Async$0 = $TS($S($EXPECT($
|
|
14704
|
+
var Async$0 = $TS($S($EXPECT($L101, fail, 'Async "async"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14681
14705
|
return { $loc, token: $1, type: "Async" };
|
|
14682
14706
|
});
|
|
14683
14707
|
function Async(state) {
|
|
@@ -14702,7 +14726,7 @@ ${input.slice(result.pos)}
|
|
|
14702
14726
|
return result;
|
|
14703
14727
|
}
|
|
14704
14728
|
}
|
|
14705
|
-
var Await$0 = $TS($S($EXPECT($
|
|
14729
|
+
var Await$0 = $TS($S($EXPECT($L102, fail, 'Await "await"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14706
14730
|
return { $loc, token: $1, type: "Await" };
|
|
14707
14731
|
});
|
|
14708
14732
|
function Await(state) {
|
|
@@ -14727,7 +14751,7 @@ ${input.slice(result.pos)}
|
|
|
14727
14751
|
return result;
|
|
14728
14752
|
}
|
|
14729
14753
|
}
|
|
14730
|
-
var Backtick$0 = $TV($EXPECT($
|
|
14754
|
+
var Backtick$0 = $TV($EXPECT($L96, fail, 'Backtick "`"'), function($skip, $loc, $0, $1) {
|
|
14731
14755
|
return { $loc, token: $1 };
|
|
14732
14756
|
});
|
|
14733
14757
|
function Backtick(state) {
|
|
@@ -14752,7 +14776,7 @@ ${input.slice(result.pos)}
|
|
|
14752
14776
|
return result;
|
|
14753
14777
|
}
|
|
14754
14778
|
}
|
|
14755
|
-
var By$0 = $TS($S($EXPECT($
|
|
14779
|
+
var By$0 = $TS($S($EXPECT($L103, fail, 'By "by"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14756
14780
|
return { $loc, token: $1 };
|
|
14757
14781
|
});
|
|
14758
14782
|
function By(state) {
|
|
@@ -14777,7 +14801,7 @@ ${input.slice(result.pos)}
|
|
|
14777
14801
|
return result;
|
|
14778
14802
|
}
|
|
14779
14803
|
}
|
|
14780
|
-
var Case$0 = $TS($S($EXPECT($
|
|
14804
|
+
var Case$0 = $TS($S($EXPECT($L104, fail, 'Case "case"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14781
14805
|
return { $loc, token: $1 };
|
|
14782
14806
|
});
|
|
14783
14807
|
function Case(state) {
|
|
@@ -14802,7 +14826,7 @@ ${input.slice(result.pos)}
|
|
|
14802
14826
|
return result;
|
|
14803
14827
|
}
|
|
14804
14828
|
}
|
|
14805
|
-
var Catch$0 = $TS($S($EXPECT($
|
|
14829
|
+
var Catch$0 = $TS($S($EXPECT($L105, fail, 'Catch "catch"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14806
14830
|
return { $loc, token: $1 };
|
|
14807
14831
|
});
|
|
14808
14832
|
function Catch(state) {
|
|
@@ -14827,7 +14851,7 @@ ${input.slice(result.pos)}
|
|
|
14827
14851
|
return result;
|
|
14828
14852
|
}
|
|
14829
14853
|
}
|
|
14830
|
-
var Class$0 = $TS($S($EXPECT($
|
|
14854
|
+
var Class$0 = $TS($S($EXPECT($L106, fail, 'Class "class"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
14831
14855
|
return { $loc, token: $1 };
|
|
14832
14856
|
});
|
|
14833
14857
|
function Class(state) {
|
|
@@ -14902,7 +14926,7 @@ ${input.slice(result.pos)}
|
|
|
14902
14926
|
return result;
|
|
14903
14927
|
}
|
|
14904
14928
|
}
|
|
14905
|
-
var CloseParen$0 = $TV($EXPECT($
|
|
14929
|
+
var CloseParen$0 = $TV($EXPECT($L107, fail, 'CloseParen ")"'), function($skip, $loc, $0, $1) {
|
|
14906
14930
|
return { $loc, token: $1 };
|
|
14907
14931
|
});
|
|
14908
14932
|
function CloseParen(state) {
|
|
@@ -14927,7 +14951,7 @@ ${input.slice(result.pos)}
|
|
|
14927
14951
|
return result;
|
|
14928
14952
|
}
|
|
14929
14953
|
}
|
|
14930
|
-
var CoffeeSubstitutionStart$0 = $TV($EXPECT($
|
|
14954
|
+
var CoffeeSubstitutionStart$0 = $TV($EXPECT($L108, fail, 'CoffeeSubstitutionStart "#{"'), function($skip, $loc, $0, $1) {
|
|
14931
14955
|
return { $loc, token: "${" };
|
|
14932
14956
|
});
|
|
14933
14957
|
function CoffeeSubstitutionStart(state) {
|
|
@@ -14952,7 +14976,7 @@ ${input.slice(result.pos)}
|
|
|
14952
14976
|
return result;
|
|
14953
14977
|
}
|
|
14954
14978
|
}
|
|
14955
|
-
var Colon$0 = $TS($S($EXPECT($
|
|
14979
|
+
var Colon$0 = $TS($S($EXPECT($L109, fail, 'Colon ":"'), $N($EXPECT($L2, fail, 'Colon "="'))), function($skip, $loc, $0, $1, $2) {
|
|
14956
14980
|
return { $loc, token: $1 };
|
|
14957
14981
|
});
|
|
14958
14982
|
function Colon(state) {
|
|
@@ -15002,7 +15026,7 @@ ${input.slice(result.pos)}
|
|
|
15002
15026
|
return result;
|
|
15003
15027
|
}
|
|
15004
15028
|
}
|
|
15005
|
-
var ConstructorShorthand$0 = $TV($EXPECT($
|
|
15029
|
+
var ConstructorShorthand$0 = $TV($EXPECT($L99, fail, 'ConstructorShorthand "@"'), function($skip, $loc, $0, $1) {
|
|
15006
15030
|
return { $loc, token: "constructor" };
|
|
15007
15031
|
});
|
|
15008
15032
|
function ConstructorShorthand(state) {
|
|
@@ -15527,7 +15551,7 @@ ${input.slice(result.pos)}
|
|
|
15527
15551
|
return result;
|
|
15528
15552
|
}
|
|
15529
15553
|
}
|
|
15530
|
-
var In$0 = $TS($S($EXPECT($
|
|
15554
|
+
var In$0 = $TS($S($EXPECT($L79, fail, 'In "in"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
15531
15555
|
return { $loc, token: $1 };
|
|
15532
15556
|
});
|
|
15533
15557
|
function In(state) {
|
|
@@ -15676,7 +15700,7 @@ ${input.slice(result.pos)}
|
|
|
15676
15700
|
return result;
|
|
15677
15701
|
}
|
|
15678
15702
|
}
|
|
15679
|
-
var Not$0 = $TS($S(CoffeeNotEnabled, $EXPECT($
|
|
15703
|
+
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) {
|
|
15680
15704
|
return { $loc, token: "!" };
|
|
15681
15705
|
});
|
|
15682
15706
|
function Not(state) {
|
|
@@ -15701,7 +15725,7 @@ ${input.slice(result.pos)}
|
|
|
15701
15725
|
return result;
|
|
15702
15726
|
}
|
|
15703
15727
|
}
|
|
15704
|
-
var Of$0 = $TS($S($EXPECT($
|
|
15728
|
+
var Of$0 = $TS($S($EXPECT($L71, fail, 'Of "of"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
15705
15729
|
return { $loc, token: $1 };
|
|
15706
15730
|
});
|
|
15707
15731
|
function Of(state) {
|
|
@@ -15776,7 +15800,7 @@ ${input.slice(result.pos)}
|
|
|
15776
15800
|
return result;
|
|
15777
15801
|
}
|
|
15778
15802
|
}
|
|
15779
|
-
var OpenBracket$0 = $TV($EXPECT($
|
|
15803
|
+
var OpenBracket$0 = $TV($EXPECT($L95, fail, 'OpenBracket "["'), function($skip, $loc, $0, $1) {
|
|
15780
15804
|
return { $loc, token: $1 };
|
|
15781
15805
|
});
|
|
15782
15806
|
function OpenBracket(state) {
|
|
@@ -16057,7 +16081,7 @@ ${input.slice(result.pos)}
|
|
|
16057
16081
|
return result;
|
|
16058
16082
|
}
|
|
16059
16083
|
}
|
|
16060
|
-
var Semicolon$0 = $TV($EXPECT($
|
|
16084
|
+
var Semicolon$0 = $TV($EXPECT($L83, fail, 'Semicolon ";"'), function($skip, $loc, $0, $1) {
|
|
16061
16085
|
return { $loc, token: $1 };
|
|
16062
16086
|
});
|
|
16063
16087
|
function Semicolon(state) {
|
|
@@ -16107,7 +16131,7 @@ ${input.slice(result.pos)}
|
|
|
16107
16131
|
return result;
|
|
16108
16132
|
}
|
|
16109
16133
|
}
|
|
16110
|
-
var Star$0 = $TV($EXPECT($
|
|
16134
|
+
var Star$0 = $TV($EXPECT($L52, fail, 'Star "*"'), function($skip, $loc, $0, $1) {
|
|
16111
16135
|
return { $loc, token: $1 };
|
|
16112
16136
|
});
|
|
16113
16137
|
function Star(state) {
|
|
@@ -16135,7 +16159,7 @@ ${input.slice(result.pos)}
|
|
|
16135
16159
|
var Static$0 = $TS($S($EXPECT($L145, fail, 'Static "static"'), NonIdContinue), function($skip, $loc, $0, $1, $2) {
|
|
16136
16160
|
return { $loc, token: $1 };
|
|
16137
16161
|
});
|
|
16138
|
-
var Static$1 = $TS($S($EXPECT($
|
|
16162
|
+
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) {
|
|
16139
16163
|
return { $loc, token: "static " };
|
|
16140
16164
|
});
|
|
16141
16165
|
function Static(state) {
|
|
@@ -16755,7 +16779,7 @@ ${input.slice(result.pos)}
|
|
|
16755
16779
|
return result;
|
|
16756
16780
|
}
|
|
16757
16781
|
}
|
|
16758
|
-
var JSXSelfClosingElement$0 = $TS($S($EXPECT($L132, fail, 'JSXSelfClosingElement "<"'),
|
|
16782
|
+
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) {
|
|
16759
16783
|
return { type: "JSXElement", children: $0, tag: $2 };
|
|
16760
16784
|
});
|
|
16761
16785
|
function JSXSelfClosingElement(state) {
|
|
@@ -16831,7 +16855,7 @@ ${input.slice(result.pos)}
|
|
|
16831
16855
|
return result;
|
|
16832
16856
|
}
|
|
16833
16857
|
}
|
|
16834
|
-
var JSXOpeningElement$0 = $S($EXPECT($L132, fail, 'JSXOpeningElement "<"'),
|
|
16858
|
+
var JSXOpeningElement$0 = $S($EXPECT($L132, fail, 'JSXOpeningElement "<"'), JSXElementName, $E(TypeArguments), $E(JSXAttributes), $E(Whitespace), $EXPECT($L30, fail, 'JSXOpeningElement ">"'));
|
|
16835
16859
|
function JSXOpeningElement(state) {
|
|
16836
16860
|
let eventData;
|
|
16837
16861
|
if (state.events) {
|
|
@@ -16883,7 +16907,7 @@ ${input.slice(result.pos)}
|
|
|
16883
16907
|
return result;
|
|
16884
16908
|
}
|
|
16885
16909
|
}
|
|
16886
|
-
var JSXClosingElement$0 = $S($EXPECT($L166, fail, 'JSXClosingElement "</"'), $E(Whitespace),
|
|
16910
|
+
var JSXClosingElement$0 = $S($EXPECT($L166, fail, 'JSXClosingElement "</"'), $E(Whitespace), JSXElementName, $E(Whitespace), $EXPECT($L30, fail, 'JSXClosingElement ">"'));
|
|
16887
16911
|
function JSXClosingElement(state) {
|
|
16888
16912
|
let eventData;
|
|
16889
16913
|
if (state.events) {
|
|
@@ -17029,7 +17053,10 @@ ${input.slice(result.pos)}
|
|
|
17029
17053
|
return result;
|
|
17030
17054
|
}
|
|
17031
17055
|
}
|
|
17032
|
-
var JSXElementName$0 = $S(
|
|
17056
|
+
var JSXElementName$0 = $TV($Y($S($C($EXPECT($L12, fail, 'JSXElementName "#"'), Dot), JSXShorthandString)), function($skip, $loc, $0, $1) {
|
|
17057
|
+
return module2.config.defaultElement;
|
|
17058
|
+
});
|
|
17059
|
+
var JSXElementName$1 = $TEXT($S(JSXIdentifierName, $C($S(Colon, JSXIdentifierName), $Q($S(Dot, JSXIdentifierName)))));
|
|
17033
17060
|
function JSXElementName(state) {
|
|
17034
17061
|
let eventData;
|
|
17035
17062
|
if (state.events) {
|
|
@@ -17041,12 +17068,12 @@ ${input.slice(result.pos)}
|
|
|
17041
17068
|
}
|
|
17042
17069
|
}
|
|
17043
17070
|
if (state.tokenize) {
|
|
17044
|
-
const result = $TOKEN("JSXElementName", state, JSXElementName$0(state));
|
|
17071
|
+
const result = $TOKEN("JSXElementName", state, JSXElementName$0(state) || JSXElementName$1(state));
|
|
17045
17072
|
if (state.events)
|
|
17046
17073
|
state.events.exit?.("JSXElementName", state, result, eventData);
|
|
17047
17074
|
return result;
|
|
17048
17075
|
} else {
|
|
17049
|
-
const result = JSXElementName$0(state);
|
|
17076
|
+
const result = JSXElementName$0(state) || JSXElementName$1(state);
|
|
17050
17077
|
if (state.events)
|
|
17051
17078
|
state.events.exit?.("JSXElementName", state, result, eventData);
|
|
17052
17079
|
return result;
|
|
@@ -19014,7 +19041,7 @@ ${input.slice(result.pos)}
|
|
|
19014
19041
|
return result;
|
|
19015
19042
|
}
|
|
19016
19043
|
}
|
|
19017
|
-
var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($
|
|
19044
|
+
var TypePredicate$0 = $TS($S(Type, $E($S(__, $EXPECT($L80, fail, 'TypePredicate "is"'), NonIdContinue, Type))), function($skip, $loc, $0, $1, $2) {
|
|
19018
19045
|
var lhs = $1;
|
|
19019
19046
|
var rhs = $2;
|
|
19020
19047
|
if (!rhs)
|
|
@@ -19575,7 +19602,7 @@ ${input.slice(result.pos)}
|
|
|
19575
19602
|
var InlineInterfacePropertyDelimiter$1 = $T($S($Y($S($C(IndentedFurther, $E(_)), InlineBasicInterfaceProperty)), InsertComma), function(value) {
|
|
19576
19603
|
return value[1];
|
|
19577
19604
|
});
|
|
19578
|
-
var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($
|
|
19605
|
+
var InlineInterfacePropertyDelimiter$2 = $Y($S(__, $C($EXPECT($L109, fail, 'InlineInterfacePropertyDelimiter ":"'), $EXPECT($L107, fail, 'InlineInterfacePropertyDelimiter ")"'), $EXPECT($L31, fail, 'InlineInterfacePropertyDelimiter "]"'), $EXPECT($L22, fail, 'InlineInterfacePropertyDelimiter "}"'))));
|
|
19579
19606
|
var InlineInterfacePropertyDelimiter$3 = $Y(EOS);
|
|
19580
19607
|
function InlineInterfacePropertyDelimiter(state) {
|
|
19581
19608
|
let eventData;
|
|
@@ -19599,10 +19626,10 @@ ${input.slice(result.pos)}
|
|
|
19599
19626
|
return result;
|
|
19600
19627
|
}
|
|
19601
19628
|
}
|
|
19602
|
-
var TypeBinaryOp$0 = $TV($EXPECT($
|
|
19629
|
+
var TypeBinaryOp$0 = $TV($EXPECT($L82, fail, 'TypeBinaryOp "|"'), function($skip, $loc, $0, $1) {
|
|
19603
19630
|
return { $loc, token: "|" };
|
|
19604
19631
|
});
|
|
19605
|
-
var TypeBinaryOp$1 = $TV($EXPECT($
|
|
19632
|
+
var TypeBinaryOp$1 = $TV($EXPECT($L81, fail, 'TypeBinaryOp "&"'), function($skip, $loc, $0, $1) {
|
|
19606
19633
|
return { $loc, token: "&" };
|
|
19607
19634
|
});
|
|
19608
19635
|
function TypeBinaryOp(state) {
|
|
@@ -21043,6 +21070,7 @@ ${input.slice(result.pos)}
|
|
|
21043
21070
|
coffeeNot: false,
|
|
21044
21071
|
coffeeOf: false,
|
|
21045
21072
|
coffeePrototype: false,
|
|
21073
|
+
defaultElement: "div",
|
|
21046
21074
|
implicitReturns: true,
|
|
21047
21075
|
objectIs: false,
|
|
21048
21076
|
react: false,
|
|
@@ -23177,6 +23205,31 @@ ${input.slice(result.pos)}
|
|
|
23177
23205
|
return result;
|
|
23178
23206
|
}
|
|
23179
23207
|
}
|
|
23208
|
+
var Dedented$0 = $T($S($N($C(Samedent, IndentedFurther)), EOS), function(value) {
|
|
23209
|
+
return value[1];
|
|
23210
|
+
});
|
|
23211
|
+
function Dedented(state) {
|
|
23212
|
+
let eventData;
|
|
23213
|
+
if (state.events) {
|
|
23214
|
+
const result = state.events.enter?.("Dedented", state);
|
|
23215
|
+
if (result) {
|
|
23216
|
+
if (result.cache)
|
|
23217
|
+
return result.cache;
|
|
23218
|
+
eventData = result.data;
|
|
23219
|
+
}
|
|
23220
|
+
}
|
|
23221
|
+
if (state.tokenize) {
|
|
23222
|
+
const result = $TOKEN("Dedented", state, Dedented$0(state));
|
|
23223
|
+
if (state.events)
|
|
23224
|
+
state.events.exit?.("Dedented", state, result, eventData);
|
|
23225
|
+
return result;
|
|
23226
|
+
} else {
|
|
23227
|
+
const result = Dedented$0(state);
|
|
23228
|
+
if (state.events)
|
|
23229
|
+
state.events.exit?.("Dedented", state, result, eventData);
|
|
23230
|
+
return result;
|
|
23231
|
+
}
|
|
23232
|
+
}
|
|
23180
23233
|
var PushIndent$0 = $Y($S(EOS, TrackIndented));
|
|
23181
23234
|
function PushIndent(state) {
|
|
23182
23235
|
let eventData;
|
|
@@ -23739,7 +23792,7 @@ var parse;
|
|
|
23739
23792
|
var uncacheable;
|
|
23740
23793
|
({ parse } = import_parser.default);
|
|
23741
23794
|
({ SourceMap: SourceMap2, base64Encode: base64Encode2 } = util_exports);
|
|
23742
|
-
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"]);
|
|
23795
|
+
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"]);
|
|
23743
23796
|
var compile = function(src, options) {
|
|
23744
23797
|
var ast, code, events, filename, ref, result, sm, srcMapJSON;
|
|
23745
23798
|
if (!options) {
|