meriyah 4.4.3 → 4.5.0
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/CHANGELOG.md +13 -0
- package/README.md +1 -7
- package/dist/meriyah.amd.js +114 -126
- package/dist/meriyah.amd.min.js +1 -1
- package/dist/meriyah.cjs +114 -126
- package/dist/meriyah.cjs.js +114 -126
- package/dist/meriyah.cjs.min.js +1 -1
- package/dist/meriyah.esm.js +114 -124
- package/dist/meriyah.esm.min.js +1 -1
- package/dist/meriyah.esm.min.mjs +1 -1
- package/dist/meriyah.esm.mjs +114 -124
- package/dist/meriyah.iife.js +114 -126
- package/dist/meriyah.iife.min.js +1 -1
- package/dist/meriyah.min.cjs +1 -1
- package/dist/meriyah.system.js +116 -126
- package/dist/meriyah.system.min.js +1 -1
- package/dist/meriyah.umd.cjs +114 -126
- package/dist/meriyah.umd.es5.js +121 -128
- package/dist/meriyah.umd.es5.min.js +1 -1
- package/dist/meriyah.umd.js +114 -126
- package/dist/meriyah.umd.min.cjs +1 -1
- package/dist/meriyah.umd.min.js +1 -1
- package/dist/src/common.d.ts +4 -6
- package/dist/src/common.d.ts.map +1 -1
- package/dist/src/parser.d.ts +4 -6
- package/dist/src/parser.d.ts.map +1 -1
- package/package.json +11 -11
- package/src/common.ts +6 -10
- package/src/parser.ts +89 -145
- package/src/unicode.ts +4 -4
package/dist/meriyah.system.js
CHANGED
|
@@ -206,7 +206,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
206
206
|
const result = new Uint32Array(104448);
|
|
207
207
|
let index = 0;
|
|
208
208
|
let subIndex = 0;
|
|
209
|
-
while (index <
|
|
209
|
+
while (index < 3701) {
|
|
210
210
|
const inst = compressed[index++];
|
|
211
211
|
if (inst < 0) {
|
|
212
212
|
subIndex -= inst;
|
|
@@ -224,7 +224,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
224
224
|
}
|
|
225
225
|
}
|
|
226
226
|
return result;
|
|
227
|
-
})([-1, 2, 24, 2, 25, 2, 5, -1, 0, 77595648, 3, 44, 2, 3, 0, 14, 2, 57, 2, 58, 3, 0, 3, 0, 3168796671, 0, 4294956992, 2, 1, 2, 0, 2, 59, 3, 0, 4, 0, 4294966523, 3, 0, 4, 2, 16, 2, 60, 2, 0, 0, 4294836735, 0, 3221225471, 0, 4294901942, 2, 61, 0, 134152192, 3, 0, 2, 0, 4294951935, 3, 0, 2, 0, 2683305983, 0, 2684354047, 2, 17, 2, 0, 0, 4294961151, 3, 0, 2, 2, 19, 2, 0, 0, 608174079, 2, 0, 2, 131, 2, 6, 2, 56, -1, 2, 37, 0, 4294443263, 2, 1, 3, 0, 3, 0, 4294901711, 2, 39, 0, 4089839103, 0, 2961209759, 0, 1342439375, 0, 4294543342, 0, 3547201023, 0, 1577204103, 0, 4194240, 0, 4294688750, 2, 2, 0, 80831, 0, 4261478351, 0, 4294549486, 2, 2, 0, 2967484831, 0, 196559, 0, 3594373100, 0, 3288319768, 0, 8469959, 2, 194, 2, 3, 0, 3825204735, 0, 123747807, 0, 65487, 0, 4294828015, 0, 4092591615, 0, 1080049119, 0, 458703, 2, 3, 2, 0, 0, 2163244511, 0, 4227923919, 0, 4236247022, 2, 66, 0, 4284449919, 0, 851904, 2, 4, 2, 11, 0, 67076095, -1, 2, 67, 0, 1073741743, 0, 4093591391, -1, 0, 50331649, 0, 3265266687, 2, 32, 0, 4294844415, 0, 4278190047, 2, 18, 2, 129, -1, 3, 0, 2, 2, 21, 2, 0, 2, 9, 2, 0, 2, 14, 2, 15, 3, 0, 10, 2, 69, 2, 0, 2, 70, 2, 71, 2, 72, 2, 0, 2, 73, 2, 0, 2, 10, 0, 261632, 2, 23, 3, 0, 2, 2, 12, 2, 4, 3, 0, 18, 2, 74, 2, 5, 3, 0, 2, 2, 75, 0, 2088959, 2, 27, 2, 8, 0, 909311, 3, 0, 2, 0, 814743551, 2, 41, 0, 67057664, 3, 0, 2, 2, 40, 2, 0, 2, 28, 2, 0, 2, 29, 2, 7, 0, 268374015, 2, 26, 2, 49, 2, 0, 2, 76, 0, 134153215, -1, 2, 6, 2, 0, 2, 7, 0, 2684354559, 0, 67044351, 0, 3221160064, 0, 1, -1, 3, 0, 2, 2, 42, 0, 1046528, 3, 0, 3, 2, 8, 2, 0, 2, 51, 0, 4294960127, 2, 9, 2, 38, 2, 10, 0, 4294377472, 2, 11, 3, 0, 7, 0, 4227858431, 3, 0, 8, 2, 12, 2, 0, 2, 78, 2, 9, 2, 0, 2, 79, 2, 80, 2, 81, -1, 2, 124, 0, 1048577, 2, 82, 2, 13, -1, 2, 13, 0, 131042, 2, 83, 2, 84, 2, 85, 2, 0, 2, 33, -83, 2, 0, 2, 53, 2, 7, 3, 0, 4, 0, 1046559, 2, 0, 2, 14, 2, 0, 0, 2147516671, 2, 20, 3, 86, 2, 2, 0, -16, 2, 87, 0, 524222462, 2, 4, 2, 0, 0, 4269801471, 2, 4, 2, 0, 2, 15, 2, 77, 2, 16, 3, 0, 2, 2, 47, 2, 0, -1, 2, 17, -16, 3, 0, 206, -2, 3, 0, 655, 2, 18, 3, 0, 36, 2, 68, -1, 2, 17, 2, 9, 3, 0, 8, 2, 89, 2, 121, 2, 0, 0, 3220242431, 3, 0, 3, 2, 19, 2, 90, 2, 91, 3, 0, 2, 2, 92, 2, 0, 2, 93, 2, 94, 2, 0, 0, 4351, 2, 0, 2, 8, 3, 0, 2, 0, 67043391, 0, 3909091327, 2, 0, 2, 22, 2, 8, 2, 18, 3, 0, 2, 0, 67076097, 2, 7, 2, 0, 2, 20, 0, 67059711, 0, 4236247039, 3, 0, 2, 0, 939524103, 0, 8191999, 2, 97, 2, 98, 2, 15, 2, 21, 3, 0, 3, 0, 67057663, 3, 0, 349, 2, 99, 2, 100, 2, 6, -264, 3, 0, 11, 2, 22, 3, 0, 2, 2, 31, -1, 0, 3774349439, 2, 101, 2, 102, 3, 0, 2, 2, 19, 2, 103, 3, 0, 10, 2, 9, 2, 17, 2, 0, 2, 45, 2, 0, 2, 30, 2, 104, 2, 23, 0, 1638399, 2, 172, 2, 105, 3, 0, 3, 2, 18, 2, 24, 2, 25, 2, 5, 2, 26, 2, 0, 2, 7, 2, 106, -1, 2, 107, 2, 108, 2, 109, -1, 3, 0, 3, 2, 11, -2, 2, 0, 2, 27, -3, 2, 150, -4, 2, 18, 2, 0, 2, 35, 0, 1, 2, 0, 2, 62, 2, 28, 2, 11, 2, 9, 2, 0, 2, 110, -1, 3, 0, 4, 2, 9, 2, 21, 2, 111, 2, 6, 2, 0, 2, 112, 2, 0, 2, 48, -4, 3, 0, 9, 2, 20, 2, 29, 2, 30, -4, 2, 113, 2, 114, 2, 29, 2, 20, 2, 7, -2, 2, 115, 2, 29, 2, 31, -2, 2, 0, 2, 116, -2, 0, 4277137519, 0, 2269118463, -1, 3, 18, 2, -1, 2, 32, 2, 36, 2, 0, 3, 29, 2, 2, 34, 2, 19, -3, 3, 0, 2, 2, 33, -1, 2, 0, 2, 34, 2, 0, 2, 34, 2, 0, 2, 46, -10, 2, 0, 0, 203775, -2, 2, 18, 2, 43, 2, 35, -2, 2, 17, 2, 117, 2, 20, 3, 0, 2, 2, 36, 0, 2147549120, 2, 0, 2, 11, 2, 17, 2, 135, 2, 0, 2, 37, 2, 52, 0, 5242879, 3, 0, 2, 0, 402644511, -1, 2, 120, 0, 1090519039, -2, 2, 122, 2, 38, 2, 0, 0, 67045375, 2, 39, 0, 4226678271, 0, 3766565279, 0, 2039759, -4, 3, 0, 2, 0, 3288270847, 0, 3, 3, 0, 2, 0, 67043519, -5, 2, 0, 0, 4282384383, 0, 1056964609, -1, 3, 0, 2, 0, 67043345, -1, 2, 0, 2, 40, 2, 41, -1, 2, 10, 2, 42, -6, 2, 0, 2, 11, -3, 3, 0, 2, 0, 2147484671, 2, 125, 0, 4190109695, 2, 50, -2, 2, 126, 0, 4244635647, 0, 27, 2, 0, 2, 7, 2, 43, 2, 0, 2, 63, -1, 2, 0, 2, 40, -8, 2, 54, 2, 44, 0, 67043329, 2, 127, 2, 45, 0, 8388351, -2, 2, 128, 0, 3028287487, 2, 46, 2, 130, 0, 33259519, 2, 41, -9, 2, 20, -5, 2, 64, -2, 3, 0, 28, 2, 31, -3, 3, 0, 3, 2, 47, 3, 0, 6, 2, 48, -85, 3, 0, 33, 2, 47, -126, 3, 0, 18, 2, 36, -269, 3, 0, 17, 2, 40, 2, 7, 2, 41, -2, 2, 17, 2, 49, 2, 0, 2, 20, 2, 50, 2, 132, 2, 23, -21, 3, 0, 2, -4, 3, 0, 2, 0, 4294936575, 2, 0, 0, 4294934783, -2, 0, 196635, 3, 0, 191, 2, 51, 3, 0, 38, 2, 29, -1, 2, 33, -279, 3, 0, 8, 2, 7, -1, 2, 133, 2, 52, 3, 0, 11, 2, 6, -72, 3, 0, 3, 2, 134, 0, 1677656575, -166, 0, 4161266656, 0, 4071, 0, 15360, -4, 0, 28, -13, 3, 0, 2, 2, 37, 2, 0, 2, 136, 2, 137, 2, 55, 2, 0, 2, 138, 2, 139, 2, 140, 3, 0, 10, 2, 141, 2, 142, 2, 15, 3, 37, 2, 3, 53, 2, 3, 54, 2, 0, 4294954999, 2, 0, -16, 2, 0, 2, 88, 2, 0, 0, 2105343, 0, 4160749584, 0, 65534, -42, 0, 4194303871, 0, 2011, -6, 2, 0, 0, 1073684479, 0, 17407, -11, 2, 0, 2, 31, -40, 3, 0, 6, 0, 8323103, -1, 3, 0, 2, 2, 42, -37, 2, 55, 2, 144, 2, 145, 2, 146, 2, 147, 2, 148, -105, 2, 24, -32, 3, 0, 1334, 2, 9, -1, 3, 0, 129, 2, 27, 3, 0, 6, 2, 9, 3, 0, 180, 2, 149, 3, 0, 233, 0, 1, -96, 3, 0, 16, 2, 9, -47, 3, 0, 154, 2, 56, -22381, 3, 0, 7, 2, 23, -6130, 3, 5, 2, -1, 0, 69207040, 3, 44, 2, 3, 0, 14, 2, 57, 2, 58, -3, 0, 3168731136, 0, 4294956864, 2, 1, 2, 0, 2, 59, 3, 0, 4, 0, 4294966275, 3, 0, 4, 2, 16, 2, 60, 2, 0, 2, 33, -1, 2, 17, 2, 61, -1, 2, 0, 2, 56, 0, 4294885376, 3, 0, 2, 0, 3145727, 0, 2617294944, 0, 4294770688, 2, 23, 2, 62, 3, 0, 2, 0, 131135, 2, 95, 0, 70256639, 0, 71303167, 0, 272, 2, 40, 2, 56, -1, 2, 37, 2, 30, -1, 2, 96, 2, 63, 0, 4278255616, 0, 4294836227, 0, 4294549473, 0, 600178175, 0, 2952806400, 0, 268632067, 0, 4294543328, 0, 57540095, 0, 1577058304, 0, 1835008, 0, 4294688736, 2, 65, 2, 64, 0, 33554435, 2, 123, 2, 65, 2, 151, 0, 131075, 0, 3594373096, 0, 67094296, 2, 64, -1, 0, 4294828000, 0, 603979263, 2, 160, 0, 3, 0, 4294828001, 0, 602930687, 2, 183, 0, 393219, 0, 4294828016, 0, 671088639, 0, 2154840064, 0, 4227858435, 0, 4236247008, 2, 66, 2, 36, -1, 2, 4, 0, 917503, 2, 36, -1, 2, 67, 0, 537788335, 0, 4026531935, -1, 0, 1, -1, 2, 32, 2, 68, 0, 7936, -3, 2, 0, 0, 2147485695, 0, 1010761728, 0, 4292984930, 0, 16387, 2, 0, 2, 14, 2, 15, 3, 0, 10, 2, 69, 2, 0, 2, 70, 2, 71, 2, 72, 2, 0, 2, 73, 2, 0, 2, 11, -1, 2, 23, 3, 0, 2, 2, 12, 2, 4, 3, 0, 18, 2, 74, 2, 5, 3, 0, 2, 2, 75, 0, 253951, 3, 19, 2, 0, 122879, 2, 0, 2, 8, 0, 276824064, -2, 3, 0, 2, 2, 40, 2, 0, 0, 4294903295, 2, 0, 2, 29, 2, 7, -1, 2, 17, 2, 49, 2, 0, 2, 76, 2, 41, -1, 2, 20, 2, 0, 2, 27, -2, 0, 128, -2, 2, 77, 2, 8, 0, 4064, -1, 2, 119, 0, 4227907585, 2, 0, 2, 118, 2, 0, 2, 48, 2, 173, 2, 9, 2, 38, 2, 10, -1, 0, 74440192, 3, 0, 6, -2, 3, 0, 8, 2, 12, 2, 0, 2, 78, 2, 9, 2, 0, 2, 79, 2, 80, 2, 81, -3, 2, 82, 2, 13, -3, 2, 83, 2, 84, 2, 85, 2, 0, 2, 33, -83, 2, 0, 2, 53, 2, 7, 3, 0, 4, 0, 817183, 2, 0, 2, 14, 2, 0, 0, 33023, 2, 20, 3, 86, 2, -17, 2, 87, 0, 524157950, 2, 4, 2, 0, 2, 88, 2, 4, 2, 0, 2, 15, 2, 77, 2, 16, 3, 0, 2, 2, 47, 2, 0, -1, 2, 17, -16, 3, 0, 206, -2, 3, 0, 655, 2, 18, 3, 0, 36, 2, 68, -1, 2, 17, 2, 9, 3, 0, 8, 2, 89, 0, 3072, 2, 0, 0, 2147516415, 2, 9, 3, 0, 2, 2, 23, 2, 90, 2, 91, 3, 0, 2, 2, 92, 2, 0, 2, 93, 2, 94, 0, 4294965179, 0, 7, 2, 0, 2, 8, 2, 91, 2, 8, -1, 0, 1761345536, 2, 95, 0, 4294901823, 2, 36, 2, 18, 2, 96, 2, 34, 2, 166, 0, 2080440287, 2, 0, 2, 33, 2, 143, 0, 3296722943, 2, 0, 0, 1046675455, 0, 939524101, 0, 1837055, 2, 97, 2, 98, 2, 15, 2, 21, 3, 0, 3, 0, 7, 3, 0, 349, 2, 99, 2, 100, 2, 6, -264, 3, 0, 11, 2, 22, 3, 0, 2, 2, 31, -1, 0, 2700607615, 2, 101, 2, 102, 3, 0, 2, 2, 19, 2, 103, 3, 0, 10, 2, 9, 2, 17, 2, 0, 2, 45, 2, 0, 2, 30, 2, 104, -3, 2, 105, 3, 0, 3, 2, 18, -1, 3, 5, 2, 2, 26, 2, 0, 2, 7, 2, 106, -1, 2, 107, 2, 108, 2, 109, -1, 3, 0, 3, 2, 11, -2, 2, 0, 2, 27, -8, 2, 18, 2, 0, 2, 35, -1, 2, 0, 2, 62, 2, 28, 2, 29, 2, 9, 2, 0, 2, 110, -1, 3, 0, 4, 2, 9, 2, 17, 2, 111, 2, 6, 2, 0, 2, 112, 2, 0, 2, 48, -4, 3, 0, 9, 2, 20, 2, 29, 2, 30, -4, 2, 113, 2, 114, 2, 29, 2, 20, 2, 7, -2, 2, 115, 2, 29, 2, 31, -2, 2, 0, 2, 116, -2, 0, 4277075969, 2, 29, -1, 3, 18, 2, -1, 2, 32, 2, 117, 2, 0, 3, 29, 2, 2, 34, 2, 19, -3, 3, 0, 2, 2, 33, -1, 2, 0, 2, 34, 2, 0, 2, 34, 2, 0, 2, 48, -10, 2, 0, 0, 197631, -2, 2, 18, 2, 43, 2, 118, -2, 2, 17, 2, 117, 2, 20, 2, 119, 2, 51, -2, 2, 119, 2, 23, 2, 17, 2, 33, 2, 119, 2, 36, 0, 4294901904, 0, 4718591, 2, 119, 2, 34, 0, 335544350, -1, 2, 120, 2, 121, -2, 2, 122, 2, 38, 2, 7, -1, 2, 123, 2, 65, 0, 3758161920, 0, 3, -4, 2, 0, 2, 27, 0, 2147485568, 0, 3, 2, 0, 2, 23, 0, 176, -5, 2, 0, 2, 47, 2, 186, -1, 2, 0, 2, 23, 2, 197, -1, 2, 0, 0, 16779263, -2, 2, 11, -7, 2, 0, 2, 121, -3, 3, 0, 2, 2, 124, 2, 125, 0, 2147549183, 0, 2, -2, 2, 126, 2, 35, 0, 10, 0, 4294965249, 0, 67633151, 0, 4026597376, 2, 0, 0, 536871935, -1, 2, 0, 2, 40, -8, 2, 54, 2, 47, 0, 1, 2, 127, 2, 23, -3, 2, 128, 2, 35, 2, 129, 2, 130, 0, 16778239, -10, 2, 34, -5, 2, 64, -2, 3, 0, 28, 2, 31, -3, 3, 0, 3, 2, 47, 3, 0, 6, 2, 48, -85, 3, 0, 33, 2, 47, -126, 3, 0, 18, 2, 36, -269, 3, 0, 17, 2, 40, 2, 7, -3, 2, 17, 2, 131, 2, 0, 2, 23, 2, 48, 2, 132, 2, 23, -21, 3, 0, 2, -4, 3, 0, 2, 0, 67583, -1, 2, 103, -2, 0, 11, 3, 0, 191, 2, 51, 3, 0, 38, 2, 29, -1, 2, 33, -279, 3, 0, 8, 2, 7, -1, 2, 133, 2, 52, 3, 0, 11, 2, 6, -72, 3, 0, 3, 2, 134, 2, 135, -187, 3, 0, 2, 2, 37, 2, 0, 2, 136, 2, 137, 2, 55, 2, 0, 2, 138, 2, 139, 2, 140, 3, 0, 10, 2, 141, 2, 142, 2, 15, 3, 37, 2, 3, 53, 2, 3, 54, 2, 2, 143, -73, 2, 0, 0, 1065361407, 0, 16384, -11, 2, 0, 2, 121, -40, 3, 0, 6, 2, 117, -1, 3, 0, 2, 0, 2063, -37, 2, 55, 2, 144, 2, 145, 2, 146, 2, 147, 2, 148, -138, 3, 0, 1334, 2, 9, -1, 3, 0, 129, 2, 27, 3, 0, 6, 2, 9, 3, 0, 180, 2, 149, 3, 0, 233, 0, 1, -96, 3, 0, 16, 2, 9, -47, 3, 0, 154, 2, 56, -28517, 2, 0, 0, 1, -1, 2, 124, 2, 0, 0, 8193, -21, 2, 193, 0, 10255, 0, 4, -11, 2, 64, 2, 171, -1, 0, 71680, -1, 2, 161, 0, 4292900864, 0, 805306431, -5, 2, 150, -1, 2, 157, -1, 0, 6144, -2, 2, 127, -1, 2, 154, -1, 0, 2147532800, 2, 151, 2, 165, 2, 0, 2, 164, 0, 524032, 0, 4, -4, 2, 190, 0, 205128192, 0, 1333757536, 0, 2147483696, 0, 423953, 0, 747766272, 0, 2717763192, 0, 4286578751, 0, 278545, 2, 152, 0, 4294886464, 0, 33292336, 0, 417809, 2, 152, 0, 1327482464, 0, 4278190128, 0, 700594195, 0, 1006647527, 0, 4286497336, 0, 4160749631, 2, 153, 0, 469762560, 0, 4171219488, 0, 8323120, 2, 153, 0, 202375680, 0, 3214918176, 0, 4294508592, 2, 153, -1, 0, 983584, 0, 48, 0, 58720273, 0, 3489923072, 0, 10517376, 0, 4293066815, 0, 1, 0, 2013265920, 2, 177, 2, 0, 0, 2089, 0, 3221225552, 0, 201375904, 2, 0, -2, 0, 256, 0, 122880, 0, 16777216, 2, 150, 0, 4160757760, 2, 0, -6, 2, 167, -11, 0, 3263218176, -1, 0, 49664, 0, 2160197632, 0, 8388802, -1, 0, 12713984, -1, 2, 154, 2, 159, 2, 178, -2, 2, 162, -20, 0, 3758096385, -2, 2, 155, 0, 4292878336, 2, 90, 2, 169, 0, 4294057984, -2, 2, 163, 2, 156, 2, 175, -2, 2, 155, -1, 2, 182, -1, 2, 170, 2, 124, 0, 4026593280, 0, 14, 0, 4292919296, -1, 2, 158, 0, 939588608, -1, 0, 805306368, -1, 2, 124, 0, 1610612736, 2, 156, 2, 157, 2, 4, 2, 0, -2, 2, 158, 2, 159, -3, 0, 267386880, -1, 2, 160, 0, 7168, -1, 0, 65024, 2, 154, 2, 161, 2, 179, -7, 2, 168, -8, 2, 162, -1, 0, 1426112704, 2, 163, -1, 2, 164, 0, 271581216, 0, 2149777408, 2, 23, 2, 161, 2, 124, 0, 851967, 2, 180, -1, 2, 23, 2, 181, -4, 2, 158, -20, 2, 195, 2, 165, -56, 0, 3145728, 2, 185, -4, 2, 166, 2, 124, -4, 0, 32505856, -1, 2, 167, -1, 0, 2147385088, 2, 90, 1, 2155905152, 2, -3, 2, 103, 2, 0, 2, 168, -2, 2, 169, -6, 2, 170, 0, 4026597375, 0, 1, -1, 0, 1, -1, 2, 171, -3, 2, 117, 2, 64, -2, 2, 166, -2, 2, 176, 2, 124, -878, 2, 159, -36, 2, 172, -1, 2, 201, -10, 2, 188, -5, 2, 174, -6, 0, 4294965251, 2, 27, -1, 2, 173, -1, 2, 174, -2, 0, 4227874752, -3, 0, 2146435072, 2, 159, -2, 0, 1006649344, 2, 124, -1, 2, 90, 0, 201375744, -3, 0, 134217720, 2, 90, 0, 4286677377, 0, 32896, -1, 2, 158, -3, 2, 175, -349, 2, 176, 0, 1920, 2, 177, 3, 0, 264, -11, 2, 157, -2, 2, 178, 2, 0, 0, 520617856, 0, 2692743168, 0, 36, -3, 0, 524284, -11, 2, 23, -1, 2, 187, -1, 2, 184, 0, 3221291007, 2, 178, -1, 2, 202, 0, 2158720, -3, 2, 159, 0, 1, -4, 2, 124, 0, 3808625411, 0, 3489628288, 2, 200, 0, 1207959680, 0, 3221274624, 2, 0, -3, 2, 179, 0, 120, 0, 7340032, -2, 2, 180, 2, 4, 2, 23, 2, 163, 3, 0, 4, 2, 159, -1, 2, 181, 2, 177, -1, 0, 8176, 2, 182, 2, 179, 2, 183, -1, 0, 4290773232, 2, 0, -4, 2, 163, 2, 189, 0, 15728640, 2, 177, -1, 2, 161, -1, 0, 4294934512, 3, 0, 4, -9, 2, 90, 2, 170, 2, 184, 3, 0, 4, 0, 704, 0, 1849688064, 2, 185, -1, 2, 124, 0, 4294901887, 2, 0, 0, 130547712, 0, 1879048192, 2, 199, 3, 0, 2, -1, 2, 186, 2, 187, -1, 0, 17829776, 0, 2025848832, 0, 4261477888, -2, 2, 0, -1, 0, 4286580608, -1, 0, 29360128, 2, 192, 0, 16252928, 0, 3791388672, 2, 38, 3, 0, 2, -2, 2, 196, 2, 0, -1, 2, 103, -1, 0, 66584576, -1, 2, 191, 3, 0, 9, 2, 124, -1, 0, 4294755328, 3, 0, 2, -1, 2, 161, 2, 178, 3, 0, 2, 2, 23, 2, 188, 2, 90, -2, 0, 245760, 0, 2147418112, -1, 2, 150, 2, 203, 0, 4227923456, -1, 2, 164, 2, 161, 2, 90, -3, 0, 4292870145, 0, 262144, 2, 124, 3, 0, 2, 0, 1073758848, 2, 189, -1, 0, 4227921920, 2, 190, 0, 68289024, 0, 528402016, 0, 4292927536, 3, 0, 4, -2, 0, 268435456, 2, 91, -2, 2, 191, 3, 0, 5, -1, 2, 192, 2, 163, 2, 0, -2, 0, 4227923936, 2, 62, -1, 2, 155, 2, 95, 2, 0, 2, 154, 2, 158, 3, 0, 6, -1, 2, 177, 3, 0, 3, -2, 0, 2146959360, 0, 9440640, 0, 104857600, 0, 4227923840, 3, 0, 2, 0, 768, 2, 193, 2, 77, -2, 2, 161, -2, 2, 119, -1, 2, 155, 3, 0, 8, 0, 512, 0, 8388608, 2, 194, 2, 172, 2, 187, 0, 4286578944, 3, 0, 2, 0, 1152, 0, 1266679808, 2, 191, 0, 576, 0, 4261707776, 2, 95, 3, 0, 9, 2, 155, 3, 0, 5, 2, 16, -1, 0, 2147221504, -28, 2, 178, 3, 0, 3, -3, 0, 4292902912, -6, 2, 96, 3, 0, 85, -33, 0, 4294934528, 3, 0, 126, -18, 2, 195, 3, 0, 269, -17, 2, 155, 2, 124, 2, 198, 3, 0, 2, 2, 23, 0, 4290822144, -2, 0, 67174336, 0, 520093700, 2, 17, 3, 0, 21, -2, 2, 179, 3, 0, 3, -2, 0, 30720, -1, 0, 32512, 3, 0, 2, 0, 4294770656, -191, 2, 174, -38, 2, 170, 2, 0, 2, 196, 3, 0, 279, -8, 2, 124, 2, 0, 0, 4294508543, 0, 65295, -11, 2, 177, 3, 0, 72, -3, 0, 3758159872, 0, 201391616, 3, 0, 155, -7, 2, 170, -1, 0, 384, -1, 0, 133693440, -3, 2, 196, -2, 2, 26, 3, 0, 4, 2, 169, -2, 2, 90, 2, 155, 3, 0, 4, -2, 2, 164, -1, 2, 150, 0, 335552923, 2, 197, -1, 0, 538974272, 0, 2214592512, 0, 132000, -10, 0, 192, -8, 0, 12288, -21, 0, 134213632, 0, 4294901761, 3, 0, 42, 0, 100663424, 0, 4294965284, 3, 0, 6, -1, 0, 3221282816, 2, 198, 3, 0, 11, -1, 2, 199, 3, 0, 40, -6, 0, 4286578784, 2, 0, -2, 0, 1006694400, 3, 0, 24, 2, 35, -1, 2, 94, 3, 0, 2, 0, 1, 2, 163, 3, 0, 6, 2, 197, 0, 4110942569, 0, 1432950139, 0, 2701658217, 0, 4026532864, 0, 4026532881, 2, 0, 2, 45, 3, 0, 8, -1, 2, 158, -2, 2, 169, 0, 98304, 0, 65537, 2, 170, -5, 0, 4294950912, 2, 0, 2, 118, 0, 65528, 2, 177, 0, 4294770176, 2, 26, 3, 0, 4, -30, 2, 174, 0, 3758153728, -3, 2, 169, -2, 2, 155, 2, 188, 2, 158, -1, 2, 191, -1, 2, 161, 0, 4294754304, 3, 0, 2, -3, 0, 33554432, -2, 2, 200, -3, 2, 169, 0, 4175478784, 2, 201, 0, 4286643712, 0, 4286644216, 2, 0, -4, 2, 202, -1, 2, 165, 0, 4227923967, 3, 0, 32, -1334, 2, 163, 2, 0, -129, 2, 94, -6, 2, 163, -180, 2, 203, -233, 2, 4, 3, 0, 96, -16, 2, 163, 3, 0, 47, -154, 2, 165, 3, 0, 22381, -7, 2, 17, 3, 0, 6128], [4294967295, 4294967291, 4092460543, 4294828031, 4294967294, 134217726, 268435455, 2147483647, 1048575, 1073741823, 3892314111, 134217727, 1061158911, 536805376, 4294910143, 4160749567, 4294901759, 4294901760, 536870911, 262143, 8388607, 4294902783, 4294918143, 65535, 67043328, 2281701374, 4294967232, 2097151, 4294903807, 4194303, 255, 67108863, 4294967039, 511, 524287, 131071, 127, 4292870143, 4294902271, 4294549487, 33554431, 1023, 67047423, 4294901888, 4286578687, 4294770687, 67043583, 32767, 15, 2047999, 67043343, 16777215, 4294902000, 4294934527, 4294966783, 4294967279, 2047, 262083, 20511, 4290772991, 41943039, 493567, 4294959104, 603979775, 65536, 602799615, 805044223, 4294965206, 8191, 1031749119, 4294917631, 2134769663, 4286578493, 4282253311, 4294942719, 33540095, 4294905855, 4294967264, 2868854591, 1608515583, 265232348, 534519807, 2147614720, 1060109444, 4093640016, 17376, 2139062143, 224, 4169138175, 4294909951, 4286578688, 4294967292, 4294965759, 2044, 4292870144, 4294966272, 4294967280, 8289918, 4294934399, 4294901775, 4294965375, 1602223615, 4294967259, 4294443008, 268369920, 4292804608, 486341884, 4294963199, 3087007615, 1073692671, 4128527, 4279238655, 4294902015, 4294966591, 2445279231, 3670015, 3238002687, 31, 63, 4294967288, 4294705151, 4095, 3221208447, 4294549472, 2147483648, 4285526655, 4294966527, 4294705152, 4294966143, 64, 4294966719, 16383, 3774873592, 458752, 536807423, 67043839, 3758096383, 3959414372, 3755993023, 2080374783, 4294835295, 4294967103, 4160749565, 4087, 184024726, 2862017156, 1593309078, 268434431, 268434414, 4294901763, 536870912, 2952790016, 202506752, 139264, 402653184, 4261412864, 4227922944, 49152, 61440, 3758096384, 117440512, 65280, 3233808384, 3221225472, 2097152, 4294965248, 32768, 57152, 67108864, 4293918720, 4290772992, 25165824, 57344, 4227915776, 4278190080, 4227907584, 65520, 4026531840, 4227858432, 4160749568, 3758129152, 4294836224, 63488, 1073741824, 4294967040, 4194304, 251658240, 196608, 4294963200, 64512, 417808, 4227923712, 12582912, 50331648, 65472, 4294967168, 4294966784, 16, 4294917120, 2080374784, 4096, 65408, 524288, 65532]);
|
|
227
|
+
})([-1, 2, 26, 2, 27, 2, 5, -1, 0, 77595648, 3, 44, 2, 3, 0, 14, 2, 57, 2, 58, 3, 0, 3, 0, 3168796671, 0, 4294956992, 2, 1, 2, 0, 2, 59, 3, 0, 4, 0, 4294966523, 3, 0, 4, 2, 16, 2, 60, 2, 0, 0, 4294836735, 0, 3221225471, 0, 4294901942, 2, 61, 0, 134152192, 3, 0, 2, 0, 4294951935, 3, 0, 2, 0, 2683305983, 0, 2684354047, 2, 18, 2, 0, 0, 4294961151, 3, 0, 2, 2, 19, 2, 0, 0, 608174079, 2, 0, 2, 54, 2, 7, 2, 6, 0, 4278222591, 3, 0, 2, 2, 1, 3, 0, 3, 0, 4294901711, 2, 40, 0, 4089839103, 0, 2961209759, 0, 1342439375, 0, 4294543342, 0, 3547201023, 0, 1577204103, 0, 4194240, 0, 4294688750, 2, 2, 0, 80831, 0, 4261478351, 0, 4294549486, 2, 2, 0, 2967484831, 0, 196559, 0, 3594373100, 0, 3288319768, 0, 8469959, 2, 200, 2, 3, 0, 4093640191, 0, 660618719, 0, 65487, 0, 4294828015, 0, 4092591615, 0, 1616920031, 0, 982991, 2, 3, 2, 0, 0, 2163244511, 0, 4227923919, 0, 4236247022, 2, 66, 0, 4284449919, 0, 851904, 2, 4, 2, 12, 0, 67076095, -1, 2, 67, 0, 1073741743, 0, 4093607775, -1, 0, 50331649, 0, 3265266687, 2, 33, 0, 4294844415, 0, 4278190047, 2, 20, 2, 133, -1, 3, 0, 2, 2, 23, 2, 0, 2, 10, 2, 0, 2, 15, 2, 22, 3, 0, 10, 2, 69, 2, 0, 2, 70, 2, 71, 2, 72, 2, 0, 2, 73, 2, 0, 2, 11, 0, 261632, 2, 25, 3, 0, 2, 2, 13, 2, 4, 3, 0, 18, 2, 74, 2, 5, 3, 0, 2, 2, 75, 0, 2151677951, 2, 29, 2, 9, 0, 909311, 3, 0, 2, 0, 814743551, 2, 42, 0, 67090432, 3, 0, 2, 2, 41, 2, 0, 2, 6, 2, 0, 2, 30, 2, 8, 0, 268374015, 2, 107, 2, 48, 2, 0, 2, 76, 0, 134153215, -1, 2, 7, 2, 0, 2, 8, 0, 2684354559, 0, 67044351, 0, 3221160064, 2, 17, -1, 3, 0, 2, 0, 67051519, 0, 1046528, 3, 0, 3, 2, 9, 2, 0, 2, 50, 0, 4294960127, 2, 10, 2, 39, 2, 11, 0, 4294377472, 2, 12, 3, 0, 16, 2, 13, 2, 0, 2, 79, 2, 10, 2, 0, 2, 80, 2, 81, 2, 82, 2, 206, 2, 129, 0, 1048577, 2, 83, 2, 14, -1, 2, 14, 0, 131042, 2, 84, 2, 85, 2, 86, 2, 0, 2, 34, -83, 3, 0, 7, 0, 1046559, 2, 0, 2, 15, 2, 0, 0, 2147516671, 2, 21, 3, 87, 2, 2, 0, -16, 2, 88, 0, 524222462, 2, 4, 2, 0, 0, 4269801471, 2, 4, 3, 0, 2, 2, 28, 2, 16, 3, 0, 2, 2, 17, 2, 0, -1, 2, 18, -16, 3, 0, 206, -2, 3, 0, 692, 2, 68, -1, 2, 18, 2, 10, 3, 0, 8, 2, 90, 2, 128, 2, 0, 0, 3220242431, 3, 0, 3, 2, 19, 2, 91, 2, 92, 3, 0, 2, 2, 93, 2, 0, 2, 94, 2, 45, 2, 0, 0, 4351, 2, 0, 2, 9, 3, 0, 2, 0, 67043391, 0, 3909091327, 2, 0, 2, 24, 2, 9, 2, 20, 3, 0, 2, 0, 67076097, 2, 8, 2, 0, 2, 21, 0, 67059711, 0, 4236247039, 3, 0, 2, 0, 939524103, 0, 8191999, 2, 98, 2, 99, 2, 22, 2, 23, 3, 0, 3, 0, 67057663, 3, 0, 349, 2, 100, 2, 101, 2, 7, -264, 3, 0, 11, 2, 24, 3, 0, 2, 2, 32, -1, 0, 3774349439, 2, 102, 2, 103, 3, 0, 2, 2, 19, 2, 104, 3, 0, 10, 2, 10, 2, 18, 2, 0, 2, 46, 2, 0, 2, 31, 2, 105, 2, 25, 0, 1638399, 2, 170, 2, 106, 3, 0, 3, 2, 20, 2, 26, 2, 27, 2, 5, 2, 28, 2, 0, 2, 8, 2, 108, -1, 2, 109, 2, 110, 2, 111, -1, 3, 0, 3, 2, 12, -2, 2, 0, 2, 29, -3, 2, 159, -4, 2, 20, 2, 0, 2, 36, 0, 1, 2, 0, 2, 62, 2, 6, 2, 12, 2, 10, 2, 0, 2, 112, -1, 3, 0, 4, 2, 10, 2, 23, 2, 113, 2, 7, 2, 0, 2, 114, 2, 0, 2, 115, 2, 116, 2, 117, -2, 3, 0, 9, 2, 21, 2, 30, 2, 31, 2, 118, 2, 119, -2, 2, 120, 2, 121, 2, 30, 2, 21, 2, 8, -2, 2, 122, 2, 30, 2, 32, -2, 2, 0, 2, 38, -2, 0, 4277137519, 0, 2269118463, -1, 3, 20, 2, -1, 2, 33, 2, 37, 2, 0, 3, 30, 2, 2, 35, 2, 19, -3, 3, 0, 2, 2, 34, -1, 2, 0, 2, 35, 2, 0, 2, 35, 2, 0, 2, 47, -10, 2, 0, 0, 203775, -1, 2, 164, 2, 20, 2, 43, 2, 36, 2, 18, 2, 77, 2, 18, 2, 123, 2, 21, 3, 0, 2, 2, 37, 0, 2151677888, 2, 0, 2, 12, 0, 4294901764, 2, 140, 2, 0, 2, 52, 2, 51, 0, 5242879, 3, 0, 2, 0, 402644511, -1, 2, 125, 2, 38, 0, 3, -1, 2, 126, 2, 39, 2, 0, 0, 67045375, 2, 40, 0, 4226678271, 0, 3766565279, 0, 2039759, -4, 3, 0, 2, 0, 3288270847, 0, 3, 3, 0, 2, 0, 67043519, -5, 2, 0, 0, 4282384383, 0, 1056964609, -1, 3, 0, 2, 0, 67043345, -1, 2, 0, 2, 41, 2, 42, -1, 2, 11, 2, 55, 2, 37, -5, 2, 0, 2, 12, -3, 3, 0, 2, 0, 2147484671, 2, 130, 0, 4190109695, 2, 49, -2, 2, 131, 0, 4244635647, 0, 27, 2, 0, 2, 8, 2, 43, 2, 0, 2, 63, 2, 18, 2, 0, 2, 41, -8, 2, 53, 2, 44, 0, 67043329, 2, 45, 2, 46, 0, 8388351, -2, 2, 132, 0, 3028287487, 2, 47, 2, 134, 0, 33259519, 2, 42, -9, 2, 21, 0, 4294836223, 0, 3355443199, 0, 67043335, -2, 2, 64, -2, 3, 0, 28, 2, 32, -3, 3, 0, 3, 2, 17, 3, 0, 6, 2, 78, -81, 2, 18, 3, 0, 2, 2, 36, 3, 0, 33, 2, 25, 2, 30, -125, 3, 0, 18, 2, 37, -269, 3, 0, 17, 2, 41, 2, 8, 2, 23, 2, 0, 2, 8, 2, 23, 2, 48, 2, 0, 2, 21, 2, 49, 2, 135, 2, 25, -21, 3, 0, 2, -4, 3, 0, 2, 0, 4294936575, 2, 0, 0, 4294934783, -2, 0, 196635, 3, 0, 191, 2, 50, 3, 0, 38, 2, 30, -1, 2, 34, -278, 2, 136, 3, 0, 9, 2, 137, 2, 138, 2, 51, 3, 0, 11, 2, 7, -72, 3, 0, 3, 2, 139, 0, 1677656575, -147, 2, 0, 2, 24, 2, 37, -16, 0, 4161266656, 0, 4071, 2, 201, -4, 0, 28, -13, 3, 0, 2, 2, 52, 2, 0, 2, 141, 2, 142, 2, 56, 2, 0, 2, 143, 2, 144, 2, 145, 3, 0, 10, 2, 146, 2, 147, 2, 22, 3, 52, 2, 3, 148, 2, 3, 53, 2, 0, 4294954999, 2, 0, -16, 2, 0, 2, 89, 2, 0, 0, 2105343, 0, 4160749584, 2, 174, -34, 2, 8, 2, 150, -6, 0, 4194303871, 0, 4294903771, 2, 0, 2, 54, 2, 97, -3, 2, 0, 0, 1073684479, 0, 17407, -9, 2, 18, 2, 17, 2, 0, 2, 32, -14, 2, 18, 2, 32, -23, 2, 151, 3, 0, 6, 0, 8323103, -1, 3, 0, 2, 2, 55, -37, 2, 56, 2, 152, 2, 153, 2, 154, 2, 155, 2, 156, -105, 2, 26, -32, 3, 0, 1335, -1, 3, 0, 129, 2, 32, 3, 0, 6, 2, 10, 3, 0, 180, 2, 157, 3, 0, 233, 2, 158, 3, 0, 18, 2, 10, -77, 3, 0, 16, 2, 10, -47, 3, 0, 154, 2, 6, 3, 0, 130, 2, 25, -22250, 3, 0, 7, 2, 25, -6130, 3, 5, 2, -1, 0, 69207040, 3, 44, 2, 3, 0, 14, 2, 57, 2, 58, -3, 0, 3168731136, 0, 4294956864, 2, 1, 2, 0, 2, 59, 3, 0, 4, 0, 4294966275, 3, 0, 4, 2, 16, 2, 60, 2, 0, 2, 34, -1, 2, 18, 2, 61, -1, 2, 0, 0, 2047, 0, 4294885376, 3, 0, 2, 0, 3145727, 0, 2617294944, 0, 4294770688, 2, 25, 2, 62, 3, 0, 2, 0, 131135, 2, 95, 0, 70256639, 0, 71303167, 0, 272, 2, 41, 2, 6, 0, 32511, 2, 0, 2, 42, -1, 2, 96, 2, 63, 0, 4278255616, 0, 4294836227, 0, 4294549473, 0, 600178175, 0, 2952806400, 0, 268632067, 0, 4294543328, 0, 57540095, 0, 1577058304, 0, 1835008, 0, 4294688736, 2, 65, 2, 64, 0, 33554435, 2, 127, 2, 65, 2, 160, 0, 131075, 0, 3594373096, 0, 67094296, 2, 64, -1, 0, 4294828000, 0, 603979263, 0, 654311424, 0, 3, 0, 4294828001, 0, 602930687, 2, 167, 0, 393219, 0, 4294828016, 0, 671088639, 0, 2154840064, 0, 4227858435, 0, 4236247008, 2, 66, 2, 37, -1, 2, 4, 0, 917503, 2, 37, -1, 2, 67, 0, 537788335, 0, 4026531935, -1, 0, 1, -1, 2, 33, 2, 68, 0, 7936, -3, 2, 0, 0, 2147485695, 0, 1010761728, 0, 4292984930, 0, 16387, 2, 0, 2, 15, 2, 22, 3, 0, 10, 2, 69, 2, 0, 2, 70, 2, 71, 2, 72, 2, 0, 2, 73, 2, 0, 2, 12, -1, 2, 25, 3, 0, 2, 2, 13, 2, 4, 3, 0, 18, 2, 74, 2, 5, 3, 0, 2, 2, 75, 0, 2147745791, 3, 19, 2, 0, 122879, 2, 0, 2, 9, 0, 276824064, -2, 3, 0, 2, 2, 41, 2, 0, 0, 4294903295, 2, 0, 2, 30, 2, 8, -1, 2, 18, 2, 48, 2, 0, 2, 76, 2, 42, -1, 2, 21, 2, 0, 2, 29, -2, 0, 128, -2, 2, 28, 2, 9, 0, 8160, -1, 2, 124, 0, 4227907585, 2, 0, 2, 77, 2, 0, 2, 78, 2, 180, 2, 10, 2, 39, 2, 11, -1, 0, 74440192, 3, 0, 6, -2, 3, 0, 8, 2, 13, 2, 0, 2, 79, 2, 10, 2, 0, 2, 80, 2, 81, 2, 82, -3, 2, 83, 2, 14, -3, 2, 84, 2, 85, 2, 86, 2, 0, 2, 34, -83, 3, 0, 7, 0, 817183, 2, 0, 2, 15, 2, 0, 0, 33023, 2, 21, 3, 87, 2, -17, 2, 88, 0, 524157950, 2, 4, 2, 0, 2, 89, 2, 4, 2, 0, 2, 22, 2, 28, 2, 16, 3, 0, 2, 2, 17, 2, 0, -1, 2, 18, -16, 3, 0, 206, -2, 3, 0, 692, 2, 68, -1, 2, 18, 2, 10, 3, 0, 8, 2, 90, 0, 3072, 2, 0, 0, 2147516415, 2, 10, 3, 0, 2, 2, 25, 2, 91, 2, 92, 3, 0, 2, 2, 93, 2, 0, 2, 94, 2, 45, 0, 4294965179, 0, 7, 2, 0, 2, 9, 2, 92, 2, 9, -1, 0, 1761345536, 2, 95, 0, 4294901823, 2, 37, 2, 20, 2, 96, 2, 35, 2, 97, 0, 2080440287, 2, 0, 2, 34, 2, 149, 0, 3296722943, 2, 0, 0, 1046675455, 0, 939524101, 0, 1837055, 2, 98, 2, 99, 2, 22, 2, 23, 3, 0, 3, 0, 7, 3, 0, 349, 2, 100, 2, 101, 2, 7, -264, 3, 0, 11, 2, 24, 3, 0, 2, 2, 32, -1, 0, 2700607615, 2, 102, 2, 103, 3, 0, 2, 2, 19, 2, 104, 3, 0, 10, 2, 10, 2, 18, 2, 0, 2, 46, 2, 0, 2, 31, 2, 105, -3, 2, 106, 3, 0, 3, 2, 20, -1, 3, 5, 2, 2, 107, 2, 0, 2, 8, 2, 108, -1, 2, 109, 2, 110, 2, 111, -1, 3, 0, 3, 2, 12, -2, 2, 0, 2, 29, -8, 2, 20, 2, 0, 2, 36, -1, 2, 0, 2, 62, 2, 6, 2, 30, 2, 10, 2, 0, 2, 112, -1, 3, 0, 4, 2, 10, 2, 18, 2, 113, 2, 7, 2, 0, 2, 114, 2, 0, 2, 115, 2, 116, 2, 117, -2, 3, 0, 9, 2, 21, 2, 30, 2, 31, 2, 118, 2, 119, -2, 2, 120, 2, 121, 2, 30, 2, 21, 2, 8, -2, 2, 122, 2, 30, 2, 32, -2, 2, 0, 2, 38, -2, 0, 4277075969, 2, 30, -1, 3, 20, 2, -1, 2, 33, 2, 123, 2, 0, 3, 30, 2, 2, 35, 2, 19, -3, 3, 0, 2, 2, 34, -1, 2, 0, 2, 35, 2, 0, 2, 35, 2, 0, 2, 78, -10, 2, 0, 0, 197631, -2, 2, 20, 2, 43, 2, 77, 2, 18, 0, 3, 2, 18, 2, 123, 2, 21, 2, 124, 2, 50, -1, 0, 2490368, 2, 124, 2, 25, 2, 18, 2, 34, 2, 124, 2, 37, 0, 4294901904, 0, 4718591, 2, 124, 2, 35, 0, 335544350, -1, 2, 125, 0, 2147487743, 0, 1, -1, 2, 126, 2, 39, 2, 8, -1, 2, 127, 2, 65, 0, 3758161920, 0, 3, -4, 2, 0, 2, 29, 0, 2147485568, 0, 3, 2, 0, 2, 25, 0, 176, -5, 2, 0, 2, 17, 2, 188, -1, 2, 0, 2, 25, 2, 205, -1, 2, 0, 0, 16779263, -2, 2, 12, -1, 2, 37, -5, 2, 0, 2, 128, -3, 3, 0, 2, 2, 129, 2, 130, 0, 2147549183, 0, 2, -2, 2, 131, 2, 36, 0, 10, 0, 4294965249, 0, 67633151, 0, 4026597376, 2, 0, 0, 536871935, 2, 18, 2, 0, 2, 41, -8, 2, 53, 2, 17, 0, 1, 2, 45, 2, 25, -3, 2, 132, 2, 36, 2, 133, 2, 134, 0, 16778239, -10, 2, 35, 0, 4294836212, 2, 9, -3, 2, 64, -2, 3, 0, 28, 2, 32, -3, 3, 0, 3, 2, 17, 3, 0, 6, 2, 78, -81, 2, 18, 3, 0, 2, 2, 36, 3, 0, 33, 2, 25, 0, 126, -125, 3, 0, 18, 2, 37, -269, 3, 0, 17, 2, 41, 2, 8, 2, 18, 2, 0, 2, 8, 2, 18, 2, 54, 2, 0, 2, 25, 2, 78, 2, 135, 2, 25, -21, 3, 0, 2, -4, 3, 0, 2, 0, 67583, -1, 2, 104, -2, 0, 11, 3, 0, 191, 2, 50, 3, 0, 38, 2, 30, -1, 2, 34, -278, 2, 136, 3, 0, 9, 2, 137, 2, 138, 2, 51, 3, 0, 11, 2, 7, -72, 3, 0, 3, 2, 139, 2, 140, -187, 3, 0, 2, 2, 52, 2, 0, 2, 141, 2, 142, 2, 56, 2, 0, 2, 143, 2, 144, 2, 145, 3, 0, 10, 2, 146, 2, 147, 2, 22, 3, 52, 2, 3, 148, 2, 3, 53, 2, 2, 149, -57, 2, 8, 2, 150, -7, 2, 18, 2, 0, 2, 54, -4, 2, 0, 0, 1065361407, 0, 16384, -9, 2, 18, 2, 54, 2, 0, 2, 128, -14, 2, 18, 2, 128, -23, 2, 151, 3, 0, 6, 2, 123, -1, 3, 0, 2, 0, 2063, -37, 2, 56, 2, 152, 2, 153, 2, 154, 2, 155, 2, 156, -138, 3, 0, 1335, -1, 3, 0, 129, 2, 32, 3, 0, 6, 2, 10, 3, 0, 180, 2, 157, 3, 0, 233, 2, 158, 3, 0, 18, 2, 10, -77, 3, 0, 16, 2, 10, -47, 3, 0, 154, 2, 6, 3, 0, 130, 2, 25, -28386, 2, 0, 0, 1, -1, 2, 129, 2, 0, 0, 8193, -21, 2, 198, 0, 10255, 0, 4, -11, 2, 64, 2, 179, -1, 0, 71680, -1, 2, 171, 0, 4292900864, 0, 268435519, -5, 2, 159, -1, 2, 169, -1, 0, 6144, -2, 2, 45, -1, 2, 163, -1, 0, 2147532800, 2, 160, 2, 166, 0, 16744448, -2, 0, 4, -4, 2, 194, 0, 205128192, 0, 1333757536, 0, 2147483696, 0, 423953, 0, 747766272, 0, 2717763192, 0, 4286578751, 0, 278545, 2, 161, 0, 4294886464, 0, 33292336, 0, 417809, 2, 161, 0, 1327482464, 0, 4278190128, 0, 700594195, 0, 1006647527, 0, 4286497336, 0, 4160749631, 2, 162, 0, 201327104, 0, 3634348576, 0, 8323120, 2, 162, 0, 202375680, 0, 2678047264, 0, 4293984304, 2, 162, -1, 0, 983584, 0, 48, 0, 58720273, 0, 3489923072, 0, 10517376, 0, 4293066815, 0, 1, 0, 2013265920, 2, 182, 2, 0, 0, 2089, 0, 3221225552, 0, 201359520, 2, 0, -2, 0, 256, 0, 122880, 0, 16777216, 2, 159, 0, 4160757760, 2, 0, -6, 2, 176, -11, 0, 3263218176, -1, 0, 49664, 0, 2160197632, 0, 8388802, -1, 0, 12713984, -1, 2, 163, 2, 164, 2, 183, -2, 2, 172, -20, 0, 3758096385, -2, 2, 165, 2, 191, 2, 91, 2, 177, 0, 4294057984, -2, 2, 173, 2, 168, 0, 4227874816, -2, 2, 165, -1, 2, 166, -1, 2, 178, 2, 129, 0, 4026593280, 0, 14, 0, 4292919296, -1, 2, 175, 0, 939588608, -1, 0, 805306368, -1, 2, 129, 2, 167, 2, 168, 2, 169, 2, 207, 2, 0, -2, 2, 170, 2, 129, -3, 0, 267386880, -1, 0, 117440512, 0, 7168, -1, 2, 210, 2, 163, 2, 171, 2, 184, -16, 2, 172, -1, 0, 1426112704, 2, 173, -1, 2, 192, 0, 271581216, 0, 2149777408, 2, 25, 2, 171, 2, 129, 0, 851967, 2, 185, -1, 2, 174, 2, 186, -4, 2, 175, -20, 2, 197, 2, 204, -56, 0, 3145728, 2, 187, -10, 0, 32505856, -1, 2, 176, -1, 0, 2147385088, 2, 91, 1, 2155905152, 2, -3, 2, 173, 2, 0, 0, 67108864, -2, 2, 177, -6, 2, 178, 2, 25, 0, 1, -1, 0, 1, -1, 2, 179, -3, 2, 123, 2, 64, -2, 2, 97, -2, 0, 32752, 2, 129, -915, 2, 170, -1, 2, 203, -10, 2, 190, -5, 2, 181, -6, 0, 4229232640, 2, 19, -1, 2, 180, -1, 2, 181, -2, 0, 4227874752, -3, 0, 2146435072, 2, 164, -2, 0, 1006649344, 2, 129, -1, 2, 91, 0, 201375744, -3, 0, 134217720, 2, 91, 0, 4286677377, 0, 32896, -1, 2, 175, -3, 0, 4227907584, -349, 0, 65520, 0, 1920, 2, 182, 3, 0, 264, -11, 2, 169, -2, 2, 183, 2, 0, 0, 520617856, 0, 2692743168, 0, 36, -3, 0, 524280, -13, 2, 189, -1, 0, 4294934272, 2, 25, 2, 183, -1, 2, 213, 0, 2158720, -3, 2, 164, 0, 1, -4, 2, 129, 0, 3808625411, 0, 3489628288, 0, 4096, 0, 1207959680, 0, 3221274624, 2, 0, -3, 2, 184, 0, 120, 0, 7340032, -2, 2, 185, 2, 4, 2, 25, 2, 173, 3, 0, 4, 2, 164, -1, 2, 186, 2, 182, -1, 0, 8176, 2, 166, 2, 184, 2, 211, -1, 0, 4290773232, 2, 0, -4, 2, 173, 2, 193, 0, 15728640, 2, 182, -1, 2, 171, -1, 0, 134250480, 0, 4720640, 0, 3825467396, 3, 0, 2, -9, 2, 91, 2, 178, 0, 4294967040, 2, 133, 0, 4160880640, 3, 0, 2, 0, 704, 0, 1849688064, 2, 187, -1, 2, 129, 0, 4294901887, 2, 0, 0, 130547712, 0, 1879048192, 2, 208, 3, 0, 2, -1, 2, 188, 2, 189, -1, 0, 17829776, 0, 2025848832, 2, 212, -2, 2, 0, -1, 0, 4286580608, -1, 0, 29360128, 2, 196, 0, 16252928, 0, 3791388672, 2, 39, 3, 0, 2, -2, 2, 202, 2, 0, -1, 2, 104, -1, 0, 66584576, -1, 2, 195, 3, 0, 9, 2, 129, -1, 0, 4294755328, 2, 0, 2, 20, -1, 2, 171, 2, 183, 2, 25, 2, 95, 2, 25, 2, 190, 2, 91, -2, 0, 245760, 2, 191, -1, 2, 159, 2, 199, 0, 4227923456, -1, 2, 192, 2, 171, 2, 91, -3, 0, 4292870145, 0, 262144, -1, 2, 92, 2, 0, 0, 1073758848, 2, 193, -1, 0, 4227921920, 2, 194, 0, 68289024, 0, 528402016, 0, 4292927536, 3, 0, 4, -2, 0, 268435456, 2, 92, -2, 2, 195, 3, 0, 5, -1, 2, 196, 2, 173, 2, 0, -2, 0, 4227923936, 2, 62, -1, 2, 183, 2, 95, 2, 0, 2, 163, 2, 175, 2, 197, 3, 0, 5, -1, 2, 182, 3, 0, 3, -2, 0, 2146959360, 0, 9440640, 0, 104857600, 0, 4227923840, 3, 0, 2, 0, 768, 2, 198, 2, 28, -2, 2, 171, -2, 2, 199, -1, 2, 165, 2, 95, 3, 0, 7, 0, 512, 0, 8388608, 2, 200, 2, 170, 2, 189, 0, 4286578944, 3, 0, 2, 0, 1152, 0, 1266679808, 2, 195, 0, 576, 0, 4261707776, 2, 95, 3, 0, 9, 2, 165, 0, 131072, 0, 939524096, 2, 183, 3, 0, 2, 2, 16, -1, 0, 2147221504, -28, 2, 183, 3, 0, 3, -3, 0, 4292902912, -6, 2, 96, 3, 0, 81, 2, 25, -2, 2, 104, -33, 2, 18, 2, 178, 3, 0, 125, -18, 2, 197, 3, 0, 269, -17, 2, 165, 2, 129, 2, 201, -1, 2, 129, 2, 193, 0, 4290822144, -2, 0, 67174336, 0, 520093700, 2, 18, 3, 0, 21, -2, 2, 184, 3, 0, 3, -2, 0, 30720, -1, 0, 32512, 3, 0, 2, 0, 4294770656, -191, 2, 181, -38, 2, 178, 2, 0, 2, 202, 3, 0, 278, 0, 2417033215, -9, 0, 4294705144, 0, 4292411391, 0, 65295, -11, 2, 182, 3, 0, 72, -3, 0, 3758159872, 0, 201391616, 3, 0, 147, -1, 2, 169, 2, 203, -3, 2, 96, 2, 0, -7, 2, 178, -1, 0, 384, -1, 0, 133693440, -3, 2, 204, -2, 2, 107, 3, 0, 3, 3, 177, 2, -2, 2, 91, 2, 165, 3, 0, 4, -2, 2, 192, -1, 2, 159, 0, 335552923, 2, 205, -1, 0, 538974272, 0, 2214592512, 0, 132000, -10, 0, 192, -8, 2, 206, -21, 0, 134213632, 2, 158, 3, 0, 34, 2, 129, 0, 4294965279, 3, 0, 6, 0, 100663424, 0, 63524, -1, 2, 209, 2, 148, 3, 0, 3, -1, 0, 3221282816, 0, 4294917120, 3, 0, 9, 2, 25, 2, 207, -1, 2, 208, 3, 0, 14, 2, 25, 2, 183, 3, 0, 23, 0, 2147520640, -6, 0, 4286578784, 2, 0, -2, 0, 1006694400, 3, 0, 24, 2, 36, -1, 0, 4292870144, 3, 0, 2, 0, 1, 2, 173, 3, 0, 6, 2, 205, 0, 4110942569, 0, 1432950139, 0, 2701658217, 0, 4026532864, 0, 4026532881, 2, 0, 2, 46, 3, 0, 8, -1, 2, 175, -2, 2, 177, 0, 98304, 0, 65537, 2, 178, -5, 2, 209, 2, 0, 2, 77, 2, 199, 2, 182, 0, 4294770176, 2, 107, 3, 0, 4, -30, 2, 188, 0, 3758153728, -3, 0, 125829120, -2, 2, 183, 0, 4294897664, 2, 175, -1, 2, 195, -1, 2, 171, 0, 4294754304, 3, 0, 2, -10, 2, 177, 0, 3758145536, 2, 210, 2, 211, 0, 4026548160, 2, 212, -4, 2, 213, -1, 2, 204, 0, 4227923967, 3, 0, 32, -1335, 2, 0, -129, 2, 183, -6, 2, 173, -180, 0, 65532, -233, 2, 174, -18, 2, 173, 3, 0, 77, -16, 2, 173, 3, 0, 47, -154, 2, 166, -130, 2, 18, 3, 0, 22250, -7, 2, 18, 3, 0, 6128], [4294967295, 4294967291, 4092460543, 4294828031, 4294967294, 134217726, 4294903807, 268435455, 2147483647, 1048575, 1073741823, 3892314111, 134217727, 1061158911, 536805376, 4294910143, 4294901759, 32767, 4294901760, 262143, 536870911, 8388607, 4160749567, 4294902783, 4294918143, 65535, 67043328, 2281701374, 4294967264, 2097151, 4194303, 255, 67108863, 4294967039, 511, 524287, 131071, 127, 3238002687, 4294902271, 4294549487, 33554431, 1023, 4294901888, 4286578687, 4294705152, 4294770687, 67043583, 2047999, 67043343, 16777215, 4294902000, 4292870143, 4294966783, 16383, 67047423, 4294967279, 262083, 20511, 4290772991, 41943039, 493567, 4294959104, 603979775, 65536, 602799615, 805044223, 4294965206, 8191, 1031749119, 4294917631, 2134769663, 4286578493, 4282253311, 4294942719, 33540095, 4294905855, 63, 15, 2868854591, 1608515583, 265232348, 534519807, 2147614720, 1060109444, 4093640016, 17376, 2139062143, 224, 4169138175, 4294909951, 4286578688, 4294967292, 4294965759, 65734655, 4294966272, 4294967280, 32768, 8289918, 4294934399, 4294901775, 4294965375, 1602223615, 4294967259, 4294443008, 268369920, 4292804608, 4294967232, 486341884, 4294963199, 3087007615, 1073692671, 4128527, 4279238655, 4294902015, 4160684047, 4290246655, 469499899, 4294967231, 134086655, 4294966591, 2445279231, 3670015, 31, 4294967288, 4294705151, 3221208447, 4294549472, 4095, 2147483648, 4285526655, 4294966527, 4294966143, 64, 4294966719, 3774873592, 1877934080, 262151, 2555904, 536807423, 67043839, 3758096383, 3959414372, 3755993023, 2080374783, 4294835295, 4294967103, 4160749565, 4294934527, 4087, 2016, 2147446655, 184024726, 2862017156, 1593309078, 268434431, 268434414, 4294901763, 4294901761, 536870912, 2952790016, 202506752, 139264, 402653184, 3758096384, 4261412864, 63488, 1610612736, 4227922944, 49152, 57344, 65280, 3233808384, 3221225472, 65534, 61440, 57152, 4293918720, 4290772992, 25165824, 4227915776, 4278190080, 4026531840, 4227858432, 4160749568, 3758129152, 4294836224, 4194304, 251658240, 196608, 4294963200, 2143289344, 2097152, 64512, 417808, 4227923712, 12582912, 4294967168, 50331648, 65528, 65472, 15360, 4294966784, 65408, 4294965248, 16, 12288, 4294934528, 2080374784, 4294950912, 65024, 1073741824, 4261477888, 524288]);
|
|
228
228
|
|
|
229
229
|
function advanceChar(parser) {
|
|
230
230
|
parser.column++;
|
|
@@ -1535,7 +1535,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
1535
1535
|
return 122;
|
|
1536
1536
|
}
|
|
1537
1537
|
if ((token & 20480) === 20480) {
|
|
1538
|
-
if (context &
|
|
1538
|
+
if (context & 268435456 && (context & 8192) === 0) {
|
|
1539
1539
|
return token;
|
|
1540
1540
|
}
|
|
1541
1541
|
else {
|
|
@@ -1544,12 +1544,12 @@ System.register('meriyah', [], (function (exports) {
|
|
|
1544
1544
|
}
|
|
1545
1545
|
return 143483;
|
|
1546
1546
|
}
|
|
1547
|
-
if (context &
|
|
1547
|
+
if (context & 268435456 &&
|
|
1548
1548
|
(context & 8192) === 0 &&
|
|
1549
1549
|
(token & 20480) === 20480)
|
|
1550
1550
|
return token;
|
|
1551
1551
|
if (token === 241773) {
|
|
1552
|
-
return context &
|
|
1552
|
+
return context & 268435456
|
|
1553
1553
|
? 143483
|
|
1554
1554
|
: context & 2097152
|
|
1555
1555
|
? 121
|
|
@@ -4368,10 +4368,9 @@ System.register('meriyah', [], (function (exports) {
|
|
|
4368
4368
|
return parser.token;
|
|
4369
4369
|
}
|
|
4370
4370
|
|
|
4371
|
-
function matchOrInsertSemicolon(parser, context
|
|
4371
|
+
function matchOrInsertSemicolon(parser, context) {
|
|
4372
4372
|
if ((parser.flags & 1) === 0 &&
|
|
4373
|
-
(parser.token & 1048576) !== 1048576
|
|
4374
|
-
!specDeviation) {
|
|
4373
|
+
(parser.token & 1048576) !== 1048576) {
|
|
4375
4374
|
report(parser, 28, KeywordDescTable[parser.token & 255]);
|
|
4376
4375
|
}
|
|
4377
4376
|
if (!consumeOpt(parser, context, 1074790417)) {
|
|
@@ -4707,12 +4706,11 @@ System.register('meriyah', [], (function (exports) {
|
|
|
4707
4706
|
(t & 12288) === 12288 ||
|
|
4708
4707
|
(t & 36864) === 36864);
|
|
4709
4708
|
}
|
|
4710
|
-
function classifyIdentifier(parser, context, t
|
|
4709
|
+
function classifyIdentifier(parser, context, t) {
|
|
4711
4710
|
if ((t & 537079808) === 537079808) {
|
|
4712
4711
|
if (context & 1024)
|
|
4713
4712
|
report(parser, 116);
|
|
4714
|
-
|
|
4715
|
-
parser.flags |= 512;
|
|
4713
|
+
parser.flags |= 512;
|
|
4716
4714
|
}
|
|
4717
4715
|
if (!isValidIdentifier(context, t))
|
|
4718
4716
|
report(parser, 0);
|
|
@@ -4763,7 +4761,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
4763
4761
|
if (options.ranges)
|
|
4764
4762
|
context |= 2;
|
|
4765
4763
|
if (options.uniqueKeyInPattern)
|
|
4766
|
-
context |=
|
|
4764
|
+
context |= 536870912;
|
|
4767
4765
|
if (options.lexical)
|
|
4768
4766
|
context |= 64;
|
|
4769
4767
|
if (options.webcompat)
|
|
@@ -4780,10 +4778,6 @@ System.register('meriyah', [], (function (exports) {
|
|
|
4780
4778
|
context |= 1024;
|
|
4781
4779
|
if (options.jsx)
|
|
4782
4780
|
context |= 16;
|
|
4783
|
-
if (options.identifierPattern)
|
|
4784
|
-
context |= 268435456;
|
|
4785
|
-
if (options.specDeviation)
|
|
4786
|
-
context |= 536870912;
|
|
4787
4781
|
if (options.source)
|
|
4788
4782
|
sourceFile = options.source;
|
|
4789
4783
|
if (options.onComment != null) {
|
|
@@ -4835,7 +4829,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
4835
4829
|
return node;
|
|
4836
4830
|
}
|
|
4837
4831
|
function parseStatementList(parser, context, scope) {
|
|
4838
|
-
nextToken(parser, context | 32768 |
|
|
4832
|
+
nextToken(parser, context | 32768 | 268435456);
|
|
4839
4833
|
const statements = [];
|
|
4840
4834
|
while (parser.token === 134283267) {
|
|
4841
4835
|
const { index, tokenPos, tokenValue, linePos, colPos, token } = parser;
|
|
@@ -4968,14 +4962,14 @@ System.register('meriyah', [], (function (exports) {
|
|
|
4968
4962
|
let expr;
|
|
4969
4963
|
switch (token) {
|
|
4970
4964
|
case 241739:
|
|
4971
|
-
expr = parseIdentifier(parser, context
|
|
4965
|
+
expr = parseIdentifier(parser, context);
|
|
4972
4966
|
if (context & 1024)
|
|
4973
4967
|
report(parser, 83);
|
|
4974
4968
|
if (parser.token === 69271571)
|
|
4975
4969
|
report(parser, 82);
|
|
4976
4970
|
break;
|
|
4977
4971
|
default:
|
|
4978
|
-
expr = parsePrimaryExpression(parser, context, 2, 0, 1, 0,
|
|
4972
|
+
expr = parsePrimaryExpression(parser, context, 2, 0, 1, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
|
|
4979
4973
|
}
|
|
4980
4974
|
if (token & 143360 && parser.token === 21) {
|
|
4981
4975
|
return parseLabelledStatement(parser, context, scope, origin, labels, tokenValue, expr, token, allowFuncDecl, start, line, column);
|
|
@@ -5037,7 +5031,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5037
5031
|
}
|
|
5038
5032
|
function parseAsyncArrowOrAsyncFunctionDeclaration(parser, context, scope, origin, labels, allowFuncDecl, start, line, column) {
|
|
5039
5033
|
const { token, tokenValue } = parser;
|
|
5040
|
-
let expr = parseIdentifier(parser, context
|
|
5034
|
+
let expr = parseIdentifier(parser, context);
|
|
5041
5035
|
if (parser.token === 21) {
|
|
5042
5036
|
return parseLabelledStatement(parser, context, scope, origin, labels, tokenValue, expr, token, 1, start, line, column);
|
|
5043
5037
|
}
|
|
@@ -5060,7 +5054,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5060
5054
|
}
|
|
5061
5055
|
else {
|
|
5062
5056
|
if (parser.token === 10) {
|
|
5063
|
-
classifyIdentifier(parser, context, token
|
|
5057
|
+
classifyIdentifier(parser, context, token);
|
|
5064
5058
|
expr = parseArrowFromIdentifier(parser, context, parser.tokenValue, expr, 0, 1, 0, start, line, column);
|
|
5065
5059
|
}
|
|
5066
5060
|
parser.assignable = 1;
|
|
@@ -5205,7 +5199,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5205
5199
|
let label = null;
|
|
5206
5200
|
if ((parser.flags & 1) === 0 && parser.token & 143360) {
|
|
5207
5201
|
const { tokenValue } = parser;
|
|
5208
|
-
label = parseIdentifier(parser, context | 32768
|
|
5202
|
+
label = parseIdentifier(parser, context | 32768);
|
|
5209
5203
|
if (!isValidLabel(parser, labels, tokenValue, 1))
|
|
5210
5204
|
report(parser, 135, tokenValue);
|
|
5211
5205
|
}
|
|
@@ -5220,7 +5214,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5220
5214
|
let label = null;
|
|
5221
5215
|
if ((parser.flags & 1) === 0 && parser.token & 143360) {
|
|
5222
5216
|
const { tokenValue } = parser;
|
|
5223
|
-
label = parseIdentifier(parser, context | 32768
|
|
5217
|
+
label = parseIdentifier(parser, context | 32768);
|
|
5224
5218
|
if (!isValidLabel(parser, labels, tokenValue, 0))
|
|
5225
5219
|
report(parser, 135, tokenValue);
|
|
5226
5220
|
}
|
|
@@ -5331,7 +5325,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5331
5325
|
}
|
|
5332
5326
|
function parseLetIdentOrVarDeclarationStatement(parser, context, scope, origin, start, line, column) {
|
|
5333
5327
|
const { token, tokenValue } = parser;
|
|
5334
|
-
let expr = parseIdentifier(parser, context
|
|
5328
|
+
let expr = parseIdentifier(parser, context);
|
|
5335
5329
|
if (parser.token & (143360 | 2097152)) {
|
|
5336
5330
|
const declarations = parseVariableDeclarationList(parser, context, scope, 8, 0);
|
|
5337
5331
|
matchOrInsertSemicolon(parser, context | 32768);
|
|
@@ -5401,7 +5395,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5401
5395
|
const id = parseBindingPattern(parser, context, scope, kind, origin, tokenPos, linePos, colPos);
|
|
5402
5396
|
if (parser.token === 1077936157) {
|
|
5403
5397
|
nextToken(parser, context | 32768);
|
|
5404
|
-
init = parseExpression(parser, context, 1, 0,
|
|
5398
|
+
init = parseExpression(parser, context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
5405
5399
|
if (origin & 32 || (token & 2097152) === 0) {
|
|
5406
5400
|
if (parser.token === 274549 ||
|
|
5407
5401
|
(parser.token === 8738868 &&
|
|
@@ -5436,7 +5430,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5436
5430
|
const { token, tokenPos, linePos, colPos } = parser;
|
|
5437
5431
|
if (isVarDecl) {
|
|
5438
5432
|
if (token === 241739) {
|
|
5439
|
-
init = parseIdentifier(parser, context
|
|
5433
|
+
init = parseIdentifier(parser, context);
|
|
5440
5434
|
if (parser.token & (143360 | 2097152)) {
|
|
5441
5435
|
if (parser.token === 8738868) {
|
|
5442
5436
|
if (context & 1024)
|
|
@@ -5504,7 +5498,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5504
5498
|
report(parser, 78, forAwait ? 'await' : 'of');
|
|
5505
5499
|
reinterpretToPattern(parser, init);
|
|
5506
5500
|
nextToken(parser, context | 32768);
|
|
5507
|
-
right = parseExpression(parser, context, 1, 0,
|
|
5501
|
+
right = parseExpression(parser, context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
5508
5502
|
consume(parser, context | 32768, 16);
|
|
5509
5503
|
const body = parseIterationStatementBody(parser, context, scope, labels);
|
|
5510
5504
|
return finishNode(parser, context, start, line, column, {
|
|
@@ -5564,7 +5558,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5564
5558
|
report(parser, 116);
|
|
5565
5559
|
if (scope)
|
|
5566
5560
|
addBlockName(parser, context, scope, parser.tokenValue, 8, 0);
|
|
5567
|
-
return parseIdentifier(parser, context
|
|
5561
|
+
return parseIdentifier(parser, context);
|
|
5568
5562
|
}
|
|
5569
5563
|
function parseImportDeclaration(parser, context, scope) {
|
|
5570
5564
|
const start = parser.tokenPos;
|
|
@@ -5637,7 +5631,9 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5637
5631
|
});
|
|
5638
5632
|
}
|
|
5639
5633
|
function parseModuleSpecifier(parser, context) {
|
|
5640
|
-
consumeOpt(parser, context, 12404)
|
|
5634
|
+
if (!consumeOpt(parser, context, 12404)) {
|
|
5635
|
+
report(parser, 28, KeywordDescTable[parser.token & 255]);
|
|
5636
|
+
}
|
|
5641
5637
|
if (parser.token !== 134283267)
|
|
5642
5638
|
report(parser, 103, 'Import');
|
|
5643
5639
|
return parseLiteral(parser, context);
|
|
@@ -5646,7 +5642,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5646
5642
|
nextToken(parser, context);
|
|
5647
5643
|
while (parser.token & 143360) {
|
|
5648
5644
|
let { token, tokenValue, tokenPos, linePos, colPos } = parser;
|
|
5649
|
-
const imported = parseIdentifier(parser, context
|
|
5645
|
+
const imported = parseIdentifier(parser, context);
|
|
5650
5646
|
let local;
|
|
5651
5647
|
if (consumeOpt(parser, context, 77934)) {
|
|
5652
5648
|
if ((parser.token & 134217728) === 134217728 || parser.token === 18) {
|
|
@@ -5656,7 +5652,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5656
5652
|
validateBindingIdentifier(parser, context, 16, parser.token, 0);
|
|
5657
5653
|
}
|
|
5658
5654
|
tokenValue = parser.tokenValue;
|
|
5659
|
-
local = parseIdentifier(parser, context
|
|
5655
|
+
local = parseIdentifier(parser, context);
|
|
5660
5656
|
}
|
|
5661
5657
|
else {
|
|
5662
5658
|
validateBindingIdentifier(parser, context, 16, token, 0);
|
|
@@ -5716,7 +5712,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5716
5712
|
break;
|
|
5717
5713
|
case 209007:
|
|
5718
5714
|
const { tokenPos, linePos, colPos } = parser;
|
|
5719
|
-
declaration = parseIdentifier(parser, context
|
|
5715
|
+
declaration = parseIdentifier(parser, context);
|
|
5720
5716
|
const { flags } = parser;
|
|
5721
5717
|
if ((flags & 1) === 0) {
|
|
5722
5718
|
if (parser.token === 86106) {
|
|
@@ -5731,14 +5727,14 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5731
5727
|
else if (parser.token & 143360) {
|
|
5732
5728
|
if (scope)
|
|
5733
5729
|
scope = createArrowHeadParsingScope(parser, context, parser.tokenValue);
|
|
5734
|
-
declaration = parseIdentifier(parser, context
|
|
5730
|
+
declaration = parseIdentifier(parser, context);
|
|
5735
5731
|
declaration = parseArrowFunctionExpression(parser, context, scope, [declaration], 1, tokenPos, linePos, colPos);
|
|
5736
5732
|
}
|
|
5737
5733
|
}
|
|
5738
5734
|
}
|
|
5739
5735
|
break;
|
|
5740
5736
|
default:
|
|
5741
|
-
declaration = parseExpression(parser, context, 1, 0,
|
|
5737
|
+
declaration = parseExpression(parser, context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
5742
5738
|
matchOrInsertSemicolon(parser, context | 32768);
|
|
5743
5739
|
}
|
|
5744
5740
|
if (scope)
|
|
@@ -5756,7 +5752,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5756
5752
|
if (isNamedDeclaration) {
|
|
5757
5753
|
if (scope)
|
|
5758
5754
|
declareUnboundVariable(parser, parser.tokenValue);
|
|
5759
|
-
exported = parseIdentifier(parser, context
|
|
5755
|
+
exported = parseIdentifier(parser, context);
|
|
5760
5756
|
}
|
|
5761
5757
|
consume(parser, context, 12404);
|
|
5762
5758
|
if (parser.token !== 134283267)
|
|
@@ -5775,7 +5771,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5775
5771
|
const tmpExportedBindings = [];
|
|
5776
5772
|
while (parser.token & 143360) {
|
|
5777
5773
|
const { tokenPos, tokenValue, linePos, colPos } = parser;
|
|
5778
|
-
const local = parseIdentifier(parser, context
|
|
5774
|
+
const local = parseIdentifier(parser, context);
|
|
5779
5775
|
let exported;
|
|
5780
5776
|
if (parser.token === 77934) {
|
|
5781
5777
|
nextToken(parser, context);
|
|
@@ -5786,7 +5782,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5786
5782
|
tmpExportedNames.push(parser.tokenValue);
|
|
5787
5783
|
tmpExportedBindings.push(tokenValue);
|
|
5788
5784
|
}
|
|
5789
|
-
exported = parseIdentifier(parser, context
|
|
5785
|
+
exported = parseIdentifier(parser, context);
|
|
5790
5786
|
}
|
|
5791
5787
|
else {
|
|
5792
5788
|
if (scope) {
|
|
@@ -5860,15 +5856,15 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5860
5856
|
source
|
|
5861
5857
|
});
|
|
5862
5858
|
}
|
|
5863
|
-
function parseExpression(parser, context, canAssign,
|
|
5864
|
-
let expr = parsePrimaryExpression(parser, context, 2, 0, canAssign,
|
|
5859
|
+
function parseExpression(parser, context, canAssign, inGroup, start, line, column) {
|
|
5860
|
+
let expr = parsePrimaryExpression(parser, context, 2, 0, canAssign, inGroup, 1, start, line, column);
|
|
5865
5861
|
expr = parseMemberOrUpdateExpression(parser, context, expr, inGroup, 0, start, line, column);
|
|
5866
5862
|
return parseAssignmentExpression(parser, context, inGroup, 0, start, line, column, expr);
|
|
5867
5863
|
}
|
|
5868
5864
|
function parseSequenceExpression(parser, context, inGroup, start, line, column, expr) {
|
|
5869
5865
|
const expressions = [expr];
|
|
5870
5866
|
while (consumeOpt(parser, context | 32768, 18)) {
|
|
5871
|
-
expressions.push(parseExpression(parser, context, 1,
|
|
5867
|
+
expressions.push(parseExpression(parser, context, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos));
|
|
5872
5868
|
}
|
|
5873
5869
|
return finishNode(parser, context, start, line, column, {
|
|
5874
5870
|
type: 'SequenceExpression',
|
|
@@ -5876,7 +5872,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5876
5872
|
});
|
|
5877
5873
|
}
|
|
5878
5874
|
function parseExpressions(parser, context, inGroup, canAssign, start, line, column) {
|
|
5879
|
-
const expr = parseExpression(parser, context, canAssign,
|
|
5875
|
+
const expr = parseExpression(parser, context, canAssign, inGroup, start, line, column);
|
|
5880
5876
|
return parser.token === 18
|
|
5881
5877
|
? parseSequenceExpression(parser, context, inGroup, start, line, column, expr)
|
|
5882
5878
|
: expr;
|
|
@@ -5891,7 +5887,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5891
5887
|
reinterpretToPattern(parser, left);
|
|
5892
5888
|
}
|
|
5893
5889
|
nextToken(parser, context | 32768);
|
|
5894
|
-
const right = parseExpression(parser, context, 1,
|
|
5890
|
+
const right = parseExpression(parser, context, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
|
|
5895
5891
|
parser.assignable = 2;
|
|
5896
5892
|
return finishNode(parser, context, start, line, column, isPattern
|
|
5897
5893
|
? {
|
|
@@ -5917,7 +5913,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5917
5913
|
function parseAssignmentExpressionOrPattern(parser, context, inGroup, isPattern, start, line, column, left) {
|
|
5918
5914
|
const { token } = parser;
|
|
5919
5915
|
nextToken(parser, context | 32768);
|
|
5920
|
-
const right = parseExpression(parser, context, 1,
|
|
5916
|
+
const right = parseExpression(parser, context, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
|
|
5921
5917
|
left = finishNode(parser, context, start, line, column, isPattern
|
|
5922
5918
|
? {
|
|
5923
5919
|
type: 'AssignmentPattern',
|
|
@@ -5934,10 +5930,10 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5934
5930
|
return left;
|
|
5935
5931
|
}
|
|
5936
5932
|
function parseConditionalExpression(parser, context, test, start, line, column) {
|
|
5937
|
-
const consequent = parseExpression(parser, (context | 134217728) ^ 134217728, 1, 0,
|
|
5933
|
+
const consequent = parseExpression(parser, (context | 134217728) ^ 134217728, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
5938
5934
|
consume(parser, context | 32768, 21);
|
|
5939
5935
|
parser.assignable = 1;
|
|
5940
|
-
const alternate = parseExpression(parser, context, 1, 0,
|
|
5936
|
+
const alternate = parseExpression(parser, context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
5941
5937
|
parser.assignable = 2;
|
|
5942
5938
|
return finishNode(parser, context, start, line, column, {
|
|
5943
5939
|
type: 'ConditionalExpression',
|
|
@@ -5995,9 +5991,9 @@ System.register('meriyah', [], (function (exports) {
|
|
|
5995
5991
|
prefix: true
|
|
5996
5992
|
});
|
|
5997
5993
|
}
|
|
5998
|
-
function parseAsyncExpression(parser, context, inGroup, isLHS, canAssign,
|
|
5994
|
+
function parseAsyncExpression(parser, context, inGroup, isLHS, canAssign, inNew, start, line, column) {
|
|
5999
5995
|
const { token } = parser;
|
|
6000
|
-
const expr = parseIdentifier(parser, context
|
|
5996
|
+
const expr = parseIdentifier(parser, context);
|
|
6001
5997
|
const { flags } = parser;
|
|
6002
5998
|
if ((flags & 1) === 0) {
|
|
6003
5999
|
if (parser.token === 86106) {
|
|
@@ -6013,7 +6009,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6013
6009
|
return parseAsyncArrowOrCallExpression(parser, context, expr, canAssign, 1, 0, flags, start, line, column);
|
|
6014
6010
|
}
|
|
6015
6011
|
if (parser.token === 10) {
|
|
6016
|
-
classifyIdentifier(parser, context, token
|
|
6012
|
+
classifyIdentifier(parser, context, token);
|
|
6017
6013
|
if (inNew)
|
|
6018
6014
|
report(parser, 49);
|
|
6019
6015
|
return parseArrowFromIdentifier(parser, context, parser.tokenValue, expr, inNew, canAssign, 0, start, line, column);
|
|
@@ -6037,7 +6033,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6037
6033
|
if ((parser.flags & 1) === 0) {
|
|
6038
6034
|
delegate = consumeOpt(parser, context | 32768, 8457014);
|
|
6039
6035
|
if (parser.token & (12288 | 65536) || delegate) {
|
|
6040
|
-
argument = parseExpression(parser, context, 1, 0,
|
|
6036
|
+
argument = parseExpression(parser, context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
6041
6037
|
}
|
|
6042
6038
|
}
|
|
6043
6039
|
parser.assignable = 2;
|
|
@@ -6162,7 +6158,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6162
6158
|
return finishNode(parser, context, start, line, column, { type: 'Super' });
|
|
6163
6159
|
}
|
|
6164
6160
|
function parseLeftHandSideExpression(parser, context, canAssign, inGroup, isLHS, start, line, column) {
|
|
6165
|
-
const expression = parsePrimaryExpression(parser, context, 2, 0, canAssign,
|
|
6161
|
+
const expression = parsePrimaryExpression(parser, context, 2, 0, canAssign, inGroup, isLHS, start, line, column);
|
|
6166
6162
|
return parseMemberOrUpdateExpression(parser, context, expression, inGroup, 0, start, line, column);
|
|
6167
6163
|
}
|
|
6168
6164
|
function parseUpdateExpression(parser, context, expr, start, line, column) {
|
|
@@ -6186,7 +6182,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6186
6182
|
context = (context | 134217728) ^ 134217728;
|
|
6187
6183
|
switch (parser.token) {
|
|
6188
6184
|
case 67108877: {
|
|
6189
|
-
nextToken(parser, (context |
|
|
6185
|
+
nextToken(parser, (context | 268435456 | 8192) ^ 8192);
|
|
6190
6186
|
if (context & 16384 && parser.token === 131 && parser.tokenValue === 'super') {
|
|
6191
6187
|
report(parser, 27);
|
|
6192
6188
|
}
|
|
@@ -6245,7 +6241,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6245
6241
|
break;
|
|
6246
6242
|
}
|
|
6247
6243
|
case 67108991: {
|
|
6248
|
-
nextToken(parser, (context |
|
|
6244
|
+
nextToken(parser, (context | 268435456 | 8192) ^ 8192);
|
|
6249
6245
|
parser.flags |= 2048;
|
|
6250
6246
|
parser.assignable = 2;
|
|
6251
6247
|
expr = parseOptionalChain(parser, context, expr, start, line, column);
|
|
@@ -6311,7 +6307,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6311
6307
|
else {
|
|
6312
6308
|
if ((parser.token & (143360 | 4096)) === 0)
|
|
6313
6309
|
report(parser, 155);
|
|
6314
|
-
const property = parseIdentifier(parser, context
|
|
6310
|
+
const property = parseIdentifier(parser, context);
|
|
6315
6311
|
parser.assignable = 2;
|
|
6316
6312
|
node = finishNode(parser, context, start, line, column, {
|
|
6317
6313
|
type: 'MemberExpression',
|
|
@@ -6332,7 +6328,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6332
6328
|
}
|
|
6333
6329
|
return context & 1 && parser.token === 131
|
|
6334
6330
|
? parsePrivateIdentifier(parser, context, parser.tokenPos, parser.linePos, parser.colPos)
|
|
6335
|
-
: parseIdentifier(parser, context
|
|
6331
|
+
: parseIdentifier(parser, context);
|
|
6336
6332
|
}
|
|
6337
6333
|
function parseUpdateExpressionPrefixed(parser, context, inNew, isLHS, start, line, column) {
|
|
6338
6334
|
if (inNew)
|
|
@@ -6353,7 +6349,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6353
6349
|
prefix: true
|
|
6354
6350
|
});
|
|
6355
6351
|
}
|
|
6356
|
-
function parsePrimaryExpression(parser, context, kind, inNew, canAssign,
|
|
6352
|
+
function parsePrimaryExpression(parser, context, kind, inNew, canAssign, inGroup, isLHS, start, line, column) {
|
|
6357
6353
|
if ((parser.token & 143360) === 143360) {
|
|
6358
6354
|
switch (parser.token) {
|
|
6359
6355
|
case 209008:
|
|
@@ -6361,14 +6357,14 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6361
6357
|
case 241773:
|
|
6362
6358
|
return parseYieldExpression(parser, context, inGroup, canAssign, start, line, column);
|
|
6363
6359
|
case 209007:
|
|
6364
|
-
return parseAsyncExpression(parser, context, inGroup, isLHS, canAssign,
|
|
6360
|
+
return parseAsyncExpression(parser, context, inGroup, isLHS, canAssign, inNew, start, line, column);
|
|
6365
6361
|
}
|
|
6366
6362
|
const { token, tokenValue } = parser;
|
|
6367
|
-
const expr = parseIdentifier(parser, context | 65536
|
|
6363
|
+
const expr = parseIdentifier(parser, context | 65536);
|
|
6368
6364
|
if (parser.token === 10) {
|
|
6369
6365
|
if (!isLHS)
|
|
6370
6366
|
report(parser, 0);
|
|
6371
|
-
classifyIdentifier(parser, context, token
|
|
6367
|
+
classifyIdentifier(parser, context, token);
|
|
6372
6368
|
return parseArrowFromIdentifier(parser, context, tokenValue, expr, inNew, canAssign, 0, start, line, column);
|
|
6373
6369
|
}
|
|
6374
6370
|
if (context & 16384 && token === 537079928)
|
|
@@ -6443,7 +6439,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6443
6439
|
}
|
|
6444
6440
|
}
|
|
6445
6441
|
function parseImportCallOrMetaExpression(parser, context, inNew, inGroup, start, line, column) {
|
|
6446
|
-
let expr = parseIdentifier(parser, context
|
|
6442
|
+
let expr = parseIdentifier(parser, context);
|
|
6447
6443
|
if (parser.token === 67108877) {
|
|
6448
6444
|
return parseImportMetaExpression(parser, context, expr, start, line, column);
|
|
6449
6445
|
}
|
|
@@ -6463,14 +6459,14 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6463
6459
|
return finishNode(parser, context, start, line, column, {
|
|
6464
6460
|
type: 'MetaProperty',
|
|
6465
6461
|
meta,
|
|
6466
|
-
property: parseIdentifier(parser, context
|
|
6462
|
+
property: parseIdentifier(parser, context)
|
|
6467
6463
|
});
|
|
6468
6464
|
}
|
|
6469
6465
|
function parseImportExpression(parser, context, inGroup, start, line, column) {
|
|
6470
6466
|
consume(parser, context | 32768, 67174411);
|
|
6471
6467
|
if (parser.token === 14)
|
|
6472
6468
|
report(parser, 139);
|
|
6473
|
-
const source = parseExpression(parser, context, 1,
|
|
6469
|
+
const source = parseExpression(parser, context, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
|
|
6474
6470
|
consume(parser, context, 16);
|
|
6475
6471
|
return finishNode(parser, context, start, line, column, {
|
|
6476
6472
|
type: 'ImportExpression',
|
|
@@ -6559,7 +6555,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6559
6555
|
function parseSpreadElement(parser, context, start, line, column) {
|
|
6560
6556
|
context = (context | 134217728) ^ 134217728;
|
|
6561
6557
|
consume(parser, context | 32768, 14);
|
|
6562
|
-
const argument = parseExpression(parser, context, 1, 0,
|
|
6558
|
+
const argument = parseExpression(parser, context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
6563
6559
|
parser.assignable = 1;
|
|
6564
6560
|
return finishNode(parser, context, start, line, column, {
|
|
6565
6561
|
type: 'SpreadElement',
|
|
@@ -6578,7 +6574,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6578
6574
|
args.push(parseSpreadElement(parser, context, parser.tokenPos, parser.linePos, parser.colPos));
|
|
6579
6575
|
}
|
|
6580
6576
|
else {
|
|
6581
|
-
args.push(parseExpression(parser, context, 1,
|
|
6577
|
+
args.push(parseExpression(parser, context, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos));
|
|
6582
6578
|
}
|
|
6583
6579
|
if (parser.token !== 18)
|
|
6584
6580
|
break;
|
|
@@ -6589,19 +6585,13 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6589
6585
|
consume(parser, context, 16);
|
|
6590
6586
|
return args;
|
|
6591
6587
|
}
|
|
6592
|
-
function parseIdentifier(parser, context
|
|
6588
|
+
function parseIdentifier(parser, context) {
|
|
6593
6589
|
const { tokenValue, tokenPos, linePos, colPos } = parser;
|
|
6594
6590
|
nextToken(parser, context);
|
|
6595
|
-
return finishNode(parser, context, tokenPos, linePos, colPos,
|
|
6596
|
-
|
|
6597
|
-
|
|
6598
|
-
|
|
6599
|
-
pattern: isPattern === 1
|
|
6600
|
-
}
|
|
6601
|
-
: {
|
|
6602
|
-
type: 'Identifier',
|
|
6603
|
-
name: tokenValue
|
|
6604
|
-
});
|
|
6591
|
+
return finishNode(parser, context, tokenPos, linePos, colPos, {
|
|
6592
|
+
type: 'Identifier',
|
|
6593
|
+
name: tokenValue
|
|
6594
|
+
});
|
|
6605
6595
|
}
|
|
6606
6596
|
function parseLiteral(parser, context) {
|
|
6607
6597
|
const { tokenValue, tokenRaw, tokenPos, linePos, colPos } = parser;
|
|
@@ -6676,7 +6666,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6676
6666
|
}
|
|
6677
6667
|
firstRestricted = parser.token;
|
|
6678
6668
|
if (parser.token & 143360) {
|
|
6679
|
-
id = parseIdentifier(parser, context
|
|
6669
|
+
id = parseIdentifier(parser, context);
|
|
6680
6670
|
}
|
|
6681
6671
|
else {
|
|
6682
6672
|
report(parser, 28, KeywordDescTable[parser.token & 255]);
|
|
@@ -6686,7 +6676,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6686
6676
|
((context | 32243712) ^ 32243712) |
|
|
6687
6677
|
67108864 |
|
|
6688
6678
|
((isAsync * 2 + isGenerator) << 21) |
|
|
6689
|
-
(isGenerator ? 0 :
|
|
6679
|
+
(isGenerator ? 0 : 268435456);
|
|
6690
6680
|
if (scope)
|
|
6691
6681
|
functionScope = addChildScope(functionScope, 512);
|
|
6692
6682
|
const params = parseFormalParametersOrFormalList(parser, context | 8388608, functionScope, 0, 1);
|
|
@@ -6713,13 +6703,13 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6713
6703
|
if (scope)
|
|
6714
6704
|
scope = addChildScope(scope, 256);
|
|
6715
6705
|
firstRestricted = parser.token;
|
|
6716
|
-
id = parseIdentifier(parser, context
|
|
6706
|
+
id = parseIdentifier(parser, context);
|
|
6717
6707
|
}
|
|
6718
6708
|
context =
|
|
6719
6709
|
((context | 32243712) ^ 32243712) |
|
|
6720
6710
|
67108864 |
|
|
6721
6711
|
generatorAndAsyncFlags |
|
|
6722
|
-
(isGenerator ? 0 :
|
|
6712
|
+
(isGenerator ? 0 : 268435456);
|
|
6723
6713
|
if (scope)
|
|
6724
6714
|
scope = addChildScope(scope, 512);
|
|
6725
6715
|
const params = parseFormalParametersOrFormalList(parser, context | 8388608, scope, inGroup, 1);
|
|
@@ -6757,14 +6747,14 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6757
6747
|
let left;
|
|
6758
6748
|
const { token, tokenPos, linePos, colPos, tokenValue } = parser;
|
|
6759
6749
|
if (token & 143360) {
|
|
6760
|
-
left = parsePrimaryExpression(parser, context, kind, 0, 1,
|
|
6750
|
+
left = parsePrimaryExpression(parser, context, kind, 0, 1, inGroup, 1, tokenPos, linePos, colPos);
|
|
6761
6751
|
if (parser.token === 1077936157) {
|
|
6762
6752
|
if (parser.assignable & 2)
|
|
6763
6753
|
report(parser, 24);
|
|
6764
6754
|
nextToken(parser, context | 32768);
|
|
6765
6755
|
if (scope)
|
|
6766
6756
|
addVarOrBlock(parser, context, scope, tokenValue, kind, origin);
|
|
6767
|
-
const right = parseExpression(parser, context, 1,
|
|
6757
|
+
const right = parseExpression(parser, context, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
|
|
6768
6758
|
left = finishNode(parser, context, tokenPos, linePos, colPos, isPattern
|
|
6769
6759
|
? {
|
|
6770
6760
|
type: 'AssignmentPattern',
|
|
@@ -6903,7 +6893,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6903
6893
|
if (!isPattern)
|
|
6904
6894
|
reinterpretToPattern(parser, node);
|
|
6905
6895
|
const { tokenPos, linePos, colPos } = parser;
|
|
6906
|
-
const right = parseExpression(parser, context, 1,
|
|
6896
|
+
const right = parseExpression(parser, context, 1, inGroup, tokenPos, linePos, colPos);
|
|
6907
6897
|
parser.destructible =
|
|
6908
6898
|
((destructible | 64 | 8) ^
|
|
6909
6899
|
(8 | 64)) |
|
|
@@ -6929,7 +6919,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
6929
6919
|
let { token, tokenValue, tokenPos, linePos, colPos } = parser;
|
|
6930
6920
|
if (token & (4096 | 143360)) {
|
|
6931
6921
|
parser.assignable = 1;
|
|
6932
|
-
argument = parsePrimaryExpression(parser, context, kind, 0, 1,
|
|
6922
|
+
argument = parsePrimaryExpression(parser, context, kind, 0, 1, inGroup, 1, tokenPos, linePos, colPos);
|
|
6933
6923
|
token = parser.token;
|
|
6934
6924
|
argument = parseMemberOrUpdateExpression(parser, context, argument, inGroup, 0, tokenPos, linePos, colPos);
|
|
6935
6925
|
if (parser.token !== 18 && parser.token !== closingToken) {
|
|
@@ -7024,7 +7014,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7024
7014
|
if (destructible & 16)
|
|
7025
7015
|
report(parser, 24);
|
|
7026
7016
|
reinterpretToPattern(parser, argument);
|
|
7027
|
-
const right = parseExpression(parser, context, 1,
|
|
7017
|
+
const right = parseExpression(parser, context, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
|
|
7028
7018
|
argument = finishNode(parser, context, tokenPos, linePos, colPos, isPattern
|
|
7029
7019
|
? {
|
|
7030
7020
|
type: 'AssignmentPattern',
|
|
@@ -7096,7 +7086,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7096
7086
|
let value;
|
|
7097
7087
|
const t = parser.token;
|
|
7098
7088
|
if (parser.token & (143360 | 4096) || parser.token === 121) {
|
|
7099
|
-
key = parseIdentifier(parser, context
|
|
7089
|
+
key = parseIdentifier(parser, context);
|
|
7100
7090
|
if (parser.token === 18 || parser.token === 1074790415 || parser.token === 1077936157) {
|
|
7101
7091
|
state |= 4;
|
|
7102
7092
|
if (context & 1024 && (token & 537079808) === 537079808) {
|
|
@@ -7109,7 +7099,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7109
7099
|
addVarOrBlock(parser, context, scope, tokenValue, kind, origin);
|
|
7110
7100
|
if (consumeOpt(parser, context | 32768, 1077936157)) {
|
|
7111
7101
|
destructible |= 8;
|
|
7112
|
-
const right = parseExpression(parser, context, 1,
|
|
7102
|
+
const right = parseExpression(parser, context, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
|
|
7113
7103
|
destructible |=
|
|
7114
7104
|
parser.destructible & 256
|
|
7115
7105
|
? 256
|
|
@@ -7118,7 +7108,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7118
7108
|
: 0;
|
|
7119
7109
|
value = finishNode(parser, context, tokenPos, linePos, colPos, {
|
|
7120
7110
|
type: 'AssignmentPattern',
|
|
7121
|
-
left: context &
|
|
7111
|
+
left: context & 536870912 ? Object.assign({}, key) : key,
|
|
7122
7112
|
right
|
|
7123
7113
|
});
|
|
7124
7114
|
}
|
|
@@ -7126,7 +7116,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7126
7116
|
destructible |=
|
|
7127
7117
|
(token === 209008 ? 128 : 0) |
|
|
7128
7118
|
(token === 121 ? 16 : 0);
|
|
7129
|
-
value = context &
|
|
7119
|
+
value = context & 536870912 ? Object.assign({}, key) : key;
|
|
7130
7120
|
}
|
|
7131
7121
|
}
|
|
7132
7122
|
else if (consumeOpt(parser, context | 32768, 21)) {
|
|
@@ -7137,7 +7127,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7137
7127
|
const tokenAfterColon = parser.token;
|
|
7138
7128
|
const valueAfterColon = parser.tokenValue;
|
|
7139
7129
|
destructible |= t === 121 ? 16 : 0;
|
|
7140
|
-
value = parsePrimaryExpression(parser, context, kind, 0, 1,
|
|
7130
|
+
value = parsePrimaryExpression(parser, context, kind, 0, 1, inGroup, 1, tokenPos, linePos, colPos);
|
|
7141
7131
|
const { token } = parser;
|
|
7142
7132
|
value = parseMemberOrUpdateExpression(parser, context, value, inGroup, 0, tokenPos, linePos, colPos);
|
|
7143
7133
|
if (parser.token === 18 || parser.token === 1074790415) {
|
|
@@ -7258,7 +7248,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7258
7248
|
report(parser, 129);
|
|
7259
7249
|
state |= 16;
|
|
7260
7250
|
}
|
|
7261
|
-
key = parseIdentifier(parser, context
|
|
7251
|
+
key = parseIdentifier(parser, context);
|
|
7262
7252
|
state |=
|
|
7263
7253
|
token === 12402
|
|
7264
7254
|
? 256
|
|
@@ -7287,7 +7277,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7287
7277
|
state |=
|
|
7288
7278
|
8 | 1 | (token === 209007 ? 16 : 0);
|
|
7289
7279
|
if (parser.token & 143360) {
|
|
7290
|
-
key = parseIdentifier(parser, context
|
|
7280
|
+
key = parseIdentifier(parser, context);
|
|
7291
7281
|
}
|
|
7292
7282
|
else if ((parser.token & 134217728) === 134217728) {
|
|
7293
7283
|
key = parseLiteral(parser, context);
|
|
@@ -7327,7 +7317,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7327
7317
|
if (tokenValue === '__proto__')
|
|
7328
7318
|
prototypeCount++;
|
|
7329
7319
|
if (parser.token & 143360) {
|
|
7330
|
-
value = parsePrimaryExpression(parser, context, kind, 0, 1,
|
|
7320
|
+
value = parsePrimaryExpression(parser, context, kind, 0, 1, inGroup, 1, tokenPos, linePos, colPos);
|
|
7331
7321
|
const { token, tokenValue: valueAfterColon } = parser;
|
|
7332
7322
|
value = parseMemberOrUpdateExpression(parser, context, value, inGroup, 0, tokenPos, linePos, colPos);
|
|
7333
7323
|
if (parser.token === 18 || parser.token === 1074790415) {
|
|
@@ -7428,7 +7418,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7428
7418
|
nextToken(parser, context | 32768);
|
|
7429
7419
|
const { tokenPos, linePos, colPos, tokenValue, token: tokenAfterColon } = parser;
|
|
7430
7420
|
if (parser.token & 143360) {
|
|
7431
|
-
value = parsePrimaryExpression(parser, context, kind, 0, 1,
|
|
7421
|
+
value = parsePrimaryExpression(parser, context, kind, 0, 1, inGroup, 1, tokenPos, linePos, colPos);
|
|
7432
7422
|
const { token } = parser;
|
|
7433
7423
|
value = parseMemberOrUpdateExpression(parser, context, value, inGroup, 0, tokenPos, linePos, colPos);
|
|
7434
7424
|
if ((parser.token & 4194304) === 4194304) {
|
|
@@ -7534,7 +7524,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7534
7524
|
state |= 8;
|
|
7535
7525
|
if (parser.token & 143360) {
|
|
7536
7526
|
const { token, line, index } = parser;
|
|
7537
|
-
key = parseIdentifier(parser, context
|
|
7527
|
+
key = parseIdentifier(parser, context);
|
|
7538
7528
|
state |= 1;
|
|
7539
7529
|
if (parser.token === 67174411) {
|
|
7540
7530
|
destructible |= 16;
|
|
@@ -7648,7 +7638,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7648
7638
|
if (parser.token === 1077936157) {
|
|
7649
7639
|
nextToken(parser, context | 32768);
|
|
7650
7640
|
isSimpleParameterList = 1;
|
|
7651
|
-
const right = parseExpression(parser, context, 1,
|
|
7641
|
+
const right = parseExpression(parser, context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
7652
7642
|
left = finishNode(parser, context, tokenPos, linePos, colPos, {
|
|
7653
7643
|
type: 'AssignmentPattern',
|
|
7654
7644
|
left: left,
|
|
@@ -7675,14 +7665,14 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7675
7665
|
}
|
|
7676
7666
|
function parseComputedPropertyName(parser, context, inGroup) {
|
|
7677
7667
|
nextToken(parser, context | 32768);
|
|
7678
|
-
const key = parseExpression(parser, (context | 134217728) ^ 134217728, 1,
|
|
7668
|
+
const key = parseExpression(parser, (context | 134217728) ^ 134217728, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
|
|
7679
7669
|
consume(parser, context, 20);
|
|
7680
7670
|
return key;
|
|
7681
7671
|
}
|
|
7682
7672
|
function parseParenthesizedExpression(parser, context, canAssign, kind, origin, start, line, column) {
|
|
7683
7673
|
parser.flags = (parser.flags | 128) ^ 128;
|
|
7684
7674
|
const { tokenPos: piStart, linePos: plStart, colPos: pcStart } = parser;
|
|
7685
|
-
nextToken(parser, context | 32768 |
|
|
7675
|
+
nextToken(parser, context | 32768 | 268435456);
|
|
7686
7676
|
const scope = context & 64 ? addChildScope(createScope(), 1024) : void 0;
|
|
7687
7677
|
context = (context | 134217728) ^ 134217728;
|
|
7688
7678
|
if (consumeOpt(parser, context, 16)) {
|
|
@@ -7701,7 +7691,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7701
7691
|
if (token & (143360 | 4096)) {
|
|
7702
7692
|
if (scope)
|
|
7703
7693
|
addBlockName(parser, context, scope, parser.tokenValue, 1, 0);
|
|
7704
|
-
expr = parsePrimaryExpression(parser, context, kind, 0, 1,
|
|
7694
|
+
expr = parsePrimaryExpression(parser, context, kind, 0, 1, 1, 1, tokenPos, linePos, colPos);
|
|
7705
7695
|
if (parser.token === 16 || parser.token === 18) {
|
|
7706
7696
|
if (parser.assignable & 2) {
|
|
7707
7697
|
destructible |= 16;
|
|
@@ -7728,8 +7718,8 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7728
7718
|
else if ((token & 2097152) === 2097152) {
|
|
7729
7719
|
expr =
|
|
7730
7720
|
token === 2162700
|
|
7731
|
-
? parseObjectLiteralOrPattern(parser, context |
|
|
7732
|
-
: parseArrayExpressionOrPattern(parser, context |
|
|
7721
|
+
? parseObjectLiteralOrPattern(parser, context | 268435456, scope, 0, 1, 0, kind, origin, tokenPos, linePos, colPos)
|
|
7722
|
+
: parseArrayExpressionOrPattern(parser, context | 268435456, scope, 0, 1, 0, kind, origin, tokenPos, linePos, colPos);
|
|
7733
7723
|
destructible |= parser.destructible;
|
|
7734
7724
|
isSimpleParameterList = 1;
|
|
7735
7725
|
parser.assignable = 2;
|
|
@@ -7756,7 +7746,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7756
7746
|
}
|
|
7757
7747
|
else {
|
|
7758
7748
|
destructible |= 16;
|
|
7759
|
-
expr = parseExpression(parser, context, 1,
|
|
7749
|
+
expr = parseExpression(parser, context, 1, 1, tokenPos, linePos, colPos);
|
|
7760
7750
|
if (isSequence && (parser.token === 16 || parser.token === 18)) {
|
|
7761
7751
|
expressions.push(expr);
|
|
7762
7752
|
}
|
|
@@ -7768,7 +7758,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7768
7758
|
}
|
|
7769
7759
|
if (isSequence) {
|
|
7770
7760
|
while (consumeOpt(parser, context | 32768, 18)) {
|
|
7771
|
-
expressions.push(parseExpression(parser, context, 1,
|
|
7761
|
+
expressions.push(parseExpression(parser, context, 1, 1, parser.tokenPos, parser.linePos, parser.colPos));
|
|
7772
7762
|
}
|
|
7773
7763
|
parser.assignable = 2;
|
|
7774
7764
|
expr = finishNode(parser, context, iStart, lStart, cStart, {
|
|
@@ -7835,7 +7825,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7835
7825
|
}
|
|
7836
7826
|
function parseIdentifierOrArrow(parser, context, start, line, column) {
|
|
7837
7827
|
const { tokenValue } = parser;
|
|
7838
|
-
const expr = parseIdentifier(parser, context
|
|
7828
|
+
const expr = parseIdentifier(parser, context);
|
|
7839
7829
|
parser.assignable = 1;
|
|
7840
7830
|
if (parser.token === 10) {
|
|
7841
7831
|
let scope = void 0;
|
|
@@ -7873,7 +7863,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7873
7863
|
reportScopeError(scope.scopeError);
|
|
7874
7864
|
}
|
|
7875
7865
|
if (expression) {
|
|
7876
|
-
body = parseExpression(parser, context & 16384 ? context | 33554432 : context, 1, 0,
|
|
7866
|
+
body = parseExpression(parser, context & 16384 ? context | 33554432 : context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
7877
7867
|
}
|
|
7878
7868
|
else {
|
|
7879
7869
|
if (scope)
|
|
@@ -7954,7 +7944,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7954
7944
|
if (parser.token === 1077936157) {
|
|
7955
7945
|
nextToken(parser, context | 32768);
|
|
7956
7946
|
isSimpleParameterList = 1;
|
|
7957
|
-
const right = parseExpression(parser, context, 1,
|
|
7947
|
+
const right = parseExpression(parser, context, 1, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
|
|
7958
7948
|
left = finishNode(parser, context, tokenPos, linePos, colPos, {
|
|
7959
7949
|
type: 'AssignmentPattern',
|
|
7960
7950
|
left,
|
|
@@ -7980,7 +7970,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
7980
7970
|
const { token } = parser;
|
|
7981
7971
|
if (token & 67108864) {
|
|
7982
7972
|
if (token === 67108877) {
|
|
7983
|
-
nextToken(parser, context |
|
|
7973
|
+
nextToken(parser, context | 268435456);
|
|
7984
7974
|
parser.assignable = 1;
|
|
7985
7975
|
const property = parsePropertyOrPrivatePropertyName(parser, context);
|
|
7986
7976
|
return parseMembeExpressionNoCall(parser, context, finishNode(parser, context, start, line, column, {
|
|
@@ -8017,7 +8007,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8017
8007
|
return expr;
|
|
8018
8008
|
}
|
|
8019
8009
|
function parseNewExpression(parser, context, inGroup, start, line, column) {
|
|
8020
|
-
const id = parseIdentifier(parser, context | 32768
|
|
8010
|
+
const id = parseIdentifier(parser, context | 32768);
|
|
8021
8011
|
const { tokenPos, linePos, colPos } = parser;
|
|
8022
8012
|
if (consumeOpt(parser, context, 67108877)) {
|
|
8023
8013
|
if (context & 67108864 && parser.token === 143494) {
|
|
@@ -8030,7 +8020,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8030
8020
|
if ((parser.token & 16842752) === 16842752) {
|
|
8031
8021
|
report(parser, 63, KeywordDescTable[parser.token & 255]);
|
|
8032
8022
|
}
|
|
8033
|
-
const expr = parsePrimaryExpression(parser, context, 2, 1, 0,
|
|
8023
|
+
const expr = parsePrimaryExpression(parser, context, 2, 1, 0, inGroup, 1, tokenPos, linePos, colPos);
|
|
8034
8024
|
context = (context | 134217728) ^ 134217728;
|
|
8035
8025
|
if (parser.token === 67108991)
|
|
8036
8026
|
report(parser, 163);
|
|
@@ -8043,7 +8033,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8043
8033
|
});
|
|
8044
8034
|
}
|
|
8045
8035
|
function parseMetaProperty(parser, context, meta, start, line, column) {
|
|
8046
|
-
const property = parseIdentifier(parser, context
|
|
8036
|
+
const property = parseIdentifier(parser, context);
|
|
8047
8037
|
return finishNode(parser, context, start, line, column, {
|
|
8048
8038
|
type: 'MetaProperty',
|
|
8049
8039
|
meta,
|
|
@@ -8059,7 +8049,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8059
8049
|
if ((parser.token & 537079808) === 537079808) {
|
|
8060
8050
|
parser.flags |= 512;
|
|
8061
8051
|
}
|
|
8062
|
-
return parseArrowFromIdentifier(parser, context, parser.tokenValue, parseIdentifier(parser, context
|
|
8052
|
+
return parseArrowFromIdentifier(parser, context, parser.tokenValue, parseIdentifier(parser, context), 0, canAssign, 1, start, line, column);
|
|
8063
8053
|
}
|
|
8064
8054
|
function parseAsyncArrowOrCallExpression(parser, context, callee, canAssign, kind, origin, flags, start, line, column) {
|
|
8065
8055
|
nextToken(parser, context | 32768);
|
|
@@ -8089,7 +8079,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8089
8079
|
if (token & (143360 | 4096)) {
|
|
8090
8080
|
if (scope)
|
|
8091
8081
|
addBlockName(parser, context, scope, parser.tokenValue, kind, 0);
|
|
8092
|
-
expr = parsePrimaryExpression(parser, context, kind, 0, 1,
|
|
8082
|
+
expr = parsePrimaryExpression(parser, context, kind, 0, 1, 1, 1, tokenPos, linePos, colPos);
|
|
8093
8083
|
if (parser.token === 16 || parser.token === 18) {
|
|
8094
8084
|
if (parser.assignable & 2) {
|
|
8095
8085
|
destructible |= 16;
|
|
@@ -8141,11 +8131,11 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8141
8131
|
isSimpleParameterList = 1;
|
|
8142
8132
|
}
|
|
8143
8133
|
else {
|
|
8144
|
-
expr = parseExpression(parser, context, 1, 0,
|
|
8134
|
+
expr = parseExpression(parser, context, 1, 0, tokenPos, linePos, colPos);
|
|
8145
8135
|
destructible = parser.assignable;
|
|
8146
8136
|
params.push(expr);
|
|
8147
8137
|
while (consumeOpt(parser, context | 32768, 18)) {
|
|
8148
|
-
params.push(parseExpression(parser, context, 1, 0,
|
|
8138
|
+
params.push(parseExpression(parser, context, 1, 0, tokenPos, linePos, colPos));
|
|
8149
8139
|
}
|
|
8150
8140
|
destructible |= parser.assignable;
|
|
8151
8141
|
consume(parser, context, 16);
|
|
@@ -8240,7 +8230,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8240
8230
|
}
|
|
8241
8231
|
}
|
|
8242
8232
|
}
|
|
8243
|
-
id = parseIdentifier(parser, context
|
|
8233
|
+
id = parseIdentifier(parser, context);
|
|
8244
8234
|
}
|
|
8245
8235
|
else {
|
|
8246
8236
|
if ((flags & 1) === 0)
|
|
@@ -8287,7 +8277,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8287
8277
|
if ((parser.token & 537079808) === 537079808) {
|
|
8288
8278
|
report(parser, 116);
|
|
8289
8279
|
}
|
|
8290
|
-
id = parseIdentifier(parser, context
|
|
8280
|
+
id = parseIdentifier(parser, context);
|
|
8291
8281
|
}
|
|
8292
8282
|
let inheritedContext = context;
|
|
8293
8283
|
if (consumeOpt(parser, context | 32768, 20567)) {
|
|
@@ -8325,7 +8315,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8325
8315
|
}
|
|
8326
8316
|
function parseDecoratorList(parser, context, start, line, column) {
|
|
8327
8317
|
nextToken(parser, context | 32768);
|
|
8328
|
-
let expression = parsePrimaryExpression(parser, context, 2, 0, 1, 0,
|
|
8318
|
+
let expression = parsePrimaryExpression(parser, context, 2, 0, 1, 0, 1, start, line, column);
|
|
8329
8319
|
expression = parseMemberOrUpdateExpression(parser, context, expression, 0, 0, start, line, column);
|
|
8330
8320
|
return finishNode(parser, context, start, line, column, {
|
|
8331
8321
|
type: 'Decorator',
|
|
@@ -8368,7 +8358,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8368
8358
|
let key = null;
|
|
8369
8359
|
const { token, tokenPos, linePos, colPos } = parser;
|
|
8370
8360
|
if (token & (143360 | 36864)) {
|
|
8371
|
-
key = parseIdentifier(parser, context
|
|
8361
|
+
key = parseIdentifier(parser, context);
|
|
8372
8362
|
switch (token) {
|
|
8373
8363
|
case 36972:
|
|
8374
8364
|
if (!isStatic &&
|
|
@@ -8426,7 +8416,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8426
8416
|
return parseStaticBlock(parser, context, scope, tokenPos, linePos, colPos);
|
|
8427
8417
|
}
|
|
8428
8418
|
else if (token === 122) {
|
|
8429
|
-
key = parseIdentifier(parser, context
|
|
8419
|
+
key = parseIdentifier(parser, context);
|
|
8430
8420
|
if (parser.token !== 67174411)
|
|
8431
8421
|
report(parser, 28, KeywordDescTable[parser.token & 255]);
|
|
8432
8422
|
}
|
|
@@ -8435,7 +8425,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8435
8425
|
}
|
|
8436
8426
|
if (kind & (8 | 16 | 768)) {
|
|
8437
8427
|
if (parser.token & 143360) {
|
|
8438
|
-
key = parseIdentifier(parser, context
|
|
8428
|
+
key = parseIdentifier(parser, context);
|
|
8439
8429
|
}
|
|
8440
8430
|
else if ((parser.token & 134217728) === 134217728) {
|
|
8441
8431
|
key = parseLiteral(parser, context);
|
|
@@ -8445,7 +8435,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8445
8435
|
key = parseComputedPropertyName(parser, context, 0);
|
|
8446
8436
|
}
|
|
8447
8437
|
else if (parser.token === 122) {
|
|
8448
|
-
key = parseIdentifier(parser, context
|
|
8438
|
+
key = parseIdentifier(parser, context);
|
|
8449
8439
|
}
|
|
8450
8440
|
else if (context & 1 && parser.token === 131) {
|
|
8451
8441
|
kind |= 4096;
|
|
@@ -8540,7 +8530,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8540
8530
|
((context | modifierFlags) ^ modifierFlags) |
|
|
8541
8531
|
((state & 88) << 18) |
|
|
8542
8532
|
100925440;
|
|
8543
|
-
value = parsePrimaryExpression(parser, context | 16384, 2, 0, 1, 0,
|
|
8533
|
+
value = parsePrimaryExpression(parser, context | 16384, 2, 0, 1, 0, 1, tokenPos, linePos, colPos);
|
|
8544
8534
|
if ((parser.token & 1073741824) !== 1073741824 ||
|
|
8545
8535
|
(parser.token & 4194304) === 4194304) {
|
|
8546
8536
|
value = parseMemberOrUpdateExpression(parser, context | 16384, value, 0, 0, tokenPos, linePos, colPos);
|
|
@@ -8748,7 +8738,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8748
8738
|
function parseJSXSpreadAttribute(parser, context, start, line, column) {
|
|
8749
8739
|
nextToken(parser, context);
|
|
8750
8740
|
consume(parser, context, 14);
|
|
8751
|
-
const expression = parseExpression(parser, context, 1, 0,
|
|
8741
|
+
const expression = parseExpression(parser, context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
8752
8742
|
consume(parser, context, 1074790415);
|
|
8753
8743
|
return finishNode(parser, context, start, line, column, {
|
|
8754
8744
|
type: 'JSXSpreadAttribute',
|
|
@@ -8808,7 +8798,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8808
8798
|
expression = parseJSXEmptyExpression(parser, context, parser.startPos, parser.startLine, parser.startColumn);
|
|
8809
8799
|
}
|
|
8810
8800
|
else {
|
|
8811
|
-
expression = parseExpression(parser, context, 1, 0,
|
|
8801
|
+
expression = parseExpression(parser, context, 1, 0, tokenPos, linePos, colPos);
|
|
8812
8802
|
}
|
|
8813
8803
|
if (inJSXChild) {
|
|
8814
8804
|
consume(parser, context, 1074790415);
|
|
@@ -8823,7 +8813,7 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8823
8813
|
}
|
|
8824
8814
|
function parseJSXSpreadChild(parser, context, start, line, column) {
|
|
8825
8815
|
consume(parser, context, 14);
|
|
8826
|
-
const expression = parseExpression(parser, context, 1, 0,
|
|
8816
|
+
const expression = parseExpression(parser, context, 1, 0, parser.tokenPos, parser.linePos, parser.colPos);
|
|
8827
8817
|
consume(parser, context, 1074790415);
|
|
8828
8818
|
return finishNode(parser, context, start, line, column, {
|
|
8829
8819
|
type: 'JSXSpreadChild',
|
|
@@ -8850,11 +8840,11 @@ System.register('meriyah', [], (function (exports) {
|
|
|
8850
8840
|
var estree = /*#__PURE__*/Object.freeze({
|
|
8851
8841
|
__proto__: null
|
|
8852
8842
|
});
|
|
8853
|
-
exports(
|
|
8843
|
+
exports("ESTree", estree);
|
|
8854
8844
|
|
|
8855
|
-
var version$1 = "4.
|
|
8845
|
+
var version$1 = "4.5.0";
|
|
8856
8846
|
|
|
8857
|
-
const version = exports(
|
|
8847
|
+
const version = exports("version", version$1);
|
|
8858
8848
|
function parseScript(source, options) {
|
|
8859
8849
|
return parseSource(source, options, 0);
|
|
8860
8850
|
}
|