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.
@@ -12,7 +12,7 @@ define(['exports'], (function (exports) { 'use strict';
12
12
  [8]: 'Octal literals are not allowed in strict mode',
13
13
  [7]: 'Decimal integer literals with a leading zero are forbidden in strict mode',
14
14
  [9]: 'Expected number in radix %0',
15
- [145]: 'Invalid left-hand side assignment to a destructible right-hand side',
15
+ [146]: 'Invalid left-hand side assignment to a destructible right-hand side',
16
16
  [10]: 'Non-number found after exponent indicator',
17
17
  [11]: 'Invalid BigIntLiteral',
18
18
  [12]: 'No identifiers allowed directly after numeric literal',
@@ -33,9 +33,9 @@ define(['exports'], (function (exports) { 'use strict';
33
33
  [27]: 'Member access on super must be in a method',
34
34
  [29]: 'Await expression not allowed in formal parameter',
35
35
  [30]: 'Yield expression not allowed in formal parameter',
36
- [92]: "Unexpected token: 'escaped keyword'",
36
+ [93]: "Unexpected token: 'escaped keyword'",
37
37
  [31]: 'Unary expressions as the left operand of an exponentiation expression must be disambiguated with parentheses',
38
- [119]: 'Async functions can only be declared at the top level or inside a block',
38
+ [120]: 'Async functions can only be declared at the top level or inside a block',
39
39
  [32]: 'Unterminated regular expression',
40
40
  [33]: 'Unexpected regular expression flag',
41
41
  [34]: "Duplicate regular expression flag '%0'",
@@ -45,125 +45,126 @@ define(['exports'], (function (exports) { 'use strict';
45
45
  [38]: 'Function name may not contain any reserved words or be eval or arguments in strict mode',
46
46
  [39]: 'The rest operator is missing an argument',
47
47
  [40]: 'A getter cannot be a generator',
48
- [41]: 'A computed property name must be followed by a colon or paren',
49
- [130]: 'Object literal keys that are strings or numbers must be a method or have a colon',
50
- [43]: 'Found `* async x(){}` but this should be `async * x(){}`',
51
- [42]: 'Getters and setters can not be generators',
52
- [44]: "'%0' can not be generator method",
53
- [45]: "No line break is allowed after '=>'",
54
- [46]: 'The left-hand side of the arrow can only be destructed through assignment',
55
- [47]: 'The binding declaration is not destructible',
56
- [48]: 'Async arrow can not be followed by new expression',
57
- [49]: "Classes may not have a static property named 'prototype'",
58
- [50]: 'Class constructor may not be a %0',
59
- [51]: 'Duplicate constructor method in class',
60
- [52]: 'Invalid increment/decrement operand',
61
- [53]: 'Invalid use of `new` keyword on an increment/decrement expression',
62
- [54]: '`=>` is an invalid assignment target',
63
- [55]: 'Rest element may not have a trailing comma',
64
- [56]: 'Missing initializer in %0 declaration',
65
- [57]: "'for-%0' loop head declarations can not have an initializer",
66
- [58]: 'Invalid left-hand side in for-%0 loop: Must have a single binding',
67
- [59]: 'Invalid shorthand property initializer',
68
- [60]: 'Property name __proto__ appears more than once in object literal',
69
- [61]: 'Let is disallowed as a lexically bound name',
70
- [62]: "Invalid use of '%0' inside new expression",
71
- [63]: "Illegal 'use strict' directive in function with non-simple parameter list",
72
- [64]: 'Identifier "let" disallowed as left-hand side expression in strict mode',
73
- [65]: 'Illegal continue statement',
74
- [66]: 'Illegal break statement',
75
- [67]: 'Cannot have `let[...]` as a var name in strict mode',
76
- [68]: 'Invalid destructuring assignment target',
77
- [69]: 'Rest parameter may not have a default initializer',
78
- [70]: 'The rest argument must the be last parameter',
79
- [71]: 'Invalid rest argument',
80
- [73]: 'In strict mode code, functions can only be declared at top level or inside a block',
81
- [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',
82
- [75]: 'Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement',
83
- [76]: "Class declaration can't appear in single-statement context",
84
- [77]: 'Invalid left-hand side in for-%0',
85
- [78]: 'Invalid assignment in for-%0',
86
- [79]: 'for await (... of ...) is only valid in async functions and async generators',
87
- [80]: 'The first token after the template expression should be a continuation of the template',
88
- [82]: '`let` declaration not allowed here and `let` cannot be a regular var name in strict mode',
89
- [81]: '`let \n [` is a restricted production at the start of a statement',
90
- [83]: 'Catch clause requires exactly one parameter, not more (and no trailing comma)',
91
- [84]: 'Catch clause parameter does not support default values',
92
- [85]: 'Missing catch or finally after try',
93
- [86]: 'More than one default clause in switch statement',
94
- [87]: 'Illegal newline after throw',
95
- [88]: 'Strict mode code may not include a with statement',
96
- [89]: 'Illegal return statement',
97
- [90]: 'The left hand side of the for-header binding declaration is not destructible',
98
- [91]: 'new.target only allowed within functions',
99
- [93]: "'#' not followed by identifier",
100
- [99]: 'Invalid keyword',
101
- [98]: "Can not use 'let' as a class name",
102
- [97]: "'A lexical declaration can't define a 'let' binding",
103
- [96]: 'Can not use `let` as variable name in strict mode',
104
- [94]: "'%0' may not be used as an identifier in this context",
105
- [95]: 'Await is only valid in async functions',
106
- [100]: 'The %0 keyword can only be used with the module goal',
107
- [101]: 'Unicode codepoint must not be greater than 0x10FFFF',
108
- [102]: '%0 source must be string',
109
- [103]: 'Only a identifier can be used to indicate alias',
110
- [104]: "Only '*' or '{...}' can be imported after default",
111
- [105]: 'Trailing decorator may be followed by method',
112
- [106]: "Decorators can't be used with a constructor",
113
- [108]: 'HTML comments are only allowed with web compatibility (Annex B)',
114
- [109]: "The identifier 'let' must not be in expression position in strict mode",
115
- [110]: 'Cannot assign to `eval` and `arguments` in strict mode',
116
- [111]: "The left-hand side of a for-of loop may not start with 'let'",
117
- [112]: 'Block body arrows can not be immediately invoked without a group',
118
- [113]: 'Block body arrows can not be immediately accessed without a group',
119
- [114]: 'Unexpected strict mode reserved word',
120
- [115]: 'Unexpected eval or arguments in strict mode',
121
- [116]: 'Decorators must not be followed by a semicolon',
122
- [117]: 'Calling delete on expression not allowed in strict mode',
123
- [118]: 'Pattern can not have a tail',
124
- [120]: 'Can not have a `yield` expression on the left side of a ternary',
125
- [121]: 'An arrow function can not have a postfix update operator',
126
- [122]: 'Invalid object literal key character after generator star',
127
- [123]: 'Private fields can not be deleted',
128
- [125]: 'Classes may not have a field called constructor',
129
- [124]: 'Classes may not have a private element named constructor',
130
- [126]: 'A class field initializer may not contain arguments',
131
- [127]: 'Generators can only be declared at the top level or inside a block',
132
- [128]: 'Async methods are a restricted production and cannot have a newline following it',
133
- [129]: 'Unexpected character after object literal property name',
134
- [131]: 'Invalid key token',
135
- [132]: "Label '%0' has already been declared",
136
- [133]: 'continue statement must be nested within an iteration statement',
137
- [134]: "Undefined label '%0'",
138
- [135]: 'Trailing comma is disallowed inside import(...) arguments',
139
- [136]: 'import() requires exactly one argument',
140
- [137]: 'Cannot use new with import(...)',
141
- [138]: '... is not allowed in import()',
142
- [139]: "Expected '=>'",
143
- [140]: "Duplicate binding '%0'",
144
- [141]: "Cannot export a duplicate name '%0'",
145
- [144]: 'Duplicate %0 for-binding',
146
- [142]: "Exported binding '%0' needs to refer to a top-level declared variable",
147
- [143]: 'Unexpected private field',
148
- [147]: 'Numeric separators are not allowed at the end of numeric literals',
149
- [146]: 'Only one underscore is allowed as numeric separator',
150
- [148]: 'JSX value should be either an expression or a quoted JSX text',
151
- [149]: 'Expected corresponding JSX closing tag for %0',
152
- [150]: 'Adjacent JSX elements must be wrapped in an enclosing tag',
153
- [151]: "JSX attributes must only be assigned a non-empty 'expression'",
154
- [152]: "'%0' has already been declared",
155
- [153]: "'%0' shadowed a catch clause binding",
156
- [154]: 'Dot property must be an identifier',
157
- [155]: 'Encountered invalid input after spread/rest argument',
158
- [156]: 'Catch without try',
159
- [157]: 'Finally without try',
160
- [158]: 'Expected corresponding closing tag for JSX fragment',
161
- [159]: 'Coalescing and logical operators used together in the same expression must be disambiguated with parentheses',
162
- [160]: 'Invalid tagged template on optional chain',
163
- [161]: 'Invalid optional chain from super property',
164
- [162]: 'Invalid optional chain from new expression',
165
- [163]: 'Cannot use "import.meta" outside a module',
166
- [164]: 'Leading decorators must be attached to a class declaration'
48
+ [41]: 'A setter cannot be a generator',
49
+ [42]: 'A computed property name must be followed by a colon or paren',
50
+ [131]: 'Object literal keys that are strings or numbers must be a method or have a colon',
51
+ [44]: 'Found `* async x(){}` but this should be `async * x(){}`',
52
+ [43]: 'Getters and setters can not be generators',
53
+ [45]: "'%0' can not be generator method",
54
+ [46]: "No line break is allowed after '=>'",
55
+ [47]: 'The left-hand side of the arrow can only be destructed through assignment',
56
+ [48]: 'The binding declaration is not destructible',
57
+ [49]: 'Async arrow can not be followed by new expression',
58
+ [50]: "Classes may not have a static property named 'prototype'",
59
+ [51]: 'Class constructor may not be a %0',
60
+ [52]: 'Duplicate constructor method in class',
61
+ [53]: 'Invalid increment/decrement operand',
62
+ [54]: 'Invalid use of `new` keyword on an increment/decrement expression',
63
+ [55]: '`=>` is an invalid assignment target',
64
+ [56]: 'Rest element may not have a trailing comma',
65
+ [57]: 'Missing initializer in %0 declaration',
66
+ [58]: "'for-%0' loop head declarations can not have an initializer",
67
+ [59]: 'Invalid left-hand side in for-%0 loop: Must have a single binding',
68
+ [60]: 'Invalid shorthand property initializer',
69
+ [61]: 'Property name __proto__ appears more than once in object literal',
70
+ [62]: 'Let is disallowed as a lexically bound name',
71
+ [63]: "Invalid use of '%0' inside new expression",
72
+ [64]: "Illegal 'use strict' directive in function with non-simple parameter list",
73
+ [65]: 'Identifier "let" disallowed as left-hand side expression in strict mode',
74
+ [66]: 'Illegal continue statement',
75
+ [67]: 'Illegal break statement',
76
+ [68]: 'Cannot have `let[...]` as a var name in strict mode',
77
+ [69]: 'Invalid destructuring assignment target',
78
+ [70]: 'Rest parameter may not have a default initializer',
79
+ [71]: 'The rest argument must the be last parameter',
80
+ [72]: 'Invalid rest argument',
81
+ [74]: 'In strict mode code, functions can only be declared at top level or inside a block',
82
+ [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',
83
+ [76]: 'Without web compatibility enabled functions can not be declared at top level, inside a block, or as the body of an if statement',
84
+ [77]: "Class declaration can't appear in single-statement context",
85
+ [78]: 'Invalid left-hand side in for-%0',
86
+ [79]: 'Invalid assignment in for-%0',
87
+ [80]: 'for await (... of ...) is only valid in async functions and async generators',
88
+ [81]: 'The first token after the template expression should be a continuation of the template',
89
+ [83]: '`let` declaration not allowed here and `let` cannot be a regular var name in strict mode',
90
+ [82]: '`let \n [` is a restricted production at the start of a statement',
91
+ [84]: 'Catch clause requires exactly one parameter, not more (and no trailing comma)',
92
+ [85]: 'Catch clause parameter does not support default values',
93
+ [86]: 'Missing catch or finally after try',
94
+ [87]: 'More than one default clause in switch statement',
95
+ [88]: 'Illegal newline after throw',
96
+ [89]: 'Strict mode code may not include a with statement',
97
+ [90]: 'Illegal return statement',
98
+ [91]: 'The left hand side of the for-header binding declaration is not destructible',
99
+ [92]: 'new.target only allowed within functions',
100
+ [94]: "'#' not followed by identifier",
101
+ [100]: 'Invalid keyword',
102
+ [99]: "Can not use 'let' as a class name",
103
+ [98]: "'A lexical declaration can't define a 'let' binding",
104
+ [97]: 'Can not use `let` as variable name in strict mode',
105
+ [95]: "'%0' may not be used as an identifier in this context",
106
+ [96]: 'Await is only valid in async functions',
107
+ [101]: 'The %0 keyword can only be used with the module goal',
108
+ [102]: 'Unicode codepoint must not be greater than 0x10FFFF',
109
+ [103]: '%0 source must be string',
110
+ [104]: 'Only a identifier can be used to indicate alias',
111
+ [105]: "Only '*' or '{...}' can be imported after default",
112
+ [106]: 'Trailing decorator may be followed by method',
113
+ [107]: "Decorators can't be used with a constructor",
114
+ [109]: 'HTML comments are only allowed with web compatibility (Annex B)',
115
+ [110]: "The identifier 'let' must not be in expression position in strict mode",
116
+ [111]: 'Cannot assign to `eval` and `arguments` in strict mode',
117
+ [112]: "The left-hand side of a for-of loop may not start with 'let'",
118
+ [113]: 'Block body arrows can not be immediately invoked without a group',
119
+ [114]: 'Block body arrows can not be immediately accessed without a group',
120
+ [115]: 'Unexpected strict mode reserved word',
121
+ [116]: 'Unexpected eval or arguments in strict mode',
122
+ [117]: 'Decorators must not be followed by a semicolon',
123
+ [118]: 'Calling delete on expression not allowed in strict mode',
124
+ [119]: 'Pattern can not have a tail',
125
+ [121]: 'Can not have a `yield` expression on the left side of a ternary',
126
+ [122]: 'An arrow function can not have a postfix update operator',
127
+ [123]: 'Invalid object literal key character after generator star',
128
+ [124]: 'Private fields can not be deleted',
129
+ [126]: 'Classes may not have a field called constructor',
130
+ [125]: 'Classes may not have a private element named constructor',
131
+ [127]: 'A class field initializer may not contain arguments',
132
+ [128]: 'Generators can only be declared at the top level or inside a block',
133
+ [129]: 'Async methods are a restricted production and cannot have a newline following it',
134
+ [130]: 'Unexpected character after object literal property name',
135
+ [132]: 'Invalid key token',
136
+ [133]: "Label '%0' has already been declared",
137
+ [134]: 'continue statement must be nested within an iteration statement',
138
+ [135]: "Undefined label '%0'",
139
+ [136]: 'Trailing comma is disallowed inside import(...) arguments',
140
+ [137]: 'import() requires exactly one argument',
141
+ [138]: 'Cannot use new with import(...)',
142
+ [139]: '... is not allowed in import()',
143
+ [140]: "Expected '=>'",
144
+ [141]: "Duplicate binding '%0'",
145
+ [142]: "Cannot export a duplicate name '%0'",
146
+ [145]: 'Duplicate %0 for-binding',
147
+ [143]: "Exported binding '%0' needs to refer to a top-level declared variable",
148
+ [144]: 'Unexpected private field',
149
+ [148]: 'Numeric separators are not allowed at the end of numeric literals',
150
+ [147]: 'Only one underscore is allowed as numeric separator',
151
+ [149]: 'JSX value should be either an expression or a quoted JSX text',
152
+ [150]: 'Expected corresponding JSX closing tag for %0',
153
+ [151]: 'Adjacent JSX elements must be wrapped in an enclosing tag',
154
+ [152]: "JSX attributes must only be assigned a non-empty 'expression'",
155
+ [153]: "'%0' has already been declared",
156
+ [154]: "'%0' shadowed a catch clause binding",
157
+ [155]: 'Dot property must be an identifier',
158
+ [156]: 'Encountered invalid input after spread/rest argument',
159
+ [157]: 'Catch without try',
160
+ [158]: 'Finally without try',
161
+ [159]: 'Expected corresponding closing tag for JSX fragment',
162
+ [160]: 'Coalescing and logical operators used together in the same expression must be disambiguated with parentheses',
163
+ [161]: 'Invalid tagged template on optional chain',
164
+ [162]: 'Invalid optional chain from super property',
165
+ [163]: 'Invalid optional chain from new expression',
166
+ [164]: 'Cannot use "import.meta" outside a module',
167
+ [165]: 'Leading decorators must be attached to a class declaration'
167
168
  };
168
169
  class ParseError extends SyntaxError {
169
170
  constructor(startindex, line, column, type, ...params) {
@@ -1095,7 +1096,7 @@ define(['exports'], (function (exports) { 'use strict';
1095
1096
  case -4:
1096
1097
  report(state, 6);
1097
1098
  case -5:
1098
- report(state, 101);
1099
+ report(state, 102);
1099
1100
  }
1100
1101
  }
1101
1102
 
@@ -1208,7 +1209,7 @@ define(['exports'], (function (exports) { 'use strict';
1208
1209
  while (CharTypes[char] & (64 | 4096)) {
1209
1210
  if (char === 95) {
1210
1211
  if (!allowSeparator)
1211
- report(parser, 146);
1212
+ report(parser, 147);
1212
1213
  allowSeparator = 0;
1213
1214
  char = advanceChar(parser);
1214
1215
  continue;
@@ -1219,7 +1220,7 @@ define(['exports'], (function (exports) { 'use strict';
1219
1220
  char = advanceChar(parser);
1220
1221
  }
1221
1222
  if (digits === 0 || !allowSeparator) {
1222
- report(parser, digits === 0 ? 19 : 147);
1223
+ report(parser, digits === 0 ? 19 : 148);
1223
1224
  }
1224
1225
  }
1225
1226
  else if ((char | 32) === 111) {
@@ -1228,7 +1229,7 @@ define(['exports'], (function (exports) { 'use strict';
1228
1229
  while (CharTypes[char] & (32 | 4096)) {
1229
1230
  if (char === 95) {
1230
1231
  if (!allowSeparator) {
1231
- report(parser, 146);
1232
+ report(parser, 147);
1232
1233
  }
1233
1234
  allowSeparator = 0;
1234
1235
  char = advanceChar(parser);
@@ -1240,7 +1241,7 @@ define(['exports'], (function (exports) { 'use strict';
1240
1241
  char = advanceChar(parser);
1241
1242
  }
1242
1243
  if (digits === 0 || !allowSeparator) {
1243
- report(parser, digits === 0 ? 0 : 147);
1244
+ report(parser, digits === 0 ? 0 : 148);
1244
1245
  }
1245
1246
  }
1246
1247
  else if ((char | 32) === 98) {
@@ -1249,7 +1250,7 @@ define(['exports'], (function (exports) { 'use strict';
1249
1250
  while (CharTypes[char] & (128 | 4096)) {
1250
1251
  if (char === 95) {
1251
1252
  if (!allowSeparator) {
1252
- report(parser, 146);
1253
+ report(parser, 147);
1253
1254
  }
1254
1255
  allowSeparator = 0;
1255
1256
  char = advanceChar(parser);
@@ -1261,7 +1262,7 @@ define(['exports'], (function (exports) { 'use strict';
1261
1262
  char = advanceChar(parser);
1262
1263
  }
1263
1264
  if (digits === 0 || !allowSeparator) {
1264
- report(parser, digits === 0 ? 0 : 147);
1265
+ report(parser, digits === 0 ? 0 : 148);
1265
1266
  }
1266
1267
  }
1267
1268
  else if (CharTypes[char] & 32) {
@@ -1294,7 +1295,7 @@ define(['exports'], (function (exports) { 'use strict';
1294
1295
  if (char === 95) {
1295
1296
  char = advanceChar(parser);
1296
1297
  if (char === 95 || kind & 32) {
1297
- reportScannerError(parser.index, parser.line, parser.index + 1, 146);
1298
+ reportScannerError(parser.index, parser.line, parser.index + 1, 147);
1298
1299
  }
1299
1300
  allowSeparator = 1;
1300
1301
  continue;
@@ -1305,7 +1306,7 @@ define(['exports'], (function (exports) { 'use strict';
1305
1306
  --digit;
1306
1307
  }
1307
1308
  if (allowSeparator) {
1308
- reportScannerError(parser.index, parser.line, parser.index + 1, 147);
1309
+ reportScannerError(parser.index, parser.line, parser.index + 1, 148);
1309
1310
  }
1310
1311
  if (digit >= 0 && !isIdentifierStart(char) && char !== 46) {
1311
1312
  parser.tokenValue = value;
@@ -1370,7 +1371,7 @@ define(['exports'], (function (exports) { 'use strict';
1370
1371
  const { index } = parser;
1371
1372
  char = advanceChar(parser);
1372
1373
  if (char === 95) {
1373
- reportScannerError(parser.index, parser.line, parser.index + 1, 146);
1374
+ reportScannerError(parser.index, parser.line, parser.index + 1, 147);
1374
1375
  }
1375
1376
  allowSeparator = 1;
1376
1377
  ret += parser.source.substring(start, index);
@@ -1381,7 +1382,7 @@ define(['exports'], (function (exports) { 'use strict';
1381
1382
  char = advanceChar(parser);
1382
1383
  }
1383
1384
  if (allowSeparator) {
1384
- reportScannerError(parser.index, parser.line, parser.index + 1, 147);
1385
+ reportScannerError(parser.index, parser.line, parser.index + 1, 148);
1385
1386
  }
1386
1387
  return ret + parser.source.substring(start, parser.index);
1387
1388
  }
@@ -1470,7 +1471,7 @@ define(['exports'], (function (exports) { 'use strict';
1470
1471
  function scanIdentifier(parser, context, isValidAsKeyword) {
1471
1472
  while (isIdPart[advanceChar(parser)]) { }
1472
1473
  parser.tokenValue = parser.source.slice(parser.tokenPos, parser.index);
1473
- return parser.currentChar !== 92 && parser.currentChar < 0x7e
1474
+ return parser.currentChar !== 92 && parser.currentChar <= 0x7e
1474
1475
  ? descKeywordTable[parser.tokenValue] || 208897
1475
1476
  : scanIdentifierSlowCase(parser, context, 0, isValidAsKeyword);
1476
1477
  }
@@ -1557,7 +1558,7 @@ define(['exports'], (function (exports) { 'use strict';
1557
1558
  }
1558
1559
  function scanPrivateIdentifier(parser) {
1559
1560
  if (!isIdentifierStart(advanceChar(parser)))
1560
- report(parser, 93);
1561
+ report(parser, 94);
1561
1562
  return 131;
1562
1563
  }
1563
1564
  function scanIdentifierUnicodeEscape(parser) {
@@ -1575,7 +1576,7 @@ define(['exports'], (function (exports) { 'use strict';
1575
1576
  while (CharTypes[advanceChar(parser)] & 64) {
1576
1577
  codePoint = (codePoint << 4) | toHex(parser.currentChar);
1577
1578
  if (codePoint > 1114111)
1578
- reportScannerError(begin, parser.line, parser.index + 1, 101);
1579
+ reportScannerError(begin, parser.line, parser.index + 1, 102);
1579
1580
  }
1580
1581
  if (parser.currentChar !== 125) {
1581
1582
  reportScannerError(begin, parser.line, parser.index - 1, 6);
@@ -1916,7 +1917,7 @@ define(['exports'], (function (exports) { 'use strict';
1916
1917
  advanceChar(parser);
1917
1918
  if ((state & 1 || isStartOfLine) && parser.currentChar === 62) {
1918
1919
  if ((context & 256) === 0)
1919
- report(parser, 108);
1920
+ report(parser, 109);
1920
1921
  advanceChar(parser);
1921
1922
  state = skipSingleHTMLComment(parser, source, state, context, 3, startPos, startLine, startColumn);
1922
1923
  startPos = parser.tokenPos;
@@ -4412,7 +4413,7 @@ define(['exports'], (function (exports) { 'use strict';
4412
4413
  case 'AssignmentExpression':
4413
4414
  node.type = 'AssignmentPattern';
4414
4415
  if (node.operator !== '=')
4415
- report(state, 68);
4416
+ report(state, 69);
4416
4417
  delete node.operator;
4417
4418
  reinterpretToPattern(state, node.left);
4418
4419
  return;
@@ -4427,58 +4428,58 @@ define(['exports'], (function (exports) { 'use strict';
4427
4428
  function validateBindingIdentifier(parser, context, kind, t, skipEvalArgCheck) {
4428
4429
  if (context & 1024) {
4429
4430
  if ((t & 36864) === 36864) {
4430
- report(parser, 114);
4431
+ report(parser, 115);
4431
4432
  }
4432
4433
  if (!skipEvalArgCheck && (t & 537079808) === 537079808) {
4433
- report(parser, 115);
4434
+ report(parser, 116);
4434
4435
  }
4435
4436
  }
4436
4437
  if ((t & 20480) === 20480) {
4437
- report(parser, 99);
4438
+ report(parser, 100);
4438
4439
  }
4439
4440
  if (kind & (8 | 16) && t === 241739) {
4440
- report(parser, 97);
4441
+ report(parser, 98);
4441
4442
  }
4442
4443
  if (context & (4194304 | 2048) && t === 209008) {
4443
- report(parser, 95);
4444
+ report(parser, 96);
4444
4445
  }
4445
4446
  if (context & (2097152 | 1024) && t === 241773) {
4446
- report(parser, 94, 'yield');
4447
+ report(parser, 95, 'yield');
4447
4448
  }
4448
4449
  }
4449
4450
  function validateFunctionName(parser, context, t) {
4450
4451
  if (context & 1024) {
4451
4452
  if ((t & 36864) === 36864) {
4452
- report(parser, 114);
4453
+ report(parser, 115);
4453
4454
  }
4454
4455
  if ((t & 537079808) === 537079808) {
4455
- report(parser, 115);
4456
+ report(parser, 116);
4456
4457
  }
4457
4458
  if (t === 122) {
4458
- report(parser, 92);
4459
+ report(parser, 93);
4459
4460
  }
4460
4461
  if (t === 121) {
4461
- report(parser, 92);
4462
+ report(parser, 93);
4462
4463
  }
4463
4464
  }
4464
4465
  if ((t & 20480) === 20480) {
4465
- report(parser, 99);
4466
+ report(parser, 100);
4466
4467
  }
4467
4468
  if (context & (4194304 | 2048) && t === 209008) {
4468
- report(parser, 95);
4469
+ report(parser, 96);
4469
4470
  }
4470
4471
  if (context & (2097152 | 1024) && t === 241773) {
4471
- report(parser, 94, 'yield');
4472
+ report(parser, 95, 'yield');
4472
4473
  }
4473
4474
  }
4474
4475
  function isStrictReservedWord(parser, context, t) {
4475
4476
  if (t === 209008) {
4476
4477
  if (context & (4194304 | 2048))
4477
- report(parser, 95);
4478
+ report(parser, 96);
4478
4479
  parser.destructible |= 128;
4479
4480
  }
4480
4481
  if (t === 241773 && context & 2097152)
4481
- report(parser, 94, 'yield');
4482
+ report(parser, 95, 'yield');
4482
4483
  return ((t & 20480) === 20480 ||
4483
4484
  (t & 36864) === 36864 ||
4484
4485
  t == 122);
@@ -4490,7 +4491,7 @@ define(['exports'], (function (exports) { 'use strict';
4490
4491
  while (labels) {
4491
4492
  if (labels['$' + name]) {
4492
4493
  if (isIterationStatement)
4493
- report(parser, 133);
4494
+ report(parser, 134);
4494
4495
  return 1;
4495
4496
  }
4496
4497
  if (isIterationStatement && labels.loop)
@@ -4503,7 +4504,7 @@ define(['exports'], (function (exports) { 'use strict';
4503
4504
  let set = labels;
4504
4505
  while (set) {
4505
4506
  if (set['$' + name])
4506
- report(parser, 132, name);
4507
+ report(parser, 133, name);
4507
4508
  set = set['$'];
4508
4509
  }
4509
4510
  labels['$' + name] = 1;
@@ -4584,27 +4585,27 @@ define(['exports'], (function (exports) { 'use strict';
4584
4585
  const value = scope['#' + name];
4585
4586
  if (value && (value & 2) === 0) {
4586
4587
  if (kind & 1) {
4587
- scope.scopeError = recordScopeError(parser, 140, name);
4588
+ scope.scopeError = recordScopeError(parser, 141, name);
4588
4589
  }
4589
4590
  else if (context & 256 &&
4590
4591
  value & 64 &&
4591
4592
  origin & 2) ;
4592
4593
  else {
4593
- report(parser, 140, name);
4594
+ report(parser, 141, name);
4594
4595
  }
4595
4596
  }
4596
4597
  if (scope.type & 128 &&
4597
4598
  (scope.parent['#' + name] && (scope.parent['#' + name] & 2) === 0)) {
4598
- report(parser, 140, name);
4599
+ report(parser, 141, name);
4599
4600
  }
4600
4601
  if (scope.type & 1024 && value && (value & 2) === 0) {
4601
4602
  if (kind & 1) {
4602
- scope.scopeError = recordScopeError(parser, 140, name);
4603
+ scope.scopeError = recordScopeError(parser, 141, name);
4603
4604
  }
4604
4605
  }
4605
4606
  if (scope.type & 64) {
4606
4607
  if (scope.parent['#' + name] & 768)
4607
- report(parser, 153, name);
4608
+ report(parser, 154, name);
4608
4609
  }
4609
4610
  scope['#' + name] = kind;
4610
4611
  }
@@ -4618,19 +4619,19 @@ define(['exports'], (function (exports) { 'use strict';
4618
4619
  ((kind & 128 && value & 68) ||
4619
4620
  (value & 128 && kind & 68))) ;
4620
4621
  else {
4621
- report(parser, 140, name);
4622
+ report(parser, 141, name);
4622
4623
  }
4623
4624
  }
4624
4625
  if (currentScope === scope) {
4625
4626
  if (value & 1 && kind & 1) {
4626
- currentScope.scopeError = recordScopeError(parser, 140, name);
4627
+ currentScope.scopeError = recordScopeError(parser, 141, name);
4627
4628
  }
4628
4629
  }
4629
4630
  if (value & (512 | 256)) {
4630
4631
  if ((value & 512) === 0 ||
4631
4632
  (context & 256) === 0 ||
4632
4633
  context & 1024) {
4633
- report(parser, 140, name);
4634
+ report(parser, 141, name);
4634
4635
  }
4635
4636
  }
4636
4637
  currentScope['#' + name] = kind;
@@ -4640,7 +4641,7 @@ define(['exports'], (function (exports) { 'use strict';
4640
4641
  function declareUnboundVariable(parser, name) {
4641
4642
  if (parser.exportedNames !== void 0 && name !== '') {
4642
4643
  if (parser.exportedNames['#' + name]) {
4643
- report(parser, 141, name);
4644
+ report(parser, 142, name);
4644
4645
  }
4645
4646
  parser.exportedNames['#' + name] = 1;
4646
4647
  }
@@ -4698,7 +4699,7 @@ define(['exports'], (function (exports) { 'use strict';
4698
4699
  function classifyIdentifier(parser, context, t, isArrow) {
4699
4700
  if ((t & 537079808) === 537079808) {
4700
4701
  if (context & 1024)
4701
- report(parser, 115);
4702
+ report(parser, 116);
4702
4703
  if (isArrow)
4703
4704
  parser.flags |= 512;
4704
4705
  }
@@ -4791,7 +4792,7 @@ define(['exports'], (function (exports) { 'use strict';
4791
4792
  if (scope) {
4792
4793
  for (const key in parser.exportedBindings) {
4793
4794
  if (key[0] === '#' && !scope[key])
4794
- report(parser, 142, key.slice(1));
4795
+ report(parser, 143, key.slice(1));
4795
4796
  }
4796
4797
  }
4797
4798
  }
@@ -4861,7 +4862,7 @@ define(['exports'], (function (exports) { 'use strict';
4861
4862
  moduleItem = parseStatementListItem(parser, context, scope, 4, {});
4862
4863
  }
4863
4864
  if (parser.leadingDecorators.length) {
4864
- report(parser, 164);
4865
+ report(parser, 165);
4865
4866
  }
4866
4867
  return moduleItem;
4867
4868
  }
@@ -4880,7 +4881,7 @@ define(['exports'], (function (exports) { 'use strict';
4880
4881
  case 241739:
4881
4882
  return parseLetIdentOrVarDeclarationStatement(parser, context, scope, origin, start, line, column);
4882
4883
  case 20566:
4883
- report(parser, 100, 'export');
4884
+ report(parser, 101, 'export');
4884
4885
  case 86108:
4885
4886
  nextToken(parser, context);
4886
4887
  switch (parser.token) {
@@ -4889,7 +4890,7 @@ define(['exports'], (function (exports) { 'use strict';
4889
4890
  case 67108877:
4890
4891
  return parseImportMetaDeclaration(parser, context, start, line, column);
4891
4892
  default:
4892
- report(parser, 100, 'import');
4893
+ report(parser, 101, 'import');
4893
4894
  }
4894
4895
  case 209007:
4895
4896
  return parseAsyncArrowOrAsyncFunctionDeclaration(parser, context, scope, origin, labels, 1, start, line, column);
@@ -4932,17 +4933,17 @@ define(['exports'], (function (exports) { 'use strict';
4932
4933
  case 209007:
4933
4934
  return parseAsyncArrowOrAsyncFunctionDeclaration(parser, context, scope, origin, labels, 0, start, line, column);
4934
4935
  case 20559:
4935
- report(parser, 156);
4936
- case 20568:
4937
4936
  report(parser, 157);
4937
+ case 20568:
4938
+ report(parser, 158);
4938
4939
  case 86106:
4939
4940
  report(parser, context & 1024
4940
- ? 73
4941
+ ? 74
4941
4942
  : (context & 256) === 0
4942
- ? 75
4943
- : 74);
4943
+ ? 76
4944
+ : 75);
4944
4945
  case 86096:
4945
- report(parser, 76);
4946
+ report(parser, 77);
4946
4947
  default:
4947
4948
  return parseExpressionOrLabelledStatement(parser, context, scope, origin, labels, allowFuncDecl, start, line, column);
4948
4949
  }
@@ -4954,9 +4955,9 @@ define(['exports'], (function (exports) { 'use strict';
4954
4955
  case 241739:
4955
4956
  expr = parseIdentifier(parser, context, 0);
4956
4957
  if (context & 1024)
4957
- report(parser, 82);
4958
+ report(parser, 83);
4958
4959
  if (parser.token === 69271571)
4959
- report(parser, 81);
4960
+ report(parser, 82);
4960
4961
  break;
4961
4962
  default:
4962
4963
  expr = parsePrimaryExpression(parser, context, 2, 0, 1, 0, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
@@ -4985,7 +4986,7 @@ define(['exports'], (function (exports) { 'use strict';
4985
4986
  }
4986
4987
  function parseReturnStatement(parser, context, start, line, column) {
4987
4988
  if ((context & 32) === 0 && context & 8192)
4988
- report(parser, 89);
4989
+ report(parser, 90);
4989
4990
  nextToken(parser, context | 32768);
4990
4991
  const argument = parser.flags & 1 || parser.token & 1048576
4991
4992
  ? null
@@ -5029,7 +5030,7 @@ define(['exports'], (function (exports) { 'use strict';
5029
5030
  if (!asyncNewLine) {
5030
5031
  if (parser.token === 86106) {
5031
5032
  if (!allowFuncDecl)
5032
- report(parser, 119);
5033
+ report(parser, 120);
5033
5034
  return parseFunctionDeclaration(parser, context, scope, origin, 1, 0, 1, start, line, column);
5034
5035
  }
5035
5036
  if ((parser.token & 143360) === 143360) {
@@ -5088,7 +5089,7 @@ define(['exports'], (function (exports) { 'use strict';
5088
5089
  function parseThrowStatement(parser, context, start, line, column) {
5089
5090
  nextToken(parser, context | 32768);
5090
5091
  if (parser.flags & 1)
5091
- report(parser, 87);
5092
+ report(parser, 88);
5092
5093
  const argument = parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
5093
5094
  matchOrInsertSemicolon(parser, context | 32768);
5094
5095
  return finishNode(parser, context, start, line, column, {
@@ -5142,7 +5143,7 @@ define(['exports'], (function (exports) { 'use strict';
5142
5143
  else {
5143
5144
  consume(parser, context | 32768, 20563);
5144
5145
  if (seenDefault)
5145
- report(parser, 86);
5146
+ report(parser, 87);
5146
5147
  seenDefault = 1;
5147
5148
  }
5148
5149
  consume(parser, context | 32768, 21);
@@ -5183,14 +5184,14 @@ define(['exports'], (function (exports) { 'use strict';
5183
5184
  }
5184
5185
  function parseContinueStatement(parser, context, labels, start, line, column) {
5185
5186
  if ((context & 131072) === 0)
5186
- report(parser, 65);
5187
+ report(parser, 66);
5187
5188
  nextToken(parser, context);
5188
5189
  let label = null;
5189
5190
  if ((parser.flags & 1) === 0 && parser.token & 143360) {
5190
5191
  const { tokenValue } = parser;
5191
5192
  label = parseIdentifier(parser, context | 32768, 0);
5192
5193
  if (!isValidLabel(parser, labels, tokenValue, 1))
5193
- report(parser, 134, tokenValue);
5194
+ report(parser, 135, tokenValue);
5194
5195
  }
5195
5196
  matchOrInsertSemicolon(parser, context | 32768);
5196
5197
  return finishNode(parser, context, start, line, column, {
@@ -5205,10 +5206,10 @@ define(['exports'], (function (exports) { 'use strict';
5205
5206
  const { tokenValue } = parser;
5206
5207
  label = parseIdentifier(parser, context | 32768, 0);
5207
5208
  if (!isValidLabel(parser, labels, tokenValue, 0))
5208
- report(parser, 134, tokenValue);
5209
+ report(parser, 135, tokenValue);
5209
5210
  }
5210
5211
  else if ((context & (4096 | 131072)) === 0) {
5211
- report(parser, 66);
5212
+ report(parser, 67);
5212
5213
  }
5213
5214
  matchOrInsertSemicolon(parser, context | 32768);
5214
5215
  return finishNode(parser, context, start, line, column, {
@@ -5219,7 +5220,7 @@ define(['exports'], (function (exports) { 'use strict';
5219
5220
  function parseWithStatement(parser, context, scope, labels, start, line, column) {
5220
5221
  nextToken(parser, context);
5221
5222
  if (context & 1024)
5222
- report(parser, 88);
5223
+ report(parser, 89);
5223
5224
  consume(parser, context | 32768, 67174411);
5224
5225
  const object = parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
5225
5226
  consume(parser, context | 32768, 16);
@@ -5252,7 +5253,7 @@ define(['exports'], (function (exports) { 'use strict';
5252
5253
  finalizer = parseBlock(parser, context, finalizerScope, { $: labels }, parser.tokenPos, parser.linePos, parser.colPos);
5253
5254
  }
5254
5255
  if (!handler && !finalizer) {
5255
- report(parser, 85);
5256
+ report(parser, 86);
5256
5257
  }
5257
5258
  return finishNode(parser, context, start, line, column, {
5258
5259
  type: 'TryStatement',
@@ -5271,10 +5272,10 @@ define(['exports'], (function (exports) { 'use strict';
5271
5272
  ? 256
5272
5273
  : 512, 0, parser.tokenPos, parser.linePos, parser.colPos);
5273
5274
  if (parser.token === 18) {
5274
- report(parser, 83);
5275
+ report(parser, 84);
5275
5276
  }
5276
5277
  else if (parser.token === 1077936157) {
5277
- report(parser, 84);
5278
+ report(parser, 85);
5278
5279
  }
5279
5280
  consume(parser, context | 32768, 16);
5280
5281
  if (scope)
@@ -5326,7 +5327,7 @@ define(['exports'], (function (exports) { 'use strict';
5326
5327
  }
5327
5328
  parser.assignable = 1;
5328
5329
  if (context & 1024)
5329
- report(parser, 82);
5330
+ report(parser, 83);
5330
5331
  if (parser.token === 21) {
5331
5332
  return parseLabelledStatement(parser, context, scope, origin, {}, tokenValue, expr, token, 0, start, line, column);
5332
5333
  }
@@ -5374,7 +5375,7 @@ define(['exports'], (function (exports) { 'use strict';
5374
5375
  list.push(parseVariableDeclaration(parser, context, scope, kind, origin));
5375
5376
  }
5376
5377
  if (bindingCount > 1 && origin & 32 && parser.token & 262144) {
5377
- report(parser, 58, KeywordDescTable[parser.token & 255]);
5378
+ report(parser, 59, KeywordDescTable[parser.token & 255]);
5378
5379
  }
5379
5380
  return list;
5380
5381
  }
@@ -5389,13 +5390,13 @@ define(['exports'], (function (exports) { 'use strict';
5389
5390
  if (parser.token === 274549 ||
5390
5391
  (parser.token === 8738868 &&
5391
5392
  (token & 2097152 || (kind & 4) === 0 || context & 1024))) {
5392
- reportMessageAt(tokenPos, parser.line, parser.index - 3, 57, parser.token === 274549 ? 'of' : 'in');
5393
+ reportMessageAt(tokenPos, parser.line, parser.index - 3, 58, parser.token === 274549 ? 'of' : 'in');
5393
5394
  }
5394
5395
  }
5395
5396
  }
5396
5397
  else if ((kind & 16 || (token & 2097152) > 0) &&
5397
5398
  (parser.token & 262144) !== 262144) {
5398
- report(parser, 56, kind & 16 ? 'const' : 'destructuring');
5399
+ report(parser, 57, kind & 16 ? 'const' : 'destructuring');
5399
5400
  }
5400
5401
  return finishNode(parser, context, tokenPos, linePos, colPos, {
5401
5402
  type: 'VariableDeclarator',
@@ -5423,7 +5424,7 @@ define(['exports'], (function (exports) { 'use strict';
5423
5424
  if (parser.token & (143360 | 2097152)) {
5424
5425
  if (parser.token === 8738868) {
5425
5426
  if (context & 1024)
5426
- report(parser, 64);
5427
+ report(parser, 65);
5427
5428
  }
5428
5429
  else {
5429
5430
  init = finishNode(parser, context, tokenPos, linePos, colPos, {
@@ -5435,14 +5436,14 @@ define(['exports'], (function (exports) { 'use strict';
5435
5436
  parser.assignable = 1;
5436
5437
  }
5437
5438
  else if (context & 1024) {
5438
- report(parser, 64);
5439
+ report(parser, 65);
5439
5440
  }
5440
5441
  else {
5441
5442
  isVarDecl = false;
5442
5443
  parser.assignable = 1;
5443
5444
  init = parseMemberOrUpdateExpression(parser, context, init, 0, 0, tokenPos, linePos, colPos);
5444
5445
  if (parser.token === 274549)
5445
- report(parser, 111);
5446
+ report(parser, 112);
5446
5447
  }
5447
5448
  }
5448
5449
  else {
@@ -5463,7 +5464,7 @@ define(['exports'], (function (exports) { 'use strict';
5463
5464
  }
5464
5465
  else if (token === 1074790417) {
5465
5466
  if (forAwait)
5466
- report(parser, 79);
5467
+ report(parser, 80);
5467
5468
  }
5468
5469
  else if ((token & 2097152) === 2097152) {
5469
5470
  init =
@@ -5472,7 +5473,7 @@ define(['exports'], (function (exports) { 'use strict';
5472
5473
  : parseArrayExpressionOrPattern(parser, context, void 0, 1, 0, 0, 2, 32, tokenPos, linePos, colPos);
5473
5474
  destructible = parser.destructible;
5474
5475
  if (context & 256 && destructible & 64) {
5475
- report(parser, 60);
5476
+ report(parser, 61);
5476
5477
  }
5477
5478
  parser.assignable =
5478
5479
  destructible & 16 ? 2 : 1;
@@ -5484,7 +5485,7 @@ define(['exports'], (function (exports) { 'use strict';
5484
5485
  if ((parser.token & 262144) === 262144) {
5485
5486
  if (parser.token === 274549) {
5486
5487
  if (parser.assignable & 2)
5487
- report(parser, 77, forAwait ? 'await' : 'of');
5488
+ report(parser, 78, forAwait ? 'await' : 'of');
5488
5489
  reinterpretToPattern(parser, init);
5489
5490
  nextToken(parser, context | 32768);
5490
5491
  right = parseExpression(parser, context, 1, 0, 0, parser.tokenPos, parser.linePos, parser.colPos);
@@ -5499,11 +5500,11 @@ define(['exports'], (function (exports) { 'use strict';
5499
5500
  });
5500
5501
  }
5501
5502
  if (parser.assignable & 2)
5502
- report(parser, 77, 'in');
5503
+ report(parser, 78, 'in');
5503
5504
  reinterpretToPattern(parser, init);
5504
5505
  nextToken(parser, context | 32768);
5505
5506
  if (forAwait)
5506
- report(parser, 79);
5507
+ report(parser, 80);
5507
5508
  right = parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
5508
5509
  consume(parser, context | 32768, 16);
5509
5510
  const body = parseIterationStatementBody(parser, context, scope, labels);
@@ -5515,10 +5516,10 @@ define(['exports'], (function (exports) { 'use strict';
5515
5516
  });
5516
5517
  }
5517
5518
  if (forAwait)
5518
- report(parser, 79);
5519
+ report(parser, 80);
5519
5520
  if (!isVarDecl) {
5520
5521
  if (destructible & 8 && parser.token !== 1077936157) {
5521
- report(parser, 77, 'loop');
5522
+ report(parser, 78, 'loop');
5522
5523
  }
5523
5524
  init = parseAssignmentExpression(parser, context | 134217728, 0, 0, tokenPos, linePos, colPos, init);
5524
5525
  }
@@ -5542,9 +5543,9 @@ define(['exports'], (function (exports) { 'use strict';
5542
5543
  }
5543
5544
  function parseRestrictedIdentifier(parser, context, scope) {
5544
5545
  if (!isValidIdentifier(context, parser.token))
5545
- report(parser, 114);
5546
- if ((parser.token & 537079808) === 537079808)
5547
5546
  report(parser, 115);
5547
+ if ((parser.token & 537079808) === 537079808)
5548
+ report(parser, 116);
5548
5549
  if (scope)
5549
5550
  addBlockName(parser, context, scope, parser.tokenValue, 8, 0);
5550
5551
  return parseIdentifier(parser, context, 0);
@@ -5578,7 +5579,7 @@ define(['exports'], (function (exports) { 'use strict';
5578
5579
  parseImportSpecifierOrNamedImports(parser, context, scope, specifiers);
5579
5580
  break;
5580
5581
  default:
5581
- report(parser, 104);
5582
+ report(parser, 105);
5582
5583
  }
5583
5584
  }
5584
5585
  }
@@ -5622,7 +5623,7 @@ define(['exports'], (function (exports) { 'use strict';
5622
5623
  function parseModuleSpecifier(parser, context) {
5623
5624
  consumeOpt(parser, context, 12404);
5624
5625
  if (parser.token !== 134283267)
5625
- report(parser, 102, 'Import');
5626
+ report(parser, 103, 'Import');
5626
5627
  return parseLiteral(parser, context);
5627
5628
  }
5628
5629
  function parseImportSpecifierOrNamedImports(parser, context, scope, specifiers) {
@@ -5633,7 +5634,7 @@ define(['exports'], (function (exports) { 'use strict';
5633
5634
  let local;
5634
5635
  if (consumeOpt(parser, context, 77934)) {
5635
5636
  if ((parser.token & 134217728) === 134217728 || parser.token === 18) {
5636
- report(parser, 103);
5637
+ report(parser, 104);
5637
5638
  }
5638
5639
  else {
5639
5640
  validateBindingIdentifier(parser, context, 16, parser.token, 0);
@@ -5737,7 +5738,7 @@ define(['exports'], (function (exports) { 'use strict';
5737
5738
  }
5738
5739
  consume(parser, context, 12404);
5739
5740
  if (parser.token !== 134283267)
5740
- report(parser, 102, 'Export');
5741
+ report(parser, 103, 'Export');
5741
5742
  source = parseLiteral(parser, context);
5742
5743
  matchOrInsertSemicolon(parser, context | 32768);
5743
5744
  return finishNode(parser, context, start, line, column, {
@@ -5757,7 +5758,7 @@ define(['exports'], (function (exports) { 'use strict';
5757
5758
  if (parser.token === 77934) {
5758
5759
  nextToken(parser, context);
5759
5760
  if ((parser.token & 134217728) === 134217728) {
5760
- report(parser, 103);
5761
+ report(parser, 104);
5761
5762
  }
5762
5763
  if (scope) {
5763
5764
  tmpExportedNames.push(parser.tokenValue);
@@ -5783,7 +5784,7 @@ define(['exports'], (function (exports) { 'use strict';
5783
5784
  consume(parser, context, 1074790415);
5784
5785
  if (consumeOpt(parser, context, 12404)) {
5785
5786
  if (parser.token !== 134283267)
5786
- report(parser, 102, 'Export');
5787
+ report(parser, 103, 'Export');
5787
5788
  source = parseLiteral(parser, context);
5788
5789
  }
5789
5790
  else if (scope) {
@@ -5932,7 +5933,7 @@ define(['exports'], (function (exports) { 'use strict';
5932
5933
  t = parser.token;
5933
5934
  prec = t & 3840;
5934
5935
  if ((t & 524288 && operator & 268435456) || (operator & 524288 && t & 268435456)) {
5935
- report(parser, 159);
5936
+ report(parser, 160);
5936
5937
  }
5937
5938
  if (prec + ((t === 8457273) << 8) - ((bit === t) << 12) <= minPrec)
5938
5939
  break;
@@ -5958,10 +5959,10 @@ define(['exports'], (function (exports) { 'use strict';
5958
5959
  report(parser, 31);
5959
5960
  if (context & 1024 && unaryOperator === 16863278) {
5960
5961
  if (arg.type === 'Identifier') {
5961
- report(parser, 117);
5962
+ report(parser, 118);
5962
5963
  }
5963
5964
  else if (isPropertyWithPrivateFieldKey(arg)) {
5964
- report(parser, 123);
5965
+ report(parser, 124);
5965
5966
  }
5966
5967
  }
5967
5968
  parser.assignable = 2;
@@ -5992,7 +5993,7 @@ define(['exports'], (function (exports) { 'use strict';
5992
5993
  if (parser.token === 10) {
5993
5994
  classifyIdentifier(parser, context, token, 1);
5994
5995
  if (inNew)
5995
- report(parser, 48);
5996
+ report(parser, 49);
5996
5997
  return parseArrowFromIdentifier(parser, context, parser.tokenValue, expr, inNew, canAssign, 0, start, line, column);
5997
5998
  }
5998
5999
  return expr;
@@ -6007,7 +6008,7 @@ define(['exports'], (function (exports) { 'use strict';
6007
6008
  if (!canAssign)
6008
6009
  report(parser, 24);
6009
6010
  if (parser.token === 22)
6010
- report(parser, 120);
6011
+ report(parser, 121);
6011
6012
  let argument = null;
6012
6013
  let delegate = false;
6013
6014
  if ((parser.flags & 1) === 0) {
@@ -6024,7 +6025,7 @@ define(['exports'], (function (exports) { 'use strict';
6024
6025
  });
6025
6026
  }
6026
6027
  if (context & 1024)
6027
- report(parser, 94, 'yield');
6028
+ report(parser, 95, 'yield');
6028
6029
  return parseIdentifierOrArrow(parser, context, start, line, column);
6029
6030
  }
6030
6031
  function parseAwaitExpression(parser, context, inNew, inGroup, start, line, column) {
@@ -6047,7 +6048,7 @@ define(['exports'], (function (exports) { 'use strict';
6047
6048
  });
6048
6049
  }
6049
6050
  if (context & 2048)
6050
- report(parser, 95);
6051
+ report(parser, 96);
6051
6052
  return parseIdentifierOrArrow(parser, context, start, line, column);
6052
6053
  }
6053
6054
  function parseFunctionBody(parser, context, scope, origin, firstRestricted, scopeError) {
@@ -6062,7 +6063,7 @@ define(['exports'], (function (exports) { 'use strict';
6062
6063
  if (isValidStrictMode(parser, index, tokenPos, tokenValue)) {
6063
6064
  context |= 1024;
6064
6065
  if (parser.flags & 128) {
6065
- reportMessageAt(parser.index, parser.line, parser.tokenPos, 63);
6066
+ reportMessageAt(parser.index, parser.line, parser.tokenPos, 64);
6066
6067
  }
6067
6068
  if (parser.flags & 64) {
6068
6069
  reportMessageAt(parser.index, parser.line, parser.tokenPos, 8);
@@ -6073,16 +6074,16 @@ define(['exports'], (function (exports) { 'use strict';
6073
6074
  if (context & 1024) {
6074
6075
  if (firstRestricted) {
6075
6076
  if ((firstRestricted & 537079808) === 537079808) {
6076
- report(parser, 115);
6077
+ report(parser, 116);
6077
6078
  }
6078
6079
  if ((firstRestricted & 36864) === 36864) {
6079
6080
  report(parser, 38);
6080
6081
  }
6081
6082
  }
6082
6083
  if (parser.flags & 512)
6083
- report(parser, 115);
6084
+ report(parser, 116);
6084
6085
  if (parser.flags & 256)
6085
- report(parser, 114);
6086
+ report(parser, 115);
6086
6087
  }
6087
6088
  if (context & 64 &&
6088
6089
  scope &&
@@ -6112,7 +6113,7 @@ define(['exports'], (function (exports) { 'use strict';
6112
6113
  nextToken(parser, context);
6113
6114
  switch (parser.token) {
6114
6115
  case 67108991:
6115
- report(parser, 161);
6116
+ report(parser, 162);
6116
6117
  case 67174411: {
6117
6118
  if ((context & 524288) === 0)
6118
6119
  report(parser, 26);
@@ -6141,7 +6142,7 @@ define(['exports'], (function (exports) { 'use strict';
6141
6142
  }
6142
6143
  function parseUpdateExpression(parser, context, expr, start, line, column) {
6143
6144
  if (parser.assignable & 2)
6144
- report(parser, 52);
6145
+ report(parser, 53);
6145
6146
  const { token } = parser;
6146
6147
  nextToken(parser, context);
6147
6148
  parser.assignable = 2;
@@ -6224,7 +6225,7 @@ define(['exports'], (function (exports) { 'use strict';
6224
6225
  }
6225
6226
  default:
6226
6227
  if ((parser.flags & 2048) === 2048) {
6227
- report(parser, 160);
6228
+ report(parser, 161);
6228
6229
  }
6229
6230
  parser.assignable = 2;
6230
6231
  expr = finishNode(parser, context, start, line, column, {
@@ -6281,7 +6282,7 @@ define(['exports'], (function (exports) { 'use strict';
6281
6282
  }
6282
6283
  else {
6283
6284
  if ((parser.token & (143360 | 4096)) === 0)
6284
- report(parser, 154);
6285
+ report(parser, 155);
6285
6286
  const property = parseIdentifier(parser, context, 0);
6286
6287
  parser.assignable = 2;
6287
6288
  node = finishNode(parser, context, start, line, column, {
@@ -6299,7 +6300,7 @@ define(['exports'], (function (exports) { 'use strict';
6299
6300
  }
6300
6301
  function parsePropertyOrPrivatePropertyName(parser, context) {
6301
6302
  if ((parser.token & (143360 | 4096)) === 0 && parser.token !== 131) {
6302
- report(parser, 154);
6303
+ report(parser, 155);
6303
6304
  }
6304
6305
  return context & 1 && parser.token === 131
6305
6306
  ? parsePrivateIdentifier(parser, context, parser.tokenPos, parser.linePos, parser.colPos)
@@ -6307,14 +6308,14 @@ define(['exports'], (function (exports) { 'use strict';
6307
6308
  }
6308
6309
  function parseUpdateExpressionPrefixed(parser, context, inNew, isLHS, start, line, column) {
6309
6310
  if (inNew)
6310
- report(parser, 53);
6311
+ report(parser, 54);
6311
6312
  if (!isLHS)
6312
6313
  report(parser, 0);
6313
6314
  const { token } = parser;
6314
6315
  nextToken(parser, context | 32768);
6315
6316
  const arg = parseLeftHandSideExpression(parser, context, 0, 0, 1, parser.tokenPos, parser.linePos, parser.colPos);
6316
6317
  if (parser.assignable & 2) {
6317
- report(parser, 52);
6318
+ report(parser, 53);
6318
6319
  }
6319
6320
  parser.assignable = 2;
6320
6321
  return finishNode(parser, context, start, line, column, {
@@ -6343,12 +6344,12 @@ define(['exports'], (function (exports) { 'use strict';
6343
6344
  return parseArrowFromIdentifier(parser, context, tokenValue, expr, inNew, canAssign, 0, start, line, column);
6344
6345
  }
6345
6346
  if (context & 16384 && token === 537079928)
6346
- report(parser, 126);
6347
+ report(parser, 127);
6347
6348
  if (token === 241739) {
6348
6349
  if (context & 1024)
6349
- report(parser, 109);
6350
+ report(parser, 110);
6350
6351
  if (kind & (8 | 16))
6351
- report(parser, 97);
6352
+ report(parser, 98);
6352
6353
  }
6353
6354
  parser.assignable =
6354
6355
  context & 1024 && (token & 537079808) === 537079808
@@ -6419,14 +6420,14 @@ define(['exports'], (function (exports) { 'use strict';
6419
6420
  return parseImportMetaExpression(parser, context, expr, start, line, column);
6420
6421
  }
6421
6422
  if (inNew)
6422
- report(parser, 137);
6423
+ report(parser, 138);
6423
6424
  expr = parseImportExpression(parser, context, inGroup, start, line, column);
6424
6425
  parser.assignable = 2;
6425
6426
  return parseMemberOrUpdateExpression(parser, context, expr, inGroup, 0, start, line, column);
6426
6427
  }
6427
6428
  function parseImportMetaExpression(parser, context, meta, start, line, column) {
6428
6429
  if ((context & 2048) === 0)
6429
- report(parser, 163);
6430
+ report(parser, 164);
6430
6431
  nextToken(parser, context);
6431
6432
  if (parser.token !== 143495 && parser.tokenValue !== 'meta')
6432
6433
  report(parser, 28, KeywordDescTable[parser.token & 255]);
@@ -6440,7 +6441,7 @@ define(['exports'], (function (exports) { 'use strict';
6440
6441
  function parseImportExpression(parser, context, inGroup, start, line, column) {
6441
6442
  consume(parser, context | 32768, 67174411);
6442
6443
  if (parser.token === 14)
6443
- report(parser, 138);
6444
+ report(parser, 139);
6444
6445
  const source = parseExpression(parser, context, 1, 0, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
6445
6446
  consume(parser, context, 16);
6446
6447
  return finishNode(parser, context, start, line, column, {
@@ -6485,14 +6486,14 @@ define(['exports'], (function (exports) { 'use strict';
6485
6486
  ];
6486
6487
  const expressions = [parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos)];
6487
6488
  if (parser.token !== 1074790415)
6488
- report(parser, 80);
6489
+ report(parser, 81);
6489
6490
  while ((parser.token = scanTemplateTail(parser, context)) !== 67174409) {
6490
6491
  const { tokenValue, tokenRaw, tokenPos, linePos, colPos } = parser;
6491
6492
  consume(parser, context | 32768, 67174408);
6492
6493
  quasis.push(parseTemplateElement(parser, context, tokenValue, tokenRaw, tokenPos, linePos, colPos, false));
6493
6494
  expressions.push(parseExpressions(parser, context, 0, 1, parser.tokenPos, parser.linePos, parser.colPos));
6494
6495
  if (parser.token !== 1074790415)
6495
- report(parser, 80);
6496
+ report(parser, 81);
6496
6497
  }
6497
6498
  {
6498
6499
  const { tokenValue, tokenRaw, tokenPos, linePos, colPos } = parser;
@@ -6708,10 +6709,10 @@ define(['exports'], (function (exports) { 'use strict';
6708
6709
  function parseArrayLiteral(parser, context, skipInitializer, inGroup, start, line, column) {
6709
6710
  const expr = parseArrayExpressionOrPattern(parser, context, void 0, skipInitializer, inGroup, 0, 2, 0, start, line, column);
6710
6711
  if (context & 256 && parser.destructible & 64) {
6711
- report(parser, 60);
6712
+ report(parser, 61);
6712
6713
  }
6713
6714
  if (parser.destructible & 8) {
6714
- report(parser, 59);
6715
+ report(parser, 60);
6715
6716
  }
6716
6717
  return expr;
6717
6718
  }
@@ -6806,7 +6807,7 @@ define(['exports'], (function (exports) { 'use strict';
6806
6807
  }
6807
6808
  }
6808
6809
  else if (parser.destructible & 8) {
6809
- report(parser, 68);
6810
+ report(parser, 69);
6810
6811
  }
6811
6812
  else {
6812
6813
  left = parseMemberOrUpdateExpression(parser, context, left, inGroup, 0, tokenPos, linePos, colPos);
@@ -6905,7 +6906,7 @@ define(['exports'], (function (exports) { 'use strict';
6905
6906
  argument = parseMemberOrUpdateExpression(parser, context, argument, inGroup, 0, tokenPos, linePos, colPos);
6906
6907
  if (parser.token !== 18 && parser.token !== closingToken) {
6907
6908
  if (parser.assignable & 2 && parser.token === 1077936157)
6908
- report(parser, 68);
6909
+ report(parser, 69);
6909
6910
  destructible |= 16;
6910
6911
  argument = parseAssignmentExpression(parser, context, inGroup, isPattern, tokenPos, linePos, colPos, argument);
6911
6912
  }
@@ -6932,7 +6933,7 @@ define(['exports'], (function (exports) { 'use strict';
6932
6933
  token = parser.token;
6933
6934
  if (token !== 1077936157 && token !== closingToken && token !== 18) {
6934
6935
  if (parser.destructible & 8)
6935
- report(parser, 68);
6936
+ report(parser, 69);
6936
6937
  argument = parseMemberOrUpdateExpression(parser, context, argument, inGroup, 0, tokenPos, linePos, colPos);
6937
6938
  destructible |= parser.assignable & 2 ? 16 : 0;
6938
6939
  if ((parser.token & 4194304) === 4194304) {
@@ -6982,7 +6983,7 @@ define(['exports'], (function (exports) { 'use strict';
6982
6983
  }
6983
6984
  parser.destructible = destructible;
6984
6985
  if (parser.token !== closingToken && parser.token !== 18)
6985
- report(parser, 155);
6986
+ report(parser, 156);
6986
6987
  return finishNode(parser, context, start, line, column, {
6987
6988
  type: isPattern ? 'RestElement' : 'SpreadElement',
6988
6989
  argument: argument
@@ -7043,10 +7044,10 @@ define(['exports'], (function (exports) { 'use strict';
7043
7044
  function parseObjectLiteral(parser, context, skipInitializer, inGroup, start, line, column) {
7044
7045
  const expr = parseObjectLiteralOrPattern(parser, context, void 0, skipInitializer, inGroup, 0, 2, 0, start, line, column);
7045
7046
  if (context & 256 && parser.destructible & 64) {
7046
- report(parser, 60);
7047
+ report(parser, 61);
7047
7048
  }
7048
7049
  if (parser.destructible & 8) {
7049
- report(parser, 59);
7050
+ report(parser, 60);
7050
7051
  }
7051
7052
  return expr;
7052
7053
  }
@@ -7163,7 +7164,7 @@ define(['exports'], (function (exports) { 'use strict';
7163
7164
  destructible |= 16;
7164
7165
  }
7165
7166
  else if (parser.destructible & 8) {
7166
- report(parser, 68);
7167
+ report(parser, 69);
7167
7168
  }
7168
7169
  else {
7169
7170
  value = parseMemberOrUpdateExpression(parser, context, value, inGroup, 0, tokenPos, linePos, colPos);
@@ -7223,10 +7224,10 @@ define(['exports'], (function (exports) { 'use strict';
7223
7224
  else if (parser.token & (143360 | 4096)) {
7224
7225
  destructible |= 16;
7225
7226
  if (token === 121)
7226
- report(parser, 92);
7227
+ report(parser, 93);
7227
7228
  if (token === 209007) {
7228
7229
  if (parser.flags & 1)
7229
- report(parser, 128);
7230
+ report(parser, 129);
7230
7231
  state |= 16;
7231
7232
  }
7232
7233
  key = parseIdentifier(parser, context, 0);
@@ -7245,11 +7246,14 @@ define(['exports'], (function (exports) { 'use strict';
7245
7246
  }
7246
7247
  else if (parser.token === 8457014) {
7247
7248
  destructible |= 16;
7248
- if (token === 12402 || token === 12403) {
7249
+ if (token === 12402) {
7249
7250
  report(parser, 40);
7250
7251
  }
7252
+ else if (token === 12403) {
7253
+ report(parser, 41);
7254
+ }
7251
7255
  else if (token === 143483) {
7252
- report(parser, 92);
7256
+ report(parser, 93);
7253
7257
  }
7254
7258
  nextToken(parser, context);
7255
7259
  state |=
@@ -7284,7 +7288,7 @@ define(['exports'], (function (exports) { 'use strict';
7284
7288
  value = parseMethodDefinition(parser, context, state, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
7285
7289
  }
7286
7290
  else {
7287
- report(parser, 129);
7291
+ report(parser, 130);
7288
7292
  }
7289
7293
  }
7290
7294
  else if ((parser.token & 134217728) === 134217728) {
@@ -7385,7 +7389,7 @@ define(['exports'], (function (exports) { 'use strict';
7385
7389
  destructible = parser.assignable | 16;
7386
7390
  }
7387
7391
  else {
7388
- report(parser, 130);
7392
+ report(parser, 131);
7389
7393
  }
7390
7394
  }
7391
7395
  else if (parser.token === 69271571) {
@@ -7442,7 +7446,7 @@ define(['exports'], (function (exports) { 'use strict';
7442
7446
  destructible |= 16;
7443
7447
  }
7444
7448
  else if (destructible & 8) {
7445
- report(parser, 59);
7449
+ report(parser, 60);
7446
7450
  }
7447
7451
  else {
7448
7452
  value = parseMemberOrUpdateExpression(parser, context, value, inGroup, 0, tokenPos, linePos, colPos);
@@ -7494,7 +7498,7 @@ define(['exports'], (function (exports) { 'use strict';
7494
7498
  destructible = 16;
7495
7499
  }
7496
7500
  else {
7497
- report(parser, 41);
7501
+ report(parser, 42);
7498
7502
  }
7499
7503
  }
7500
7504
  else if (token === 8457014) {
@@ -7510,10 +7514,10 @@ define(['exports'], (function (exports) { 'use strict';
7510
7514
  }
7511
7515
  else {
7512
7516
  reportMessageAt(index, line, index, token === 209007
7513
- ? 43
7517
+ ? 44
7514
7518
  : token === 12402 || parser.token === 12403
7515
- ? 42
7516
- : 44, KeywordDescTable[token & 255]);
7519
+ ? 43
7520
+ : 45, KeywordDescTable[token & 255]);
7517
7521
  }
7518
7522
  }
7519
7523
  else if ((parser.token & 134217728) === 134217728) {
@@ -7529,7 +7533,7 @@ define(['exports'], (function (exports) { 'use strict';
7529
7533
  value = parseMethodDefinition(parser, context, state, inGroup, parser.tokenPos, parser.linePos, parser.colPos);
7530
7534
  }
7531
7535
  else {
7532
- report(parser, 122);
7536
+ report(parser, 123);
7533
7537
  }
7534
7538
  }
7535
7539
  else {
@@ -7611,7 +7615,7 @@ define(['exports'], (function (exports) { 'use strict';
7611
7615
  }
7612
7616
  isSimpleParameterList = 1;
7613
7617
  if (parser.destructible & (32 | 16))
7614
- report(parser, 47);
7618
+ report(parser, 48);
7615
7619
  }
7616
7620
  if (parser.token === 1077936157) {
7617
7621
  nextToken(parser, context | 32768);
@@ -7703,7 +7707,7 @@ define(['exports'], (function (exports) { 'use strict';
7703
7707
  parser.assignable = 2;
7704
7708
  if (parser.token !== 16 && parser.token !== 18) {
7705
7709
  if (destructible & 8)
7706
- report(parser, 118);
7710
+ report(parser, 119);
7707
7711
  expr = parseMemberOrUpdateExpression(parser, context, expr, 0, 0, tokenPos, linePos, colPos);
7708
7712
  destructible |= 16;
7709
7713
  if (parser.token !== 16 && parser.token !== 18) {
@@ -7714,7 +7718,7 @@ define(['exports'], (function (exports) { 'use strict';
7714
7718
  else if (token === 14) {
7715
7719
  expr = parseSpreadOrRestElement(parser, context, scope, 16, kind, origin, 0, 1, 0, tokenPos, linePos, colPos);
7716
7720
  if (parser.destructible & 16)
7717
- report(parser, 71);
7721
+ report(parser, 72);
7718
7722
  isSimpleParameterList = 1;
7719
7723
  if (isSequence && (parser.token === 16 || parser.token === 18)) {
7720
7724
  expressions.push(expr);
@@ -7771,7 +7775,7 @@ define(['exports'], (function (exports) { 'use strict';
7771
7775
  }
7772
7776
  consume(parser, context, 16);
7773
7777
  if (destructible & 16 && destructible & 8)
7774
- report(parser, 145);
7778
+ report(parser, 146);
7775
7779
  destructible |=
7776
7780
  parser.destructible & 256
7777
7781
  ? 256
@@ -7780,7 +7784,7 @@ define(['exports'], (function (exports) { 'use strict';
7780
7784
  : 0;
7781
7785
  if (parser.token === 10) {
7782
7786
  if (destructible & (32 | 16))
7783
- report(parser, 46);
7787
+ report(parser, 47);
7784
7788
  if (context & (4194304 | 2048) && destructible & 128)
7785
7789
  report(parser, 29);
7786
7790
  if (context & (1024 | 2097152) && destructible & 256) {
@@ -7791,7 +7795,7 @@ define(['exports'], (function (exports) { 'use strict';
7791
7795
  return parseParenthesizedArrow(parser, context, scope, isSequence ? expressions : [expr], canAssign, 0, start, line, column);
7792
7796
  }
7793
7797
  else if (destructible & 8) {
7794
- report(parser, 139);
7798
+ report(parser, 140);
7795
7799
  }
7796
7800
  parser.destructible = ((parser.destructible | 256) ^ 256) | destructible;
7797
7801
  return context & 128
@@ -7816,23 +7820,23 @@ define(['exports'], (function (exports) { 'use strict';
7816
7820
  }
7817
7821
  function parseArrowFromIdentifier(parser, context, value, expr, inNew, canAssign, isAsync, start, line, column) {
7818
7822
  if (!canAssign)
7819
- report(parser, 54);
7823
+ report(parser, 55);
7820
7824
  if (inNew)
7821
- report(parser, 48);
7825
+ report(parser, 49);
7822
7826
  parser.flags &= ~128;
7823
7827
  const scope = context & 64 ? createArrowHeadParsingScope(parser, context, value) : void 0;
7824
7828
  return parseArrowFunctionExpression(parser, context, scope, [expr], isAsync, start, line, column);
7825
7829
  }
7826
7830
  function parseParenthesizedArrow(parser, context, scope, params, canAssign, isAsync, start, line, column) {
7827
7831
  if (!canAssign)
7828
- report(parser, 54);
7832
+ report(parser, 55);
7829
7833
  for (let i = 0; i < params.length; ++i)
7830
7834
  reinterpretToPattern(parser, params[i]);
7831
7835
  return parseArrowFunctionExpression(parser, context, scope, params, isAsync, start, line, column);
7832
7836
  }
7833
7837
  function parseArrowFunctionExpression(parser, context, scope, params, isAsync, start, line, column) {
7834
7838
  if (parser.flags & 1)
7835
- report(parser, 45);
7839
+ report(parser, 46);
7836
7840
  consume(parser, context | 32768, 10);
7837
7841
  context = ((context | 15728640) ^ 15728640) | (isAsync << 22);
7838
7842
  const expression = parser.token !== 2162700;
@@ -7851,16 +7855,16 @@ define(['exports'], (function (exports) { 'use strict';
7851
7855
  switch (parser.token) {
7852
7856
  case 69271571:
7853
7857
  if ((parser.flags & 1) === 0) {
7854
- report(parser, 112);
7858
+ report(parser, 113);
7855
7859
  }
7856
7860
  break;
7857
7861
  case 67108877:
7858
7862
  case 67174409:
7859
7863
  case 22:
7860
- report(parser, 113);
7864
+ report(parser, 114);
7861
7865
  case 67174411:
7862
7866
  if ((parser.flags & 1) === 0) {
7863
- report(parser, 112);
7867
+ report(parser, 113);
7864
7868
  }
7865
7869
  parser.flags |= 1024;
7866
7870
  break;
@@ -7868,7 +7872,7 @@ define(['exports'], (function (exports) { 'use strict';
7868
7872
  if ((parser.token & 8454144) === 8454144 && (parser.flags & 1) === 0)
7869
7873
  report(parser, 28, KeywordDescTable[parser.token & 255]);
7870
7874
  if ((parser.token & 33619968) === 33619968)
7871
- report(parser, 121);
7875
+ report(parser, 122);
7872
7876
  }
7873
7877
  parser.assignable = 2;
7874
7878
  return finishNode(parser, context, start, line, column, {
@@ -7916,7 +7920,7 @@ define(['exports'], (function (exports) { 'use strict';
7916
7920
  }
7917
7921
  isSimpleParameterList = 1;
7918
7922
  if (parser.destructible & (32 | 16)) {
7919
- report(parser, 47);
7923
+ report(parser, 48);
7920
7924
  }
7921
7925
  }
7922
7926
  if (parser.token === 1077936157) {
@@ -7992,16 +7996,16 @@ define(['exports'], (function (exports) { 'use strict';
7992
7996
  parser.assignable = 2;
7993
7997
  return parseMetaProperty(parser, context, id, start, line, column);
7994
7998
  }
7995
- report(parser, 91);
7999
+ report(parser, 92);
7996
8000
  }
7997
8001
  parser.assignable = 2;
7998
8002
  if ((parser.token & 16842752) === 16842752) {
7999
- report(parser, 62, KeywordDescTable[parser.token & 255]);
8003
+ report(parser, 63, KeywordDescTable[parser.token & 255]);
8000
8004
  }
8001
8005
  const expr = parsePrimaryExpression(parser, context, 2, 1, 0, 0, inGroup, 1, tokenPos, linePos, colPos);
8002
8006
  context = (context | 134217728) ^ 134217728;
8003
8007
  if (parser.token === 67108991)
8004
- report(parser, 162);
8008
+ report(parser, 163);
8005
8009
  const callee = parseMembeExpressionNoCall(parser, context, expr, inGroup, tokenPos, linePos, colPos);
8006
8010
  parser.assignable = 2;
8007
8011
  return finishNode(parser, context, start, line, column, {
@@ -8036,7 +8040,7 @@ define(['exports'], (function (exports) { 'use strict';
8036
8040
  if (consumeOpt(parser, context, 16)) {
8037
8041
  if (parser.token === 10) {
8038
8042
  if (flags & 1)
8039
- report(parser, 45);
8043
+ report(parser, 46);
8040
8044
  return parseParenthesizedArrow(parser, context, scope, [], canAssign, 1, start, line, column);
8041
8045
  }
8042
8046
  return finishNode(parser, context, start, line, column, {
@@ -8092,7 +8096,7 @@ define(['exports'], (function (exports) { 'use strict';
8092
8096
  isSimpleParameterList = 1;
8093
8097
  if (parser.token !== 16 && parser.token !== 18) {
8094
8098
  if (destructible & 8)
8095
- report(parser, 118);
8099
+ report(parser, 119);
8096
8100
  expr = parseMemberOrUpdateExpression(parser, context, expr, 0, 0, tokenPos, linePos, colPos);
8097
8101
  destructible |= 16;
8098
8102
  if ((parser.token & 8454144) === 8454144) {
@@ -8140,7 +8144,7 @@ define(['exports'], (function (exports) { 'use strict';
8140
8144
  if (destructible & (32 | 16))
8141
8145
  report(parser, 25);
8142
8146
  if (parser.flags & 1 || flags & 1)
8143
- report(parser, 45);
8147
+ report(parser, 46);
8144
8148
  if (destructible & 128)
8145
8149
  report(parser, 29);
8146
8150
  if (context & (1024 | 2097152) && destructible & 256)
@@ -8150,7 +8154,7 @@ define(['exports'], (function (exports) { 'use strict';
8150
8154
  return parseParenthesizedArrow(parser, context, scope, params, canAssign, 1, start, line, column);
8151
8155
  }
8152
8156
  else if (destructible & 8) {
8153
- report(parser, 59);
8157
+ report(parser, 60);
8154
8158
  }
8155
8159
  parser.assignable = 2;
8156
8160
  return finishNode(parser, context, start, line, column, {
@@ -8195,10 +8199,10 @@ define(['exports'], (function (exports) { 'use strict';
8195
8199
  const { tokenValue } = parser;
8196
8200
  if (parser.token & 4096 && parser.token !== 20567) {
8197
8201
  if (isStrictReservedWord(parser, context, parser.token)) {
8198
- report(parser, 114);
8202
+ report(parser, 115);
8199
8203
  }
8200
8204
  if ((parser.token & 537079808) === 537079808) {
8201
- report(parser, 115);
8205
+ report(parser, 116);
8202
8206
  }
8203
8207
  if (scope) {
8204
8208
  addBlockName(parser, context, scope, tokenValue, 32, 0);
@@ -8251,9 +8255,9 @@ define(['exports'], (function (exports) { 'use strict';
8251
8255
  nextToken(parser, context);
8252
8256
  if (parser.token & 4096 && parser.token !== 20567) {
8253
8257
  if (isStrictReservedWord(parser, context, parser.token))
8254
- report(parser, 114);
8255
- if ((parser.token & 537079808) === 537079808) {
8256
8258
  report(parser, 115);
8259
+ if ((parser.token & 537079808) === 537079808) {
8260
+ report(parser, 116);
8257
8261
  }
8258
8262
  id = parseIdentifier(parser, context, 0);
8259
8263
  }
@@ -8312,13 +8316,13 @@ define(['exports'], (function (exports) { 'use strict';
8312
8316
  decorators = parseDecorators(parser, context);
8313
8317
  length = decorators.length;
8314
8318
  if (length > 0 && parser.tokenValue === 'constructor') {
8315
- report(parser, 106);
8319
+ report(parser, 107);
8316
8320
  }
8317
8321
  if (parser.token === 1074790415)
8318
- report(parser, 105);
8322
+ report(parser, 106);
8319
8323
  if (consumeOpt(parser, context, 1074790417)) {
8320
8324
  if (length > 0)
8321
- report(parser, 116);
8325
+ report(parser, 117);
8322
8326
  continue;
8323
8327
  }
8324
8328
  body.push(parseClassElementList(parser, context, scope, inheritedContext, kind, decorators, 0, inGroup, parser.tokenPos, parser.linePos, parser.colPos));
@@ -8415,20 +8419,20 @@ define(['exports'], (function (exports) { 'use strict';
8415
8419
  key = parsePrivateIdentifier(parser, context, tokenPos, linePos, colPos);
8416
8420
  }
8417
8421
  else
8418
- report(parser, 131);
8422
+ report(parser, 132);
8419
8423
  }
8420
8424
  if ((kind & 2) === 0) {
8421
8425
  if (parser.tokenValue === 'constructor') {
8422
8426
  if ((parser.token & 1073741824) === 1073741824) {
8423
- report(parser, 125);
8427
+ report(parser, 126);
8424
8428
  }
8425
8429
  else if ((kind & 32) === 0 && parser.token === 67174411) {
8426
8430
  if (kind & (768 | 16 | 128 | 8)) {
8427
- report(parser, 50, 'accessor');
8431
+ report(parser, 51, 'accessor');
8428
8432
  }
8429
8433
  else if ((context & 524288) === 0) {
8430
8434
  if (parser.flags & 32)
8431
- report(parser, 51);
8435
+ report(parser, 52);
8432
8436
  else
8433
8437
  parser.flags |= 32;
8434
8438
  }
@@ -8438,7 +8442,7 @@ define(['exports'], (function (exports) { 'use strict';
8438
8442
  else if ((kind & 4096) === 0 &&
8439
8443
  kind & (32 | 768 | 8 | 16) &&
8440
8444
  parser.tokenValue === 'prototype') {
8441
- report(parser, 49);
8445
+ report(parser, 50);
8442
8446
  }
8443
8447
  }
8444
8448
  if (context & 1 && parser.token !== 67174411) {
@@ -8480,7 +8484,7 @@ define(['exports'], (function (exports) { 'use strict';
8480
8484
  nextToken(parser, context);
8481
8485
  const { tokenValue } = parser;
8482
8486
  if (tokenValue === 'constructor')
8483
- report(parser, 124);
8487
+ report(parser, 125);
8484
8488
  nextToken(parser, context);
8485
8489
  return finishNode(parser, context, start, line, column, {
8486
8490
  type: 'PrivateIdentifier',
@@ -8495,7 +8499,7 @@ define(['exports'], (function (exports) { 'use strict';
8495
8499
  nextToken(parser, context | 32768);
8496
8500
  const { tokenPos, linePos, colPos } = parser;
8497
8501
  if (parser.token === 537079928)
8498
- report(parser, 115);
8502
+ report(parser, 116);
8499
8503
  value = parsePrimaryExpression(parser, context | 16384, 2, 0, 1, 0, 0, 1, tokenPos, linePos, colPos);
8500
8504
  if ((parser.token & 1073741824) !== 1073741824) {
8501
8505
  value = parseMemberOrUpdateExpression(parser, context | 16384, value, 0, 0, tokenPos, linePos, colPos);
@@ -8523,33 +8527,33 @@ define(['exports'], (function (exports) { 'use strict';
8523
8527
  ? parseArrayExpressionOrPattern(parser, context, scope, 1, 0, 1, type, origin, start, line, column)
8524
8528
  : parseObjectLiteralOrPattern(parser, context, scope, 1, 0, 1, type, origin, start, line, column);
8525
8529
  if (parser.destructible & 16)
8526
- report(parser, 47);
8530
+ report(parser, 48);
8527
8531
  if (parser.destructible & 32)
8528
- report(parser, 47);
8532
+ report(parser, 48);
8529
8533
  return left;
8530
8534
  }
8531
8535
  function parseAndClassifyIdentifier(parser, context, scope, kind, origin, start, line, column) {
8532
8536
  const { tokenValue, token } = parser;
8533
8537
  if (context & 1024) {
8534
8538
  if ((token & 537079808) === 537079808) {
8535
- report(parser, 115);
8539
+ report(parser, 116);
8536
8540
  }
8537
8541
  else if ((token & 36864) === 36864) {
8538
- report(parser, 114);
8542
+ report(parser, 115);
8539
8543
  }
8540
8544
  }
8541
8545
  if ((token & 20480) === 20480) {
8542
- report(parser, 99);
8546
+ report(parser, 100);
8543
8547
  }
8544
8548
  if (context & (2048 | 2097152) && token === 241773) {
8545
8549
  report(parser, 30);
8546
8550
  }
8547
8551
  if (token === 241739) {
8548
8552
  if (kind & (8 | 16))
8549
- report(parser, 97);
8553
+ report(parser, 98);
8550
8554
  }
8551
8555
  if (context & (4194304 | 2048) && token === 209008) {
8552
- report(parser, 95);
8556
+ report(parser, 96);
8553
8557
  }
8554
8558
  nextToken(parser, context);
8555
8559
  if (scope)
@@ -8577,7 +8581,7 @@ define(['exports'], (function (exports) { 'use strict';
8577
8581
  closingElement = parseJSXClosingElement(parser, context, inJSXChild, parser.tokenPos, parser.linePos, parser.colPos);
8578
8582
  const close = isEqualTagName(closingElement.name);
8579
8583
  if (isEqualTagName(openingElement.name) !== close)
8580
- report(parser, 149, close);
8584
+ report(parser, 150, close);
8581
8585
  }
8582
8586
  return finishNode(parser, context, start, line, column, {
8583
8587
  type: 'JSXElement',
@@ -8733,7 +8737,7 @@ define(['exports'], (function (exports) { 'use strict';
8733
8737
  value = parseJSXExpressionContainer(parser, context, 1, 1, tokenPos, linePos, colPos);
8734
8738
  break;
8735
8739
  default:
8736
- report(parser, 148);
8740
+ report(parser, 149);
8737
8741
  }
8738
8742
  }
8739
8743
  return finishNode(parser, context, start, line, column, {
@@ -8759,7 +8763,7 @@ define(['exports'], (function (exports) { 'use strict';
8759
8763
  let expression = null;
8760
8764
  if (parser.token === 1074790415) {
8761
8765
  if (isAttr)
8762
- report(parser, 151);
8766
+ report(parser, 152);
8763
8767
  expression = parseJSXEmptyExpression(parser, context, parser.startPos, parser.startLine, parser.startColumn);
8764
8768
  }
8765
8769
  else {
@@ -8806,7 +8810,7 @@ define(['exports'], (function (exports) { 'use strict';
8806
8810
  __proto__: null
8807
8811
  });
8808
8812
 
8809
- var version$1 = "4.3.1";
8813
+ var version$1 = "4.3.3";
8810
8814
 
8811
8815
  const version = version$1;
8812
8816
  function parseScript(source, options) {