meriyah 4.3.1 → 4.3.3

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.
@@ -58,7 +58,7 @@
58
58
  _a[8] = 'Octal literals are not allowed in strict mode',
59
59
  _a[7] = 'Decimal integer literals with a leading zero are forbidden in strict mode',
60
60
  _a[9] = 'Expected number in radix %0',
61
- _a[145] = 'Invalid left-hand side assignment to a destructible right-hand side',
61
+ _a[146] = 'Invalid left-hand side assignment to a destructible right-hand side',
62
62
  _a[10] = 'Non-number found after exponent indicator',
63
63
  _a[11] = 'Invalid BigIntLiteral',
64
64
  _a[12] = 'No identifiers allowed directly after numeric literal',
@@ -79,9 +79,9 @@
79
79
  _a[27] = 'Member access on super must be in a method',
80
80
  _a[29] = 'Await expression not allowed in formal parameter',
81
81
  _a[30] = 'Yield expression not allowed in formal parameter',
82
- _a[92] = "Unexpected token: 'escaped keyword'",
82
+ _a[93] = "Unexpected token: 'escaped keyword'",
83
83
  _a[31] = 'Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses',
84
- _a[119] = 'Async functions can only be declared at the top level or inside a block',
84
+ _a[120] = 'Async functions can only be declared at the top level or inside a block',
85
85
  _a[32] = 'Unterminated regular expression',
86
86
  _a[33] = 'Unexpected regular expression flag',
87
87
  _a[34] = "Duplicate regular expression flag '%0'",
@@ -91,125 +91,126 @@
91
91
  _a[38] = 'Function name may not contain any reserved words or be eval or arguments in strict mode',
92
92
  _a[39] = 'The rest operator is missing an argument',
93
93
  _a[40] = 'A getter cannot be a generator',
94
- _a[41] = 'A computed property name must be followed by a colon or paren',
95
- _a[130] = 'Object literal keys that are strings or numbers must be a method or have a colon',
96
- _a[43] = 'Found `* async x(){}` but this should be `async * x(){}`',
97
- _a[42] = 'Getters and setters can not be generators',
98
- _a[44] = "'%0' can not be generator method",
99
- _a[45] = "No line break is allowed after '=>'",
100
- _a[46] = 'The left-hand side of the arrow can only be destructed through assignment',
101
- _a[47] = 'The binding declaration is not destructible',
102
- _a[48] = 'Async arrow can not be followed by new expression',
103
- _a[49] = "Classes may not have a static property named 'prototype'",
104
- _a[50] = 'Class constructor may not be a %0',
105
- _a[51] = 'Duplicate constructor method in class',
106
- _a[52] = 'Invalid increment/decrement operand',
107
- _a[53] = 'Invalid use of `new` keyword on an increment/decrement expression',
108
- _a[54] = '`=>` is an invalid assignment target',
109
- _a[55] = 'Rest element may not have a trailing comma',
110
- _a[56] = 'Missing initializer in %0 declaration',
111
- _a[57] = "'for-%0' loop head declarations can not have an initializer",
112
- _a[58] = 'Invalid left-hand side in for-%0 loop: Must have a single binding',
113
- _a[59] = 'Invalid shorthand property initializer',
114
- _a[60] = 'Property name __proto__ appears more than once in object literal',
115
- _a[61] = 'Let is disallowed as a lexically bound name',
116
- _a[62] = "Invalid use of '%0' inside new expression",
117
- _a[63] = "Illegal 'use strict' directive in function with non-simple parameter list",
118
- _a[64] = 'Identifier "let" disallowed as left-hand side expression in strict mode',
119
- _a[65] = 'Illegal continue statement',
120
- _a[66] = 'Illegal break statement',
121
- _a[67] = 'Cannot have `let[...]` as a var name in strict mode',
122
- _a[68] = 'Invalid destructuring assignment target',
123
- _a[69] = 'Rest parameter may not have a default initializer',
124
- _a[70] = 'The rest argument must the be last parameter',
125
- _a[71] = 'Invalid rest argument',
126
- _a[73] = 'In strict mode code, functions can only be declared at top level or inside a block',
127
- _a[74] = 'In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement',
128
- _a[75] = 'Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement',
129
- _a[76] = "Class declaration can't appear in single-statement context",
130
- _a[77] = 'Invalid left-hand side in for-%0',
131
- _a[78] = 'Invalid assignment in for-%0',
132
- _a[79] = 'for await (... of ...) is only valid in async functions and async generators',
133
- _a[80] = 'The first token after the template expression should be a continuation of the template',
134
- _a[82] = '`let` declaration not allowed here and `let` cannot be a regular var name in strict mode',
135
- _a[81] = '`let \n [` is a restricted production at the start of a statement',
136
- _a[83] = 'Catch clause requires exactly one parameter, not more (and no trailing comma)',
137
- _a[84] = 'Catch clause parameter does not support default values',
138
- _a[85] = 'Missing catch or finally after try',
139
- _a[86] = 'More than one default clause in switch statement',
140
- _a[87] = 'Illegal newline after throw',
141
- _a[88] = 'Strict mode code may not include a with statement',
142
- _a[89] = 'Illegal return statement',
143
- _a[90] = 'The left hand side of the for-header binding declaration is not destructible',
144
- _a[91] = 'new.target only allowed within functions',
145
- _a[93] = "'#' not followed by identifier",
146
- _a[99] = 'Invalid keyword',
147
- _a[98] = "Can not use 'let' as a class name",
148
- _a[97] = "'A lexical declaration can't define a 'let' binding",
149
- _a[96] = 'Can not use `let` as variable name in strict mode',
150
- _a[94] = "'%0' may not be used as an identifier in this context",
151
- _a[95] = 'Await is only valid in async functions',
152
- _a[100] = 'The %0 keyword can only be used with the module goal',
153
- _a[101] = 'Unicode codepoint must not be greater than 0x10FFFF',
154
- _a[102] = '%0 source must be string',
155
- _a[103] = 'Only a identifier can be used to indicate alias',
156
- _a[104] = "Only '*' or '{...}' can be imported after default",
157
- _a[105] = 'Trailing decorator may be followed by method',
158
- _a[106] = "Decorators can't be used with a constructor",
159
- _a[108] = 'HTML comments are only allowed with web compatibility (Annex B)',
160
- _a[109] = "The identifier 'let' must not be in expression position in strict mode",
161
- _a[110] = 'Cannot assign to `eval` and `arguments` in strict mode',
162
- _a[111] = "The left-hand side of a for-of loop may not start with 'let'",
163
- _a[112] = 'Block body arrows can not be immediately invoked without a group',
164
- _a[113] = 'Block body arrows can not be immediately accessed without a group',
165
- _a[114] = 'Unexpected strict mode reserved word',
166
- _a[115] = 'Unexpected eval or arguments in strict mode',
167
- _a[116] = 'Decorators must not be followed by a semicolon',
168
- _a[117] = 'Calling delete on expression not allowed in strict mode',
169
- _a[118] = 'Pattern can not have a tail',
170
- _a[120] = 'Can not have a `yield` expression on the left side of a ternary',
171
- _a[121] = 'An arrow function can not have a postfix update operator',
172
- _a[122] = 'Invalid object literal key character after generator star',
173
- _a[123] = 'Private fields can not be deleted',
174
- _a[125] = 'Classes may not have a field called constructor',
175
- _a[124] = 'Classes may not have a private element named constructor',
176
- _a[126] = 'A class field initializer may not contain arguments',
177
- _a[127] = 'Generators can only be declared at the top level or inside a block',
178
- _a[128] = 'Async methods are a restricted production and cannot have a newline following it',
179
- _a[129] = 'Unexpected character after object literal property name',
180
- _a[131] = 'Invalid key token',
181
- _a[132] = "Label '%0' has already been declared",
182
- _a[133] = 'continue statement must be nested within an iteration statement',
183
- _a[134] = "Undefined label '%0'",
184
- _a[135] = 'Trailing comma is disallowed inside import(...) arguments',
185
- _a[136] = 'import() requires exactly one argument',
186
- _a[137] = 'Cannot use new with import(...)',
187
- _a[138] = '... is not allowed in import()',
188
- _a[139] = "Expected '=>'",
189
- _a[140] = "Duplicate binding '%0'",
190
- _a[141] = "Cannot export a duplicate name '%0'",
191
- _a[144] = 'Duplicate %0 for-binding',
192
- _a[142] = "Exported binding '%0' needs to refer to a top-level declared variable",
193
- _a[143] = 'Unexpected private field',
194
- _a[147] = 'Numeric separators are not allowed at the end of numeric literals',
195
- _a[146] = 'Only one underscore is allowed as numeric separator',
196
- _a[148] = 'JSX value should be either an expression or a quoted JSX text',
197
- _a[149] = 'Expected corresponding JSX closing tag for %0',
198
- _a[150] = 'Adjacent JSX elements must be wrapped in an enclosing tag',
199
- _a[151] = "JSX attributes must only be assigned a non-empty 'expression'",
200
- _a[152] = "'%0' has already been declared",
201
- _a[153] = "'%0' shadowed a catch clause binding",
202
- _a[154] = 'Dot property must be an identifier',
203
- _a[155] = 'Encountered invalid input after spread/rest argument',
204
- _a[156] = 'Catch without try',
205
- _a[157] = 'Finally without try',
206
- _a[158] = 'Expected corresponding closing tag for JSX fragment',
207
- _a[159] = 'Coalescing and logical operators used together in the same expression must be disambiguated with parentheses',
208
- _a[160] = 'Invalid tagged template on optional chain',
209
- _a[161] = 'Invalid optional chain from super property',
210
- _a[162] = 'Invalid optional chain from new expression',
211
- _a[163] = 'Cannot use "import.meta" outside a module',
212
- _a[164] = 'Leading decorators must be attached to a class declaration',
94
+ _a[41] = 'A setter cannot be a generator',
95
+ _a[42] = 'A computed property name must be followed by a colon or paren',
96
+ _a[131] = 'Object literal keys that are strings or numbers must be a method or have a colon',
97
+ _a[44] = 'Found `* async x(){}` but this should be `async * x(){}`',
98
+ _a[43] = 'Getters and setters can not be generators',
99
+ _a[45] = "'%0' can not be generator method",
100
+ _a[46] = "No line break is allowed after '=>'",
101
+ _a[47] = 'The left-hand side of the arrow can only be destructed through assignment',
102
+ _a[48] = 'The binding declaration is not destructible',
103
+ _a[49] = 'Async arrow can not be followed by new expression',
104
+ _a[50] = "Classes may not have a static property named 'prototype'",
105
+ _a[51] = 'Class constructor may not be a %0',
106
+ _a[52] = 'Duplicate constructor method in class',
107
+ _a[53] = 'Invalid increment/decrement operand',
108
+ _a[54] = 'Invalid use of `new` keyword on an increment/decrement expression',
109
+ _a[55] = '`=>` is an invalid assignment target',
110
+ _a[56] = 'Rest element may not have a trailing comma',
111
+ _a[57] = 'Missing initializer in %0 declaration',
112
+ _a[58] = "'for-%0' loop head declarations can not have an initializer",
113
+ _a[59] = 'Invalid left-hand side in for-%0 loop: Must have a single binding',
114
+ _a[60] = 'Invalid shorthand property initializer',
115
+ _a[61] = 'Property name __proto__ appears more than once in object literal',
116
+ _a[62] = 'Let is disallowed as a lexically bound name',
117
+ _a[63] = "Invalid use of '%0' inside new expression",
118
+ _a[64] = "Illegal 'use strict' directive in function with non-simple parameter list",
119
+ _a[65] = 'Identifier "let" disallowed as left-hand side expression in strict mode',
120
+ _a[66] = 'Illegal continue statement',
121
+ _a[67] = 'Illegal break statement',
122
+ _a[68] = 'Cannot have `let[...]` as a var name in strict mode',
123
+ _a[69] = 'Invalid destructuring assignment target',
124
+ _a[70] = 'Rest parameter may not have a default initializer',
125
+ _a[71] = 'The rest argument must the be last parameter',
126
+ _a[72] = 'Invalid rest argument',
127
+ _a[74] = 'In strict mode code, functions can only be declared at top level or inside a block',
128
+ _a[75] = 'In non-strict mode code, functions can only be declared at top level, inside a block, or as the body of an if statement',
129
+ _a[76] = 'Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement',
130
+ _a[77] = "Class declaration can't appear in single-statement context",
131
+ _a[78] = 'Invalid left-hand side in for-%0',
132
+ _a[79] = 'Invalid assignment in for-%0',
133
+ _a[80] = 'for await (... of ...) is only valid in async functions and async generators',
134
+ _a[81] = 'The first token after the template expression should be a continuation of the template',
135
+ _a[83] = '`let` declaration not allowed here and `let` cannot be a regular var name in strict mode',
136
+ _a[82] = '`let \n [` is a restricted production at the start of a statement',
137
+ _a[84] = 'Catch clause requires exactly one parameter, not more (and no trailing comma)',
138
+ _a[85] = 'Catch clause parameter does not support default values',
139
+ _a[86] = 'Missing catch or finally after try',
140
+ _a[87] = 'More than one default clause in switch statement',
141
+ _a[88] = 'Illegal newline after throw',
142
+ _a[89] = 'Strict mode code may not include a with statement',
143
+ _a[90] = 'Illegal return statement',
144
+ _a[91] = 'The left hand side of the for-header binding declaration is not destructible',
145
+ _a[92] = 'new.target only allowed within functions',
146
+ _a[94] = "'#' not followed by identifier",
147
+ _a[100] = 'Invalid keyword',
148
+ _a[99] = "Can not use 'let' as a class name",
149
+ _a[98] = "'A lexical declaration can't define a 'let' binding",
150
+ _a[97] = 'Can not use `let` as variable name in strict mode',
151
+ _a[95] = "'%0' may not be used as an identifier in this context",
152
+ _a[96] = 'Await is only valid in async functions',
153
+ _a[101] = 'The %0 keyword can only be used with the module goal',
154
+ _a[102] = 'Unicode codepoint must not be greater than 0x10FFFF',
155
+ _a[103] = '%0 source must be string',
156
+ _a[104] = 'Only a identifier can be used to indicate alias',
157
+ _a[105] = "Only '*' or '{...}' can be imported after default",
158
+ _a[106] = 'Trailing decorator may be followed by method',
159
+ _a[107] = "Decorators can't be used with a constructor",
160
+ _a[109] = 'HTML comments are only allowed with web compatibility (Annex B)',
161
+ _a[110] = "The identifier 'let' must not be in expression position in strict mode",
162
+ _a[111] = 'Cannot assign to `eval` and `arguments` in strict mode',
163
+ _a[112] = "The left-hand side of a for-of loop may not start with 'let'",
164
+ _a[113] = 'Block body arrows can not be immediately invoked without a group',
165
+ _a[114] = 'Block body arrows can not be immediately accessed without a group',
166
+ _a[115] = 'Unexpected strict mode reserved word',
167
+ _a[116] = 'Unexpected eval or arguments in strict mode',
168
+ _a[117] = 'Decorators must not be followed by a semicolon',
169
+ _a[118] = 'Calling delete on expression not allowed in strict mode',
170
+ _a[119] = 'Pattern can not have a tail',
171
+ _a[121] = 'Can not have a `yield` expression on the left side of a ternary',
172
+ _a[122] = 'An arrow function can not have a postfix update operator',
173
+ _a[123] = 'Invalid object literal key character after generator star',
174
+ _a[124] = 'Private fields can not be deleted',
175
+ _a[126] = 'Classes may not have a field called constructor',
176
+ _a[125] = 'Classes may not have a private element named constructor',
177
+ _a[127] = 'A class field initializer may not contain arguments',
178
+ _a[128] = 'Generators can only be declared at the top level or inside a block',
179
+ _a[129] = 'Async methods are a restricted production and cannot have a newline following it',
180
+ _a[130] = 'Unexpected character after object literal property name',
181
+ _a[132] = 'Invalid key token',
182
+ _a[133] = "Label '%0' has already been declared",
183
+ _a[134] = 'continue statement must be nested within an iteration statement',
184
+ _a[135] = "Undefined label '%0'",
185
+ _a[136] = 'Trailing comma is disallowed inside import(...) arguments',
186
+ _a[137] = 'import() requires exactly one argument',
187
+ _a[138] = 'Cannot use new with import(...)',
188
+ _a[139] = '... is not allowed in import()',
189
+ _a[140] = "Expected '=>'",
190
+ _a[141] = "Duplicate binding '%0'",
191
+ _a[142] = "Cannot export a duplicate name '%0'",
192
+ _a[145] = 'Duplicate %0 for-binding',
193
+ _a[143] = "Exported binding '%0' needs to refer to a top-level declared variable",
194
+ _a[144] = 'Unexpected private field',
195
+ _a[148] = 'Numeric separators are not allowed at the end of numeric literals',
196
+ _a[147] = 'Only one underscore is allowed as numeric separator',
197
+ _a[149] = 'JSX value should be either an expression or a quoted JSX text',
198
+ _a[150] = 'Expected corresponding JSX closing tag for %0',
199
+ _a[151] = 'Adjacent JSX elements must be wrapped in an enclosing tag',
200
+ _a[152] = "JSX attributes must only be assigned a non-empty 'expression'",
201
+ _a[153] = "'%0' has already been declared",
202
+ _a[154] = "'%0' shadowed a catch clause binding",
203
+ _a[155] = 'Dot property must be an identifier',
204
+ _a[156] = 'Encountered invalid input after spread/rest argument',
205
+ _a[157] = 'Catch without try',
206
+ _a[158] = 'Finally without try',
207
+ _a[159] = 'Expected corresponding closing tag for JSX fragment',
208
+ _a[160] = 'Coalescing and logical operators used together in the same expression must be disambiguated with parentheses',
209
+ _a[161] = 'Invalid tagged template on optional chain',
210
+ _a[162] = 'Invalid optional chain from super property',
211
+ _a[163] = 'Invalid optional chain from new expression',
212
+ _a[164] = 'Cannot use "import.meta" outside a module',
213
+ _a[165] = 'Leading decorators must be attached to a class declaration',
213
214
  _a);
214
215
  var ParseError = (function (_super) {
215
216
  __extends(ParseError, _super);
@@ -1157,7 +1158,7 @@
1157
1158
  case -4:
1158
1159
  report(state, 6);
1159
1160
  case -5:
1160
- report(state, 101);
1161
+ report(state, 102);
1161
1162
  }
1162
1163
  }
1163
1164
 
@@ -1270,7 +1271,7 @@
1270
1271
  while (CharTypes[char] & (64 | 4096)) {
1271
1272
  if (char === 95) {
1272
1273
  if (!allowSeparator)
1273
- report(parser, 146);
1274
+ report(parser, 147);
1274
1275
  allowSeparator = 0;
1275
1276
  char = advanceChar(parser);
1276
1277
  continue;
@@ -1281,7 +1282,7 @@
1281
1282
  char = advanceChar(parser);
1282
1283
  }
1283
1284
  if (digits === 0 || !allowSeparator) {
1284
- report(parser, digits === 0 ? 19 : 147);
1285
+ report(parser, digits === 0 ? 19 : 148);
1285
1286
  }
1286
1287
  }
1287
1288
  else if ((char | 32) === 111) {
@@ -1290,7 +1291,7 @@
1290
1291
  while (CharTypes[char] & (32 | 4096)) {
1291
1292
  if (char === 95) {
1292
1293
  if (!allowSeparator) {
1293
- report(parser, 146);
1294
+ report(parser, 147);
1294
1295
  }
1295
1296
  allowSeparator = 0;
1296
1297
  char = advanceChar(parser);
@@ -1302,7 +1303,7 @@
1302
1303
  char = advanceChar(parser);
1303
1304
  }
1304
1305
  if (digits === 0 || !allowSeparator) {
1305
- report(parser, digits === 0 ? 0 : 147);
1306
+ report(parser, digits === 0 ? 0 : 148);
1306
1307
  }
1307
1308
  }
1308
1309
  else if ((char | 32) === 98) {
@@ -1311,7 +1312,7 @@
1311
1312
  while (CharTypes[char] & (128 | 4096)) {
1312
1313
  if (char === 95) {
1313
1314
  if (!allowSeparator) {
1314
- report(parser, 146);
1315
+ report(parser, 147);
1315
1316
  }
1316
1317
  allowSeparator = 0;
1317
1318
  char = advanceChar(parser);
@@ -1323,7 +1324,7 @@
1323
1324
  char = advanceChar(parser);
1324
1325
  }
1325
1326
  if (digits === 0 || !allowSeparator) {
1326
- report(parser, digits === 0 ? 0 : 147);
1327
+ report(parser, digits === 0 ? 0 : 148);
1327
1328
  }
1328
1329
  }
1329
1330
  else if (CharTypes[char] & 32) {
@@ -1356,7 +1357,7 @@
1356
1357
  if (char === 95) {
1357
1358
  char = advanceChar(parser);
1358
1359
  if (char === 95 || kind & 32) {
1359
- reportScannerError(parser.index, parser.line, parser.index + 1, 146);
1360
+ reportScannerError(parser.index, parser.line, parser.index + 1, 147);
1360
1361
  }
1361
1362
  allowSeparator = 1;
1362
1363
  continue;
@@ -1367,7 +1368,7 @@
1367
1368
  --digit;
1368
1369
  }
1369
1370
  if (allowSeparator) {
1370
- reportScannerError(parser.index, parser.line, parser.index + 1, 147);
1371
+ reportScannerError(parser.index, parser.line, parser.index + 1, 148);
1371
1372
  }
1372
1373
  if (digit >= 0 && !isIdentifierStart(char) && char !== 46) {
1373
1374
  parser.tokenValue = value;
@@ -1432,7 +1433,7 @@
1432
1433
  var index = parser.index;
1433
1434
  char = advanceChar(parser);
1434
1435
  if (char === 95) {
1435
- reportScannerError(parser.index, parser.line, parser.index + 1, 146);
1436
+ reportScannerError(parser.index, parser.line, parser.index + 1, 147);
1436
1437
  }
1437
1438
  allowSeparator = 1;
1438
1439
  ret += parser.source.substring(start, index);
@@ -1443,7 +1444,7 @@
1443
1444
  char = advanceChar(parser);
1444
1445
  }
1445
1446
  if (allowSeparator) {
1446
- reportScannerError(parser.index, parser.line, parser.index + 1, 147);
1447
+ reportScannerError(parser.index, parser.line, parser.index + 1, 148);
1447
1448
  }
1448
1449
  return ret + parser.source.substring(start, parser.index);
1449
1450
  }
@@ -1532,7 +1533,7 @@
1532
1533
  function scanIdentifier(parser, context, isValidAsKeyword) {
1533
1534
  while (isIdPart[advanceChar(parser)]) { }
1534
1535
  parser.tokenValue = parser.source.slice(parser.tokenPos, parser.index);
1535
- return parser.currentChar !== 92 && parser.currentChar < 0x7e
1536
+ return parser.currentChar !== 92 && parser.currentChar <= 0x7e
1536
1537
  ? descKeywordTable[parser.tokenValue] || 208897
1537
1538
  : scanIdentifierSlowCase(parser, context, 0, isValidAsKeyword);
1538
1539
  }
@@ -1619,7 +1620,7 @@
1619
1620
  }
1620
1621
  function scanPrivateIdentifier(parser) {
1621
1622
  if (!isIdentifierStart(advanceChar(parser)))
1622
- report(parser, 93);
1623
+ report(parser, 94);
1623
1624
  return 131;
1624
1625
  }
1625
1626
  function scanIdentifierUnicodeEscape(parser) {
@@ -1637,7 +1638,7 @@
1637
1638
  while (CharTypes[advanceChar(parser)] & 64) {
1638
1639
  codePoint = (codePoint << 4) | toHex(parser.currentChar);
1639
1640
  if (codePoint > 1114111)
1640
- reportScannerError(begin, parser.line, parser.index + 1, 101);
1641
+ reportScannerError(begin, parser.line, parser.index + 1, 102);
1641
1642
  }
1642
1643
  if (parser.currentChar !== 125) {
1643
1644
  reportScannerError(begin, parser.line, parser.index - 1, 6);
@@ -1978,7 +1979,7 @@
1978
1979
  advanceChar(parser);
1979
1980
  if ((state & 1 || isStartOfLine) && parser.currentChar === 62) {
1980
1981
  if ((context & 256) === 0)
1981
- report(parser, 108);
1982
+ report(parser, 109);
1982
1983
  advanceChar(parser);
1983
1984
  state = skipSingleHTMLComment(parser, source, state, context, 3, startPos, startLine, startColumn);
1984
1985
  startPos = parser.tokenPos;
@@ -4474,7 +4475,7 @@
4474
4475
  case 'AssignmentExpression':
4475
4476
  node.type = 'AssignmentPattern';
4476
4477
  if (node.operator !== '=')
4477
- report(state, 68);
4478
+ report(state, 69);
4478
4479
  delete node.operator;
4479
4480
  reinterpretToPattern(state, node.left);
4480
4481
  return;
@@ -4489,58 +4490,58 @@
4489
4490
  function validateBindingIdentifier(parser, context, kind, t, skipEvalArgCheck) {
4490
4491
  if (context & 1024) {
4491
4492
  if ((t & 36864) === 36864) {
4492
- report(parser, 114);
4493
+ report(parser, 115);
4493
4494
  }
4494
4495
  if (!skipEvalArgCheck && (t & 537079808) === 537079808) {
4495
- report(parser, 115);
4496
+ report(parser, 116);
4496
4497
  }
4497
4498
  }
4498
4499
  if ((t & 20480) === 20480) {
4499
- report(parser, 99);
4500
+ report(parser, 100);
4500
4501
  }
4501
4502
  if (kind & (8 | 16) && t === 241739) {
4502
- report(parser, 97);
4503
+ report(parser, 98);
4503
4504
  }
4504
4505
  if (context & (4194304 | 2048) && t === 209008) {
4505
- report(parser, 95);
4506
+ report(parser, 96);
4506
4507
  }
4507
4508
  if (context & (2097152 | 1024) && t === 241773) {
4508
- report(parser, 94, 'yield');
4509
+ report(parser, 95, 'yield');
4509
4510
  }
4510
4511
  }
4511
4512
  function validateFunctionName(parser, context, t) {
4512
4513
  if (context & 1024) {
4513
4514
  if ((t & 36864) === 36864) {
4514
- report(parser, 114);
4515
+ report(parser, 115);
4515
4516
  }
4516
4517
  if ((t & 537079808) === 537079808) {
4517
- report(parser, 115);
4518
+ report(parser, 116);
4518
4519
  }
4519
4520
  if (t === 122) {
4520
- report(parser, 92);
4521
+ report(parser, 93);
4521
4522
  }
4522
4523
  if (t === 121) {
4523
- report(parser, 92);
4524
+ report(parser, 93);
4524
4525
  }
4525
4526
  }
4526
4527
  if ((t & 20480) === 20480) {
4527
- report(parser, 99);
4528
+ report(parser, 100);
4528
4529
  }
4529
4530
  if (context & (4194304 | 2048) && t === 209008) {
4530
- report(parser, 95);
4531
+ report(parser, 96);
4531
4532
  }
4532
4533
  if (context & (2097152 | 1024) && t === 241773) {
4533
- report(parser, 94, 'yield');
4534
+ report(parser, 95, 'yield');
4534
4535
  }
4535
4536
  }
4536
4537
  function isStrictReservedWord(parser, context, t) {
4537
4538
  if (t === 209008) {
4538
4539
  if (context & (4194304 | 2048))
4539
- report(parser, 95);
4540
+ report(parser, 96);
4540
4541
  parser.destructible |= 128;
4541
4542
  }
4542
4543
  if (t === 241773 && context & 2097152)
4543
- report(parser, 94, 'yield');
4544
+ report(parser, 95, 'yield');
4544
4545
  return ((t & 20480) === 20480 ||
4545
4546
  (t & 36864) === 36864 ||
4546
4547
  t == 122);
@@ -4552,7 +4553,7 @@
4552
4553
  while (labels) {
4553
4554
  if (labels['$' + name]) {
4554
4555
  if (isIterationStatement)
4555
- report(parser, 133);
4556
+ report(parser, 134);
4556
4557
  return 1;
4557
4558
  }
4558
4559
  if (isIterationStatement && labels.loop)
@@ -4565,7 +4566,7 @@
4565
4566
  var set = labels;
4566
4567
  while (set) {
4567
4568
  if (set['$' + name])
4568
- report(parser, 132, name);
4569
+ report(parser, 133, name);
4569
4570
  set = set['$'];
4570
4571
  }
4571
4572
  labels['$' + name] = 1;
@@ -4650,27 +4651,27 @@
4650
4651
  var value = scope['#' + name];
4651
4652
  if (value && (value & 2) === 0) {
4652
4653
  if (kind & 1) {
4653
- scope.scopeError = recordScopeError(parser, 140, name);
4654
+ scope.scopeError = recordScopeError(parser, 141, name);
4654
4655
  }
4655
4656
  else if (context & 256 &&
4656
4657
  value & 64 &&
4657
4658
  origin & 2) ;
4658
4659
  else {
4659
- report(parser, 140, name);
4660
+ report(parser, 141, name);
4660
4661
  }
4661
4662
  }
4662
4663
  if (scope.type & 128 &&
4663
4664
  (scope.parent['#' + name] && (scope.parent['#' + name] & 2) === 0)) {
4664
- report(parser, 140, name);
4665
+ report(parser, 141, name);
4665
4666
  }
4666
4667
  if (scope.type & 1024 && value && (value & 2) === 0) {
4667
4668
  if (kind & 1) {
4668
- scope.scopeError = recordScopeError(parser, 140, name);
4669
+ scope.scopeError = recordScopeError(parser, 141, name);
4669
4670
  }
4670
4671
  }
4671
4672
  if (scope.type & 64) {
4672
4673
  if (scope.parent['#' + name] & 768)
4673
- report(parser, 153, name);
4674
+ report(parser, 154, name);
4674
4675
  }
4675
4676
  scope['#' + name] = kind;
4676
4677
  }
@@ -4684,19 +4685,19 @@
4684
4685
  ((kind & 128 && value & 68) ||
4685
4686
  (value & 128 && kind & 68))) ;
4686
4687
  else {
4687
- report(parser, 140, name);
4688
+ report(parser, 141, name);
4688
4689
  }
4689
4690
  }
4690
4691
  if (currentScope === scope) {
4691
4692
  if (value & 1 && kind & 1) {
4692
- currentScope.scopeError = recordScopeError(parser, 140, name);
4693
+ currentScope.scopeError = recordScopeError(parser, 141, name);
4693
4694
  }
4694
4695
  }
4695
4696
  if (value & (512 | 256)) {
4696
4697
  if ((value & 512) === 0 ||
4697
4698
  (context & 256) === 0 ||
4698
4699
  context & 1024) {
4699
- report(parser, 140, name);
4700
+ report(parser, 141, name);
4700
4701
  }
4701
4702
  }
4702
4703
  currentScope['#' + name] = kind;
@@ -4706,7 +4707,7 @@
4706
4707
  function declareUnboundVariable(parser, name) {
4707
4708
  if (parser.exportedNames !== void 0 && name !== '') {
4708
4709
  if (parser.exportedNames['#' + name]) {
4709
- report(parser, 141, name);
4710
+ report(parser, 142, name);
4710
4711
  }
4711
4712
  parser.exportedNames['#' + name] = 1;
4712
4713
  }
@@ -4764,7 +4765,7 @@
4764
4765
  function classifyIdentifier(parser, context, t, isArrow) {
4765
4766
  if ((t & 537079808) === 537079808) {
4766
4767
  if (context & 1024)
4767
- report(parser, 115);
4768
+ report(parser, 116);
4768
4769
  if (isArrow)
4769
4770
  parser.flags |= 512;
4770
4771
  }
@@ -4857,7 +4858,7 @@
4857
4858
  if (scope) {
4858
4859
  for (var key in parser.exportedBindings) {
4859
4860
  if (key[0] === '#' && !scope[key])
4860
- report(parser, 142, key.slice(1));
4861
+ report(parser, 143, key.slice(1));
4861
4862
  }
4862
4863
  }
4863
4864
  }
@@ -4927,7 +4928,7 @@
4927
4928
  moduleItem = parseStatementListItem(parser, context, scope, 4, {});
4928
4929
  }
4929
4930
  if (parser.leadingDecorators.length) {
4930
- report(parser, 164);
4931
+ report(parser, 165);
4931
4932
  }
4932
4933
  return moduleItem;
4933
4934
  }
@@ -4946,7 +4947,7 @@
4946
4947
  case 241739:
4947
4948
  return parseLetIdentOrVarDeclarationStatement(parser, context, scope, origin, start, line, column);
4948
4949
  case 20566:
4949
- report(parser, 100, 'export');
4950
+ report(parser, 101, 'export');
4950
4951
  case 86108:
4951
4952
  nextToken(parser, context);
4952
4953
  switch (parser.token) {
@@ -4955,7 +4956,7 @@
4955
4956
  case 67108877:
4956
4957
  return parseImportMetaDeclaration(parser, context, start, line, column);
4957
4958
  default:
4958
- report(parser, 100, 'import');
4959
+ report(parser, 101, 'import');
4959
4960
  }
4960
4961
  case 209007:
4961
4962
  return parseAsyncArrowOrAsyncFunctionDeclaration(parser, context, scope, origin, labels, 1, start, line, column);
@@ -4998,17 +4999,17 @@
4998
4999
  case 209007:
4999
5000
  return parseAsyncArrowOrAsyncFunctionDeclaration(parser, context, scope, origin, labels, 0, start, line, column);
5000
5001
  case 20559:
5001
- report(parser, 156);
5002
- case 20568:
5003
5002
  report(parser, 157);
5003
+ case 20568:
5004
+ report(parser, 158);
5004
5005
  case 86106:
5005
5006
  report(parser, context & 1024
5006
- ? 73
5007
+ ? 74
5007
5008
  : (context & 256) === 0
5008
- ? 75
5009
- : 74);
5009
+ ? 76
5010
+ : 75);
5010
5011
  case 86096:
5011
- report(parser, 76);
5012
+ report(parser, 77);
5012
5013
  default:
5013
5014
  return parseExpressionOrLabelledStatement(parser, context, scope, origin, labels, allowFuncDecl, start, line, column);
5014
5015
  }
@@ -5020,9 +5021,9 @@
5020
5021
  case 241739:
5021
5022
  expr = parseIdentifier(parser, context, 0);
5022
5023
  if (context & 1024)
5023
- report(parser, 82);
5024
+ report(parser, 83);
5024
5025
  if (parser.token === 69271571)
5025
- report(parser, 81);
5026
+ report(parser, 82);
5026
5027
  break;
5027
5028
  default:
5028
5029
  expr = parsePrimaryExpression(parser, context, 2, 0, 1, 0, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
@@ -5051,7 +5052,7 @@
5051
5052
  }
5052
5053
  function parseReturnStatement(parser, context, start, line, column) {
5053
5054
  if ((context & 32) === 0 && context & 8192)
5054
- report(parser, 89);
5055
+ report(parser, 90);
5055
5056
  nextToken(parser, context | 32768);
5056
5057
  var argument = parser.flags & 1 || parser.token & 1048576
5057
5058
  ? null
@@ -5095,7 +5096,7 @@
5095
5096
  if (!asyncNewLine) {
5096
5097
  if (parser.token === 86106) {
5097
5098
  if (!allowFuncDecl)
5098
- report(parser, 119);
5099
+ report(parser, 120);
5099
5100
  return parseFunctionDeclaration(parser, context, scope, origin, 1, 0, 1, start, line, column);
5100
5101
  }
5101
5102
  if ((parser.token & 143360) === 143360) {
@@ -5154,7 +5155,7 @@
5154
5155
  function parseThrowStatement(parser, context, start, line, column) {
5155
5156
  nextToken(parser, context | 32768);
5156
5157
  if (parser.flags & 1)
5157
- report(parser, 87);
5158
+ report(parser, 88);
5158
5159
  var argument = parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
5159
5160
  matchOrInsertSemicolon(parser, context | 32768);
5160
5161
  return finishNode(parser, context, start, line, column, {
@@ -5208,7 +5209,7 @@
5208
5209
  else {
5209
5210
  consume(parser, context | 32768, 20563);
5210
5211
  if (seenDefault)
5211
- report(parser, 86);
5212
+ report(parser, 87);
5212
5213
  seenDefault = 1;
5213
5214
  }
5214
5215
  consume(parser, context | 32768, 21);
@@ -5249,14 +5250,14 @@
5249
5250
  }
5250
5251
  function parseContinueStatement(parser, context, labels, start, line, column) {
5251
5252
  if ((context & 131072) === 0)
5252
- report(parser, 65);
5253
+ report(parser, 66);
5253
5254
  nextToken(parser, context);
5254
5255
  var label = null;
5255
5256
  if ((parser.flags & 1) === 0 && parser.token & 143360) {
5256
5257
  var tokenValue = parser.tokenValue;
5257
5258
  label = parseIdentifier(parser, context | 32768, 0);
5258
5259
  if (!isValidLabel(parser, labels, tokenValue, 1))
5259
- report(parser, 134, tokenValue);
5260
+ report(parser, 135, tokenValue);
5260
5261
  }
5261
5262
  matchOrInsertSemicolon(parser, context | 32768);
5262
5263
  return finishNode(parser, context, start, line, column, {
@@ -5271,10 +5272,10 @@
5271
5272
  var tokenValue = parser.tokenValue;
5272
5273
  label = parseIdentifier(parser, context | 32768, 0);
5273
5274
  if (!isValidLabel(parser, labels, tokenValue, 0))
5274
- report(parser, 134, tokenValue);
5275
+ report(parser, 135, tokenValue);
5275
5276
  }
5276
5277
  else if ((context & (4096 | 131072)) === 0) {
5277
- report(parser, 66);
5278
+ report(parser, 67);
5278
5279
  }
5279
5280
  matchOrInsertSemicolon(parser, context | 32768);
5280
5281
  return finishNode(parser, context, start, line, column, {
@@ -5285,7 +5286,7 @@
5285
5286
  function parseWithStatement(parser, context, scope, labels, start, line, column) {
5286
5287
  nextToken(parser, context);
5287
5288
  if (context & 1024)
5288
- report(parser, 88);
5289
+ report(parser, 89);
5289
5290
  consume(parser, context | 32768, 67174411);
5290
5291
  var object = parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
5291
5292
  consume(parser, context | 32768, 16);
@@ -5318,7 +5319,7 @@
5318
5319
  finalizer = parseBlock(parser, context, finalizerScope, { $: labels }, parser.tokenPos, parser.linePos, parser.colPos);
5319
5320
  }
5320
5321
  if (!handler && !finalizer) {
5321
- report(parser, 85);
5322
+ report(parser, 86);
5322
5323
  }
5323
5324
  return finishNode(parser, context, start, line, column, {
5324
5325
  type: 'TryStatement',
@@ -5337,10 +5338,10 @@
5337
5338
  ? 256
5338
5339
  : 512, 0, parser.tokenPos, parser.linePos, parser.colPos);
5339
5340
  if (parser.token === 18) {
5340
- report(parser, 83);
5341
+ report(parser, 84);
5341
5342
  }
5342
5343
  else if (parser.token === 1077936157) {
5343
- report(parser, 84);
5344
+ report(parser, 85);
5344
5345
  }
5345
5346
  consume(parser, context | 32768, 16);
5346
5347
  if (scope)
@@ -5392,7 +5393,7 @@
5392
5393
  }
5393
5394
  parser.assignable = 1;
5394
5395
  if (context & 1024)
5395
- report(parser, 82);
5396
+ report(parser, 83);
5396
5397
  if (parser.token === 21) {
5397
5398
  return parseLabelledStatement(parser, context, scope, origin, {}, tokenValue, expr, token, 0, start, line, column);
5398
5399
  }
@@ -5440,7 +5441,7 @@
5440
5441
  list.push(parseVariableDeclaration(parser, context, scope, kind, origin));
5441
5442
  }
5442
5443
  if (bindingCount > 1 && origin & 32 && parser.token & 262144) {
5443
- report(parser, 58, KeywordDescTable[parser.token & 255]);
5444
+ report(parser, 59, KeywordDescTable[parser.token & 255]);
5444
5445
  }
5445
5446
  return list;
5446
5447
  }
@@ -5455,13 +5456,13 @@
5455
5456
  if (parser.token === 274549 ||
5456
5457
  (parser.token === 8738868 &&
5457
5458
  (token & 2097152 || (kind & 4) === 0 || context & 1024))) {
5458
- reportMessageAt(tokenPos, parser.line, parser.index - 3, 57, parser.token === 274549 ? 'of' : 'in');
5459
+ reportMessageAt(tokenPos, parser.line, parser.index - 3, 58, parser.token === 274549 ? 'of' : 'in');
5459
5460
  }
5460
5461
  }
5461
5462
  }
5462
5463
  else if ((kind & 16 || (token & 2097152) > 0) &&
5463
5464
  (parser.token & 262144) !== 262144) {
5464
- report(parser, 56, kind & 16 ? 'const' : 'destructuring');
5465
+ report(parser, 57, kind & 16 ? 'const' : 'destructuring');
5465
5466
  }
5466
5467
  return finishNode(parser, context, tokenPos, linePos, colPos, {
5467
5468
  type: 'VariableDeclarator',
@@ -5489,7 +5490,7 @@
5489
5490
  if (parser.token & (143360 | 2097152)) {
5490
5491
  if (parser.token === 8738868) {
5491
5492
  if (context & 1024)
5492
- report(parser, 64);
5493
+ report(parser, 65);
5493
5494
  }
5494
5495
  else {
5495
5496
  init = finishNode(parser, context, tokenPos, linePos, colPos, {
@@ -5501,14 +5502,14 @@
5501
5502
  parser.assignable = 1;
5502
5503
  }
5503
5504
  else if (context & 1024) {
5504
- report(parser, 64);
5505
+ report(parser, 65);
5505
5506
  }
5506
5507
  else {
5507
5508
  isVarDecl = false;
5508
5509
  parser.assignable = 1;
5509
5510
  init = parseMemberOrUpdateExpression(parser, context, init, 0, 0, tokenPos, linePos, colPos);
5510
5511
  if (parser.token === 274549)
5511
- report(parser, 111);
5512
+ report(parser, 112);
5512
5513
  }
5513
5514
  }
5514
5515
  else {
@@ -5529,7 +5530,7 @@
5529
5530
  }
5530
5531
  else if (token === 1074790417) {
5531
5532
  if (forAwait)
5532
- report(parser, 79);
5533
+ report(parser, 80);
5533
5534
  }
5534
5535
  else if ((token & 2097152) === 2097152) {
5535
5536
  init =
@@ -5538,7 +5539,7 @@
5538
5539
  : parseArrayExpressionOrPattern(parser, context, void 0, 1, 0, 0, 2, 32, tokenPos, linePos, colPos);
5539
5540
  destructible = parser.destructible;
5540
5541
  if (context & 256 && destructible & 64) {
5541
- report(parser, 60);
5542
+ report(parser, 61);
5542
5543
  }
5543
5544
  parser.assignable =
5544
5545
  destructible & 16 ? 2 : 1;
@@ -5550,7 +5551,7 @@
5550
5551
  if ((parser.token & 262144) === 262144) {
5551
5552
  if (parser.token === 274549) {
5552
5553
  if (parser.assignable & 2)
5553
- report(parser, 77, forAwait ? 'await' : 'of');
5554
+ report(parser, 78, forAwait ? 'await' : 'of');
5554
5555
  reinterpretToPattern(parser, init);
5555
5556
  nextToken(parser, context | 32768);
5556
5557
  right = parseExpression(parser, context, 1, 0, 0, parser.tokenPos, parser.linePos, parser.colPos);
@@ -5565,11 +5566,11 @@
5565
5566
  });
5566
5567
  }
5567
5568
  if (parser.assignable & 2)
5568
- report(parser, 77, 'in');
5569
+ report(parser, 78, 'in');
5569
5570
  reinterpretToPattern(parser, init);
5570
5571
  nextToken(parser, context | 32768);
5571
5572
  if (forAwait)
5572
- report(parser, 79);
5573
+ report(parser, 80);
5573
5574
  right = parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
5574
5575
  consume(parser, context | 32768, 16);
5575
5576
  var body_2 = parseIterationStatementBody(parser, context, scope, labels);
@@ -5581,10 +5582,10 @@
5581
5582
  });
5582
5583
  }
5583
5584
  if (forAwait)
5584
- report(parser, 79);
5585
+ report(parser, 80);
5585
5586
  if (!isVarDecl) {
5586
5587
  if (destructible & 8 && parser.token !== 1077936157) {
5587
- report(parser, 77, 'loop');
5588
+ report(parser, 78, 'loop');
5588
5589
  }
5589
5590
  init = parseAssignmentExpression(parser, context | 134217728, 0, 0, tokenPos, linePos, colPos, init);
5590
5591
  }
@@ -5608,9 +5609,9 @@
5608
5609
  }
5609
5610
  function parseRestrictedIdentifier(parser, context, scope) {
5610
5611
  if (!isValidIdentifier(context, parser.token))
5611
- report(parser, 114);
5612
- if ((parser.token & 537079808) === 537079808)
5613
5612
  report(parser, 115);
5613
+ if ((parser.token & 537079808) === 537079808)
5614
+ report(parser, 116);
5614
5615
  if (scope)
5615
5616
  addBlockName(parser, context, scope, parser.tokenValue, 8, 0);
5616
5617
  return parseIdentifier(parser, context, 0);
@@ -5644,7 +5645,7 @@
5644
5645
  parseImportSpecifierOrNamedImports(parser, context, scope, specifiers);
5645
5646
  break;
5646
5647
  default:
5647
- report(parser, 104);
5648
+ report(parser, 105);
5648
5649
  }
5649
5650
  }
5650
5651
  }
@@ -5688,7 +5689,7 @@
5688
5689
  function parseModuleSpecifier(parser, context) {
5689
5690
  consumeOpt(parser, context, 12404);
5690
5691
  if (parser.token !== 134283267)
5691
- report(parser, 102, 'Import');
5692
+ report(parser, 103, 'Import');
5692
5693
  return parseLiteral(parser, context);
5693
5694
  }
5694
5695
  function parseImportSpecifierOrNamedImports(parser, context, scope, specifiers) {
@@ -5699,7 +5700,7 @@
5699
5700
  var local = void 0;
5700
5701
  if (consumeOpt(parser, context, 77934)) {
5701
5702
  if ((parser.token & 134217728) === 134217728 || parser.token === 18) {
5702
- report(parser, 103);
5703
+ report(parser, 104);
5703
5704
  }
5704
5705
  else {
5705
5706
  validateBindingIdentifier(parser, context, 16, parser.token, 0);
@@ -5803,7 +5804,7 @@
5803
5804
  }
5804
5805
  consume(parser, context, 12404);
5805
5806
  if (parser.token !== 134283267)
5806
- report(parser, 102, 'Export');
5807
+ report(parser, 103, 'Export');
5807
5808
  source = parseLiteral(parser, context);
5808
5809
  matchOrInsertSemicolon(parser, context | 32768);
5809
5810
  return finishNode(parser, context, start, line, column, {
@@ -5823,7 +5824,7 @@
5823
5824
  if (parser.token === 77934) {
5824
5825
  nextToken(parser, context);
5825
5826
  if ((parser.token & 134217728) === 134217728) {
5826
- report(parser, 103);
5827
+ report(parser, 104);
5827
5828
  }
5828
5829
  if (scope) {
5829
5830
  tmpExportedNames.push(parser.tokenValue);
@@ -5849,7 +5850,7 @@
5849
5850
  consume(parser, context, 1074790415);
5850
5851
  if (consumeOpt(parser, context, 12404)) {
5851
5852
  if (parser.token !== 134283267)
5852
- report(parser, 102, 'Export');
5853
+ report(parser, 103, 'Export');
5853
5854
  source = parseLiteral(parser, context);
5854
5855
  }
5855
5856
  else if (scope) {
@@ -5998,7 +5999,7 @@
5998
5999
  t = parser.token;
5999
6000
  prec = t & 3840;
6000
6001
  if ((t & 524288 && operator & 268435456) || (operator & 524288 && t & 268435456)) {
6001
- report(parser, 159);
6002
+ report(parser, 160);
6002
6003
  }
6003
6004
  if (prec + ((t === 8457273) << 8) - ((bit === t) << 12) <= minPrec)
6004
6005
  break;
@@ -6024,10 +6025,10 @@
6024
6025
  report(parser, 31);
6025
6026
  if (context & 1024 && unaryOperator === 16863278) {
6026
6027
  if (arg.type === 'Identifier') {
6027
- report(parser, 117);
6028
+ report(parser, 118);
6028
6029
  }
6029
6030
  else if (isPropertyWithPrivateFieldKey(arg)) {
6030
- report(parser, 123);
6031
+ report(parser, 124);
6031
6032
  }
6032
6033
  }
6033
6034
  parser.assignable = 2;
@@ -6058,7 +6059,7 @@
6058
6059
  if (parser.token === 10) {
6059
6060
  classifyIdentifier(parser, context, token, 1);
6060
6061
  if (inNew)
6061
- report(parser, 48);
6062
+ report(parser, 49);
6062
6063
  return parseArrowFromIdentifier(parser, context, parser.tokenValue, expr, inNew, canAssign, 0, start, line, column);
6063
6064
  }
6064
6065
  return expr;
@@ -6073,7 +6074,7 @@
6073
6074
  if (!canAssign)
6074
6075
  report(parser, 24);
6075
6076
  if (parser.token === 22)
6076
- report(parser, 120);
6077
+ report(parser, 121);
6077
6078
  var argument = null;
6078
6079
  var delegate = false;
6079
6080
  if ((parser.flags & 1) === 0) {
@@ -6090,7 +6091,7 @@
6090
6091
  });
6091
6092
  }
6092
6093
  if (context & 1024)
6093
- report(parser, 94, 'yield');
6094
+ report(parser, 95, 'yield');
6094
6095
  return parseIdentifierOrArrow(parser, context, start, line, column);
6095
6096
  }
6096
6097
  function parseAwaitExpression(parser, context, inNew, inGroup, start, line, column) {
@@ -6113,7 +6114,7 @@
6113
6114
  });
6114
6115
  }
6115
6116
  if (context & 2048)
6116
- report(parser, 95);
6117
+ report(parser, 96);
6117
6118
  return parseIdentifierOrArrow(parser, context, start, line, column);
6118
6119
  }
6119
6120
  function parseFunctionBody(parser, context, scope, origin, firstRestricted, scopeError) {
@@ -6128,7 +6129,7 @@
6128
6129
  if (isValidStrictMode(parser, index, tokenPos_2, tokenValue)) {
6129
6130
  context |= 1024;
6130
6131
  if (parser.flags & 128) {
6131
- reportMessageAt(parser.index, parser.line, parser.tokenPos, 63);
6132
+ reportMessageAt(parser.index, parser.line, parser.tokenPos, 64);
6132
6133
  }
6133
6134
  if (parser.flags & 64) {
6134
6135
  reportMessageAt(parser.index, parser.line, parser.tokenPos, 8);
@@ -6139,16 +6140,16 @@
6139
6140
  if (context & 1024) {
6140
6141
  if (firstRestricted) {
6141
6142
  if ((firstRestricted & 537079808) === 537079808) {
6142
- report(parser, 115);
6143
+ report(parser, 116);
6143
6144
  }
6144
6145
  if ((firstRestricted & 36864) === 36864) {
6145
6146
  report(parser, 38);
6146
6147
  }
6147
6148
  }
6148
6149
  if (parser.flags & 512)
6149
- report(parser, 115);
6150
+ report(parser, 116);
6150
6151
  if (parser.flags & 256)
6151
- report(parser, 114);
6152
+ report(parser, 115);
6152
6153
  }
6153
6154
  if (context & 64 &&
6154
6155
  scope &&
@@ -6178,7 +6179,7 @@
6178
6179
  nextToken(parser, context);
6179
6180
  switch (parser.token) {
6180
6181
  case 67108991:
6181
- report(parser, 161);
6182
+ report(parser, 162);
6182
6183
  case 67174411: {
6183
6184
  if ((context & 524288) === 0)
6184
6185
  report(parser, 26);
@@ -6207,7 +6208,7 @@
6207
6208
  }
6208
6209
  function parseUpdateExpression(parser, context, expr, start, line, column) {
6209
6210
  if (parser.assignable & 2)
6210
- report(parser, 52);
6211
+ report(parser, 53);
6211
6212
  var token = parser.token;
6212
6213
  nextToken(parser, context);
6213
6214
  parser.assignable = 2;
@@ -6290,7 +6291,7 @@
6290
6291
  }
6291
6292
  default:
6292
6293
  if ((parser.flags & 2048) === 2048) {
6293
- report(parser, 160);
6294
+ report(parser, 161);
6294
6295
  }
6295
6296
  parser.assignable = 2;
6296
6297
  expr = finishNode(parser, context, start, line, column, {
@@ -6347,7 +6348,7 @@
6347
6348
  }
6348
6349
  else {
6349
6350
  if ((parser.token & (143360 | 4096)) === 0)
6350
- report(parser, 154);
6351
+ report(parser, 155);
6351
6352
  var property = parseIdentifier(parser, context, 0);
6352
6353
  parser.assignable = 2;
6353
6354
  node = finishNode(parser, context, start, line, column, {
@@ -6365,7 +6366,7 @@
6365
6366
  }
6366
6367
  function parsePropertyOrPrivatePropertyName(parser, context) {
6367
6368
  if ((parser.token & (143360 | 4096)) === 0 && parser.token !== 131) {
6368
- report(parser, 154);
6369
+ report(parser, 155);
6369
6370
  }
6370
6371
  return context & 1 && parser.token === 131
6371
6372
  ? parsePrivateIdentifier(parser, context, parser.tokenPos, parser.linePos, parser.colPos)
@@ -6373,14 +6374,14 @@
6373
6374
  }
6374
6375
  function parseUpdateExpressionPrefixed(parser, context, inNew, isLHS, start, line, column) {
6375
6376
  if (inNew)
6376
- report(parser, 53);
6377
+ report(parser, 54);
6377
6378
  if (!isLHS)
6378
6379
  report(parser, 0);
6379
6380
  var token = parser.token;
6380
6381
  nextToken(parser, context | 32768);
6381
6382
  var arg = parseLeftHandSideExpression(parser, context, 0, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
6382
6383
  if (parser.assignable & 2) {
6383
- report(parser, 52);
6384
+ report(parser, 53);
6384
6385
  }
6385
6386
  parser.assignable = 2;
6386
6387
  return finishNode(parser, context, start, line, column, {
@@ -6409,12 +6410,12 @@
6409
6410
  return parseArrowFromIdentifier(parser, context, tokenValue, expr, inNew, canAssign, 0, start, line, column);
6410
6411
  }
6411
6412
  if (context & 16384 && token === 537079928)
6412
- report(parser, 126);
6413
+ report(parser, 127);
6413
6414
  if (token === 241739) {
6414
6415
  if (context & 1024)
6415
- report(parser, 109);
6416
+ report(parser, 110);
6416
6417
  if (kind & (8 | 16))
6417
- report(parser, 97);
6418
+ report(parser, 98);
6418
6419
  }
6419
6420
  parser.assignable =
6420
6421
  context & 1024 && (token & 537079808) === 537079808
@@ -6485,14 +6486,14 @@
6485
6486
  return parseImportMetaExpression(parser, context, expr, start, line, column);
6486
6487
  }
6487
6488
  if (inNew)
6488
- report(parser, 137);
6489
+ report(parser, 138);
6489
6490
  expr = parseImportExpression(parser, context, inGroup, start, line, column);
6490
6491
  parser.assignable = 2;
6491
6492
  return parseMemberOrUpdateExpression(parser, context, expr, inGroup, 0, start, line, column);
6492
6493
  }
6493
6494
  function parseImportMetaExpression(parser, context, meta, start, line, column) {
6494
6495
  if ((context & 2048) === 0)
6495
- report(parser, 163);
6496
+ report(parser, 164);
6496
6497
  nextToken(parser, context);
6497
6498
  if (parser.token !== 143495 && parser.tokenValue !== 'meta')
6498
6499
  report(parser, 28, KeywordDescTable[parser.token & 255]);
@@ -6506,7 +6507,7 @@
6506
6507
  function parseImportExpression(parser, context, inGroup, start, line, column) {
6507
6508
  consume(parser, context | 32768, 67174411);
6508
6509
  if (parser.token === 14)
6509
- report(parser, 138);
6510
+ report(parser, 139);
6510
6511
  var source = parseExpression(parser, context, 1, 0, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
6511
6512
  consume(parser, context, 16);
6512
6513
  return finishNode(parser, context, start, line, column, {
@@ -6551,14 +6552,14 @@
6551
6552
  ];
6552
6553
  var expressions = [parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos)];
6553
6554
  if (parser.token !== 1074790415)
6554
- report(parser, 80);
6555
+ report(parser, 81);
6555
6556
  while ((parser.token = scanTemplateTail(parser, context)) !== 67174409) {
6556
6557
  var tokenValue_1 = parser.tokenValue, tokenRaw_1 = parser.tokenRaw, tokenPos_3 = parser.tokenPos, linePos_2 = parser.linePos, colPos_2 = parser.colPos;
6557
6558
  consume(parser, context | 32768, 67174408);
6558
6559
  quasis.push(parseTemplateElement(parser, context, tokenValue_1, tokenRaw_1, tokenPos_3, linePos_2, colPos_2, false));
6559
6560
  expressions.push(parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos));
6560
6561
  if (parser.token !== 1074790415)
6561
- report(parser, 80);
6562
+ report(parser, 81);
6562
6563
  }
6563
6564
  {
6564
6565
  var tokenValue_2 = parser.tokenValue, tokenRaw_2 = parser.tokenRaw, tokenPos_4 = parser.tokenPos, linePos_3 = parser.linePos, colPos_3 = parser.colPos;
@@ -6774,10 +6775,10 @@
6774
6775
  function parseArrayLiteral(parser, context, skipInitializer, inGroup, start, line, column) {
6775
6776
  var expr = parseArrayExpressionOrPattern(parser, context, void 0, skipInitializer, inGroup, 0, 2, 0, start, line, column);
6776
6777
  if (context & 256 && parser.destructible & 64) {
6777
- report(parser, 60);
6778
+ report(parser, 61);
6778
6779
  }
6779
6780
  if (parser.destructible & 8) {
6780
- report(parser, 59);
6781
+ report(parser, 60);
6781
6782
  }
6782
6783
  return expr;
6783
6784
  }
@@ -6872,7 +6873,7 @@
6872
6873
  }
6873
6874
  }
6874
6875
  else if (parser.destructible & 8) {
6875
- report(parser, 68);
6876
+ report(parser, 69);
6876
6877
  }
6877
6878
  else {
6878
6879
  left = parseMemberOrUpdateExpression(parser, context, left, inGroup, 0, tokenPos, linePos, colPos);
@@ -6971,7 +6972,7 @@
6971
6972
  argument = parseMemberOrUpdateExpression(parser, context, argument, inGroup, 0, tokenPos, linePos, colPos);
6972
6973
  if (parser.token !== 18 && parser.token !== closingToken) {
6973
6974
  if (parser.assignable & 2 && parser.token === 1077936157)
6974
- report(parser, 68);
6975
+ report(parser, 69);
6975
6976
  destructible |= 16;
6976
6977
  argument = parseAssignmentExpression(parser, context, inGroup, isPattern, tokenPos, linePos, colPos, argument);
6977
6978
  }
@@ -6998,7 +6999,7 @@
6998
6999
  token = parser.token;
6999
7000
  if (token !== 1077936157 && token !== closingToken && token !== 18) {
7000
7001
  if (parser.destructible & 8)
7001
- report(parser, 68);
7002
+ report(parser, 69);
7002
7003
  argument = parseMemberOrUpdateExpression(parser, context, argument, inGroup, 0, tokenPos, linePos, colPos);
7003
7004
  destructible |= parser.assignable & 2 ? 16 : 0;
7004
7005
  if ((parser.token & 4194304) === 4194304) {
@@ -7048,7 +7049,7 @@
7048
7049
  }
7049
7050
  parser.destructible = destructible;
7050
7051
  if (parser.token !== closingToken && parser.token !== 18)
7051
- report(parser, 155);
7052
+ report(parser, 156);
7052
7053
  return finishNode(parser, context, start, line, column, {
7053
7054
  type: isPattern ? 'RestElement' : 'SpreadElement',
7054
7055
  argument: argument
@@ -7109,10 +7110,10 @@
7109
7110
  function parseObjectLiteral(parser, context, skipInitializer, inGroup, start, line, column) {
7110
7111
  var expr = parseObjectLiteralOrPattern(parser, context, void 0, skipInitializer, inGroup, 0, 2, 0, start, line, column);
7111
7112
  if (context & 256 && parser.destructible & 64) {
7112
- report(parser, 60);
7113
+ report(parser, 61);
7113
7114
  }
7114
7115
  if (parser.destructible & 8) {
7115
- report(parser, 59);
7116
+ report(parser, 60);
7116
7117
  }
7117
7118
  return expr;
7118
7119
  }
@@ -7229,7 +7230,7 @@
7229
7230
  destructible |= 16;
7230
7231
  }
7231
7232
  else if (parser.destructible & 8) {
7232
- report(parser, 68);
7233
+ report(parser, 69);
7233
7234
  }
7234
7235
  else {
7235
7236
  value = parseMemberOrUpdateExpression(parser, context, value, inGroup, 0, tokenPos_6, linePos_5, colPos_5);
@@ -7289,10 +7290,10 @@
7289
7290
  else if (parser.token & (143360 | 4096)) {
7290
7291
  destructible |= 16;
7291
7292
  if (token === 121)
7292
- report(parser, 92);
7293
+ report(parser, 93);
7293
7294
  if (token === 209007) {
7294
7295
  if (parser.flags & 1)
7295
- report(parser, 128);
7296
+ report(parser, 129);
7296
7297
  state |= 16;
7297
7298
  }
7298
7299
  key = parseIdentifier(parser, context, 0);
@@ -7311,11 +7312,14 @@
7311
7312
  }
7312
7313
  else if (parser.token === 8457014) {
7313
7314
  destructible |= 16;
7314
- if (token === 12402 || token === 12403) {
7315
+ if (token === 12402) {
7315
7316
  report(parser, 40);
7316
7317
  }
7318
+ else if (token === 12403) {
7319
+ report(parser, 41);
7320
+ }
7317
7321
  else if (token === 143483) {
7318
- report(parser, 92);
7322
+ report(parser, 93);
7319
7323
  }
7320
7324
  nextToken(parser, context);
7321
7325
  state |=
@@ -7350,7 +7354,7 @@
7350
7354
  value = parseMethodDefinition(parser, context, state, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
7351
7355
  }
7352
7356
  else {
7353
- report(parser, 129);
7357
+ report(parser, 130);
7354
7358
  }
7355
7359
  }
7356
7360
  else if ((parser.token & 134217728) === 134217728) {
@@ -7451,7 +7455,7 @@
7451
7455
  destructible = parser.assignable | 16;
7452
7456
  }
7453
7457
  else {
7454
- report(parser, 130);
7458
+ report(parser, 131);
7455
7459
  }
7456
7460
  }
7457
7461
  else if (parser.token === 69271571) {
@@ -7508,7 +7512,7 @@
7508
7512
  destructible |= 16;
7509
7513
  }
7510
7514
  else if (destructible & 8) {
7511
- report(parser, 59);
7515
+ report(parser, 60);
7512
7516
  }
7513
7517
  else {
7514
7518
  value = parseMemberOrUpdateExpression(parser, context, value, inGroup, 0, tokenPos_8, linePos_7, colPos_7);
@@ -7560,7 +7564,7 @@
7560
7564
  destructible = 16;
7561
7565
  }
7562
7566
  else {
7563
- report(parser, 41);
7567
+ report(parser, 42);
7564
7568
  }
7565
7569
  }
7566
7570
  else if (token === 8457014) {
@@ -7576,10 +7580,10 @@
7576
7580
  }
7577
7581
  else {
7578
7582
  reportMessageAt(index, line_1, index, token_5 === 209007
7579
- ? 43
7583
+ ? 44
7580
7584
  : token_5 === 12402 || parser.token === 12403
7581
- ? 42
7582
- : 44, KeywordDescTable[token_5 & 255]);
7585
+ ? 43
7586
+ : 45, KeywordDescTable[token_5 & 255]);
7583
7587
  }
7584
7588
  }
7585
7589
  else if ((parser.token & 134217728) === 134217728) {
@@ -7595,7 +7599,7 @@
7595
7599
  value = parseMethodDefinition(parser, context, state, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
7596
7600
  }
7597
7601
  else {
7598
- report(parser, 122);
7602
+ report(parser, 123);
7599
7603
  }
7600
7604
  }
7601
7605
  else {
@@ -7677,7 +7681,7 @@
7677
7681
  }
7678
7682
  isSimpleParameterList = 1;
7679
7683
  if (parser.destructible & (32 | 16))
7680
- report(parser, 47);
7684
+ report(parser, 48);
7681
7685
  }
7682
7686
  if (parser.token === 1077936157) {
7683
7687
  nextToken(parser, context | 32768);
@@ -7769,7 +7773,7 @@
7769
7773
  parser.assignable = 2;
7770
7774
  if (parser.token !== 16 && parser.token !== 18) {
7771
7775
  if (destructible & 8)
7772
- report(parser, 118);
7776
+ report(parser, 119);
7773
7777
  expr = parseMemberOrUpdateExpression(parser, context, expr, 0, 0, tokenPos, linePos, colPos);
7774
7778
  destructible |= 16;
7775
7779
  if (parser.token !== 16 && parser.token !== 18) {
@@ -7780,7 +7784,7 @@
7780
7784
  else if (token === 14) {
7781
7785
  expr = parseSpreadOrRestElement(parser, context, scope, 16, kind, origin, 0, 1, 0, tokenPos, linePos, colPos);
7782
7786
  if (parser.destructible & 16)
7783
- report(parser, 71);
7787
+ report(parser, 72);
7784
7788
  isSimpleParameterList = 1;
7785
7789
  if (isSequence && (parser.token === 16 || parser.token === 18)) {
7786
7790
  expressions.push(expr);
@@ -7837,7 +7841,7 @@
7837
7841
  }
7838
7842
  consume(parser, context, 16);
7839
7843
  if (destructible & 16 && destructible & 8)
7840
- report(parser, 145);
7844
+ report(parser, 146);
7841
7845
  destructible |=
7842
7846
  parser.destructible & 256
7843
7847
  ? 256
@@ -7846,7 +7850,7 @@
7846
7850
  : 0;
7847
7851
  if (parser.token === 10) {
7848
7852
  if (destructible & (32 | 16))
7849
- report(parser, 46);
7853
+ report(parser, 47);
7850
7854
  if (context & (4194304 | 2048) && destructible & 128)
7851
7855
  report(parser, 29);
7852
7856
  if (context & (1024 | 2097152) && destructible & 256) {
@@ -7857,7 +7861,7 @@
7857
7861
  return parseParenthesizedArrow(parser, context, scope, isSequence ? expressions : [expr], canAssign, 0, start, line, column);
7858
7862
  }
7859
7863
  else if (destructible & 8) {
7860
- report(parser, 139);
7864
+ report(parser, 140);
7861
7865
  }
7862
7866
  parser.destructible = ((parser.destructible | 256) ^ 256) | destructible;
7863
7867
  return context & 128
@@ -7882,23 +7886,23 @@
7882
7886
  }
7883
7887
  function parseArrowFromIdentifier(parser, context, value, expr, inNew, canAssign, isAsync, start, line, column) {
7884
7888
  if (!canAssign)
7885
- report(parser, 54);
7889
+ report(parser, 55);
7886
7890
  if (inNew)
7887
- report(parser, 48);
7891
+ report(parser, 49);
7888
7892
  parser.flags &= ~128;
7889
7893
  var scope = context & 64 ? createArrowHeadParsingScope(parser, context, value) : void 0;
7890
7894
  return parseArrowFunctionExpression(parser, context, scope, [expr], isAsync, start, line, column);
7891
7895
  }
7892
7896
  function parseParenthesizedArrow(parser, context, scope, params, canAssign, isAsync, start, line, column) {
7893
7897
  if (!canAssign)
7894
- report(parser, 54);
7898
+ report(parser, 55);
7895
7899
  for (var i = 0; i < params.length; ++i)
7896
7900
  reinterpretToPattern(parser, params[i]);
7897
7901
  return parseArrowFunctionExpression(parser, context, scope, params, isAsync, start, line, column);
7898
7902
  }
7899
7903
  function parseArrowFunctionExpression(parser, context, scope, params, isAsync, start, line, column) {
7900
7904
  if (parser.flags & 1)
7901
- report(parser, 45);
7905
+ report(parser, 46);
7902
7906
  consume(parser, context | 32768, 10);
7903
7907
  context = ((context | 15728640) ^ 15728640) | (isAsync << 22);
7904
7908
  var expression = parser.token !== 2162700;
@@ -7917,16 +7921,16 @@
7917
7921
  switch (parser.token) {
7918
7922
  case 69271571:
7919
7923
  if ((parser.flags & 1) === 0) {
7920
- report(parser, 112);
7924
+ report(parser, 113);
7921
7925
  }
7922
7926
  break;
7923
7927
  case 67108877:
7924
7928
  case 67174409:
7925
7929
  case 22:
7926
- report(parser, 113);
7930
+ report(parser, 114);
7927
7931
  case 67174411:
7928
7932
  if ((parser.flags & 1) === 0) {
7929
- report(parser, 112);
7933
+ report(parser, 113);
7930
7934
  }
7931
7935
  parser.flags |= 1024;
7932
7936
  break;
@@ -7934,7 +7938,7 @@
7934
7938
  if ((parser.token & 8454144) === 8454144 && (parser.flags & 1) === 0)
7935
7939
  report(parser, 28, KeywordDescTable[parser.token & 255]);
7936
7940
  if ((parser.token & 33619968) === 33619968)
7937
- report(parser, 121);
7941
+ report(parser, 122);
7938
7942
  }
7939
7943
  parser.assignable = 2;
7940
7944
  return finishNode(parser, context, start, line, column, {
@@ -7982,7 +7986,7 @@
7982
7986
  }
7983
7987
  isSimpleParameterList = 1;
7984
7988
  if (parser.destructible & (32 | 16)) {
7985
- report(parser, 47);
7989
+ report(parser, 48);
7986
7990
  }
7987
7991
  }
7988
7992
  if (parser.token === 1077936157) {
@@ -8058,16 +8062,16 @@
8058
8062
  parser.assignable = 2;
8059
8063
  return parseMetaProperty(parser, context, id, start, line, column);
8060
8064
  }
8061
- report(parser, 91);
8065
+ report(parser, 92);
8062
8066
  }
8063
8067
  parser.assignable = 2;
8064
8068
  if ((parser.token & 16842752) === 16842752) {
8065
- report(parser, 62, KeywordDescTable[parser.token & 255]);
8069
+ report(parser, 63, KeywordDescTable[parser.token & 255]);
8066
8070
  }
8067
8071
  var expr = parsePrimaryExpression(parser, context, 2, 1, 0, 0, inGroup, 1, tokenPos, linePos, colPos);
8068
8072
  context = (context | 134217728) ^ 134217728;
8069
8073
  if (parser.token === 67108991)
8070
- report(parser, 162);
8074
+ report(parser, 163);
8071
8075
  var callee = parseMembeExpressionNoCall(parser, context, expr, inGroup, tokenPos, linePos, colPos);
8072
8076
  parser.assignable = 2;
8073
8077
  return finishNode(parser, context, start, line, column, {
@@ -8102,7 +8106,7 @@
8102
8106
  if (consumeOpt(parser, context, 16)) {
8103
8107
  if (parser.token === 10) {
8104
8108
  if (flags & 1)
8105
- report(parser, 45);
8109
+ report(parser, 46);
8106
8110
  return parseParenthesizedArrow(parser, context, scope, [], canAssign, 1, start, line, column);
8107
8111
  }
8108
8112
  return finishNode(parser, context, start, line, column, {
@@ -8158,7 +8162,7 @@
8158
8162
  isSimpleParameterList = 1;
8159
8163
  if (parser.token !== 16 && parser.token !== 18) {
8160
8164
  if (destructible & 8)
8161
- report(parser, 118);
8165
+ report(parser, 119);
8162
8166
  expr = parseMemberOrUpdateExpression(parser, context, expr, 0, 0, tokenPos, linePos, colPos);
8163
8167
  destructible |= 16;
8164
8168
  if ((parser.token & 8454144) === 8454144) {
@@ -8206,7 +8210,7 @@
8206
8210
  if (destructible & (32 | 16))
8207
8211
  report(parser, 25);
8208
8212
  if (parser.flags & 1 || flags & 1)
8209
- report(parser, 45);
8213
+ report(parser, 46);
8210
8214
  if (destructible & 128)
8211
8215
  report(parser, 29);
8212
8216
  if (context & (1024 | 2097152) && destructible & 256)
@@ -8216,7 +8220,7 @@
8216
8220
  return parseParenthesizedArrow(parser, context, scope, params, canAssign, 1, start, line, column);
8217
8221
  }
8218
8222
  else if (destructible & 8) {
8219
- report(parser, 59);
8223
+ report(parser, 60);
8220
8224
  }
8221
8225
  parser.assignable = 2;
8222
8226
  return finishNode(parser, context, start, line, column, {
@@ -8262,10 +8266,10 @@
8262
8266
  var tokenValue = parser.tokenValue;
8263
8267
  if (parser.token & 4096 && parser.token !== 20567) {
8264
8268
  if (isStrictReservedWord(parser, context, parser.token)) {
8265
- report(parser, 114);
8269
+ report(parser, 115);
8266
8270
  }
8267
8271
  if ((parser.token & 537079808) === 537079808) {
8268
- report(parser, 115);
8272
+ report(parser, 116);
8269
8273
  }
8270
8274
  if (scope) {
8271
8275
  addBlockName(parser, context, scope, tokenValue, 32, 0);
@@ -8318,9 +8322,9 @@
8318
8322
  nextToken(parser, context);
8319
8323
  if (parser.token & 4096 && parser.token !== 20567) {
8320
8324
  if (isStrictReservedWord(parser, context, parser.token))
8321
- report(parser, 114);
8322
- if ((parser.token & 537079808) === 537079808) {
8323
8325
  report(parser, 115);
8326
+ if ((parser.token & 537079808) === 537079808) {
8327
+ report(parser, 116);
8324
8328
  }
8325
8329
  id = parseIdentifier(parser, context, 0);
8326
8330
  }
@@ -8379,13 +8383,13 @@
8379
8383
  decorators = parseDecorators(parser, context);
8380
8384
  length_1 = decorators.length;
8381
8385
  if (length_1 > 0 && parser.tokenValue === 'constructor') {
8382
- report(parser, 106);
8386
+ report(parser, 107);
8383
8387
  }
8384
8388
  if (parser.token === 1074790415)
8385
- report(parser, 105);
8389
+ report(parser, 106);
8386
8390
  if (consumeOpt(parser, context, 1074790417)) {
8387
8391
  if (length_1 > 0)
8388
- report(parser, 116);
8392
+ report(parser, 117);
8389
8393
  continue;
8390
8394
  }
8391
8395
  body.push(parseClassElementList(parser, context, scope, inheritedContext, kind, decorators, 0, inGroup, parser.tokenPos, parser.linePos, parser.colPos));
@@ -8482,20 +8486,20 @@
8482
8486
  key = parsePrivateIdentifier(parser, context, tokenPos, linePos, colPos);
8483
8487
  }
8484
8488
  else
8485
- report(parser, 131);
8489
+ report(parser, 132);
8486
8490
  }
8487
8491
  if ((kind & 2) === 0) {
8488
8492
  if (parser.tokenValue === 'constructor') {
8489
8493
  if ((parser.token & 1073741824) === 1073741824) {
8490
- report(parser, 125);
8494
+ report(parser, 126);
8491
8495
  }
8492
8496
  else if ((kind & 32) === 0 && parser.token === 67174411) {
8493
8497
  if (kind & (768 | 16 | 128 | 8)) {
8494
- report(parser, 50, 'accessor');
8498
+ report(parser, 51, 'accessor');
8495
8499
  }
8496
8500
  else if ((context & 524288) === 0) {
8497
8501
  if (parser.flags & 32)
8498
- report(parser, 51);
8502
+ report(parser, 52);
8499
8503
  else
8500
8504
  parser.flags |= 32;
8501
8505
  }
@@ -8505,7 +8509,7 @@
8505
8509
  else if ((kind & 4096) === 0 &&
8506
8510
  kind & (32 | 768 | 8 | 16) &&
8507
8511
  parser.tokenValue === 'prototype') {
8508
- report(parser, 49);
8512
+ report(parser, 50);
8509
8513
  }
8510
8514
  }
8511
8515
  if (context & 1 && parser.token !== 67174411) {
@@ -8547,7 +8551,7 @@
8547
8551
  nextToken(parser, context);
8548
8552
  var tokenValue = parser.tokenValue;
8549
8553
  if (tokenValue === 'constructor')
8550
- report(parser, 124);
8554
+ report(parser, 125);
8551
8555
  nextToken(parser, context);
8552
8556
  return finishNode(parser, context, start, line, column, {
8553
8557
  type: 'PrivateIdentifier',
@@ -8562,7 +8566,7 @@
8562
8566
  nextToken(parser, context | 32768);
8563
8567
  var tokenPos = parser.tokenPos, linePos = parser.linePos, colPos = parser.colPos;
8564
8568
  if (parser.token === 537079928)
8565
- report(parser, 115);
8569
+ report(parser, 116);
8566
8570
  value = parsePrimaryExpression(parser, context | 16384, 2, 0, 1, 0, 0, 1, tokenPos, linePos, colPos);
8567
8571
  if ((parser.token & 1073741824) !== 1073741824) {
8568
8572
  value = parseMemberOrUpdateExpression(parser, context | 16384, value, 0, 0, tokenPos, linePos, colPos);
@@ -8590,33 +8594,33 @@
8590
8594
  ? parseArrayExpressionOrPattern(parser, context, scope, 1, 0, 1, type, origin, start, line, column)
8591
8595
  : parseObjectLiteralOrPattern(parser, context, scope, 1, 0, 1, type, origin, start, line, column);
8592
8596
  if (parser.destructible & 16)
8593
- report(parser, 47);
8597
+ report(parser, 48);
8594
8598
  if (parser.destructible & 32)
8595
- report(parser, 47);
8599
+ report(parser, 48);
8596
8600
  return left;
8597
8601
  }
8598
8602
  function parseAndClassifyIdentifier(parser, context, scope, kind, origin, start, line, column) {
8599
8603
  var tokenValue = parser.tokenValue, token = parser.token;
8600
8604
  if (context & 1024) {
8601
8605
  if ((token & 537079808) === 537079808) {
8602
- report(parser, 115);
8606
+ report(parser, 116);
8603
8607
  }
8604
8608
  else if ((token & 36864) === 36864) {
8605
- report(parser, 114);
8609
+ report(parser, 115);
8606
8610
  }
8607
8611
  }
8608
8612
  if ((token & 20480) === 20480) {
8609
- report(parser, 99);
8613
+ report(parser, 100);
8610
8614
  }
8611
8615
  if (context & (2048 | 2097152) && token === 241773) {
8612
8616
  report(parser, 30);
8613
8617
  }
8614
8618
  if (token === 241739) {
8615
8619
  if (kind & (8 | 16))
8616
- report(parser, 97);
8620
+ report(parser, 98);
8617
8621
  }
8618
8622
  if (context & (4194304 | 2048) && token === 209008) {
8619
- report(parser, 95);
8623
+ report(parser, 96);
8620
8624
  }
8621
8625
  nextToken(parser, context);
8622
8626
  if (scope)
@@ -8644,7 +8648,7 @@
8644
8648
  closingElement = parseJSXClosingElement(parser, context, inJSXChild, parser.tokenPos, parser.linePos, parser.colPos);
8645
8649
  var close_1 = isEqualTagName(closingElement.name);
8646
8650
  if (isEqualTagName(openingElement.name) !== close_1)
8647
- report(parser, 149, close_1);
8651
+ report(parser, 150, close_1);
8648
8652
  }
8649
8653
  return finishNode(parser, context, start, line, column, {
8650
8654
  type: 'JSXElement',
@@ -8800,7 +8804,7 @@
8800
8804
  value = parseJSXExpressionContainer(parser, context, 1, 1, tokenPos, linePos, colPos);
8801
8805
  break;
8802
8806
  default:
8803
- report(parser, 148);
8807
+ report(parser, 149);
8804
8808
  }
8805
8809
  }
8806
8810
  return finishNode(parser, context, start, line, column, {
@@ -8826,7 +8830,7 @@
8826
8830
  var expression = null;
8827
8831
  if (parser.token === 1074790415) {
8828
8832
  if (isAttr)
8829
- report(parser, 151);
8833
+ report(parser, 152);
8830
8834
  expression = parseJSXEmptyExpression(parser, context, parser.startPos, parser.startLine, parser.startColumn);
8831
8835
  }
8832
8836
  else {
@@ -8873,7 +8877,7 @@
8873
8877
  __proto__: null
8874
8878
  });
8875
8879
 
8876
- var version$1 = "4.3.1";
8880
+ var version$1 = "4.3.3";
8877
8881
 
8878
8882
  var version = version$1;
8879
8883
  function parseScript(source, options) {