From 3df1ae6200e375093be0815a5ab11990bb8a8cdc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=94=AF=E7=84=B6?= Date: Thu, 16 Sep 2021 19:09:46 +0800 Subject: [PATCH] Chore: add class static blocks tests (refs eslint/eslint#15016) acorn has been upgraded in ee1d3eca310cab1b1cf1563294434977d26358d4, this commit simiply added some tests. The tests were copied from test262, refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359 --- ...static-init-await-binding.module-result.js | 6 + ...nction-static-init-await-binding.result.js | 4 +- ...-function-static-init-await-binding.src.js | 1 + ...atic-init-await-reference.module-result.js | 6 + ...tion-static-init-await-reference.result.js | 4 +- ...unction-static-init-await-reference.src.js | 1 + ...static-init-await-binding.module-result.js | 6 + ...-class-static-init-await-binding.result.js | 4 +- ...ons-class-static-init-await-binding.src.js | 1 + ...atic-init-await-reference.module-result.js | 4 +- ...lass-static-init-await-reference.result.js | 856 ++-- ...s-class-static-init-await-reference.src.js | 1 + ...static-init-await-binding.module-result.js | 4 +- ...nction-static-init-await-binding.result.js | 216 +- ...-function-static-init-await-binding.src.js | 1 + ...atic-init-await-reference.module-result.js | 4 +- ...tion-static-init-await-reference.result.js | 808 ++-- ...unction-static-init-await-reference.src.js | 1 + ...static-init-await-binding.module-result.js | 4 +- ...rators-static-init-await-binding.result.js | 224 +- ...enerators-static-init-await-binding.src.js | 1 + ...atic-init-await-reference.module-result.js | 4 +- ...tors-static-init-await-reference.result.js | 872 ++-- ...erators-static-init-await-reference.src.js | 1 + ...p-name-literal-await-static-init.result.js | 200 +- ...prop-name-literal-await-static-init.src.js | 1 + ...static-init-await-invalid.module-result.js | 6 + ...rthand-static-init-await-invalid.result.js | 4 +- ...shorthand-static-init-await-invalid.src.js | 1 + ...d-static-init-await-valid.module-result.js | 4 +- ...horthand-static-init-await-valid.result.js | 232 +- ...r-shorthand-static-init-await-valid.src.js | 1 + ...it-await-binding-accessor.module-result.js | 4 +- ...atic-init-await-binding-accessor.result.js | 248 +- ...-static-init-await-binding-accessor.src.js | 1 + ...t-await-binding-generator.module-result.js | 4 +- ...tic-init-await-binding-generator.result.js | 248 +- ...static-init-await-binding-generator.src.js | 1 + ...init-await-binding-normal.module-result.js | 4 +- ...static-init-await-binding-normal.result.js | 240 +- ...on-static-init-await-binding-normal.src.js | 1 + ...-await-reference-accessor.module-result.js | 4 +- ...ic-init-await-reference-accessor.result.js | 896 ++-- ...tatic-init-await-reference-accessor.src.js | 1 + ...await-reference-generator.module-result.js | 4 +- ...c-init-await-reference-generator.result.js | 944 ++-- ...atic-init-await-reference-generator.src.js | 1 + ...it-await-reference-normal.module-result.js | 4 +- ...atic-init-await-reference-normal.result.js | 880 ++-- ...-static-init-await-reference-normal.src.js | 1 + ...static-init-invalid-await.module-result.js | 6 + ...lution-static-init-invalid-await.result.js | 4 +- ...esolution-static-init-invalid-await.src.js | 1 + ...-break-static-init-without-label.result.js | 4 +- ...nts-break-static-init-without-label.src.js | 1 + ...tements-class-static-init-abrupt.result.js | 1520 +++---- ...statements-class-static-init-abrupt.src.js | 1 + ...-static-init-arguments-functions.result.js | 2448 +++++----- ...ass-static-init-arguments-functions.src.js | 1 + ...ss-static-init-arguments-methods.result.js | 3992 ++++++++--------- ...class-static-init-arguments-methods.src.js | 1 + ...nit-await-binding-invalid.module-result.js | 6 + ...tatic-init-await-binding-invalid.result.js | 4 +- ...s-static-init-await-binding-invalid.src.js | 1 + ...-init-await-binding-valid.module-result.js | 4 +- ...-static-init-await-binding-valid.result.js | 240 +- ...ass-static-init-await-binding-valid.src.js | 1 + ...lass-static-init-expr-new-target.result.js | 392 +- ...s-class-static-init-expr-new-target.src.js | 1 + ...ents-class-static-init-expr-this.result.js | 336 +- ...tements-class-static-init-expr-this.src.js | 1 + ...ic-init-invalid-arguments.module-result.js | 6 + ...ss-static-init-invalid-arguments.result.js | 4 +- ...class-static-init-invalid-arguments.src.js | 1 + ...-class-static-init-invalid-await.result.js | 4 +- ...nts-class-static-init-invalid-await.src.js | 1 + ...ic-init-invalid-label-dup.module-result.js | 6 + ...ss-static-init-invalid-label-dup.result.js | 4 +- ...class-static-init-invalid-label-dup.src.js | 1 + ...atic-init-invalid-lex-dup.module-result.js | 6 + ...lass-static-init-invalid-lex-dup.result.js | 4 +- ...s-class-static-init-invalid-lex-dup.src.js | 1 + ...atic-init-invalid-lex-var.module-result.js | 6 + ...lass-static-init-invalid-lex-var.result.js | 4 +- ...s-class-static-init-invalid-lex-var.src.js | 1 + ...class-static-init-invalid-return.result.js | 4 +- ...ts-class-static-init-invalid-return.src.js | 1 + ...c-init-invalid-super-call.module-result.js | 6 + ...s-static-init-invalid-super-call.result.js | 4 +- ...lass-static-init-invalid-super-call.src.js | 1 + ...id-undefined-break-target.module-result.js | 6 + ...t-invalid-undefined-break-target.result.js | 4 +- ...init-invalid-undefined-break-target.src.js | 1 + ...undefined-continue-target.module-result.js | 6 + ...nvalid-undefined-continue-target.result.js | 4 +- ...t-invalid-undefined-continue-target.src.js | 1 + ...-class-static-init-invalid-yield.result.js | 4 +- ...nts-class-static-init-invalid-yield.src.js | 1 + ...lass-static-init-scope-lex-close.result.js | 512 +-- ...s-class-static-init-scope-lex-close.src.js | 1 + ...ss-static-init-scope-lex-derived.result.js | 336 +- ...class-static-init-scope-lex-derived.src.js | 1 + ...class-static-init-scope-lex-open.result.js | 936 ++-- ...ts-class-static-init-scope-lex-open.src.js | 1 + ...-class-static-init-scope-private.result.js | 432 +- ...nts-class-static-init-scope-private.src.js | 1 + ...lass-static-init-scope-var-close.result.js | 512 +-- ...s-class-static-init-scope-var-close.src.js | 1 + ...ss-static-init-scope-var-derived.result.js | 408 +- ...class-static-init-scope-var-derived.src.js | 1 + ...class-static-init-scope-var-open.result.js | 936 ++-- ...ts-class-static-init-scope-var-open.src.js | 1 + ...ments-class-static-init-sequence.result.js | 1360 +++--- ...atements-class-static-init-sequence.src.js | 1 + ...tic-init-statement-list-optional.result.js | 96 +- ...static-init-statement-list-optional.src.js | 1 + ...class-static-init-super-property.result.js | 560 +-- ...ts-class-static-init-super-property.src.js | 1 + ...nit-await-binding-invalid.module-result.js | 6 + ...tatic-init-await-binding-invalid.result.js | 4 +- ...t-static-init-await-binding-invalid.src.js | 1 + ...-init-await-binding-valid.module-result.js | 4 +- ...-static-init-await-binding-valid.result.js | 256 +- ...nst-static-init-await-binding-valid.src.js | 1 + ...-continue-static-init-with-label.result.js | 4 +- ...nts-continue-static-init-with-label.src.js | 1 + ...ntinue-static-init-without-label.result.js | 4 +- ...-continue-static-init-without-label.src.js | 1 + ...nit-await-binding-invalid.module-result.js | 6 + ...tatic-init-await-binding-invalid.result.js | 4 +- ...n-static-init-await-binding-invalid.src.js | 1 + ...-init-await-binding-valid.module-result.js | 4 +- ...-static-init-await-binding-valid.result.js | 256 +- ...ion-static-init-await-binding-valid.src.js | 1 + ...static-init-invalid-await.module-result.js | 6 + ...abeled-static-init-invalid-await.result.js | 4 +- ...s-labeled-static-init-invalid-await.src.js | 1 + ...nit-await-binding-invalid.module-result.js | 6 + ...tatic-init-await-binding-invalid.result.js | 4 +- ...t-static-init-await-binding-invalid.src.js | 1 + ...-init-await-binding-valid.module-result.js | 4 +- ...-static-init-await-binding-valid.result.js | 232 +- ...let-static-init-await-binding-valid.src.js | 1 + ...nit-await-binding-invalid.module-result.js | 6 + ...tatic-init-await-binding-invalid.result.js | 4 +- ...y-static-init-await-binding-invalid.src.js | 1 + ...-init-await-binding-valid.module-result.js | 4 +- ...-static-init-await-binding-valid.result.js | 296 +- ...try-static-init-await-binding-valid.src.js | 1 + ...static-init-await-invalid.module-result.js | 6 + ...lem-id-static-init-await-invalid.result.js | 4 +- ...n-elem-id-static-init-await-invalid.src.js | 1 + ...d-static-init-await-valid.module-result.js | 4 +- ...-elem-id-static-init-await-valid.result.js | 288 +- ...trn-elem-id-static-init-await-valid.src.js | 1 + ...static-init-await-invalid.module-result.js | 6 + ...lem-id-static-init-await-invalid.result.js | 4 +- ...n-elem-id-static-init-await-invalid.src.js | 1 + ...d-static-init-await-valid.module-result.js | 4 +- ...-elem-id-static-init-await-valid.result.js | 304 +- ...trn-elem-id-static-init-await-valid.src.js | 1 + ...nit-await-binding-invalid.module-result.js | 6 + ...tatic-init-await-binding-invalid.result.js | 4 +- ...e-static-init-await-binding-invalid.src.js | 1 + ...-init-await-binding-valid.module-result.js | 4 +- ...-static-init-await-binding-valid.result.js | 232 +- ...ble-static-init-await-binding-valid.src.js | 1 + tools/create-static-class-block-tests.js | 25 + tools/static-class-blocks.txt | 63 + 169 files changed, 12243 insertions(+), 11966 deletions(-) create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.module-result.js create mode 100644 tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.module-result.js create mode 100644 tools/create-static-class-block-tests.js create mode 100644 tools/static-class-blocks.txt diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.module-result.js new file mode 100644 index 00000000..fd73454a --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 170, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.result.js index b4bd4d1e..ff5cb285 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.result.js @@ -1,6 +1,6 @@ export default { - "index": 26, - "lineNumber": 3, + "index": 185, + "lineNumber": 4, "column": 6, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.src.js index 12400de0..65c42105 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-binding.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/arrow-function/static-init-await-binding.js class C { static { (await => 0); diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.module-result.js new file mode 100644 index 00000000..6a5ad496 --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 172, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.result.js index 8b8b21f9..986b50f7 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.result.js @@ -1,6 +1,6 @@ export default { - "index": 31, - "lineNumber": 3, + "index": 192, + "lineNumber": 4, "column": 11, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.src.js index 5bcb413a..232e82ce 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-arrow-function-static-init-await-reference.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/arrow-function/static-init-await-reference.js class C { static { ((x = await) => 0); diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.module-result.js new file mode 100644 index 00000000..316737a7 --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 161, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.result.js index 58e121e3..15c2a662 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.result.js @@ -1,6 +1,6 @@ export default { - "index": 32, - "lineNumber": 3, + "index": 182, + "lineNumber": 4, "column": 12, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.src.js index 31b49f5c..c0e4b99a 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-binding.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/class/static-init-await-binding.js class C { static { (class await {}); diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.module-result.js index 551e78ba..e9f5207f 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 6, - "lineNumber": 3, + "index": 158, + "lineNumber": 4, "column": 5, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.result.js index e7b0a795..db3fb4c1 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 2, - 266 + 154, + 418 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 2, - 16 + 154, + 168 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 6, - 15 + 158, + 167 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 158, + 163 ], "name": "await" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 166, + 167 ], "value": 0, "raw": "0" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 17, - 41 + 169, + 193 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 173, + 182 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 173, + 182 ], "name": "fromParam" }, @@ -146,33 +146,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 184, + 192 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 184, + 192 ], "name": "fromBody" }, @@ -185,33 +185,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 43, - 171 + 195, + 323 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 201, + 202 ], "name": "C" }, @@ -220,83 +220,83 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 51, - 171 + 203, + 323 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 55, - 169 + 207, + 321 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 7 } }, "range": [ - 68, - 165 + 220, + 317 ], "expression": { "type": "NewExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 6 } }, "range": [ - 68, - 164 + 220, + 316 ], "callee": { "type": "ClassExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 9 }, "end": { - "line": 12, + "line": 13, "column": 5 } }, "range": [ - 73, - 163 + 225, + 315 ], "id": null, "superClass": null, @@ -304,34 +304,34 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 8, + "line": 9, "column": 15 }, "end": { - "line": 12, + "line": 13, "column": 5 } }, "range": [ - 79, - 163 + 231, + 315 ], "body": [ { "type": "MethodDefinition", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 87, - 157 + 239, + 309 ], "static": false, "computed": false, @@ -339,17 +339,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 17 } }, "range": [ - 87, - 98 + 239, + 250 ], "name": "constructor" }, @@ -358,17 +358,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 98, - 157 + 250, + 309 ], "id": null, "expression": false, @@ -379,33 +379,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 9, + "line": 10, "column": 39 } }, "range": [ - 99, - 120 + 251, + 272 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 9, + "line": 10, "column": 19 } }, "range": [ - 99, - 100 + 251, + 252 ], "name": "x" }, @@ -413,34 +413,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 22 }, "end": { - "line": 9, + "line": 10, "column": 39 } }, "range": [ - 103, - 120 + 255, + 272 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 22 }, "end": { - "line": 9, + "line": 10, "column": 31 } }, "range": [ - 103, - 112 + 255, + 264 ], "name": "fromParam" }, @@ -448,17 +448,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 34 }, "end": { - "line": 9, + "line": 10, "column": 39 } }, "range": [ - 115, - 120 + 267, + 272 ], "name": "await" } @@ -469,67 +469,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 41 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 122, - 157 + 274, + 309 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 25 } }, "range": [ - 132, - 149 + 284, + 301 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 132, - 148 + 284, + 300 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 132, - 140 + 284, + 292 ], "name": "fromBody" }, @@ -537,17 +537,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 19 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 143, - 148 + 295, + 300 ], "name": "await" } @@ -572,65 +572,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 49 } }, "range": [ - 173, - 222 + 325, + 374 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 48 } }, "range": [ - 173, - 221 + 325, + 373 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 173, - 189 + 325, + 341 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 173, - 179 + 325, + 331 ], "name": "assert" }, @@ -638,17 +638,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 180, - 189 + 332, + 341 ], "name": "sameValue" }, @@ -660,17 +660,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 26 } }, "range": [ - 190, - 199 + 342, + 351 ], "name": "fromParam" }, @@ -678,17 +678,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 28 }, "end": { - "line": 16, + "line": 17, "column": 29 } }, "range": [ - 201, - 202 + 353, + 354 ], "value": 0, "raw": "0" @@ -697,17 +697,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 31 }, "end": { - "line": 16, + "line": 17, "column": 47 } }, "range": [ - 204, - 220 + 356, + 372 ], "value": "from parameter", "raw": "'from parameter'" @@ -720,65 +720,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 223, - 266 + 375, + 418 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 42 } }, "range": [ - 223, - 265 + 375, + 417 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 223, - 239 + 375, + 391 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 223, - 229 + 375, + 381 ], "name": "assert" }, @@ -786,17 +786,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 230, - 239 + 382, + 391 ], "name": "sameValue" }, @@ -808,17 +808,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 240, - 248 + 392, + 400 ], "name": "fromBody" }, @@ -826,17 +826,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 27 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 250, - 251 + 402, + 403 ], "value": 0, "raw": "0" @@ -845,17 +845,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 253, - 264 + 405, + 416 ], "value": "from body", "raw": "'from body'" @@ -872,17 +872,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 154, + 157 ] }, { @@ -890,17 +890,17 @@ export default { "value": "await", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 158, + 163 ] }, { @@ -908,17 +908,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 10 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 12, - 13 + 164, + 165 ] }, { @@ -926,17 +926,17 @@ export default { "value": "0", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 166, + 167 ] }, { @@ -944,17 +944,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 13 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 15, - 16 + 167, + 168 ] }, { @@ -962,17 +962,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 17, - 20 + 169, + 172 ] }, { @@ -980,17 +980,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 173, + 182 ] }, { @@ -998,17 +998,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 13 }, "end": { - "line": 4, + "line": 5, "column": 14 } }, "range": [ - 30, - 31 + 182, + 183 ] }, { @@ -1016,17 +1016,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 184, + 192 ] }, { @@ -1034,17 +1034,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 23 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 40, - 41 + 192, + 193 ] }, { @@ -1052,17 +1052,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 43, - 48 + 195, + 200 ] }, { @@ -1070,17 +1070,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 201, + 202 ] }, { @@ -1088,17 +1088,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 51, - 52 + 203, + 204 ] }, { @@ -1106,17 +1106,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 55, - 61 + 207, + 213 ] }, { @@ -1124,17 +1124,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 62, - 63 + 214, + 215 ] }, { @@ -1142,17 +1142,17 @@ export default { "value": "new", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 7 } }, "range": [ - 68, - 71 + 220, + 223 ] }, { @@ -1160,17 +1160,17 @@ export default { "value": "(", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 9 } }, "range": [ - 72, - 73 + 224, + 225 ] }, { @@ -1178,17 +1178,17 @@ export default { "value": "class", "loc": { "start": { - "line": 8, + "line": 9, "column": 9 }, "end": { - "line": 8, + "line": 9, "column": 14 } }, "range": [ - 73, - 78 + 225, + 230 ] }, { @@ -1196,17 +1196,17 @@ export default { "value": "{", "loc": { "start": { - "line": 8, + "line": 9, "column": 15 }, "end": { - "line": 8, + "line": 9, "column": 16 } }, "range": [ - 79, - 80 + 231, + 232 ] }, { @@ -1214,17 +1214,17 @@ export default { "value": "constructor", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 17 } }, "range": [ - 87, - 98 + 239, + 250 ] }, { @@ -1232,17 +1232,17 @@ export default { "value": "(", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 9, + "line": 10, "column": 18 } }, "range": [ - 98, - 99 + 250, + 251 ] }, { @@ -1250,17 +1250,17 @@ export default { "value": "x", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 9, + "line": 10, "column": 19 } }, "range": [ - 99, - 100 + 251, + 252 ] }, { @@ -1268,17 +1268,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 20 }, "end": { - "line": 9, + "line": 10, "column": 21 } }, "range": [ - 101, - 102 + 253, + 254 ] }, { @@ -1286,17 +1286,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 9, + "line": 10, "column": 22 }, "end": { - "line": 9, + "line": 10, "column": 31 } }, "range": [ - 103, - 112 + 255, + 264 ] }, { @@ -1304,17 +1304,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 32 }, "end": { - "line": 9, + "line": 10, "column": 33 } }, "range": [ - 113, - 114 + 265, + 266 ] }, { @@ -1322,17 +1322,17 @@ export default { "value": "await", "loc": { "start": { - "line": 9, + "line": 10, "column": 34 }, "end": { - "line": 9, + "line": 10, "column": 39 } }, "range": [ - 115, - 120 + 267, + 272 ] }, { @@ -1340,17 +1340,17 @@ export default { "value": ")", "loc": { "start": { - "line": 9, + "line": 10, "column": 39 }, "end": { - "line": 9, + "line": 10, "column": 40 } }, "range": [ - 120, - 121 + 272, + 273 ] }, { @@ -1358,17 +1358,17 @@ export default { "value": "{", "loc": { "start": { - "line": 9, + "line": 10, "column": 41 }, "end": { - "line": 9, + "line": 10, "column": 42 } }, "range": [ - 122, - 123 + 274, + 275 ] }, { @@ -1376,17 +1376,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 132, - 140 + 284, + 292 ] }, { @@ -1394,17 +1394,17 @@ export default { "value": "=", "loc": { "start": { - "line": 10, + "line": 11, "column": 17 }, "end": { - "line": 10, + "line": 11, "column": 18 } }, "range": [ - 141, - 142 + 293, + 294 ] }, { @@ -1412,17 +1412,17 @@ export default { "value": "await", "loc": { "start": { - "line": 10, + "line": 11, "column": 19 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 143, - 148 + 295, + 300 ] }, { @@ -1430,17 +1430,17 @@ export default { "value": ";", "loc": { "start": { - "line": 10, + "line": 11, "column": 24 }, "end": { - "line": 10, + "line": 11, "column": 25 } }, "range": [ - 148, - 149 + 300, + 301 ] }, { @@ -1448,17 +1448,17 @@ export default { "value": "}", "loc": { "start": { - "line": 11, + "line": 12, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 156, - 157 + 308, + 309 ] }, { @@ -1466,17 +1466,17 @@ export default { "value": "}", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 5 } }, "range": [ - 162, - 163 + 314, + 315 ] }, { @@ -1484,17 +1484,17 @@ export default { "value": ")", "loc": { "start": { - "line": 12, + "line": 13, "column": 5 }, "end": { - "line": 12, + "line": 13, "column": 6 } }, "range": [ - 163, - 164 + 315, + 316 ] }, { @@ -1502,17 +1502,17 @@ export default { "value": ";", "loc": { "start": { - "line": 12, + "line": 13, "column": 6 }, "end": { - "line": 12, + "line": 13, "column": 7 } }, "range": [ - 164, - 165 + 316, + 317 ] }, { @@ -1520,17 +1520,17 @@ export default { "value": "}", "loc": { "start": { - "line": 13, + "line": 14, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 168, - 169 + 320, + 321 ] }, { @@ -1538,17 +1538,17 @@ export default { "value": "}", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 170, - 171 + 322, + 323 ] }, { @@ -1556,17 +1556,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 173, - 179 + 325, + 331 ] }, { @@ -1574,17 +1574,17 @@ export default { "value": ".", "loc": { "start": { - "line": 16, + "line": 17, "column": 6 }, "end": { - "line": 16, + "line": 17, "column": 7 } }, "range": [ - 179, - 180 + 331, + 332 ] }, { @@ -1592,17 +1592,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 180, - 189 + 332, + 341 ] }, { @@ -1610,17 +1610,17 @@ export default { "value": "(", "loc": { "start": { - "line": 16, + "line": 17, "column": 16 }, "end": { - "line": 16, + "line": 17, "column": 17 } }, "range": [ - 189, - 190 + 341, + 342 ] }, { @@ -1628,17 +1628,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 26 } }, "range": [ - 190, - 199 + 342, + 351 ] }, { @@ -1646,17 +1646,17 @@ export default { "value": ",", "loc": { "start": { - "line": 16, + "line": 17, "column": 26 }, "end": { - "line": 16, + "line": 17, "column": 27 } }, "range": [ - 199, - 200 + 351, + 352 ] }, { @@ -1664,17 +1664,17 @@ export default { "value": "0", "loc": { "start": { - "line": 16, + "line": 17, "column": 28 }, "end": { - "line": 16, + "line": 17, "column": 29 } }, "range": [ - 201, - 202 + 353, + 354 ] }, { @@ -1682,17 +1682,17 @@ export default { "value": ",", "loc": { "start": { - "line": 16, + "line": 17, "column": 29 }, "end": { - "line": 16, + "line": 17, "column": 30 } }, "range": [ - 202, - 203 + 354, + 355 ] }, { @@ -1700,17 +1700,17 @@ export default { "value": "'from parameter'", "loc": { "start": { - "line": 16, + "line": 17, "column": 31 }, "end": { - "line": 16, + "line": 17, "column": 47 } }, "range": [ - 204, - 220 + 356, + 372 ] }, { @@ -1718,17 +1718,17 @@ export default { "value": ")", "loc": { "start": { - "line": 16, + "line": 17, "column": 47 }, "end": { - "line": 16, + "line": 17, "column": 48 } }, "range": [ - 220, - 221 + 372, + 373 ] }, { @@ -1736,17 +1736,17 @@ export default { "value": ";", "loc": { "start": { - "line": 16, + "line": 17, "column": 48 }, "end": { - "line": 16, + "line": 17, "column": 49 } }, "range": [ - 221, - 222 + 373, + 374 ] }, { @@ -1754,17 +1754,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 223, - 229 + 375, + 381 ] }, { @@ -1772,17 +1772,17 @@ export default { "value": ".", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 7 } }, "range": [ - 229, - 230 + 381, + 382 ] }, { @@ -1790,17 +1790,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 230, - 239 + 382, + 391 ] }, { @@ -1808,17 +1808,17 @@ export default { "value": "(", "loc": { "start": { - "line": 17, + "line": 18, "column": 16 }, "end": { - "line": 17, + "line": 18, "column": 17 } }, "range": [ - 239, - 240 + 391, + 392 ] }, { @@ -1826,17 +1826,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 240, - 248 + 392, + 400 ] }, { @@ -1844,17 +1844,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 25 }, "end": { - "line": 17, + "line": 18, "column": 26 } }, "range": [ - 248, - 249 + 400, + 401 ] }, { @@ -1862,17 +1862,17 @@ export default { "value": "0", "loc": { "start": { - "line": 17, + "line": 18, "column": 27 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 250, - 251 + 402, + 403 ] }, { @@ -1880,17 +1880,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 28 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 251, - 252 + 403, + 404 ] }, { @@ -1898,17 +1898,17 @@ export default { "value": "'from body'", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 253, - 264 + 405, + 416 ] }, { @@ -1916,17 +1916,17 @@ export default { "value": ")", "loc": { "start": { - "line": 17, + "line": 18, "column": 41 }, "end": { - "line": 17, + "line": 18, "column": 42 } }, "range": [ - 264, - 265 + 416, + 417 ] }, { @@ -1934,17 +1934,17 @@ export default { "value": ";", "loc": { "start": { - "line": 17, + "line": 18, "column": 42 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 265, - 266 + 417, + 418 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.src.js index dabbe87c..1f019f61 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-class-static-init-await-reference.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/class/static-init-await-reference.js var await = 0; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.module-result.js index a84c821a..ff802651 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 37, - "lineNumber": 5, + "index": 190, + "lineNumber": 6, "column": 15, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.result.js index e82c7fd0..d7370f51 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 60 + 155, + 213 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 60 + 155, + 213 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 161, + 162 ], "name": "C" }, @@ -54,83 +54,83 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 60 + 163, + 213 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 58 + 167, + 211 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 27, - 54 + 180, + 207 ], "expression": { "type": "FunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 28, - 52 + 181, + 205 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 37, - 42 + 190, + 195 ], "name": "await" }, @@ -142,17 +142,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 20 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 43, - 48 + 196, + 201 ], "name": "await" } @@ -161,17 +161,17 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 50, - 52 + 203, + 205 ], "body": [] } @@ -190,17 +190,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 155, + 160 ] }, { @@ -208,17 +208,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 161, + 162 ] }, { @@ -226,17 +226,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 163, + 164 ] }, { @@ -244,17 +244,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 167, + 173 ] }, { @@ -262,17 +262,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 174, + 175 ] }, { @@ -280,17 +280,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 180, + 181 ] }, { @@ -298,17 +298,17 @@ export default { "value": "function", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 13 } }, "range": [ - 28, - 36 + 181, + 189 ] }, { @@ -316,17 +316,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 37, - 42 + 190, + 195 ] }, { @@ -334,17 +334,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 19 }, "end": { - "line": 5, + "line": 6, "column": 20 } }, "range": [ - 42, - 43 + 195, + 196 ] }, { @@ -352,17 +352,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 20 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 43, - 48 + 196, + 201 ] }, { @@ -370,17 +370,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 48, - 49 + 201, + 202 ] }, { @@ -388,17 +388,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 50, - 51 + 203, + 204 ] }, { @@ -406,17 +406,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 28 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 51, - 52 + 204, + 205 ] }, { @@ -424,17 +424,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 29 }, "end": { - "line": 5, + "line": 6, "column": 30 } }, "range": [ - 52, - 53 + 205, + 206 ] }, { @@ -442,17 +442,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 30 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 53, - 54 + 206, + 207 ] }, { @@ -460,17 +460,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 57, - 58 + 210, + 211 ] }, { @@ -478,17 +478,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 59, - 60 + 212, + 213 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.src.js index a863e05f..37cebb74 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-binding.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/function/static-init-await-binding.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.module-result.js index 551e78ba..aa6c95e1 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 6, - "lineNumber": 3, + "index": 161, + "lineNumber": 4, "column": 5, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.result.js index c63cafca..3d78b54a 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 43 } }, "range": [ - 2, - 238 + 157, + 393 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 2, - 16 + 157, + 171 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 6, - 15 + 161, + 170 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 161, + 166 ], "name": "await" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 169, + 170 ], "value": 0, "raw": "0" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 17, - 41 + 172, + 196 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 176, + 185 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 176, + 185 ], "name": "fromParam" }, @@ -146,33 +146,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 187, + 195 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 187, + 195 ], "name": "fromBody" }, @@ -185,33 +185,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 1 } }, "range": [ - 43, - 143 + 198, + 298 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 204, + 205 ], "name": "C" }, @@ -220,83 +220,83 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 1 } }, "range": [ - 51, - 143 + 206, + 298 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 11, + "line": 12, "column": 3 } }, "range": [ - 55, - 141 + 210, + 296 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 10, + "line": 11, "column": 9 } }, "range": [ - 68, - 137 + 223, + 292 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 10, + "line": 11, "column": 8 } }, "range": [ - 68, - 136 + 223, + 291 ], "callee": { "type": "FunctionExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 10, + "line": 11, "column": 5 } }, "range": [ - 69, - 133 + 224, + 288 ], "id": null, "expression": false, @@ -307,33 +307,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 8, + "line": 9, "column": 15 }, "end": { - "line": 8, + "line": 9, "column": 36 } }, "range": [ - 79, - 100 + 234, + 255 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 15 }, "end": { - "line": 8, + "line": 9, "column": 16 } }, "range": [ - 79, - 80 + 234, + 235 ], "name": "x" }, @@ -341,34 +341,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 19 }, "end": { - "line": 8, + "line": 9, "column": 36 } }, "range": [ - 83, - 100 + 238, + 255 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 19 }, "end": { - "line": 8, + "line": 9, "column": 28 } }, "range": [ - 83, - 92 + 238, + 247 ], "name": "fromParam" }, @@ -376,17 +376,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 31 }, "end": { - "line": 8, + "line": 9, "column": 36 } }, "range": [ - 95, - 100 + 250, + 255 ], "name": "await" } @@ -397,67 +397,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 38 }, "end": { - "line": 10, + "line": 11, "column": 5 } }, "range": [ - 102, - 133 + 257, + 288 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 23 } }, "range": [ - 110, - 127 + 265, + 282 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 110, - 126 + 265, + 281 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 14 } }, "range": [ - 110, - 118 + 265, + 273 ], "name": "fromBody" }, @@ -465,17 +465,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 121, - 126 + 276, + 281 ], "name": "await" } @@ -497,65 +497,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 49 } }, "range": [ - 145, - 194 + 300, + 349 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 48 } }, "range": [ - 145, - 193 + 300, + 348 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 16 } }, "range": [ - 145, - 161 + 300, + 316 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 6 } }, "range": [ - 145, - 151 + 300, + 306 ], "name": "assert" }, @@ -563,17 +563,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 7 }, "end": { - "line": 14, + "line": 15, "column": 16 } }, "range": [ - 152, - 161 + 307, + 316 ], "name": "sameValue" }, @@ -585,17 +585,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 17 }, "end": { - "line": 14, + "line": 15, "column": 26 } }, "range": [ - 162, - 171 + 317, + 326 ], "name": "fromParam" }, @@ -603,17 +603,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 14, + "line": 15, "column": 28 }, "end": { - "line": 14, + "line": 15, "column": 29 } }, "range": [ - 173, - 174 + 328, + 329 ], "value": 0, "raw": "0" @@ -622,17 +622,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 14, + "line": 15, "column": 31 }, "end": { - "line": 14, + "line": 15, "column": 47 } }, "range": [ - 176, - 192 + 331, + 347 ], "value": "from parameter", "raw": "'from parameter'" @@ -645,65 +645,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 43 } }, "range": [ - 195, - 238 + 350, + 393 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 42 } }, "range": [ - 195, - 237 + 350, + 392 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 195, - 211 + 350, + 366 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 6 } }, "range": [ - 195, - 201 + 350, + 356 ], "name": "assert" }, @@ -711,17 +711,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 202, - 211 + 357, + 366 ], "name": "sameValue" }, @@ -733,17 +733,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 17 }, "end": { - "line": 15, + "line": 16, "column": 25 } }, "range": [ - 212, - 220 + 367, + 375 ], "name": "fromBody" }, @@ -751,17 +751,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 15, + "line": 16, "column": 27 }, "end": { - "line": 15, + "line": 16, "column": 28 } }, "range": [ - 222, - 223 + 377, + 378 ], "value": 0, "raw": "0" @@ -770,17 +770,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 15, + "line": 16, "column": 30 }, "end": { - "line": 15, + "line": 16, "column": 41 } }, "range": [ - 225, - 236 + 380, + 391 ], "value": "from body", "raw": "'from body'" @@ -797,17 +797,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 157, + 160 ] }, { @@ -815,17 +815,17 @@ export default { "value": "await", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 161, + 166 ] }, { @@ -833,17 +833,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 10 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 12, - 13 + 167, + 168 ] }, { @@ -851,17 +851,17 @@ export default { "value": "0", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 169, + 170 ] }, { @@ -869,17 +869,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 13 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 15, - 16 + 170, + 171 ] }, { @@ -887,17 +887,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 17, - 20 + 172, + 175 ] }, { @@ -905,17 +905,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 176, + 185 ] }, { @@ -923,17 +923,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 13 }, "end": { - "line": 4, + "line": 5, "column": 14 } }, "range": [ - 30, - 31 + 185, + 186 ] }, { @@ -941,17 +941,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 187, + 195 ] }, { @@ -959,17 +959,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 23 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 40, - 41 + 195, + 196 ] }, { @@ -977,17 +977,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 43, - 48 + 198, + 203 ] }, { @@ -995,17 +995,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 204, + 205 ] }, { @@ -1013,17 +1013,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 51, - 52 + 206, + 207 ] }, { @@ -1031,17 +1031,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 55, - 61 + 210, + 216 ] }, { @@ -1049,17 +1049,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 62, - 63 + 217, + 218 ] }, { @@ -1067,17 +1067,17 @@ export default { "value": "(", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 5 } }, "range": [ - 68, - 69 + 223, + 224 ] }, { @@ -1085,17 +1085,17 @@ export default { "value": "function", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 8, + "line": 9, "column": 13 } }, "range": [ - 69, - 77 + 224, + 232 ] }, { @@ -1103,17 +1103,17 @@ export default { "value": "(", "loc": { "start": { - "line": 8, + "line": 9, "column": 14 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 78, - 79 + 233, + 234 ] }, { @@ -1121,17 +1121,17 @@ export default { "value": "x", "loc": { "start": { - "line": 8, + "line": 9, "column": 15 }, "end": { - "line": 8, + "line": 9, "column": 16 } }, "range": [ - 79, - 80 + 234, + 235 ] }, { @@ -1139,17 +1139,17 @@ export default { "value": "=", "loc": { "start": { - "line": 8, + "line": 9, "column": 17 }, "end": { - "line": 8, + "line": 9, "column": 18 } }, "range": [ - 81, - 82 + 236, + 237 ] }, { @@ -1157,17 +1157,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 8, + "line": 9, "column": 19 }, "end": { - "line": 8, + "line": 9, "column": 28 } }, "range": [ - 83, - 92 + 238, + 247 ] }, { @@ -1175,17 +1175,17 @@ export default { "value": "=", "loc": { "start": { - "line": 8, + "line": 9, "column": 29 }, "end": { - "line": 8, + "line": 9, "column": 30 } }, "range": [ - 93, - 94 + 248, + 249 ] }, { @@ -1193,17 +1193,17 @@ export default { "value": "await", "loc": { "start": { - "line": 8, + "line": 9, "column": 31 }, "end": { - "line": 8, + "line": 9, "column": 36 } }, "range": [ - 95, - 100 + 250, + 255 ] }, { @@ -1211,17 +1211,17 @@ export default { "value": ")", "loc": { "start": { - "line": 8, + "line": 9, "column": 36 }, "end": { - "line": 8, + "line": 9, "column": 37 } }, "range": [ - 100, - 101 + 255, + 256 ] }, { @@ -1229,17 +1229,17 @@ export default { "value": "{", "loc": { "start": { - "line": 8, + "line": 9, "column": 38 }, "end": { - "line": 8, + "line": 9, "column": 39 } }, "range": [ - 102, - 103 + 257, + 258 ] }, { @@ -1247,17 +1247,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 14 } }, "range": [ - 110, - 118 + 265, + 273 ] }, { @@ -1265,17 +1265,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 15 }, "end": { - "line": 9, + "line": 10, "column": 16 } }, "range": [ - 119, - 120 + 274, + 275 ] }, { @@ -1283,17 +1283,17 @@ export default { "value": "await", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 121, - 126 + 276, + 281 ] }, { @@ -1301,17 +1301,17 @@ export default { "value": ";", "loc": { "start": { - "line": 9, + "line": 10, "column": 22 }, "end": { - "line": 9, + "line": 10, "column": 23 } }, "range": [ - 126, - 127 + 281, + 282 ] }, { @@ -1319,17 +1319,17 @@ export default { "value": "}", "loc": { "start": { - "line": 10, + "line": 11, "column": 4 }, "end": { - "line": 10, + "line": 11, "column": 5 } }, "range": [ - 132, - 133 + 287, + 288 ] }, { @@ -1337,17 +1337,17 @@ export default { "value": ")", "loc": { "start": { - "line": 10, + "line": 11, "column": 5 }, "end": { - "line": 10, + "line": 11, "column": 6 } }, "range": [ - 133, - 134 + 288, + 289 ] }, { @@ -1355,17 +1355,17 @@ export default { "value": "(", "loc": { "start": { - "line": 10, + "line": 11, "column": 6 }, "end": { - "line": 10, + "line": 11, "column": 7 } }, "range": [ - 134, - 135 + 289, + 290 ] }, { @@ -1373,17 +1373,17 @@ export default { "value": ")", "loc": { "start": { - "line": 10, + "line": 11, "column": 7 }, "end": { - "line": 10, + "line": 11, "column": 8 } }, "range": [ - 135, - 136 + 290, + 291 ] }, { @@ -1391,17 +1391,17 @@ export default { "value": ";", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 9 } }, "range": [ - 136, - 137 + 291, + 292 ] }, { @@ -1409,17 +1409,17 @@ export default { "value": "}", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 11, + "line": 12, "column": 3 } }, "range": [ - 140, - 141 + 295, + 296 ] }, { @@ -1427,17 +1427,17 @@ export default { "value": "}", "loc": { "start": { - "line": 12, + "line": 13, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 1 } }, "range": [ - 142, - 143 + 297, + 298 ] }, { @@ -1445,17 +1445,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 6 } }, "range": [ - 145, - 151 + 300, + 306 ] }, { @@ -1463,17 +1463,17 @@ export default { "value": ".", "loc": { "start": { - "line": 14, + "line": 15, "column": 6 }, "end": { - "line": 14, + "line": 15, "column": 7 } }, "range": [ - 151, - 152 + 306, + 307 ] }, { @@ -1481,17 +1481,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 14, + "line": 15, "column": 7 }, "end": { - "line": 14, + "line": 15, "column": 16 } }, "range": [ - 152, - 161 + 307, + 316 ] }, { @@ -1499,17 +1499,17 @@ export default { "value": "(", "loc": { "start": { - "line": 14, + "line": 15, "column": 16 }, "end": { - "line": 14, + "line": 15, "column": 17 } }, "range": [ - 161, - 162 + 316, + 317 ] }, { @@ -1517,17 +1517,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 14, + "line": 15, "column": 17 }, "end": { - "line": 14, + "line": 15, "column": 26 } }, "range": [ - 162, - 171 + 317, + 326 ] }, { @@ -1535,17 +1535,17 @@ export default { "value": ",", "loc": { "start": { - "line": 14, + "line": 15, "column": 26 }, "end": { - "line": 14, + "line": 15, "column": 27 } }, "range": [ - 171, - 172 + 326, + 327 ] }, { @@ -1553,17 +1553,17 @@ export default { "value": "0", "loc": { "start": { - "line": 14, + "line": 15, "column": 28 }, "end": { - "line": 14, + "line": 15, "column": 29 } }, "range": [ - 173, - 174 + 328, + 329 ] }, { @@ -1571,17 +1571,17 @@ export default { "value": ",", "loc": { "start": { - "line": 14, + "line": 15, "column": 29 }, "end": { - "line": 14, + "line": 15, "column": 30 } }, "range": [ - 174, - 175 + 329, + 330 ] }, { @@ -1589,17 +1589,17 @@ export default { "value": "'from parameter'", "loc": { "start": { - "line": 14, + "line": 15, "column": 31 }, "end": { - "line": 14, + "line": 15, "column": 47 } }, "range": [ - 176, - 192 + 331, + 347 ] }, { @@ -1607,17 +1607,17 @@ export default { "value": ")", "loc": { "start": { - "line": 14, + "line": 15, "column": 47 }, "end": { - "line": 14, + "line": 15, "column": 48 } }, "range": [ - 192, - 193 + 347, + 348 ] }, { @@ -1625,17 +1625,17 @@ export default { "value": ";", "loc": { "start": { - "line": 14, + "line": 15, "column": 48 }, "end": { - "line": 14, + "line": 15, "column": 49 } }, "range": [ - 193, - 194 + 348, + 349 ] }, { @@ -1643,17 +1643,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 6 } }, "range": [ - 195, - 201 + 350, + 356 ] }, { @@ -1661,17 +1661,17 @@ export default { "value": ".", "loc": { "start": { - "line": 15, + "line": 16, "column": 6 }, "end": { - "line": 15, + "line": 16, "column": 7 } }, "range": [ - 201, - 202 + 356, + 357 ] }, { @@ -1679,17 +1679,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 202, - 211 + 357, + 366 ] }, { @@ -1697,17 +1697,17 @@ export default { "value": "(", "loc": { "start": { - "line": 15, + "line": 16, "column": 16 }, "end": { - "line": 15, + "line": 16, "column": 17 } }, "range": [ - 211, - 212 + 366, + 367 ] }, { @@ -1715,17 +1715,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 15, + "line": 16, "column": 17 }, "end": { - "line": 15, + "line": 16, "column": 25 } }, "range": [ - 212, - 220 + 367, + 375 ] }, { @@ -1733,17 +1733,17 @@ export default { "value": ",", "loc": { "start": { - "line": 15, + "line": 16, "column": 25 }, "end": { - "line": 15, + "line": 16, "column": 26 } }, "range": [ - 220, - 221 + 375, + 376 ] }, { @@ -1751,17 +1751,17 @@ export default { "value": "0", "loc": { "start": { - "line": 15, + "line": 16, "column": 27 }, "end": { - "line": 15, + "line": 16, "column": 28 } }, "range": [ - 222, - 223 + 377, + 378 ] }, { @@ -1769,17 +1769,17 @@ export default { "value": ",", "loc": { "start": { - "line": 15, + "line": 16, "column": 28 }, "end": { - "line": 15, + "line": 16, "column": 29 } }, "range": [ - 223, - 224 + 378, + 379 ] }, { @@ -1787,17 +1787,17 @@ export default { "value": "'from body'", "loc": { "start": { - "line": 15, + "line": 16, "column": 30 }, "end": { - "line": 15, + "line": 16, "column": 41 } }, "range": [ - 225, - 236 + 380, + 391 ] }, { @@ -1805,17 +1805,17 @@ export default { "value": ")", "loc": { "start": { - "line": 15, + "line": 16, "column": 41 }, "end": { - "line": 15, + "line": 16, "column": 42 } }, "range": [ - 236, - 237 + 391, + 392 ] }, { @@ -1823,17 +1823,17 @@ export default { "value": ";", "loc": { "start": { - "line": 15, + "line": 16, "column": 42 }, "end": { - "line": 15, + "line": 16, "column": 43 } }, "range": [ - 237, - 238 + 392, + 393 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.src.js index ab6647d8..13810a59 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-function-static-init-await-reference.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/function/static-init-await-reference.js var await = 0; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.module-result.js index 2bf371d2..62098989 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 39, - "lineNumber": 5, + "index": 194, + "lineNumber": 6, "column": 17, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.result.js index 57def129..693f436e 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 63 + 157, + 218 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 63 + 157, + 218 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 163, + 164 ], "name": "C" }, @@ -54,83 +54,83 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 63 + 165, + 218 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 61 + 169, + 216 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 34 } }, "range": [ - 27, - 57 + 182, + 212 ], "expression": { "type": "FunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 28, - 55 + 183, + 210 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 16 }, "end": { - "line": 5, + "line": 6, "column": 21 } }, "range": [ - 39, - 44 + 194, + 199 ], "name": "await" }, @@ -142,17 +142,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 23 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 46, - 51 + 201, + 206 ], "name": "await" } @@ -161,17 +161,17 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 30 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 53, - 55 + 208, + 210 ], "body": [] } @@ -190,17 +190,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 157, + 162 ] }, { @@ -208,17 +208,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 163, + 164 ] }, { @@ -226,17 +226,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 165, + 166 ] }, { @@ -244,17 +244,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 169, + 175 ] }, { @@ -262,17 +262,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 176, + 177 ] }, { @@ -280,17 +280,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 182, + 183 ] }, { @@ -298,17 +298,17 @@ export default { "value": "function", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 13 } }, "range": [ - 28, - 36 + 183, + 191 ] }, { @@ -316,17 +316,17 @@ export default { "value": "*", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 15 } }, "range": [ - 37, - 38 + 192, + 193 ] }, { @@ -334,17 +334,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 16 }, "end": { - "line": 5, + "line": 6, "column": 21 } }, "range": [ - 39, - 44 + 194, + 199 ] }, { @@ -352,17 +352,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 22 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 45, - 46 + 200, + 201 ] }, { @@ -370,17 +370,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 23 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 46, - 51 + 201, + 206 ] }, { @@ -388,17 +388,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 28 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 51, - 52 + 206, + 207 ] }, { @@ -406,17 +406,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 30 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 53, - 54 + 208, + 209 ] }, { @@ -424,17 +424,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 31 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 54, - 55 + 209, + 210 ] }, { @@ -442,17 +442,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 32 }, "end": { - "line": 5, + "line": 6, "column": 33 } }, "range": [ - 55, - 56 + 210, + 211 ] }, { @@ -460,17 +460,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 33 }, "end": { - "line": 5, + "line": 6, "column": 34 } }, "range": [ - 56, - 57 + 211, + 212 ] }, { @@ -478,17 +478,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 60, - 61 + 215, + 216 ] }, { @@ -496,17 +496,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 62, - 63 + 217, + 218 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.src.js index 7f163631..e6593042 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-binding.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/generators/static-init-await-binding.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.module-result.js index 551e78ba..592bf752 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 6, - "lineNumber": 3, + "index": 163, + "lineNumber": 4, "column": 5, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.result.js index a4a34fb6..c7f24dd9 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 43 } }, "range": [ - 2, - 247 + 159, + 404 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 2, - 16 + 159, + 173 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 6, - 15 + 163, + 172 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 163, + 168 ], "name": "await" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 171, + 172 ], "value": 0, "raw": "0" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 17, - 41 + 174, + 198 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 178, + 187 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 178, + 187 ], "name": "fromParam" }, @@ -146,33 +146,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 189, + 197 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 189, + 197 ], "name": "fromBody" }, @@ -185,33 +185,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 1 } }, "range": [ - 43, - 152 + 200, + 309 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 206, + 207 ], "name": "C" }, @@ -220,115 +220,115 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 1 } }, "range": [ - 51, - 152 + 208, + 309 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 11, + "line": 12, "column": 3 } }, "range": [ - 55, - 150 + 212, + 307 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 68, - 146 + 225, + 303 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 10, + "line": 11, "column": 15 } }, "range": [ - 68, - 145 + 225, + 302 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 10, + "line": 11, "column": 13 } }, "range": [ - 68, - 143 + 225, + 300 ], "object": { "type": "CallExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 10, + "line": 11, "column": 8 } }, "range": [ - 68, - 138 + 225, + 295 ], "callee": { "type": "FunctionExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 10, + "line": 11, "column": 5 } }, "range": [ - 69, - 135 + 226, + 292 ], "id": null, "expression": false, @@ -339,33 +339,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 8, + "line": 9, "column": 17 }, "end": { - "line": 8, + "line": 9, "column": 38 } }, "range": [ - 81, - 102 + 238, + 259 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 17 }, "end": { - "line": 8, + "line": 9, "column": 18 } }, "range": [ - 81, - 82 + 238, + 239 ], "name": "x" }, @@ -373,34 +373,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 21 }, "end": { - "line": 8, + "line": 9, "column": 38 } }, "range": [ - 85, - 102 + 242, + 259 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 21 }, "end": { - "line": 8, + "line": 9, "column": 30 } }, "range": [ - 85, - 94 + 242, + 251 ], "name": "fromParam" }, @@ -408,17 +408,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 33 }, "end": { - "line": 8, + "line": 9, "column": 38 } }, "range": [ - 97, - 102 + 254, + 259 ], "name": "await" } @@ -429,67 +429,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 40 }, "end": { - "line": 10, + "line": 11, "column": 5 } }, "range": [ - 104, - 135 + 261, + 292 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 23 } }, "range": [ - 112, - 129 + 269, + 286 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 112, - 128 + 269, + 285 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 14 } }, "range": [ - 112, - 120 + 269, + 277 ], "name": "fromBody" }, @@ -497,17 +497,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 123, - 128 + 280, + 285 ], "name": "await" } @@ -523,17 +523,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 9 }, "end": { - "line": 10, + "line": 11, "column": 13 } }, "range": [ - 139, - 143 + 296, + 300 ], "name": "next" }, @@ -553,65 +553,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 49 } }, "range": [ - 154, - 203 + 311, + 360 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 48 } }, "range": [ - 154, - 202 + 311, + 359 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 16 } }, "range": [ - 154, - 170 + 311, + 327 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 6 } }, "range": [ - 154, - 160 + 311, + 317 ], "name": "assert" }, @@ -619,17 +619,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 7 }, "end": { - "line": 14, + "line": 15, "column": 16 } }, "range": [ - 161, - 170 + 318, + 327 ], "name": "sameValue" }, @@ -641,17 +641,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 17 }, "end": { - "line": 14, + "line": 15, "column": 26 } }, "range": [ - 171, - 180 + 328, + 337 ], "name": "fromParam" }, @@ -659,17 +659,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 14, + "line": 15, "column": 28 }, "end": { - "line": 14, + "line": 15, "column": 29 } }, "range": [ - 182, - 183 + 339, + 340 ], "value": 0, "raw": "0" @@ -678,17 +678,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 14, + "line": 15, "column": 31 }, "end": { - "line": 14, + "line": 15, "column": 47 } }, "range": [ - 185, - 201 + 342, + 358 ], "value": "from parameter", "raw": "'from parameter'" @@ -701,65 +701,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 43 } }, "range": [ - 204, - 247 + 361, + 404 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 42 } }, "range": [ - 204, - 246 + 361, + 403 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 204, - 220 + 361, + 377 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 6 } }, "range": [ - 204, - 210 + 361, + 367 ], "name": "assert" }, @@ -767,17 +767,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 211, - 220 + 368, + 377 ], "name": "sameValue" }, @@ -789,17 +789,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 17 }, "end": { - "line": 15, + "line": 16, "column": 25 } }, "range": [ - 221, - 229 + 378, + 386 ], "name": "fromBody" }, @@ -807,17 +807,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 15, + "line": 16, "column": 27 }, "end": { - "line": 15, + "line": 16, "column": 28 } }, "range": [ - 231, - 232 + 388, + 389 ], "value": 0, "raw": "0" @@ -826,17 +826,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 15, + "line": 16, "column": 30 }, "end": { - "line": 15, + "line": 16, "column": 41 } }, "range": [ - 234, - 245 + 391, + 402 ], "value": "from body", "raw": "'from body'" @@ -853,17 +853,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 159, + 162 ] }, { @@ -871,17 +871,17 @@ export default { "value": "await", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 163, + 168 ] }, { @@ -889,17 +889,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 10 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 12, - 13 + 169, + 170 ] }, { @@ -907,17 +907,17 @@ export default { "value": "0", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 171, + 172 ] }, { @@ -925,17 +925,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 13 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 15, - 16 + 172, + 173 ] }, { @@ -943,17 +943,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 17, - 20 + 174, + 177 ] }, { @@ -961,17 +961,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 178, + 187 ] }, { @@ -979,17 +979,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 13 }, "end": { - "line": 4, + "line": 5, "column": 14 } }, "range": [ - 30, - 31 + 187, + 188 ] }, { @@ -997,17 +997,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 189, + 197 ] }, { @@ -1015,17 +1015,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 23 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 40, - 41 + 197, + 198 ] }, { @@ -1033,17 +1033,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 43, - 48 + 200, + 205 ] }, { @@ -1051,17 +1051,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 206, + 207 ] }, { @@ -1069,17 +1069,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 51, - 52 + 208, + 209 ] }, { @@ -1087,17 +1087,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 55, - 61 + 212, + 218 ] }, { @@ -1105,17 +1105,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 62, - 63 + 219, + 220 ] }, { @@ -1123,17 +1123,17 @@ export default { "value": "(", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 5 } }, "range": [ - 68, - 69 + 225, + 226 ] }, { @@ -1141,17 +1141,17 @@ export default { "value": "function", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 8, + "line": 9, "column": 13 } }, "range": [ - 69, - 77 + 226, + 234 ] }, { @@ -1159,17 +1159,17 @@ export default { "value": "*", "loc": { "start": { - "line": 8, + "line": 9, "column": 14 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 78, - 79 + 235, + 236 ] }, { @@ -1177,17 +1177,17 @@ export default { "value": "(", "loc": { "start": { - "line": 8, + "line": 9, "column": 16 }, "end": { - "line": 8, + "line": 9, "column": 17 } }, "range": [ - 80, - 81 + 237, + 238 ] }, { @@ -1195,17 +1195,17 @@ export default { "value": "x", "loc": { "start": { - "line": 8, + "line": 9, "column": 17 }, "end": { - "line": 8, + "line": 9, "column": 18 } }, "range": [ - 81, - 82 + 238, + 239 ] }, { @@ -1213,17 +1213,17 @@ export default { "value": "=", "loc": { "start": { - "line": 8, + "line": 9, "column": 19 }, "end": { - "line": 8, + "line": 9, "column": 20 } }, "range": [ - 83, - 84 + 240, + 241 ] }, { @@ -1231,17 +1231,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 8, + "line": 9, "column": 21 }, "end": { - "line": 8, + "line": 9, "column": 30 } }, "range": [ - 85, - 94 + 242, + 251 ] }, { @@ -1249,17 +1249,17 @@ export default { "value": "=", "loc": { "start": { - "line": 8, + "line": 9, "column": 31 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 95, - 96 + 252, + 253 ] }, { @@ -1267,17 +1267,17 @@ export default { "value": "await", "loc": { "start": { - "line": 8, + "line": 9, "column": 33 }, "end": { - "line": 8, + "line": 9, "column": 38 } }, "range": [ - 97, - 102 + 254, + 259 ] }, { @@ -1285,17 +1285,17 @@ export default { "value": ")", "loc": { "start": { - "line": 8, + "line": 9, "column": 38 }, "end": { - "line": 8, + "line": 9, "column": 39 } }, "range": [ - 102, - 103 + 259, + 260 ] }, { @@ -1303,17 +1303,17 @@ export default { "value": "{", "loc": { "start": { - "line": 8, + "line": 9, "column": 40 }, "end": { - "line": 8, + "line": 9, "column": 41 } }, "range": [ - 104, - 105 + 261, + 262 ] }, { @@ -1321,17 +1321,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 14 } }, "range": [ - 112, - 120 + 269, + 277 ] }, { @@ -1339,17 +1339,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 15 }, "end": { - "line": 9, + "line": 10, "column": 16 } }, "range": [ - 121, - 122 + 278, + 279 ] }, { @@ -1357,17 +1357,17 @@ export default { "value": "await", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 123, - 128 + 280, + 285 ] }, { @@ -1375,17 +1375,17 @@ export default { "value": ";", "loc": { "start": { - "line": 9, + "line": 10, "column": 22 }, "end": { - "line": 9, + "line": 10, "column": 23 } }, "range": [ - 128, - 129 + 285, + 286 ] }, { @@ -1393,17 +1393,17 @@ export default { "value": "}", "loc": { "start": { - "line": 10, + "line": 11, "column": 4 }, "end": { - "line": 10, + "line": 11, "column": 5 } }, "range": [ - 134, - 135 + 291, + 292 ] }, { @@ -1411,17 +1411,17 @@ export default { "value": ")", "loc": { "start": { - "line": 10, + "line": 11, "column": 5 }, "end": { - "line": 10, + "line": 11, "column": 6 } }, "range": [ - 135, - 136 + 292, + 293 ] }, { @@ -1429,17 +1429,17 @@ export default { "value": "(", "loc": { "start": { - "line": 10, + "line": 11, "column": 6 }, "end": { - "line": 10, + "line": 11, "column": 7 } }, "range": [ - 136, - 137 + 293, + 294 ] }, { @@ -1447,17 +1447,17 @@ export default { "value": ")", "loc": { "start": { - "line": 10, + "line": 11, "column": 7 }, "end": { - "line": 10, + "line": 11, "column": 8 } }, "range": [ - 137, - 138 + 294, + 295 ] }, { @@ -1465,17 +1465,17 @@ export default { "value": ".", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 9 } }, "range": [ - 138, - 139 + 295, + 296 ] }, { @@ -1483,17 +1483,17 @@ export default { "value": "next", "loc": { "start": { - "line": 10, + "line": 11, "column": 9 }, "end": { - "line": 10, + "line": 11, "column": 13 } }, "range": [ - 139, - 143 + 296, + 300 ] }, { @@ -1501,17 +1501,17 @@ export default { "value": "(", "loc": { "start": { - "line": 10, + "line": 11, "column": 13 }, "end": { - "line": 10, + "line": 11, "column": 14 } }, "range": [ - 143, - 144 + 300, + 301 ] }, { @@ -1519,17 +1519,17 @@ export default { "value": ")", "loc": { "start": { - "line": 10, + "line": 11, "column": 14 }, "end": { - "line": 10, + "line": 11, "column": 15 } }, "range": [ - 144, - 145 + 301, + 302 ] }, { @@ -1537,17 +1537,17 @@ export default { "value": ";", "loc": { "start": { - "line": 10, + "line": 11, "column": 15 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 145, - 146 + 302, + 303 ] }, { @@ -1555,17 +1555,17 @@ export default { "value": "}", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 11, + "line": 12, "column": 3 } }, "range": [ - 149, - 150 + 306, + 307 ] }, { @@ -1573,17 +1573,17 @@ export default { "value": "}", "loc": { "start": { - "line": 12, + "line": 13, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 1 } }, "range": [ - 151, - 152 + 308, + 309 ] }, { @@ -1591,17 +1591,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 6 } }, "range": [ - 154, - 160 + 311, + 317 ] }, { @@ -1609,17 +1609,17 @@ export default { "value": ".", "loc": { "start": { - "line": 14, + "line": 15, "column": 6 }, "end": { - "line": 14, + "line": 15, "column": 7 } }, "range": [ - 160, - 161 + 317, + 318 ] }, { @@ -1627,17 +1627,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 14, + "line": 15, "column": 7 }, "end": { - "line": 14, + "line": 15, "column": 16 } }, "range": [ - 161, - 170 + 318, + 327 ] }, { @@ -1645,17 +1645,17 @@ export default { "value": "(", "loc": { "start": { - "line": 14, + "line": 15, "column": 16 }, "end": { - "line": 14, + "line": 15, "column": 17 } }, "range": [ - 170, - 171 + 327, + 328 ] }, { @@ -1663,17 +1663,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 14, + "line": 15, "column": 17 }, "end": { - "line": 14, + "line": 15, "column": 26 } }, "range": [ - 171, - 180 + 328, + 337 ] }, { @@ -1681,17 +1681,17 @@ export default { "value": ",", "loc": { "start": { - "line": 14, + "line": 15, "column": 26 }, "end": { - "line": 14, + "line": 15, "column": 27 } }, "range": [ - 180, - 181 + 337, + 338 ] }, { @@ -1699,17 +1699,17 @@ export default { "value": "0", "loc": { "start": { - "line": 14, + "line": 15, "column": 28 }, "end": { - "line": 14, + "line": 15, "column": 29 } }, "range": [ - 182, - 183 + 339, + 340 ] }, { @@ -1717,17 +1717,17 @@ export default { "value": ",", "loc": { "start": { - "line": 14, + "line": 15, "column": 29 }, "end": { - "line": 14, + "line": 15, "column": 30 } }, "range": [ - 183, - 184 + 340, + 341 ] }, { @@ -1735,17 +1735,17 @@ export default { "value": "'from parameter'", "loc": { "start": { - "line": 14, + "line": 15, "column": 31 }, "end": { - "line": 14, + "line": 15, "column": 47 } }, "range": [ - 185, - 201 + 342, + 358 ] }, { @@ -1753,17 +1753,17 @@ export default { "value": ")", "loc": { "start": { - "line": 14, + "line": 15, "column": 47 }, "end": { - "line": 14, + "line": 15, "column": 48 } }, "range": [ - 201, - 202 + 358, + 359 ] }, { @@ -1771,17 +1771,17 @@ export default { "value": ";", "loc": { "start": { - "line": 14, + "line": 15, "column": 48 }, "end": { - "line": 14, + "line": 15, "column": 49 } }, "range": [ - 202, - 203 + 359, + 360 ] }, { @@ -1789,17 +1789,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 6 } }, "range": [ - 204, - 210 + 361, + 367 ] }, { @@ -1807,17 +1807,17 @@ export default { "value": ".", "loc": { "start": { - "line": 15, + "line": 16, "column": 6 }, "end": { - "line": 15, + "line": 16, "column": 7 } }, "range": [ - 210, - 211 + 367, + 368 ] }, { @@ -1825,17 +1825,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 211, - 220 + 368, + 377 ] }, { @@ -1843,17 +1843,17 @@ export default { "value": "(", "loc": { "start": { - "line": 15, + "line": 16, "column": 16 }, "end": { - "line": 15, + "line": 16, "column": 17 } }, "range": [ - 220, - 221 + 377, + 378 ] }, { @@ -1861,17 +1861,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 15, + "line": 16, "column": 17 }, "end": { - "line": 15, + "line": 16, "column": 25 } }, "range": [ - 221, - 229 + 378, + 386 ] }, { @@ -1879,17 +1879,17 @@ export default { "value": ",", "loc": { "start": { - "line": 15, + "line": 16, "column": 25 }, "end": { - "line": 15, + "line": 16, "column": 26 } }, "range": [ - 229, - 230 + 386, + 387 ] }, { @@ -1897,17 +1897,17 @@ export default { "value": "0", "loc": { "start": { - "line": 15, + "line": 16, "column": 27 }, "end": { - "line": 15, + "line": 16, "column": 28 } }, "range": [ - 231, - 232 + 388, + 389 ] }, { @@ -1915,17 +1915,17 @@ export default { "value": ",", "loc": { "start": { - "line": 15, + "line": 16, "column": 28 }, "end": { - "line": 15, + "line": 16, "column": 29 } }, "range": [ - 232, - 233 + 389, + 390 ] }, { @@ -1933,17 +1933,17 @@ export default { "value": "'from body'", "loc": { "start": { - "line": 15, + "line": 16, "column": 30 }, "end": { - "line": 15, + "line": 16, "column": 41 } }, "range": [ - 234, - 245 + 391, + 402 ] }, { @@ -1951,17 +1951,17 @@ export default { "value": ")", "loc": { "start": { - "line": 15, + "line": 16, "column": 41 }, "end": { - "line": 15, + "line": 16, "column": 42 } }, "range": [ - 245, - 246 + 402, + 403 ] }, { @@ -1969,17 +1969,17 @@ export default { "value": ";", "loc": { "start": { - "line": 15, + "line": 16, "column": 42 }, "end": { - "line": 15, + "line": 16, "column": 43 } }, "range": [ - 246, - 247 + 403, + 404 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.src.js index feeb47ed..8ea46bbc 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-generators-static-init-await-reference.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/generators/static-init-await-reference.js var await = 0; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-ident-name-prop-name-literal-await-static-init.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-ident-name-prop-name-literal-await-static-init.result.js index 3078bc2d..addfdb4e 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-ident-name-prop-name-literal-await-static-init.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-ident-name-prop-name-literal-await-static-init.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 48 + 174, + 220 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 48 + 174, + 220 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 180, + 181 ], "name": "C" }, @@ -54,84 +54,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 48 + 182, + 220 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 46 + 186, + 218 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 27, - 42 + 199, + 214 ], "expression": { "type": "ObjectExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 17 } }, "range": [ - 28, - 40 + 200, + 212 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 5, + "line": 6, "column": 7 }, "end": { - "line": 5, + "line": 6, "column": 15 } }, "range": [ - 30, - 38 + 202, + 210 ], "method": false, "shorthand": false, @@ -140,17 +140,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 7 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 30, - 35 + 202, + 207 ], "name": "await" }, @@ -158,17 +158,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 15 } }, "range": [ - 37, - 38 + 209, + 210 ], "value": 0, "raw": "0" @@ -191,17 +191,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 174, + 179 ] }, { @@ -209,17 +209,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 180, + 181 ] }, { @@ -227,17 +227,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 182, + 183 ] }, { @@ -245,17 +245,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 186, + 192 ] }, { @@ -263,17 +263,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 193, + 194 ] }, { @@ -281,17 +281,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 199, + 200 ] }, { @@ -299,17 +299,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 200, + 201 ] }, { @@ -317,17 +317,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 7 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 30, - 35 + 202, + 207 ] }, { @@ -335,17 +335,17 @@ export default { "value": ":", "loc": { "start": { - "line": 5, + "line": 6, "column": 12 }, "end": { - "line": 5, + "line": 6, "column": 13 } }, "range": [ - 35, - 36 + 207, + 208 ] }, { @@ -353,17 +353,17 @@ export default { "value": "0", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 15 } }, "range": [ - 37, - 38 + 209, + 210 ] }, { @@ -371,17 +371,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 16 }, "end": { - "line": 5, + "line": 6, "column": 17 } }, "range": [ - 39, - 40 + 211, + 212 ] }, { @@ -389,17 +389,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 40, - 41 + 212, + 213 ] }, { @@ -407,17 +407,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 41, - 42 + 213, + 214 ] }, { @@ -425,17 +425,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 45, - 46 + 217, + 218 ] }, { @@ -443,17 +443,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 47, - 48 + 219, + 220 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-ident-name-prop-name-literal-await-static-init.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-ident-name-prop-name-literal-await-static-init.src.js index 95ed4567..ddd7c215 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-ident-name-prop-name-literal-await-static-init.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-ident-name-prop-name-literal-await-static-init.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/object/ident-name-prop-name-literal-await-static-init.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.module-result.js new file mode 100644 index 00000000..62998767 --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 183, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.result.js index 35eeab83..bc6fafbd 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.result.js @@ -1,6 +1,6 @@ export default { - "index": 28, - "lineNumber": 3, + "index": 200, + "lineNumber": 4, "column": 8, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.src.js index b2031731..3e3520b7 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-invalid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/object/identifier-shorthand-static-init-await-invalid.js class C { static { ({ await }); diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.module-result.js index a84c821a..fe0e42d6 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 37, - "lineNumber": 5, + "index": 207, + "lineNumber": 6, "column": 15, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.result.js index 9a3e52b9..1d3f5fd4 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 53 + 172, + 223 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 53 + 172, + 223 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 178, + 179 ], "name": "C" }, @@ -54,67 +54,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 53 + 180, + 223 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 51 + 184, + 221 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 27, - 47 + 197, + 217 ], "expression": { "type": "ArrowFunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 28, - 45 + 198, + 215 ], "id": null, "expression": true, @@ -125,34 +125,34 @@ export default { "type": "ObjectExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 12 }, "end": { - "line": 5, + "line": 6, "column": 21 } }, "range": [ - 35, - 44 + 205, + 214 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 37, - 42 + 207, + 212 ], "method": false, "shorthand": true, @@ -161,17 +161,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 37, - 42 + 207, + 212 ], "name": "await" }, @@ -180,17 +180,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 37, - 42 + 207, + 212 ], "name": "await" } @@ -212,17 +212,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 172, + 177 ] }, { @@ -230,17 +230,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 178, + 179 ] }, { @@ -248,17 +248,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 180, + 181 ] }, { @@ -266,17 +266,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 184, + 190 ] }, { @@ -284,17 +284,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 191, + 192 ] }, { @@ -302,17 +302,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 197, + 198 ] }, { @@ -320,17 +320,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 198, + 199 ] }, { @@ -338,17 +338,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 199, + 200 ] }, { @@ -356,17 +356,17 @@ export default { "value": "=>", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 31, - 33 + 201, + 203 ] }, { @@ -374,17 +374,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 34, - 35 + 204, + 205 ] }, { @@ -392,17 +392,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 12 }, "end": { - "line": 5, + "line": 6, "column": 13 } }, "range": [ - 35, - 36 + 205, + 206 ] }, { @@ -410,17 +410,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 37, - 42 + 207, + 212 ] }, { @@ -428,17 +428,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 20 }, "end": { - "line": 5, + "line": 6, "column": 21 } }, "range": [ - 43, - 44 + 213, + 214 ] }, { @@ -446,17 +446,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 21 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 44, - 45 + 214, + 215 ] }, { @@ -464,17 +464,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 22 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 45, - 46 + 215, + 216 ] }, { @@ -482,17 +482,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 23 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 46, - 47 + 216, + 217 ] }, { @@ -500,17 +500,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 50, - 51 + 220, + 221 ] }, { @@ -518,17 +518,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 52, - 53 + 222, + 223 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.src.js index 0c1c2bc7..6216844f 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-identifier-shorthand-static-init-await-valid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/object/identifier-shorthand-static-init-await-valid.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.module-result.js index e0cdd494..39178df6 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 42, - "lineNumber": 5, + "index": 220, + "lineNumber": 6, "column": 20, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.result.js index 6b32b381..18c4176e 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 60 + 180, + 238 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 60 + 180, + 238 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 186, + 187 ], "name": "C" }, @@ -54,84 +54,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 60 + 188, + 238 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 58 + 192, + 236 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 27, - 54 + 205, + 232 ], "expression": { "type": "ObjectExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 28, - 52 + 206, + 230 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 29, - 51 + 207, + 229 ], "method": false, "shorthand": false, @@ -140,17 +140,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 10 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 33, - 41 + 211, + 219 ], "name": "accessor" }, @@ -159,17 +159,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 41, - 51 + 219, + 229 ], "id": null, "expression": false, @@ -180,17 +180,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 19 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 42, - 47 + 220, + 225 ], "name": "await" } @@ -199,17 +199,17 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 26 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 49, - 51 + 227, + 229 ], "body": [] } @@ -231,17 +231,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 180, + 185 ] }, { @@ -249,17 +249,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 186, + 187 ] }, { @@ -267,17 +267,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 188, + 189 ] }, { @@ -285,17 +285,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 192, + 198 ] }, { @@ -303,17 +303,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 199, + 200 ] }, { @@ -321,17 +321,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 205, + 206 ] }, { @@ -339,17 +339,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 206, + 207 ] }, { @@ -357,17 +357,17 @@ export default { "value": "set", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 9 } }, "range": [ - 29, - 32 + 207, + 210 ] }, { @@ -375,17 +375,17 @@ export default { "value": "accessor", "loc": { "start": { - "line": 5, + "line": 6, "column": 10 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 33, - 41 + 211, + 219 ] }, { @@ -393,17 +393,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 41, - 42 + 219, + 220 ] }, { @@ -411,17 +411,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 19 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 42, - 47 + 220, + 225 ] }, { @@ -429,17 +429,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 24 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 47, - 48 + 225, + 226 ] }, { @@ -447,17 +447,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 26 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 49, - 50 + 227, + 228 ] }, { @@ -465,17 +465,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 50, - 51 + 228, + 229 ] }, { @@ -483,17 +483,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 28 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 51, - 52 + 229, + 230 ] }, { @@ -501,17 +501,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 29 }, "end": { - "line": 5, + "line": 6, "column": 30 } }, "range": [ - 52, - 53 + 230, + 231 ] }, { @@ -519,17 +519,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 30 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 53, - 54 + 231, + 232 ] }, { @@ -537,17 +537,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 57, - 58 + 235, + 236 ] }, { @@ -555,17 +555,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 59, - 60 + 237, + 238 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.src.js index 73918442..e9114dc7 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-accessor.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/object/method-definition/static-init-await-binding-accessor.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.module-result.js index a84c821a..45f73b74 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 37, - "lineNumber": 5, + "index": 216, + "lineNumber": 6, "column": 15, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.result.js index e77b2f25..6e7d8c98 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 55 + 181, + 234 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 55 + 181, + 234 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 187, + 188 ], "name": "C" }, @@ -54,84 +54,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 55 + 189, + 234 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 53 + 193, + 232 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 27, - 49 + 206, + 228 ], "expression": { "type": "ObjectExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 28, - 47 + 207, + 226 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 29, - 46 + 208, + 225 ], "method": true, "shorthand": false, @@ -140,17 +140,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 7 }, "end": { - "line": 5, + "line": 6, "column": 13 } }, "range": [ - 30, - 36 + 209, + 215 ], "name": "method" }, @@ -159,17 +159,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 36, - 46 + 215, + 225 ], "id": null, "expression": false, @@ -180,17 +180,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 37, - 42 + 216, + 221 ], "name": "await" } @@ -199,17 +199,17 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 21 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 44, - 46 + 223, + 225 ], "body": [] } @@ -231,17 +231,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 181, + 186 ] }, { @@ -249,17 +249,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 187, + 188 ] }, { @@ -267,17 +267,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 189, + 190 ] }, { @@ -285,17 +285,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 193, + 199 ] }, { @@ -303,17 +303,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 200, + 201 ] }, { @@ -321,17 +321,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 206, + 207 ] }, { @@ -339,17 +339,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 207, + 208 ] }, { @@ -357,17 +357,17 @@ export default { "value": "*", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 208, + 209 ] }, { @@ -375,17 +375,17 @@ export default { "value": "method", "loc": { "start": { - "line": 5, + "line": 6, "column": 7 }, "end": { - "line": 5, + "line": 6, "column": 13 } }, "range": [ - 30, - 36 + 209, + 215 ] }, { @@ -393,17 +393,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 14 } }, "range": [ - 36, - 37 + 215, + 216 ] }, { @@ -411,17 +411,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 37, - 42 + 216, + 221 ] }, { @@ -429,17 +429,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 19 }, "end": { - "line": 5, + "line": 6, "column": 20 } }, "range": [ - 42, - 43 + 221, + 222 ] }, { @@ -447,17 +447,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 21 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 44, - 45 + 223, + 224 ] }, { @@ -465,17 +465,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 22 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 45, - 46 + 224, + 225 ] }, { @@ -483,17 +483,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 23 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 46, - 47 + 225, + 226 ] }, { @@ -501,17 +501,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 24 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 47, - 48 + 226, + 227 ] }, { @@ -519,17 +519,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 48, - 49 + 227, + 228 ] }, { @@ -537,17 +537,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 52, - 53 + 231, + 232 ] }, { @@ -555,17 +555,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 54, - 55 + 233, + 234 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.src.js index 902fa1fd..175616ce 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-generator.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/object/method-definition/static-init-await-binding-generator.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.module-result.js index f8054bf1..ece804da 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 36, - "lineNumber": 5, + "index": 212, + "lineNumber": 6, "column": 14, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.result.js index ad1c840e..89d00a09 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 54 + 178, + 230 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 54 + 178, + 230 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 184, + 185 ], "name": "C" }, @@ -54,84 +54,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 54 + 186, + 230 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 52 + 190, + 228 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 27, - 48 + 203, + 224 ], "expression": { "type": "ObjectExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 28, - 46 + 204, + 222 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 29, - 45 + 205, + 221 ], "method": true, "shorthand": false, @@ -140,17 +140,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 29, - 35 + 205, + 211 ], "name": "method" }, @@ -159,17 +159,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 12 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 35, - 45 + 211, + 221 ], "id": null, "expression": false, @@ -180,17 +180,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 36, - 41 + 212, + 217 ], "name": "await" } @@ -199,17 +199,17 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 20 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 43, - 45 + 219, + 221 ], "body": [] } @@ -231,17 +231,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 178, + 183 ] }, { @@ -249,17 +249,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 184, + 185 ] }, { @@ -267,17 +267,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 186, + 187 ] }, { @@ -285,17 +285,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 190, + 196 ] }, { @@ -303,17 +303,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 197, + 198 ] }, { @@ -321,17 +321,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 203, + 204 ] }, { @@ -339,17 +339,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 204, + 205 ] }, { @@ -357,17 +357,17 @@ export default { "value": "method", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 29, - 35 + 205, + 211 ] }, { @@ -375,17 +375,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 12 }, "end": { - "line": 5, + "line": 6, "column": 13 } }, "range": [ - 35, - 36 + 211, + 212 ] }, { @@ -393,17 +393,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 36, - 41 + 212, + 217 ] }, { @@ -411,17 +411,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 41, - 42 + 217, + 218 ] }, { @@ -429,17 +429,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 20 }, "end": { - "line": 5, + "line": 6, "column": 21 } }, "range": [ - 43, - 44 + 219, + 220 ] }, { @@ -447,17 +447,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 21 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 44, - 45 + 220, + 221 ] }, { @@ -465,17 +465,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 22 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 45, - 46 + 221, + 222 ] }, { @@ -483,17 +483,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 23 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 46, - 47 + 222, + 223 ] }, { @@ -501,17 +501,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 24 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 47, - 48 + 223, + 224 ] }, { @@ -519,17 +519,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 51, - 52 + 227, + 228 ] }, { @@ -537,17 +537,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 53, - 54 + 229, + 230 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.src.js index c2adae1d..dc1cad24 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-binding-normal.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/object/method-definition/static-init-await-binding-normal.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.module-result.js index 551e78ba..f832e5fa 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 6, - "lineNumber": 3, + "index": 186, + "lineNumber": 4, "column": 5, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.result.js index 3815c542..6a468b80 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 2, - 278 + 182, + 458 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 2, - 16 + 182, + 196 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 6, - 15 + 186, + 195 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 186, + 191 ], "name": "await" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 194, + 195 ], "value": 0, "raw": "0" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 17, - 41 + 197, + 221 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 201, + 210 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 201, + 210 ], "name": "fromParam" }, @@ -146,33 +146,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 212, + 220 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 212, + 220 ], "name": "fromBody" }, @@ -185,33 +185,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 43, - 183 + 223, + 363 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 229, + 230 ], "name": "C" }, @@ -220,117 +220,117 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 51, - 183 + 231, + 363 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 55, - 181 + 235, + 361 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 28 } }, "range": [ - 68, - 177 + 248, + 357 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 27 } }, "range": [ - 68, - 176 + 248, + 356 ], "operator": "=", "left": { "type": "MemberExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 68, - 164 + 248, + 344 ], "object": { "type": "ObjectExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 12, + "line": 13, "column": 5 } }, "range": [ - 69, - 154 + 249, + 334 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 77, - 148 + 257, + 328 ], "method": false, "shorthand": false, @@ -339,17 +339,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 10 }, "end": { - "line": 9, + "line": 10, "column": 18 } }, "range": [ - 81, - 89 + 261, + 269 ], "name": "accessor" }, @@ -358,17 +358,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 89, - 148 + 269, + 328 ], "id": null, "expression": false, @@ -379,33 +379,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 9, + "line": 10, "column": 19 }, "end": { - "line": 9, + "line": 10, "column": 40 } }, "range": [ - 90, - 111 + 270, + 291 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 19 }, "end": { - "line": 9, + "line": 10, "column": 20 } }, "range": [ - 90, - 91 + 270, + 271 ], "name": "x" }, @@ -413,34 +413,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 23 }, "end": { - "line": 9, + "line": 10, "column": 40 } }, "range": [ - 94, - 111 + 274, + 291 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 23 }, "end": { - "line": 9, + "line": 10, "column": 32 } }, "range": [ - 94, - 103 + 274, + 283 ], "name": "fromParam" }, @@ -448,17 +448,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 35 }, "end": { - "line": 9, + "line": 10, "column": 40 } }, "range": [ - 106, - 111 + 286, + 291 ], "name": "await" } @@ -469,67 +469,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 42 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 113, - 148 + 293, + 328 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 25 } }, "range": [ - 123, - 140 + 303, + 320 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 123, - 139 + 303, + 319 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 123, - 131 + 303, + 311 ], "name": "fromBody" }, @@ -537,17 +537,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 19 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 134, - 139 + 314, + 319 ], "name": "await" } @@ -563,17 +563,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 7 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 156, - 164 + 336, + 344 ], "name": "accessor" }, @@ -584,17 +584,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 18 }, "end": { - "line": 12, + "line": 13, "column": 27 } }, "range": [ - 167, - 176 + 347, + 356 ], "name": "undefined" } @@ -609,65 +609,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 49 } }, "range": [ - 185, - 234 + 365, + 414 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 48 } }, "range": [ - 185, - 233 + 365, + 413 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 185, - 201 + 365, + 381 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 185, - 191 + 365, + 371 ], "name": "assert" }, @@ -675,17 +675,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 192, - 201 + 372, + 381 ], "name": "sameValue" }, @@ -697,17 +697,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 26 } }, "range": [ - 202, - 211 + 382, + 391 ], "name": "fromParam" }, @@ -715,17 +715,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 28 }, "end": { - "line": 16, + "line": 17, "column": 29 } }, "range": [ - 213, - 214 + 393, + 394 ], "value": 0, "raw": "0" @@ -734,17 +734,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 31 }, "end": { - "line": 16, + "line": 17, "column": 47 } }, "range": [ - 216, - 232 + 396, + 412 ], "value": "from parameter", "raw": "'from parameter'" @@ -757,65 +757,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 235, - 278 + 415, + 458 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 42 } }, "range": [ - 235, - 277 + 415, + 457 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 235, - 251 + 415, + 431 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 235, - 241 + 415, + 421 ], "name": "assert" }, @@ -823,17 +823,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 242, - 251 + 422, + 431 ], "name": "sameValue" }, @@ -845,17 +845,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 252, - 260 + 432, + 440 ], "name": "fromBody" }, @@ -863,17 +863,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 27 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 262, - 263 + 442, + 443 ], "value": 0, "raw": "0" @@ -882,17 +882,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 265, - 276 + 445, + 456 ], "value": "from body", "raw": "'from body'" @@ -909,17 +909,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 182, + 185 ] }, { @@ -927,17 +927,17 @@ export default { "value": "await", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 186, + 191 ] }, { @@ -945,17 +945,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 10 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 12, - 13 + 192, + 193 ] }, { @@ -963,17 +963,17 @@ export default { "value": "0", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 194, + 195 ] }, { @@ -981,17 +981,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 13 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 15, - 16 + 195, + 196 ] }, { @@ -999,17 +999,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 17, - 20 + 197, + 200 ] }, { @@ -1017,17 +1017,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 201, + 210 ] }, { @@ -1035,17 +1035,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 13 }, "end": { - "line": 4, + "line": 5, "column": 14 } }, "range": [ - 30, - 31 + 210, + 211 ] }, { @@ -1053,17 +1053,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 212, + 220 ] }, { @@ -1071,17 +1071,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 23 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 40, - 41 + 220, + 221 ] }, { @@ -1089,17 +1089,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 43, - 48 + 223, + 228 ] }, { @@ -1107,17 +1107,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 229, + 230 ] }, { @@ -1125,17 +1125,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 51, - 52 + 231, + 232 ] }, { @@ -1143,17 +1143,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 55, - 61 + 235, + 241 ] }, { @@ -1161,17 +1161,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 62, - 63 + 242, + 243 ] }, { @@ -1179,17 +1179,17 @@ export default { "value": "(", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 5 } }, "range": [ - 68, - 69 + 248, + 249 ] }, { @@ -1197,17 +1197,17 @@ export default { "value": "{", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 8, + "line": 9, "column": 6 } }, "range": [ - 69, - 70 + 249, + 250 ] }, { @@ -1215,17 +1215,17 @@ export default { "value": "set", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 9 } }, "range": [ - 77, - 80 + 257, + 260 ] }, { @@ -1233,17 +1233,17 @@ export default { "value": "accessor", "loc": { "start": { - "line": 9, + "line": 10, "column": 10 }, "end": { - "line": 9, + "line": 10, "column": 18 } }, "range": [ - 81, - 89 + 261, + 269 ] }, { @@ -1251,17 +1251,17 @@ export default { "value": "(", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 9, + "line": 10, "column": 19 } }, "range": [ - 89, - 90 + 269, + 270 ] }, { @@ -1269,17 +1269,17 @@ export default { "value": "x", "loc": { "start": { - "line": 9, + "line": 10, "column": 19 }, "end": { - "line": 9, + "line": 10, "column": 20 } }, "range": [ - 90, - 91 + 270, + 271 ] }, { @@ -1287,17 +1287,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 21 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 92, - 93 + 272, + 273 ] }, { @@ -1305,17 +1305,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 9, + "line": 10, "column": 23 }, "end": { - "line": 9, + "line": 10, "column": 32 } }, "range": [ - 94, - 103 + 274, + 283 ] }, { @@ -1323,17 +1323,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 33 }, "end": { - "line": 9, + "line": 10, "column": 34 } }, "range": [ - 104, - 105 + 284, + 285 ] }, { @@ -1341,17 +1341,17 @@ export default { "value": "await", "loc": { "start": { - "line": 9, + "line": 10, "column": 35 }, "end": { - "line": 9, + "line": 10, "column": 40 } }, "range": [ - 106, - 111 + 286, + 291 ] }, { @@ -1359,17 +1359,17 @@ export default { "value": ")", "loc": { "start": { - "line": 9, + "line": 10, "column": 40 }, "end": { - "line": 9, + "line": 10, "column": 41 } }, "range": [ - 111, - 112 + 291, + 292 ] }, { @@ -1377,17 +1377,17 @@ export default { "value": "{", "loc": { "start": { - "line": 9, + "line": 10, "column": 42 }, "end": { - "line": 9, + "line": 10, "column": 43 } }, "range": [ - 113, - 114 + 293, + 294 ] }, { @@ -1395,17 +1395,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 123, - 131 + 303, + 311 ] }, { @@ -1413,17 +1413,17 @@ export default { "value": "=", "loc": { "start": { - "line": 10, + "line": 11, "column": 17 }, "end": { - "line": 10, + "line": 11, "column": 18 } }, "range": [ - 132, - 133 + 312, + 313 ] }, { @@ -1431,17 +1431,17 @@ export default { "value": "await", "loc": { "start": { - "line": 10, + "line": 11, "column": 19 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 134, - 139 + 314, + 319 ] }, { @@ -1449,17 +1449,17 @@ export default { "value": ";", "loc": { "start": { - "line": 10, + "line": 11, "column": 24 }, "end": { - "line": 10, + "line": 11, "column": 25 } }, "range": [ - 139, - 140 + 319, + 320 ] }, { @@ -1467,17 +1467,17 @@ export default { "value": "}", "loc": { "start": { - "line": 11, + "line": 12, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 147, - 148 + 327, + 328 ] }, { @@ -1485,17 +1485,17 @@ export default { "value": "}", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 5 } }, "range": [ - 153, - 154 + 333, + 334 ] }, { @@ -1503,17 +1503,17 @@ export default { "value": ")", "loc": { "start": { - "line": 12, + "line": 13, "column": 5 }, "end": { - "line": 12, + "line": 13, "column": 6 } }, "range": [ - 154, - 155 + 334, + 335 ] }, { @@ -1521,17 +1521,17 @@ export default { "value": ".", "loc": { "start": { - "line": 12, + "line": 13, "column": 6 }, "end": { - "line": 12, + "line": 13, "column": 7 } }, "range": [ - 155, - 156 + 335, + 336 ] }, { @@ -1539,17 +1539,17 @@ export default { "value": "accessor", "loc": { "start": { - "line": 12, + "line": 13, "column": 7 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 156, - 164 + 336, + 344 ] }, { @@ -1557,17 +1557,17 @@ export default { "value": "=", "loc": { "start": { - "line": 12, + "line": 13, "column": 16 }, "end": { - "line": 12, + "line": 13, "column": 17 } }, "range": [ - 165, - 166 + 345, + 346 ] }, { @@ -1575,17 +1575,17 @@ export default { "value": "undefined", "loc": { "start": { - "line": 12, + "line": 13, "column": 18 }, "end": { - "line": 12, + "line": 13, "column": 27 } }, "range": [ - 167, - 176 + 347, + 356 ] }, { @@ -1593,17 +1593,17 @@ export default { "value": ";", "loc": { "start": { - "line": 12, + "line": 13, "column": 27 }, "end": { - "line": 12, + "line": 13, "column": 28 } }, "range": [ - 176, - 177 + 356, + 357 ] }, { @@ -1611,17 +1611,17 @@ export default { "value": "}", "loc": { "start": { - "line": 13, + "line": 14, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 180, - 181 + 360, + 361 ] }, { @@ -1629,17 +1629,17 @@ export default { "value": "}", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 182, - 183 + 362, + 363 ] }, { @@ -1647,17 +1647,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 185, - 191 + 365, + 371 ] }, { @@ -1665,17 +1665,17 @@ export default { "value": ".", "loc": { "start": { - "line": 16, + "line": 17, "column": 6 }, "end": { - "line": 16, + "line": 17, "column": 7 } }, "range": [ - 191, - 192 + 371, + 372 ] }, { @@ -1683,17 +1683,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 192, - 201 + 372, + 381 ] }, { @@ -1701,17 +1701,17 @@ export default { "value": "(", "loc": { "start": { - "line": 16, + "line": 17, "column": 16 }, "end": { - "line": 16, + "line": 17, "column": 17 } }, "range": [ - 201, - 202 + 381, + 382 ] }, { @@ -1719,17 +1719,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 26 } }, "range": [ - 202, - 211 + 382, + 391 ] }, { @@ -1737,17 +1737,17 @@ export default { "value": ",", "loc": { "start": { - "line": 16, + "line": 17, "column": 26 }, "end": { - "line": 16, + "line": 17, "column": 27 } }, "range": [ - 211, - 212 + 391, + 392 ] }, { @@ -1755,17 +1755,17 @@ export default { "value": "0", "loc": { "start": { - "line": 16, + "line": 17, "column": 28 }, "end": { - "line": 16, + "line": 17, "column": 29 } }, "range": [ - 213, - 214 + 393, + 394 ] }, { @@ -1773,17 +1773,17 @@ export default { "value": ",", "loc": { "start": { - "line": 16, + "line": 17, "column": 29 }, "end": { - "line": 16, + "line": 17, "column": 30 } }, "range": [ - 214, - 215 + 394, + 395 ] }, { @@ -1791,17 +1791,17 @@ export default { "value": "'from parameter'", "loc": { "start": { - "line": 16, + "line": 17, "column": 31 }, "end": { - "line": 16, + "line": 17, "column": 47 } }, "range": [ - 216, - 232 + 396, + 412 ] }, { @@ -1809,17 +1809,17 @@ export default { "value": ")", "loc": { "start": { - "line": 16, + "line": 17, "column": 47 }, "end": { - "line": 16, + "line": 17, "column": 48 } }, "range": [ - 232, - 233 + 412, + 413 ] }, { @@ -1827,17 +1827,17 @@ export default { "value": ";", "loc": { "start": { - "line": 16, + "line": 17, "column": 48 }, "end": { - "line": 16, + "line": 17, "column": 49 } }, "range": [ - 233, - 234 + 413, + 414 ] }, { @@ -1845,17 +1845,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 235, - 241 + 415, + 421 ] }, { @@ -1863,17 +1863,17 @@ export default { "value": ".", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 7 } }, "range": [ - 241, - 242 + 421, + 422 ] }, { @@ -1881,17 +1881,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 242, - 251 + 422, + 431 ] }, { @@ -1899,17 +1899,17 @@ export default { "value": "(", "loc": { "start": { - "line": 17, + "line": 18, "column": 16 }, "end": { - "line": 17, + "line": 18, "column": 17 } }, "range": [ - 251, - 252 + 431, + 432 ] }, { @@ -1917,17 +1917,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 252, - 260 + 432, + 440 ] }, { @@ -1935,17 +1935,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 25 }, "end": { - "line": 17, + "line": 18, "column": 26 } }, "range": [ - 260, - 261 + 440, + 441 ] }, { @@ -1953,17 +1953,17 @@ export default { "value": "0", "loc": { "start": { - "line": 17, + "line": 18, "column": 27 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 262, - 263 + 442, + 443 ] }, { @@ -1971,17 +1971,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 28 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 263, - 264 + 443, + 444 ] }, { @@ -1989,17 +1989,17 @@ export default { "value": "'from body'", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 265, - 276 + 445, + 456 ] }, { @@ -2007,17 +2007,17 @@ export default { "value": ")", "loc": { "start": { - "line": 17, + "line": 18, "column": 41 }, "end": { - "line": 17, + "line": 18, "column": 42 } }, "range": [ - 276, - 277 + 456, + 457 ] }, { @@ -2025,17 +2025,17 @@ export default { "value": ";", "loc": { "start": { - "line": 17, + "line": 18, "column": 42 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 277, - 278 + 457, + 458 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.src.js index da224f63..80dbe4aa 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-accessor.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/object/method-definition/static-init-await-reference-accessor.js var await = 0; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.module-result.js index 551e78ba..20cc466c 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 6, - "lineNumber": 3, + "index": 187, + "lineNumber": 4, "column": 5, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.result.js index 29d5d69b..e6b6b165 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 2, - 268 + 183, + 449 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 2, - 16 + 183, + 197 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 6, - 15 + 187, + 196 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 187, + 192 ], "name": "await" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 195, + 196 ], "value": 0, "raw": "0" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 17, - 41 + 198, + 222 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 202, + 211 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 202, + 211 ], "name": "fromParam" }, @@ -146,33 +146,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 213, + 221 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 213, + 221 ], "name": "fromBody" }, @@ -185,33 +185,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 43, - 173 + 224, + 354 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 230, + 231 ], "name": "C" }, @@ -220,148 +220,148 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 51, - 173 + 232, + 354 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 55, - 171 + 236, + 352 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 23 } }, "range": [ - 68, - 167 + 249, + 348 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 22 } }, "range": [ - 68, - 166 + 249, + 347 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 20 } }, "range": [ - 68, - 164 + 249, + 345 ], "object": { "type": "CallExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 68, - 159 + 249, + 340 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 13 } }, "range": [ - 68, - 157 + 249, + 338 ], "object": { "type": "ObjectExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 12, + "line": 13, "column": 5 } }, "range": [ - 69, - 149 + 250, + 330 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 77, - 143 + 258, + 324 ], "method": true, "shorthand": false, @@ -370,17 +370,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 7 }, "end": { - "line": 9, + "line": 10, "column": 13 } }, "range": [ - 78, - 84 + 259, + 265 ], "name": "method" }, @@ -389,17 +389,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 84, - 143 + 265, + 324 ], "id": null, "expression": false, @@ -410,33 +410,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 9, + "line": 10, "column": 14 }, "end": { - "line": 9, + "line": 10, "column": 35 } }, "range": [ - 85, - 106 + 266, + 287 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 14 }, "end": { - "line": 9, + "line": 10, "column": 15 } }, "range": [ - 85, - 86 + 266, + 267 ], "name": "x" }, @@ -444,34 +444,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 9, + "line": 10, "column": 35 } }, "range": [ - 89, - 106 + 270, + 287 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 9, + "line": 10, "column": 27 } }, "range": [ - 89, - 98 + 270, + 279 ], "name": "fromParam" }, @@ -479,17 +479,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 30 }, "end": { - "line": 9, + "line": 10, "column": 35 } }, "range": [ - 101, - 106 + 282, + 287 ], "name": "await" } @@ -500,67 +500,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 37 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 108, - 143 + 289, + 324 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 25 } }, "range": [ - 118, - 135 + 299, + 316 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 118, - 134 + 299, + 315 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 118, - 126 + 299, + 307 ], "name": "fromBody" }, @@ -568,17 +568,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 19 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 129, - 134 + 310, + 315 ], "name": "await" } @@ -594,17 +594,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 7 }, "end": { - "line": 12, + "line": 13, "column": 13 } }, "range": [ - 151, - 157 + 332, + 338 ], "name": "method" }, @@ -618,17 +618,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 16 }, "end": { - "line": 12, + "line": 13, "column": 20 } }, "range": [ - 160, - 164 + 341, + 345 ], "name": "next" }, @@ -648,65 +648,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 49 } }, "range": [ - 175, - 224 + 356, + 405 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 48 } }, "range": [ - 175, - 223 + 356, + 404 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 175, - 191 + 356, + 372 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 175, - 181 + 356, + 362 ], "name": "assert" }, @@ -714,17 +714,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 182, - 191 + 363, + 372 ], "name": "sameValue" }, @@ -736,17 +736,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 26 } }, "range": [ - 192, - 201 + 373, + 382 ], "name": "fromParam" }, @@ -754,17 +754,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 28 }, "end": { - "line": 16, + "line": 17, "column": 29 } }, "range": [ - 203, - 204 + 384, + 385 ], "value": 0, "raw": "0" @@ -773,17 +773,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 31 }, "end": { - "line": 16, + "line": 17, "column": 47 } }, "range": [ - 206, - 222 + 387, + 403 ], "value": "from parameter", "raw": "'from parameter'" @@ -796,65 +796,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 225, - 268 + 406, + 449 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 42 } }, "range": [ - 225, - 267 + 406, + 448 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 225, - 241 + 406, + 422 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 225, - 231 + 406, + 412 ], "name": "assert" }, @@ -862,17 +862,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 232, - 241 + 413, + 422 ], "name": "sameValue" }, @@ -884,17 +884,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 242, - 250 + 423, + 431 ], "name": "fromBody" }, @@ -902,17 +902,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 27 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 252, - 253 + 433, + 434 ], "value": 0, "raw": "0" @@ -921,17 +921,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 255, - 266 + 436, + 447 ], "value": "from body", "raw": "'from body'" @@ -948,17 +948,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 183, + 186 ] }, { @@ -966,17 +966,17 @@ export default { "value": "await", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 187, + 192 ] }, { @@ -984,17 +984,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 10 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 12, - 13 + 193, + 194 ] }, { @@ -1002,17 +1002,17 @@ export default { "value": "0", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 195, + 196 ] }, { @@ -1020,17 +1020,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 13 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 15, - 16 + 196, + 197 ] }, { @@ -1038,17 +1038,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 17, - 20 + 198, + 201 ] }, { @@ -1056,17 +1056,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 202, + 211 ] }, { @@ -1074,17 +1074,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 13 }, "end": { - "line": 4, + "line": 5, "column": 14 } }, "range": [ - 30, - 31 + 211, + 212 ] }, { @@ -1092,17 +1092,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 213, + 221 ] }, { @@ -1110,17 +1110,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 23 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 40, - 41 + 221, + 222 ] }, { @@ -1128,17 +1128,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 43, - 48 + 224, + 229 ] }, { @@ -1146,17 +1146,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 230, + 231 ] }, { @@ -1164,17 +1164,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 51, - 52 + 232, + 233 ] }, { @@ -1182,17 +1182,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 55, - 61 + 236, + 242 ] }, { @@ -1200,17 +1200,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 62, - 63 + 243, + 244 ] }, { @@ -1218,17 +1218,17 @@ export default { "value": "(", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 5 } }, "range": [ - 68, - 69 + 249, + 250 ] }, { @@ -1236,17 +1236,17 @@ export default { "value": "{", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 8, + "line": 9, "column": 6 } }, "range": [ - 69, - 70 + 250, + 251 ] }, { @@ -1254,17 +1254,17 @@ export default { "value": "*", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 7 } }, "range": [ - 77, - 78 + 258, + 259 ] }, { @@ -1272,17 +1272,17 @@ export default { "value": "method", "loc": { "start": { - "line": 9, + "line": 10, "column": 7 }, "end": { - "line": 9, + "line": 10, "column": 13 } }, "range": [ - 78, - 84 + 259, + 265 ] }, { @@ -1290,17 +1290,17 @@ export default { "value": "(", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 14 } }, "range": [ - 84, - 85 + 265, + 266 ] }, { @@ -1308,17 +1308,17 @@ export default { "value": "x", "loc": { "start": { - "line": 9, + "line": 10, "column": 14 }, "end": { - "line": 9, + "line": 10, "column": 15 } }, "range": [ - 85, - 86 + 266, + 267 ] }, { @@ -1326,17 +1326,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 16 }, "end": { - "line": 9, + "line": 10, "column": 17 } }, "range": [ - 87, - 88 + 268, + 269 ] }, { @@ -1344,17 +1344,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 9, + "line": 10, "column": 27 } }, "range": [ - 89, - 98 + 270, + 279 ] }, { @@ -1362,17 +1362,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 28 }, "end": { - "line": 9, + "line": 10, "column": 29 } }, "range": [ - 99, - 100 + 280, + 281 ] }, { @@ -1380,17 +1380,17 @@ export default { "value": "await", "loc": { "start": { - "line": 9, + "line": 10, "column": 30 }, "end": { - "line": 9, + "line": 10, "column": 35 } }, "range": [ - 101, - 106 + 282, + 287 ] }, { @@ -1398,17 +1398,17 @@ export default { "value": ")", "loc": { "start": { - "line": 9, + "line": 10, "column": 35 }, "end": { - "line": 9, + "line": 10, "column": 36 } }, "range": [ - 106, - 107 + 287, + 288 ] }, { @@ -1416,17 +1416,17 @@ export default { "value": "{", "loc": { "start": { - "line": 9, + "line": 10, "column": 37 }, "end": { - "line": 9, + "line": 10, "column": 38 } }, "range": [ - 108, - 109 + 289, + 290 ] }, { @@ -1434,17 +1434,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 118, - 126 + 299, + 307 ] }, { @@ -1452,17 +1452,17 @@ export default { "value": "=", "loc": { "start": { - "line": 10, + "line": 11, "column": 17 }, "end": { - "line": 10, + "line": 11, "column": 18 } }, "range": [ - 127, - 128 + 308, + 309 ] }, { @@ -1470,17 +1470,17 @@ export default { "value": "await", "loc": { "start": { - "line": 10, + "line": 11, "column": 19 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 129, - 134 + 310, + 315 ] }, { @@ -1488,17 +1488,17 @@ export default { "value": ";", "loc": { "start": { - "line": 10, + "line": 11, "column": 24 }, "end": { - "line": 10, + "line": 11, "column": 25 } }, "range": [ - 134, - 135 + 315, + 316 ] }, { @@ -1506,17 +1506,17 @@ export default { "value": "}", "loc": { "start": { - "line": 11, + "line": 12, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 142, - 143 + 323, + 324 ] }, { @@ -1524,17 +1524,17 @@ export default { "value": "}", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 5 } }, "range": [ - 148, - 149 + 329, + 330 ] }, { @@ -1542,17 +1542,17 @@ export default { "value": ")", "loc": { "start": { - "line": 12, + "line": 13, "column": 5 }, "end": { - "line": 12, + "line": 13, "column": 6 } }, "range": [ - 149, - 150 + 330, + 331 ] }, { @@ -1560,17 +1560,17 @@ export default { "value": ".", "loc": { "start": { - "line": 12, + "line": 13, "column": 6 }, "end": { - "line": 12, + "line": 13, "column": 7 } }, "range": [ - 150, - 151 + 331, + 332 ] }, { @@ -1578,17 +1578,17 @@ export default { "value": "method", "loc": { "start": { - "line": 12, + "line": 13, "column": 7 }, "end": { - "line": 12, + "line": 13, "column": 13 } }, "range": [ - 151, - 157 + 332, + 338 ] }, { @@ -1596,17 +1596,17 @@ export default { "value": "(", "loc": { "start": { - "line": 12, + "line": 13, "column": 13 }, "end": { - "line": 12, + "line": 13, "column": 14 } }, "range": [ - 157, - 158 + 338, + 339 ] }, { @@ -1614,17 +1614,17 @@ export default { "value": ")", "loc": { "start": { - "line": 12, + "line": 13, "column": 14 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 158, - 159 + 339, + 340 ] }, { @@ -1632,17 +1632,17 @@ export default { "value": ".", "loc": { "start": { - "line": 12, + "line": 13, "column": 15 }, "end": { - "line": 12, + "line": 13, "column": 16 } }, "range": [ - 159, - 160 + 340, + 341 ] }, { @@ -1650,17 +1650,17 @@ export default { "value": "next", "loc": { "start": { - "line": 12, + "line": 13, "column": 16 }, "end": { - "line": 12, + "line": 13, "column": 20 } }, "range": [ - 160, - 164 + 341, + 345 ] }, { @@ -1668,17 +1668,17 @@ export default { "value": "(", "loc": { "start": { - "line": 12, + "line": 13, "column": 20 }, "end": { - "line": 12, + "line": 13, "column": 21 } }, "range": [ - 164, - 165 + 345, + 346 ] }, { @@ -1686,17 +1686,17 @@ export default { "value": ")", "loc": { "start": { - "line": 12, + "line": 13, "column": 21 }, "end": { - "line": 12, + "line": 13, "column": 22 } }, "range": [ - 165, - 166 + 346, + 347 ] }, { @@ -1704,17 +1704,17 @@ export default { "value": ";", "loc": { "start": { - "line": 12, + "line": 13, "column": 22 }, "end": { - "line": 12, + "line": 13, "column": 23 } }, "range": [ - 166, - 167 + 347, + 348 ] }, { @@ -1722,17 +1722,17 @@ export default { "value": "}", "loc": { "start": { - "line": 13, + "line": 14, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 170, - 171 + 351, + 352 ] }, { @@ -1740,17 +1740,17 @@ export default { "value": "}", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 172, - 173 + 353, + 354 ] }, { @@ -1758,17 +1758,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 175, - 181 + 356, + 362 ] }, { @@ -1776,17 +1776,17 @@ export default { "value": ".", "loc": { "start": { - "line": 16, + "line": 17, "column": 6 }, "end": { - "line": 16, + "line": 17, "column": 7 } }, "range": [ - 181, - 182 + 362, + 363 ] }, { @@ -1794,17 +1794,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 182, - 191 + 363, + 372 ] }, { @@ -1812,17 +1812,17 @@ export default { "value": "(", "loc": { "start": { - "line": 16, + "line": 17, "column": 16 }, "end": { - "line": 16, + "line": 17, "column": 17 } }, "range": [ - 191, - 192 + 372, + 373 ] }, { @@ -1830,17 +1830,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 26 } }, "range": [ - 192, - 201 + 373, + 382 ] }, { @@ -1848,17 +1848,17 @@ export default { "value": ",", "loc": { "start": { - "line": 16, + "line": 17, "column": 26 }, "end": { - "line": 16, + "line": 17, "column": 27 } }, "range": [ - 201, - 202 + 382, + 383 ] }, { @@ -1866,17 +1866,17 @@ export default { "value": "0", "loc": { "start": { - "line": 16, + "line": 17, "column": 28 }, "end": { - "line": 16, + "line": 17, "column": 29 } }, "range": [ - 203, - 204 + 384, + 385 ] }, { @@ -1884,17 +1884,17 @@ export default { "value": ",", "loc": { "start": { - "line": 16, + "line": 17, "column": 29 }, "end": { - "line": 16, + "line": 17, "column": 30 } }, "range": [ - 204, - 205 + 385, + 386 ] }, { @@ -1902,17 +1902,17 @@ export default { "value": "'from parameter'", "loc": { "start": { - "line": 16, + "line": 17, "column": 31 }, "end": { - "line": 16, + "line": 17, "column": 47 } }, "range": [ - 206, - 222 + 387, + 403 ] }, { @@ -1920,17 +1920,17 @@ export default { "value": ")", "loc": { "start": { - "line": 16, + "line": 17, "column": 47 }, "end": { - "line": 16, + "line": 17, "column": 48 } }, "range": [ - 222, - 223 + 403, + 404 ] }, { @@ -1938,17 +1938,17 @@ export default { "value": ";", "loc": { "start": { - "line": 16, + "line": 17, "column": 48 }, "end": { - "line": 16, + "line": 17, "column": 49 } }, "range": [ - 223, - 224 + 404, + 405 ] }, { @@ -1956,17 +1956,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 225, - 231 + 406, + 412 ] }, { @@ -1974,17 +1974,17 @@ export default { "value": ".", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 7 } }, "range": [ - 231, - 232 + 412, + 413 ] }, { @@ -1992,17 +1992,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 232, - 241 + 413, + 422 ] }, { @@ -2010,17 +2010,17 @@ export default { "value": "(", "loc": { "start": { - "line": 17, + "line": 18, "column": 16 }, "end": { - "line": 17, + "line": 18, "column": 17 } }, "range": [ - 241, - 242 + 422, + 423 ] }, { @@ -2028,17 +2028,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 242, - 250 + 423, + 431 ] }, { @@ -2046,17 +2046,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 25 }, "end": { - "line": 17, + "line": 18, "column": 26 } }, "range": [ - 250, - 251 + 431, + 432 ] }, { @@ -2064,17 +2064,17 @@ export default { "value": "0", "loc": { "start": { - "line": 17, + "line": 18, "column": 27 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 252, - 253 + 433, + 434 ] }, { @@ -2082,17 +2082,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 28 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 253, - 254 + 434, + 435 ] }, { @@ -2100,17 +2100,17 @@ export default { "value": "'from body'", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 255, - 266 + 436, + 447 ] }, { @@ -2118,17 +2118,17 @@ export default { "value": ")", "loc": { "start": { - "line": 17, + "line": 18, "column": 41 }, "end": { - "line": 17, + "line": 18, "column": 42 } }, "range": [ - 266, - 267 + 447, + 448 ] }, { @@ -2136,17 +2136,17 @@ export default { "value": ";", "loc": { "start": { - "line": 17, + "line": 18, "column": 42 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 267, - 268 + 448, + 449 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.src.js index bcd06448..19ee4104 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-generator.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/object/method-definition/static-init-await-reference-generator.js var await = 0; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.module-result.js index 551e78ba..e3cbf186 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 6, - "lineNumber": 3, + "index": 184, + "lineNumber": 4, "column": 5, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.result.js index a9aaefac..dc81da1b 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 2, - 260 + 180, + 438 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 2, - 16 + 180, + 194 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 6, - 15 + 184, + 193 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 184, + 189 ], "name": "await" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 192, + 193 ], "value": 0, "raw": "0" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 17, - 41 + 195, + 219 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 199, + 208 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 199, + 208 ], "name": "fromParam" }, @@ -146,33 +146,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 210, + 218 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 210, + 218 ], "name": "fromBody" }, @@ -185,33 +185,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 43, - 165 + 221, + 343 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 227, + 228 ], "name": "C" }, @@ -220,116 +220,116 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 51, - 165 + 229, + 343 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 55, - 163 + 233, + 341 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 16 } }, "range": [ - 68, - 159 + 246, + 337 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 68, - 158 + 246, + 336 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 13 } }, "range": [ - 68, - 156 + 246, + 334 ], "object": { "type": "ObjectExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 12, + "line": 13, "column": 5 } }, "range": [ - 69, - 148 + 247, + 326 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 77, - 142 + 255, + 320 ], "method": true, "shorthand": false, @@ -338,17 +338,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 12 } }, "range": [ - 77, - 83 + 255, + 261 ], "name": "method" }, @@ -357,17 +357,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 12 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 83, - 142 + 261, + 320 ], "id": null, "expression": false, @@ -378,33 +378,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 34 } }, "range": [ - 84, - 105 + 262, + 283 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 14 } }, "range": [ - 84, - 85 + 262, + 263 ], "name": "x" }, @@ -412,34 +412,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 9, + "line": 10, "column": 34 } }, "range": [ - 88, - 105 + 266, + 283 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 9, + "line": 10, "column": 26 } }, "range": [ - 88, - 97 + 266, + 275 ], "name": "fromParam" }, @@ -447,17 +447,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 29 }, "end": { - "line": 9, + "line": 10, "column": 34 } }, "range": [ - 100, - 105 + 278, + 283 ], "name": "await" } @@ -468,67 +468,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 36 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 107, - 142 + 285, + 320 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 25 } }, "range": [ - 117, - 134 + 295, + 312 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 117, - 133 + 295, + 311 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 117, - 125 + 295, + 303 ], "name": "fromBody" }, @@ -536,17 +536,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 19 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 128, - 133 + 306, + 311 ], "name": "await" } @@ -562,17 +562,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 7 }, "end": { - "line": 12, + "line": 13, "column": 13 } }, "range": [ - 150, - 156 + 328, + 334 ], "name": "method" }, @@ -592,65 +592,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 49 } }, "range": [ - 167, - 216 + 345, + 394 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 48 } }, "range": [ - 167, - 215 + 345, + 393 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 167, - 183 + 345, + 361 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 167, - 173 + 345, + 351 ], "name": "assert" }, @@ -658,17 +658,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 174, - 183 + 352, + 361 ], "name": "sameValue" }, @@ -680,17 +680,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 26 } }, "range": [ - 184, - 193 + 362, + 371 ], "name": "fromParam" }, @@ -698,17 +698,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 28 }, "end": { - "line": 16, + "line": 17, "column": 29 } }, "range": [ - 195, - 196 + 373, + 374 ], "value": 0, "raw": "0" @@ -717,17 +717,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 31 }, "end": { - "line": 16, + "line": 17, "column": 47 } }, "range": [ - 198, - 214 + 376, + 392 ], "value": "from parameter", "raw": "'from parameter'" @@ -740,65 +740,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 217, - 260 + 395, + 438 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 42 } }, "range": [ - 217, - 259 + 395, + 437 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 217, - 233 + 395, + 411 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 217, - 223 + 395, + 401 ], "name": "assert" }, @@ -806,17 +806,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 224, - 233 + 402, + 411 ], "name": "sameValue" }, @@ -828,17 +828,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 234, - 242 + 412, + 420 ], "name": "fromBody" }, @@ -846,17 +846,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 27 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 244, - 245 + 422, + 423 ], "value": 0, "raw": "0" @@ -865,17 +865,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 247, - 258 + 425, + 436 ], "value": "from body", "raw": "'from body'" @@ -892,17 +892,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 180, + 183 ] }, { @@ -910,17 +910,17 @@ export default { "value": "await", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 184, + 189 ] }, { @@ -928,17 +928,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 10 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 12, - 13 + 190, + 191 ] }, { @@ -946,17 +946,17 @@ export default { "value": "0", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 192, + 193 ] }, { @@ -964,17 +964,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 13 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 15, - 16 + 193, + 194 ] }, { @@ -982,17 +982,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 17, - 20 + 195, + 198 ] }, { @@ -1000,17 +1000,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 13 } }, "range": [ - 21, - 30 + 199, + 208 ] }, { @@ -1018,17 +1018,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 13 }, "end": { - "line": 4, + "line": 5, "column": 14 } }, "range": [ - 30, - 31 + 208, + 209 ] }, { @@ -1036,17 +1036,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 32, - 40 + 210, + 218 ] }, { @@ -1054,17 +1054,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 23 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 40, - 41 + 218, + 219 ] }, { @@ -1072,17 +1072,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 43, - 48 + 221, + 226 ] }, { @@ -1090,17 +1090,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 227, + 228 ] }, { @@ -1108,17 +1108,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 51, - 52 + 229, + 230 ] }, { @@ -1126,17 +1126,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 55, - 61 + 233, + 239 ] }, { @@ -1144,17 +1144,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 62, - 63 + 240, + 241 ] }, { @@ -1162,17 +1162,17 @@ export default { "value": "(", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 5 } }, "range": [ - 68, - 69 + 246, + 247 ] }, { @@ -1180,17 +1180,17 @@ export default { "value": "{", "loc": { "start": { - "line": 8, + "line": 9, "column": 5 }, "end": { - "line": 8, + "line": 9, "column": 6 } }, "range": [ - 69, - 70 + 247, + 248 ] }, { @@ -1198,17 +1198,17 @@ export default { "value": "method", "loc": { "start": { - "line": 9, + "line": 10, "column": 6 }, "end": { - "line": 9, + "line": 10, "column": 12 } }, "range": [ - 77, - 83 + 255, + 261 ] }, { @@ -1216,17 +1216,17 @@ export default { "value": "(", "loc": { "start": { - "line": 9, + "line": 10, "column": 12 }, "end": { - "line": 9, + "line": 10, "column": 13 } }, "range": [ - 83, - 84 + 261, + 262 ] }, { @@ -1234,17 +1234,17 @@ export default { "value": "x", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 14 } }, "range": [ - 84, - 85 + 262, + 263 ] }, { @@ -1252,17 +1252,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 15 }, "end": { - "line": 9, + "line": 10, "column": 16 } }, "range": [ - 86, - 87 + 264, + 265 ] }, { @@ -1270,17 +1270,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 9, + "line": 10, "column": 26 } }, "range": [ - 88, - 97 + 266, + 275 ] }, { @@ -1288,17 +1288,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 27 }, "end": { - "line": 9, + "line": 10, "column": 28 } }, "range": [ - 98, - 99 + 276, + 277 ] }, { @@ -1306,17 +1306,17 @@ export default { "value": "await", "loc": { "start": { - "line": 9, + "line": 10, "column": 29 }, "end": { - "line": 9, + "line": 10, "column": 34 } }, "range": [ - 100, - 105 + 278, + 283 ] }, { @@ -1324,17 +1324,17 @@ export default { "value": ")", "loc": { "start": { - "line": 9, + "line": 10, "column": 34 }, "end": { - "line": 9, + "line": 10, "column": 35 } }, "range": [ - 105, - 106 + 283, + 284 ] }, { @@ -1342,17 +1342,17 @@ export default { "value": "{", "loc": { "start": { - "line": 9, + "line": 10, "column": 36 }, "end": { - "line": 9, + "line": 10, "column": 37 } }, "range": [ - 107, - 108 + 285, + 286 ] }, { @@ -1360,17 +1360,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 16 } }, "range": [ - 117, - 125 + 295, + 303 ] }, { @@ -1378,17 +1378,17 @@ export default { "value": "=", "loc": { "start": { - "line": 10, + "line": 11, "column": 17 }, "end": { - "line": 10, + "line": 11, "column": 18 } }, "range": [ - 126, - 127 + 304, + 305 ] }, { @@ -1396,17 +1396,17 @@ export default { "value": "await", "loc": { "start": { - "line": 10, + "line": 11, "column": 19 }, "end": { - "line": 10, + "line": 11, "column": 24 } }, "range": [ - 128, - 133 + 306, + 311 ] }, { @@ -1414,17 +1414,17 @@ export default { "value": ";", "loc": { "start": { - "line": 10, + "line": 11, "column": 24 }, "end": { - "line": 10, + "line": 11, "column": 25 } }, "range": [ - 133, - 134 + 311, + 312 ] }, { @@ -1432,17 +1432,17 @@ export default { "value": "}", "loc": { "start": { - "line": 11, + "line": 12, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 141, - 142 + 319, + 320 ] }, { @@ -1450,17 +1450,17 @@ export default { "value": "}", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 5 } }, "range": [ - 147, - 148 + 325, + 326 ] }, { @@ -1468,17 +1468,17 @@ export default { "value": ")", "loc": { "start": { - "line": 12, + "line": 13, "column": 5 }, "end": { - "line": 12, + "line": 13, "column": 6 } }, "range": [ - 148, - 149 + 326, + 327 ] }, { @@ -1486,17 +1486,17 @@ export default { "value": ".", "loc": { "start": { - "line": 12, + "line": 13, "column": 6 }, "end": { - "line": 12, + "line": 13, "column": 7 } }, "range": [ - 149, - 150 + 327, + 328 ] }, { @@ -1504,17 +1504,17 @@ export default { "value": "method", "loc": { "start": { - "line": 12, + "line": 13, "column": 7 }, "end": { - "line": 12, + "line": 13, "column": 13 } }, "range": [ - 150, - 156 + 328, + 334 ] }, { @@ -1522,17 +1522,17 @@ export default { "value": "(", "loc": { "start": { - "line": 12, + "line": 13, "column": 13 }, "end": { - "line": 12, + "line": 13, "column": 14 } }, "range": [ - 156, - 157 + 334, + 335 ] }, { @@ -1540,17 +1540,17 @@ export default { "value": ")", "loc": { "start": { - "line": 12, + "line": 13, "column": 14 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 157, - 158 + 335, + 336 ] }, { @@ -1558,17 +1558,17 @@ export default { "value": ";", "loc": { "start": { - "line": 12, + "line": 13, "column": 15 }, "end": { - "line": 12, + "line": 13, "column": 16 } }, "range": [ - 158, - 159 + 336, + 337 ] }, { @@ -1576,17 +1576,17 @@ export default { "value": "}", "loc": { "start": { - "line": 13, + "line": 14, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 162, - 163 + 340, + 341 ] }, { @@ -1594,17 +1594,17 @@ export default { "value": "}", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 164, - 165 + 342, + 343 ] }, { @@ -1612,17 +1612,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 167, - 173 + 345, + 351 ] }, { @@ -1630,17 +1630,17 @@ export default { "value": ".", "loc": { "start": { - "line": 16, + "line": 17, "column": 6 }, "end": { - "line": 16, + "line": 17, "column": 7 } }, "range": [ - 173, - 174 + 351, + 352 ] }, { @@ -1648,17 +1648,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 174, - 183 + 352, + 361 ] }, { @@ -1666,17 +1666,17 @@ export default { "value": "(", "loc": { "start": { - "line": 16, + "line": 17, "column": 16 }, "end": { - "line": 16, + "line": 17, "column": 17 } }, "range": [ - 183, - 184 + 361, + 362 ] }, { @@ -1684,17 +1684,17 @@ export default { "value": "fromParam", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 26 } }, "range": [ - 184, - 193 + 362, + 371 ] }, { @@ -1702,17 +1702,17 @@ export default { "value": ",", "loc": { "start": { - "line": 16, + "line": 17, "column": 26 }, "end": { - "line": 16, + "line": 17, "column": 27 } }, "range": [ - 193, - 194 + 371, + 372 ] }, { @@ -1720,17 +1720,17 @@ export default { "value": "0", "loc": { "start": { - "line": 16, + "line": 17, "column": 28 }, "end": { - "line": 16, + "line": 17, "column": 29 } }, "range": [ - 195, - 196 + 373, + 374 ] }, { @@ -1738,17 +1738,17 @@ export default { "value": ",", "loc": { "start": { - "line": 16, + "line": 17, "column": 29 }, "end": { - "line": 16, + "line": 17, "column": 30 } }, "range": [ - 196, - 197 + 374, + 375 ] }, { @@ -1756,17 +1756,17 @@ export default { "value": "'from parameter'", "loc": { "start": { - "line": 16, + "line": 17, "column": 31 }, "end": { - "line": 16, + "line": 17, "column": 47 } }, "range": [ - 198, - 214 + 376, + 392 ] }, { @@ -1774,17 +1774,17 @@ export default { "value": ")", "loc": { "start": { - "line": 16, + "line": 17, "column": 47 }, "end": { - "line": 16, + "line": 17, "column": 48 } }, "range": [ - 214, - 215 + 392, + 393 ] }, { @@ -1792,17 +1792,17 @@ export default { "value": ";", "loc": { "start": { - "line": 16, + "line": 17, "column": 48 }, "end": { - "line": 16, + "line": 17, "column": 49 } }, "range": [ - 215, - 216 + 393, + 394 ] }, { @@ -1810,17 +1810,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 217, - 223 + 395, + 401 ] }, { @@ -1828,17 +1828,17 @@ export default { "value": ".", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 7 } }, "range": [ - 223, - 224 + 401, + 402 ] }, { @@ -1846,17 +1846,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 224, - 233 + 402, + 411 ] }, { @@ -1864,17 +1864,17 @@ export default { "value": "(", "loc": { "start": { - "line": 17, + "line": 18, "column": 16 }, "end": { - "line": 17, + "line": 18, "column": 17 } }, "range": [ - 233, - 234 + 411, + 412 ] }, { @@ -1882,17 +1882,17 @@ export default { "value": "fromBody", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 234, - 242 + 412, + 420 ] }, { @@ -1900,17 +1900,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 25 }, "end": { - "line": 17, + "line": 18, "column": 26 } }, "range": [ - 242, - 243 + 420, + 421 ] }, { @@ -1918,17 +1918,17 @@ export default { "value": "0", "loc": { "start": { - "line": 17, + "line": 18, "column": 27 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 244, - 245 + 422, + 423 ] }, { @@ -1936,17 +1936,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 28 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 245, - 246 + 423, + 424 ] }, { @@ -1954,17 +1954,17 @@ export default { "value": "'from body'", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 247, - 258 + 425, + 436 ] }, { @@ -1972,17 +1972,17 @@ export default { "value": ")", "loc": { "start": { - "line": 17, + "line": 18, "column": 41 }, "end": { - "line": 17, + "line": 18, "column": 42 } }, "range": [ - 258, - 259 + 436, + 437 ] }, { @@ -1990,17 +1990,17 @@ export default { "value": ";", "loc": { "start": { - "line": 17, + "line": 18, "column": 42 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 259, - 260 + 437, + 438 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.src.js index b86f406b..c49883c6 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/expressions-object-method-definition-static-init-await-reference-normal.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/expressions/object/method-definition/static-init-await-reference-normal.js var await = 0; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.module-result.js new file mode 100644 index 00000000..98f4f86b --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 165, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.result.js index 8d30cc9c..09a61cf5 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.result.js @@ -1,6 +1,6 @@ export default { - "index": 25, - "lineNumber": 3, + "index": 179, + "lineNumber": 4, "column": 5, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.src.js index 86967037..d35f661d 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/identifier-resolution-static-init-invalid-await.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/identifier-resolution/static-init-invalid-await.js class C { static { await; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-break-static-init-without-label.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-break-static-init-without-label.result.js index fe9c814c..0a1e160d 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-break-static-init-without-label.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-break-static-init-without-label.result.js @@ -1,6 +1,6 @@ export default { - "index": 53, - "lineNumber": 4, + "index": 202, + "lineNumber": 5, "column": 7, "message": "Unsyntactic break" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-break-static-init-without-label.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-break-static-init-without-label.src.js index 58ea7721..11e2eb3a 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-break-static-init-without-label.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-break-static-init-without-label.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/break/static-init-without-label.js label: while(false) { class C { static { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-abrupt.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-abrupt.result.js index 800d0e2f..ea0dc9ce 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-abrupt.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-abrupt.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 61 } }, "range": [ - 2, - 548 + 144, + 690 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 32 } }, "range": [ - 2, - 34 + 144, + 176 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 31 } }, "range": [ - 6, - 33 + 148, + 175 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 10 } }, "range": [ - 6, - 12 + 148, + 154 ], "name": "thrown" }, @@ -70,33 +70,33 @@ export default { "type": "NewExpression", "loc": { "start": { - "line": 3, + "line": 4, "column": 13 }, "end": { - "line": 3, + "line": 4, "column": 31 } }, "range": [ - 15, - 33 + 157, + 175 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 17 }, "end": { - "line": 3, + "line": 4, "column": 29 } }, "range": [ - 19, - 31 + 161, + 173 ], "name": "Test262Error" }, @@ -110,50 +110,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 11 } }, "range": [ - 35, - 46 + 177, + 188 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 39, - 45 + 181, + 187 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 39, - 45 + 181, + 187 ], "name": "caught" }, @@ -166,50 +166,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 47, - 69 + 189, + 211 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 21 } }, "range": [ - 51, - 68 + 193, + 210 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 13 } }, "range": [ - 51, - 60 + 193, + 202 ], "name": "sameBlock" }, @@ -217,17 +217,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 5, + "line": 6, "column": 16 }, "end": { - "line": 5, + "line": 6, "column": 21 } }, "range": [ - 63, - 68 + 205, + 210 ], "value": false, "raw": "false" @@ -240,50 +240,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 28 } }, "range": [ - 70, - 98 + 212, + 240 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 6, + "line": 7, "column": 4 }, "end": { - "line": 6, + "line": 7, "column": 27 } }, "range": [ - 74, - 97 + 216, + 239 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 4 }, "end": { - "line": 6, + "line": 7, "column": 19 } }, "range": [ - 74, - 89 + 216, + 231 ], "name": "subsequentField" }, @@ -291,17 +291,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 6, + "line": 7, "column": 22 }, "end": { - "line": 6, + "line": 7, "column": 27 } }, "range": [ - 92, - 97 + 234, + 239 ], "value": false, "raw": "false" @@ -314,50 +314,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 28 } }, "range": [ - 99, - 127 + 241, + 269 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 27 } }, "range": [ - 103, - 126 + 245, + 268 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 19 } }, "range": [ - 103, - 118 + 245, + 260 ], "name": "subsequentBlock" }, @@ -365,17 +365,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 7, + "line": 8, "column": 22 }, "end": { - "line": 7, + "line": 8, "column": 27 } }, "range": [ - 121, - 126 + 263, + 268 ], "value": false, "raw": "false" @@ -388,66 +388,66 @@ export default { "type": "TryStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 22, + "line": 23, "column": 1 } }, "range": [ - 129, - 339 + 271, + 481 ], "block": { "type": "BlockStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 20, + "line": 21, "column": 1 } }, "range": [ - 133, - 303 + 275, + 445 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 19, + "line": 20, "column": 3 } }, "range": [ - 137, - 301 + 279, + 443 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 9 } }, "range": [ - 143, - 144 + 285, + 286 ], "name": "C" }, @@ -456,67 +456,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 10, + "line": 11, "column": 10 }, "end": { - "line": 19, + "line": 20, "column": 3 } }, "range": [ - 145, - 301 + 287, + 443 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 14, + "line": 15, "column": 5 } }, "range": [ - 151, - 209 + 293, + 351 ], "body": [ { "type": "ThrowStatement", "loc": { "start": { - "line": 12, + "line": 13, "column": 6 }, "end": { - "line": 12, + "line": 13, "column": 19 } }, "range": [ - 166, - 179 + 308, + 321 ], "argument": { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 12 }, "end": { - "line": 12, + "line": 13, "column": 18 } }, "range": [ - 172, - 178 + 314, + 320 ], "name": "thrown" } @@ -525,50 +525,50 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 13, + "line": 14, "column": 6 }, "end": { - "line": 13, + "line": 14, "column": 23 } }, "range": [ - 186, - 203 + 328, + 345 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 6 }, "end": { - "line": 13, + "line": 14, "column": 22 } }, "range": [ - 186, - 202 + 328, + 344 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 6 }, "end": { - "line": 13, + "line": 14, "column": 15 } }, "range": [ - 186, - 195 + 328, + 337 ], "name": "sameBlock" }, @@ -576,17 +576,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 13, + "line": 14, "column": 18 }, "end": { - "line": 13, + "line": 14, "column": 22 } }, "range": [ - 198, - 202 + 340, + 344 ], "value": true, "raw": "true" @@ -599,17 +599,17 @@ export default { "type": "PropertyDefinition", "loc": { "start": { - "line": 15, + "line": 16, "column": 4 }, "end": { - "line": 15, + "line": 16, "column": 38 } }, "range": [ - 214, - 248 + 356, + 390 ], "static": true, "computed": false, @@ -617,17 +617,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 11 }, "end": { - "line": 15, + "line": 16, "column": 12 } }, "range": [ - 221, - 222 + 363, + 364 ], "name": "x" }, @@ -635,34 +635,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 15, + "line": 16, "column": 15 }, "end": { - "line": 15, + "line": 16, "column": 37 } }, "range": [ - 225, - 247 + 367, + 389 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 15 }, "end": { - "line": 15, + "line": 16, "column": 30 } }, "range": [ - 225, - 240 + 367, + 382 ], "name": "subsequentField" }, @@ -670,17 +670,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 15, + "line": 16, "column": 33 }, "end": { - "line": 15, + "line": 16, "column": 37 } }, "range": [ - 243, - 247 + 385, + 389 ], "value": true, "raw": "true" @@ -691,67 +691,67 @@ export default { "type": "StaticBlock", "loc": { "start": { - "line": 16, + "line": 17, "column": 4 }, "end": { - "line": 18, + "line": 19, "column": 5 } }, "range": [ - 253, - 297 + 395, + 439 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 268, - 291 + 410, + 433 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 268, - 290 + 410, + 432 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 21 } }, "range": [ - 268, - 283 + 410, + 425 ], "name": "subsequentBlock" }, @@ -759,17 +759,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 24 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 286, - 290 + 428, + 432 ], "value": true, "raw": "true" @@ -787,33 +787,33 @@ export default { "type": "CatchClause", "loc": { "start": { - "line": 20, + "line": 21, "column": 2 }, "end": { - "line": 22, + "line": 23, "column": 1 } }, "range": [ - 304, - 339 + 446, + 481 ], "param": { "type": "Identifier", "loc": { "start": { - "line": 20, + "line": 21, "column": 9 }, "end": { - "line": 20, + "line": 21, "column": 14 } }, "range": [ - 311, - 316 + 453, + 458 ], "name": "error" }, @@ -821,67 +821,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 20, + "line": 21, "column": 16 }, "end": { - "line": 22, + "line": 23, "column": 1 } }, "range": [ - 318, - 339 + 460, + 481 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 21, + "line": 22, "column": 17 } }, "range": [ - 322, - 337 + 464, + 479 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 21, + "line": 22, "column": 16 } }, "range": [ - 322, - 336 + 464, + 478 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 21, + "line": 22, "column": 8 } }, "range": [ - 322, - 328 + 464, + 470 ], "name": "caught" }, @@ -889,17 +889,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 21, + "line": 22, "column": 11 }, "end": { - "line": 21, + "line": 22, "column": 16 } }, "range": [ - 331, - 336 + 473, + 478 ], "name": "error" } @@ -914,65 +914,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 33 } }, "range": [ - 341, - 374 + 483, + 516 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 32 } }, "range": [ - 341, - 373 + 483, + 515 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 16 } }, "range": [ - 341, - 357 + 483, + 499 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 6 } }, "range": [ - 341, - 347 + 483, + 489 ], "name": "assert" }, @@ -980,17 +980,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 24, + "line": 25, "column": 7 }, "end": { - "line": 24, + "line": 25, "column": 16 } }, "range": [ - 348, - 357 + 490, + 499 ], "name": "sameValue" }, @@ -1002,17 +1002,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 24, + "line": 25, "column": 17 }, "end": { - "line": 24, + "line": 25, "column": 23 } }, "range": [ - 358, - 364 + 500, + 506 ], "name": "caught" }, @@ -1020,17 +1020,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 24, + "line": 25, "column": 25 }, "end": { - "line": 24, + "line": 25, "column": 31 } }, "range": [ - 366, - 372 + 508, + 514 ], "name": "thrown" } @@ -1042,65 +1042,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 49 } }, "range": [ - 375, - 424 + 517, + 566 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 48 } }, "range": [ - 375, - 423 + 517, + 565 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 16 } }, "range": [ - 375, - 391 + 517, + 533 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 6 } }, "range": [ - 375, - 381 + 517, + 523 ], "name": "assert" }, @@ -1108,17 +1108,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 7 }, "end": { - "line": 25, + "line": 26, "column": 16 } }, "range": [ - 382, - 391 + 524, + 533 ], "name": "sameValue" }, @@ -1130,17 +1130,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 17 }, "end": { - "line": 25, + "line": 26, "column": 26 } }, "range": [ - 392, - 401 + 534, + 543 ], "name": "sameBlock" }, @@ -1148,17 +1148,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 25, + "line": 26, "column": 28 }, "end": { - "line": 25, + "line": 26, "column": 33 } }, "range": [ - 403, - 408 + 545, + 550 ], "value": false, "raw": "false" @@ -1167,17 +1167,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 25, + "line": 26, "column": 35 }, "end": { - "line": 25, + "line": 26, "column": 47 } }, "range": [ - 410, - 422 + 552, + 564 ], "value": "same block", "raw": "'same block'" @@ -1190,65 +1190,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 26, + "line": 27, "column": 0 }, "end": { - "line": 26, + "line": 27, "column": 61 } }, "range": [ - 425, - 486 + 567, + 628 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 26, + "line": 27, "column": 0 }, "end": { - "line": 26, + "line": 27, "column": 60 } }, "range": [ - 425, - 485 + 567, + 627 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 26, + "line": 27, "column": 0 }, "end": { - "line": 26, + "line": 27, "column": 16 } }, "range": [ - 425, - 441 + 567, + 583 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 26, + "line": 27, "column": 0 }, "end": { - "line": 26, + "line": 27, "column": 6 } }, "range": [ - 425, - 431 + 567, + 573 ], "name": "assert" }, @@ -1256,17 +1256,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 26, + "line": 27, "column": 7 }, "end": { - "line": 26, + "line": 27, "column": 16 } }, "range": [ - 432, - 441 + 574, + 583 ], "name": "sameValue" }, @@ -1278,17 +1278,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 26, + "line": 27, "column": 17 }, "end": { - "line": 26, + "line": 27, "column": 32 } }, "range": [ - 442, - 457 + 584, + 599 ], "name": "subsequentField" }, @@ -1296,17 +1296,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 26, + "line": 27, "column": 34 }, "end": { - "line": 26, + "line": 27, "column": 39 } }, "range": [ - 459, - 464 + 601, + 606 ], "value": false, "raw": "false" @@ -1315,17 +1315,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 26, + "line": 27, "column": 41 }, "end": { - "line": 26, + "line": 27, "column": 59 } }, "range": [ - 466, - 484 + 608, + 626 ], "value": "subsequent field", "raw": "'subsequent field'" @@ -1338,65 +1338,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 61 } }, "range": [ - 487, - 548 + 629, + 690 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 60 } }, "range": [ - 487, - 547 + 629, + 689 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 16 } }, "range": [ - 487, - 503 + 629, + 645 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 6 } }, "range": [ - 487, - 493 + 629, + 635 ], "name": "assert" }, @@ -1404,17 +1404,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 27, + "line": 28, "column": 7 }, "end": { - "line": 27, + "line": 28, "column": 16 } }, "range": [ - 494, - 503 + 636, + 645 ], "name": "sameValue" }, @@ -1426,17 +1426,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 27, + "line": 28, "column": 17 }, "end": { - "line": 27, + "line": 28, "column": 32 } }, "range": [ - 504, - 519 + 646, + 661 ], "name": "subsequentBlock" }, @@ -1444,17 +1444,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 27, + "line": 28, "column": 34 }, "end": { - "line": 27, + "line": 28, "column": 39 } }, "range": [ - 521, - 526 + 663, + 668 ], "value": false, "raw": "false" @@ -1463,17 +1463,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 27, + "line": 28, "column": 41 }, "end": { - "line": 27, + "line": 28, "column": 59 } }, "range": [ - 528, - 546 + 670, + 688 ], "value": "subsequent block", "raw": "'subsequent block'" @@ -1490,17 +1490,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 144, + 147 ] }, { @@ -1508,17 +1508,17 @@ export default { "value": "thrown", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 10 } }, "range": [ - 6, - 12 + 148, + 154 ] }, { @@ -1526,17 +1526,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 11 }, "end": { - "line": 3, + "line": 4, "column": 12 } }, "range": [ - 13, - 14 + 155, + 156 ] }, { @@ -1544,17 +1544,17 @@ export default { "value": "new", "loc": { "start": { - "line": 3, + "line": 4, "column": 13 }, "end": { - "line": 3, + "line": 4, "column": 16 } }, "range": [ - 15, - 18 + 157, + 160 ] }, { @@ -1562,17 +1562,17 @@ export default { "value": "Test262Error", "loc": { "start": { - "line": 3, + "line": 4, "column": 17 }, "end": { - "line": 3, + "line": 4, "column": 29 } }, "range": [ - 19, - 31 + 161, + 173 ] }, { @@ -1580,17 +1580,17 @@ export default { "value": "(", "loc": { "start": { - "line": 3, + "line": 4, "column": 29 }, "end": { - "line": 3, + "line": 4, "column": 30 } }, "range": [ - 31, - 32 + 173, + 174 ] }, { @@ -1598,17 +1598,17 @@ export default { "value": ")", "loc": { "start": { - "line": 3, + "line": 4, "column": 30 }, "end": { - "line": 3, + "line": 4, "column": 31 } }, "range": [ - 32, - 33 + 174, + 175 ] }, { @@ -1616,17 +1616,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 31 }, "end": { - "line": 3, + "line": 4, "column": 32 } }, "range": [ - 33, - 34 + 175, + 176 ] }, { @@ -1634,17 +1634,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 35, - 38 + 177, + 180 ] }, { @@ -1652,17 +1652,17 @@ export default { "value": "caught", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 39, - 45 + 181, + 187 ] }, { @@ -1670,17 +1670,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 10 }, "end": { - "line": 4, + "line": 5, "column": 11 } }, "range": [ - 45, - 46 + 187, + 188 ] }, { @@ -1688,17 +1688,17 @@ export default { "value": "var", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 3 } }, "range": [ - 47, - 50 + 189, + 192 ] }, { @@ -1706,17 +1706,17 @@ export default { "value": "sameBlock", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 13 } }, "range": [ - 51, - 60 + 193, + 202 ] }, { @@ -1724,17 +1724,17 @@ export default { "value": "=", "loc": { "start": { - "line": 5, + "line": 6, "column": 14 }, "end": { - "line": 5, + "line": 6, "column": 15 } }, "range": [ - 61, - 62 + 203, + 204 ] }, { @@ -1742,17 +1742,17 @@ export default { "value": "false", "loc": { "start": { - "line": 5, + "line": 6, "column": 16 }, "end": { - "line": 5, + "line": 6, "column": 21 } }, "range": [ - 63, - 68 + 205, + 210 ] }, { @@ -1760,17 +1760,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 21 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 68, - 69 + 210, + 211 ] }, { @@ -1778,17 +1778,17 @@ export default { "value": "var", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 70, - 73 + 212, + 215 ] }, { @@ -1796,17 +1796,17 @@ export default { "value": "subsequentField", "loc": { "start": { - "line": 6, + "line": 7, "column": 4 }, "end": { - "line": 6, + "line": 7, "column": 19 } }, "range": [ - 74, - 89 + 216, + 231 ] }, { @@ -1814,17 +1814,17 @@ export default { "value": "=", "loc": { "start": { - "line": 6, + "line": 7, "column": 20 }, "end": { - "line": 6, + "line": 7, "column": 21 } }, "range": [ - 90, - 91 + 232, + 233 ] }, { @@ -1832,17 +1832,17 @@ export default { "value": "false", "loc": { "start": { - "line": 6, + "line": 7, "column": 22 }, "end": { - "line": 6, + "line": 7, "column": 27 } }, "range": [ - 92, - 97 + 234, + 239 ] }, { @@ -1850,17 +1850,17 @@ export default { "value": ";", "loc": { "start": { - "line": 6, + "line": 7, "column": 27 }, "end": { - "line": 6, + "line": 7, "column": 28 } }, "range": [ - 97, - 98 + 239, + 240 ] }, { @@ -1868,17 +1868,17 @@ export default { "value": "var", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 3 } }, "range": [ - 99, - 102 + 241, + 244 ] }, { @@ -1886,17 +1886,17 @@ export default { "value": "subsequentBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 19 } }, "range": [ - 103, - 118 + 245, + 260 ] }, { @@ -1904,17 +1904,17 @@ export default { "value": "=", "loc": { "start": { - "line": 7, + "line": 8, "column": 20 }, "end": { - "line": 7, + "line": 8, "column": 21 } }, "range": [ - 119, - 120 + 261, + 262 ] }, { @@ -1922,17 +1922,17 @@ export default { "value": "false", "loc": { "start": { - "line": 7, + "line": 8, "column": 22 }, "end": { - "line": 7, + "line": 8, "column": 27 } }, "range": [ - 121, - 126 + 263, + 268 ] }, { @@ -1940,17 +1940,17 @@ export default { "value": ";", "loc": { "start": { - "line": 7, + "line": 8, "column": 27 }, "end": { - "line": 7, + "line": 8, "column": 28 } }, "range": [ - 126, - 127 + 268, + 269 ] }, { @@ -1958,17 +1958,17 @@ export default { "value": "try", "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 9, + "line": 10, "column": 3 } }, "range": [ - 129, - 132 + 271, + 274 ] }, { @@ -1976,17 +1976,17 @@ export default { "value": "{", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 5 } }, "range": [ - 133, - 134 + 275, + 276 ] }, { @@ -1994,17 +1994,17 @@ export default { "value": "class", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 7 } }, "range": [ - 137, - 142 + 279, + 284 ] }, { @@ -2012,17 +2012,17 @@ export default { "value": "C", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 9 } }, "range": [ - 143, - 144 + 285, + 286 ] }, { @@ -2030,17 +2030,17 @@ export default { "value": "{", "loc": { "start": { - "line": 10, + "line": 11, "column": 10 }, "end": { - "line": 10, + "line": 11, "column": 11 } }, "range": [ - 145, - 146 + 287, + 288 ] }, { @@ -2048,17 +2048,17 @@ export default { "value": "static", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 10 } }, "range": [ - 151, - 157 + 293, + 299 ] }, { @@ -2066,17 +2066,17 @@ export default { "value": "{", "loc": { "start": { - "line": 11, + "line": 12, "column": 11 }, "end": { - "line": 11, + "line": 12, "column": 12 } }, "range": [ - 158, - 159 + 300, + 301 ] }, { @@ -2084,17 +2084,17 @@ export default { "value": "throw", "loc": { "start": { - "line": 12, + "line": 13, "column": 6 }, "end": { - "line": 12, + "line": 13, "column": 11 } }, "range": [ - 166, - 171 + 308, + 313 ] }, { @@ -2102,17 +2102,17 @@ export default { "value": "thrown", "loc": { "start": { - "line": 12, + "line": 13, "column": 12 }, "end": { - "line": 12, + "line": 13, "column": 18 } }, "range": [ - 172, - 178 + 314, + 320 ] }, { @@ -2120,17 +2120,17 @@ export default { "value": ";", "loc": { "start": { - "line": 12, + "line": 13, "column": 18 }, "end": { - "line": 12, + "line": 13, "column": 19 } }, "range": [ - 178, - 179 + 320, + 321 ] }, { @@ -2138,17 +2138,17 @@ export default { "value": "sameBlock", "loc": { "start": { - "line": 13, + "line": 14, "column": 6 }, "end": { - "line": 13, + "line": 14, "column": 15 } }, "range": [ - 186, - 195 + 328, + 337 ] }, { @@ -2156,17 +2156,17 @@ export default { "value": "=", "loc": { "start": { - "line": 13, + "line": 14, "column": 16 }, "end": { - "line": 13, + "line": 14, "column": 17 } }, "range": [ - 196, - 197 + 338, + 339 ] }, { @@ -2174,17 +2174,17 @@ export default { "value": "true", "loc": { "start": { - "line": 13, + "line": 14, "column": 18 }, "end": { - "line": 13, + "line": 14, "column": 22 } }, "range": [ - 198, - 202 + 340, + 344 ] }, { @@ -2192,17 +2192,17 @@ export default { "value": ";", "loc": { "start": { - "line": 13, + "line": 14, "column": 22 }, "end": { - "line": 13, + "line": 14, "column": 23 } }, "range": [ - 202, - 203 + 344, + 345 ] }, { @@ -2210,17 +2210,17 @@ export default { "value": "}", "loc": { "start": { - "line": 14, + "line": 15, "column": 4 }, "end": { - "line": 14, + "line": 15, "column": 5 } }, "range": [ - 208, - 209 + 350, + 351 ] }, { @@ -2228,17 +2228,17 @@ export default { "value": "static", "loc": { "start": { - "line": 15, + "line": 16, "column": 4 }, "end": { - "line": 15, + "line": 16, "column": 10 } }, "range": [ - 214, - 220 + 356, + 362 ] }, { @@ -2246,17 +2246,17 @@ export default { "value": "x", "loc": { "start": { - "line": 15, + "line": 16, "column": 11 }, "end": { - "line": 15, + "line": 16, "column": 12 } }, "range": [ - 221, - 222 + 363, + 364 ] }, { @@ -2264,17 +2264,17 @@ export default { "value": "=", "loc": { "start": { - "line": 15, + "line": 16, "column": 13 }, "end": { - "line": 15, + "line": 16, "column": 14 } }, "range": [ - 223, - 224 + 365, + 366 ] }, { @@ -2282,17 +2282,17 @@ export default { "value": "subsequentField", "loc": { "start": { - "line": 15, + "line": 16, "column": 15 }, "end": { - "line": 15, + "line": 16, "column": 30 } }, "range": [ - 225, - 240 + 367, + 382 ] }, { @@ -2300,17 +2300,17 @@ export default { "value": "=", "loc": { "start": { - "line": 15, + "line": 16, "column": 31 }, "end": { - "line": 15, + "line": 16, "column": 32 } }, "range": [ - 241, - 242 + 383, + 384 ] }, { @@ -2318,17 +2318,17 @@ export default { "value": "true", "loc": { "start": { - "line": 15, + "line": 16, "column": 33 }, "end": { - "line": 15, + "line": 16, "column": 37 } }, "range": [ - 243, - 247 + 385, + 389 ] }, { @@ -2336,17 +2336,17 @@ export default { "value": ";", "loc": { "start": { - "line": 15, + "line": 16, "column": 37 }, "end": { - "line": 15, + "line": 16, "column": 38 } }, "range": [ - 247, - 248 + 389, + 390 ] }, { @@ -2354,17 +2354,17 @@ export default { "value": "static", "loc": { "start": { - "line": 16, + "line": 17, "column": 4 }, "end": { - "line": 16, + "line": 17, "column": 10 } }, "range": [ - 253, - 259 + 395, + 401 ] }, { @@ -2372,17 +2372,17 @@ export default { "value": "{", "loc": { "start": { - "line": 16, + "line": 17, "column": 11 }, "end": { - "line": 16, + "line": 17, "column": 12 } }, "range": [ - 260, - 261 + 402, + 403 ] }, { @@ -2390,17 +2390,17 @@ export default { "value": "subsequentBlock", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 21 } }, "range": [ - 268, - 283 + 410, + 425 ] }, { @@ -2408,17 +2408,17 @@ export default { "value": "=", "loc": { "start": { - "line": 17, + "line": 18, "column": 22 }, "end": { - "line": 17, + "line": 18, "column": 23 } }, "range": [ - 284, - 285 + 426, + 427 ] }, { @@ -2426,17 +2426,17 @@ export default { "value": "true", "loc": { "start": { - "line": 17, + "line": 18, "column": 24 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 286, - 290 + 428, + 432 ] }, { @@ -2444,17 +2444,17 @@ export default { "value": ";", "loc": { "start": { - "line": 17, + "line": 18, "column": 28 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 290, - 291 + 432, + 433 ] }, { @@ -2462,17 +2462,17 @@ export default { "value": "}", "loc": { "start": { - "line": 18, + "line": 19, "column": 4 }, "end": { - "line": 18, + "line": 19, "column": 5 } }, "range": [ - 296, - 297 + 438, + 439 ] }, { @@ -2480,17 +2480,17 @@ export default { "value": "}", "loc": { "start": { - "line": 19, + "line": 20, "column": 2 }, "end": { - "line": 19, + "line": 20, "column": 3 } }, "range": [ - 300, - 301 + 442, + 443 ] }, { @@ -2498,17 +2498,17 @@ export default { "value": "}", "loc": { "start": { - "line": 20, + "line": 21, "column": 0 }, "end": { - "line": 20, + "line": 21, "column": 1 } }, "range": [ - 302, - 303 + 444, + 445 ] }, { @@ -2516,17 +2516,17 @@ export default { "value": "catch", "loc": { "start": { - "line": 20, + "line": 21, "column": 2 }, "end": { - "line": 20, + "line": 21, "column": 7 } }, "range": [ - 304, - 309 + 446, + 451 ] }, { @@ -2534,17 +2534,17 @@ export default { "value": "(", "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 9 } }, "range": [ - 310, - 311 + 452, + 453 ] }, { @@ -2552,17 +2552,17 @@ export default { "value": "error", "loc": { "start": { - "line": 20, + "line": 21, "column": 9 }, "end": { - "line": 20, + "line": 21, "column": 14 } }, "range": [ - 311, - 316 + 453, + 458 ] }, { @@ -2570,17 +2570,17 @@ export default { "value": ")", "loc": { "start": { - "line": 20, + "line": 21, "column": 14 }, "end": { - "line": 20, + "line": 21, "column": 15 } }, "range": [ - 316, - 317 + 458, + 459 ] }, { @@ -2588,17 +2588,17 @@ export default { "value": "{", "loc": { "start": { - "line": 20, + "line": 21, "column": 16 }, "end": { - "line": 20, + "line": 21, "column": 17 } }, "range": [ - 318, - 319 + 460, + 461 ] }, { @@ -2606,17 +2606,17 @@ export default { "value": "caught", "loc": { "start": { - "line": 21, + "line": 22, "column": 2 }, "end": { - "line": 21, + "line": 22, "column": 8 } }, "range": [ - 322, - 328 + 464, + 470 ] }, { @@ -2624,17 +2624,17 @@ export default { "value": "=", "loc": { "start": { - "line": 21, + "line": 22, "column": 9 }, "end": { - "line": 21, + "line": 22, "column": 10 } }, "range": [ - 329, - 330 + 471, + 472 ] }, { @@ -2642,17 +2642,17 @@ export default { "value": "error", "loc": { "start": { - "line": 21, + "line": 22, "column": 11 }, "end": { - "line": 21, + "line": 22, "column": 16 } }, "range": [ - 331, - 336 + 473, + 478 ] }, { @@ -2660,17 +2660,17 @@ export default { "value": ";", "loc": { "start": { - "line": 21, + "line": 22, "column": 16 }, "end": { - "line": 21, + "line": 22, "column": 17 } }, "range": [ - 336, - 337 + 478, + 479 ] }, { @@ -2678,17 +2678,17 @@ export default { "value": "}", "loc": { "start": { - "line": 22, + "line": 23, "column": 0 }, "end": { - "line": 22, + "line": 23, "column": 1 } }, "range": [ - 338, - 339 + 480, + 481 ] }, { @@ -2696,17 +2696,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 6 } }, "range": [ - 341, - 347 + 483, + 489 ] }, { @@ -2714,17 +2714,17 @@ export default { "value": ".", "loc": { "start": { - "line": 24, + "line": 25, "column": 6 }, "end": { - "line": 24, + "line": 25, "column": 7 } }, "range": [ - 347, - 348 + 489, + 490 ] }, { @@ -2732,17 +2732,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 24, + "line": 25, "column": 7 }, "end": { - "line": 24, + "line": 25, "column": 16 } }, "range": [ - 348, - 357 + 490, + 499 ] }, { @@ -2750,17 +2750,17 @@ export default { "value": "(", "loc": { "start": { - "line": 24, + "line": 25, "column": 16 }, "end": { - "line": 24, + "line": 25, "column": 17 } }, "range": [ - 357, - 358 + 499, + 500 ] }, { @@ -2768,17 +2768,17 @@ export default { "value": "caught", "loc": { "start": { - "line": 24, + "line": 25, "column": 17 }, "end": { - "line": 24, + "line": 25, "column": 23 } }, "range": [ - 358, - 364 + 500, + 506 ] }, { @@ -2786,17 +2786,17 @@ export default { "value": ",", "loc": { "start": { - "line": 24, + "line": 25, "column": 23 }, "end": { - "line": 24, + "line": 25, "column": 24 } }, "range": [ - 364, - 365 + 506, + 507 ] }, { @@ -2804,17 +2804,17 @@ export default { "value": "thrown", "loc": { "start": { - "line": 24, + "line": 25, "column": 25 }, "end": { - "line": 24, + "line": 25, "column": 31 } }, "range": [ - 366, - 372 + 508, + 514 ] }, { @@ -2822,17 +2822,17 @@ export default { "value": ")", "loc": { "start": { - "line": 24, + "line": 25, "column": 31 }, "end": { - "line": 24, + "line": 25, "column": 32 } }, "range": [ - 372, - 373 + 514, + 515 ] }, { @@ -2840,17 +2840,17 @@ export default { "value": ";", "loc": { "start": { - "line": 24, + "line": 25, "column": 32 }, "end": { - "line": 24, + "line": 25, "column": 33 } }, "range": [ - 373, - 374 + 515, + 516 ] }, { @@ -2858,17 +2858,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 6 } }, "range": [ - 375, - 381 + 517, + 523 ] }, { @@ -2876,17 +2876,17 @@ export default { "value": ".", "loc": { "start": { - "line": 25, + "line": 26, "column": 6 }, "end": { - "line": 25, + "line": 26, "column": 7 } }, "range": [ - 381, - 382 + 523, + 524 ] }, { @@ -2894,17 +2894,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 25, + "line": 26, "column": 7 }, "end": { - "line": 25, + "line": 26, "column": 16 } }, "range": [ - 382, - 391 + 524, + 533 ] }, { @@ -2912,17 +2912,17 @@ export default { "value": "(", "loc": { "start": { - "line": 25, + "line": 26, "column": 16 }, "end": { - "line": 25, + "line": 26, "column": 17 } }, "range": [ - 391, - 392 + 533, + 534 ] }, { @@ -2930,17 +2930,17 @@ export default { "value": "sameBlock", "loc": { "start": { - "line": 25, + "line": 26, "column": 17 }, "end": { - "line": 25, + "line": 26, "column": 26 } }, "range": [ - 392, - 401 + 534, + 543 ] }, { @@ -2948,17 +2948,17 @@ export default { "value": ",", "loc": { "start": { - "line": 25, + "line": 26, "column": 26 }, "end": { - "line": 25, + "line": 26, "column": 27 } }, "range": [ - 401, - 402 + 543, + 544 ] }, { @@ -2966,17 +2966,17 @@ export default { "value": "false", "loc": { "start": { - "line": 25, + "line": 26, "column": 28 }, "end": { - "line": 25, + "line": 26, "column": 33 } }, "range": [ - 403, - 408 + 545, + 550 ] }, { @@ -2984,17 +2984,17 @@ export default { "value": ",", "loc": { "start": { - "line": 25, + "line": 26, "column": 33 }, "end": { - "line": 25, + "line": 26, "column": 34 } }, "range": [ - 408, - 409 + 550, + 551 ] }, { @@ -3002,17 +3002,17 @@ export default { "value": "'same block'", "loc": { "start": { - "line": 25, + "line": 26, "column": 35 }, "end": { - "line": 25, + "line": 26, "column": 47 } }, "range": [ - 410, - 422 + 552, + 564 ] }, { @@ -3020,17 +3020,17 @@ export default { "value": ")", "loc": { "start": { - "line": 25, + "line": 26, "column": 47 }, "end": { - "line": 25, + "line": 26, "column": 48 } }, "range": [ - 422, - 423 + 564, + 565 ] }, { @@ -3038,17 +3038,17 @@ export default { "value": ";", "loc": { "start": { - "line": 25, + "line": 26, "column": 48 }, "end": { - "line": 25, + "line": 26, "column": 49 } }, "range": [ - 423, - 424 + 565, + 566 ] }, { @@ -3056,17 +3056,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 26, + "line": 27, "column": 0 }, "end": { - "line": 26, + "line": 27, "column": 6 } }, "range": [ - 425, - 431 + 567, + 573 ] }, { @@ -3074,17 +3074,17 @@ export default { "value": ".", "loc": { "start": { - "line": 26, + "line": 27, "column": 6 }, "end": { - "line": 26, + "line": 27, "column": 7 } }, "range": [ - 431, - 432 + 573, + 574 ] }, { @@ -3092,17 +3092,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 26, + "line": 27, "column": 7 }, "end": { - "line": 26, + "line": 27, "column": 16 } }, "range": [ - 432, - 441 + 574, + 583 ] }, { @@ -3110,17 +3110,17 @@ export default { "value": "(", "loc": { "start": { - "line": 26, + "line": 27, "column": 16 }, "end": { - "line": 26, + "line": 27, "column": 17 } }, "range": [ - 441, - 442 + 583, + 584 ] }, { @@ -3128,17 +3128,17 @@ export default { "value": "subsequentField", "loc": { "start": { - "line": 26, + "line": 27, "column": 17 }, "end": { - "line": 26, + "line": 27, "column": 32 } }, "range": [ - 442, - 457 + 584, + 599 ] }, { @@ -3146,17 +3146,17 @@ export default { "value": ",", "loc": { "start": { - "line": 26, + "line": 27, "column": 32 }, "end": { - "line": 26, + "line": 27, "column": 33 } }, "range": [ - 457, - 458 + 599, + 600 ] }, { @@ -3164,17 +3164,17 @@ export default { "value": "false", "loc": { "start": { - "line": 26, + "line": 27, "column": 34 }, "end": { - "line": 26, + "line": 27, "column": 39 } }, "range": [ - 459, - 464 + 601, + 606 ] }, { @@ -3182,17 +3182,17 @@ export default { "value": ",", "loc": { "start": { - "line": 26, + "line": 27, "column": 39 }, "end": { - "line": 26, + "line": 27, "column": 40 } }, "range": [ - 464, - 465 + 606, + 607 ] }, { @@ -3200,17 +3200,17 @@ export default { "value": "'subsequent field'", "loc": { "start": { - "line": 26, + "line": 27, "column": 41 }, "end": { - "line": 26, + "line": 27, "column": 59 } }, "range": [ - 466, - 484 + 608, + 626 ] }, { @@ -3218,17 +3218,17 @@ export default { "value": ")", "loc": { "start": { - "line": 26, + "line": 27, "column": 59 }, "end": { - "line": 26, + "line": 27, "column": 60 } }, "range": [ - 484, - 485 + 626, + 627 ] }, { @@ -3236,17 +3236,17 @@ export default { "value": ";", "loc": { "start": { - "line": 26, + "line": 27, "column": 60 }, "end": { - "line": 26, + "line": 27, "column": 61 } }, "range": [ - 485, - 486 + 627, + 628 ] }, { @@ -3254,17 +3254,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 6 } }, "range": [ - 487, - 493 + 629, + 635 ] }, { @@ -3272,17 +3272,17 @@ export default { "value": ".", "loc": { "start": { - "line": 27, + "line": 28, "column": 6 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "range": [ - 493, - 494 + 635, + 636 ] }, { @@ -3290,17 +3290,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 27, + "line": 28, "column": 7 }, "end": { - "line": 27, + "line": 28, "column": 16 } }, "range": [ - 494, - 503 + 636, + 645 ] }, { @@ -3308,17 +3308,17 @@ export default { "value": "(", "loc": { "start": { - "line": 27, + "line": 28, "column": 16 }, "end": { - "line": 27, + "line": 28, "column": 17 } }, "range": [ - 503, - 504 + 645, + 646 ] }, { @@ -3326,17 +3326,17 @@ export default { "value": "subsequentBlock", "loc": { "start": { - "line": 27, + "line": 28, "column": 17 }, "end": { - "line": 27, + "line": 28, "column": 32 } }, "range": [ - 504, - 519 + 646, + 661 ] }, { @@ -3344,17 +3344,17 @@ export default { "value": ",", "loc": { "start": { - "line": 27, + "line": 28, "column": 32 }, "end": { - "line": 27, + "line": 28, "column": 33 } }, "range": [ - 519, - 520 + 661, + 662 ] }, { @@ -3362,17 +3362,17 @@ export default { "value": "false", "loc": { "start": { - "line": 27, + "line": 28, "column": 34 }, "end": { - "line": 27, + "line": 28, "column": 39 } }, "range": [ - 521, - 526 + 663, + 668 ] }, { @@ -3380,17 +3380,17 @@ export default { "value": ",", "loc": { "start": { - "line": 27, + "line": 28, "column": 39 }, "end": { - "line": 27, + "line": 28, "column": 40 } }, "range": [ - 526, - 527 + 668, + 669 ] }, { @@ -3398,17 +3398,17 @@ export default { "value": "'subsequent block'", "loc": { "start": { - "line": 27, + "line": 28, "column": 41 }, "end": { - "line": 27, + "line": 28, "column": 59 } }, "range": [ - 528, - 546 + 670, + 688 ] }, { @@ -3416,17 +3416,17 @@ export default { "value": ")", "loc": { "start": { - "line": 27, + "line": 28, "column": 59 }, "end": { - "line": 27, + "line": 28, "column": 60 } }, "range": [ - 546, - 547 + 688, + 689 ] }, { @@ -3434,17 +3434,17 @@ export default { "value": ";", "loc": { "start": { - "line": 27, + "line": 28, "column": 60 }, "end": { - "line": 27, + "line": 28, "column": 61 } }, "range": [ - 547, - 548 + 689, + 690 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-abrupt.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-abrupt.src.js index e2fe1c8b..17ba4eda 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-abrupt.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-abrupt.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-abrupt.js var thrown = new Test262Error(); diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-functions.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-functions.result.js index 744b44fd..c3646b90 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-functions.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-functions.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 28, + "line": 29, "column": 68 } }, "range": [ - 2, - 775 + 157, + 930 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 16 } }, "range": [ - 2, - 18 + 157, + 173 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 6 } }, "range": [ - 6, - 8 + 161, + 163 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 6 } }, "range": [ - 6, - 8 + 161, + 163 ], "name": "fn" }, @@ -72,33 +72,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 15 } }, "range": [ - 10, - 17 + 165, + 172 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 15 } }, "range": [ - 10, - 17 + 165, + 172 ], "name": "fnParam" }, @@ -111,50 +111,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 18 } }, "range": [ - 19, - 37 + 174, + 192 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 7 } }, "range": [ - 23, - 26 + 178, + 181 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 7 } }, "range": [ - 23, - 26 + 178, + 181 ], "name": "gen" }, @@ -164,33 +164,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 17 } }, "range": [ - 28, - 36 + 183, + 191 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 17 } }, "range": [ - 28, - 36 + 183, + 191 ], "name": "genParam" }, @@ -203,50 +203,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 38, - 64 + 193, + 219 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 11 } }, "range": [ - 42, - 49 + 197, + 204 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 11 } }, "range": [ - 42, - 49 + 197, + 204 ], "name": "asyncFn" }, @@ -256,33 +256,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 51, - 63 + 206, + 218 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 51, - 63 + 206, + 218 ], "name": "asyncFnParam" }, @@ -295,33 +295,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 21, + "line": 22, "column": 1 } }, "range": [ - 66, - 412 + 221, + 567 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 6 }, "end": { - "line": 7, + "line": 8, "column": 7 } }, "range": [ - 72, - 73 + 227, + 228 ], "name": "C" }, @@ -330,83 +330,83 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 7, + "line": 8, "column": 8 }, "end": { - "line": 21, + "line": 22, "column": 1 } }, "range": [ - 74, - 412 + 229, + 567 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 20, + "line": 21, "column": 3 } }, "range": [ - 78, - 410 + 233, + 565 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 19 } }, "range": [ - 91, - 177 + 246, + 332 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 18 } }, "range": [ - 91, - 176 + 246, + 331 ], "callee": { "type": "FunctionExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 5 }, "end": { - "line": 11, + "line": 12, "column": 5 } }, "range": [ - 92, - 163 + 247, + 318 ], "id": null, "expression": false, @@ -417,34 +417,34 @@ export default { "type": "ObjectPattern", "loc": { "start": { - "line": 9, + "line": 10, "column": 14 }, "end": { - "line": 9, + "line": 10, "column": 45 } }, "range": [ - 101, - 132 + 256, + 287 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 9, + "line": 10, "column": 15 }, "end": { - "line": 9, + "line": 10, "column": 44 } }, "range": [ - 102, - 131 + 257, + 286 ], "method": false, "shorthand": true, @@ -453,17 +453,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 15 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 102, - 109 + 257, + 264 ], "name": "test262" }, @@ -472,33 +472,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 9, + "line": 10, "column": 15 }, "end": { - "line": 9, + "line": 10, "column": 44 } }, "range": [ - 102, - 131 + 257, + 286 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 15 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 102, - 109 + 257, + 264 ], "name": "test262" }, @@ -506,34 +506,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 25 }, "end": { - "line": 9, + "line": 10, "column": 44 } }, "range": [ - 112, - 131 + 267, + 286 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 25 }, "end": { - "line": 9, + "line": 10, "column": 32 } }, "range": [ - 112, - 119 + 267, + 274 ], "name": "fnParam" }, @@ -541,17 +541,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 35 }, "end": { - "line": 9, + "line": 10, "column": 44 } }, "range": [ - 122, - 131 + 277, + 286 ], "name": "arguments" } @@ -565,67 +565,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 47 }, "end": { - "line": 11, + "line": 12, "column": 5 } }, "range": [ - 134, - 163 + 289, + 318 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 10, + "line": 11, "column": 6 }, "end": { - "line": 10, + "line": 11, "column": 21 } }, "range": [ - 142, - 157 + 297, + 312 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 10, + "line": 11, "column": 6 }, "end": { - "line": 10, + "line": 11, "column": 20 } }, "range": [ - 142, - 156 + 297, + 311 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 6 }, "end": { - "line": 10, + "line": 11, "column": 8 } }, "range": [ - 142, - 144 + 297, + 299 ], "name": "fn" }, @@ -633,17 +633,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 11 }, "end": { - "line": 10, + "line": 11, "column": 20 } }, "range": [ - 147, - 156 + 302, + 311 ], "name": "arguments" } @@ -657,17 +657,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 11, + "line": 12, "column": 17 } }, "range": [ - 165, - 175 + 320, + 330 ], "value": "function", "raw": "'function'" @@ -680,81 +680,81 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 15, + "line": 16, "column": 36 } }, "range": [ - 183, - 291 + 338, + 446 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 15, + "line": 16, "column": 35 } }, "range": [ - 183, - 290 + 338, + 445 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 15, + "line": 16, "column": 33 } }, "range": [ - 183, - 288 + 338, + 443 ], "object": { "type": "CallExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 15, + "line": 16, "column": 28 } }, "range": [ - 183, - 283 + 338, + 438 ], "callee": { "type": "FunctionExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 5 }, "end": { - "line": 15, + "line": 16, "column": 5 } }, "range": [ - 184, - 260 + 339, + 415 ], "id": null, "expression": false, @@ -765,34 +765,34 @@ export default { "type": "ObjectPattern", "loc": { "start": { - "line": 13, + "line": 14, "column": 17 }, "end": { - "line": 13, + "line": 14, "column": 49 } }, "range": [ - 196, - 228 + 351, + 383 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 13, + "line": 14, "column": 18 }, "end": { - "line": 13, + "line": 14, "column": 48 } }, "range": [ - 197, - 227 + 352, + 382 ], "method": false, "shorthand": true, @@ -801,17 +801,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 18 }, "end": { - "line": 13, + "line": 14, "column": 25 } }, "range": [ - 197, - 204 + 352, + 359 ], "name": "test262" }, @@ -820,33 +820,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 13, + "line": 14, "column": 18 }, "end": { - "line": 13, + "line": 14, "column": 48 } }, "range": [ - 197, - 227 + 352, + 382 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 18 }, "end": { - "line": 13, + "line": 14, "column": 25 } }, "range": [ - 197, - 204 + 352, + 359 ], "name": "test262" }, @@ -854,34 +854,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 28 }, "end": { - "line": 13, + "line": 14, "column": 48 } }, "range": [ - 207, - 227 + 362, + 382 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 28 }, "end": { - "line": 13, + "line": 14, "column": 36 } }, "range": [ - 207, - 215 + 362, + 370 ], "name": "genParam" }, @@ -889,17 +889,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 39 }, "end": { - "line": 13, + "line": 14, "column": 48 } }, "range": [ - 218, - 227 + 373, + 382 ], "name": "arguments" } @@ -913,67 +913,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 13, + "line": 14, "column": 51 }, "end": { - "line": 15, + "line": 16, "column": 5 } }, "range": [ - 230, - 260 + 385, + 415 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 14, + "line": 15, "column": 6 }, "end": { - "line": 14, + "line": 15, "column": 22 } }, "range": [ - 238, - 254 + 393, + 409 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 14, + "line": 15, "column": 6 }, "end": { - "line": 14, + "line": 15, "column": 21 } }, "range": [ - 238, - 253 + 393, + 408 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 6 }, "end": { - "line": 14, + "line": 15, "column": 9 } }, "range": [ - 238, - 241 + 393, + 396 ], "name": "gen" }, @@ -981,17 +981,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 12 }, "end": { - "line": 14, + "line": 15, "column": 21 } }, "range": [ - 244, - 253 + 399, + 408 ], "name": "arguments" } @@ -1005,17 +1005,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 27 } }, "range": [ - 262, - 282 + 417, + 437 ], "value": "generator function", "raw": "'generator function'" @@ -1027,17 +1027,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 29 }, "end": { - "line": 15, + "line": 16, "column": 33 } }, "range": [ - 284, - 288 + 439, + 443 ], "name": "next" }, @@ -1052,49 +1052,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 4 }, "end": { - "line": 19, + "line": 20, "column": 25 } }, "range": [ - 297, - 406 + 452, + 561 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 4 }, "end": { - "line": 19, + "line": 20, "column": 24 } }, "range": [ - 297, - 405 + 452, + 560 ], "callee": { "type": "FunctionExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 5 }, "end": { - "line": 19, + "line": 20, "column": 5 } }, "range": [ - 298, - 386 + 453, + 541 ], "id": null, "expression": false, @@ -1105,34 +1105,34 @@ export default { "type": "ObjectPattern", "loc": { "start": { - "line": 17, + "line": 18, "column": 21 }, "end": { - "line": 17, + "line": 18, "column": 57 } }, "range": [ - 314, - 350 + 469, + 505 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 17, + "line": 18, "column": 22 }, "end": { - "line": 17, + "line": 18, "column": 56 } }, "range": [ - 315, - 349 + 470, + 504 ], "method": false, "shorthand": true, @@ -1141,17 +1141,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 22 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 315, - 322 + 470, + 477 ], "name": "test262" }, @@ -1160,33 +1160,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 17, + "line": 18, "column": 22 }, "end": { - "line": 17, + "line": 18, "column": 56 } }, "range": [ - 315, - 349 + 470, + 504 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 22 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 315, - 322 + 470, + 477 ], "name": "test262" }, @@ -1194,34 +1194,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 32 }, "end": { - "line": 17, + "line": 18, "column": 56 } }, "range": [ - 325, - 349 + 480, + 504 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 32 }, "end": { - "line": 17, + "line": 18, "column": 44 } }, "range": [ - 325, - 337 + 480, + 492 ], "name": "asyncFnParam" }, @@ -1229,17 +1229,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 47 }, "end": { - "line": 17, + "line": 18, "column": 56 } }, "range": [ - 340, - 349 + 495, + 504 ], "name": "arguments" } @@ -1253,67 +1253,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 59 }, "end": { - "line": 19, + "line": 20, "column": 5 } }, "range": [ - 352, - 386 + 507, + 541 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 18, + "line": 19, "column": 6 }, "end": { - "line": 18, + "line": 19, "column": 26 } }, "range": [ - 360, - 380 + 515, + 535 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 18, + "line": 19, "column": 6 }, "end": { - "line": 18, + "line": 19, "column": 25 } }, "range": [ - 360, - 379 + 515, + 534 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 6 }, "end": { - "line": 18, + "line": 19, "column": 13 } }, "range": [ - 360, - 367 + 515, + 522 ], "name": "asyncFn" }, @@ -1321,17 +1321,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 16 }, "end": { - "line": 18, + "line": 19, "column": 25 } }, "range": [ - 370, - 379 + 525, + 534 ], "name": "arguments" } @@ -1345,17 +1345,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 19, + "line": 20, "column": 23 } }, "range": [ - 388, - 404 + 543, + 559 ], "value": "async function", "raw": "'async function'" @@ -1373,49 +1373,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 23, + "line": 24, "column": 0 }, "end": { - "line": 23, + "line": 24, "column": 47 } }, "range": [ - 414, - 461 + 569, + 616 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 23, + "line": 24, "column": 0 }, "end": { - "line": 23, + "line": 24, "column": 46 } }, "range": [ - 414, - 460 + 569, + 615 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 23, + "line": 24, "column": 0 }, "end": { - "line": 23, + "line": 24, "column": 6 } }, "range": [ - 414, - 420 + 569, + 575 ], "name": "assert" }, @@ -1424,33 +1424,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 23, + "line": 24, "column": 7 }, "end": { - "line": 23, + "line": 24, "column": 37 } }, "range": [ - 421, - 451 + 576, + 606 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 23, + "line": 24, "column": 7 }, "end": { - "line": 23, + "line": 24, "column": 19 } }, "range": [ - 421, - 433 + 576, + 588 ], "name": "compareArray" }, @@ -1459,34 +1459,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 23, + "line": 24, "column": 20 }, "end": { - "line": 23, + "line": 24, "column": 32 } }, "range": [ - 434, - 446 + 589, + 601 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 23, + "line": 24, "column": 21 }, "end": { - "line": 23, + "line": 24, "column": 31 } }, "range": [ - 435, - 445 + 590, + 600 ], "value": "function", "raw": "'function'" @@ -1497,17 +1497,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 23, + "line": 24, "column": 34 }, "end": { - "line": 23, + "line": 24, "column": 36 } }, "range": [ - 448, - 450 + 603, + 605 ], "name": "fn" } @@ -1518,17 +1518,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 23, + "line": 24, "column": 39 }, "end": { - "line": 23, + "line": 24, "column": 45 } }, "range": [ - 453, - 459 + 608, + 614 ], "value": "body", "raw": "'body'" @@ -1541,49 +1541,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 57 } }, "range": [ - 462, - 519 + 617, + 674 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 56 } }, "range": [ - 462, - 518 + 617, + 673 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 6 } }, "range": [ - 462, - 468 + 617, + 623 ], "name": "assert" }, @@ -1592,33 +1592,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 24, + "line": 25, "column": 7 }, "end": { - "line": 24, + "line": 25, "column": 42 } }, "range": [ - 469, - 504 + 624, + 659 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 24, + "line": 25, "column": 7 }, "end": { - "line": 24, + "line": 25, "column": 19 } }, "range": [ - 469, - 481 + 624, + 636 ], "name": "compareArray" }, @@ -1627,34 +1627,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 24, + "line": 25, "column": 20 }, "end": { - "line": 24, + "line": 25, "column": 32 } }, "range": [ - 482, - 494 + 637, + 649 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 24, + "line": 25, "column": 21 }, "end": { - "line": 24, + "line": 25, "column": 31 } }, "range": [ - 483, - 493 + 638, + 648 ], "value": "function", "raw": "'function'" @@ -1665,17 +1665,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 24, + "line": 25, "column": 34 }, "end": { - "line": 24, + "line": 25, "column": 41 } }, "range": [ - 496, - 503 + 651, + 658 ], "name": "fnParam" } @@ -1686,17 +1686,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 24, + "line": 25, "column": 44 }, "end": { - "line": 24, + "line": 25, "column": 55 } }, "range": [ - 506, - 517 + 661, + 672 ], "value": "parameter", "raw": "'parameter'" @@ -1709,49 +1709,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 58 } }, "range": [ - 520, - 578 + 675, + 733 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 57 } }, "range": [ - 520, - 577 + 675, + 732 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 6 } }, "range": [ - 520, - 526 + 675, + 681 ], "name": "assert" }, @@ -1760,33 +1760,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 25, + "line": 26, "column": 7 }, "end": { - "line": 25, + "line": 26, "column": 48 } }, "range": [ - 527, - 568 + 682, + 723 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 7 }, "end": { - "line": 25, + "line": 26, "column": 19 } }, "range": [ - 527, - 539 + 682, + 694 ], "name": "compareArray" }, @@ -1795,34 +1795,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 25, + "line": 26, "column": 20 }, "end": { - "line": 25, + "line": 26, "column": 42 } }, "range": [ - 540, - 562 + 695, + 717 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 25, + "line": 26, "column": 21 }, "end": { - "line": 25, + "line": 26, "column": 41 } }, "range": [ - 541, - 561 + 696, + 716 ], "value": "generator function", "raw": "'generator function'" @@ -1833,17 +1833,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 44 }, "end": { - "line": 25, + "line": 26, "column": 47 } }, "range": [ - 564, - 567 + 719, + 722 ], "name": "gen" } @@ -1854,17 +1854,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 25, + "line": 26, "column": 50 }, "end": { - "line": 25, + "line": 26, "column": 56 } }, "range": [ - 570, - 576 + 725, + 731 ], "value": "body", "raw": "'body'" @@ -1877,49 +1877,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 26, + "line": 27, "column": 0 }, "end": { - "line": 26, + "line": 27, "column": 68 } }, "range": [ - 579, - 647 + 734, + 802 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 26, + "line": 27, "column": 0 }, "end": { - "line": 26, + "line": 27, "column": 67 } }, "range": [ - 579, - 646 + 734, + 801 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 26, + "line": 27, "column": 0 }, "end": { - "line": 26, + "line": 27, "column": 6 } }, "range": [ - 579, - 585 + 734, + 740 ], "name": "assert" }, @@ -1928,33 +1928,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 26, + "line": 27, "column": 7 }, "end": { - "line": 26, + "line": 27, "column": 53 } }, "range": [ - 586, - 632 + 741, + 787 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 26, + "line": 27, "column": 7 }, "end": { - "line": 26, + "line": 27, "column": 19 } }, "range": [ - 586, - 598 + 741, + 753 ], "name": "compareArray" }, @@ -1963,34 +1963,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 26, + "line": 27, "column": 20 }, "end": { - "line": 26, + "line": 27, "column": 42 } }, "range": [ - 599, - 621 + 754, + 776 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 26, + "line": 27, "column": 21 }, "end": { - "line": 26, + "line": 27, "column": 41 } }, "range": [ - 600, - 620 + 755, + 775 ], "value": "generator function", "raw": "'generator function'" @@ -2001,17 +2001,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 26, + "line": 27, "column": 44 }, "end": { - "line": 26, + "line": 27, "column": 52 } }, "range": [ - 623, - 631 + 778, + 786 ], "name": "genParam" } @@ -2022,17 +2022,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 26, + "line": 27, "column": 55 }, "end": { - "line": 26, + "line": 27, "column": 66 } }, "range": [ - 634, - 645 + 789, + 800 ], "value": "parameter", "raw": "'parameter'" @@ -2045,49 +2045,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 58 } }, "range": [ - 648, - 706 + 803, + 861 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 57 } }, "range": [ - 648, - 705 + 803, + 860 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 6 } }, "range": [ - 648, - 654 + 803, + 809 ], "name": "assert" }, @@ -2096,33 +2096,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 27, + "line": 28, "column": 7 }, "end": { - "line": 27, + "line": 28, "column": 48 } }, "range": [ - 655, - 696 + 810, + 851 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 27, + "line": 28, "column": 7 }, "end": { - "line": 27, + "line": 28, "column": 19 } }, "range": [ - 655, - 667 + 810, + 822 ], "name": "compareArray" }, @@ -2131,34 +2131,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 27, + "line": 28, "column": 20 }, "end": { - "line": 27, + "line": 28, "column": 38 } }, "range": [ - 668, - 686 + 823, + 841 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 27, + "line": 28, "column": 21 }, "end": { - "line": 27, + "line": 28, "column": 37 } }, "range": [ - 669, - 685 + 824, + 840 ], "value": "async function", "raw": "'async function'" @@ -2169,17 +2169,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 27, + "line": 28, "column": 40 }, "end": { - "line": 27, + "line": 28, "column": 47 } }, "range": [ - 688, - 695 + 843, + 850 ], "name": "asyncFn" } @@ -2190,17 +2190,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 27, + "line": 28, "column": 50 }, "end": { - "line": 27, + "line": 28, "column": 56 } }, "range": [ - 698, - 704 + 853, + 859 ], "value": "body", "raw": "'body'" @@ -2213,49 +2213,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 28, + "line": 29, "column": 0 }, "end": { - "line": 28, + "line": 29, "column": 68 } }, "range": [ - 707, - 775 + 862, + 930 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 28, + "line": 29, "column": 0 }, "end": { - "line": 28, + "line": 29, "column": 67 } }, "range": [ - 707, - 774 + 862, + 929 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 28, + "line": 29, "column": 0 }, "end": { - "line": 28, + "line": 29, "column": 6 } }, "range": [ - 707, - 713 + 862, + 868 ], "name": "assert" }, @@ -2264,33 +2264,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 28, + "line": 29, "column": 7 }, "end": { - "line": 28, + "line": 29, "column": 53 } }, "range": [ - 714, - 760 + 869, + 915 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 28, + "line": 29, "column": 7 }, "end": { - "line": 28, + "line": 29, "column": 19 } }, "range": [ - 714, - 726 + 869, + 881 ], "name": "compareArray" }, @@ -2299,34 +2299,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 28, + "line": 29, "column": 20 }, "end": { - "line": 28, + "line": 29, "column": 38 } }, "range": [ - 727, - 745 + 882, + 900 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 28, + "line": 29, "column": 21 }, "end": { - "line": 28, + "line": 29, "column": 37 } }, "range": [ - 728, - 744 + 883, + 899 ], "value": "async function", "raw": "'async function'" @@ -2337,17 +2337,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 28, + "line": 29, "column": 40 }, "end": { - "line": 28, + "line": 29, "column": 52 } }, "range": [ - 747, - 759 + 902, + 914 ], "name": "asyncFnParam" } @@ -2358,17 +2358,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 28, + "line": 29, "column": 55 }, "end": { - "line": 28, + "line": 29, "column": 66 } }, "range": [ - 762, - 773 + 917, + 928 ], "value": "parameter", "raw": "'parameter'" @@ -2385,17 +2385,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 157, + 160 ] }, { @@ -2403,17 +2403,17 @@ export default { "value": "fn", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 6 } }, "range": [ - 6, - 8 + 161, + 163 ] }, { @@ -2421,17 +2421,17 @@ export default { "value": ",", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 163, + 164 ] }, { @@ -2439,17 +2439,17 @@ export default { "value": "fnParam", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 15 } }, "range": [ - 10, - 17 + 165, + 172 ] }, { @@ -2457,17 +2457,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 15 }, "end": { - "line": 3, + "line": 4, "column": 16 } }, "range": [ - 17, - 18 + 172, + 173 ] }, { @@ -2475,17 +2475,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 19, - 22 + 174, + 177 ] }, { @@ -2493,17 +2493,17 @@ export default { "value": "gen", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 7 } }, "range": [ - 23, - 26 + 178, + 181 ] }, { @@ -2511,17 +2511,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 7 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 26, - 27 + 181, + 182 ] }, { @@ -2529,17 +2529,17 @@ export default { "value": "genParam", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 17 } }, "range": [ - 28, - 36 + 183, + 191 ] }, { @@ -2547,17 +2547,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 17 }, "end": { - "line": 4, + "line": 5, "column": 18 } }, "range": [ - 36, - 37 + 191, + 192 ] }, { @@ -2565,17 +2565,17 @@ export default { "value": "var", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 3 } }, "range": [ - 38, - 41 + 193, + 196 ] }, { @@ -2583,17 +2583,17 @@ export default { "value": "asyncFn", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 11 } }, "range": [ - 42, - 49 + 197, + 204 ] }, { @@ -2601,17 +2601,17 @@ export default { "value": ",", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 49, - 50 + 204, + 205 ] }, { @@ -2619,17 +2619,17 @@ export default { "value": "asyncFnParam", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 51, - 63 + 206, + 218 ] }, { @@ -2637,17 +2637,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 63, - 64 + 218, + 219 ] }, { @@ -2655,17 +2655,17 @@ export default { "value": "class", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 5 } }, "range": [ - 66, - 71 + 221, + 226 ] }, { @@ -2673,17 +2673,17 @@ export default { "value": "C", "loc": { "start": { - "line": 7, + "line": 8, "column": 6 }, "end": { - "line": 7, + "line": 8, "column": 7 } }, "range": [ - 72, - 73 + 227, + 228 ] }, { @@ -2691,17 +2691,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 9 } }, "range": [ - 74, - 75 + 229, + 230 ] }, { @@ -2709,17 +2709,17 @@ export default { "value": "static", "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 8 } }, "range": [ - 78, - 84 + 233, + 239 ] }, { @@ -2727,17 +2727,17 @@ export default { "value": "{", "loc": { "start": { - "line": 8, + "line": 9, "column": 9 }, "end": { - "line": 8, + "line": 9, "column": 10 } }, "range": [ - 85, - 86 + 240, + 241 ] }, { @@ -2745,17 +2745,17 @@ export default { "value": "(", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 5 } }, "range": [ - 91, - 92 + 246, + 247 ] }, { @@ -2763,17 +2763,17 @@ export default { "value": "function", "loc": { "start": { - "line": 9, + "line": 10, "column": 5 }, "end": { - "line": 9, + "line": 10, "column": 13 } }, "range": [ - 92, - 100 + 247, + 255 ] }, { @@ -2781,17 +2781,17 @@ export default { "value": "(", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 14 } }, "range": [ - 100, - 101 + 255, + 256 ] }, { @@ -2799,17 +2799,17 @@ export default { "value": "{", "loc": { "start": { - "line": 9, + "line": 10, "column": 14 }, "end": { - "line": 9, + "line": 10, "column": 15 } }, "range": [ - 101, - 102 + 256, + 257 ] }, { @@ -2817,17 +2817,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 9, + "line": 10, "column": 15 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 102, - 109 + 257, + 264 ] }, { @@ -2835,17 +2835,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 23 }, "end": { - "line": 9, + "line": 10, "column": 24 } }, "range": [ - 110, - 111 + 265, + 266 ] }, { @@ -2853,17 +2853,17 @@ export default { "value": "fnParam", "loc": { "start": { - "line": 9, + "line": 10, "column": 25 }, "end": { - "line": 9, + "line": 10, "column": 32 } }, "range": [ - 112, - 119 + 267, + 274 ] }, { @@ -2871,17 +2871,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 33 }, "end": { - "line": 9, + "line": 10, "column": 34 } }, "range": [ - 120, - 121 + 275, + 276 ] }, { @@ -2889,17 +2889,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 9, + "line": 10, "column": 35 }, "end": { - "line": 9, + "line": 10, "column": 44 } }, "range": [ - 122, - 131 + 277, + 286 ] }, { @@ -2907,17 +2907,17 @@ export default { "value": "}", "loc": { "start": { - "line": 9, + "line": 10, "column": 44 }, "end": { - "line": 9, + "line": 10, "column": 45 } }, "range": [ - 131, - 132 + 286, + 287 ] }, { @@ -2925,17 +2925,17 @@ export default { "value": ")", "loc": { "start": { - "line": 9, + "line": 10, "column": 45 }, "end": { - "line": 9, + "line": 10, "column": 46 } }, "range": [ - 132, - 133 + 287, + 288 ] }, { @@ -2943,17 +2943,17 @@ export default { "value": "{", "loc": { "start": { - "line": 9, + "line": 10, "column": 47 }, "end": { - "line": 9, + "line": 10, "column": 48 } }, "range": [ - 134, - 135 + 289, + 290 ] }, { @@ -2961,17 +2961,17 @@ export default { "value": "fn", "loc": { "start": { - "line": 10, + "line": 11, "column": 6 }, "end": { - "line": 10, + "line": 11, "column": 8 } }, "range": [ - 142, - 144 + 297, + 299 ] }, { @@ -2979,17 +2979,17 @@ export default { "value": "=", "loc": { "start": { - "line": 10, + "line": 11, "column": 9 }, "end": { - "line": 10, + "line": 11, "column": 10 } }, "range": [ - 145, - 146 + 300, + 301 ] }, { @@ -2997,17 +2997,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 10, + "line": 11, "column": 11 }, "end": { - "line": 10, + "line": 11, "column": 20 } }, "range": [ - 147, - 156 + 302, + 311 ] }, { @@ -3015,17 +3015,17 @@ export default { "value": ";", "loc": { "start": { - "line": 10, + "line": 11, "column": 20 }, "end": { - "line": 10, + "line": 11, "column": 21 } }, "range": [ - 156, - 157 + 311, + 312 ] }, { @@ -3033,17 +3033,17 @@ export default { "value": "}", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 5 } }, "range": [ - 162, - 163 + 317, + 318 ] }, { @@ -3051,17 +3051,17 @@ export default { "value": ")", "loc": { "start": { - "line": 11, + "line": 12, "column": 5 }, "end": { - "line": 11, + "line": 12, "column": 6 } }, "range": [ - 163, - 164 + 318, + 319 ] }, { @@ -3069,17 +3069,17 @@ export default { "value": "(", "loc": { "start": { - "line": 11, + "line": 12, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 164, - 165 + 319, + 320 ] }, { @@ -3087,17 +3087,17 @@ export default { "value": "'function'", "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 11, + "line": 12, "column": 17 } }, "range": [ - 165, - 175 + 320, + 330 ] }, { @@ -3105,17 +3105,17 @@ export default { "value": ")", "loc": { "start": { - "line": 11, + "line": 12, "column": 17 }, "end": { - "line": 11, + "line": 12, "column": 18 } }, "range": [ - 175, - 176 + 330, + 331 ] }, { @@ -3123,17 +3123,17 @@ export default { "value": ";", "loc": { "start": { - "line": 11, + "line": 12, "column": 18 }, "end": { - "line": 11, + "line": 12, "column": 19 } }, "range": [ - 176, - 177 + 331, + 332 ] }, { @@ -3141,17 +3141,17 @@ export default { "value": "(", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 13, + "line": 14, "column": 5 } }, "range": [ - 183, - 184 + 338, + 339 ] }, { @@ -3159,17 +3159,17 @@ export default { "value": "function", "loc": { "start": { - "line": 13, + "line": 14, "column": 5 }, "end": { - "line": 13, + "line": 14, "column": 13 } }, "range": [ - 184, - 192 + 339, + 347 ] }, { @@ -3177,17 +3177,17 @@ export default { "value": "*", "loc": { "start": { - "line": 13, + "line": 14, "column": 14 }, "end": { - "line": 13, + "line": 14, "column": 15 } }, "range": [ - 193, - 194 + 348, + 349 ] }, { @@ -3195,17 +3195,17 @@ export default { "value": "(", "loc": { "start": { - "line": 13, + "line": 14, "column": 16 }, "end": { - "line": 13, + "line": 14, "column": 17 } }, "range": [ - 195, - 196 + 350, + 351 ] }, { @@ -3213,17 +3213,17 @@ export default { "value": "{", "loc": { "start": { - "line": 13, + "line": 14, "column": 17 }, "end": { - "line": 13, + "line": 14, "column": 18 } }, "range": [ - 196, - 197 + 351, + 352 ] }, { @@ -3231,17 +3231,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 13, + "line": 14, "column": 18 }, "end": { - "line": 13, + "line": 14, "column": 25 } }, "range": [ - 197, - 204 + 352, + 359 ] }, { @@ -3249,17 +3249,17 @@ export default { "value": "=", "loc": { "start": { - "line": 13, + "line": 14, "column": 26 }, "end": { - "line": 13, + "line": 14, "column": 27 } }, "range": [ - 205, - 206 + 360, + 361 ] }, { @@ -3267,17 +3267,17 @@ export default { "value": "genParam", "loc": { "start": { - "line": 13, + "line": 14, "column": 28 }, "end": { - "line": 13, + "line": 14, "column": 36 } }, "range": [ - 207, - 215 + 362, + 370 ] }, { @@ -3285,17 +3285,17 @@ export default { "value": "=", "loc": { "start": { - "line": 13, + "line": 14, "column": 37 }, "end": { - "line": 13, + "line": 14, "column": 38 } }, "range": [ - 216, - 217 + 371, + 372 ] }, { @@ -3303,17 +3303,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 13, + "line": 14, "column": 39 }, "end": { - "line": 13, + "line": 14, "column": 48 } }, "range": [ - 218, - 227 + 373, + 382 ] }, { @@ -3321,17 +3321,17 @@ export default { "value": "}", "loc": { "start": { - "line": 13, + "line": 14, "column": 48 }, "end": { - "line": 13, + "line": 14, "column": 49 } }, "range": [ - 227, - 228 + 382, + 383 ] }, { @@ -3339,17 +3339,17 @@ export default { "value": ")", "loc": { "start": { - "line": 13, + "line": 14, "column": 49 }, "end": { - "line": 13, + "line": 14, "column": 50 } }, "range": [ - 228, - 229 + 383, + 384 ] }, { @@ -3357,17 +3357,17 @@ export default { "value": "{", "loc": { "start": { - "line": 13, + "line": 14, "column": 51 }, "end": { - "line": 13, + "line": 14, "column": 52 } }, "range": [ - 230, - 231 + 385, + 386 ] }, { @@ -3375,17 +3375,17 @@ export default { "value": "gen", "loc": { "start": { - "line": 14, + "line": 15, "column": 6 }, "end": { - "line": 14, + "line": 15, "column": 9 } }, "range": [ - 238, - 241 + 393, + 396 ] }, { @@ -3393,17 +3393,17 @@ export default { "value": "=", "loc": { "start": { - "line": 14, + "line": 15, "column": 10 }, "end": { - "line": 14, + "line": 15, "column": 11 } }, "range": [ - 242, - 243 + 397, + 398 ] }, { @@ -3411,17 +3411,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 14, + "line": 15, "column": 12 }, "end": { - "line": 14, + "line": 15, "column": 21 } }, "range": [ - 244, - 253 + 399, + 408 ] }, { @@ -3429,17 +3429,17 @@ export default { "value": ";", "loc": { "start": { - "line": 14, + "line": 15, "column": 21 }, "end": { - "line": 14, + "line": 15, "column": 22 } }, "range": [ - 253, - 254 + 408, + 409 ] }, { @@ -3447,17 +3447,17 @@ export default { "value": "}", "loc": { "start": { - "line": 15, + "line": 16, "column": 4 }, "end": { - "line": 15, + "line": 16, "column": 5 } }, "range": [ - 259, - 260 + 414, + 415 ] }, { @@ -3465,17 +3465,17 @@ export default { "value": ")", "loc": { "start": { - "line": 15, + "line": 16, "column": 5 }, "end": { - "line": 15, + "line": 16, "column": 6 } }, "range": [ - 260, - 261 + 415, + 416 ] }, { @@ -3483,17 +3483,17 @@ export default { "value": "(", "loc": { "start": { - "line": 15, + "line": 16, "column": 6 }, "end": { - "line": 15, + "line": 16, "column": 7 } }, "range": [ - 261, - 262 + 416, + 417 ] }, { @@ -3501,17 +3501,17 @@ export default { "value": "'generator function'", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 27 } }, "range": [ - 262, - 282 + 417, + 437 ] }, { @@ -3519,17 +3519,17 @@ export default { "value": ")", "loc": { "start": { - "line": 15, + "line": 16, "column": 27 }, "end": { - "line": 15, + "line": 16, "column": 28 } }, "range": [ - 282, - 283 + 437, + 438 ] }, { @@ -3537,17 +3537,17 @@ export default { "value": ".", "loc": { "start": { - "line": 15, + "line": 16, "column": 28 }, "end": { - "line": 15, + "line": 16, "column": 29 } }, "range": [ - 283, - 284 + 438, + 439 ] }, { @@ -3555,17 +3555,17 @@ export default { "value": "next", "loc": { "start": { - "line": 15, + "line": 16, "column": 29 }, "end": { - "line": 15, + "line": 16, "column": 33 } }, "range": [ - 284, - 288 + 439, + 443 ] }, { @@ -3573,17 +3573,17 @@ export default { "value": "(", "loc": { "start": { - "line": 15, + "line": 16, "column": 33 }, "end": { - "line": 15, + "line": 16, "column": 34 } }, "range": [ - 288, - 289 + 443, + 444 ] }, { @@ -3591,17 +3591,17 @@ export default { "value": ")", "loc": { "start": { - "line": 15, + "line": 16, "column": 34 }, "end": { - "line": 15, + "line": 16, "column": 35 } }, "range": [ - 289, - 290 + 444, + 445 ] }, { @@ -3609,17 +3609,17 @@ export default { "value": ";", "loc": { "start": { - "line": 15, + "line": 16, "column": 35 }, "end": { - "line": 15, + "line": 16, "column": 36 } }, "range": [ - 290, - 291 + 445, + 446 ] }, { @@ -3627,17 +3627,17 @@ export default { "value": "(", "loc": { "start": { - "line": 17, + "line": 18, "column": 4 }, "end": { - "line": 17, + "line": 18, "column": 5 } }, "range": [ - 297, - 298 + 452, + 453 ] }, { @@ -3645,17 +3645,17 @@ export default { "value": "async", "loc": { "start": { - "line": 17, + "line": 18, "column": 5 }, "end": { - "line": 17, + "line": 18, "column": 10 } }, "range": [ - 298, - 303 + 453, + 458 ] }, { @@ -3663,17 +3663,17 @@ export default { "value": "function", "loc": { "start": { - "line": 17, + "line": 18, "column": 11 }, "end": { - "line": 17, + "line": 18, "column": 19 } }, "range": [ - 304, - 312 + 459, + 467 ] }, { @@ -3681,17 +3681,17 @@ export default { "value": "(", "loc": { "start": { - "line": 17, + "line": 18, "column": 20 }, "end": { - "line": 17, + "line": 18, "column": 21 } }, "range": [ - 313, - 314 + 468, + 469 ] }, { @@ -3699,17 +3699,17 @@ export default { "value": "{", "loc": { "start": { - "line": 17, + "line": 18, "column": 21 }, "end": { - "line": 17, + "line": 18, "column": 22 } }, "range": [ - 314, - 315 + 469, + 470 ] }, { @@ -3717,17 +3717,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 17, + "line": 18, "column": 22 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 315, - 322 + 470, + 477 ] }, { @@ -3735,17 +3735,17 @@ export default { "value": "=", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 31 } }, "range": [ - 323, - 324 + 478, + 479 ] }, { @@ -3753,17 +3753,17 @@ export default { "value": "asyncFnParam", "loc": { "start": { - "line": 17, + "line": 18, "column": 32 }, "end": { - "line": 17, + "line": 18, "column": 44 } }, "range": [ - 325, - 337 + 480, + 492 ] }, { @@ -3771,17 +3771,17 @@ export default { "value": "=", "loc": { "start": { - "line": 17, + "line": 18, "column": 45 }, "end": { - "line": 17, + "line": 18, "column": 46 } }, "range": [ - 338, - 339 + 493, + 494 ] }, { @@ -3789,17 +3789,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 17, + "line": 18, "column": 47 }, "end": { - "line": 17, + "line": 18, "column": 56 } }, "range": [ - 340, - 349 + 495, + 504 ] }, { @@ -3807,17 +3807,17 @@ export default { "value": "}", "loc": { "start": { - "line": 17, + "line": 18, "column": 56 }, "end": { - "line": 17, + "line": 18, "column": 57 } }, "range": [ - 349, - 350 + 504, + 505 ] }, { @@ -3825,17 +3825,17 @@ export default { "value": ")", "loc": { "start": { - "line": 17, + "line": 18, "column": 57 }, "end": { - "line": 17, + "line": 18, "column": 58 } }, "range": [ - 350, - 351 + 505, + 506 ] }, { @@ -3843,17 +3843,17 @@ export default { "value": "{", "loc": { "start": { - "line": 17, + "line": 18, "column": 59 }, "end": { - "line": 17, + "line": 18, "column": 60 } }, "range": [ - 352, - 353 + 507, + 508 ] }, { @@ -3861,17 +3861,17 @@ export default { "value": "asyncFn", "loc": { "start": { - "line": 18, + "line": 19, "column": 6 }, "end": { - "line": 18, + "line": 19, "column": 13 } }, "range": [ - 360, - 367 + 515, + 522 ] }, { @@ -3879,17 +3879,17 @@ export default { "value": "=", "loc": { "start": { - "line": 18, + "line": 19, "column": 14 }, "end": { - "line": 18, + "line": 19, "column": 15 } }, "range": [ - 368, - 369 + 523, + 524 ] }, { @@ -3897,17 +3897,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 18, + "line": 19, "column": 16 }, "end": { - "line": 18, + "line": 19, "column": 25 } }, "range": [ - 370, - 379 + 525, + 534 ] }, { @@ -3915,17 +3915,17 @@ export default { "value": ";", "loc": { "start": { - "line": 18, + "line": 19, "column": 25 }, "end": { - "line": 18, + "line": 19, "column": 26 } }, "range": [ - 379, - 380 + 534, + 535 ] }, { @@ -3933,17 +3933,17 @@ export default { "value": "}", "loc": { "start": { - "line": 19, + "line": 20, "column": 4 }, "end": { - "line": 19, + "line": 20, "column": 5 } }, "range": [ - 385, - 386 + 540, + 541 ] }, { @@ -3951,17 +3951,17 @@ export default { "value": ")", "loc": { "start": { - "line": 19, + "line": 20, "column": 5 }, "end": { - "line": 19, + "line": 20, "column": 6 } }, "range": [ - 386, - 387 + 541, + 542 ] }, { @@ -3969,17 +3969,17 @@ export default { "value": "(", "loc": { "start": { - "line": 19, + "line": 20, "column": 6 }, "end": { - "line": 19, + "line": 20, "column": 7 } }, "range": [ - 387, - 388 + 542, + 543 ] }, { @@ -3987,17 +3987,17 @@ export default { "value": "'async function'", "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 19, + "line": 20, "column": 23 } }, "range": [ - 388, - 404 + 543, + 559 ] }, { @@ -4005,17 +4005,17 @@ export default { "value": ")", "loc": { "start": { - "line": 19, + "line": 20, "column": 23 }, "end": { - "line": 19, + "line": 20, "column": 24 } }, "range": [ - 404, - 405 + 559, + 560 ] }, { @@ -4023,17 +4023,17 @@ export default { "value": ";", "loc": { "start": { - "line": 19, + "line": 20, "column": 24 }, "end": { - "line": 19, + "line": 20, "column": 25 } }, "range": [ - 405, - 406 + 560, + 561 ] }, { @@ -4041,17 +4041,17 @@ export default { "value": "}", "loc": { "start": { - "line": 20, + "line": 21, "column": 2 }, "end": { - "line": 20, + "line": 21, "column": 3 } }, "range": [ - 409, - 410 + 564, + 565 ] }, { @@ -4059,17 +4059,17 @@ export default { "value": "}", "loc": { "start": { - "line": 21, + "line": 22, "column": 0 }, "end": { - "line": 21, + "line": 22, "column": 1 } }, "range": [ - 411, - 412 + 566, + 567 ] }, { @@ -4077,17 +4077,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 23, + "line": 24, "column": 0 }, "end": { - "line": 23, + "line": 24, "column": 6 } }, "range": [ - 414, - 420 + 569, + 575 ] }, { @@ -4095,17 +4095,17 @@ export default { "value": "(", "loc": { "start": { - "line": 23, + "line": 24, "column": 6 }, "end": { - "line": 23, + "line": 24, "column": 7 } }, "range": [ - 420, - 421 + 575, + 576 ] }, { @@ -4113,17 +4113,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 23, + "line": 24, "column": 7 }, "end": { - "line": 23, + "line": 24, "column": 19 } }, "range": [ - 421, - 433 + 576, + 588 ] }, { @@ -4131,17 +4131,17 @@ export default { "value": "(", "loc": { "start": { - "line": 23, + "line": 24, "column": 19 }, "end": { - "line": 23, + "line": 24, "column": 20 } }, "range": [ - 433, - 434 + 588, + 589 ] }, { @@ -4149,17 +4149,17 @@ export default { "value": "[", "loc": { "start": { - "line": 23, + "line": 24, "column": 20 }, "end": { - "line": 23, + "line": 24, "column": 21 } }, "range": [ - 434, - 435 + 589, + 590 ] }, { @@ -4167,17 +4167,17 @@ export default { "value": "'function'", "loc": { "start": { - "line": 23, + "line": 24, "column": 21 }, "end": { - "line": 23, + "line": 24, "column": 31 } }, "range": [ - 435, - 445 + 590, + 600 ] }, { @@ -4185,17 +4185,17 @@ export default { "value": "]", "loc": { "start": { - "line": 23, + "line": 24, "column": 31 }, "end": { - "line": 23, + "line": 24, "column": 32 } }, "range": [ - 445, - 446 + 600, + 601 ] }, { @@ -4203,17 +4203,17 @@ export default { "value": ",", "loc": { "start": { - "line": 23, + "line": 24, "column": 32 }, "end": { - "line": 23, + "line": 24, "column": 33 } }, "range": [ - 446, - 447 + 601, + 602 ] }, { @@ -4221,17 +4221,17 @@ export default { "value": "fn", "loc": { "start": { - "line": 23, + "line": 24, "column": 34 }, "end": { - "line": 23, + "line": 24, "column": 36 } }, "range": [ - 448, - 450 + 603, + 605 ] }, { @@ -4239,17 +4239,17 @@ export default { "value": ")", "loc": { "start": { - "line": 23, + "line": 24, "column": 36 }, "end": { - "line": 23, + "line": 24, "column": 37 } }, "range": [ - 450, - 451 + 605, + 606 ] }, { @@ -4257,17 +4257,17 @@ export default { "value": ",", "loc": { "start": { - "line": 23, + "line": 24, "column": 37 }, "end": { - "line": 23, + "line": 24, "column": 38 } }, "range": [ - 451, - 452 + 606, + 607 ] }, { @@ -4275,17 +4275,17 @@ export default { "value": "'body'", "loc": { "start": { - "line": 23, + "line": 24, "column": 39 }, "end": { - "line": 23, + "line": 24, "column": 45 } }, "range": [ - 453, - 459 + 608, + 614 ] }, { @@ -4293,17 +4293,17 @@ export default { "value": ")", "loc": { "start": { - "line": 23, + "line": 24, "column": 45 }, "end": { - "line": 23, + "line": 24, "column": 46 } }, "range": [ - 459, - 460 + 614, + 615 ] }, { @@ -4311,17 +4311,17 @@ export default { "value": ";", "loc": { "start": { - "line": 23, + "line": 24, "column": 46 }, "end": { - "line": 23, + "line": 24, "column": 47 } }, "range": [ - 460, - 461 + 615, + 616 ] }, { @@ -4329,17 +4329,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 24, + "line": 25, "column": 0 }, "end": { - "line": 24, + "line": 25, "column": 6 } }, "range": [ - 462, - 468 + 617, + 623 ] }, { @@ -4347,17 +4347,17 @@ export default { "value": "(", "loc": { "start": { - "line": 24, + "line": 25, "column": 6 }, "end": { - "line": 24, + "line": 25, "column": 7 } }, "range": [ - 468, - 469 + 623, + 624 ] }, { @@ -4365,17 +4365,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 24, + "line": 25, "column": 7 }, "end": { - "line": 24, + "line": 25, "column": 19 } }, "range": [ - 469, - 481 + 624, + 636 ] }, { @@ -4383,17 +4383,17 @@ export default { "value": "(", "loc": { "start": { - "line": 24, + "line": 25, "column": 19 }, "end": { - "line": 24, + "line": 25, "column": 20 } }, "range": [ - 481, - 482 + 636, + 637 ] }, { @@ -4401,17 +4401,17 @@ export default { "value": "[", "loc": { "start": { - "line": 24, + "line": 25, "column": 20 }, "end": { - "line": 24, + "line": 25, "column": 21 } }, "range": [ - 482, - 483 + 637, + 638 ] }, { @@ -4419,17 +4419,17 @@ export default { "value": "'function'", "loc": { "start": { - "line": 24, + "line": 25, "column": 21 }, "end": { - "line": 24, + "line": 25, "column": 31 } }, "range": [ - 483, - 493 + 638, + 648 ] }, { @@ -4437,17 +4437,17 @@ export default { "value": "]", "loc": { "start": { - "line": 24, + "line": 25, "column": 31 }, "end": { - "line": 24, + "line": 25, "column": 32 } }, "range": [ - 493, - 494 + 648, + 649 ] }, { @@ -4455,17 +4455,17 @@ export default { "value": ",", "loc": { "start": { - "line": 24, + "line": 25, "column": 32 }, "end": { - "line": 24, + "line": 25, "column": 33 } }, "range": [ - 494, - 495 + 649, + 650 ] }, { @@ -4473,17 +4473,17 @@ export default { "value": "fnParam", "loc": { "start": { - "line": 24, + "line": 25, "column": 34 }, "end": { - "line": 24, + "line": 25, "column": 41 } }, "range": [ - 496, - 503 + 651, + 658 ] }, { @@ -4491,17 +4491,17 @@ export default { "value": ")", "loc": { "start": { - "line": 24, + "line": 25, "column": 41 }, "end": { - "line": 24, + "line": 25, "column": 42 } }, "range": [ - 503, - 504 + 658, + 659 ] }, { @@ -4509,17 +4509,17 @@ export default { "value": ",", "loc": { "start": { - "line": 24, + "line": 25, "column": 42 }, "end": { - "line": 24, + "line": 25, "column": 43 } }, "range": [ - 504, - 505 + 659, + 660 ] }, { @@ -4527,17 +4527,17 @@ export default { "value": "'parameter'", "loc": { "start": { - "line": 24, + "line": 25, "column": 44 }, "end": { - "line": 24, + "line": 25, "column": 55 } }, "range": [ - 506, - 517 + 661, + 672 ] }, { @@ -4545,17 +4545,17 @@ export default { "value": ")", "loc": { "start": { - "line": 24, + "line": 25, "column": 55 }, "end": { - "line": 24, + "line": 25, "column": 56 } }, "range": [ - 517, - 518 + 672, + 673 ] }, { @@ -4563,17 +4563,17 @@ export default { "value": ";", "loc": { "start": { - "line": 24, + "line": 25, "column": 56 }, "end": { - "line": 24, + "line": 25, "column": 57 } }, "range": [ - 518, - 519 + 673, + 674 ] }, { @@ -4581,17 +4581,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 25, + "line": 26, "column": 0 }, "end": { - "line": 25, + "line": 26, "column": 6 } }, "range": [ - 520, - 526 + 675, + 681 ] }, { @@ -4599,17 +4599,17 @@ export default { "value": "(", "loc": { "start": { - "line": 25, + "line": 26, "column": 6 }, "end": { - "line": 25, + "line": 26, "column": 7 } }, "range": [ - 526, - 527 + 681, + 682 ] }, { @@ -4617,17 +4617,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 25, + "line": 26, "column": 7 }, "end": { - "line": 25, + "line": 26, "column": 19 } }, "range": [ - 527, - 539 + 682, + 694 ] }, { @@ -4635,17 +4635,17 @@ export default { "value": "(", "loc": { "start": { - "line": 25, + "line": 26, "column": 19 }, "end": { - "line": 25, + "line": 26, "column": 20 } }, "range": [ - 539, - 540 + 694, + 695 ] }, { @@ -4653,17 +4653,17 @@ export default { "value": "[", "loc": { "start": { - "line": 25, + "line": 26, "column": 20 }, "end": { - "line": 25, + "line": 26, "column": 21 } }, "range": [ - 540, - 541 + 695, + 696 ] }, { @@ -4671,17 +4671,17 @@ export default { "value": "'generator function'", "loc": { "start": { - "line": 25, + "line": 26, "column": 21 }, "end": { - "line": 25, + "line": 26, "column": 41 } }, "range": [ - 541, - 561 + 696, + 716 ] }, { @@ -4689,17 +4689,17 @@ export default { "value": "]", "loc": { "start": { - "line": 25, + "line": 26, "column": 41 }, "end": { - "line": 25, + "line": 26, "column": 42 } }, "range": [ - 561, - 562 + 716, + 717 ] }, { @@ -4707,17 +4707,17 @@ export default { "value": ",", "loc": { "start": { - "line": 25, + "line": 26, "column": 42 }, "end": { - "line": 25, + "line": 26, "column": 43 } }, "range": [ - 562, - 563 + 717, + 718 ] }, { @@ -4725,17 +4725,17 @@ export default { "value": "gen", "loc": { "start": { - "line": 25, + "line": 26, "column": 44 }, "end": { - "line": 25, + "line": 26, "column": 47 } }, "range": [ - 564, - 567 + 719, + 722 ] }, { @@ -4743,17 +4743,17 @@ export default { "value": ")", "loc": { "start": { - "line": 25, + "line": 26, "column": 47 }, "end": { - "line": 25, + "line": 26, "column": 48 } }, "range": [ - 567, - 568 + 722, + 723 ] }, { @@ -4761,17 +4761,17 @@ export default { "value": ",", "loc": { "start": { - "line": 25, + "line": 26, "column": 48 }, "end": { - "line": 25, + "line": 26, "column": 49 } }, "range": [ - 568, - 569 + 723, + 724 ] }, { @@ -4779,17 +4779,17 @@ export default { "value": "'body'", "loc": { "start": { - "line": 25, + "line": 26, "column": 50 }, "end": { - "line": 25, + "line": 26, "column": 56 } }, "range": [ - 570, - 576 + 725, + 731 ] }, { @@ -4797,17 +4797,17 @@ export default { "value": ")", "loc": { "start": { - "line": 25, + "line": 26, "column": 56 }, "end": { - "line": 25, + "line": 26, "column": 57 } }, "range": [ - 576, - 577 + 731, + 732 ] }, { @@ -4815,17 +4815,17 @@ export default { "value": ";", "loc": { "start": { - "line": 25, + "line": 26, "column": 57 }, "end": { - "line": 25, + "line": 26, "column": 58 } }, "range": [ - 577, - 578 + 732, + 733 ] }, { @@ -4833,17 +4833,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 26, + "line": 27, "column": 0 }, "end": { - "line": 26, + "line": 27, "column": 6 } }, "range": [ - 579, - 585 + 734, + 740 ] }, { @@ -4851,17 +4851,17 @@ export default { "value": "(", "loc": { "start": { - "line": 26, + "line": 27, "column": 6 }, "end": { - "line": 26, + "line": 27, "column": 7 } }, "range": [ - 585, - 586 + 740, + 741 ] }, { @@ -4869,17 +4869,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 26, + "line": 27, "column": 7 }, "end": { - "line": 26, + "line": 27, "column": 19 } }, "range": [ - 586, - 598 + 741, + 753 ] }, { @@ -4887,17 +4887,17 @@ export default { "value": "(", "loc": { "start": { - "line": 26, + "line": 27, "column": 19 }, "end": { - "line": 26, + "line": 27, "column": 20 } }, "range": [ - 598, - 599 + 753, + 754 ] }, { @@ -4905,17 +4905,17 @@ export default { "value": "[", "loc": { "start": { - "line": 26, + "line": 27, "column": 20 }, "end": { - "line": 26, + "line": 27, "column": 21 } }, "range": [ - 599, - 600 + 754, + 755 ] }, { @@ -4923,17 +4923,17 @@ export default { "value": "'generator function'", "loc": { "start": { - "line": 26, + "line": 27, "column": 21 }, "end": { - "line": 26, + "line": 27, "column": 41 } }, "range": [ - 600, - 620 + 755, + 775 ] }, { @@ -4941,17 +4941,17 @@ export default { "value": "]", "loc": { "start": { - "line": 26, + "line": 27, "column": 41 }, "end": { - "line": 26, + "line": 27, "column": 42 } }, "range": [ - 620, - 621 + 775, + 776 ] }, { @@ -4959,17 +4959,17 @@ export default { "value": ",", "loc": { "start": { - "line": 26, + "line": 27, "column": 42 }, "end": { - "line": 26, + "line": 27, "column": 43 } }, "range": [ - 621, - 622 + 776, + 777 ] }, { @@ -4977,17 +4977,17 @@ export default { "value": "genParam", "loc": { "start": { - "line": 26, + "line": 27, "column": 44 }, "end": { - "line": 26, + "line": 27, "column": 52 } }, "range": [ - 623, - 631 + 778, + 786 ] }, { @@ -4995,17 +4995,17 @@ export default { "value": ")", "loc": { "start": { - "line": 26, + "line": 27, "column": 52 }, "end": { - "line": 26, + "line": 27, "column": 53 } }, "range": [ - 631, - 632 + 786, + 787 ] }, { @@ -5013,17 +5013,17 @@ export default { "value": ",", "loc": { "start": { - "line": 26, + "line": 27, "column": 53 }, "end": { - "line": 26, + "line": 27, "column": 54 } }, "range": [ - 632, - 633 + 787, + 788 ] }, { @@ -5031,17 +5031,17 @@ export default { "value": "'parameter'", "loc": { "start": { - "line": 26, + "line": 27, "column": 55 }, "end": { - "line": 26, + "line": 27, "column": 66 } }, "range": [ - 634, - 645 + 789, + 800 ] }, { @@ -5049,17 +5049,17 @@ export default { "value": ")", "loc": { "start": { - "line": 26, + "line": 27, "column": 66 }, "end": { - "line": 26, + "line": 27, "column": 67 } }, "range": [ - 645, - 646 + 800, + 801 ] }, { @@ -5067,17 +5067,17 @@ export default { "value": ";", "loc": { "start": { - "line": 26, + "line": 27, "column": 67 }, "end": { - "line": 26, + "line": 27, "column": 68 } }, "range": [ - 646, - 647 + 801, + 802 ] }, { @@ -5085,17 +5085,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 27, + "line": 28, "column": 0 }, "end": { - "line": 27, + "line": 28, "column": 6 } }, "range": [ - 648, - 654 + 803, + 809 ] }, { @@ -5103,17 +5103,17 @@ export default { "value": "(", "loc": { "start": { - "line": 27, + "line": 28, "column": 6 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "range": [ - 654, - 655 + 809, + 810 ] }, { @@ -5121,17 +5121,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 27, + "line": 28, "column": 7 }, "end": { - "line": 27, + "line": 28, "column": 19 } }, "range": [ - 655, - 667 + 810, + 822 ] }, { @@ -5139,17 +5139,17 @@ export default { "value": "(", "loc": { "start": { - "line": 27, + "line": 28, "column": 19 }, "end": { - "line": 27, + "line": 28, "column": 20 } }, "range": [ - 667, - 668 + 822, + 823 ] }, { @@ -5157,17 +5157,17 @@ export default { "value": "[", "loc": { "start": { - "line": 27, + "line": 28, "column": 20 }, "end": { - "line": 27, + "line": 28, "column": 21 } }, "range": [ - 668, - 669 + 823, + 824 ] }, { @@ -5175,17 +5175,17 @@ export default { "value": "'async function'", "loc": { "start": { - "line": 27, + "line": 28, "column": 21 }, "end": { - "line": 27, + "line": 28, "column": 37 } }, "range": [ - 669, - 685 + 824, + 840 ] }, { @@ -5193,17 +5193,17 @@ export default { "value": "]", "loc": { "start": { - "line": 27, + "line": 28, "column": 37 }, "end": { - "line": 27, + "line": 28, "column": 38 } }, "range": [ - 685, - 686 + 840, + 841 ] }, { @@ -5211,17 +5211,17 @@ export default { "value": ",", "loc": { "start": { - "line": 27, + "line": 28, "column": 38 }, "end": { - "line": 27, + "line": 28, "column": 39 } }, "range": [ - 686, - 687 + 841, + 842 ] }, { @@ -5229,17 +5229,17 @@ export default { "value": "asyncFn", "loc": { "start": { - "line": 27, + "line": 28, "column": 40 }, "end": { - "line": 27, + "line": 28, "column": 47 } }, "range": [ - 688, - 695 + 843, + 850 ] }, { @@ -5247,17 +5247,17 @@ export default { "value": ")", "loc": { "start": { - "line": 27, + "line": 28, "column": 47 }, "end": { - "line": 27, + "line": 28, "column": 48 } }, "range": [ - 695, - 696 + 850, + 851 ] }, { @@ -5265,17 +5265,17 @@ export default { "value": ",", "loc": { "start": { - "line": 27, + "line": 28, "column": 48 }, "end": { - "line": 27, + "line": 28, "column": 49 } }, "range": [ - 696, - 697 + 851, + 852 ] }, { @@ -5283,17 +5283,17 @@ export default { "value": "'body'", "loc": { "start": { - "line": 27, + "line": 28, "column": 50 }, "end": { - "line": 27, + "line": 28, "column": 56 } }, "range": [ - 698, - 704 + 853, + 859 ] }, { @@ -5301,17 +5301,17 @@ export default { "value": ")", "loc": { "start": { - "line": 27, + "line": 28, "column": 56 }, "end": { - "line": 27, + "line": 28, "column": 57 } }, "range": [ - 704, - 705 + 859, + 860 ] }, { @@ -5319,17 +5319,17 @@ export default { "value": ";", "loc": { "start": { - "line": 27, + "line": 28, "column": 57 }, "end": { - "line": 27, + "line": 28, "column": 58 } }, "range": [ - 705, - 706 + 860, + 861 ] }, { @@ -5337,17 +5337,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 28, + "line": 29, "column": 0 }, "end": { - "line": 28, + "line": 29, "column": 6 } }, "range": [ - 707, - 713 + 862, + 868 ] }, { @@ -5355,17 +5355,17 @@ export default { "value": "(", "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 7 } }, "range": [ - 713, - 714 + 868, + 869 ] }, { @@ -5373,17 +5373,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 28, + "line": 29, "column": 7 }, "end": { - "line": 28, + "line": 29, "column": 19 } }, "range": [ - 714, - 726 + 869, + 881 ] }, { @@ -5391,17 +5391,17 @@ export default { "value": "(", "loc": { "start": { - "line": 28, + "line": 29, "column": 19 }, "end": { - "line": 28, + "line": 29, "column": 20 } }, "range": [ - 726, - 727 + 881, + 882 ] }, { @@ -5409,17 +5409,17 @@ export default { "value": "[", "loc": { "start": { - "line": 28, + "line": 29, "column": 20 }, "end": { - "line": 28, + "line": 29, "column": 21 } }, "range": [ - 727, - 728 + 882, + 883 ] }, { @@ -5427,17 +5427,17 @@ export default { "value": "'async function'", "loc": { "start": { - "line": 28, + "line": 29, "column": 21 }, "end": { - "line": 28, + "line": 29, "column": 37 } }, "range": [ - 728, - 744 + 883, + 899 ] }, { @@ -5445,17 +5445,17 @@ export default { "value": "]", "loc": { "start": { - "line": 28, + "line": 29, "column": 37 }, "end": { - "line": 28, + "line": 29, "column": 38 } }, "range": [ - 744, - 745 + 899, + 900 ] }, { @@ -5463,17 +5463,17 @@ export default { "value": ",", "loc": { "start": { - "line": 28, + "line": 29, "column": 38 }, "end": { - "line": 28, + "line": 29, "column": 39 } }, "range": [ - 745, - 746 + 900, + 901 ] }, { @@ -5481,17 +5481,17 @@ export default { "value": "asyncFnParam", "loc": { "start": { - "line": 28, + "line": 29, "column": 40 }, "end": { - "line": 28, + "line": 29, "column": 52 } }, "range": [ - 747, - 759 + 902, + 914 ] }, { @@ -5499,17 +5499,17 @@ export default { "value": ")", "loc": { "start": { - "line": 28, + "line": 29, "column": 52 }, "end": { - "line": 28, + "line": 29, "column": 53 } }, "range": [ - 759, - 760 + 914, + 915 ] }, { @@ -5517,17 +5517,17 @@ export default { "value": ",", "loc": { "start": { - "line": 28, + "line": 29, "column": 53 }, "end": { - "line": 28, + "line": 29, "column": 54 } }, "range": [ - 760, - 761 + 915, + 916 ] }, { @@ -5535,17 +5535,17 @@ export default { "value": "'parameter'", "loc": { "start": { - "line": 28, + "line": 29, "column": 55 }, "end": { - "line": 28, + "line": 29, "column": 66 } }, "range": [ - 762, - 773 + 917, + 928 ] }, { @@ -5553,17 +5553,17 @@ export default { "value": ")", "loc": { "start": { - "line": 28, + "line": 29, "column": 66 }, "end": { - "line": 28, + "line": 29, "column": 67 } }, "range": [ - 773, - 774 + 928, + 929 ] }, { @@ -5571,17 +5571,17 @@ export default { "value": ";", "loc": { "start": { - "line": 28, + "line": 29, "column": 67 }, "end": { - "line": 28, + "line": 29, "column": 68 } }, "range": [ - 774, - 775 + 929, + 930 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-functions.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-functions.src.js index 6ffe67fa..815281e2 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-functions.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-functions.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-arguments-functions.js var fn, fnParam; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-methods.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-methods.result.js index 8e058bac..0ab9b503 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-methods.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-methods.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 46, + "line": 47, "column": 70 } }, "range": [ - 2, - 1324 + 155, + 1477 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 2, - 15 + 155, + 168 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 12 } }, "range": [ - 6, - 14 + 159, + 167 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 12 } }, "range": [ - 6, - 14 + 159, + 167 ], "name": "instance" }, @@ -75,50 +75,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 16, - 40 + 169, + 193 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 20, - 26 + 173, + 179 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 20, - 26 + 173, + 179 ], "name": "method" }, @@ -128,33 +128,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 12 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 28, - 39 + 181, + 192 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 12 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 28, - 39 + 181, + 192 ], "name": "methodParam" }, @@ -167,50 +167,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 11 } }, "range": [ - 41, - 52 + 194, + 205 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 45, - 51 + 198, + 204 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 45, - 51 + 198, + 204 ], "name": "getter" }, @@ -223,50 +223,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 24 } }, "range": [ - 53, - 77 + 206, + 230 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 6, + "line": 7, "column": 4 }, "end": { - "line": 6, + "line": 7, "column": 10 } }, "range": [ - 57, - 63 + 210, + 216 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 4 }, "end": { - "line": 6, + "line": 7, "column": 10 } }, "range": [ - 57, - 63 + 210, + 216 ], "name": "setter" }, @@ -276,33 +276,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 6, + "line": 7, "column": 12 }, "end": { - "line": 6, + "line": 7, "column": 23 } }, "range": [ - 65, - 76 + 218, + 229 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 12 }, "end": { - "line": 6, + "line": 7, "column": 23 } }, "range": [ - 65, - 76 + 218, + 229 ], "name": "setterParam" }, @@ -315,50 +315,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 30 } }, "range": [ - 78, - 108 + 231, + 261 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 13 } }, "range": [ - 82, - 91 + 235, + 244 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 13 } }, "range": [ - 82, - 91 + 235, + 244 ], "name": "genMethod" }, @@ -368,33 +368,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 7, + "line": 8, "column": 15 }, "end": { - "line": 7, + "line": 8, "column": 29 } }, "range": [ - 93, - 107 + 246, + 260 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 15 }, "end": { - "line": 7, + "line": 8, "column": 29 } }, "range": [ - 93, - 107 + 246, + 260 ], "name": "genMethodParam" }, @@ -407,50 +407,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 8, + "line": 9, "column": 0 }, "end": { - "line": 8, + "line": 9, "column": 34 } }, "range": [ - 109, - 143 + 262, + 296 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 113, - 124 + 266, + 277 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 113, - 124 + 266, + 277 ], "name": "asyncMethod" }, @@ -460,33 +460,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 8, + "line": 9, "column": 17 }, "end": { - "line": 8, + "line": 9, "column": 33 } }, "range": [ - 126, - 142 + 279, + 295 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 17 }, "end": { - "line": 8, + "line": 9, "column": 33 } }, "range": [ - 126, - 142 + 279, + 295 ], "name": "asyncMethodParam" }, @@ -499,33 +499,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 10, + "line": 11, "column": 0 }, "end": { - "line": 30, + "line": 31, "column": 1 } }, "range": [ - 145, - 643 + 298, + 796 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 6 }, "end": { - "line": 10, + "line": 11, "column": 7 } }, "range": [ - 151, - 152 + 304, + 305 ], "name": "C" }, @@ -534,84 +534,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 30, + "line": 31, "column": 1 } }, "range": [ - 153, - 643 + 306, + 796 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 29, + "line": 30, "column": 3 } }, "range": [ - 157, - 641 + 310, + 794 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 28, + "line": 29, "column": 8 } }, "range": [ - 170, - 637 + 323, + 790 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 28, + "line": 29, "column": 7 } }, "range": [ - 170, - 636 + 323, + 789 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 12 } }, "range": [ - 170, - 178 + 323, + 331 ], "name": "instance" }, @@ -619,33 +619,33 @@ export default { "type": "NewExpression", "loc": { "start": { - "line": 12, + "line": 13, "column": 15 }, "end": { - "line": 28, + "line": 29, "column": 7 } }, "range": [ - 181, - 636 + 334, + 789 ], "callee": { "type": "ClassExpression", "loc": { "start": { - "line": 12, + "line": 13, "column": 19 }, "end": { - "line": 28, + "line": 29, "column": 5 } }, "range": [ - 185, - 634 + 338, + 787 ], "id": null, "superClass": null, @@ -653,34 +653,34 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 12, + "line": 13, "column": 25 }, "end": { - "line": 28, + "line": 29, "column": 5 } }, "range": [ - 191, - 634 + 344, + 787 ], "body": [ { "type": "MethodDefinition", "loc": { "start": { - "line": 13, + "line": 14, "column": 6 }, "end": { - "line": 15, + "line": 16, "column": 7 } }, "range": [ - 199, - 280 + 352, + 433 ], "static": false, "computed": false, @@ -688,17 +688,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 6 }, "end": { - "line": 13, + "line": 14, "column": 12 } }, "range": [ - 199, - 205 + 352, + 358 ], "name": "method" }, @@ -707,17 +707,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 12 }, "end": { - "line": 15, + "line": 16, "column": 7 } }, "range": [ - 205, - 280 + 358, + 433 ], "id": null, "expression": false, @@ -728,34 +728,34 @@ export default { "type": "ObjectPattern", "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 13, + "line": 14, "column": 48 } }, "range": [ - 206, - 241 + 359, + 394 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 13, + "line": 14, "column": 14 }, "end": { - "line": 13, + "line": 14, "column": 47 } }, "range": [ - 207, - 240 + 360, + 393 ], "method": false, "shorthand": true, @@ -764,17 +764,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 14 }, "end": { - "line": 13, + "line": 14, "column": 21 } }, "range": [ - 207, - 214 + 360, + 367 ], "name": "test262" }, @@ -783,33 +783,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 13, + "line": 14, "column": 14 }, "end": { - "line": 13, + "line": 14, "column": 47 } }, "range": [ - 207, - 240 + 360, + 393 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 14 }, "end": { - "line": 13, + "line": 14, "column": 21 } }, "range": [ - 207, - 214 + 360, + 367 ], "name": "test262" }, @@ -817,34 +817,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 24 }, "end": { - "line": 13, + "line": 14, "column": 47 } }, "range": [ - 217, - 240 + 370, + 393 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 24 }, "end": { - "line": 13, + "line": 14, "column": 35 } }, "range": [ - 217, - 228 + 370, + 381 ], "name": "methodParam" }, @@ -852,17 +852,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 38 }, "end": { - "line": 13, + "line": 14, "column": 47 } }, "range": [ - 231, - 240 + 384, + 393 ], "name": "arguments" } @@ -876,67 +876,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 13, + "line": 14, "column": 50 }, "end": { - "line": 15, + "line": 16, "column": 7 } }, "range": [ - 243, - 280 + 396, + 433 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 14, + "line": 15, "column": 8 }, "end": { - "line": 14, + "line": 15, "column": 27 } }, "range": [ - 253, - 272 + 406, + 425 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 14, + "line": 15, "column": 8 }, "end": { - "line": 14, + "line": 15, "column": 26 } }, "range": [ - 253, - 271 + 406, + 424 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 8 }, "end": { - "line": 14, + "line": 15, "column": 14 } }, "range": [ - 253, - 259 + 406, + 412 ], "name": "method" }, @@ -944,17 +944,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 14, + "line": 15, "column": 17 }, "end": { - "line": 14, + "line": 15, "column": 26 } }, "range": [ - 262, - 271 + 415, + 424 ], "name": "arguments" } @@ -968,17 +968,17 @@ export default { "type": "MethodDefinition", "loc": { "start": { - "line": 16, + "line": 17, "column": 6 }, "end": { - "line": 18, + "line": 19, "column": 7 } }, "range": [ - 287, - 339 + 440, + 492 ], "static": false, "computed": false, @@ -986,17 +986,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 10 }, "end": { - "line": 16, + "line": 17, "column": 18 } }, "range": [ - 291, - 299 + 444, + 452 ], "name": "accessor" }, @@ -1005,17 +1005,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 18 }, "end": { - "line": 18, + "line": 19, "column": 7 } }, "range": [ - 299, - 339 + 452, + 492 ], "id": null, "expression": false, @@ -1026,67 +1026,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 16, + "line": 17, "column": 21 }, "end": { - "line": 18, + "line": 19, "column": 7 } }, "range": [ - 302, - 339 + 455, + 492 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 8 }, "end": { - "line": 17, + "line": 18, "column": 27 } }, "range": [ - 312, - 331 + 465, + 484 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 8 }, "end": { - "line": 17, + "line": 18, "column": 26 } }, "range": [ - 312, - 330 + 465, + 483 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 8 }, "end": { - "line": 17, + "line": 18, "column": 14 } }, "range": [ - 312, - 318 + 465, + 471 ], "name": "getter" }, @@ -1094,17 +1094,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 26 } }, "range": [ - 321, - 330 + 474, + 483 ], "name": "arguments" } @@ -1118,17 +1118,17 @@ export default { "type": "MethodDefinition", "loc": { "start": { - "line": 19, + "line": 20, "column": 6 }, "end": { - "line": 21, + "line": 22, "column": 7 } }, "range": [ - 346, - 433 + 499, + 586 ], "static": false, "computed": false, @@ -1136,17 +1136,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 10 }, "end": { - "line": 19, + "line": 20, "column": 18 } }, "range": [ - 350, - 358 + 503, + 511 ], "name": "accessor" }, @@ -1155,17 +1155,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 19, + "line": 20, "column": 18 }, "end": { - "line": 21, + "line": 22, "column": 7 } }, "range": [ - 358, - 433 + 511, + 586 ], "id": null, "expression": false, @@ -1176,34 +1176,34 @@ export default { "type": "ObjectPattern", "loc": { "start": { - "line": 19, + "line": 20, "column": 19 }, "end": { - "line": 19, + "line": 20, "column": 54 } }, "range": [ - 359, - 394 + 512, + 547 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 19, + "line": 20, "column": 20 }, "end": { - "line": 19, + "line": 20, "column": 53 } }, "range": [ - 360, - 393 + 513, + 546 ], "method": false, "shorthand": true, @@ -1212,17 +1212,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 20 }, "end": { - "line": 19, + "line": 20, "column": 27 } }, "range": [ - 360, - 367 + 513, + 520 ], "name": "test262" }, @@ -1231,33 +1231,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 19, + "line": 20, "column": 20 }, "end": { - "line": 19, + "line": 20, "column": 53 } }, "range": [ - 360, - 393 + 513, + 546 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 20 }, "end": { - "line": 19, + "line": 20, "column": 27 } }, "range": [ - 360, - 367 + 513, + 520 ], "name": "test262" }, @@ -1265,34 +1265,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 19, + "line": 20, "column": 30 }, "end": { - "line": 19, + "line": 20, "column": 53 } }, "range": [ - 370, - 393 + 523, + 546 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 30 }, "end": { - "line": 19, + "line": 20, "column": 41 } }, "range": [ - 370, - 381 + 523, + 534 ], "name": "setterParam" }, @@ -1300,17 +1300,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 44 }, "end": { - "line": 19, + "line": 20, "column": 53 } }, "range": [ - 384, - 393 + 537, + 546 ], "name": "arguments" } @@ -1324,67 +1324,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 19, + "line": 20, "column": 56 }, "end": { - "line": 21, + "line": 22, "column": 7 } }, "range": [ - 396, - 433 + 549, + 586 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 27 } }, "range": [ - 406, - 425 + 559, + 578 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 26 } }, "range": [ - 406, - 424 + 559, + 577 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 14 } }, "range": [ - 406, - 412 + 559, + 565 ], "name": "setter" }, @@ -1392,17 +1392,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 20, + "line": 21, "column": 17 }, "end": { - "line": 20, + "line": 21, "column": 26 } }, "range": [ - 415, - 424 + 568, + 577 ], "name": "arguments" } @@ -1416,17 +1416,17 @@ export default { "type": "MethodDefinition", "loc": { "start": { - "line": 22, + "line": 23, "column": 6 }, "end": { - "line": 24, + "line": 25, "column": 7 } }, "range": [ - 440, - 525 + 593, + 678 ], "static": false, "computed": false, @@ -1434,17 +1434,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 22, + "line": 23, "column": 7 }, "end": { - "line": 22, + "line": 23, "column": 10 } }, "range": [ - 441, - 444 + 594, + 597 ], "name": "gen" }, @@ -1453,17 +1453,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 22, + "line": 23, "column": 10 }, "end": { - "line": 24, + "line": 25, "column": 7 } }, "range": [ - 444, - 525 + 597, + 678 ], "id": null, "expression": false, @@ -1474,34 +1474,34 @@ export default { "type": "ObjectPattern", "loc": { "start": { - "line": 22, + "line": 23, "column": 11 }, "end": { - "line": 22, + "line": 23, "column": 49 } }, "range": [ - 445, - 483 + 598, + 636 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 22, + "line": 23, "column": 12 }, "end": { - "line": 22, + "line": 23, "column": 48 } }, "range": [ - 446, - 482 + 599, + 635 ], "method": false, "shorthand": true, @@ -1510,17 +1510,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 22, + "line": 23, "column": 12 }, "end": { - "line": 22, + "line": 23, "column": 19 } }, "range": [ - 446, - 453 + 599, + 606 ], "name": "test262" }, @@ -1529,33 +1529,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 22, + "line": 23, "column": 12 }, "end": { - "line": 22, + "line": 23, "column": 48 } }, "range": [ - 446, - 482 + 599, + 635 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 22, + "line": 23, "column": 12 }, "end": { - "line": 22, + "line": 23, "column": 19 } }, "range": [ - 446, - 453 + 599, + 606 ], "name": "test262" }, @@ -1563,34 +1563,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 22, + "line": 23, "column": 22 }, "end": { - "line": 22, + "line": 23, "column": 48 } }, "range": [ - 456, - 482 + 609, + 635 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 22, + "line": 23, "column": 22 }, "end": { - "line": 22, + "line": 23, "column": 36 } }, "range": [ - 456, - 470 + 609, + 623 ], "name": "genMethodParam" }, @@ -1598,17 +1598,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 22, + "line": 23, "column": 39 }, "end": { - "line": 22, + "line": 23, "column": 48 } }, "range": [ - 473, - 482 + 626, + 635 ], "name": "arguments" } @@ -1622,67 +1622,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 22, + "line": 23, "column": 51 }, "end": { - "line": 24, + "line": 25, "column": 7 } }, "range": [ - 485, - 525 + 638, + 678 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 23, + "line": 24, "column": 8 }, "end": { - "line": 23, + "line": 24, "column": 30 } }, "range": [ - 495, - 517 + 648, + 670 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 23, + "line": 24, "column": 8 }, "end": { - "line": 23, + "line": 24, "column": 29 } }, "range": [ - 495, - 516 + 648, + 669 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 23, + "line": 24, "column": 8 }, "end": { - "line": 23, + "line": 24, "column": 17 } }, "range": [ - 495, - 504 + 648, + 657 ], "name": "genMethod" }, @@ -1690,17 +1690,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 23, + "line": 24, "column": 20 }, "end": { - "line": 23, + "line": 24, "column": 29 } }, "range": [ - 507, - 516 + 660, + 669 ], "name": "arguments" } @@ -1714,17 +1714,17 @@ export default { "type": "MethodDefinition", "loc": { "start": { - "line": 25, + "line": 26, "column": 6 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "range": [ - 532, - 628 + 685, + 781 ], "static": false, "computed": false, @@ -1732,17 +1732,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 12 }, "end": { - "line": 25, + "line": 26, "column": 17 } }, "range": [ - 538, - 543 + 691, + 696 ], "name": "async" }, @@ -1751,17 +1751,17 @@ export default { "type": "FunctionExpression", "loc": { "start": { - "line": 25, + "line": 26, "column": 17 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "range": [ - 543, - 628 + 696, + 781 ], "id": null, "expression": false, @@ -1772,34 +1772,34 @@ export default { "type": "ObjectPattern", "loc": { "start": { - "line": 25, + "line": 26, "column": 18 }, "end": { - "line": 25, + "line": 26, "column": 58 } }, "range": [ - 544, - 584 + 697, + 737 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 25, + "line": 26, "column": 19 }, "end": { - "line": 25, + "line": 26, "column": 57 } }, "range": [ - 545, - 583 + 698, + 736 ], "method": false, "shorthand": true, @@ -1808,17 +1808,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 19 }, "end": { - "line": 25, + "line": 26, "column": 26 } }, "range": [ - 545, - 552 + 698, + 705 ], "name": "test262" }, @@ -1827,33 +1827,33 @@ export default { "type": "AssignmentPattern", "loc": { "start": { - "line": 25, + "line": 26, "column": 19 }, "end": { - "line": 25, + "line": 26, "column": 57 } }, "range": [ - 545, - 583 + 698, + 736 ], "left": { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 19 }, "end": { - "line": 25, + "line": 26, "column": 26 } }, "range": [ - 545, - 552 + 698, + 705 ], "name": "test262" }, @@ -1861,34 +1861,34 @@ export default { "type": "AssignmentExpression", "loc": { "start": { - "line": 25, + "line": 26, "column": 29 }, "end": { - "line": 25, + "line": 26, "column": 57 } }, "range": [ - 555, - 583 + 708, + 736 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 29 }, "end": { - "line": 25, + "line": 26, "column": 45 } }, "range": [ - 555, - 571 + 708, + 724 ], "name": "asyncMethodParam" }, @@ -1896,17 +1896,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 25, + "line": 26, "column": 48 }, "end": { - "line": 25, + "line": 26, "column": 57 } }, "range": [ - 574, - 583 + 727, + 736 ], "name": "arguments" } @@ -1920,67 +1920,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 25, + "line": 26, "column": 60 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "range": [ - 586, - 628 + 739, + 781 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 26, + "line": 27, "column": 8 }, "end": { - "line": 26, + "line": 27, "column": 32 } }, "range": [ - 596, - 620 + 749, + 773 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 26, + "line": 27, "column": 8 }, "end": { - "line": 26, + "line": 27, "column": 31 } }, "range": [ - 596, - 619 + 749, + 772 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 26, + "line": 27, "column": 8 }, "end": { - "line": 26, + "line": 27, "column": 19 } }, "range": [ - 596, - 607 + 749, + 760 ], "name": "asyncMethod" }, @@ -1988,17 +1988,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 26, + "line": 27, "column": 22 }, "end": { - "line": 26, + "line": 27, "column": 31 } }, "range": [ - 610, - 619 + 763, + 772 ], "name": "arguments" } @@ -2024,65 +2024,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 32, + "line": 33, "column": 0 }, "end": { - "line": 32, + "line": 33, "column": 26 } }, "range": [ - 645, - 671 + 798, + 824 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 32, + "line": 33, "column": 0 }, "end": { - "line": 32, + "line": 33, "column": 25 } }, "range": [ - 645, - 670 + 798, + 823 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 32, + "line": 33, "column": 0 }, "end": { - "line": 32, + "line": 33, "column": 15 } }, "range": [ - 645, - 660 + 798, + 813 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 32, + "line": 33, "column": 0 }, "end": { - "line": 32, + "line": 33, "column": 8 } }, "range": [ - 645, - 653 + 798, + 806 ], "name": "instance" }, @@ -2090,17 +2090,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 32, + "line": 33, "column": 9 }, "end": { - "line": 32, + "line": 33, "column": 15 } }, "range": [ - 654, - 660 + 807, + 813 ], "name": "method" }, @@ -2112,17 +2112,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 32, + "line": 33, "column": 16 }, "end": { - "line": 32, + "line": 33, "column": 24 } }, "range": [ - 661, - 669 + 814, + 822 ], "value": "method", "raw": "'method'" @@ -2135,49 +2135,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 33, + "line": 34, "column": 0 }, "end": { - "line": 33, + "line": 34, "column": 18 } }, "range": [ - 672, - 690 + 825, + 843 ], "expression": { "type": "MemberExpression", "loc": { "start": { - "line": 33, + "line": 34, "column": 0 }, "end": { - "line": 33, + "line": 34, "column": 17 } }, "range": [ - 672, - 689 + 825, + 842 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 33, + "line": 34, "column": 0 }, "end": { - "line": 33, + "line": 34, "column": 8 } }, "range": [ - 672, - 680 + 825, + 833 ], "name": "instance" }, @@ -2185,17 +2185,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 33, + "line": 34, "column": 9 }, "end": { - "line": 33, + "line": 34, "column": 17 } }, "range": [ - 681, - 689 + 834, + 842 ], "name": "accessor" }, @@ -2207,66 +2207,66 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 34, + "line": 35, "column": 0 }, "end": { - "line": 34, + "line": 35, "column": 29 } }, "range": [ - 691, - 720 + 844, + 873 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 34, + "line": 35, "column": 0 }, "end": { - "line": 34, + "line": 35, "column": 28 } }, "range": [ - 691, - 719 + 844, + 872 ], "operator": "=", "left": { "type": "MemberExpression", "loc": { "start": { - "line": 34, + "line": 35, "column": 0 }, "end": { - "line": 34, + "line": 35, "column": 17 } }, "range": [ - 691, - 708 + 844, + 861 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 34, + "line": 35, "column": 0 }, "end": { - "line": 34, + "line": 35, "column": 8 } }, "range": [ - 691, - 699 + 844, + 852 ], "name": "instance" }, @@ -2274,17 +2274,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 34, + "line": 35, "column": 9 }, "end": { - "line": 34, + "line": 35, "column": 17 } }, "range": [ - 700, - 708 + 853, + 861 ], "name": "accessor" }, @@ -2295,17 +2295,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 34, + "line": 35, "column": 20 }, "end": { - "line": 34, + "line": 35, "column": 28 } }, "range": [ - 711, - 719 + 864, + 872 ], "value": "setter", "raw": "'setter'" @@ -2316,97 +2316,97 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 35, + "line": 36, "column": 0 }, "end": { - "line": 35, + "line": 36, "column": 40 } }, "range": [ - 721, - 761 + 874, + 914 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 35, + "line": 36, "column": 0 }, "end": { - "line": 35, + "line": 36, "column": 39 } }, "range": [ - 721, - 760 + 874, + 913 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 35, + "line": 36, "column": 0 }, "end": { - "line": 35, + "line": 36, "column": 37 } }, "range": [ - 721, - 758 + 874, + 911 ], "object": { "type": "CallExpression", "loc": { "start": { - "line": 35, + "line": 36, "column": 0 }, "end": { - "line": 35, + "line": 36, "column": 32 } }, "range": [ - 721, - 753 + 874, + 906 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 35, + "line": 36, "column": 0 }, "end": { - "line": 35, + "line": 36, "column": 12 } }, "range": [ - 721, - 733 + 874, + 886 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 35, + "line": 36, "column": 0 }, "end": { - "line": 35, + "line": 36, "column": 8 } }, "range": [ - 721, - 729 + 874, + 882 ], "name": "instance" }, @@ -2414,17 +2414,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 35, + "line": 36, "column": 9 }, "end": { - "line": 35, + "line": 36, "column": 12 } }, "range": [ - 730, - 733 + 883, + 886 ], "name": "gen" }, @@ -2436,17 +2436,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 35, + "line": 36, "column": 13 }, "end": { - "line": 35, + "line": 36, "column": 31 } }, "range": [ - 734, - 752 + 887, + 905 ], "value": "generator method", "raw": "'generator method'" @@ -2458,17 +2458,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 35, + "line": 36, "column": 33 }, "end": { - "line": 35, + "line": 36, "column": 37 } }, "range": [ - 754, - 758 + 907, + 911 ], "name": "next" }, @@ -2483,65 +2483,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 36, + "line": 37, "column": 0 }, "end": { - "line": 36, + "line": 37, "column": 31 } }, "range": [ - 762, - 793 + 915, + 946 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 36, + "line": 37, "column": 0 }, "end": { - "line": 36, + "line": 37, "column": 30 } }, "range": [ - 762, - 792 + 915, + 945 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 36, + "line": 37, "column": 0 }, "end": { - "line": 36, + "line": 37, "column": 14 } }, "range": [ - 762, - 776 + 915, + 929 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 36, + "line": 37, "column": 0 }, "end": { - "line": 36, + "line": 37, "column": 8 } }, "range": [ - 762, - 770 + 915, + 923 ], "name": "instance" }, @@ -2549,17 +2549,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 36, + "line": 37, "column": 9 }, "end": { - "line": 36, + "line": 37, "column": 14 } }, "range": [ - 771, - 776 + 924, + 929 ], "name": "async" }, @@ -2571,17 +2571,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 36, + "line": 37, "column": 15 }, "end": { - "line": 36, + "line": 37, "column": 29 } }, "range": [ - 777, - 791 + 930, + 944 ], "value": "async method", "raw": "'async method'" @@ -2594,49 +2594,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 38, + "line": 39, "column": 0 }, "end": { - "line": 38, + "line": 39, "column": 49 } }, "range": [ - 795, - 844 + 948, + 997 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 38, + "line": 39, "column": 0 }, "end": { - "line": 38, + "line": 39, "column": 48 } }, "range": [ - 795, - 843 + 948, + 996 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 38, + "line": 39, "column": 0 }, "end": { - "line": 38, + "line": 39, "column": 6 } }, "range": [ - 795, - 801 + 948, + 954 ], "name": "assert" }, @@ -2645,33 +2645,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 38, + "line": 39, "column": 7 }, "end": { - "line": 38, + "line": 39, "column": 39 } }, "range": [ - 802, - 834 + 955, + 987 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 38, + "line": 39, "column": 7 }, "end": { - "line": 38, + "line": 39, "column": 19 } }, "range": [ - 802, - 814 + 955, + 967 ], "name": "compareArray" }, @@ -2680,34 +2680,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 38, + "line": 39, "column": 20 }, "end": { - "line": 38, + "line": 39, "column": 30 } }, "range": [ - 815, - 825 + 968, + 978 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 38, + "line": 39, "column": 21 }, "end": { - "line": 38, + "line": 39, "column": 29 } }, "range": [ - 816, - 824 + 969, + 977 ], "value": "method", "raw": "'method'" @@ -2718,17 +2718,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 38, + "line": 39, "column": 32 }, "end": { - "line": 38, + "line": 39, "column": 38 } }, "range": [ - 827, - 833 + 980, + 986 ], "name": "method" } @@ -2739,17 +2739,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 38, + "line": 39, "column": 41 }, "end": { - "line": 38, + "line": 39, "column": 47 } }, "range": [ - 836, - 842 + 989, + 995 ], "value": "body", "raw": "'body'" @@ -2762,49 +2762,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 39, + "line": 40, "column": 0 }, "end": { - "line": 39, + "line": 40, "column": 59 } }, "range": [ - 845, - 904 + 998, + 1057 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 39, + "line": 40, "column": 0 }, "end": { - "line": 39, + "line": 40, "column": 58 } }, "range": [ - 845, - 903 + 998, + 1056 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 39, + "line": 40, "column": 0 }, "end": { - "line": 39, + "line": 40, "column": 6 } }, "range": [ - 845, - 851 + 998, + 1004 ], "name": "assert" }, @@ -2813,33 +2813,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 39, + "line": 40, "column": 7 }, "end": { - "line": 39, + "line": 40, "column": 44 } }, "range": [ - 852, - 889 + 1005, + 1042 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 39, + "line": 40, "column": 7 }, "end": { - "line": 39, + "line": 40, "column": 19 } }, "range": [ - 852, - 864 + 1005, + 1017 ], "name": "compareArray" }, @@ -2848,34 +2848,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 39, + "line": 40, "column": 20 }, "end": { - "line": 39, + "line": 40, "column": 30 } }, "range": [ - 865, - 875 + 1018, + 1028 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 39, + "line": 40, "column": 21 }, "end": { - "line": 39, + "line": 40, "column": 29 } }, "range": [ - 866, - 874 + 1019, + 1027 ], "value": "method", "raw": "'method'" @@ -2886,17 +2886,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 39, + "line": 40, "column": 32 }, "end": { - "line": 39, + "line": 40, "column": 43 } }, "range": [ - 877, - 888 + 1030, + 1041 ], "name": "methodParam" } @@ -2907,17 +2907,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 39, + "line": 40, "column": 46 }, "end": { - "line": 39, + "line": 40, "column": 57 } }, "range": [ - 891, - 902 + 1044, + 1055 ], "value": "parameter", "raw": "'parameter'" @@ -2930,49 +2930,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 40, + "line": 41, "column": 0 }, "end": { - "line": 40, + "line": 41, "column": 41 } }, "range": [ - 905, - 946 + 1058, + 1099 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 40, + "line": 41, "column": 0 }, "end": { - "line": 40, + "line": 41, "column": 40 } }, "range": [ - 905, - 945 + 1058, + 1098 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 40, + "line": 41, "column": 0 }, "end": { - "line": 40, + "line": 41, "column": 6 } }, "range": [ - 905, - 911 + 1058, + 1064 ], "name": "assert" }, @@ -2981,33 +2981,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 40, + "line": 41, "column": 7 }, "end": { - "line": 40, + "line": 41, "column": 31 } }, "range": [ - 912, - 936 + 1065, + 1089 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 40, + "line": 41, "column": 7 }, "end": { - "line": 40, + "line": 41, "column": 19 } }, "range": [ - 912, - 924 + 1065, + 1077 ], "name": "compareArray" }, @@ -3016,17 +3016,17 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 40, + "line": 41, "column": 20 }, "end": { - "line": 40, + "line": 41, "column": 22 } }, "range": [ - 925, - 927 + 1078, + 1080 ], "elements": [] }, @@ -3034,17 +3034,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 40, + "line": 41, "column": 24 }, "end": { - "line": 40, + "line": 41, "column": 30 } }, "range": [ - 929, - 935 + 1082, + 1088 ], "name": "getter" } @@ -3055,17 +3055,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 40, + "line": 41, "column": 33 }, "end": { - "line": 40, + "line": 41, "column": 39 } }, "range": [ - 938, - 944 + 1091, + 1097 ], "value": "body", "raw": "'body'" @@ -3078,49 +3078,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 41, + "line": 42, "column": 0 }, "end": { - "line": 41, + "line": 42, "column": 49 } }, "range": [ - 947, - 996 + 1100, + 1149 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 41, + "line": 42, "column": 0 }, "end": { - "line": 41, + "line": 42, "column": 48 } }, "range": [ - 947, - 995 + 1100, + 1148 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 41, + "line": 42, "column": 0 }, "end": { - "line": 41, + "line": 42, "column": 6 } }, "range": [ - 947, - 953 + 1100, + 1106 ], "name": "assert" }, @@ -3129,33 +3129,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 41, + "line": 42, "column": 7 }, "end": { - "line": 41, + "line": 42, "column": 39 } }, "range": [ - 954, - 986 + 1107, + 1139 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 41, + "line": 42, "column": 7 }, "end": { - "line": 41, + "line": 42, "column": 19 } }, "range": [ - 954, - 966 + 1107, + 1119 ], "name": "compareArray" }, @@ -3164,34 +3164,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 41, + "line": 42, "column": 20 }, "end": { - "line": 41, + "line": 42, "column": 30 } }, "range": [ - 967, - 977 + 1120, + 1130 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 41, + "line": 42, "column": 21 }, "end": { - "line": 41, + "line": 42, "column": 29 } }, "range": [ - 968, - 976 + 1121, + 1129 ], "value": "setter", "raw": "'setter'" @@ -3202,17 +3202,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 41, + "line": 42, "column": 32 }, "end": { - "line": 41, + "line": 42, "column": 38 } }, "range": [ - 979, - 985 + 1132, + 1138 ], "name": "setter" } @@ -3223,17 +3223,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 41, + "line": 42, "column": 41 }, "end": { - "line": 41, + "line": 42, "column": 47 } }, "range": [ - 988, - 994 + 1141, + 1147 ], "value": "body", "raw": "'body'" @@ -3246,49 +3246,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 42, + "line": 43, "column": 0 }, "end": { - "line": 42, + "line": 43, "column": 59 } }, "range": [ - 997, - 1056 + 1150, + 1209 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 42, + "line": 43, "column": 0 }, "end": { - "line": 42, + "line": 43, "column": 58 } }, "range": [ - 997, - 1055 + 1150, + 1208 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 42, + "line": 43, "column": 0 }, "end": { - "line": 42, + "line": 43, "column": 6 } }, "range": [ - 997, - 1003 + 1150, + 1156 ], "name": "assert" }, @@ -3297,33 +3297,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 42, + "line": 43, "column": 7 }, "end": { - "line": 42, + "line": 43, "column": 44 } }, "range": [ - 1004, - 1041 + 1157, + 1194 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 42, + "line": 43, "column": 7 }, "end": { - "line": 42, + "line": 43, "column": 19 } }, "range": [ - 1004, - 1016 + 1157, + 1169 ], "name": "compareArray" }, @@ -3332,34 +3332,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 42, + "line": 43, "column": 20 }, "end": { - "line": 42, + "line": 43, "column": 30 } }, "range": [ - 1017, - 1027 + 1170, + 1180 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 42, + "line": 43, "column": 21 }, "end": { - "line": 42, + "line": 43, "column": 29 } }, "range": [ - 1018, - 1026 + 1171, + 1179 ], "value": "setter", "raw": "'setter'" @@ -3370,17 +3370,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 42, + "line": 43, "column": 32 }, "end": { - "line": 42, + "line": 43, "column": 43 } }, "range": [ - 1029, - 1040 + 1182, + 1193 ], "name": "setterParam" } @@ -3391,17 +3391,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 42, + "line": 43, "column": 46 }, "end": { - "line": 42, + "line": 43, "column": 57 } }, "range": [ - 1043, - 1054 + 1196, + 1207 ], "value": "parameter", "raw": "'parameter'" @@ -3414,49 +3414,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 43, + "line": 44, "column": 0 }, "end": { - "line": 43, + "line": 44, "column": 62 } }, "range": [ - 1057, - 1119 + 1210, + 1272 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 43, + "line": 44, "column": 0 }, "end": { - "line": 43, + "line": 44, "column": 61 } }, "range": [ - 1057, - 1118 + 1210, + 1271 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 43, + "line": 44, "column": 0 }, "end": { - "line": 43, + "line": 44, "column": 6 } }, "range": [ - 1057, - 1063 + 1210, + 1216 ], "name": "assert" }, @@ -3465,33 +3465,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 43, + "line": 44, "column": 7 }, "end": { - "line": 43, + "line": 44, "column": 52 } }, "range": [ - 1064, - 1109 + 1217, + 1262 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 43, + "line": 44, "column": 7 }, "end": { - "line": 43, + "line": 44, "column": 19 } }, "range": [ - 1064, - 1076 + 1217, + 1229 ], "name": "compareArray" }, @@ -3500,34 +3500,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 43, + "line": 44, "column": 20 }, "end": { - "line": 43, + "line": 44, "column": 40 } }, "range": [ - 1077, - 1097 + 1230, + 1250 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 43, + "line": 44, "column": 21 }, "end": { - "line": 43, + "line": 44, "column": 39 } }, "range": [ - 1078, - 1096 + 1231, + 1249 ], "value": "generator method", "raw": "'generator method'" @@ -3538,17 +3538,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 43, + "line": 44, "column": 42 }, "end": { - "line": 43, + "line": 44, "column": 51 } }, "range": [ - 1099, - 1108 + 1252, + 1261 ], "name": "genMethod" } @@ -3559,17 +3559,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 43, + "line": 44, "column": 54 }, "end": { - "line": 43, + "line": 44, "column": 60 } }, "range": [ - 1111, - 1117 + 1264, + 1270 ], "value": "body", "raw": "'body'" @@ -3582,49 +3582,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 44, + "line": 45, "column": 0 }, "end": { - "line": 44, + "line": 45, "column": 72 } }, "range": [ - 1120, - 1192 + 1273, + 1345 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 44, + "line": 45, "column": 0 }, "end": { - "line": 44, + "line": 45, "column": 71 } }, "range": [ - 1120, - 1191 + 1273, + 1344 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 44, + "line": 45, "column": 0 }, "end": { - "line": 44, + "line": 45, "column": 6 } }, "range": [ - 1120, - 1126 + 1273, + 1279 ], "name": "assert" }, @@ -3633,33 +3633,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 44, + "line": 45, "column": 7 }, "end": { - "line": 44, + "line": 45, "column": 57 } }, "range": [ - 1127, - 1177 + 1280, + 1330 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 44, + "line": 45, "column": 7 }, "end": { - "line": 44, + "line": 45, "column": 19 } }, "range": [ - 1127, - 1139 + 1280, + 1292 ], "name": "compareArray" }, @@ -3668,34 +3668,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 44, + "line": 45, "column": 20 }, "end": { - "line": 44, + "line": 45, "column": 40 } }, "range": [ - 1140, - 1160 + 1293, + 1313 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 44, + "line": 45, "column": 21 }, "end": { - "line": 44, + "line": 45, "column": 39 } }, "range": [ - 1141, - 1159 + 1294, + 1312 ], "value": "generator method", "raw": "'generator method'" @@ -3706,17 +3706,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 44, + "line": 45, "column": 42 }, "end": { - "line": 44, + "line": 45, "column": 56 } }, "range": [ - 1162, - 1176 + 1315, + 1329 ], "name": "genMethodParam" } @@ -3727,17 +3727,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 44, + "line": 45, "column": 59 }, "end": { - "line": 44, + "line": 45, "column": 70 } }, "range": [ - 1179, - 1190 + 1332, + 1343 ], "value": "parameter", "raw": "'parameter'" @@ -3750,49 +3750,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 45, + "line": 46, "column": 0 }, "end": { - "line": 45, + "line": 46, "column": 60 } }, "range": [ - 1193, - 1253 + 1346, + 1406 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 45, + "line": 46, "column": 0 }, "end": { - "line": 45, + "line": 46, "column": 59 } }, "range": [ - 1193, - 1252 + 1346, + 1405 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 45, + "line": 46, "column": 0 }, "end": { - "line": 45, + "line": 46, "column": 6 } }, "range": [ - 1193, - 1199 + 1346, + 1352 ], "name": "assert" }, @@ -3801,33 +3801,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 45, + "line": 46, "column": 7 }, "end": { - "line": 45, + "line": 46, "column": 50 } }, "range": [ - 1200, - 1243 + 1353, + 1396 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 45, + "line": 46, "column": 7 }, "end": { - "line": 45, + "line": 46, "column": 19 } }, "range": [ - 1200, - 1212 + 1353, + 1365 ], "name": "compareArray" }, @@ -3836,34 +3836,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 45, + "line": 46, "column": 20 }, "end": { - "line": 45, + "line": 46, "column": 36 } }, "range": [ - 1213, - 1229 + 1366, + 1382 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 45, + "line": 46, "column": 21 }, "end": { - "line": 45, + "line": 46, "column": 35 } }, "range": [ - 1214, - 1228 + 1367, + 1381 ], "value": "async method", "raw": "'async method'" @@ -3874,17 +3874,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 45, + "line": 46, "column": 38 }, "end": { - "line": 45, + "line": 46, "column": 49 } }, "range": [ - 1231, - 1242 + 1384, + 1395 ], "name": "asyncMethod" } @@ -3895,17 +3895,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 45, + "line": 46, "column": 52 }, "end": { - "line": 45, + "line": 46, "column": 58 } }, "range": [ - 1245, - 1251 + 1398, + 1404 ], "value": "body", "raw": "'body'" @@ -3918,49 +3918,49 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 46, + "line": 47, "column": 0 }, "end": { - "line": 46, + "line": 47, "column": 70 } }, "range": [ - 1254, - 1324 + 1407, + 1477 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 46, + "line": 47, "column": 0 }, "end": { - "line": 46, + "line": 47, "column": 69 } }, "range": [ - 1254, - 1323 + 1407, + 1476 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 46, + "line": 47, "column": 0 }, "end": { - "line": 46, + "line": 47, "column": 6 } }, "range": [ - 1254, - 1260 + 1407, + 1413 ], "name": "assert" }, @@ -3969,33 +3969,33 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 46, + "line": 47, "column": 7 }, "end": { - "line": 46, + "line": 47, "column": 55 } }, "range": [ - 1261, - 1309 + 1414, + 1462 ], "callee": { "type": "Identifier", "loc": { "start": { - "line": 46, + "line": 47, "column": 7 }, "end": { - "line": 46, + "line": 47, "column": 19 } }, "range": [ - 1261, - 1273 + 1414, + 1426 ], "name": "compareArray" }, @@ -4004,34 +4004,34 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 46, + "line": 47, "column": 20 }, "end": { - "line": 46, + "line": 47, "column": 36 } }, "range": [ - 1274, - 1290 + 1427, + 1443 ], "elements": [ { "type": "Literal", "loc": { "start": { - "line": 46, + "line": 47, "column": 21 }, "end": { - "line": 46, + "line": 47, "column": 35 } }, "range": [ - 1275, - 1289 + 1428, + 1442 ], "value": "async method", "raw": "'async method'" @@ -4042,17 +4042,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 46, + "line": 47, "column": 38 }, "end": { - "line": 46, + "line": 47, "column": 54 } }, "range": [ - 1292, - 1308 + 1445, + 1461 ], "name": "asyncMethodParam" } @@ -4063,17 +4063,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 46, + "line": 47, "column": 57 }, "end": { - "line": 46, + "line": 47, "column": 68 } }, "range": [ - 1311, - 1322 + 1464, + 1475 ], "value": "parameter", "raw": "'parameter'" @@ -4090,17 +4090,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 155, + 158 ] }, { @@ -4108,17 +4108,17 @@ export default { "value": "instance", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 12 } }, "range": [ - 6, - 14 + 159, + 167 ] }, { @@ -4126,17 +4126,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 167, + 168 ] }, { @@ -4144,17 +4144,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 16, - 19 + 169, + 172 ] }, { @@ -4162,17 +4162,17 @@ export default { "value": "method", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 20, - 26 + 173, + 179 ] }, { @@ -4180,17 +4180,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 10 }, "end": { - "line": 4, + "line": 5, "column": 11 } }, "range": [ - 26, - 27 + 179, + 180 ] }, { @@ -4198,17 +4198,17 @@ export default { "value": "methodParam", "loc": { "start": { - "line": 4, + "line": 5, "column": 12 }, "end": { - "line": 4, + "line": 5, "column": 23 } }, "range": [ - 28, - 39 + 181, + 192 ] }, { @@ -4216,17 +4216,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 23 }, "end": { - "line": 4, + "line": 5, "column": 24 } }, "range": [ - 39, - 40 + 192, + 193 ] }, { @@ -4234,17 +4234,17 @@ export default { "value": "var", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 3 } }, "range": [ - 41, - 44 + 194, + 197 ] }, { @@ -4252,17 +4252,17 @@ export default { "value": "getter", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 45, - 51 + 198, + 204 ] }, { @@ -4270,17 +4270,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 10 }, "end": { - "line": 5, + "line": 6, "column": 11 } }, "range": [ - 51, - 52 + 204, + 205 ] }, { @@ -4288,17 +4288,17 @@ export default { "value": "var", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 53, - 56 + 206, + 209 ] }, { @@ -4306,17 +4306,17 @@ export default { "value": "setter", "loc": { "start": { - "line": 6, + "line": 7, "column": 4 }, "end": { - "line": 6, + "line": 7, "column": 10 } }, "range": [ - 57, - 63 + 210, + 216 ] }, { @@ -4324,17 +4324,17 @@ export default { "value": ",", "loc": { "start": { - "line": 6, + "line": 7, "column": 10 }, "end": { - "line": 6, + "line": 7, "column": 11 } }, "range": [ - 63, - 64 + 216, + 217 ] }, { @@ -4342,17 +4342,17 @@ export default { "value": "setterParam", "loc": { "start": { - "line": 6, + "line": 7, "column": 12 }, "end": { - "line": 6, + "line": 7, "column": 23 } }, "range": [ - 65, - 76 + 218, + 229 ] }, { @@ -4360,17 +4360,17 @@ export default { "value": ";", "loc": { "start": { - "line": 6, + "line": 7, "column": 23 }, "end": { - "line": 6, + "line": 7, "column": 24 } }, "range": [ - 76, - 77 + 229, + 230 ] }, { @@ -4378,17 +4378,17 @@ export default { "value": "var", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 3 } }, "range": [ - 78, - 81 + 231, + 234 ] }, { @@ -4396,17 +4396,17 @@ export default { "value": "genMethod", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 13 } }, "range": [ - 82, - 91 + 235, + 244 ] }, { @@ -4414,17 +4414,17 @@ export default { "value": ",", "loc": { "start": { - "line": 7, + "line": 8, "column": 13 }, "end": { - "line": 7, + "line": 8, "column": 14 } }, "range": [ - 91, - 92 + 244, + 245 ] }, { @@ -4432,17 +4432,17 @@ export default { "value": "genMethodParam", "loc": { "start": { - "line": 7, + "line": 8, "column": 15 }, "end": { - "line": 7, + "line": 8, "column": 29 } }, "range": [ - 93, - 107 + 246, + 260 ] }, { @@ -4450,17 +4450,17 @@ export default { "value": ";", "loc": { "start": { - "line": 7, + "line": 8, "column": 29 }, "end": { - "line": 7, + "line": 8, "column": 30 } }, "range": [ - 107, - 108 + 260, + 261 ] }, { @@ -4468,17 +4468,17 @@ export default { "value": "var", "loc": { "start": { - "line": 8, + "line": 9, "column": 0 }, "end": { - "line": 8, + "line": 9, "column": 3 } }, "range": [ - 109, - 112 + 262, + 265 ] }, { @@ -4486,17 +4486,17 @@ export default { "value": "asyncMethod", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 113, - 124 + 266, + 277 ] }, { @@ -4504,17 +4504,17 @@ export default { "value": ",", "loc": { "start": { - "line": 8, + "line": 9, "column": 15 }, "end": { - "line": 8, + "line": 9, "column": 16 } }, "range": [ - 124, - 125 + 277, + 278 ] }, { @@ -4522,17 +4522,17 @@ export default { "value": "asyncMethodParam", "loc": { "start": { - "line": 8, + "line": 9, "column": 17 }, "end": { - "line": 8, + "line": 9, "column": 33 } }, "range": [ - 126, - 142 + 279, + 295 ] }, { @@ -4540,17 +4540,17 @@ export default { "value": ";", "loc": { "start": { - "line": 8, + "line": 9, "column": 33 }, "end": { - "line": 8, + "line": 9, "column": 34 } }, "range": [ - 142, - 143 + 295, + 296 ] }, { @@ -4558,17 +4558,17 @@ export default { "value": "class", "loc": { "start": { - "line": 10, + "line": 11, "column": 0 }, "end": { - "line": 10, + "line": 11, "column": 5 } }, "range": [ - 145, - 150 + 298, + 303 ] }, { @@ -4576,17 +4576,17 @@ export default { "value": "C", "loc": { "start": { - "line": 10, + "line": 11, "column": 6 }, "end": { - "line": 10, + "line": 11, "column": 7 } }, "range": [ - 151, - 152 + 304, + 305 ] }, { @@ -4594,17 +4594,17 @@ export default { "value": "{", "loc": { "start": { - "line": 10, + "line": 11, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 9 } }, "range": [ - 153, - 154 + 306, + 307 ] }, { @@ -4612,17 +4612,17 @@ export default { "value": "static", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 11, + "line": 12, "column": 8 } }, "range": [ - 157, - 163 + 310, + 316 ] }, { @@ -4630,17 +4630,17 @@ export default { "value": "{", "loc": { "start": { - "line": 11, + "line": 12, "column": 9 }, "end": { - "line": 11, + "line": 12, "column": 10 } }, "range": [ - 164, - 165 + 317, + 318 ] }, { @@ -4648,17 +4648,17 @@ export default { "value": "instance", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 12 } }, "range": [ - 170, - 178 + 323, + 331 ] }, { @@ -4666,17 +4666,17 @@ export default { "value": "=", "loc": { "start": { - "line": 12, + "line": 13, "column": 13 }, "end": { - "line": 12, + "line": 13, "column": 14 } }, "range": [ - 179, - 180 + 332, + 333 ] }, { @@ -4684,17 +4684,17 @@ export default { "value": "new", "loc": { "start": { - "line": 12, + "line": 13, "column": 15 }, "end": { - "line": 12, + "line": 13, "column": 18 } }, "range": [ - 181, - 184 + 334, + 337 ] }, { @@ -4702,17 +4702,17 @@ export default { "value": "class", "loc": { "start": { - "line": 12, + "line": 13, "column": 19 }, "end": { - "line": 12, + "line": 13, "column": 24 } }, "range": [ - 185, - 190 + 338, + 343 ] }, { @@ -4720,17 +4720,17 @@ export default { "value": "{", "loc": { "start": { - "line": 12, + "line": 13, "column": 25 }, "end": { - "line": 12, + "line": 13, "column": 26 } }, "range": [ - 191, - 192 + 344, + 345 ] }, { @@ -4738,17 +4738,17 @@ export default { "value": "method", "loc": { "start": { - "line": 13, + "line": 14, "column": 6 }, "end": { - "line": 13, + "line": 14, "column": 12 } }, "range": [ - 199, - 205 + 352, + 358 ] }, { @@ -4756,17 +4756,17 @@ export default { "value": "(", "loc": { "start": { - "line": 13, + "line": 14, "column": 12 }, "end": { - "line": 13, + "line": 14, "column": 13 } }, "range": [ - 205, - 206 + 358, + 359 ] }, { @@ -4774,17 +4774,17 @@ export default { "value": "{", "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 13, + "line": 14, "column": 14 } }, "range": [ - 206, - 207 + 359, + 360 ] }, { @@ -4792,17 +4792,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 13, + "line": 14, "column": 14 }, "end": { - "line": 13, + "line": 14, "column": 21 } }, "range": [ - 207, - 214 + 360, + 367 ] }, { @@ -4810,17 +4810,17 @@ export default { "value": "=", "loc": { "start": { - "line": 13, + "line": 14, "column": 22 }, "end": { - "line": 13, + "line": 14, "column": 23 } }, "range": [ - 215, - 216 + 368, + 369 ] }, { @@ -4828,17 +4828,17 @@ export default { "value": "methodParam", "loc": { "start": { - "line": 13, + "line": 14, "column": 24 }, "end": { - "line": 13, + "line": 14, "column": 35 } }, "range": [ - 217, - 228 + 370, + 381 ] }, { @@ -4846,17 +4846,17 @@ export default { "value": "=", "loc": { "start": { - "line": 13, + "line": 14, "column": 36 }, "end": { - "line": 13, + "line": 14, "column": 37 } }, "range": [ - 229, - 230 + 382, + 383 ] }, { @@ -4864,17 +4864,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 13, + "line": 14, "column": 38 }, "end": { - "line": 13, + "line": 14, "column": 47 } }, "range": [ - 231, - 240 + 384, + 393 ] }, { @@ -4882,17 +4882,17 @@ export default { "value": "}", "loc": { "start": { - "line": 13, + "line": 14, "column": 47 }, "end": { - "line": 13, + "line": 14, "column": 48 } }, "range": [ - 240, - 241 + 393, + 394 ] }, { @@ -4900,17 +4900,17 @@ export default { "value": ")", "loc": { "start": { - "line": 13, + "line": 14, "column": 48 }, "end": { - "line": 13, + "line": 14, "column": 49 } }, "range": [ - 241, - 242 + 394, + 395 ] }, { @@ -4918,17 +4918,17 @@ export default { "value": "{", "loc": { "start": { - "line": 13, + "line": 14, "column": 50 }, "end": { - "line": 13, + "line": 14, "column": 51 } }, "range": [ - 243, - 244 + 396, + 397 ] }, { @@ -4936,17 +4936,17 @@ export default { "value": "method", "loc": { "start": { - "line": 14, + "line": 15, "column": 8 }, "end": { - "line": 14, + "line": 15, "column": 14 } }, "range": [ - 253, - 259 + 406, + 412 ] }, { @@ -4954,17 +4954,17 @@ export default { "value": "=", "loc": { "start": { - "line": 14, + "line": 15, "column": 15 }, "end": { - "line": 14, + "line": 15, "column": 16 } }, "range": [ - 260, - 261 + 413, + 414 ] }, { @@ -4972,17 +4972,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 14, + "line": 15, "column": 17 }, "end": { - "line": 14, + "line": 15, "column": 26 } }, "range": [ - 262, - 271 + 415, + 424 ] }, { @@ -4990,17 +4990,17 @@ export default { "value": ";", "loc": { "start": { - "line": 14, + "line": 15, "column": 26 }, "end": { - "line": 14, + "line": 15, "column": 27 } }, "range": [ - 271, - 272 + 424, + 425 ] }, { @@ -5008,17 +5008,17 @@ export default { "value": "}", "loc": { "start": { - "line": 15, + "line": 16, "column": 6 }, "end": { - "line": 15, + "line": 16, "column": 7 } }, "range": [ - 279, - 280 + 432, + 433 ] }, { @@ -5026,17 +5026,17 @@ export default { "value": "get", "loc": { "start": { - "line": 16, + "line": 17, "column": 6 }, "end": { - "line": 16, + "line": 17, "column": 9 } }, "range": [ - 287, - 290 + 440, + 443 ] }, { @@ -5044,17 +5044,17 @@ export default { "value": "accessor", "loc": { "start": { - "line": 16, + "line": 17, "column": 10 }, "end": { - "line": 16, + "line": 17, "column": 18 } }, "range": [ - 291, - 299 + 444, + 452 ] }, { @@ -5062,17 +5062,17 @@ export default { "value": "(", "loc": { "start": { - "line": 16, + "line": 17, "column": 18 }, "end": { - "line": 16, + "line": 17, "column": 19 } }, "range": [ - 299, - 300 + 452, + 453 ] }, { @@ -5080,17 +5080,17 @@ export default { "value": ")", "loc": { "start": { - "line": 16, + "line": 17, "column": 19 }, "end": { - "line": 16, + "line": 17, "column": 20 } }, "range": [ - 300, - 301 + 453, + 454 ] }, { @@ -5098,17 +5098,17 @@ export default { "value": "{", "loc": { "start": { - "line": 16, + "line": 17, "column": 21 }, "end": { - "line": 16, + "line": 17, "column": 22 } }, "range": [ - 302, - 303 + 455, + 456 ] }, { @@ -5116,17 +5116,17 @@ export default { "value": "getter", "loc": { "start": { - "line": 17, + "line": 18, "column": 8 }, "end": { - "line": 17, + "line": 18, "column": 14 } }, "range": [ - 312, - 318 + 465, + 471 ] }, { @@ -5134,17 +5134,17 @@ export default { "value": "=", "loc": { "start": { - "line": 17, + "line": 18, "column": 15 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 319, - 320 + 472, + 473 ] }, { @@ -5152,17 +5152,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 26 } }, "range": [ - 321, - 330 + 474, + 483 ] }, { @@ -5170,17 +5170,17 @@ export default { "value": ";", "loc": { "start": { - "line": 17, + "line": 18, "column": 26 }, "end": { - "line": 17, + "line": 18, "column": 27 } }, "range": [ - 330, - 331 + 483, + 484 ] }, { @@ -5188,17 +5188,17 @@ export default { "value": "}", "loc": { "start": { - "line": 18, + "line": 19, "column": 6 }, "end": { - "line": 18, + "line": 19, "column": 7 } }, "range": [ - 338, - 339 + 491, + 492 ] }, { @@ -5206,17 +5206,17 @@ export default { "value": "set", "loc": { "start": { - "line": 19, + "line": 20, "column": 6 }, "end": { - "line": 19, + "line": 20, "column": 9 } }, "range": [ - 346, - 349 + 499, + 502 ] }, { @@ -5224,17 +5224,17 @@ export default { "value": "accessor", "loc": { "start": { - "line": 19, + "line": 20, "column": 10 }, "end": { - "line": 19, + "line": 20, "column": 18 } }, "range": [ - 350, - 358 + 503, + 511 ] }, { @@ -5242,17 +5242,17 @@ export default { "value": "(", "loc": { "start": { - "line": 19, + "line": 20, "column": 18 }, "end": { - "line": 19, + "line": 20, "column": 19 } }, "range": [ - 358, - 359 + 511, + 512 ] }, { @@ -5260,17 +5260,17 @@ export default { "value": "{", "loc": { "start": { - "line": 19, + "line": 20, "column": 19 }, "end": { - "line": 19, + "line": 20, "column": 20 } }, "range": [ - 359, - 360 + 512, + 513 ] }, { @@ -5278,17 +5278,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 19, + "line": 20, "column": 20 }, "end": { - "line": 19, + "line": 20, "column": 27 } }, "range": [ - 360, - 367 + 513, + 520 ] }, { @@ -5296,17 +5296,17 @@ export default { "value": "=", "loc": { "start": { - "line": 19, + "line": 20, "column": 28 }, "end": { - "line": 19, + "line": 20, "column": 29 } }, "range": [ - 368, - 369 + 521, + 522 ] }, { @@ -5314,17 +5314,17 @@ export default { "value": "setterParam", "loc": { "start": { - "line": 19, + "line": 20, "column": 30 }, "end": { - "line": 19, + "line": 20, "column": 41 } }, "range": [ - 370, - 381 + 523, + 534 ] }, { @@ -5332,17 +5332,17 @@ export default { "value": "=", "loc": { "start": { - "line": 19, + "line": 20, "column": 42 }, "end": { - "line": 19, + "line": 20, "column": 43 } }, "range": [ - 382, - 383 + 535, + 536 ] }, { @@ -5350,17 +5350,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 19, + "line": 20, "column": 44 }, "end": { - "line": 19, + "line": 20, "column": 53 } }, "range": [ - 384, - 393 + 537, + 546 ] }, { @@ -5368,17 +5368,17 @@ export default { "value": "}", "loc": { "start": { - "line": 19, + "line": 20, "column": 53 }, "end": { - "line": 19, + "line": 20, "column": 54 } }, "range": [ - 393, - 394 + 546, + 547 ] }, { @@ -5386,17 +5386,17 @@ export default { "value": ")", "loc": { "start": { - "line": 19, + "line": 20, "column": 54 }, "end": { - "line": 19, + "line": 20, "column": 55 } }, "range": [ - 394, - 395 + 547, + 548 ] }, { @@ -5404,17 +5404,17 @@ export default { "value": "{", "loc": { "start": { - "line": 19, + "line": 20, "column": 56 }, "end": { - "line": 19, + "line": 20, "column": 57 } }, "range": [ - 396, - 397 + 549, + 550 ] }, { @@ -5422,17 +5422,17 @@ export default { "value": "setter", "loc": { "start": { - "line": 20, + "line": 21, "column": 8 }, "end": { - "line": 20, + "line": 21, "column": 14 } }, "range": [ - 406, - 412 + 559, + 565 ] }, { @@ -5440,17 +5440,17 @@ export default { "value": "=", "loc": { "start": { - "line": 20, + "line": 21, "column": 15 }, "end": { - "line": 20, + "line": 21, "column": 16 } }, "range": [ - 413, - 414 + 566, + 567 ] }, { @@ -5458,17 +5458,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 20, + "line": 21, "column": 17 }, "end": { - "line": 20, + "line": 21, "column": 26 } }, "range": [ - 415, - 424 + 568, + 577 ] }, { @@ -5476,17 +5476,17 @@ export default { "value": ";", "loc": { "start": { - "line": 20, + "line": 21, "column": 26 }, "end": { - "line": 20, + "line": 21, "column": 27 } }, "range": [ - 424, - 425 + 577, + 578 ] }, { @@ -5494,17 +5494,17 @@ export default { "value": "}", "loc": { "start": { - "line": 21, + "line": 22, "column": 6 }, "end": { - "line": 21, + "line": 22, "column": 7 } }, "range": [ - 432, - 433 + 585, + 586 ] }, { @@ -5512,17 +5512,17 @@ export default { "value": "*", "loc": { "start": { - "line": 22, + "line": 23, "column": 6 }, "end": { - "line": 22, + "line": 23, "column": 7 } }, "range": [ - 440, - 441 + 593, + 594 ] }, { @@ -5530,17 +5530,17 @@ export default { "value": "gen", "loc": { "start": { - "line": 22, + "line": 23, "column": 7 }, "end": { - "line": 22, + "line": 23, "column": 10 } }, "range": [ - 441, - 444 + 594, + 597 ] }, { @@ -5548,17 +5548,17 @@ export default { "value": "(", "loc": { "start": { - "line": 22, + "line": 23, "column": 10 }, "end": { - "line": 22, + "line": 23, "column": 11 } }, "range": [ - 444, - 445 + 597, + 598 ] }, { @@ -5566,17 +5566,17 @@ export default { "value": "{", "loc": { "start": { - "line": 22, + "line": 23, "column": 11 }, "end": { - "line": 22, + "line": 23, "column": 12 } }, "range": [ - 445, - 446 + 598, + 599 ] }, { @@ -5584,17 +5584,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 22, + "line": 23, "column": 12 }, "end": { - "line": 22, + "line": 23, "column": 19 } }, "range": [ - 446, - 453 + 599, + 606 ] }, { @@ -5602,17 +5602,17 @@ export default { "value": "=", "loc": { "start": { - "line": 22, + "line": 23, "column": 20 }, "end": { - "line": 22, + "line": 23, "column": 21 } }, "range": [ - 454, - 455 + 607, + 608 ] }, { @@ -5620,17 +5620,17 @@ export default { "value": "genMethodParam", "loc": { "start": { - "line": 22, + "line": 23, "column": 22 }, "end": { - "line": 22, + "line": 23, "column": 36 } }, "range": [ - 456, - 470 + 609, + 623 ] }, { @@ -5638,17 +5638,17 @@ export default { "value": "=", "loc": { "start": { - "line": 22, + "line": 23, "column": 37 }, "end": { - "line": 22, + "line": 23, "column": 38 } }, "range": [ - 471, - 472 + 624, + 625 ] }, { @@ -5656,17 +5656,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 22, + "line": 23, "column": 39 }, "end": { - "line": 22, + "line": 23, "column": 48 } }, "range": [ - 473, - 482 + 626, + 635 ] }, { @@ -5674,17 +5674,17 @@ export default { "value": "}", "loc": { "start": { - "line": 22, + "line": 23, "column": 48 }, "end": { - "line": 22, + "line": 23, "column": 49 } }, "range": [ - 482, - 483 + 635, + 636 ] }, { @@ -5692,17 +5692,17 @@ export default { "value": ")", "loc": { "start": { - "line": 22, + "line": 23, "column": 49 }, "end": { - "line": 22, + "line": 23, "column": 50 } }, "range": [ - 483, - 484 + 636, + 637 ] }, { @@ -5710,17 +5710,17 @@ export default { "value": "{", "loc": { "start": { - "line": 22, + "line": 23, "column": 51 }, "end": { - "line": 22, + "line": 23, "column": 52 } }, "range": [ - 485, - 486 + 638, + 639 ] }, { @@ -5728,17 +5728,17 @@ export default { "value": "genMethod", "loc": { "start": { - "line": 23, + "line": 24, "column": 8 }, "end": { - "line": 23, + "line": 24, "column": 17 } }, "range": [ - 495, - 504 + 648, + 657 ] }, { @@ -5746,17 +5746,17 @@ export default { "value": "=", "loc": { "start": { - "line": 23, + "line": 24, "column": 18 }, "end": { - "line": 23, + "line": 24, "column": 19 } }, "range": [ - 505, - 506 + 658, + 659 ] }, { @@ -5764,17 +5764,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 23, + "line": 24, "column": 20 }, "end": { - "line": 23, + "line": 24, "column": 29 } }, "range": [ - 507, - 516 + 660, + 669 ] }, { @@ -5782,17 +5782,17 @@ export default { "value": ";", "loc": { "start": { - "line": 23, + "line": 24, "column": 29 }, "end": { - "line": 23, + "line": 24, "column": 30 } }, "range": [ - 516, - 517 + 669, + 670 ] }, { @@ -5800,17 +5800,17 @@ export default { "value": "}", "loc": { "start": { - "line": 24, + "line": 25, "column": 6 }, "end": { - "line": 24, + "line": 25, "column": 7 } }, "range": [ - 524, - 525 + 677, + 678 ] }, { @@ -5818,17 +5818,17 @@ export default { "value": "async", "loc": { "start": { - "line": 25, + "line": 26, "column": 6 }, "end": { - "line": 25, + "line": 26, "column": 11 } }, "range": [ - 532, - 537 + 685, + 690 ] }, { @@ -5836,17 +5836,17 @@ export default { "value": "async", "loc": { "start": { - "line": 25, + "line": 26, "column": 12 }, "end": { - "line": 25, + "line": 26, "column": 17 } }, "range": [ - 538, - 543 + 691, + 696 ] }, { @@ -5854,17 +5854,17 @@ export default { "value": "(", "loc": { "start": { - "line": 25, + "line": 26, "column": 17 }, "end": { - "line": 25, + "line": 26, "column": 18 } }, "range": [ - 543, - 544 + 696, + 697 ] }, { @@ -5872,17 +5872,17 @@ export default { "value": "{", "loc": { "start": { - "line": 25, + "line": 26, "column": 18 }, "end": { - "line": 25, + "line": 26, "column": 19 } }, "range": [ - 544, - 545 + 697, + 698 ] }, { @@ -5890,17 +5890,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 25, + "line": 26, "column": 19 }, "end": { - "line": 25, + "line": 26, "column": 26 } }, "range": [ - 545, - 552 + 698, + 705 ] }, { @@ -5908,17 +5908,17 @@ export default { "value": "=", "loc": { "start": { - "line": 25, + "line": 26, "column": 27 }, "end": { - "line": 25, + "line": 26, "column": 28 } }, "range": [ - 553, - 554 + 706, + 707 ] }, { @@ -5926,17 +5926,17 @@ export default { "value": "asyncMethodParam", "loc": { "start": { - "line": 25, + "line": 26, "column": 29 }, "end": { - "line": 25, + "line": 26, "column": 45 } }, "range": [ - 555, - 571 + 708, + 724 ] }, { @@ -5944,17 +5944,17 @@ export default { "value": "=", "loc": { "start": { - "line": 25, + "line": 26, "column": 46 }, "end": { - "line": 25, + "line": 26, "column": 47 } }, "range": [ - 572, - 573 + 725, + 726 ] }, { @@ -5962,17 +5962,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 25, + "line": 26, "column": 48 }, "end": { - "line": 25, + "line": 26, "column": 57 } }, "range": [ - 574, - 583 + 727, + 736 ] }, { @@ -5980,17 +5980,17 @@ export default { "value": "}", "loc": { "start": { - "line": 25, + "line": 26, "column": 57 }, "end": { - "line": 25, + "line": 26, "column": 58 } }, "range": [ - 583, - 584 + 736, + 737 ] }, { @@ -5998,17 +5998,17 @@ export default { "value": ")", "loc": { "start": { - "line": 25, + "line": 26, "column": 58 }, "end": { - "line": 25, + "line": 26, "column": 59 } }, "range": [ - 584, - 585 + 737, + 738 ] }, { @@ -6016,17 +6016,17 @@ export default { "value": "{", "loc": { "start": { - "line": 25, + "line": 26, "column": 60 }, "end": { - "line": 25, + "line": 26, "column": 61 } }, "range": [ - 586, - 587 + 739, + 740 ] }, { @@ -6034,17 +6034,17 @@ export default { "value": "asyncMethod", "loc": { "start": { - "line": 26, + "line": 27, "column": 8 }, "end": { - "line": 26, + "line": 27, "column": 19 } }, "range": [ - 596, - 607 + 749, + 760 ] }, { @@ -6052,17 +6052,17 @@ export default { "value": "=", "loc": { "start": { - "line": 26, + "line": 27, "column": 20 }, "end": { - "line": 26, + "line": 27, "column": 21 } }, "range": [ - 608, - 609 + 761, + 762 ] }, { @@ -6070,17 +6070,17 @@ export default { "value": "arguments", "loc": { "start": { - "line": 26, + "line": 27, "column": 22 }, "end": { - "line": 26, + "line": 27, "column": 31 } }, "range": [ - 610, - 619 + 763, + 772 ] }, { @@ -6088,17 +6088,17 @@ export default { "value": ";", "loc": { "start": { - "line": 26, + "line": 27, "column": 31 }, "end": { - "line": 26, + "line": 27, "column": 32 } }, "range": [ - 619, - 620 + 772, + 773 ] }, { @@ -6106,17 +6106,17 @@ export default { "value": "}", "loc": { "start": { - "line": 27, + "line": 28, "column": 6 }, "end": { - "line": 27, + "line": 28, "column": 7 } }, "range": [ - 627, - 628 + 780, + 781 ] }, { @@ -6124,17 +6124,17 @@ export default { "value": "}", "loc": { "start": { - "line": 28, + "line": 29, "column": 4 }, "end": { - "line": 28, + "line": 29, "column": 5 } }, "range": [ - 633, - 634 + 786, + 787 ] }, { @@ -6142,17 +6142,17 @@ export default { "value": "(", "loc": { "start": { - "line": 28, + "line": 29, "column": 5 }, "end": { - "line": 28, + "line": 29, "column": 6 } }, "range": [ - 634, - 635 + 787, + 788 ] }, { @@ -6160,17 +6160,17 @@ export default { "value": ")", "loc": { "start": { - "line": 28, + "line": 29, "column": 6 }, "end": { - "line": 28, + "line": 29, "column": 7 } }, "range": [ - 635, - 636 + 788, + 789 ] }, { @@ -6178,17 +6178,17 @@ export default { "value": ";", "loc": { "start": { - "line": 28, + "line": 29, "column": 7 }, "end": { - "line": 28, + "line": 29, "column": 8 } }, "range": [ - 636, - 637 + 789, + 790 ] }, { @@ -6196,17 +6196,17 @@ export default { "value": "}", "loc": { "start": { - "line": 29, + "line": 30, "column": 2 }, "end": { - "line": 29, + "line": 30, "column": 3 } }, "range": [ - 640, - 641 + 793, + 794 ] }, { @@ -6214,17 +6214,17 @@ export default { "value": "}", "loc": { "start": { - "line": 30, + "line": 31, "column": 0 }, "end": { - "line": 30, + "line": 31, "column": 1 } }, "range": [ - 642, - 643 + 795, + 796 ] }, { @@ -6232,17 +6232,17 @@ export default { "value": "instance", "loc": { "start": { - "line": 32, + "line": 33, "column": 0 }, "end": { - "line": 32, + "line": 33, "column": 8 } }, "range": [ - 645, - 653 + 798, + 806 ] }, { @@ -6250,17 +6250,17 @@ export default { "value": ".", "loc": { "start": { - "line": 32, + "line": 33, "column": 8 }, "end": { - "line": 32, + "line": 33, "column": 9 } }, "range": [ - 653, - 654 + 806, + 807 ] }, { @@ -6268,17 +6268,17 @@ export default { "value": "method", "loc": { "start": { - "line": 32, + "line": 33, "column": 9 }, "end": { - "line": 32, + "line": 33, "column": 15 } }, "range": [ - 654, - 660 + 807, + 813 ] }, { @@ -6286,17 +6286,17 @@ export default { "value": "(", "loc": { "start": { - "line": 32, + "line": 33, "column": 15 }, "end": { - "line": 32, + "line": 33, "column": 16 } }, "range": [ - 660, - 661 + 813, + 814 ] }, { @@ -6304,17 +6304,17 @@ export default { "value": "'method'", "loc": { "start": { - "line": 32, + "line": 33, "column": 16 }, "end": { - "line": 32, + "line": 33, "column": 24 } }, "range": [ - 661, - 669 + 814, + 822 ] }, { @@ -6322,17 +6322,17 @@ export default { "value": ")", "loc": { "start": { - "line": 32, + "line": 33, "column": 24 }, "end": { - "line": 32, + "line": 33, "column": 25 } }, "range": [ - 669, - 670 + 822, + 823 ] }, { @@ -6340,17 +6340,17 @@ export default { "value": ";", "loc": { "start": { - "line": 32, + "line": 33, "column": 25 }, "end": { - "line": 32, + "line": 33, "column": 26 } }, "range": [ - 670, - 671 + 823, + 824 ] }, { @@ -6358,17 +6358,17 @@ export default { "value": "instance", "loc": { "start": { - "line": 33, + "line": 34, "column": 0 }, "end": { - "line": 33, + "line": 34, "column": 8 } }, "range": [ - 672, - 680 + 825, + 833 ] }, { @@ -6376,17 +6376,17 @@ export default { "value": ".", "loc": { "start": { - "line": 33, + "line": 34, "column": 8 }, "end": { - "line": 33, + "line": 34, "column": 9 } }, "range": [ - 680, - 681 + 833, + 834 ] }, { @@ -6394,17 +6394,17 @@ export default { "value": "accessor", "loc": { "start": { - "line": 33, + "line": 34, "column": 9 }, "end": { - "line": 33, + "line": 34, "column": 17 } }, "range": [ - 681, - 689 + 834, + 842 ] }, { @@ -6412,17 +6412,17 @@ export default { "value": ";", "loc": { "start": { - "line": 33, + "line": 34, "column": 17 }, "end": { - "line": 33, + "line": 34, "column": 18 } }, "range": [ - 689, - 690 + 842, + 843 ] }, { @@ -6430,17 +6430,17 @@ export default { "value": "instance", "loc": { "start": { - "line": 34, + "line": 35, "column": 0 }, "end": { - "line": 34, + "line": 35, "column": 8 } }, "range": [ - 691, - 699 + 844, + 852 ] }, { @@ -6448,17 +6448,17 @@ export default { "value": ".", "loc": { "start": { - "line": 34, + "line": 35, "column": 8 }, "end": { - "line": 34, + "line": 35, "column": 9 } }, "range": [ - 699, - 700 + 852, + 853 ] }, { @@ -6466,17 +6466,17 @@ export default { "value": "accessor", "loc": { "start": { - "line": 34, + "line": 35, "column": 9 }, "end": { - "line": 34, + "line": 35, "column": 17 } }, "range": [ - 700, - 708 + 853, + 861 ] }, { @@ -6484,17 +6484,17 @@ export default { "value": "=", "loc": { "start": { - "line": 34, + "line": 35, "column": 18 }, "end": { - "line": 34, + "line": 35, "column": 19 } }, "range": [ - 709, - 710 + 862, + 863 ] }, { @@ -6502,17 +6502,17 @@ export default { "value": "'setter'", "loc": { "start": { - "line": 34, + "line": 35, "column": 20 }, "end": { - "line": 34, + "line": 35, "column": 28 } }, "range": [ - 711, - 719 + 864, + 872 ] }, { @@ -6520,17 +6520,17 @@ export default { "value": ";", "loc": { "start": { - "line": 34, + "line": 35, "column": 28 }, "end": { - "line": 34, + "line": 35, "column": 29 } }, "range": [ - 719, - 720 + 872, + 873 ] }, { @@ -6538,17 +6538,17 @@ export default { "value": "instance", "loc": { "start": { - "line": 35, + "line": 36, "column": 0 }, "end": { - "line": 35, + "line": 36, "column": 8 } }, "range": [ - 721, - 729 + 874, + 882 ] }, { @@ -6556,17 +6556,17 @@ export default { "value": ".", "loc": { "start": { - "line": 35, + "line": 36, "column": 8 }, "end": { - "line": 35, + "line": 36, "column": 9 } }, "range": [ - 729, - 730 + 882, + 883 ] }, { @@ -6574,17 +6574,17 @@ export default { "value": "gen", "loc": { "start": { - "line": 35, + "line": 36, "column": 9 }, "end": { - "line": 35, + "line": 36, "column": 12 } }, "range": [ - 730, - 733 + 883, + 886 ] }, { @@ -6592,17 +6592,17 @@ export default { "value": "(", "loc": { "start": { - "line": 35, + "line": 36, "column": 12 }, "end": { - "line": 35, + "line": 36, "column": 13 } }, "range": [ - 733, - 734 + 886, + 887 ] }, { @@ -6610,17 +6610,17 @@ export default { "value": "'generator method'", "loc": { "start": { - "line": 35, + "line": 36, "column": 13 }, "end": { - "line": 35, + "line": 36, "column": 31 } }, "range": [ - 734, - 752 + 887, + 905 ] }, { @@ -6628,17 +6628,17 @@ export default { "value": ")", "loc": { "start": { - "line": 35, + "line": 36, "column": 31 }, "end": { - "line": 35, + "line": 36, "column": 32 } }, "range": [ - 752, - 753 + 905, + 906 ] }, { @@ -6646,17 +6646,17 @@ export default { "value": ".", "loc": { "start": { - "line": 35, + "line": 36, "column": 32 }, "end": { - "line": 35, + "line": 36, "column": 33 } }, "range": [ - 753, - 754 + 906, + 907 ] }, { @@ -6664,17 +6664,17 @@ export default { "value": "next", "loc": { "start": { - "line": 35, + "line": 36, "column": 33 }, "end": { - "line": 35, + "line": 36, "column": 37 } }, "range": [ - 754, - 758 + 907, + 911 ] }, { @@ -6682,17 +6682,17 @@ export default { "value": "(", "loc": { "start": { - "line": 35, + "line": 36, "column": 37 }, "end": { - "line": 35, + "line": 36, "column": 38 } }, "range": [ - 758, - 759 + 911, + 912 ] }, { @@ -6700,17 +6700,17 @@ export default { "value": ")", "loc": { "start": { - "line": 35, + "line": 36, "column": 38 }, "end": { - "line": 35, + "line": 36, "column": 39 } }, "range": [ - 759, - 760 + 912, + 913 ] }, { @@ -6718,17 +6718,17 @@ export default { "value": ";", "loc": { "start": { - "line": 35, + "line": 36, "column": 39 }, "end": { - "line": 35, + "line": 36, "column": 40 } }, "range": [ - 760, - 761 + 913, + 914 ] }, { @@ -6736,17 +6736,17 @@ export default { "value": "instance", "loc": { "start": { - "line": 36, + "line": 37, "column": 0 }, "end": { - "line": 36, + "line": 37, "column": 8 } }, "range": [ - 762, - 770 + 915, + 923 ] }, { @@ -6754,17 +6754,17 @@ export default { "value": ".", "loc": { "start": { - "line": 36, + "line": 37, "column": 8 }, "end": { - "line": 36, + "line": 37, "column": 9 } }, "range": [ - 770, - 771 + 923, + 924 ] }, { @@ -6772,17 +6772,17 @@ export default { "value": "async", "loc": { "start": { - "line": 36, + "line": 37, "column": 9 }, "end": { - "line": 36, + "line": 37, "column": 14 } }, "range": [ - 771, - 776 + 924, + 929 ] }, { @@ -6790,17 +6790,17 @@ export default { "value": "(", "loc": { "start": { - "line": 36, + "line": 37, "column": 14 }, "end": { - "line": 36, + "line": 37, "column": 15 } }, "range": [ - 776, - 777 + 929, + 930 ] }, { @@ -6808,17 +6808,17 @@ export default { "value": "'async method'", "loc": { "start": { - "line": 36, + "line": 37, "column": 15 }, "end": { - "line": 36, + "line": 37, "column": 29 } }, "range": [ - 777, - 791 + 930, + 944 ] }, { @@ -6826,17 +6826,17 @@ export default { "value": ")", "loc": { "start": { - "line": 36, + "line": 37, "column": 29 }, "end": { - "line": 36, + "line": 37, "column": 30 } }, "range": [ - 791, - 792 + 944, + 945 ] }, { @@ -6844,17 +6844,17 @@ export default { "value": ";", "loc": { "start": { - "line": 36, + "line": 37, "column": 30 }, "end": { - "line": 36, + "line": 37, "column": 31 } }, "range": [ - 792, - 793 + 945, + 946 ] }, { @@ -6862,17 +6862,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 38, + "line": 39, "column": 0 }, "end": { - "line": 38, + "line": 39, "column": 6 } }, "range": [ - 795, - 801 + 948, + 954 ] }, { @@ -6880,17 +6880,17 @@ export default { "value": "(", "loc": { "start": { - "line": 38, + "line": 39, "column": 6 }, "end": { - "line": 38, + "line": 39, "column": 7 } }, "range": [ - 801, - 802 + 954, + 955 ] }, { @@ -6898,17 +6898,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 38, + "line": 39, "column": 7 }, "end": { - "line": 38, + "line": 39, "column": 19 } }, "range": [ - 802, - 814 + 955, + 967 ] }, { @@ -6916,17 +6916,17 @@ export default { "value": "(", "loc": { "start": { - "line": 38, + "line": 39, "column": 19 }, "end": { - "line": 38, + "line": 39, "column": 20 } }, "range": [ - 814, - 815 + 967, + 968 ] }, { @@ -6934,17 +6934,17 @@ export default { "value": "[", "loc": { "start": { - "line": 38, + "line": 39, "column": 20 }, "end": { - "line": 38, + "line": 39, "column": 21 } }, "range": [ - 815, - 816 + 968, + 969 ] }, { @@ -6952,17 +6952,17 @@ export default { "value": "'method'", "loc": { "start": { - "line": 38, + "line": 39, "column": 21 }, "end": { - "line": 38, + "line": 39, "column": 29 } }, "range": [ - 816, - 824 + 969, + 977 ] }, { @@ -6970,17 +6970,17 @@ export default { "value": "]", "loc": { "start": { - "line": 38, + "line": 39, "column": 29 }, "end": { - "line": 38, + "line": 39, "column": 30 } }, "range": [ - 824, - 825 + 977, + 978 ] }, { @@ -6988,17 +6988,17 @@ export default { "value": ",", "loc": { "start": { - "line": 38, + "line": 39, "column": 30 }, "end": { - "line": 38, + "line": 39, "column": 31 } }, "range": [ - 825, - 826 + 978, + 979 ] }, { @@ -7006,17 +7006,17 @@ export default { "value": "method", "loc": { "start": { - "line": 38, + "line": 39, "column": 32 }, "end": { - "line": 38, + "line": 39, "column": 38 } }, "range": [ - 827, - 833 + 980, + 986 ] }, { @@ -7024,17 +7024,17 @@ export default { "value": ")", "loc": { "start": { - "line": 38, + "line": 39, "column": 38 }, "end": { - "line": 38, + "line": 39, "column": 39 } }, "range": [ - 833, - 834 + 986, + 987 ] }, { @@ -7042,17 +7042,17 @@ export default { "value": ",", "loc": { "start": { - "line": 38, + "line": 39, "column": 39 }, "end": { - "line": 38, + "line": 39, "column": 40 } }, "range": [ - 834, - 835 + 987, + 988 ] }, { @@ -7060,17 +7060,17 @@ export default { "value": "'body'", "loc": { "start": { - "line": 38, + "line": 39, "column": 41 }, "end": { - "line": 38, + "line": 39, "column": 47 } }, "range": [ - 836, - 842 + 989, + 995 ] }, { @@ -7078,17 +7078,17 @@ export default { "value": ")", "loc": { "start": { - "line": 38, + "line": 39, "column": 47 }, "end": { - "line": 38, + "line": 39, "column": 48 } }, "range": [ - 842, - 843 + 995, + 996 ] }, { @@ -7096,17 +7096,17 @@ export default { "value": ";", "loc": { "start": { - "line": 38, + "line": 39, "column": 48 }, "end": { - "line": 38, + "line": 39, "column": 49 } }, "range": [ - 843, - 844 + 996, + 997 ] }, { @@ -7114,17 +7114,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 39, + "line": 40, "column": 0 }, "end": { - "line": 39, + "line": 40, "column": 6 } }, "range": [ - 845, - 851 + 998, + 1004 ] }, { @@ -7132,17 +7132,17 @@ export default { "value": "(", "loc": { "start": { - "line": 39, + "line": 40, "column": 6 }, "end": { - "line": 39, + "line": 40, "column": 7 } }, "range": [ - 851, - 852 + 1004, + 1005 ] }, { @@ -7150,17 +7150,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 39, + "line": 40, "column": 7 }, "end": { - "line": 39, + "line": 40, "column": 19 } }, "range": [ - 852, - 864 + 1005, + 1017 ] }, { @@ -7168,17 +7168,17 @@ export default { "value": "(", "loc": { "start": { - "line": 39, + "line": 40, "column": 19 }, "end": { - "line": 39, + "line": 40, "column": 20 } }, "range": [ - 864, - 865 + 1017, + 1018 ] }, { @@ -7186,17 +7186,17 @@ export default { "value": "[", "loc": { "start": { - "line": 39, + "line": 40, "column": 20 }, "end": { - "line": 39, + "line": 40, "column": 21 } }, "range": [ - 865, - 866 + 1018, + 1019 ] }, { @@ -7204,17 +7204,17 @@ export default { "value": "'method'", "loc": { "start": { - "line": 39, + "line": 40, "column": 21 }, "end": { - "line": 39, + "line": 40, "column": 29 } }, "range": [ - 866, - 874 + 1019, + 1027 ] }, { @@ -7222,17 +7222,17 @@ export default { "value": "]", "loc": { "start": { - "line": 39, + "line": 40, "column": 29 }, "end": { - "line": 39, + "line": 40, "column": 30 } }, "range": [ - 874, - 875 + 1027, + 1028 ] }, { @@ -7240,17 +7240,17 @@ export default { "value": ",", "loc": { "start": { - "line": 39, + "line": 40, "column": 30 }, "end": { - "line": 39, + "line": 40, "column": 31 } }, "range": [ - 875, - 876 + 1028, + 1029 ] }, { @@ -7258,17 +7258,17 @@ export default { "value": "methodParam", "loc": { "start": { - "line": 39, + "line": 40, "column": 32 }, "end": { - "line": 39, + "line": 40, "column": 43 } }, "range": [ - 877, - 888 + 1030, + 1041 ] }, { @@ -7276,17 +7276,17 @@ export default { "value": ")", "loc": { "start": { - "line": 39, + "line": 40, "column": 43 }, "end": { - "line": 39, + "line": 40, "column": 44 } }, "range": [ - 888, - 889 + 1041, + 1042 ] }, { @@ -7294,17 +7294,17 @@ export default { "value": ",", "loc": { "start": { - "line": 39, + "line": 40, "column": 44 }, "end": { - "line": 39, + "line": 40, "column": 45 } }, "range": [ - 889, - 890 + 1042, + 1043 ] }, { @@ -7312,17 +7312,17 @@ export default { "value": "'parameter'", "loc": { "start": { - "line": 39, + "line": 40, "column": 46 }, "end": { - "line": 39, + "line": 40, "column": 57 } }, "range": [ - 891, - 902 + 1044, + 1055 ] }, { @@ -7330,17 +7330,17 @@ export default { "value": ")", "loc": { "start": { - "line": 39, + "line": 40, "column": 57 }, "end": { - "line": 39, + "line": 40, "column": 58 } }, "range": [ - 902, - 903 + 1055, + 1056 ] }, { @@ -7348,17 +7348,17 @@ export default { "value": ";", "loc": { "start": { - "line": 39, + "line": 40, "column": 58 }, "end": { - "line": 39, + "line": 40, "column": 59 } }, "range": [ - 903, - 904 + 1056, + 1057 ] }, { @@ -7366,17 +7366,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 40, + "line": 41, "column": 0 }, "end": { - "line": 40, + "line": 41, "column": 6 } }, "range": [ - 905, - 911 + 1058, + 1064 ] }, { @@ -7384,17 +7384,17 @@ export default { "value": "(", "loc": { "start": { - "line": 40, + "line": 41, "column": 6 }, "end": { - "line": 40, + "line": 41, "column": 7 } }, "range": [ - 911, - 912 + 1064, + 1065 ] }, { @@ -7402,17 +7402,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 40, + "line": 41, "column": 7 }, "end": { - "line": 40, + "line": 41, "column": 19 } }, "range": [ - 912, - 924 + 1065, + 1077 ] }, { @@ -7420,17 +7420,17 @@ export default { "value": "(", "loc": { "start": { - "line": 40, + "line": 41, "column": 19 }, "end": { - "line": 40, + "line": 41, "column": 20 } }, "range": [ - 924, - 925 + 1077, + 1078 ] }, { @@ -7438,17 +7438,17 @@ export default { "value": "[", "loc": { "start": { - "line": 40, + "line": 41, "column": 20 }, "end": { - "line": 40, + "line": 41, "column": 21 } }, "range": [ - 925, - 926 + 1078, + 1079 ] }, { @@ -7456,17 +7456,17 @@ export default { "value": "]", "loc": { "start": { - "line": 40, + "line": 41, "column": 21 }, "end": { - "line": 40, + "line": 41, "column": 22 } }, "range": [ - 926, - 927 + 1079, + 1080 ] }, { @@ -7474,17 +7474,17 @@ export default { "value": ",", "loc": { "start": { - "line": 40, + "line": 41, "column": 22 }, "end": { - "line": 40, + "line": 41, "column": 23 } }, "range": [ - 927, - 928 + 1080, + 1081 ] }, { @@ -7492,17 +7492,17 @@ export default { "value": "getter", "loc": { "start": { - "line": 40, + "line": 41, "column": 24 }, "end": { - "line": 40, + "line": 41, "column": 30 } }, "range": [ - 929, - 935 + 1082, + 1088 ] }, { @@ -7510,17 +7510,17 @@ export default { "value": ")", "loc": { "start": { - "line": 40, + "line": 41, "column": 30 }, "end": { - "line": 40, + "line": 41, "column": 31 } }, "range": [ - 935, - 936 + 1088, + 1089 ] }, { @@ -7528,17 +7528,17 @@ export default { "value": ",", "loc": { "start": { - "line": 40, + "line": 41, "column": 31 }, "end": { - "line": 40, + "line": 41, "column": 32 } }, "range": [ - 936, - 937 + 1089, + 1090 ] }, { @@ -7546,17 +7546,17 @@ export default { "value": "'body'", "loc": { "start": { - "line": 40, + "line": 41, "column": 33 }, "end": { - "line": 40, + "line": 41, "column": 39 } }, "range": [ - 938, - 944 + 1091, + 1097 ] }, { @@ -7564,17 +7564,17 @@ export default { "value": ")", "loc": { "start": { - "line": 40, + "line": 41, "column": 39 }, "end": { - "line": 40, + "line": 41, "column": 40 } }, "range": [ - 944, - 945 + 1097, + 1098 ] }, { @@ -7582,17 +7582,17 @@ export default { "value": ";", "loc": { "start": { - "line": 40, + "line": 41, "column": 40 }, "end": { - "line": 40, + "line": 41, "column": 41 } }, "range": [ - 945, - 946 + 1098, + 1099 ] }, { @@ -7600,17 +7600,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 41, + "line": 42, "column": 0 }, "end": { - "line": 41, + "line": 42, "column": 6 } }, "range": [ - 947, - 953 + 1100, + 1106 ] }, { @@ -7618,17 +7618,17 @@ export default { "value": "(", "loc": { "start": { - "line": 41, + "line": 42, "column": 6 }, "end": { - "line": 41, + "line": 42, "column": 7 } }, "range": [ - 953, - 954 + 1106, + 1107 ] }, { @@ -7636,17 +7636,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 41, + "line": 42, "column": 7 }, "end": { - "line": 41, + "line": 42, "column": 19 } }, "range": [ - 954, - 966 + 1107, + 1119 ] }, { @@ -7654,17 +7654,17 @@ export default { "value": "(", "loc": { "start": { - "line": 41, + "line": 42, "column": 19 }, "end": { - "line": 41, + "line": 42, "column": 20 } }, "range": [ - 966, - 967 + 1119, + 1120 ] }, { @@ -7672,17 +7672,17 @@ export default { "value": "[", "loc": { "start": { - "line": 41, + "line": 42, "column": 20 }, "end": { - "line": 41, + "line": 42, "column": 21 } }, "range": [ - 967, - 968 + 1120, + 1121 ] }, { @@ -7690,17 +7690,17 @@ export default { "value": "'setter'", "loc": { "start": { - "line": 41, + "line": 42, "column": 21 }, "end": { - "line": 41, + "line": 42, "column": 29 } }, "range": [ - 968, - 976 + 1121, + 1129 ] }, { @@ -7708,17 +7708,17 @@ export default { "value": "]", "loc": { "start": { - "line": 41, + "line": 42, "column": 29 }, "end": { - "line": 41, + "line": 42, "column": 30 } }, "range": [ - 976, - 977 + 1129, + 1130 ] }, { @@ -7726,17 +7726,17 @@ export default { "value": ",", "loc": { "start": { - "line": 41, + "line": 42, "column": 30 }, "end": { - "line": 41, + "line": 42, "column": 31 } }, "range": [ - 977, - 978 + 1130, + 1131 ] }, { @@ -7744,17 +7744,17 @@ export default { "value": "setter", "loc": { "start": { - "line": 41, + "line": 42, "column": 32 }, "end": { - "line": 41, + "line": 42, "column": 38 } }, "range": [ - 979, - 985 + 1132, + 1138 ] }, { @@ -7762,17 +7762,17 @@ export default { "value": ")", "loc": { "start": { - "line": 41, + "line": 42, "column": 38 }, "end": { - "line": 41, + "line": 42, "column": 39 } }, "range": [ - 985, - 986 + 1138, + 1139 ] }, { @@ -7780,17 +7780,17 @@ export default { "value": ",", "loc": { "start": { - "line": 41, + "line": 42, "column": 39 }, "end": { - "line": 41, + "line": 42, "column": 40 } }, "range": [ - 986, - 987 + 1139, + 1140 ] }, { @@ -7798,17 +7798,17 @@ export default { "value": "'body'", "loc": { "start": { - "line": 41, + "line": 42, "column": 41 }, "end": { - "line": 41, + "line": 42, "column": 47 } }, "range": [ - 988, - 994 + 1141, + 1147 ] }, { @@ -7816,17 +7816,17 @@ export default { "value": ")", "loc": { "start": { - "line": 41, + "line": 42, "column": 47 }, "end": { - "line": 41, + "line": 42, "column": 48 } }, "range": [ - 994, - 995 + 1147, + 1148 ] }, { @@ -7834,17 +7834,17 @@ export default { "value": ";", "loc": { "start": { - "line": 41, + "line": 42, "column": 48 }, "end": { - "line": 41, + "line": 42, "column": 49 } }, "range": [ - 995, - 996 + 1148, + 1149 ] }, { @@ -7852,17 +7852,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 42, + "line": 43, "column": 0 }, "end": { - "line": 42, + "line": 43, "column": 6 } }, "range": [ - 997, - 1003 + 1150, + 1156 ] }, { @@ -7870,17 +7870,17 @@ export default { "value": "(", "loc": { "start": { - "line": 42, + "line": 43, "column": 6 }, "end": { - "line": 42, + "line": 43, "column": 7 } }, "range": [ - 1003, - 1004 + 1156, + 1157 ] }, { @@ -7888,17 +7888,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 42, + "line": 43, "column": 7 }, "end": { - "line": 42, + "line": 43, "column": 19 } }, "range": [ - 1004, - 1016 + 1157, + 1169 ] }, { @@ -7906,17 +7906,17 @@ export default { "value": "(", "loc": { "start": { - "line": 42, + "line": 43, "column": 19 }, "end": { - "line": 42, + "line": 43, "column": 20 } }, "range": [ - 1016, - 1017 + 1169, + 1170 ] }, { @@ -7924,17 +7924,17 @@ export default { "value": "[", "loc": { "start": { - "line": 42, + "line": 43, "column": 20 }, "end": { - "line": 42, + "line": 43, "column": 21 } }, "range": [ - 1017, - 1018 + 1170, + 1171 ] }, { @@ -7942,17 +7942,17 @@ export default { "value": "'setter'", "loc": { "start": { - "line": 42, + "line": 43, "column": 21 }, "end": { - "line": 42, + "line": 43, "column": 29 } }, "range": [ - 1018, - 1026 + 1171, + 1179 ] }, { @@ -7960,17 +7960,17 @@ export default { "value": "]", "loc": { "start": { - "line": 42, + "line": 43, "column": 29 }, "end": { - "line": 42, + "line": 43, "column": 30 } }, "range": [ - 1026, - 1027 + 1179, + 1180 ] }, { @@ -7978,17 +7978,17 @@ export default { "value": ",", "loc": { "start": { - "line": 42, + "line": 43, "column": 30 }, "end": { - "line": 42, + "line": 43, "column": 31 } }, "range": [ - 1027, - 1028 + 1180, + 1181 ] }, { @@ -7996,17 +7996,17 @@ export default { "value": "setterParam", "loc": { "start": { - "line": 42, + "line": 43, "column": 32 }, "end": { - "line": 42, + "line": 43, "column": 43 } }, "range": [ - 1029, - 1040 + 1182, + 1193 ] }, { @@ -8014,17 +8014,17 @@ export default { "value": ")", "loc": { "start": { - "line": 42, + "line": 43, "column": 43 }, "end": { - "line": 42, + "line": 43, "column": 44 } }, "range": [ - 1040, - 1041 + 1193, + 1194 ] }, { @@ -8032,17 +8032,17 @@ export default { "value": ",", "loc": { "start": { - "line": 42, + "line": 43, "column": 44 }, "end": { - "line": 42, + "line": 43, "column": 45 } }, "range": [ - 1041, - 1042 + 1194, + 1195 ] }, { @@ -8050,17 +8050,17 @@ export default { "value": "'parameter'", "loc": { "start": { - "line": 42, + "line": 43, "column": 46 }, "end": { - "line": 42, + "line": 43, "column": 57 } }, "range": [ - 1043, - 1054 + 1196, + 1207 ] }, { @@ -8068,17 +8068,17 @@ export default { "value": ")", "loc": { "start": { - "line": 42, + "line": 43, "column": 57 }, "end": { - "line": 42, + "line": 43, "column": 58 } }, "range": [ - 1054, - 1055 + 1207, + 1208 ] }, { @@ -8086,17 +8086,17 @@ export default { "value": ";", "loc": { "start": { - "line": 42, + "line": 43, "column": 58 }, "end": { - "line": 42, + "line": 43, "column": 59 } }, "range": [ - 1055, - 1056 + 1208, + 1209 ] }, { @@ -8104,17 +8104,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 43, + "line": 44, "column": 0 }, "end": { - "line": 43, + "line": 44, "column": 6 } }, "range": [ - 1057, - 1063 + 1210, + 1216 ] }, { @@ -8122,17 +8122,17 @@ export default { "value": "(", "loc": { "start": { - "line": 43, + "line": 44, "column": 6 }, "end": { - "line": 43, + "line": 44, "column": 7 } }, "range": [ - 1063, - 1064 + 1216, + 1217 ] }, { @@ -8140,17 +8140,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 43, + "line": 44, "column": 7 }, "end": { - "line": 43, + "line": 44, "column": 19 } }, "range": [ - 1064, - 1076 + 1217, + 1229 ] }, { @@ -8158,17 +8158,17 @@ export default { "value": "(", "loc": { "start": { - "line": 43, + "line": 44, "column": 19 }, "end": { - "line": 43, + "line": 44, "column": 20 } }, "range": [ - 1076, - 1077 + 1229, + 1230 ] }, { @@ -8176,17 +8176,17 @@ export default { "value": "[", "loc": { "start": { - "line": 43, + "line": 44, "column": 20 }, "end": { - "line": 43, + "line": 44, "column": 21 } }, "range": [ - 1077, - 1078 + 1230, + 1231 ] }, { @@ -8194,17 +8194,17 @@ export default { "value": "'generator method'", "loc": { "start": { - "line": 43, + "line": 44, "column": 21 }, "end": { - "line": 43, + "line": 44, "column": 39 } }, "range": [ - 1078, - 1096 + 1231, + 1249 ] }, { @@ -8212,17 +8212,17 @@ export default { "value": "]", "loc": { "start": { - "line": 43, + "line": 44, "column": 39 }, "end": { - "line": 43, + "line": 44, "column": 40 } }, "range": [ - 1096, - 1097 + 1249, + 1250 ] }, { @@ -8230,17 +8230,17 @@ export default { "value": ",", "loc": { "start": { - "line": 43, + "line": 44, "column": 40 }, "end": { - "line": 43, + "line": 44, "column": 41 } }, "range": [ - 1097, - 1098 + 1250, + 1251 ] }, { @@ -8248,17 +8248,17 @@ export default { "value": "genMethod", "loc": { "start": { - "line": 43, + "line": 44, "column": 42 }, "end": { - "line": 43, + "line": 44, "column": 51 } }, "range": [ - 1099, - 1108 + 1252, + 1261 ] }, { @@ -8266,17 +8266,17 @@ export default { "value": ")", "loc": { "start": { - "line": 43, + "line": 44, "column": 51 }, "end": { - "line": 43, + "line": 44, "column": 52 } }, "range": [ - 1108, - 1109 + 1261, + 1262 ] }, { @@ -8284,17 +8284,17 @@ export default { "value": ",", "loc": { "start": { - "line": 43, + "line": 44, "column": 52 }, "end": { - "line": 43, + "line": 44, "column": 53 } }, "range": [ - 1109, - 1110 + 1262, + 1263 ] }, { @@ -8302,17 +8302,17 @@ export default { "value": "'body'", "loc": { "start": { - "line": 43, + "line": 44, "column": 54 }, "end": { - "line": 43, + "line": 44, "column": 60 } }, "range": [ - 1111, - 1117 + 1264, + 1270 ] }, { @@ -8320,17 +8320,17 @@ export default { "value": ")", "loc": { "start": { - "line": 43, + "line": 44, "column": 60 }, "end": { - "line": 43, + "line": 44, "column": 61 } }, "range": [ - 1117, - 1118 + 1270, + 1271 ] }, { @@ -8338,17 +8338,17 @@ export default { "value": ";", "loc": { "start": { - "line": 43, + "line": 44, "column": 61 }, "end": { - "line": 43, + "line": 44, "column": 62 } }, "range": [ - 1118, - 1119 + 1271, + 1272 ] }, { @@ -8356,17 +8356,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 44, + "line": 45, "column": 0 }, "end": { - "line": 44, + "line": 45, "column": 6 } }, "range": [ - 1120, - 1126 + 1273, + 1279 ] }, { @@ -8374,17 +8374,17 @@ export default { "value": "(", "loc": { "start": { - "line": 44, + "line": 45, "column": 6 }, "end": { - "line": 44, + "line": 45, "column": 7 } }, "range": [ - 1126, - 1127 + 1279, + 1280 ] }, { @@ -8392,17 +8392,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 44, + "line": 45, "column": 7 }, "end": { - "line": 44, + "line": 45, "column": 19 } }, "range": [ - 1127, - 1139 + 1280, + 1292 ] }, { @@ -8410,17 +8410,17 @@ export default { "value": "(", "loc": { "start": { - "line": 44, + "line": 45, "column": 19 }, "end": { - "line": 44, + "line": 45, "column": 20 } }, "range": [ - 1139, - 1140 + 1292, + 1293 ] }, { @@ -8428,17 +8428,17 @@ export default { "value": "[", "loc": { "start": { - "line": 44, + "line": 45, "column": 20 }, "end": { - "line": 44, + "line": 45, "column": 21 } }, "range": [ - 1140, - 1141 + 1293, + 1294 ] }, { @@ -8446,17 +8446,17 @@ export default { "value": "'generator method'", "loc": { "start": { - "line": 44, + "line": 45, "column": 21 }, "end": { - "line": 44, + "line": 45, "column": 39 } }, "range": [ - 1141, - 1159 + 1294, + 1312 ] }, { @@ -8464,17 +8464,17 @@ export default { "value": "]", "loc": { "start": { - "line": 44, + "line": 45, "column": 39 }, "end": { - "line": 44, + "line": 45, "column": 40 } }, "range": [ - 1159, - 1160 + 1312, + 1313 ] }, { @@ -8482,17 +8482,17 @@ export default { "value": ",", "loc": { "start": { - "line": 44, + "line": 45, "column": 40 }, "end": { - "line": 44, + "line": 45, "column": 41 } }, "range": [ - 1160, - 1161 + 1313, + 1314 ] }, { @@ -8500,17 +8500,17 @@ export default { "value": "genMethodParam", "loc": { "start": { - "line": 44, + "line": 45, "column": 42 }, "end": { - "line": 44, + "line": 45, "column": 56 } }, "range": [ - 1162, - 1176 + 1315, + 1329 ] }, { @@ -8518,17 +8518,17 @@ export default { "value": ")", "loc": { "start": { - "line": 44, + "line": 45, "column": 56 }, "end": { - "line": 44, + "line": 45, "column": 57 } }, "range": [ - 1176, - 1177 + 1329, + 1330 ] }, { @@ -8536,17 +8536,17 @@ export default { "value": ",", "loc": { "start": { - "line": 44, + "line": 45, "column": 57 }, "end": { - "line": 44, + "line": 45, "column": 58 } }, "range": [ - 1177, - 1178 + 1330, + 1331 ] }, { @@ -8554,17 +8554,17 @@ export default { "value": "'parameter'", "loc": { "start": { - "line": 44, + "line": 45, "column": 59 }, "end": { - "line": 44, + "line": 45, "column": 70 } }, "range": [ - 1179, - 1190 + 1332, + 1343 ] }, { @@ -8572,17 +8572,17 @@ export default { "value": ")", "loc": { "start": { - "line": 44, + "line": 45, "column": 70 }, "end": { - "line": 44, + "line": 45, "column": 71 } }, "range": [ - 1190, - 1191 + 1343, + 1344 ] }, { @@ -8590,17 +8590,17 @@ export default { "value": ";", "loc": { "start": { - "line": 44, + "line": 45, "column": 71 }, "end": { - "line": 44, + "line": 45, "column": 72 } }, "range": [ - 1191, - 1192 + 1344, + 1345 ] }, { @@ -8608,17 +8608,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 45, + "line": 46, "column": 0 }, "end": { - "line": 45, + "line": 46, "column": 6 } }, "range": [ - 1193, - 1199 + 1346, + 1352 ] }, { @@ -8626,17 +8626,17 @@ export default { "value": "(", "loc": { "start": { - "line": 45, + "line": 46, "column": 6 }, "end": { - "line": 45, + "line": 46, "column": 7 } }, "range": [ - 1199, - 1200 + 1352, + 1353 ] }, { @@ -8644,17 +8644,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 45, + "line": 46, "column": 7 }, "end": { - "line": 45, + "line": 46, "column": 19 } }, "range": [ - 1200, - 1212 + 1353, + 1365 ] }, { @@ -8662,17 +8662,17 @@ export default { "value": "(", "loc": { "start": { - "line": 45, + "line": 46, "column": 19 }, "end": { - "line": 45, + "line": 46, "column": 20 } }, "range": [ - 1212, - 1213 + 1365, + 1366 ] }, { @@ -8680,17 +8680,17 @@ export default { "value": "[", "loc": { "start": { - "line": 45, + "line": 46, "column": 20 }, "end": { - "line": 45, + "line": 46, "column": 21 } }, "range": [ - 1213, - 1214 + 1366, + 1367 ] }, { @@ -8698,17 +8698,17 @@ export default { "value": "'async method'", "loc": { "start": { - "line": 45, + "line": 46, "column": 21 }, "end": { - "line": 45, + "line": 46, "column": 35 } }, "range": [ - 1214, - 1228 + 1367, + 1381 ] }, { @@ -8716,17 +8716,17 @@ export default { "value": "]", "loc": { "start": { - "line": 45, + "line": 46, "column": 35 }, "end": { - "line": 45, + "line": 46, "column": 36 } }, "range": [ - 1228, - 1229 + 1381, + 1382 ] }, { @@ -8734,17 +8734,17 @@ export default { "value": ",", "loc": { "start": { - "line": 45, + "line": 46, "column": 36 }, "end": { - "line": 45, + "line": 46, "column": 37 } }, "range": [ - 1229, - 1230 + 1382, + 1383 ] }, { @@ -8752,17 +8752,17 @@ export default { "value": "asyncMethod", "loc": { "start": { - "line": 45, + "line": 46, "column": 38 }, "end": { - "line": 45, + "line": 46, "column": 49 } }, "range": [ - 1231, - 1242 + 1384, + 1395 ] }, { @@ -8770,17 +8770,17 @@ export default { "value": ")", "loc": { "start": { - "line": 45, + "line": 46, "column": 49 }, "end": { - "line": 45, + "line": 46, "column": 50 } }, "range": [ - 1242, - 1243 + 1395, + 1396 ] }, { @@ -8788,17 +8788,17 @@ export default { "value": ",", "loc": { "start": { - "line": 45, + "line": 46, "column": 50 }, "end": { - "line": 45, + "line": 46, "column": 51 } }, "range": [ - 1243, - 1244 + 1396, + 1397 ] }, { @@ -8806,17 +8806,17 @@ export default { "value": "'body'", "loc": { "start": { - "line": 45, + "line": 46, "column": 52 }, "end": { - "line": 45, + "line": 46, "column": 58 } }, "range": [ - 1245, - 1251 + 1398, + 1404 ] }, { @@ -8824,17 +8824,17 @@ export default { "value": ")", "loc": { "start": { - "line": 45, + "line": 46, "column": 58 }, "end": { - "line": 45, + "line": 46, "column": 59 } }, "range": [ - 1251, - 1252 + 1404, + 1405 ] }, { @@ -8842,17 +8842,17 @@ export default { "value": ";", "loc": { "start": { - "line": 45, + "line": 46, "column": 59 }, "end": { - "line": 45, + "line": 46, "column": 60 } }, "range": [ - 1252, - 1253 + 1405, + 1406 ] }, { @@ -8860,17 +8860,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 46, + "line": 47, "column": 0 }, "end": { - "line": 46, + "line": 47, "column": 6 } }, "range": [ - 1254, - 1260 + 1407, + 1413 ] }, { @@ -8878,17 +8878,17 @@ export default { "value": "(", "loc": { "start": { - "line": 46, + "line": 47, "column": 6 }, "end": { - "line": 46, + "line": 47, "column": 7 } }, "range": [ - 1260, - 1261 + 1413, + 1414 ] }, { @@ -8896,17 +8896,17 @@ export default { "value": "compareArray", "loc": { "start": { - "line": 46, + "line": 47, "column": 7 }, "end": { - "line": 46, + "line": 47, "column": 19 } }, "range": [ - 1261, - 1273 + 1414, + 1426 ] }, { @@ -8914,17 +8914,17 @@ export default { "value": "(", "loc": { "start": { - "line": 46, + "line": 47, "column": 19 }, "end": { - "line": 46, + "line": 47, "column": 20 } }, "range": [ - 1273, - 1274 + 1426, + 1427 ] }, { @@ -8932,17 +8932,17 @@ export default { "value": "[", "loc": { "start": { - "line": 46, + "line": 47, "column": 20 }, "end": { - "line": 46, + "line": 47, "column": 21 } }, "range": [ - 1274, - 1275 + 1427, + 1428 ] }, { @@ -8950,17 +8950,17 @@ export default { "value": "'async method'", "loc": { "start": { - "line": 46, + "line": 47, "column": 21 }, "end": { - "line": 46, + "line": 47, "column": 35 } }, "range": [ - 1275, - 1289 + 1428, + 1442 ] }, { @@ -8968,17 +8968,17 @@ export default { "value": "]", "loc": { "start": { - "line": 46, + "line": 47, "column": 35 }, "end": { - "line": 46, + "line": 47, "column": 36 } }, "range": [ - 1289, - 1290 + 1442, + 1443 ] }, { @@ -8986,17 +8986,17 @@ export default { "value": ",", "loc": { "start": { - "line": 46, + "line": 47, "column": 36 }, "end": { - "line": 46, + "line": 47, "column": 37 } }, "range": [ - 1290, - 1291 + 1443, + 1444 ] }, { @@ -9004,17 +9004,17 @@ export default { "value": "asyncMethodParam", "loc": { "start": { - "line": 46, + "line": 47, "column": 38 }, "end": { - "line": 46, + "line": 47, "column": 54 } }, "range": [ - 1292, - 1308 + 1445, + 1461 ] }, { @@ -9022,17 +9022,17 @@ export default { "value": ")", "loc": { "start": { - "line": 46, + "line": 47, "column": 54 }, "end": { - "line": 46, + "line": 47, "column": 55 } }, "range": [ - 1308, - 1309 + 1461, + 1462 ] }, { @@ -9040,17 +9040,17 @@ export default { "value": ",", "loc": { "start": { - "line": 46, + "line": 47, "column": 55 }, "end": { - "line": 46, + "line": 47, "column": 56 } }, "range": [ - 1309, - 1310 + 1462, + 1463 ] }, { @@ -9058,17 +9058,17 @@ export default { "value": "'parameter'", "loc": { "start": { - "line": 46, + "line": 47, "column": 57 }, "end": { - "line": 46, + "line": 47, "column": 68 } }, "range": [ - 1311, - 1322 + 1464, + 1475 ] }, { @@ -9076,17 +9076,17 @@ export default { "value": ")", "loc": { "start": { - "line": 46, + "line": 47, "column": 68 }, "end": { - "line": 46, + "line": 47, "column": 69 } }, "range": [ - 1322, - 1323 + 1475, + 1476 ] }, { @@ -9094,17 +9094,17 @@ export default { "value": ";", "loc": { "start": { - "line": 46, + "line": 47, "column": 69 }, "end": { - "line": 46, + "line": 47, "column": 70 } }, "range": [ - 1323, - 1324 + 1476, + 1477 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-methods.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-methods.src.js index 953cce3a..92608630 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-methods.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-arguments-methods.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-arguments-methods.js var instance; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.module-result.js new file mode 100644 index 00000000..a45d881b --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 168, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.result.js index 8b8b21f9..2420ff34 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.result.js @@ -1,6 +1,6 @@ export default { - "index": 31, - "lineNumber": 3, + "index": 188, + "lineNumber": 4, "column": 11, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.src.js index 96c68269..522e7499 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-invalid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-await-binding-invalid.js class C { static { class await {} diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.module-result.js index e0cdd494..6473d839 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 42, - "lineNumber": 5, + "index": 197, + "lineNumber": 6, "column": 20, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.result.js index 36cdcd66..79e7096c 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 60 + 157, + 215 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 60 + 157, + 215 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 163, + 164 ], "name": "C" }, @@ -54,67 +54,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 60 + 165, + 215 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 58 + 169, + 213 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 27, - 54 + 182, + 209 ], "expression": { "type": "ArrowFunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 28, - 52 + 183, + 207 ], "id": null, "expression": false, @@ -125,50 +125,50 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 34, - 52 + 189, + 207 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 36, - 50 + 191, + 205 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 19 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 42, - 47 + 197, + 202 ], "name": "await" }, @@ -177,17 +177,17 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 48, - 50 + 203, + 205 ], "body": [] } @@ -209,17 +209,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 157, + 162 ] }, { @@ -227,17 +227,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 163, + 164 ] }, { @@ -245,17 +245,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 165, + 166 ] }, { @@ -263,17 +263,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 169, + 175 ] }, { @@ -281,17 +281,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 176, + 177 ] }, { @@ -299,17 +299,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 182, + 183 ] }, { @@ -317,17 +317,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 183, + 184 ] }, { @@ -335,17 +335,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 184, + 185 ] }, { @@ -353,17 +353,17 @@ export default { "value": "=>", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 31, - 33 + 186, + 188 ] }, { @@ -371,17 +371,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 34, - 35 + 189, + 190 ] }, { @@ -389,17 +389,17 @@ export default { "value": "class", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 36, - 41 + 191, + 196 ] }, { @@ -407,17 +407,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 19 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 42, - 47 + 197, + 202 ] }, { @@ -425,17 +425,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 48, - 49 + 203, + 204 ] }, { @@ -443,17 +443,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 26 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 49, - 50 + 204, + 205 ] }, { @@ -461,17 +461,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 28 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 51, - 52 + 206, + 207 ] }, { @@ -479,17 +479,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 29 }, "end": { - "line": 5, + "line": 6, "column": 30 } }, "range": [ - 52, - 53 + 207, + 208 ] }, { @@ -497,17 +497,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 30 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 53, - 54 + 208, + 209 ] }, { @@ -515,17 +515,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 57, - 58 + 212, + 213 ] }, { @@ -533,17 +533,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 59, - 60 + 214, + 215 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.src.js index 0839bff4..ba11a6ad 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-await-binding-valid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-await-binding-valid.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-new-target.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-new-target.result.js index 80948460..c6cc7792 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-new-target.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-new-target.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 35 } }, "range": [ - 2, - 108 + 153, + 259 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 17 } }, "range": [ - 2, - 19 + 153, + 170 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 16 } }, "range": [ - 6, - 18 + 157, + 169 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 157, + 162 ], "name": "value" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 16 } }, "range": [ - 14, - 18 + 165, + 169 ], "value": null, "raw": "null" @@ -93,33 +93,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "range": [ - 21, - 71 + 172, + 222 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 27, - 28 + 178, + 179 ], "name": "C" }, @@ -128,84 +128,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "range": [ - 29, - 71 + 180, + 222 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 3 } }, "range": [ - 33, - 69 + 184, + 220 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 23 } }, "range": [ - 46, - 65 + 197, + 216 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 22 } }, "range": [ - 46, - 64 + 197, + 215 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 9 } }, "range": [ - 46, - 51 + 197, + 202 ], "name": "value" }, @@ -213,33 +213,33 @@ export default { "type": "MetaProperty", "loc": { "start": { - "line": 7, + "line": 8, "column": 12 }, "end": { - "line": 7, + "line": 8, "column": 22 } }, "range": [ - 54, - 64 + 205, + 215 ], "meta": { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 12 }, "end": { - "line": 7, + "line": 8, "column": 15 } }, "range": [ - 54, - 57 + 205, + 208 ], "name": "new" }, @@ -247,17 +247,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 16 }, "end": { - "line": 7, + "line": 8, "column": 22 } }, "range": [ - 58, - 64 + 209, + 215 ], "name": "target" } @@ -273,65 +273,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 35 } }, "range": [ - 73, - 108 + 224, + 259 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 34 } }, "range": [ - 73, - 107 + 224, + 258 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, "range": [ - 73, - 89 + 224, + 240 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 6 } }, "range": [ - 73, - 79 + 224, + 230 ], "name": "assert" }, @@ -339,17 +339,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, "range": [ - 80, - 89 + 231, + 240 ], "name": "sameValue" }, @@ -361,17 +361,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 17 }, "end": { - "line": 11, + "line": 12, "column": 22 } }, "range": [ - 90, - 95 + 241, + 246 ], "name": "value" }, @@ -379,17 +379,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 24 }, "end": { - "line": 11, + "line": 12, "column": 33 } }, "range": [ - 97, - 106 + 248, + 257 ], "name": "undefined" } @@ -405,17 +405,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 153, + 156 ] }, { @@ -423,17 +423,17 @@ export default { "value": "value", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 157, + 162 ] }, { @@ -441,17 +441,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 10 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 12, - 13 + 163, + 164 ] }, { @@ -459,17 +459,17 @@ export default { "value": "null", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 16 } }, "range": [ - 14, - 18 + 165, + 169 ] }, { @@ -477,17 +477,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 16 }, "end": { - "line": 3, + "line": 4, "column": 17 } }, "range": [ - 18, - 19 + 169, + 170 ] }, { @@ -495,17 +495,17 @@ export default { "value": "class", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 21, - 26 + 172, + 177 ] }, { @@ -513,17 +513,17 @@ export default { "value": "C", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 27, - 28 + 178, + 179 ] }, { @@ -531,17 +531,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 9 } }, "range": [ - 29, - 30 + 180, + 181 ] }, { @@ -549,17 +549,17 @@ export default { "value": "static", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 8 } }, "range": [ - 33, - 39 + 184, + 190 ] }, { @@ -567,17 +567,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 9 }, "end": { - "line": 6, + "line": 7, "column": 10 } }, "range": [ - 40, - 41 + 191, + 192 ] }, { @@ -585,17 +585,17 @@ export default { "value": "value", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 9 } }, "range": [ - 46, - 51 + 197, + 202 ] }, { @@ -603,17 +603,17 @@ export default { "value": "=", "loc": { "start": { - "line": 7, + "line": 8, "column": 10 }, "end": { - "line": 7, + "line": 8, "column": 11 } }, "range": [ - 52, - 53 + 203, + 204 ] }, { @@ -621,17 +621,17 @@ export default { "value": "new", "loc": { "start": { - "line": 7, + "line": 8, "column": 12 }, "end": { - "line": 7, + "line": 8, "column": 15 } }, "range": [ - 54, - 57 + 205, + 208 ] }, { @@ -639,17 +639,17 @@ export default { "value": ".", "loc": { "start": { - "line": 7, + "line": 8, "column": 15 }, "end": { - "line": 7, + "line": 8, "column": 16 } }, "range": [ - 57, - 58 + 208, + 209 ] }, { @@ -657,17 +657,17 @@ export default { "value": "target", "loc": { "start": { - "line": 7, + "line": 8, "column": 16 }, "end": { - "line": 7, + "line": 8, "column": 22 } }, "range": [ - 58, - 64 + 209, + 215 ] }, { @@ -675,17 +675,17 @@ export default { "value": ";", "loc": { "start": { - "line": 7, + "line": 8, "column": 22 }, "end": { - "line": 7, + "line": 8, "column": 23 } }, "range": [ - 64, - 65 + 215, + 216 ] }, { @@ -693,17 +693,17 @@ export default { "value": "}", "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 3 } }, "range": [ - 68, - 69 + 219, + 220 ] }, { @@ -711,17 +711,17 @@ export default { "value": "}", "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "range": [ - 70, - 71 + 221, + 222 ] }, { @@ -729,17 +729,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 6 } }, "range": [ - 73, - 79 + 224, + 230 ] }, { @@ -747,17 +747,17 @@ export default { "value": ".", "loc": { "start": { - "line": 11, + "line": 12, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 79, - 80 + 230, + 231 ] }, { @@ -765,17 +765,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, "range": [ - 80, - 89 + 231, + 240 ] }, { @@ -783,17 +783,17 @@ export default { "value": "(", "loc": { "start": { - "line": 11, + "line": 12, "column": 16 }, "end": { - "line": 11, + "line": 12, "column": 17 } }, "range": [ - 89, - 90 + 240, + 241 ] }, { @@ -801,17 +801,17 @@ export default { "value": "value", "loc": { "start": { - "line": 11, + "line": 12, "column": 17 }, "end": { - "line": 11, + "line": 12, "column": 22 } }, "range": [ - 90, - 95 + 241, + 246 ] }, { @@ -819,17 +819,17 @@ export default { "value": ",", "loc": { "start": { - "line": 11, + "line": 12, "column": 22 }, "end": { - "line": 11, + "line": 12, "column": 23 } }, "range": [ - 95, - 96 + 246, + 247 ] }, { @@ -837,17 +837,17 @@ export default { "value": "undefined", "loc": { "start": { - "line": 11, + "line": 12, "column": 24 }, "end": { - "line": 11, + "line": 12, "column": 33 } }, "range": [ - 97, - 106 + 248, + 257 ] }, { @@ -855,17 +855,17 @@ export default { "value": ")", "loc": { "start": { - "line": 11, + "line": 12, "column": 33 }, "end": { - "line": 11, + "line": 12, "column": 34 } }, "range": [ - 106, - 107 + 257, + 258 ] }, { @@ -873,17 +873,17 @@ export default { "value": ";", "loc": { "start": { - "line": 11, + "line": 12, "column": 34 }, "end": { - "line": 11, + "line": 12, "column": 35 } }, "range": [ - 107, - 108 + 258, + 259 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-new-target.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-new-target.src.js index cf32166e..33c19827 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-new-target.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-new-target.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-expr-new-target.js var value = null; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-this.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-this.result.js index 15947c0f..b3d9e011 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-this.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-this.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 27 } }, "range": [ - 2, - 87 + 147, + 232 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 10 } }, "range": [ - 2, - 12 + 147, + 157 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 151, + 156 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 151, + 156 ], "name": "value" }, @@ -75,33 +75,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "range": [ - 14, - 58 + 159, + 203 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 20, - 21 + 165, + 166 ], "name": "C" }, @@ -110,84 +110,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "range": [ - 22, - 58 + 167, + 203 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 3 } }, "range": [ - 26, - 56 + 171, + 201 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 17 } }, "range": [ - 39, - 52 + 184, + 197 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 16 } }, "range": [ - 39, - 51 + 184, + 196 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 9 } }, "range": [ - 39, - 44 + 184, + 189 ], "name": "value" }, @@ -195,17 +195,17 @@ export default { "type": "ThisExpression", "loc": { "start": { - "line": 7, + "line": 8, "column": 12 }, "end": { - "line": 7, + "line": 8, "column": 16 } }, "range": [ - 47, - 51 + 192, + 196 ] } } @@ -219,65 +219,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 27 } }, "range": [ - 60, - 87 + 205, + 232 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 26 } }, "range": [ - 60, - 86 + 205, + 231 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, "range": [ - 60, - 76 + 205, + 221 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 6 } }, "range": [ - 60, - 66 + 205, + 211 ], "name": "assert" }, @@ -285,17 +285,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, "range": [ - 67, - 76 + 212, + 221 ], "name": "sameValue" }, @@ -307,17 +307,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 17 }, "end": { - "line": 11, + "line": 12, "column": 22 } }, "range": [ - 77, - 82 + 222, + 227 ], "name": "value" }, @@ -325,17 +325,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 24 }, "end": { - "line": 11, + "line": 12, "column": 25 } }, "range": [ - 84, - 85 + 229, + 230 ], "name": "C" } @@ -351,17 +351,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 147, + 150 ] }, { @@ -369,17 +369,17 @@ export default { "value": "value", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 151, + 156 ] }, { @@ -387,17 +387,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 9 }, "end": { - "line": 3, + "line": 4, "column": 10 } }, "range": [ - 11, - 12 + 156, + 157 ] }, { @@ -405,17 +405,17 @@ export default { "value": "class", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 14, - 19 + 159, + 164 ] }, { @@ -423,17 +423,17 @@ export default { "value": "C", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 20, - 21 + 165, + 166 ] }, { @@ -441,17 +441,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 9 } }, "range": [ - 22, - 23 + 167, + 168 ] }, { @@ -459,17 +459,17 @@ export default { "value": "static", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 8 } }, "range": [ - 26, - 32 + 171, + 177 ] }, { @@ -477,17 +477,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 9 }, "end": { - "line": 6, + "line": 7, "column": 10 } }, "range": [ - 33, - 34 + 178, + 179 ] }, { @@ -495,17 +495,17 @@ export default { "value": "value", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 9 } }, "range": [ - 39, - 44 + 184, + 189 ] }, { @@ -513,17 +513,17 @@ export default { "value": "=", "loc": { "start": { - "line": 7, + "line": 8, "column": 10 }, "end": { - "line": 7, + "line": 8, "column": 11 } }, "range": [ - 45, - 46 + 190, + 191 ] }, { @@ -531,17 +531,17 @@ export default { "value": "this", "loc": { "start": { - "line": 7, + "line": 8, "column": 12 }, "end": { - "line": 7, + "line": 8, "column": 16 } }, "range": [ - 47, - 51 + 192, + 196 ] }, { @@ -549,17 +549,17 @@ export default { "value": ";", "loc": { "start": { - "line": 7, + "line": 8, "column": 16 }, "end": { - "line": 7, + "line": 8, "column": 17 } }, "range": [ - 51, - 52 + 196, + 197 ] }, { @@ -567,17 +567,17 @@ export default { "value": "}", "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 3 } }, "range": [ - 55, - 56 + 200, + 201 ] }, { @@ -585,17 +585,17 @@ export default { "value": "}", "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "range": [ - 57, - 58 + 202, + 203 ] }, { @@ -603,17 +603,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 6 } }, "range": [ - 60, - 66 + 205, + 211 ] }, { @@ -621,17 +621,17 @@ export default { "value": ".", "loc": { "start": { - "line": 11, + "line": 12, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 66, - 67 + 211, + 212 ] }, { @@ -639,17 +639,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, "range": [ - 67, - 76 + 212, + 221 ] }, { @@ -657,17 +657,17 @@ export default { "value": "(", "loc": { "start": { - "line": 11, + "line": 12, "column": 16 }, "end": { - "line": 11, + "line": 12, "column": 17 } }, "range": [ - 76, - 77 + 221, + 222 ] }, { @@ -675,17 +675,17 @@ export default { "value": "value", "loc": { "start": { - "line": 11, + "line": 12, "column": 17 }, "end": { - "line": 11, + "line": 12, "column": 22 } }, "range": [ - 77, - 82 + 222, + 227 ] }, { @@ -693,17 +693,17 @@ export default { "value": ",", "loc": { "start": { - "line": 11, + "line": 12, "column": 22 }, "end": { - "line": 11, + "line": 12, "column": 23 } }, "range": [ - 82, - 83 + 227, + 228 ] }, { @@ -711,17 +711,17 @@ export default { "value": "C", "loc": { "start": { - "line": 11, + "line": 12, "column": 24 }, "end": { - "line": 11, + "line": 12, "column": 25 } }, "range": [ - 84, - 85 + 229, + 230 ] }, { @@ -729,17 +729,17 @@ export default { "value": ")", "loc": { "start": { - "line": 11, + "line": 12, "column": 25 }, "end": { - "line": 11, + "line": 12, "column": 26 } }, "range": [ - 85, - 86 + 230, + 231 ] }, { @@ -747,17 +747,17 @@ export default { "value": ";", "loc": { "start": { - "line": 11, + "line": 12, "column": 26 }, "end": { - "line": 11, + "line": 12, "column": 27 } }, "range": [ - 86, - 87 + 231, + 232 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-this.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-this.src.js index 9d0ed2d9..ba4320a5 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-this.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-expr-this.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-expr-this.js var value; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.module-result.js new file mode 100644 index 00000000..9f55f343 --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 164, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.result.js index 8cb71d2f..970ae1bd 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.result.js @@ -1,6 +1,6 @@ export default { - "index": 35, - "lineNumber": 3, + "index": 188, + "lineNumber": 4, "column": 15, "message": "Cannot use arguments in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.src.js index 348dd6fb..e64e0107 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-arguments.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-arguments.js class C { static { (class { [argument\u0073]() {} }); diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-await.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-await.result.js index 8ee1d254..a7bff432 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-await.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-await.result.js @@ -1,6 +1,6 @@ export default { - "index": 52, - "lineNumber": 4, + "index": 201, + "lineNumber": 5, "column": 7, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-await.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-await.src.js index 065d96ee..611d249d 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-await.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-await.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-await.js async function f() { class C { static { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.module-result.js new file mode 100644 index 00000000..9f55f343 --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 164, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.result.js index 513cc7c9..0674e2bb 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.result.js @@ -1,6 +1,6 @@ export default { - "index": 28, - "lineNumber": 3, + "index": 181, + "lineNumber": 4, "column": 8, "message": "Label 'x' is already declared" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.src.js index 8e4805fc..b3d547f0 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-label-dup.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-label-dup.js class C { static { x: x: 0; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.module-result.js new file mode 100644 index 00000000..1e57a1da --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 162, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.result.js index ece5d1c8..13fa87e6 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.result.js @@ -1,6 +1,6 @@ export default { - "index": 40, - "lineNumber": 4, + "index": 191, + "lineNumber": 5, "column": 9, "message": "Identifier 'x' has already been declared" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.src.js index 354338c6..0b9b2804 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-dup.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-lex-dup.js class C { static { let x; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.module-result.js new file mode 100644 index 00000000..1e57a1da --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 162, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.result.js index ece5d1c8..13fa87e6 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.result.js @@ -1,6 +1,6 @@ export default { - "index": 40, - "lineNumber": 4, + "index": 191, + "lineNumber": 5, "column": 9, "message": "Identifier 'x' has already been declared" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.src.js index 2a387a5c..262cd271 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-lex-var.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-lex-var.js class C { static { let x; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-return.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-return.result.js index 15de4305..85f951a2 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-return.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-return.result.js @@ -1,6 +1,6 @@ export default { - "index": 46, - "lineNumber": 4, + "index": 196, + "lineNumber": 5, "column": 7, "message": "'return' outside of function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-return.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-return.src.js index d19ca186..9c5ee123 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-return.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-return.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-return.js function f() { class C { static { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.module-result.js new file mode 100644 index 00000000..98f4f86b --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 165, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.result.js index 408594b4..56ded2de 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.result.js @@ -1,6 +1,6 @@ export default { - "index": 25, - "lineNumber": 3, + "index": 179, + "lineNumber": 4, "column": 5, "message": "super() call outside constructor of a subclass" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.src.js index 56de626c..cca5f9e5 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-super-call.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-super-call.js class C { static { super(); diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.module-result.js new file mode 100644 index 00000000..8459f699 --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 177, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.result.js index 7c84d11e..47382cff 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.result.js @@ -1,6 +1,6 @@ export default { - "index": 50, - "lineNumber": 4, + "index": 216, + "lineNumber": 5, "column": 7, "message": "Unsyntactic break" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.src.js index 4aef3961..e1e41a92 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-break-target.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-undefined-break-target.js class C { static { x: while (false) { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.module-result.js new file mode 100644 index 00000000..e9106577 --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 180, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.result.js index 8f6ad7a4..d69f6d85 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.result.js @@ -1,6 +1,6 @@ export default { - "index": 50, - "lineNumber": 4, + "index": 219, + "lineNumber": 5, "column": 7, "message": "Unsyntactic continue" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.src.js index 6d7b1a8f..5178d75d 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-undefined-continue-target.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-undefined-continue-target.js class C { static { x: while (false) { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-yield.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-yield.result.js index 025edd70..2037a32b 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-yield.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-yield.result.js @@ -1,6 +1,6 @@ export default { - "index": 48, - "lineNumber": 4, + "index": 197, + "lineNumber": 5, "column": 7, "message": "The keyword 'yield' is reserved" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-yield.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-yield.src.js index a26138ac..c88869cc 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-yield.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-invalid-yield.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-invalid-yield.js function * g() { class C { static { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-close.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-close.result.js index e931ac48..6ef7a8d8 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-close.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-close.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 39 } }, "range": [ - 2, - 179 + 153, + 330 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 2, - 30 + 153, + 181 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 6, - 29 + 157, + 180 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 157, + 164 ], "name": "test262" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 167, + 180 ], "value": "outer scope", "raw": "'outer scope'" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 31, - 41 + 182, + 192 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 9 } }, "range": [ - 35, - 40 + 186, + 191 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 9 } }, "range": [ - 35, - 40 + 186, + 191 ], "name": "probe" }, @@ -149,33 +149,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 1 } }, "range": [ - 43, - 138 + 194, + 289 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 200, + 201 ], "name": "C" }, @@ -184,84 +184,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 13, + "line": 14, "column": 1 } }, "range": [ - 51, - 138 + 202, + 289 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 9, + "line": 10, "column": 3 } }, "range": [ - 55, - 100 + 206, + 251 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 68, - 96 + 219, + 247 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 72, - 95 + 223, + 246 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 72, - 79 + 223, + 230 ], "name": "test262" }, @@ -269,17 +269,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 82, - 95 + 233, + 246 ], "value": "first block", "raw": "'first block'" @@ -294,67 +294,67 @@ export default { "type": "StaticBlock", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 12, + "line": 13, "column": 3 } }, "range": [ - 103, - 136 + 254, + 287 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 20 } }, "range": [ - 116, - 132 + 267, + 283 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 19 } }, "range": [ - 116, - 131 + 267, + 282 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 9 } }, "range": [ - 116, - 121 + 267, + 272 ], "name": "probe" }, @@ -362,17 +362,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 12 }, "end": { - "line": 11, + "line": 12, "column": 19 } }, "range": [ - 124, - 131 + 275, + 282 ], "name": "test262" } @@ -387,65 +387,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 39 } }, "range": [ - 140, - 179 + 291, + 330 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 38 } }, "range": [ - 140, - 178 + 291, + 329 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 140, - 156 + 291, + 307 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 6 } }, "range": [ - 140, - 146 + 291, + 297 ], "name": "assert" }, @@ -453,17 +453,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 147, - 156 + 298, + 307 ], "name": "sameValue" }, @@ -475,17 +475,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 17 }, "end": { - "line": 15, + "line": 16, "column": 22 } }, "range": [ - 157, - 162 + 308, + 313 ], "name": "probe" }, @@ -493,17 +493,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 15, + "line": 16, "column": 24 }, "end": { - "line": 15, + "line": 16, "column": 37 } }, "range": [ - 164, - 177 + 315, + 328 ], "value": "outer scope", "raw": "'outer scope'" @@ -520,17 +520,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 153, + 156 ] }, { @@ -538,17 +538,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 157, + 164 ] }, { @@ -556,17 +556,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 165, + 166 ] }, { @@ -574,17 +574,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 167, + 180 ] }, { @@ -592,17 +592,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 27 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 29, - 30 + 180, + 181 ] }, { @@ -610,17 +610,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 31, - 34 + 182, + 185 ] }, { @@ -628,17 +628,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 9 } }, "range": [ - 35, - 40 + 186, + 191 ] }, { @@ -646,17 +646,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 40, - 41 + 191, + 192 ] }, { @@ -664,17 +664,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 43, - 48 + 194, + 199 ] }, { @@ -682,17 +682,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 200, + 201 ] }, { @@ -700,17 +700,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 51, - 52 + 202, + 203 ] }, { @@ -718,17 +718,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 55, - 61 + 206, + 212 ] }, { @@ -736,17 +736,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 62, - 63 + 213, + 214 ] }, { @@ -754,17 +754,17 @@ export default { "value": "let", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 7 } }, "range": [ - 68, - 71 + 219, + 222 ] }, { @@ -772,17 +772,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 72, - 79 + 223, + 230 ] }, { @@ -790,17 +790,17 @@ export default { "value": "=", "loc": { "start": { - "line": 8, + "line": 9, "column": 16 }, "end": { - "line": 8, + "line": 9, "column": 17 } }, "range": [ - 80, - 81 + 231, + 232 ] }, { @@ -808,17 +808,17 @@ export default { "value": "'first block'", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 82, - 95 + 233, + 246 ] }, { @@ -826,17 +826,17 @@ export default { "value": ";", "loc": { "start": { - "line": 8, + "line": 9, "column": 31 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 95, - 96 + 246, + 247 ] }, { @@ -844,17 +844,17 @@ export default { "value": "}", "loc": { "start": { - "line": 9, + "line": 10, "column": 2 }, "end": { - "line": 9, + "line": 10, "column": 3 } }, "range": [ - 99, - 100 + 250, + 251 ] }, { @@ -862,17 +862,17 @@ export default { "value": "static", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 8 } }, "range": [ - 103, - 109 + 254, + 260 ] }, { @@ -880,17 +880,17 @@ export default { "value": "{", "loc": { "start": { - "line": 10, + "line": 11, "column": 9 }, "end": { - "line": 10, + "line": 11, "column": 10 } }, "range": [ - 110, - 111 + 261, + 262 ] }, { @@ -898,17 +898,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 9 } }, "range": [ - 116, - 121 + 267, + 272 ] }, { @@ -916,17 +916,17 @@ export default { "value": "=", "loc": { "start": { - "line": 11, + "line": 12, "column": 10 }, "end": { - "line": 11, + "line": 12, "column": 11 } }, "range": [ - 122, - 123 + 273, + 274 ] }, { @@ -934,17 +934,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 11, + "line": 12, "column": 12 }, "end": { - "line": 11, + "line": 12, "column": 19 } }, "range": [ - 124, - 131 + 275, + 282 ] }, { @@ -952,17 +952,17 @@ export default { "value": ";", "loc": { "start": { - "line": 11, + "line": 12, "column": 19 }, "end": { - "line": 11, + "line": 12, "column": 20 } }, "range": [ - 131, - 132 + 282, + 283 ] }, { @@ -970,17 +970,17 @@ export default { "value": "}", "loc": { "start": { - "line": 12, + "line": 13, "column": 2 }, "end": { - "line": 12, + "line": 13, "column": 3 } }, "range": [ - 135, - 136 + 286, + 287 ] }, { @@ -988,17 +988,17 @@ export default { "value": "}", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 1 } }, "range": [ - 137, - 138 + 288, + 289 ] }, { @@ -1006,17 +1006,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 6 } }, "range": [ - 140, - 146 + 291, + 297 ] }, { @@ -1024,17 +1024,17 @@ export default { "value": ".", "loc": { "start": { - "line": 15, + "line": 16, "column": 6 }, "end": { - "line": 15, + "line": 16, "column": 7 } }, "range": [ - 146, - 147 + 297, + 298 ] }, { @@ -1042,17 +1042,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 147, - 156 + 298, + 307 ] }, { @@ -1060,17 +1060,17 @@ export default { "value": "(", "loc": { "start": { - "line": 15, + "line": 16, "column": 16 }, "end": { - "line": 15, + "line": 16, "column": 17 } }, "range": [ - 156, - 157 + 307, + 308 ] }, { @@ -1078,17 +1078,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 15, + "line": 16, "column": 17 }, "end": { - "line": 15, + "line": 16, "column": 22 } }, "range": [ - 157, - 162 + 308, + 313 ] }, { @@ -1096,17 +1096,17 @@ export default { "value": ",", "loc": { "start": { - "line": 15, + "line": 16, "column": 22 }, "end": { - "line": 15, + "line": 16, "column": 23 } }, "range": [ - 162, - 163 + 313, + 314 ] }, { @@ -1114,17 +1114,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 15, + "line": 16, "column": 24 }, "end": { - "line": 15, + "line": 16, "column": 37 } }, "range": [ - 164, - 177 + 315, + 328 ] }, { @@ -1132,17 +1132,17 @@ export default { "value": ")", "loc": { "start": { - "line": 15, + "line": 16, "column": 37 }, "end": { - "line": 15, + "line": 16, "column": 38 } }, "range": [ - 177, - 178 + 328, + 329 ] }, { @@ -1150,17 +1150,17 @@ export default { "value": ";", "loc": { "start": { - "line": 15, + "line": 16, "column": 38 }, "end": { - "line": 15, + "line": 16, "column": 39 } }, "range": [ - 178, - 179 + 329, + 330 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-close.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-close.src.js index 38eacf31..159ba67d 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-close.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-close.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-scope-lex-close.js var test262 = 'outer scope'; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-derived.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-derived.result.js index 394093ad..380fd186 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-derived.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-derived.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 27 } }, "range": [ - 2, - 84 + 155, + 237 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 10 } }, "range": [ - 2, - 12 + 155, + 165 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 159, + 164 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 159, + 164 ], "name": "probe" }, @@ -75,33 +75,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "range": [ - 14, - 55 + 167, + 208 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 20, - 21 + 173, + 174 ], "name": "C" }, @@ -110,84 +110,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "range": [ - 22, - 55 + 175, + 208 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 3 } }, "range": [ - 26, - 53 + 179, + 206 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 14 } }, "range": [ - 39, - 49 + 192, + 202 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 13 } }, "range": [ - 39, - 48 + 192, + 201 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 9 } }, "range": [ - 39, - 44 + 192, + 197 ], "name": "probe" }, @@ -195,17 +195,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 12 }, "end": { - "line": 7, + "line": 8, "column": 13 } }, "range": [ - 47, - 48 + 200, + 201 ], "name": "C" } @@ -220,65 +220,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 27 } }, "range": [ - 57, - 84 + 210, + 237 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 26 } }, "range": [ - 57, - 83 + 210, + 236 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, "range": [ - 57, - 73 + 210, + 226 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 6 } }, "range": [ - 57, - 63 + 210, + 216 ], "name": "assert" }, @@ -286,17 +286,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, "range": [ - 64, - 73 + 217, + 226 ], "name": "sameValue" }, @@ -308,17 +308,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 17 }, "end": { - "line": 11, + "line": 12, "column": 22 } }, "range": [ - 74, - 79 + 227, + 232 ], "name": "probe" }, @@ -326,17 +326,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 24 }, "end": { - "line": 11, + "line": 12, "column": 25 } }, "range": [ - 81, - 82 + 234, + 235 ], "name": "C" } @@ -352,17 +352,17 @@ export default { "value": "let", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 155, + 158 ] }, { @@ -370,17 +370,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 159, + 164 ] }, { @@ -388,17 +388,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 9 }, "end": { - "line": 3, + "line": 4, "column": 10 } }, "range": [ - 11, - 12 + 164, + 165 ] }, { @@ -406,17 +406,17 @@ export default { "value": "class", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 14, - 19 + 167, + 172 ] }, { @@ -424,17 +424,17 @@ export default { "value": "C", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 20, - 21 + 173, + 174 ] }, { @@ -442,17 +442,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 9 } }, "range": [ - 22, - 23 + 175, + 176 ] }, { @@ -460,17 +460,17 @@ export default { "value": "static", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 8 } }, "range": [ - 26, - 32 + 179, + 185 ] }, { @@ -478,17 +478,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 9 }, "end": { - "line": 6, + "line": 7, "column": 10 } }, "range": [ - 33, - 34 + 186, + 187 ] }, { @@ -496,17 +496,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 7, + "line": 8, "column": 4 }, "end": { - "line": 7, + "line": 8, "column": 9 } }, "range": [ - 39, - 44 + 192, + 197 ] }, { @@ -514,17 +514,17 @@ export default { "value": "=", "loc": { "start": { - "line": 7, + "line": 8, "column": 10 }, "end": { - "line": 7, + "line": 8, "column": 11 } }, "range": [ - 45, - 46 + 198, + 199 ] }, { @@ -532,17 +532,17 @@ export default { "value": "C", "loc": { "start": { - "line": 7, + "line": 8, "column": 12 }, "end": { - "line": 7, + "line": 8, "column": 13 } }, "range": [ - 47, - 48 + 200, + 201 ] }, { @@ -550,17 +550,17 @@ export default { "value": ";", "loc": { "start": { - "line": 7, + "line": 8, "column": 13 }, "end": { - "line": 7, + "line": 8, "column": 14 } }, "range": [ - 48, - 49 + 201, + 202 ] }, { @@ -568,17 +568,17 @@ export default { "value": "}", "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 3 } }, "range": [ - 52, - 53 + 205, + 206 ] }, { @@ -586,17 +586,17 @@ export default { "value": "}", "loc": { "start": { - "line": 9, + "line": 10, "column": 0 }, "end": { - "line": 9, + "line": 10, "column": 1 } }, "range": [ - 54, - 55 + 207, + 208 ] }, { @@ -604,17 +604,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 6 } }, "range": [ - 57, - 63 + 210, + 216 ] }, { @@ -622,17 +622,17 @@ export default { "value": ".", "loc": { "start": { - "line": 11, + "line": 12, "column": 6 }, "end": { - "line": 11, + "line": 12, "column": 7 } }, "range": [ - 63, - 64 + 216, + 217 ] }, { @@ -640,17 +640,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 11, + "line": 12, "column": 7 }, "end": { - "line": 11, + "line": 12, "column": 16 } }, "range": [ - 64, - 73 + 217, + 226 ] }, { @@ -658,17 +658,17 @@ export default { "value": "(", "loc": { "start": { - "line": 11, + "line": 12, "column": 16 }, "end": { - "line": 11, + "line": 12, "column": 17 } }, "range": [ - 73, - 74 + 226, + 227 ] }, { @@ -676,17 +676,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 11, + "line": 12, "column": 17 }, "end": { - "line": 11, + "line": 12, "column": 22 } }, "range": [ - 74, - 79 + 227, + 232 ] }, { @@ -694,17 +694,17 @@ export default { "value": ",", "loc": { "start": { - "line": 11, + "line": 12, "column": 22 }, "end": { - "line": 11, + "line": 12, "column": 23 } }, "range": [ - 79, - 80 + 232, + 233 ] }, { @@ -712,17 +712,17 @@ export default { "value": "C", "loc": { "start": { - "line": 11, + "line": 12, "column": 24 }, "end": { - "line": 11, + "line": 12, "column": 25 } }, "range": [ - 81, - 82 + 234, + 235 ] }, { @@ -730,17 +730,17 @@ export default { "value": ")", "loc": { "start": { - "line": 11, + "line": 12, "column": 25 }, "end": { - "line": 11, + "line": 12, "column": 26 } }, "range": [ - 82, - 83 + 235, + 236 ] }, { @@ -748,17 +748,17 @@ export default { "value": ";", "loc": { "start": { - "line": 11, + "line": 12, "column": 26 }, "end": { - "line": 11, + "line": 12, "column": 27 } }, "range": [ - 83, - 84 + 236, + 237 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-derived.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-derived.src.js index 2e45a5f9..f6f16c74 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-derived.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-derived.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-scope-lex-derived.js let probe; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-open.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-open.result.js index 3b5d36e4..443dcebe 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-open.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-open.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 41 } }, "range": [ - 2, - 330 + 152, + 480 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 2, - 30 + 152, + 180 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 6, - 29 + 156, + 179 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 156, + 163 ], "name": "test262" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 166, + 179 ], "value": "outer scope", "raw": "'outer scope'" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 19 } }, "range": [ - 31, - 50 + 181, + 200 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 35, - 41 + 185, + 191 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 35, - 41 + 185, + 191 ], "name": "probe1" }, @@ -146,33 +146,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 12 }, "end": { - "line": 4, + "line": 5, "column": 18 } }, "range": [ - 43, - 49 + 193, + 199 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 12 }, "end": { - "line": 4, + "line": 5, "column": 18 } }, "range": [ - 43, - 49 + 193, + 199 ], "name": "probe2" }, @@ -185,33 +185,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 1 } }, "range": [ - 52, - 204 + 202, + 354 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 58, - 59 + 208, + 209 ], "name": "C" }, @@ -220,84 +220,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 15, + "line": 16, "column": 1 } }, "range": [ - 60, - 204 + 210, + 354 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 3 } }, "range": [ - 64, - 131 + 214, + 281 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 77, - 105 + 227, + 255 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 81, - 104 + 231, + 254 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 81, - 88 + 231, + 238 ], "name": "test262" }, @@ -305,17 +305,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 91, - 104 + 241, + 254 ], "value": "first block", "raw": "'first block'" @@ -328,50 +328,50 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 21 } }, "range": [ - 110, - 127 + 260, + 277 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 20 } }, "range": [ - 110, - 126 + 260, + 276 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 10 } }, "range": [ - 110, - 116 + 260, + 266 ], "name": "probe1" }, @@ -379,17 +379,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 20 } }, "range": [ - 119, - 126 + 269, + 276 ], "name": "test262" } @@ -401,67 +401,67 @@ export default { "type": "StaticBlock", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 14, + "line": 15, "column": 3 } }, "range": [ - 134, - 202 + 284, + 352 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 33 } }, "range": [ - 147, - 176 + 297, + 326 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 32 } }, "range": [ - 151, - 175 + 301, + 325 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 151, - 158 + 301, + 308 ], "name": "test262" }, @@ -469,17 +469,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 12, + "line": 13, "column": 18 }, "end": { - "line": 12, + "line": 13, "column": 32 } }, "range": [ - 161, - 175 + 311, + 325 ], "value": "second block", "raw": "'second block'" @@ -492,50 +492,50 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 13, + "line": 14, "column": 21 } }, "range": [ - 181, - 198 + 331, + 348 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 13, + "line": 14, "column": 20 } }, "range": [ - 181, - 197 + 331, + 347 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 13, + "line": 14, "column": 10 } }, "range": [ - 181, - 187 + 331, + 337 ], "name": "probe2" }, @@ -543,17 +543,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 13, + "line": 14, "column": 20 } }, "range": [ - 190, - 197 + 340, + 347 ], "name": "test262" } @@ -568,65 +568,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 206, - 247 + 356, + 397 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 40 } }, "range": [ - 206, - 246 + 356, + 396 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 206, - 222 + 356, + 372 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 206, - 212 + 356, + 362 ], "name": "assert" }, @@ -634,17 +634,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 213, - 222 + 363, + 372 ], "name": "sameValue" }, @@ -656,17 +656,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 24 } }, "range": [ - 223, - 230 + 373, + 380 ], "name": "test262" }, @@ -674,17 +674,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 26 }, "end": { - "line": 17, + "line": 18, "column": 39 } }, "range": [ - 232, - 245 + 382, + 395 ], "value": "outer scope", "raw": "'outer scope'" @@ -697,65 +697,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 40 } }, "range": [ - 248, - 288 + 398, + 438 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 39 } }, "range": [ - 248, - 287 + 398, + 437 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 16 } }, "range": [ - 248, - 264 + 398, + 414 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 6 } }, "range": [ - 248, - 254 + 398, + 404 ], "name": "assert" }, @@ -763,17 +763,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 7 }, "end": { - "line": 18, + "line": 19, "column": 16 } }, "range": [ - 255, - 264 + 405, + 414 ], "name": "sameValue" }, @@ -785,17 +785,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 17 }, "end": { - "line": 18, + "line": 19, "column": 23 } }, "range": [ - 265, - 271 + 415, + 421 ], "name": "probe1" }, @@ -803,17 +803,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 18, + "line": 19, "column": 25 }, "end": { - "line": 18, + "line": 19, "column": 38 } }, "range": [ - 273, - 286 + 423, + 436 ], "value": "first block", "raw": "'first block'" @@ -826,65 +826,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 41 } }, "range": [ - 289, - 330 + 439, + 480 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 40 } }, "range": [ - 289, - 329 + 439, + 479 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "range": [ - 289, - 305 + 439, + 455 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 6 } }, "range": [ - 289, - 295 + 439, + 445 ], "name": "assert" }, @@ -892,17 +892,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "range": [ - 296, - 305 + 446, + 455 ], "name": "sameValue" }, @@ -914,17 +914,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 17 }, "end": { - "line": 19, + "line": 20, "column": 23 } }, "range": [ - 306, - 312 + 456, + 462 ], "name": "probe2" }, @@ -932,17 +932,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 19, + "line": 20, "column": 25 }, "end": { - "line": 19, + "line": 20, "column": 39 } }, "range": [ - 314, - 328 + 464, + 478 ], "value": "second block", "raw": "'second block'" @@ -959,17 +959,17 @@ export default { "value": "let", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 152, + 155 ] }, { @@ -977,17 +977,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 156, + 163 ] }, { @@ -995,17 +995,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 164, + 165 ] }, { @@ -1013,17 +1013,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 166, + 179 ] }, { @@ -1031,17 +1031,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 27 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 29, - 30 + 179, + 180 ] }, { @@ -1049,17 +1049,17 @@ export default { "value": "let", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 31, - 34 + 181, + 184 ] }, { @@ -1067,17 +1067,17 @@ export default { "value": "probe1", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 35, - 41 + 185, + 191 ] }, { @@ -1085,17 +1085,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 10 }, "end": { - "line": 4, + "line": 5, "column": 11 } }, "range": [ - 41, - 42 + 191, + 192 ] }, { @@ -1103,17 +1103,17 @@ export default { "value": "probe2", "loc": { "start": { - "line": 4, + "line": 5, "column": 12 }, "end": { - "line": 4, + "line": 5, "column": 18 } }, "range": [ - 43, - 49 + 193, + 199 ] }, { @@ -1121,17 +1121,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 18 }, "end": { - "line": 4, + "line": 5, "column": 19 } }, "range": [ - 49, - 50 + 199, + 200 ] }, { @@ -1139,17 +1139,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 52, - 57 + 202, + 207 ] }, { @@ -1157,17 +1157,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 58, - 59 + 208, + 209 ] }, { @@ -1175,17 +1175,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 60, - 61 + 210, + 211 ] }, { @@ -1193,17 +1193,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 64, - 70 + 214, + 220 ] }, { @@ -1211,17 +1211,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 71, - 72 + 221, + 222 ] }, { @@ -1229,17 +1229,17 @@ export default { "value": "let", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 7 } }, "range": [ - 77, - 80 + 227, + 230 ] }, { @@ -1247,17 +1247,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 81, - 88 + 231, + 238 ] }, { @@ -1265,17 +1265,17 @@ export default { "value": "=", "loc": { "start": { - "line": 8, + "line": 9, "column": 16 }, "end": { - "line": 8, + "line": 9, "column": 17 } }, "range": [ - 89, - 90 + 239, + 240 ] }, { @@ -1283,17 +1283,17 @@ export default { "value": "'first block'", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 91, - 104 + 241, + 254 ] }, { @@ -1301,17 +1301,17 @@ export default { "value": ";", "loc": { "start": { - "line": 8, + "line": 9, "column": 31 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 104, - 105 + 254, + 255 ] }, { @@ -1319,17 +1319,17 @@ export default { "value": "probe1", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 10 } }, "range": [ - 110, - 116 + 260, + 266 ] }, { @@ -1337,17 +1337,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 11 }, "end": { - "line": 9, + "line": 10, "column": 12 } }, "range": [ - 117, - 118 + 267, + 268 ] }, { @@ -1355,17 +1355,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 20 } }, "range": [ - 119, - 126 + 269, + 276 ] }, { @@ -1373,17 +1373,17 @@ export default { "value": ";", "loc": { "start": { - "line": 9, + "line": 10, "column": 20 }, "end": { - "line": 9, + "line": 10, "column": 21 } }, "range": [ - 126, - 127 + 276, + 277 ] }, { @@ -1391,17 +1391,17 @@ export default { "value": "}", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 3 } }, "range": [ - 130, - 131 + 280, + 281 ] }, { @@ -1409,17 +1409,17 @@ export default { "value": "static", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 11, + "line": 12, "column": 8 } }, "range": [ - 134, - 140 + 284, + 290 ] }, { @@ -1427,17 +1427,17 @@ export default { "value": "{", "loc": { "start": { - "line": 11, + "line": 12, "column": 9 }, "end": { - "line": 11, + "line": 12, "column": 10 } }, "range": [ - 141, - 142 + 291, + 292 ] }, { @@ -1445,17 +1445,17 @@ export default { "value": "let", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 7 } }, "range": [ - 147, - 150 + 297, + 300 ] }, { @@ -1463,17 +1463,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 151, - 158 + 301, + 308 ] }, { @@ -1481,17 +1481,17 @@ export default { "value": "=", "loc": { "start": { - "line": 12, + "line": 13, "column": 16 }, "end": { - "line": 12, + "line": 13, "column": 17 } }, "range": [ - 159, - 160 + 309, + 310 ] }, { @@ -1499,17 +1499,17 @@ export default { "value": "'second block'", "loc": { "start": { - "line": 12, + "line": 13, "column": 18 }, "end": { - "line": 12, + "line": 13, "column": 32 } }, "range": [ - 161, - 175 + 311, + 325 ] }, { @@ -1517,17 +1517,17 @@ export default { "value": ";", "loc": { "start": { - "line": 12, + "line": 13, "column": 32 }, "end": { - "line": 12, + "line": 13, "column": 33 } }, "range": [ - 175, - 176 + 325, + 326 ] }, { @@ -1535,17 +1535,17 @@ export default { "value": "probe2", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 13, + "line": 14, "column": 10 } }, "range": [ - 181, - 187 + 331, + 337 ] }, { @@ -1553,17 +1553,17 @@ export default { "value": "=", "loc": { "start": { - "line": 13, + "line": 14, "column": 11 }, "end": { - "line": 13, + "line": 14, "column": 12 } }, "range": [ - 188, - 189 + 338, + 339 ] }, { @@ -1571,17 +1571,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 13, + "line": 14, "column": 20 } }, "range": [ - 190, - 197 + 340, + 347 ] }, { @@ -1589,17 +1589,17 @@ export default { "value": ";", "loc": { "start": { - "line": 13, + "line": 14, "column": 20 }, "end": { - "line": 13, + "line": 14, "column": 21 } }, "range": [ - 197, - 198 + 347, + 348 ] }, { @@ -1607,17 +1607,17 @@ export default { "value": "}", "loc": { "start": { - "line": 14, + "line": 15, "column": 2 }, "end": { - "line": 14, + "line": 15, "column": 3 } }, "range": [ - 201, - 202 + 351, + 352 ] }, { @@ -1625,17 +1625,17 @@ export default { "value": "}", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 1 } }, "range": [ - 203, - 204 + 353, + 354 ] }, { @@ -1643,17 +1643,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 206, - 212 + 356, + 362 ] }, { @@ -1661,17 +1661,17 @@ export default { "value": ".", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 7 } }, "range": [ - 212, - 213 + 362, + 363 ] }, { @@ -1679,17 +1679,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 213, - 222 + 363, + 372 ] }, { @@ -1697,17 +1697,17 @@ export default { "value": "(", "loc": { "start": { - "line": 17, + "line": 18, "column": 16 }, "end": { - "line": 17, + "line": 18, "column": 17 } }, "range": [ - 222, - 223 + 372, + 373 ] }, { @@ -1715,17 +1715,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 24 } }, "range": [ - 223, - 230 + 373, + 380 ] }, { @@ -1733,17 +1733,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 24 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 230, - 231 + 380, + 381 ] }, { @@ -1751,17 +1751,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 17, + "line": 18, "column": 26 }, "end": { - "line": 17, + "line": 18, "column": 39 } }, "range": [ - 232, - 245 + 382, + 395 ] }, { @@ -1769,17 +1769,17 @@ export default { "value": ")", "loc": { "start": { - "line": 17, + "line": 18, "column": 39 }, "end": { - "line": 17, + "line": 18, "column": 40 } }, "range": [ - 245, - 246 + 395, + 396 ] }, { @@ -1787,17 +1787,17 @@ export default { "value": ";", "loc": { "start": { - "line": 17, + "line": 18, "column": 40 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 246, - 247 + 396, + 397 ] }, { @@ -1805,17 +1805,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 6 } }, "range": [ - 248, - 254 + 398, + 404 ] }, { @@ -1823,17 +1823,17 @@ export default { "value": ".", "loc": { "start": { - "line": 18, + "line": 19, "column": 6 }, "end": { - "line": 18, + "line": 19, "column": 7 } }, "range": [ - 254, - 255 + 404, + 405 ] }, { @@ -1841,17 +1841,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 18, + "line": 19, "column": 7 }, "end": { - "line": 18, + "line": 19, "column": 16 } }, "range": [ - 255, - 264 + 405, + 414 ] }, { @@ -1859,17 +1859,17 @@ export default { "value": "(", "loc": { "start": { - "line": 18, + "line": 19, "column": 16 }, "end": { - "line": 18, + "line": 19, "column": 17 } }, "range": [ - 264, - 265 + 414, + 415 ] }, { @@ -1877,17 +1877,17 @@ export default { "value": "probe1", "loc": { "start": { - "line": 18, + "line": 19, "column": 17 }, "end": { - "line": 18, + "line": 19, "column": 23 } }, "range": [ - 265, - 271 + 415, + 421 ] }, { @@ -1895,17 +1895,17 @@ export default { "value": ",", "loc": { "start": { - "line": 18, + "line": 19, "column": 23 }, "end": { - "line": 18, + "line": 19, "column": 24 } }, "range": [ - 271, - 272 + 421, + 422 ] }, { @@ -1913,17 +1913,17 @@ export default { "value": "'first block'", "loc": { "start": { - "line": 18, + "line": 19, "column": 25 }, "end": { - "line": 18, + "line": 19, "column": 38 } }, "range": [ - 273, - 286 + 423, + 436 ] }, { @@ -1931,17 +1931,17 @@ export default { "value": ")", "loc": { "start": { - "line": 18, + "line": 19, "column": 38 }, "end": { - "line": 18, + "line": 19, "column": 39 } }, "range": [ - 286, - 287 + 436, + 437 ] }, { @@ -1949,17 +1949,17 @@ export default { "value": ";", "loc": { "start": { - "line": 18, + "line": 19, "column": 39 }, "end": { - "line": 18, + "line": 19, "column": 40 } }, "range": [ - 287, - 288 + 437, + 438 ] }, { @@ -1967,17 +1967,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 6 } }, "range": [ - 289, - 295 + 439, + 445 ] }, { @@ -1985,17 +1985,17 @@ export default { "value": ".", "loc": { "start": { - "line": 19, + "line": 20, "column": 6 }, "end": { - "line": 19, + "line": 20, "column": 7 } }, "range": [ - 295, - 296 + 445, + 446 ] }, { @@ -2003,17 +2003,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "range": [ - 296, - 305 + 446, + 455 ] }, { @@ -2021,17 +2021,17 @@ export default { "value": "(", "loc": { "start": { - "line": 19, + "line": 20, "column": 16 }, "end": { - "line": 19, + "line": 20, "column": 17 } }, "range": [ - 305, - 306 + 455, + 456 ] }, { @@ -2039,17 +2039,17 @@ export default { "value": "probe2", "loc": { "start": { - "line": 19, + "line": 20, "column": 17 }, "end": { - "line": 19, + "line": 20, "column": 23 } }, "range": [ - 306, - 312 + 456, + 462 ] }, { @@ -2057,17 +2057,17 @@ export default { "value": ",", "loc": { "start": { - "line": 19, + "line": 20, "column": 23 }, "end": { - "line": 19, + "line": 20, "column": 24 } }, "range": [ - 312, - 313 + 462, + 463 ] }, { @@ -2075,17 +2075,17 @@ export default { "value": "'second block'", "loc": { "start": { - "line": 19, + "line": 20, "column": 25 }, "end": { - "line": 19, + "line": 20, "column": 39 } }, "range": [ - 314, - 328 + 464, + 478 ] }, { @@ -2093,17 +2093,17 @@ export default { "value": ")", "loc": { "start": { - "line": 19, + "line": 20, "column": 39 }, "end": { - "line": 19, + "line": 20, "column": 40 } }, "range": [ - 328, - 329 + 478, + 479 ] }, { @@ -2111,17 +2111,17 @@ export default { "value": ";", "loc": { "start": { - "line": 19, + "line": 20, "column": 40 }, "end": { - "line": 19, + "line": 20, "column": 41 } }, "range": [ - 329, - 330 + 479, + 480 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-open.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-open.src.js index 2c1ae1ba..be9bede8 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-open.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-lex-open.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-scope-lex-open.js let test262 = 'outer scope'; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-private.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-private.result.js index 31756bdc..ac282f37 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-private.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-private.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 35 } }, "range": [ - 2, - 133 + 151, + 282 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 10 } }, "range": [ - 2, - 12 + 151, + 161 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 155, + 160 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 155, + 160 ], "name": "probe" }, @@ -75,33 +75,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 1 } }, "range": [ - 14, - 96 + 163, + 245 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 20, - 21 + 169, + 170 ], "name": "C" }, @@ -110,34 +110,34 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 11, + "line": 12, "column": 1 } }, "range": [ - 22, - 96 + 171, + 245 ], "body": [ { "type": "PropertyDefinition", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 30 } }, "range": [ - 26, - 54 + 175, + 203 ], "static": true, "computed": false, @@ -145,17 +145,17 @@ export default { "type": "PrivateIdentifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 9 }, "end": { - "line": 6, + "line": 7, "column": 17 } }, "range": [ - 33, - 41 + 182, + 190 ], "name": "test262" }, @@ -163,17 +163,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 6, + "line": 7, "column": 20 }, "end": { - "line": 6, + "line": 7, "column": 29 } }, "range": [ - 44, - 53 + 193, + 202 ], "value": "private", "raw": "'private'" @@ -183,67 +183,67 @@ export default { "type": "StaticBlock", "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 3 } }, "range": [ - 58, - 94 + 207, + 243 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 23 } }, "range": [ - 71, - 90 + 220, + 239 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 71, - 89 + 220, + 238 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 9 } }, "range": [ - 71, - 76 + 220, + 225 ], "name": "probe" }, @@ -251,33 +251,33 @@ export default { "type": "MemberExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 12 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 79, - 89 + 228, + 238 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 12 }, "end": { - "line": 9, + "line": 10, "column": 13 } }, "range": [ - 79, - 80 + 228, + 229 ], "name": "C" }, @@ -285,17 +285,17 @@ export default { "type": "PrivateIdentifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 14 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 81, - 89 + 230, + 238 ], "name": "test262" }, @@ -313,65 +313,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 35 } }, "range": [ - 98, - 133 + 247, + 282 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 34 } }, "range": [ - 98, - 132 + 247, + 281 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 16 } }, "range": [ - 98, - 114 + 247, + 263 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 6 } }, "range": [ - 98, - 104 + 247, + 253 ], "name": "assert" }, @@ -379,17 +379,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 7 }, "end": { - "line": 13, + "line": 14, "column": 16 } }, "range": [ - 105, - 114 + 254, + 263 ], "name": "sameValue" }, @@ -401,17 +401,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 17 }, "end": { - "line": 13, + "line": 14, "column": 22 } }, "range": [ - 115, - 120 + 264, + 269 ], "name": "probe" }, @@ -419,17 +419,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 13, + "line": 14, "column": 24 }, "end": { - "line": 13, + "line": 14, "column": 33 } }, "range": [ - 122, - 131 + 271, + 280 ], "value": "private", "raw": "'private'" @@ -446,17 +446,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 151, + 154 ] }, { @@ -464,17 +464,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 6, - 11 + 155, + 160 ] }, { @@ -482,17 +482,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 9 }, "end": { - "line": 3, + "line": 4, "column": 10 } }, "range": [ - 11, - 12 + 160, + 161 ] }, { @@ -500,17 +500,17 @@ export default { "value": "class", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 14, - 19 + 163, + 168 ] }, { @@ -518,17 +518,17 @@ export default { "value": "C", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 20, - 21 + 169, + 170 ] }, { @@ -536,17 +536,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 9 } }, "range": [ - 22, - 23 + 171, + 172 ] }, { @@ -554,17 +554,17 @@ export default { "value": "static", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 8 } }, "range": [ - 26, - 32 + 175, + 181 ] }, { @@ -572,17 +572,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 6, + "line": 7, "column": 9 }, "end": { - "line": 6, + "line": 7, "column": 17 } }, "range": [ - 33, - 41 + 182, + 190 ] }, { @@ -590,17 +590,17 @@ export default { "value": "=", "loc": { "start": { - "line": 6, + "line": 7, "column": 18 }, "end": { - "line": 6, + "line": 7, "column": 19 } }, "range": [ - 42, - 43 + 191, + 192 ] }, { @@ -608,17 +608,17 @@ export default { "value": "'private'", "loc": { "start": { - "line": 6, + "line": 7, "column": 20 }, "end": { - "line": 6, + "line": 7, "column": 29 } }, "range": [ - 44, - 53 + 193, + 202 ] }, { @@ -626,17 +626,17 @@ export default { "value": ";", "loc": { "start": { - "line": 6, + "line": 7, "column": 29 }, "end": { - "line": 6, + "line": 7, "column": 30 } }, "range": [ - 53, - 54 + 202, + 203 ] }, { @@ -644,17 +644,17 @@ export default { "value": "static", "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 8 } }, "range": [ - 58, - 64 + 207, + 213 ] }, { @@ -662,17 +662,17 @@ export default { "value": "{", "loc": { "start": { - "line": 8, + "line": 9, "column": 9 }, "end": { - "line": 8, + "line": 9, "column": 10 } }, "range": [ - 65, - 66 + 214, + 215 ] }, { @@ -680,17 +680,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 9 } }, "range": [ - 71, - 76 + 220, + 225 ] }, { @@ -698,17 +698,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 10 }, "end": { - "line": 9, + "line": 10, "column": 11 } }, "range": [ - 77, - 78 + 226, + 227 ] }, { @@ -716,17 +716,17 @@ export default { "value": "C", "loc": { "start": { - "line": 9, + "line": 10, "column": 12 }, "end": { - "line": 9, + "line": 10, "column": 13 } }, "range": [ - 79, - 80 + 228, + 229 ] }, { @@ -734,17 +734,17 @@ export default { "value": ".", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 14 } }, "range": [ - 80, - 81 + 229, + 230 ] }, { @@ -752,17 +752,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 9, + "line": 10, "column": 14 }, "end": { - "line": 9, + "line": 10, "column": 22 } }, "range": [ - 81, - 89 + 230, + 238 ] }, { @@ -770,17 +770,17 @@ export default { "value": ";", "loc": { "start": { - "line": 9, + "line": 10, "column": 22 }, "end": { - "line": 9, + "line": 10, "column": 23 } }, "range": [ - 89, - 90 + 238, + 239 ] }, { @@ -788,17 +788,17 @@ export default { "value": "}", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 3 } }, "range": [ - 93, - 94 + 242, + 243 ] }, { @@ -806,17 +806,17 @@ export default { "value": "}", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 1 } }, "range": [ - 95, - 96 + 244, + 245 ] }, { @@ -824,17 +824,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 6 } }, "range": [ - 98, - 104 + 247, + 253 ] }, { @@ -842,17 +842,17 @@ export default { "value": ".", "loc": { "start": { - "line": 13, + "line": 14, "column": 6 }, "end": { - "line": 13, + "line": 14, "column": 7 } }, "range": [ - 104, - 105 + 253, + 254 ] }, { @@ -860,17 +860,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 13, + "line": 14, "column": 7 }, "end": { - "line": 13, + "line": 14, "column": 16 } }, "range": [ - 105, - 114 + 254, + 263 ] }, { @@ -878,17 +878,17 @@ export default { "value": "(", "loc": { "start": { - "line": 13, + "line": 14, "column": 16 }, "end": { - "line": 13, + "line": 14, "column": 17 } }, "range": [ - 114, - 115 + 263, + 264 ] }, { @@ -896,17 +896,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 13, + "line": 14, "column": 17 }, "end": { - "line": 13, + "line": 14, "column": 22 } }, "range": [ - 115, - 120 + 264, + 269 ] }, { @@ -914,17 +914,17 @@ export default { "value": ",", "loc": { "start": { - "line": 13, + "line": 14, "column": 22 }, "end": { - "line": 13, + "line": 14, "column": 23 } }, "range": [ - 120, - 121 + 269, + 270 ] }, { @@ -932,17 +932,17 @@ export default { "value": "'private'", "loc": { "start": { - "line": 13, + "line": 14, "column": 24 }, "end": { - "line": 13, + "line": 14, "column": 33 } }, "range": [ - 122, - 131 + 271, + 280 ] }, { @@ -950,17 +950,17 @@ export default { "value": ")", "loc": { "start": { - "line": 13, + "line": 14, "column": 33 }, "end": { - "line": 13, + "line": 14, "column": 34 } }, "range": [ - 131, - 132 + 280, + 281 ] }, { @@ -968,17 +968,17 @@ export default { "value": ";", "loc": { "start": { - "line": 13, + "line": 14, "column": 34 }, "end": { - "line": 13, + "line": 14, "column": 35 } }, "range": [ - 132, - 133 + 281, + 282 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-private.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-private.src.js index 650c91aa..a9ead93a 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-private.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-private.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-scope-private.js var probe; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-close.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-close.result.js index 5b39ef59..b5307383 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-close.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-close.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 39 } }, "range": [ - 2, - 179 + 153, + 330 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 2, - 30 + 153, + 181 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 6, - 29 + 157, + 180 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 157, + 164 ], "name": "test262" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 167, + 180 ], "value": "outer scope", "raw": "'outer scope'" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 31, - 41 + 182, + 192 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 9 } }, "range": [ - 35, - 40 + 186, + 191 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 9 } }, "range": [ - 35, - 40 + 186, + 191 ], "name": "probe" }, @@ -149,33 +149,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 1 } }, "range": [ - 43, - 138 + 194, + 289 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 200, + 201 ], "name": "C" }, @@ -184,84 +184,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 13, + "line": 14, "column": 1 } }, "range": [ - 51, - 138 + 202, + 289 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 9, + "line": 10, "column": 3 } }, "range": [ - 55, - 100 + 206, + 251 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 68, - 96 + 219, + 247 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 72, - 95 + 223, + 246 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 72, - 79 + 223, + 230 ], "name": "test262" }, @@ -269,17 +269,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 82, - 95 + 233, + 246 ], "value": "first block", "raw": "'first block'" @@ -294,67 +294,67 @@ export default { "type": "StaticBlock", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 12, + "line": 13, "column": 3 } }, "range": [ - 103, - 136 + 254, + 287 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 20 } }, "range": [ - 116, - 132 + 267, + 283 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 19 } }, "range": [ - 116, - 131 + 267, + 282 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 9 } }, "range": [ - 116, - 121 + 267, + 272 ], "name": "probe" }, @@ -362,17 +362,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 11, + "line": 12, "column": 12 }, "end": { - "line": 11, + "line": 12, "column": 19 } }, "range": [ - 124, - 131 + 275, + 282 ], "name": "test262" } @@ -387,65 +387,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 39 } }, "range": [ - 140, - 179 + 291, + 330 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 38 } }, "range": [ - 140, - 178 + 291, + 329 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 140, - 156 + 291, + 307 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 6 } }, "range": [ - 140, - 146 + 291, + 297 ], "name": "assert" }, @@ -453,17 +453,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 147, - 156 + 298, + 307 ], "name": "sameValue" }, @@ -475,17 +475,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 15, + "line": 16, "column": 17 }, "end": { - "line": 15, + "line": 16, "column": 22 } }, "range": [ - 157, - 162 + 308, + 313 ], "name": "probe" }, @@ -493,17 +493,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 15, + "line": 16, "column": 24 }, "end": { - "line": 15, + "line": 16, "column": 37 } }, "range": [ - 164, - 177 + 315, + 328 ], "value": "outer scope", "raw": "'outer scope'" @@ -520,17 +520,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 153, + 156 ] }, { @@ -538,17 +538,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 157, + 164 ] }, { @@ -556,17 +556,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 165, + 166 ] }, { @@ -574,17 +574,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 167, + 180 ] }, { @@ -592,17 +592,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 27 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 29, - 30 + 180, + 181 ] }, { @@ -610,17 +610,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 31, - 34 + 182, + 185 ] }, { @@ -628,17 +628,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 9 } }, "range": [ - 35, - 40 + 186, + 191 ] }, { @@ -646,17 +646,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 40, - 41 + 191, + 192 ] }, { @@ -664,17 +664,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 43, - 48 + 194, + 199 ] }, { @@ -682,17 +682,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 200, + 201 ] }, { @@ -700,17 +700,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 51, - 52 + 202, + 203 ] }, { @@ -718,17 +718,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 55, - 61 + 206, + 212 ] }, { @@ -736,17 +736,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 62, - 63 + 213, + 214 ] }, { @@ -754,17 +754,17 @@ export default { "value": "var", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 7 } }, "range": [ - 68, - 71 + 219, + 222 ] }, { @@ -772,17 +772,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 72, - 79 + 223, + 230 ] }, { @@ -790,17 +790,17 @@ export default { "value": "=", "loc": { "start": { - "line": 8, + "line": 9, "column": 16 }, "end": { - "line": 8, + "line": 9, "column": 17 } }, "range": [ - 80, - 81 + 231, + 232 ] }, { @@ -808,17 +808,17 @@ export default { "value": "'first block'", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 82, - 95 + 233, + 246 ] }, { @@ -826,17 +826,17 @@ export default { "value": ";", "loc": { "start": { - "line": 8, + "line": 9, "column": 31 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 95, - 96 + 246, + 247 ] }, { @@ -844,17 +844,17 @@ export default { "value": "}", "loc": { "start": { - "line": 9, + "line": 10, "column": 2 }, "end": { - "line": 9, + "line": 10, "column": 3 } }, "range": [ - 99, - 100 + 250, + 251 ] }, { @@ -862,17 +862,17 @@ export default { "value": "static", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 8 } }, "range": [ - 103, - 109 + 254, + 260 ] }, { @@ -880,17 +880,17 @@ export default { "value": "{", "loc": { "start": { - "line": 10, + "line": 11, "column": 9 }, "end": { - "line": 10, + "line": 11, "column": 10 } }, "range": [ - 110, - 111 + 261, + 262 ] }, { @@ -898,17 +898,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 11, + "line": 12, "column": 4 }, "end": { - "line": 11, + "line": 12, "column": 9 } }, "range": [ - 116, - 121 + 267, + 272 ] }, { @@ -916,17 +916,17 @@ export default { "value": "=", "loc": { "start": { - "line": 11, + "line": 12, "column": 10 }, "end": { - "line": 11, + "line": 12, "column": 11 } }, "range": [ - 122, - 123 + 273, + 274 ] }, { @@ -934,17 +934,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 11, + "line": 12, "column": 12 }, "end": { - "line": 11, + "line": 12, "column": 19 } }, "range": [ - 124, - 131 + 275, + 282 ] }, { @@ -952,17 +952,17 @@ export default { "value": ";", "loc": { "start": { - "line": 11, + "line": 12, "column": 19 }, "end": { - "line": 11, + "line": 12, "column": 20 } }, "range": [ - 131, - 132 + 282, + 283 ] }, { @@ -970,17 +970,17 @@ export default { "value": "}", "loc": { "start": { - "line": 12, + "line": 13, "column": 2 }, "end": { - "line": 12, + "line": 13, "column": 3 } }, "range": [ - 135, - 136 + 286, + 287 ] }, { @@ -988,17 +988,17 @@ export default { "value": "}", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 1 } }, "range": [ - 137, - 138 + 288, + 289 ] }, { @@ -1006,17 +1006,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 6 } }, "range": [ - 140, - 146 + 291, + 297 ] }, { @@ -1024,17 +1024,17 @@ export default { "value": ".", "loc": { "start": { - "line": 15, + "line": 16, "column": 6 }, "end": { - "line": 15, + "line": 16, "column": 7 } }, "range": [ - 146, - 147 + 297, + 298 ] }, { @@ -1042,17 +1042,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 15, + "line": 16, "column": 7 }, "end": { - "line": 15, + "line": 16, "column": 16 } }, "range": [ - 147, - 156 + 298, + 307 ] }, { @@ -1060,17 +1060,17 @@ export default { "value": "(", "loc": { "start": { - "line": 15, + "line": 16, "column": 16 }, "end": { - "line": 15, + "line": 16, "column": 17 } }, "range": [ - 156, - 157 + 307, + 308 ] }, { @@ -1078,17 +1078,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 15, + "line": 16, "column": 17 }, "end": { - "line": 15, + "line": 16, "column": 22 } }, "range": [ - 157, - 162 + 308, + 313 ] }, { @@ -1096,17 +1096,17 @@ export default { "value": ",", "loc": { "start": { - "line": 15, + "line": 16, "column": 22 }, "end": { - "line": 15, + "line": 16, "column": 23 } }, "range": [ - 162, - 163 + 313, + 314 ] }, { @@ -1114,17 +1114,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 15, + "line": 16, "column": 24 }, "end": { - "line": 15, + "line": 16, "column": 37 } }, "range": [ - 164, - 177 + 315, + 328 ] }, { @@ -1132,17 +1132,17 @@ export default { "value": ")", "loc": { "start": { - "line": 15, + "line": 16, "column": 37 }, "end": { - "line": 15, + "line": 16, "column": 38 } }, "range": [ - 177, - 178 + 328, + 329 ] }, { @@ -1150,17 +1150,17 @@ export default { "value": ";", "loc": { "start": { - "line": 15, + "line": 16, "column": 38 }, "end": { - "line": 15, + "line": 16, "column": 39 } }, "range": [ - 178, - 179 + 329, + 330 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-close.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-close.src.js index c406cf31..209fd5ea 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-close.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-close.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-scope-var-close.js var test262 = 'outer scope'; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-derived.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-derived.result.js index a5d2911b..f1329ea5 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-derived.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-derived.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 39 } }, "range": [ - 2, - 131 + 155, + 284 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 2, - 30 + 155, + 183 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 6, - 29 + 159, + 182 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 159, + 166 ], "name": "test262" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 169, + 182 ], "value": "outer scope", "raw": "'outer scope'" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 31, - 41 + 184, + 194 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 9 } }, "range": [ - 35, - 40 + 188, + 193 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 9 } }, "range": [ - 35, - 40 + 188, + 193 ], "name": "probe" }, @@ -149,33 +149,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 10, + "line": 11, "column": 1 } }, "range": [ - 43, - 90 + 196, + 243 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 202, + 203 ], "name": "C" }, @@ -184,84 +184,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 10, + "line": 11, "column": 1 } }, "range": [ - 51, - 90 + 204, + 243 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 9, + "line": 10, "column": 3 } }, "range": [ - 55, - 88 + 208, + 241 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 20 } }, "range": [ - 68, - 84 + 221, + 237 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 19 } }, "range": [ - 68, - 83 + 221, + 236 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 9 } }, "range": [ - 68, - 73 + 221, + 226 ], "name": "probe" }, @@ -269,17 +269,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 12 }, "end": { - "line": 8, + "line": 9, "column": 19 } }, "range": [ - 76, - 83 + 229, + 236 ], "name": "test262" } @@ -294,65 +294,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 12, + "line": 13, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 39 } }, "range": [ - 92, - 131 + 245, + 284 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 12, + "line": 13, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 38 } }, "range": [ - 92, - 130 + 245, + 283 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 12, + "line": 13, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 16 } }, "range": [ - 92, - 108 + 245, + 261 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 6 } }, "range": [ - 92, - 98 + 245, + 251 ], "name": "assert" }, @@ -360,17 +360,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 7 }, "end": { - "line": 12, + "line": 13, "column": 16 } }, "range": [ - 99, - 108 + 252, + 261 ], "name": "sameValue" }, @@ -382,17 +382,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 17 }, "end": { - "line": 12, + "line": 13, "column": 22 } }, "range": [ - 109, - 114 + 262, + 267 ], "name": "probe" }, @@ -400,17 +400,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 12, + "line": 13, "column": 24 }, "end": { - "line": 12, + "line": 13, "column": 37 } }, "range": [ - 116, - 129 + 269, + 282 ], "value": "outer scope", "raw": "'outer scope'" @@ -427,17 +427,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 155, + 158 ] }, { @@ -445,17 +445,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 159, + 166 ] }, { @@ -463,17 +463,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 167, + 168 ] }, { @@ -481,17 +481,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 169, + 182 ] }, { @@ -499,17 +499,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 27 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 29, - 30 + 182, + 183 ] }, { @@ -517,17 +517,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 31, - 34 + 184, + 187 ] }, { @@ -535,17 +535,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 9 } }, "range": [ - 35, - 40 + 188, + 193 ] }, { @@ -553,17 +553,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 40, - 41 + 193, + 194 ] }, { @@ -571,17 +571,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 43, - 48 + 196, + 201 ] }, { @@ -589,17 +589,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 49, - 50 + 202, + 203 ] }, { @@ -607,17 +607,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 51, - 52 + 204, + 205 ] }, { @@ -625,17 +625,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 55, - 61 + 208, + 214 ] }, { @@ -643,17 +643,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 62, - 63 + 215, + 216 ] }, { @@ -661,17 +661,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 9 } }, "range": [ - 68, - 73 + 221, + 226 ] }, { @@ -679,17 +679,17 @@ export default { "value": "=", "loc": { "start": { - "line": 8, + "line": 9, "column": 10 }, "end": { - "line": 8, + "line": 9, "column": 11 } }, "range": [ - 74, - 75 + 227, + 228 ] }, { @@ -697,17 +697,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 8, + "line": 9, "column": 12 }, "end": { - "line": 8, + "line": 9, "column": 19 } }, "range": [ - 76, - 83 + 229, + 236 ] }, { @@ -715,17 +715,17 @@ export default { "value": ";", "loc": { "start": { - "line": 8, + "line": 9, "column": 19 }, "end": { - "line": 8, + "line": 9, "column": 20 } }, "range": [ - 83, - 84 + 236, + 237 ] }, { @@ -733,17 +733,17 @@ export default { "value": "}", "loc": { "start": { - "line": 9, + "line": 10, "column": 2 }, "end": { - "line": 9, + "line": 10, "column": 3 } }, "range": [ - 87, - 88 + 240, + 241 ] }, { @@ -751,17 +751,17 @@ export default { "value": "}", "loc": { "start": { - "line": 10, + "line": 11, "column": 0 }, "end": { - "line": 10, + "line": 11, "column": 1 } }, "range": [ - 89, - 90 + 242, + 243 ] }, { @@ -769,17 +769,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 12, + "line": 13, "column": 0 }, "end": { - "line": 12, + "line": 13, "column": 6 } }, "range": [ - 92, - 98 + 245, + 251 ] }, { @@ -787,17 +787,17 @@ export default { "value": ".", "loc": { "start": { - "line": 12, + "line": 13, "column": 6 }, "end": { - "line": 12, + "line": 13, "column": 7 } }, "range": [ - 98, - 99 + 251, + 252 ] }, { @@ -805,17 +805,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 12, + "line": 13, "column": 7 }, "end": { - "line": 12, + "line": 13, "column": 16 } }, "range": [ - 99, - 108 + 252, + 261 ] }, { @@ -823,17 +823,17 @@ export default { "value": "(", "loc": { "start": { - "line": 12, + "line": 13, "column": 16 }, "end": { - "line": 12, + "line": 13, "column": 17 } }, "range": [ - 108, - 109 + 261, + 262 ] }, { @@ -841,17 +841,17 @@ export default { "value": "probe", "loc": { "start": { - "line": 12, + "line": 13, "column": 17 }, "end": { - "line": 12, + "line": 13, "column": 22 } }, "range": [ - 109, - 114 + 262, + 267 ] }, { @@ -859,17 +859,17 @@ export default { "value": ",", "loc": { "start": { - "line": 12, + "line": 13, "column": 22 }, "end": { - "line": 12, + "line": 13, "column": 23 } }, "range": [ - 114, - 115 + 267, + 268 ] }, { @@ -877,17 +877,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 12, + "line": 13, "column": 24 }, "end": { - "line": 12, + "line": 13, "column": 37 } }, "range": [ - 116, - 129 + 269, + 282 ] }, { @@ -895,17 +895,17 @@ export default { "value": ")", "loc": { "start": { - "line": 12, + "line": 13, "column": 37 }, "end": { - "line": 12, + "line": 13, "column": 38 } }, "range": [ - 129, - 130 + 282, + 283 ] }, { @@ -913,17 +913,17 @@ export default { "value": ";", "loc": { "start": { - "line": 12, + "line": 13, "column": 38 }, "end": { - "line": 12, + "line": 13, "column": 39 } }, "range": [ - 130, - 131 + 283, + 284 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-derived.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-derived.src.js index af38817c..dddd20d4 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-derived.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-derived.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-scope-var-derived.js var test262 = 'outer scope'; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-open.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-open.result.js index 8c735216..bc06c0ca 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-open.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-open.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 41 } }, "range": [ - 2, - 330 + 152, + 480 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 2, - 30 + 152, + 180 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 6, - 29 + 156, + 179 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 156, + 163 ], "name": "test262" }, @@ -70,17 +70,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 166, + 179 ], "value": "outer scope", "raw": "'outer scope'" @@ -93,50 +93,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 19 } }, "range": [ - 31, - 50 + 181, + 200 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 35, - 41 + 185, + 191 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 35, - 41 + 185, + 191 ], "name": "probe1" }, @@ -146,33 +146,33 @@ export default { "type": "VariableDeclarator", "loc": { "start": { - "line": 4, + "line": 5, "column": 12 }, "end": { - "line": 4, + "line": 5, "column": 18 } }, "range": [ - 43, - 49 + 193, + 199 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 12 }, "end": { - "line": 4, + "line": 5, "column": 18 } }, "range": [ - 43, - 49 + 193, + 199 ], "name": "probe2" }, @@ -185,33 +185,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 1 } }, "range": [ - 52, - 204 + 202, + 354 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 58, - 59 + 208, + 209 ], "name": "C" }, @@ -220,84 +220,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 15, + "line": 16, "column": 1 } }, "range": [ - 60, - 204 + 210, + 354 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 3 } }, "range": [ - 64, - 131 + 214, + 281 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 77, - 105 + 227, + 255 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 81, - 104 + 231, + 254 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 81, - 88 + 231, + 238 ], "name": "test262" }, @@ -305,17 +305,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 91, - 104 + 241, + 254 ], "value": "first block", "raw": "'first block'" @@ -328,50 +328,50 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 21 } }, "range": [ - 110, - 127 + 260, + 277 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 20 } }, "range": [ - 110, - 126 + 260, + 276 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 10 } }, "range": [ - 110, - 116 + 260, + 266 ], "name": "probe1" }, @@ -379,17 +379,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 20 } }, "range": [ - 119, - 126 + 269, + 276 ], "name": "test262" } @@ -401,67 +401,67 @@ export default { "type": "StaticBlock", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 14, + "line": 15, "column": 3 } }, "range": [ - 134, - 202 + 284, + 352 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 33 } }, "range": [ - 147, - 176 + 297, + 326 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 32 } }, "range": [ - 151, - 175 + 301, + 325 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 151, - 158 + 301, + 308 ], "name": "test262" }, @@ -469,17 +469,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 12, + "line": 13, "column": 18 }, "end": { - "line": 12, + "line": 13, "column": 32 } }, "range": [ - 161, - 175 + 311, + 325 ], "value": "second block", "raw": "'second block'" @@ -492,50 +492,50 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 13, + "line": 14, "column": 21 } }, "range": [ - 181, - 198 + 331, + 348 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 13, + "line": 14, "column": 20 } }, "range": [ - 181, - 197 + 331, + 347 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 13, + "line": 14, "column": 10 } }, "range": [ - 181, - 187 + 331, + 337 ], "name": "probe2" }, @@ -543,17 +543,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 13, + "line": 14, "column": 20 } }, "range": [ - 190, - 197 + 340, + 347 ], "name": "test262" } @@ -568,65 +568,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 206, - 247 + 356, + 397 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 40 } }, "range": [ - 206, - 246 + 356, + 396 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 206, - 222 + 356, + 372 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 206, - 212 + 356, + 362 ], "name": "assert" }, @@ -634,17 +634,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 213, - 222 + 363, + 372 ], "name": "sameValue" }, @@ -656,17 +656,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 24 } }, "range": [ - 223, - 230 + 373, + 380 ], "name": "test262" }, @@ -674,17 +674,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 26 }, "end": { - "line": 17, + "line": 18, "column": 39 } }, "range": [ - 232, - 245 + 382, + 395 ], "value": "outer scope", "raw": "'outer scope'" @@ -697,65 +697,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 40 } }, "range": [ - 248, - 288 + 398, + 438 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 39 } }, "range": [ - 248, - 287 + 398, + 437 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 16 } }, "range": [ - 248, - 264 + 398, + 414 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 6 } }, "range": [ - 248, - 254 + 398, + 404 ], "name": "assert" }, @@ -763,17 +763,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 7 }, "end": { - "line": 18, + "line": 19, "column": 16 } }, "range": [ - 255, - 264 + 405, + 414 ], "name": "sameValue" }, @@ -785,17 +785,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 17 }, "end": { - "line": 18, + "line": 19, "column": 23 } }, "range": [ - 265, - 271 + 415, + 421 ], "name": "probe1" }, @@ -803,17 +803,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 18, + "line": 19, "column": 25 }, "end": { - "line": 18, + "line": 19, "column": 38 } }, "range": [ - 273, - 286 + 423, + 436 ], "value": "first block", "raw": "'first block'" @@ -826,65 +826,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 41 } }, "range": [ - 289, - 330 + 439, + 480 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 40 } }, "range": [ - 289, - 329 + 439, + 479 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "range": [ - 289, - 305 + 439, + 455 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 6 } }, "range": [ - 289, - 295 + 439, + 445 ], "name": "assert" }, @@ -892,17 +892,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "range": [ - 296, - 305 + 446, + 455 ], "name": "sameValue" }, @@ -914,17 +914,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 17 }, "end": { - "line": 19, + "line": 20, "column": 23 } }, "range": [ - 306, - 312 + 456, + 462 ], "name": "probe2" }, @@ -932,17 +932,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 19, + "line": 20, "column": 25 }, "end": { - "line": 19, + "line": 20, "column": 39 } }, "range": [ - 314, - 328 + 464, + 478 ], "value": "second block", "raw": "'second block'" @@ -959,17 +959,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 152, + 155 ] }, { @@ -977,17 +977,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 11 } }, "range": [ - 6, - 13 + 156, + 163 ] }, { @@ -995,17 +995,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 12 }, "end": { - "line": 3, + "line": 4, "column": 13 } }, "range": [ - 14, - 15 + 164, + 165 ] }, { @@ -1013,17 +1013,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 3, + "line": 4, "column": 14 }, "end": { - "line": 3, + "line": 4, "column": 27 } }, "range": [ - 16, - 29 + 166, + 179 ] }, { @@ -1031,17 +1031,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 27 }, "end": { - "line": 3, + "line": 4, "column": 28 } }, "range": [ - 29, - 30 + 179, + 180 ] }, { @@ -1049,17 +1049,17 @@ export default { "value": "var", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 3 } }, "range": [ - 31, - 34 + 181, + 184 ] }, { @@ -1067,17 +1067,17 @@ export default { "value": "probe1", "loc": { "start": { - "line": 4, + "line": 5, "column": 4 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 35, - 41 + 185, + 191 ] }, { @@ -1085,17 +1085,17 @@ export default { "value": ",", "loc": { "start": { - "line": 4, + "line": 5, "column": 10 }, "end": { - "line": 4, + "line": 5, "column": 11 } }, "range": [ - 41, - 42 + 191, + 192 ] }, { @@ -1103,17 +1103,17 @@ export default { "value": "probe2", "loc": { "start": { - "line": 4, + "line": 5, "column": 12 }, "end": { - "line": 4, + "line": 5, "column": 18 } }, "range": [ - 43, - 49 + 193, + 199 ] }, { @@ -1121,17 +1121,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 18 }, "end": { - "line": 4, + "line": 5, "column": 19 } }, "range": [ - 49, - 50 + 199, + 200 ] }, { @@ -1139,17 +1139,17 @@ export default { "value": "class", "loc": { "start": { - "line": 6, + "line": 7, "column": 0 }, "end": { - "line": 6, + "line": 7, "column": 5 } }, "range": [ - 52, - 57 + 202, + 207 ] }, { @@ -1157,17 +1157,17 @@ export default { "value": "C", "loc": { "start": { - "line": 6, + "line": 7, "column": 6 }, "end": { - "line": 6, + "line": 7, "column": 7 } }, "range": [ - 58, - 59 + 208, + 209 ] }, { @@ -1175,17 +1175,17 @@ export default { "value": "{", "loc": { "start": { - "line": 6, + "line": 7, "column": 8 }, "end": { - "line": 6, + "line": 7, "column": 9 } }, "range": [ - 60, - 61 + 210, + 211 ] }, { @@ -1193,17 +1193,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 64, - 70 + 214, + 220 ] }, { @@ -1211,17 +1211,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 71, - 72 + 221, + 222 ] }, { @@ -1229,17 +1229,17 @@ export default { "value": "var", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 7 } }, "range": [ - 77, - 80 + 227, + 230 ] }, { @@ -1247,17 +1247,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 8, + "line": 9, "column": 8 }, "end": { - "line": 8, + "line": 9, "column": 15 } }, "range": [ - 81, - 88 + 231, + 238 ] }, { @@ -1265,17 +1265,17 @@ export default { "value": "=", "loc": { "start": { - "line": 8, + "line": 9, "column": 16 }, "end": { - "line": 8, + "line": 9, "column": 17 } }, "range": [ - 89, - 90 + 239, + 240 ] }, { @@ -1283,17 +1283,17 @@ export default { "value": "'first block'", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 91, - 104 + 241, + 254 ] }, { @@ -1301,17 +1301,17 @@ export default { "value": ";", "loc": { "start": { - "line": 8, + "line": 9, "column": 31 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 104, - 105 + 254, + 255 ] }, { @@ -1319,17 +1319,17 @@ export default { "value": "probe1", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 10 } }, "range": [ - 110, - 116 + 260, + 266 ] }, { @@ -1337,17 +1337,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 11 }, "end": { - "line": 9, + "line": 10, "column": 12 } }, "range": [ - 117, - 118 + 267, + 268 ] }, { @@ -1355,17 +1355,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 9, + "line": 10, "column": 13 }, "end": { - "line": 9, + "line": 10, "column": 20 } }, "range": [ - 119, - 126 + 269, + 276 ] }, { @@ -1373,17 +1373,17 @@ export default { "value": ";", "loc": { "start": { - "line": 9, + "line": 10, "column": 20 }, "end": { - "line": 9, + "line": 10, "column": 21 } }, "range": [ - 126, - 127 + 276, + 277 ] }, { @@ -1391,17 +1391,17 @@ export default { "value": "}", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 3 } }, "range": [ - 130, - 131 + 280, + 281 ] }, { @@ -1409,17 +1409,17 @@ export default { "value": "static", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 11, + "line": 12, "column": 8 } }, "range": [ - 134, - 140 + 284, + 290 ] }, { @@ -1427,17 +1427,17 @@ export default { "value": "{", "loc": { "start": { - "line": 11, + "line": 12, "column": 9 }, "end": { - "line": 11, + "line": 12, "column": 10 } }, "range": [ - 141, - 142 + 291, + 292 ] }, { @@ -1445,17 +1445,17 @@ export default { "value": "var", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 7 } }, "range": [ - 147, - 150 + 297, + 300 ] }, { @@ -1463,17 +1463,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 12, + "line": 13, "column": 8 }, "end": { - "line": 12, + "line": 13, "column": 15 } }, "range": [ - 151, - 158 + 301, + 308 ] }, { @@ -1481,17 +1481,17 @@ export default { "value": "=", "loc": { "start": { - "line": 12, + "line": 13, "column": 16 }, "end": { - "line": 12, + "line": 13, "column": 17 } }, "range": [ - 159, - 160 + 309, + 310 ] }, { @@ -1499,17 +1499,17 @@ export default { "value": "'second block'", "loc": { "start": { - "line": 12, + "line": 13, "column": 18 }, "end": { - "line": 12, + "line": 13, "column": 32 } }, "range": [ - 161, - 175 + 311, + 325 ] }, { @@ -1517,17 +1517,17 @@ export default { "value": ";", "loc": { "start": { - "line": 12, + "line": 13, "column": 32 }, "end": { - "line": 12, + "line": 13, "column": 33 } }, "range": [ - 175, - 176 + 325, + 326 ] }, { @@ -1535,17 +1535,17 @@ export default { "value": "probe2", "loc": { "start": { - "line": 13, + "line": 14, "column": 4 }, "end": { - "line": 13, + "line": 14, "column": 10 } }, "range": [ - 181, - 187 + 331, + 337 ] }, { @@ -1553,17 +1553,17 @@ export default { "value": "=", "loc": { "start": { - "line": 13, + "line": 14, "column": 11 }, "end": { - "line": 13, + "line": 14, "column": 12 } }, "range": [ - 188, - 189 + 338, + 339 ] }, { @@ -1571,17 +1571,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 13, + "line": 14, "column": 13 }, "end": { - "line": 13, + "line": 14, "column": 20 } }, "range": [ - 190, - 197 + 340, + 347 ] }, { @@ -1589,17 +1589,17 @@ export default { "value": ";", "loc": { "start": { - "line": 13, + "line": 14, "column": 20 }, "end": { - "line": 13, + "line": 14, "column": 21 } }, "range": [ - 197, - 198 + 347, + 348 ] }, { @@ -1607,17 +1607,17 @@ export default { "value": "}", "loc": { "start": { - "line": 14, + "line": 15, "column": 2 }, "end": { - "line": 14, + "line": 15, "column": 3 } }, "range": [ - 201, - 202 + 351, + 352 ] }, { @@ -1625,17 +1625,17 @@ export default { "value": "}", "loc": { "start": { - "line": 15, + "line": 16, "column": 0 }, "end": { - "line": 15, + "line": 16, "column": 1 } }, "range": [ - 203, - 204 + 353, + 354 ] }, { @@ -1643,17 +1643,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 206, - 212 + 356, + 362 ] }, { @@ -1661,17 +1661,17 @@ export default { "value": ".", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 7 } }, "range": [ - 212, - 213 + 362, + 363 ] }, { @@ -1679,17 +1679,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 213, - 222 + 363, + 372 ] }, { @@ -1697,17 +1697,17 @@ export default { "value": "(", "loc": { "start": { - "line": 17, + "line": 18, "column": 16 }, "end": { - "line": 17, + "line": 18, "column": 17 } }, "range": [ - 222, - 223 + 372, + 373 ] }, { @@ -1715,17 +1715,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 24 } }, "range": [ - 223, - 230 + 373, + 380 ] }, { @@ -1733,17 +1733,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 24 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 230, - 231 + 380, + 381 ] }, { @@ -1751,17 +1751,17 @@ export default { "value": "'outer scope'", "loc": { "start": { - "line": 17, + "line": 18, "column": 26 }, "end": { - "line": 17, + "line": 18, "column": 39 } }, "range": [ - 232, - 245 + 382, + 395 ] }, { @@ -1769,17 +1769,17 @@ export default { "value": ")", "loc": { "start": { - "line": 17, + "line": 18, "column": 39 }, "end": { - "line": 17, + "line": 18, "column": 40 } }, "range": [ - 245, - 246 + 395, + 396 ] }, { @@ -1787,17 +1787,17 @@ export default { "value": ";", "loc": { "start": { - "line": 17, + "line": 18, "column": 40 }, "end": { - "line": 17, + "line": 18, "column": 41 } }, "range": [ - 246, - 247 + 396, + 397 ] }, { @@ -1805,17 +1805,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 6 } }, "range": [ - 248, - 254 + 398, + 404 ] }, { @@ -1823,17 +1823,17 @@ export default { "value": ".", "loc": { "start": { - "line": 18, + "line": 19, "column": 6 }, "end": { - "line": 18, + "line": 19, "column": 7 } }, "range": [ - 254, - 255 + 404, + 405 ] }, { @@ -1841,17 +1841,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 18, + "line": 19, "column": 7 }, "end": { - "line": 18, + "line": 19, "column": 16 } }, "range": [ - 255, - 264 + 405, + 414 ] }, { @@ -1859,17 +1859,17 @@ export default { "value": "(", "loc": { "start": { - "line": 18, + "line": 19, "column": 16 }, "end": { - "line": 18, + "line": 19, "column": 17 } }, "range": [ - 264, - 265 + 414, + 415 ] }, { @@ -1877,17 +1877,17 @@ export default { "value": "probe1", "loc": { "start": { - "line": 18, + "line": 19, "column": 17 }, "end": { - "line": 18, + "line": 19, "column": 23 } }, "range": [ - 265, - 271 + 415, + 421 ] }, { @@ -1895,17 +1895,17 @@ export default { "value": ",", "loc": { "start": { - "line": 18, + "line": 19, "column": 23 }, "end": { - "line": 18, + "line": 19, "column": 24 } }, "range": [ - 271, - 272 + 421, + 422 ] }, { @@ -1913,17 +1913,17 @@ export default { "value": "'first block'", "loc": { "start": { - "line": 18, + "line": 19, "column": 25 }, "end": { - "line": 18, + "line": 19, "column": 38 } }, "range": [ - 273, - 286 + 423, + 436 ] }, { @@ -1931,17 +1931,17 @@ export default { "value": ")", "loc": { "start": { - "line": 18, + "line": 19, "column": 38 }, "end": { - "line": 18, + "line": 19, "column": 39 } }, "range": [ - 286, - 287 + 436, + 437 ] }, { @@ -1949,17 +1949,17 @@ export default { "value": ";", "loc": { "start": { - "line": 18, + "line": 19, "column": 39 }, "end": { - "line": 18, + "line": 19, "column": 40 } }, "range": [ - 287, - 288 + 437, + 438 ] }, { @@ -1967,17 +1967,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 6 } }, "range": [ - 289, - 295 + 439, + 445 ] }, { @@ -1985,17 +1985,17 @@ export default { "value": ".", "loc": { "start": { - "line": 19, + "line": 20, "column": 6 }, "end": { - "line": 19, + "line": 20, "column": 7 } }, "range": [ - 295, - 296 + 445, + 446 ] }, { @@ -2003,17 +2003,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "range": [ - 296, - 305 + 446, + 455 ] }, { @@ -2021,17 +2021,17 @@ export default { "value": "(", "loc": { "start": { - "line": 19, + "line": 20, "column": 16 }, "end": { - "line": 19, + "line": 20, "column": 17 } }, "range": [ - 305, - 306 + 455, + 456 ] }, { @@ -2039,17 +2039,17 @@ export default { "value": "probe2", "loc": { "start": { - "line": 19, + "line": 20, "column": 17 }, "end": { - "line": 19, + "line": 20, "column": 23 } }, "range": [ - 306, - 312 + 456, + 462 ] }, { @@ -2057,17 +2057,17 @@ export default { "value": ",", "loc": { "start": { - "line": 19, + "line": 20, "column": 23 }, "end": { - "line": 19, + "line": 20, "column": 24 } }, "range": [ - 312, - 313 + 462, + 463 ] }, { @@ -2075,17 +2075,17 @@ export default { "value": "'second block'", "loc": { "start": { - "line": 19, + "line": 20, "column": 25 }, "end": { - "line": 19, + "line": 20, "column": 39 } }, "range": [ - 314, - 328 + 464, + 478 ] }, { @@ -2093,17 +2093,17 @@ export default { "value": ")", "loc": { "start": { - "line": 19, + "line": 20, "column": 39 }, "end": { - "line": 19, + "line": 20, "column": 40 } }, "range": [ - 328, - 329 + 478, + 479 ] }, { @@ -2111,17 +2111,17 @@ export default { "value": ";", "loc": { "start": { - "line": 19, + "line": 20, "column": 40 }, "end": { - "line": 19, + "line": 20, "column": 41 } }, "range": [ - 329, - 330 + 479, + 480 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-open.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-open.src.js index b934c673..672b72ec 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-open.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-scope-var-open.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-scope-var-open.js var test262 = 'outer scope'; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-sequence.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-sequence.result.js index fc846d0c..cfad1ad5 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-sequence.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-sequence.result.js @@ -2,67 +2,67 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 46 } }, "range": [ - 2, - 406 + 146, + 550 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 18 } }, "range": [ - 2, - 20 + 146, + 164 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 17 } }, "range": [ - 6, - 19 + 150, + 163 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 12 } }, "range": [ - 6, - 14 + 150, + 158 ], "name": "sequence" }, @@ -70,17 +70,17 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 3, + "line": 4, "column": 15 }, "end": { - "line": 3, + "line": 4, "column": 17 } }, "range": [ - 17, - 19 + 161, + 163 ], "elements": [] } @@ -92,33 +92,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 22, - 219 + 166, + 363 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 28, - 29 + 172, + 173 ], "name": "C" }, @@ -127,34 +127,34 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 30, - 219 + 174, + 363 ], "body": [ { "type": "PropertyDefinition", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 42 } }, "range": [ - 34, - 74 + 178, + 218 ], "static": true, "computed": false, @@ -162,17 +162,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 9 }, "end": { - "line": 6, + "line": 7, "column": 10 } }, "range": [ - 41, - 42 + 185, + 186 ], "name": "x" }, @@ -180,49 +180,49 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 6, + "line": 7, "column": 13 }, "end": { - "line": 6, + "line": 7, "column": 41 } }, "range": [ - 45, - 73 + 189, + 217 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 6, + "line": 7, "column": 13 }, "end": { - "line": 6, + "line": 7, "column": 26 } }, "range": [ - 45, - 58 + 189, + 202 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 13 }, "end": { - "line": 6, + "line": 7, "column": 21 } }, "range": [ - 45, - 53 + 189, + 197 ], "name": "sequence" }, @@ -230,17 +230,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 6, + "line": 7, "column": 22 }, "end": { - "line": 6, + "line": 7, "column": 26 } }, "range": [ - 54, - 58 + 198, + 202 ], "name": "push" }, @@ -252,17 +252,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 6, + "line": 7, "column": 27 }, "end": { - "line": 6, + "line": 7, "column": 40 } }, "range": [ - 59, - 72 + 203, + 216 ], "value": "first field", "raw": "'first field'" @@ -275,82 +275,82 @@ export default { "type": "StaticBlock", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 9, + "line": 10, "column": 3 } }, "range": [ - 77, - 123 + 221, + 267 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 33 } }, "range": [ - 90, - 119 + 234, + 263 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 90, - 118 + 234, + 262 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 17 } }, "range": [ - 90, - 103 + 234, + 247 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 12 } }, "range": [ - 90, - 98 + 234, + 242 ], "name": "sequence" }, @@ -358,17 +358,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 8, + "line": 9, "column": 13 }, "end": { - "line": 8, + "line": 9, "column": 17 } }, "range": [ - 99, - 103 + 243, + 247 ], "name": "push" }, @@ -380,17 +380,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 104, - 117 + 248, + 261 ], "value": "first block", "raw": "'first block'" @@ -405,17 +405,17 @@ export default { "type": "PropertyDefinition", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 43 } }, "range": [ - 126, - 167 + 270, + 311 ], "static": true, "computed": false, @@ -423,17 +423,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 9 }, "end": { - "line": 10, + "line": 11, "column": 10 } }, "range": [ - 133, - 134 + 277, + 278 ], "name": "x" }, @@ -441,49 +441,49 @@ export default { "type": "CallExpression", "loc": { "start": { - "line": 10, + "line": 11, "column": 13 }, "end": { - "line": 10, + "line": 11, "column": 42 } }, "range": [ - 137, - 166 + 281, + 310 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 10, + "line": 11, "column": 13 }, "end": { - "line": 10, + "line": 11, "column": 26 } }, "range": [ - 137, - 150 + 281, + 294 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 13 }, "end": { - "line": 10, + "line": 11, "column": 21 } }, "range": [ - 137, - 145 + 281, + 289 ], "name": "sequence" }, @@ -491,17 +491,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 10, + "line": 11, "column": 22 }, "end": { - "line": 10, + "line": 11, "column": 26 } }, "range": [ - 146, - 150 + 290, + 294 ], "name": "push" }, @@ -513,17 +513,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 10, + "line": 11, "column": 27 }, "end": { - "line": 10, + "line": 11, "column": 41 } }, "range": [ - 151, - 165 + 295, + 309 ], "value": "second field", "raw": "'second field'" @@ -536,82 +536,82 @@ export default { "type": "StaticBlock", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 170, - 217 + 314, + 361 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 34 } }, "range": [ - 183, - 213 + 327, + 357 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 33 } }, "range": [ - 183, - 212 + 327, + 356 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 17 } }, "range": [ - 183, - 196 + 327, + 340 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 12 } }, "range": [ - 183, - 191 + 327, + 335 ], "name": "sequence" }, @@ -619,17 +619,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 12, + "line": 13, "column": 13 }, "end": { - "line": 12, + "line": 13, "column": 17 } }, "range": [ - 192, - 196 + 336, + 340 ], "name": "push" }, @@ -641,17 +641,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 12, + "line": 13, "column": 18 }, "end": { - "line": 12, + "line": 13, "column": 32 } }, "range": [ - 197, - 211 + 341, + 355 ], "value": "second block", "raw": "'second block'" @@ -669,65 +669,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 45 } }, "range": [ - 221, - 266 + 365, + 410 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 44 } }, "range": [ - 221, - 265 + 365, + 409 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 221, - 237 + 365, + 381 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 221, - 227 + 365, + 371 ], "name": "assert" }, @@ -735,17 +735,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 228, - 237 + 372, + 381 ], "name": "sameValue" }, @@ -757,33 +757,33 @@ export default { "type": "MemberExpression", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 28 } }, "range": [ - 238, - 249 + 382, + 393 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 25 } }, "range": [ - 238, - 246 + 382, + 390 ], "name": "sequence" }, @@ -791,17 +791,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 26 }, "end": { - "line": 16, + "line": 17, "column": 27 } }, "range": [ - 247, - 248 + 391, + 392 ], "value": 0, "raw": "0" @@ -813,17 +813,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 16, + "line": 17, "column": 30 }, "end": { - "line": 16, + "line": 17, "column": 43 } }, "range": [ - 251, - 264 + 395, + 408 ], "value": "first field", "raw": "'first field'" @@ -836,65 +836,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 45 } }, "range": [ - 267, - 312 + 411, + 456 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 44 } }, "range": [ - 267, - 311 + 411, + 455 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 267, - 283 + 411, + 427 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 267, - 273 + 411, + 417 ], "name": "assert" }, @@ -902,17 +902,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 274, - 283 + 418, + 427 ], "name": "sameValue" }, @@ -924,33 +924,33 @@ export default { "type": "MemberExpression", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 284, - 295 + 428, + 439 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 284, - 292 + 428, + 436 ], "name": "sequence" }, @@ -958,17 +958,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 26 }, "end": { - "line": 17, + "line": 18, "column": 27 } }, "range": [ - 293, - 294 + 437, + 438 ], "value": 1, "raw": "1" @@ -980,17 +980,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 297, - 310 + 441, + 454 ], "value": "first block", "raw": "'first block'" @@ -1003,65 +1003,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 46 } }, "range": [ - 313, - 359 + 457, + 503 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 45 } }, "range": [ - 313, - 358 + 457, + 502 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 16 } }, "range": [ - 313, - 329 + 457, + 473 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 6 } }, "range": [ - 313, - 319 + 457, + 463 ], "name": "assert" }, @@ -1069,17 +1069,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 7 }, "end": { - "line": 18, + "line": 19, "column": 16 } }, "range": [ - 320, - 329 + 464, + 473 ], "name": "sameValue" }, @@ -1091,33 +1091,33 @@ export default { "type": "MemberExpression", "loc": { "start": { - "line": 18, + "line": 19, "column": 17 }, "end": { - "line": 18, + "line": 19, "column": 28 } }, "range": [ - 330, - 341 + 474, + 485 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 18, + "line": 19, "column": 17 }, "end": { - "line": 18, + "line": 19, "column": 25 } }, "range": [ - 330, - 338 + 474, + 482 ], "name": "sequence" }, @@ -1125,17 +1125,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 18, + "line": 19, "column": 26 }, "end": { - "line": 18, + "line": 19, "column": 27 } }, "range": [ - 339, - 340 + 483, + 484 ], "value": 2, "raw": "2" @@ -1147,17 +1147,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 18, + "line": 19, "column": 30 }, "end": { - "line": 18, + "line": 19, "column": 44 } }, "range": [ - 343, - 357 + 487, + 501 ], "value": "second field", "raw": "'second field'" @@ -1170,65 +1170,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 46 } }, "range": [ - 360, - 406 + 504, + 550 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 45 } }, "range": [ - 360, - 405 + 504, + 549 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "range": [ - 360, - 376 + 504, + 520 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 6 } }, "range": [ - 360, - 366 + 504, + 510 ], "name": "assert" }, @@ -1236,17 +1236,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "range": [ - 367, - 376 + 511, + 520 ], "name": "sameValue" }, @@ -1258,33 +1258,33 @@ export default { "type": "MemberExpression", "loc": { "start": { - "line": 19, + "line": 20, "column": 17 }, "end": { - "line": 19, + "line": 20, "column": 28 } }, "range": [ - 377, - 388 + 521, + 532 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 19, + "line": 20, "column": 17 }, "end": { - "line": 19, + "line": 20, "column": 25 } }, "range": [ - 377, - 385 + 521, + 529 ], "name": "sequence" }, @@ -1292,17 +1292,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 19, + "line": 20, "column": 26 }, "end": { - "line": 19, + "line": 20, "column": 27 } }, "range": [ - 386, - 387 + 530, + 531 ], "value": 3, "raw": "3" @@ -1314,17 +1314,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 19, + "line": 20, "column": 30 }, "end": { - "line": 19, + "line": 20, "column": 44 } }, "range": [ - 390, - 404 + 534, + 548 ], "value": "second block", "raw": "'second block'" @@ -1341,17 +1341,17 @@ export default { "value": "var", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 3 } }, "range": [ - 2, - 5 + 146, + 149 ] }, { @@ -1359,17 +1359,17 @@ export default { "value": "sequence", "loc": { "start": { - "line": 3, + "line": 4, "column": 4 }, "end": { - "line": 3, + "line": 4, "column": 12 } }, "range": [ - 6, - 14 + 150, + 158 ] }, { @@ -1377,17 +1377,17 @@ export default { "value": "=", "loc": { "start": { - "line": 3, + "line": 4, "column": 13 }, "end": { - "line": 3, + "line": 4, "column": 14 } }, "range": [ - 15, - 16 + 159, + 160 ] }, { @@ -1395,17 +1395,17 @@ export default { "value": "[", "loc": { "start": { - "line": 3, + "line": 4, "column": 15 }, "end": { - "line": 3, + "line": 4, "column": 16 } }, "range": [ - 17, - 18 + 161, + 162 ] }, { @@ -1413,17 +1413,17 @@ export default { "value": "]", "loc": { "start": { - "line": 3, + "line": 4, "column": 16 }, "end": { - "line": 3, + "line": 4, "column": 17 } }, "range": [ - 18, - 19 + 162, + 163 ] }, { @@ -1431,17 +1431,17 @@ export default { "value": ";", "loc": { "start": { - "line": 3, + "line": 4, "column": 17 }, "end": { - "line": 3, + "line": 4, "column": 18 } }, "range": [ - 19, - 20 + 163, + 164 ] }, { @@ -1449,17 +1449,17 @@ export default { "value": "class", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 22, - 27 + 166, + 171 ] }, { @@ -1467,17 +1467,17 @@ export default { "value": "C", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 28, - 29 + 172, + 173 ] }, { @@ -1485,17 +1485,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 9 } }, "range": [ - 30, - 31 + 174, + 175 ] }, { @@ -1503,17 +1503,17 @@ export default { "value": "static", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 8 } }, "range": [ - 34, - 40 + 178, + 184 ] }, { @@ -1521,17 +1521,17 @@ export default { "value": "x", "loc": { "start": { - "line": 6, + "line": 7, "column": 9 }, "end": { - "line": 6, + "line": 7, "column": 10 } }, "range": [ - 41, - 42 + 185, + 186 ] }, { @@ -1539,17 +1539,17 @@ export default { "value": "=", "loc": { "start": { - "line": 6, + "line": 7, "column": 11 }, "end": { - "line": 6, + "line": 7, "column": 12 } }, "range": [ - 43, - 44 + 187, + 188 ] }, { @@ -1557,17 +1557,17 @@ export default { "value": "sequence", "loc": { "start": { - "line": 6, + "line": 7, "column": 13 }, "end": { - "line": 6, + "line": 7, "column": 21 } }, "range": [ - 45, - 53 + 189, + 197 ] }, { @@ -1575,17 +1575,17 @@ export default { "value": ".", "loc": { "start": { - "line": 6, + "line": 7, "column": 21 }, "end": { - "line": 6, + "line": 7, "column": 22 } }, "range": [ - 53, - 54 + 197, + 198 ] }, { @@ -1593,17 +1593,17 @@ export default { "value": "push", "loc": { "start": { - "line": 6, + "line": 7, "column": 22 }, "end": { - "line": 6, + "line": 7, "column": 26 } }, "range": [ - 54, - 58 + 198, + 202 ] }, { @@ -1611,17 +1611,17 @@ export default { "value": "(", "loc": { "start": { - "line": 6, + "line": 7, "column": 26 }, "end": { - "line": 6, + "line": 7, "column": 27 } }, "range": [ - 58, - 59 + 202, + 203 ] }, { @@ -1629,17 +1629,17 @@ export default { "value": "'first field'", "loc": { "start": { - "line": 6, + "line": 7, "column": 27 }, "end": { - "line": 6, + "line": 7, "column": 40 } }, "range": [ - 59, - 72 + 203, + 216 ] }, { @@ -1647,17 +1647,17 @@ export default { "value": ")", "loc": { "start": { - "line": 6, + "line": 7, "column": 40 }, "end": { - "line": 6, + "line": 7, "column": 41 } }, "range": [ - 72, - 73 + 216, + 217 ] }, { @@ -1665,17 +1665,17 @@ export default { "value": ";", "loc": { "start": { - "line": 6, + "line": 7, "column": 41 }, "end": { - "line": 6, + "line": 7, "column": 42 } }, "range": [ - 73, - 74 + 217, + 218 ] }, { @@ -1683,17 +1683,17 @@ export default { "value": "static", "loc": { "start": { - "line": 7, + "line": 8, "column": 2 }, "end": { - "line": 7, + "line": 8, "column": 8 } }, "range": [ - 77, - 83 + 221, + 227 ] }, { @@ -1701,17 +1701,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 9 }, "end": { - "line": 7, + "line": 8, "column": 10 } }, "range": [ - 84, - 85 + 228, + 229 ] }, { @@ -1719,17 +1719,17 @@ export default { "value": "sequence", "loc": { "start": { - "line": 8, + "line": 9, "column": 4 }, "end": { - "line": 8, + "line": 9, "column": 12 } }, "range": [ - 90, - 98 + 234, + 242 ] }, { @@ -1737,17 +1737,17 @@ export default { "value": ".", "loc": { "start": { - "line": 8, + "line": 9, "column": 12 }, "end": { - "line": 8, + "line": 9, "column": 13 } }, "range": [ - 98, - 99 + 242, + 243 ] }, { @@ -1755,17 +1755,17 @@ export default { "value": "push", "loc": { "start": { - "line": 8, + "line": 9, "column": 13 }, "end": { - "line": 8, + "line": 9, "column": 17 } }, "range": [ - 99, - 103 + 243, + 247 ] }, { @@ -1773,17 +1773,17 @@ export default { "value": "(", "loc": { "start": { - "line": 8, + "line": 9, "column": 17 }, "end": { - "line": 8, + "line": 9, "column": 18 } }, "range": [ - 103, - 104 + 247, + 248 ] }, { @@ -1791,17 +1791,17 @@ export default { "value": "'first block'", "loc": { "start": { - "line": 8, + "line": 9, "column": 18 }, "end": { - "line": 8, + "line": 9, "column": 31 } }, "range": [ - 104, - 117 + 248, + 261 ] }, { @@ -1809,17 +1809,17 @@ export default { "value": ")", "loc": { "start": { - "line": 8, + "line": 9, "column": 31 }, "end": { - "line": 8, + "line": 9, "column": 32 } }, "range": [ - 117, - 118 + 261, + 262 ] }, { @@ -1827,17 +1827,17 @@ export default { "value": ";", "loc": { "start": { - "line": 8, + "line": 9, "column": 32 }, "end": { - "line": 8, + "line": 9, "column": 33 } }, "range": [ - 118, - 119 + 262, + 263 ] }, { @@ -1845,17 +1845,17 @@ export default { "value": "}", "loc": { "start": { - "line": 9, + "line": 10, "column": 2 }, "end": { - "line": 9, + "line": 10, "column": 3 } }, "range": [ - 122, - 123 + 266, + 267 ] }, { @@ -1863,17 +1863,17 @@ export default { "value": "static", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 8 } }, "range": [ - 126, - 132 + 270, + 276 ] }, { @@ -1881,17 +1881,17 @@ export default { "value": "x", "loc": { "start": { - "line": 10, + "line": 11, "column": 9 }, "end": { - "line": 10, + "line": 11, "column": 10 } }, "range": [ - 133, - 134 + 277, + 278 ] }, { @@ -1899,17 +1899,17 @@ export default { "value": "=", "loc": { "start": { - "line": 10, + "line": 11, "column": 11 }, "end": { - "line": 10, + "line": 11, "column": 12 } }, "range": [ - 135, - 136 + 279, + 280 ] }, { @@ -1917,17 +1917,17 @@ export default { "value": "sequence", "loc": { "start": { - "line": 10, + "line": 11, "column": 13 }, "end": { - "line": 10, + "line": 11, "column": 21 } }, "range": [ - 137, - 145 + 281, + 289 ] }, { @@ -1935,17 +1935,17 @@ export default { "value": ".", "loc": { "start": { - "line": 10, + "line": 11, "column": 21 }, "end": { - "line": 10, + "line": 11, "column": 22 } }, "range": [ - 145, - 146 + 289, + 290 ] }, { @@ -1953,17 +1953,17 @@ export default { "value": "push", "loc": { "start": { - "line": 10, + "line": 11, "column": 22 }, "end": { - "line": 10, + "line": 11, "column": 26 } }, "range": [ - 146, - 150 + 290, + 294 ] }, { @@ -1971,17 +1971,17 @@ export default { "value": "(", "loc": { "start": { - "line": 10, + "line": 11, "column": 26 }, "end": { - "line": 10, + "line": 11, "column": 27 } }, "range": [ - 150, - 151 + 294, + 295 ] }, { @@ -1989,17 +1989,17 @@ export default { "value": "'second field'", "loc": { "start": { - "line": 10, + "line": 11, "column": 27 }, "end": { - "line": 10, + "line": 11, "column": 41 } }, "range": [ - 151, - 165 + 295, + 309 ] }, { @@ -2007,17 +2007,17 @@ export default { "value": ")", "loc": { "start": { - "line": 10, + "line": 11, "column": 41 }, "end": { - "line": 10, + "line": 11, "column": 42 } }, "range": [ - 165, - 166 + 309, + 310 ] }, { @@ -2025,17 +2025,17 @@ export default { "value": ";", "loc": { "start": { - "line": 10, + "line": 11, "column": 42 }, "end": { - "line": 10, + "line": 11, "column": 43 } }, "range": [ - 166, - 167 + 310, + 311 ] }, { @@ -2043,17 +2043,17 @@ export default { "value": "static", "loc": { "start": { - "line": 11, + "line": 12, "column": 2 }, "end": { - "line": 11, + "line": 12, "column": 8 } }, "range": [ - 170, - 176 + 314, + 320 ] }, { @@ -2061,17 +2061,17 @@ export default { "value": "{", "loc": { "start": { - "line": 11, + "line": 12, "column": 9 }, "end": { - "line": 11, + "line": 12, "column": 10 } }, "range": [ - 177, - 178 + 321, + 322 ] }, { @@ -2079,17 +2079,17 @@ export default { "value": "sequence", "loc": { "start": { - "line": 12, + "line": 13, "column": 4 }, "end": { - "line": 12, + "line": 13, "column": 12 } }, "range": [ - 183, - 191 + 327, + 335 ] }, { @@ -2097,17 +2097,17 @@ export default { "value": ".", "loc": { "start": { - "line": 12, + "line": 13, "column": 12 }, "end": { - "line": 12, + "line": 13, "column": 13 } }, "range": [ - 191, - 192 + 335, + 336 ] }, { @@ -2115,17 +2115,17 @@ export default { "value": "push", "loc": { "start": { - "line": 12, + "line": 13, "column": 13 }, "end": { - "line": 12, + "line": 13, "column": 17 } }, "range": [ - 192, - 196 + 336, + 340 ] }, { @@ -2133,17 +2133,17 @@ export default { "value": "(", "loc": { "start": { - "line": 12, + "line": 13, "column": 17 }, "end": { - "line": 12, + "line": 13, "column": 18 } }, "range": [ - 196, - 197 + 340, + 341 ] }, { @@ -2151,17 +2151,17 @@ export default { "value": "'second block'", "loc": { "start": { - "line": 12, + "line": 13, "column": 18 }, "end": { - "line": 12, + "line": 13, "column": 32 } }, "range": [ - 197, - 211 + 341, + 355 ] }, { @@ -2169,17 +2169,17 @@ export default { "value": ")", "loc": { "start": { - "line": 12, + "line": 13, "column": 32 }, "end": { - "line": 12, + "line": 13, "column": 33 } }, "range": [ - 211, - 212 + 355, + 356 ] }, { @@ -2187,17 +2187,17 @@ export default { "value": ";", "loc": { "start": { - "line": 12, + "line": 13, "column": 33 }, "end": { - "line": 12, + "line": 13, "column": 34 } }, "range": [ - 212, - 213 + 356, + 357 ] }, { @@ -2205,17 +2205,17 @@ export default { "value": "}", "loc": { "start": { - "line": 13, + "line": 14, "column": 2 }, "end": { - "line": 13, + "line": 14, "column": 3 } }, "range": [ - 216, - 217 + 360, + 361 ] }, { @@ -2223,17 +2223,17 @@ export default { "value": "}", "loc": { "start": { - "line": 14, + "line": 15, "column": 0 }, "end": { - "line": 14, + "line": 15, "column": 1 } }, "range": [ - 218, - 219 + 362, + 363 ] }, { @@ -2241,17 +2241,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 16, + "line": 17, "column": 0 }, "end": { - "line": 16, + "line": 17, "column": 6 } }, "range": [ - 221, - 227 + 365, + 371 ] }, { @@ -2259,17 +2259,17 @@ export default { "value": ".", "loc": { "start": { - "line": 16, + "line": 17, "column": 6 }, "end": { - "line": 16, + "line": 17, "column": 7 } }, "range": [ - 227, - 228 + 371, + 372 ] }, { @@ -2277,17 +2277,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 16, + "line": 17, "column": 7 }, "end": { - "line": 16, + "line": 17, "column": 16 } }, "range": [ - 228, - 237 + 372, + 381 ] }, { @@ -2295,17 +2295,17 @@ export default { "value": "(", "loc": { "start": { - "line": 16, + "line": 17, "column": 16 }, "end": { - "line": 16, + "line": 17, "column": 17 } }, "range": [ - 237, - 238 + 381, + 382 ] }, { @@ -2313,17 +2313,17 @@ export default { "value": "sequence", "loc": { "start": { - "line": 16, + "line": 17, "column": 17 }, "end": { - "line": 16, + "line": 17, "column": 25 } }, "range": [ - 238, - 246 + 382, + 390 ] }, { @@ -2331,17 +2331,17 @@ export default { "value": "[", "loc": { "start": { - "line": 16, + "line": 17, "column": 25 }, "end": { - "line": 16, + "line": 17, "column": 26 } }, "range": [ - 246, - 247 + 390, + 391 ] }, { @@ -2349,17 +2349,17 @@ export default { "value": "0", "loc": { "start": { - "line": 16, + "line": 17, "column": 26 }, "end": { - "line": 16, + "line": 17, "column": 27 } }, "range": [ - 247, - 248 + 391, + 392 ] }, { @@ -2367,17 +2367,17 @@ export default { "value": "]", "loc": { "start": { - "line": 16, + "line": 17, "column": 27 }, "end": { - "line": 16, + "line": 17, "column": 28 } }, "range": [ - 248, - 249 + 392, + 393 ] }, { @@ -2385,17 +2385,17 @@ export default { "value": ",", "loc": { "start": { - "line": 16, + "line": 17, "column": 28 }, "end": { - "line": 16, + "line": 17, "column": 29 } }, "range": [ - 249, - 250 + 393, + 394 ] }, { @@ -2403,17 +2403,17 @@ export default { "value": "'first field'", "loc": { "start": { - "line": 16, + "line": 17, "column": 30 }, "end": { - "line": 16, + "line": 17, "column": 43 } }, "range": [ - 251, - 264 + 395, + 408 ] }, { @@ -2421,17 +2421,17 @@ export default { "value": ")", "loc": { "start": { - "line": 16, + "line": 17, "column": 43 }, "end": { - "line": 16, + "line": 17, "column": 44 } }, "range": [ - 264, - 265 + 408, + 409 ] }, { @@ -2439,17 +2439,17 @@ export default { "value": ";", "loc": { "start": { - "line": 16, + "line": 17, "column": 44 }, "end": { - "line": 16, + "line": 17, "column": 45 } }, "range": [ - 265, - 266 + 409, + 410 ] }, { @@ -2457,17 +2457,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 17, + "line": 18, "column": 0 }, "end": { - "line": 17, + "line": 18, "column": 6 } }, "range": [ - 267, - 273 + 411, + 417 ] }, { @@ -2475,17 +2475,17 @@ export default { "value": ".", "loc": { "start": { - "line": 17, + "line": 18, "column": 6 }, "end": { - "line": 17, + "line": 18, "column": 7 } }, "range": [ - 273, - 274 + 417, + 418 ] }, { @@ -2493,17 +2493,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 17, + "line": 18, "column": 7 }, "end": { - "line": 17, + "line": 18, "column": 16 } }, "range": [ - 274, - 283 + 418, + 427 ] }, { @@ -2511,17 +2511,17 @@ export default { "value": "(", "loc": { "start": { - "line": 17, + "line": 18, "column": 16 }, "end": { - "line": 17, + "line": 18, "column": 17 } }, "range": [ - 283, - 284 + 427, + 428 ] }, { @@ -2529,17 +2529,17 @@ export default { "value": "sequence", "loc": { "start": { - "line": 17, + "line": 18, "column": 17 }, "end": { - "line": 17, + "line": 18, "column": 25 } }, "range": [ - 284, - 292 + 428, + 436 ] }, { @@ -2547,17 +2547,17 @@ export default { "value": "[", "loc": { "start": { - "line": 17, + "line": 18, "column": 25 }, "end": { - "line": 17, + "line": 18, "column": 26 } }, "range": [ - 292, - 293 + 436, + 437 ] }, { @@ -2565,17 +2565,17 @@ export default { "value": "1", "loc": { "start": { - "line": 17, + "line": 18, "column": 26 }, "end": { - "line": 17, + "line": 18, "column": 27 } }, "range": [ - 293, - 294 + 437, + 438 ] }, { @@ -2583,17 +2583,17 @@ export default { "value": "]", "loc": { "start": { - "line": 17, + "line": 18, "column": 27 }, "end": { - "line": 17, + "line": 18, "column": 28 } }, "range": [ - 294, - 295 + 438, + 439 ] }, { @@ -2601,17 +2601,17 @@ export default { "value": ",", "loc": { "start": { - "line": 17, + "line": 18, "column": 28 }, "end": { - "line": 17, + "line": 18, "column": 29 } }, "range": [ - 295, - 296 + 439, + 440 ] }, { @@ -2619,17 +2619,17 @@ export default { "value": "'first block'", "loc": { "start": { - "line": 17, + "line": 18, "column": 30 }, "end": { - "line": 17, + "line": 18, "column": 43 } }, "range": [ - 297, - 310 + 441, + 454 ] }, { @@ -2637,17 +2637,17 @@ export default { "value": ")", "loc": { "start": { - "line": 17, + "line": 18, "column": 43 }, "end": { - "line": 17, + "line": 18, "column": 44 } }, "range": [ - 310, - 311 + 454, + 455 ] }, { @@ -2655,17 +2655,17 @@ export default { "value": ";", "loc": { "start": { - "line": 17, + "line": 18, "column": 44 }, "end": { - "line": 17, + "line": 18, "column": 45 } }, "range": [ - 311, - 312 + 455, + 456 ] }, { @@ -2673,17 +2673,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 18, + "line": 19, "column": 0 }, "end": { - "line": 18, + "line": 19, "column": 6 } }, "range": [ - 313, - 319 + 457, + 463 ] }, { @@ -2691,17 +2691,17 @@ export default { "value": ".", "loc": { "start": { - "line": 18, + "line": 19, "column": 6 }, "end": { - "line": 18, + "line": 19, "column": 7 } }, "range": [ - 319, - 320 + 463, + 464 ] }, { @@ -2709,17 +2709,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 18, + "line": 19, "column": 7 }, "end": { - "line": 18, + "line": 19, "column": 16 } }, "range": [ - 320, - 329 + 464, + 473 ] }, { @@ -2727,17 +2727,17 @@ export default { "value": "(", "loc": { "start": { - "line": 18, + "line": 19, "column": 16 }, "end": { - "line": 18, + "line": 19, "column": 17 } }, "range": [ - 329, - 330 + 473, + 474 ] }, { @@ -2745,17 +2745,17 @@ export default { "value": "sequence", "loc": { "start": { - "line": 18, + "line": 19, "column": 17 }, "end": { - "line": 18, + "line": 19, "column": 25 } }, "range": [ - 330, - 338 + 474, + 482 ] }, { @@ -2763,17 +2763,17 @@ export default { "value": "[", "loc": { "start": { - "line": 18, + "line": 19, "column": 25 }, "end": { - "line": 18, + "line": 19, "column": 26 } }, "range": [ - 338, - 339 + 482, + 483 ] }, { @@ -2781,17 +2781,17 @@ export default { "value": "2", "loc": { "start": { - "line": 18, + "line": 19, "column": 26 }, "end": { - "line": 18, + "line": 19, "column": 27 } }, "range": [ - 339, - 340 + 483, + 484 ] }, { @@ -2799,17 +2799,17 @@ export default { "value": "]", "loc": { "start": { - "line": 18, + "line": 19, "column": 27 }, "end": { - "line": 18, + "line": 19, "column": 28 } }, "range": [ - 340, - 341 + 484, + 485 ] }, { @@ -2817,17 +2817,17 @@ export default { "value": ",", "loc": { "start": { - "line": 18, + "line": 19, "column": 28 }, "end": { - "line": 18, + "line": 19, "column": 29 } }, "range": [ - 341, - 342 + 485, + 486 ] }, { @@ -2835,17 +2835,17 @@ export default { "value": "'second field'", "loc": { "start": { - "line": 18, + "line": 19, "column": 30 }, "end": { - "line": 18, + "line": 19, "column": 44 } }, "range": [ - 343, - 357 + 487, + 501 ] }, { @@ -2853,17 +2853,17 @@ export default { "value": ")", "loc": { "start": { - "line": 18, + "line": 19, "column": 44 }, "end": { - "line": 18, + "line": 19, "column": 45 } }, "range": [ - 357, - 358 + 501, + 502 ] }, { @@ -2871,17 +2871,17 @@ export default { "value": ";", "loc": { "start": { - "line": 18, + "line": 19, "column": 45 }, "end": { - "line": 18, + "line": 19, "column": 46 } }, "range": [ - 358, - 359 + 502, + 503 ] }, { @@ -2889,17 +2889,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 19, + "line": 20, "column": 0 }, "end": { - "line": 19, + "line": 20, "column": 6 } }, "range": [ - 360, - 366 + 504, + 510 ] }, { @@ -2907,17 +2907,17 @@ export default { "value": ".", "loc": { "start": { - "line": 19, + "line": 20, "column": 6 }, "end": { - "line": 19, + "line": 20, "column": 7 } }, "range": [ - 366, - 367 + 510, + 511 ] }, { @@ -2925,17 +2925,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 19, + "line": 20, "column": 7 }, "end": { - "line": 19, + "line": 20, "column": 16 } }, "range": [ - 367, - 376 + 511, + 520 ] }, { @@ -2943,17 +2943,17 @@ export default { "value": "(", "loc": { "start": { - "line": 19, + "line": 20, "column": 16 }, "end": { - "line": 19, + "line": 20, "column": 17 } }, "range": [ - 376, - 377 + 520, + 521 ] }, { @@ -2961,17 +2961,17 @@ export default { "value": "sequence", "loc": { "start": { - "line": 19, + "line": 20, "column": 17 }, "end": { - "line": 19, + "line": 20, "column": 25 } }, "range": [ - 377, - 385 + 521, + 529 ] }, { @@ -2979,17 +2979,17 @@ export default { "value": "[", "loc": { "start": { - "line": 19, + "line": 20, "column": 25 }, "end": { - "line": 19, + "line": 20, "column": 26 } }, "range": [ - 385, - 386 + 529, + 530 ] }, { @@ -2997,17 +2997,17 @@ export default { "value": "3", "loc": { "start": { - "line": 19, + "line": 20, "column": 26 }, "end": { - "line": 19, + "line": 20, "column": 27 } }, "range": [ - 386, - 387 + 530, + 531 ] }, { @@ -3015,17 +3015,17 @@ export default { "value": "]", "loc": { "start": { - "line": 19, + "line": 20, "column": 27 }, "end": { - "line": 19, + "line": 20, "column": 28 } }, "range": [ - 387, - 388 + 531, + 532 ] }, { @@ -3033,17 +3033,17 @@ export default { "value": ",", "loc": { "start": { - "line": 19, + "line": 20, "column": 28 }, "end": { - "line": 19, + "line": 20, "column": 29 } }, "range": [ - 388, - 389 + 532, + 533 ] }, { @@ -3051,17 +3051,17 @@ export default { "value": "'second block'", "loc": { "start": { - "line": 19, + "line": 20, "column": 30 }, "end": { - "line": 19, + "line": 20, "column": 44 } }, "range": [ - 390, - 404 + 534, + 548 ] }, { @@ -3069,17 +3069,17 @@ export default { "value": ")", "loc": { "start": { - "line": 19, + "line": 20, "column": 44 }, "end": { - "line": 19, + "line": 20, "column": 45 } }, "range": [ - 404, - 405 + 548, + 549 ] }, { @@ -3087,17 +3087,17 @@ export default { "value": ";", "loc": { "start": { - "line": 19, + "line": 20, "column": 45 }, "end": { - "line": 19, + "line": 20, "column": 46 } }, "range": [ - 405, - 406 + 549, + 550 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-sequence.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-sequence.src.js index ee59f6ec..d7abcd49 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-sequence.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-sequence.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-sequence.js var sequence = []; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-statement-list-optional.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-statement-list-optional.result.js index 083d48cd..209f5dbb 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-statement-list-optional.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-statement-list-optional.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 1 } }, "range": [ - 2, - 25 + 161, + 184 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 1 } }, "range": [ - 2, - 25 + 161, + 184 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 167, + 168 ], "name": "C" }, @@ -54,34 +54,34 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 1 } }, "range": [ - 10, - 25 + 169, + 184 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 11 } }, "range": [ - 14, - 23 + 173, + 182 ], "body": [] } @@ -96,17 +96,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 161, + 166 ] }, { @@ -114,17 +114,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 167, + 168 ] }, { @@ -132,17 +132,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 169, + 170 ] }, { @@ -150,17 +150,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 173, + 179 ] }, { @@ -168,17 +168,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 180, + 181 ] }, { @@ -186,17 +186,17 @@ export default { "value": "}", "loc": { "start": { - "line": 4, + "line": 5, "column": 10 }, "end": { - "line": 4, + "line": 5, "column": 11 } }, "range": [ - 22, - 23 + 181, + 182 ] }, { @@ -204,17 +204,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 1 } }, "range": [ - 24, - 25 + 183, + 184 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-statement-list-optional.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-statement-list-optional.src.js index 782fb282..940e05b3 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-statement-list-optional.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-statement-list-optional.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-statement-list-optional.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-super-property.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-super-property.result.js index 705bd9f6..3a8a3324 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-super-property.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-super-property.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 35 } }, "range": [ - 2, - 168 + 152, + 318 ], "body": [ { "type": "FunctionDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 20 } }, "range": [ - 2, - 22 + 152, + 172 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 9 }, "end": { - "line": 3, + "line": 4, "column": 15 } }, "range": [ - 11, - 17 + 161, + 167 ], "name": "Parent" }, @@ -57,17 +57,17 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 3, + "line": 4, "column": 18 }, "end": { - "line": 3, + "line": 4, "column": 20 } }, "range": [ - 20, - 22 + 170, + 172 ], "body": [] } @@ -76,66 +76,66 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 27 } }, "range": [ - 23, - 50 + 173, + 200 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 26 } }, "range": [ - 23, - 49 + 173, + 199 ], "operator": "=", "left": { "type": "MemberExpression", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 14 } }, "range": [ - 23, - 37 + 173, + 187 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 6 } }, "range": [ - 23, - 29 + 173, + 179 ], "name": "Parent" }, @@ -143,17 +143,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 4, + "line": 5, "column": 7 }, "end": { - "line": 4, + "line": 5, "column": 14 } }, "range": [ - 30, - 37 + 180, + 187 ], "name": "test262" }, @@ -164,17 +164,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 4, + "line": 5, "column": 17 }, "end": { - "line": 4, + "line": 5, "column": 26 } }, "range": [ - 40, - 49 + 190, + 199 ], "value": "test262", "raw": "'test262'" @@ -185,50 +185,50 @@ export default { "type": "VariableDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 51, - 61 + 201, + 211 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 9 } }, "range": [ - 55, - 60 + 205, + 210 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 9 } }, "range": [ - 55, - 60 + 205, + 210 ], "name": "value" }, @@ -241,33 +241,33 @@ export default { "type": "ClassDeclaration", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 1 } }, "range": [ - 63, - 131 + 213, + 281 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 6 }, "end": { - "line": 7, + "line": 8, "column": 7 } }, "range": [ - 69, - 70 + 219, + 220 ], "name": "C" }, @@ -275,17 +275,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 7, + "line": 8, "column": 16 }, "end": { - "line": 7, + "line": 8, "column": 22 } }, "range": [ - 79, - 85 + 229, + 235 ], "name": "Parent" }, @@ -293,84 +293,84 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 7, + "line": 8, "column": 23 }, "end": { - "line": 11, + "line": 12, "column": 1 } }, "range": [ - 86, - 131 + 236, + 281 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 3 } }, "range": [ - 90, - 129 + 240, + 279 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 26 } }, "range": [ - 103, - 125 + 253, + 275 ], "expression": { "type": "AssignmentExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 25 } }, "range": [ - 103, - 124 + 253, + 274 ], "operator": "=", "left": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 9 } }, "range": [ - 103, - 108 + 253, + 258 ], "name": "value" }, @@ -378,50 +378,50 @@ export default { "type": "MemberExpression", "loc": { "start": { - "line": 9, + "line": 10, "column": 12 }, "end": { - "line": 9, + "line": 10, "column": 25 } }, "range": [ - 111, - 124 + 261, + 274 ], "object": { "type": "Super", "loc": { "start": { - "line": 9, + "line": 10, "column": 12 }, "end": { - "line": 9, + "line": 10, "column": 17 } }, "range": [ - 111, - 116 + 261, + 266 ] }, "property": { "type": "Identifier", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 9, + "line": 10, "column": 25 } }, "range": [ - 117, - 124 + 267, + 274 ], "name": "test262" }, @@ -439,65 +439,65 @@ export default { "type": "ExpressionStatement", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 35 } }, "range": [ - 133, - 168 + 283, + 318 ], "expression": { "type": "CallExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 34 } }, "range": [ - 133, - 167 + 283, + 317 ], "callee": { "type": "MemberExpression", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 16 } }, "range": [ - 133, - 149 + 283, + 299 ], "object": { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 6 } }, "range": [ - 133, - 139 + 283, + 289 ], "name": "assert" }, @@ -505,17 +505,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 7 }, "end": { - "line": 13, + "line": 14, "column": 16 } }, "range": [ - 140, - 149 + 290, + 299 ], "name": "sameValue" }, @@ -527,17 +527,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 13, + "line": 14, "column": 17 }, "end": { - "line": 13, + "line": 14, "column": 22 } }, "range": [ - 150, - 155 + 300, + 305 ], "name": "value" }, @@ -545,17 +545,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 13, + "line": 14, "column": 24 }, "end": { - "line": 13, + "line": 14, "column": 33 } }, "range": [ - 157, - 166 + 307, + 316 ], "value": "test262", "raw": "'test262'" @@ -572,17 +572,17 @@ export default { "value": "function", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 8 } }, "range": [ - 2, - 10 + 152, + 160 ] }, { @@ -590,17 +590,17 @@ export default { "value": "Parent", "loc": { "start": { - "line": 3, + "line": 4, "column": 9 }, "end": { - "line": 3, + "line": 4, "column": 15 } }, "range": [ - 11, - 17 + 161, + 167 ] }, { @@ -608,17 +608,17 @@ export default { "value": "(", "loc": { "start": { - "line": 3, + "line": 4, "column": 15 }, "end": { - "line": 3, + "line": 4, "column": 16 } }, "range": [ - 17, - 18 + 167, + 168 ] }, { @@ -626,17 +626,17 @@ export default { "value": ")", "loc": { "start": { - "line": 3, + "line": 4, "column": 16 }, "end": { - "line": 3, + "line": 4, "column": 17 } }, "range": [ - 18, - 19 + 168, + 169 ] }, { @@ -644,17 +644,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 18 }, "end": { - "line": 3, + "line": 4, "column": 19 } }, "range": [ - 20, - 21 + 170, + 171 ] }, { @@ -662,17 +662,17 @@ export default { "value": "}", "loc": { "start": { - "line": 3, + "line": 4, "column": 19 }, "end": { - "line": 3, + "line": 4, "column": 20 } }, "range": [ - 21, - 22 + 171, + 172 ] }, { @@ -680,17 +680,17 @@ export default { "value": "Parent", "loc": { "start": { - "line": 4, + "line": 5, "column": 0 }, "end": { - "line": 4, + "line": 5, "column": 6 } }, "range": [ - 23, - 29 + 173, + 179 ] }, { @@ -698,17 +698,17 @@ export default { "value": ".", "loc": { "start": { - "line": 4, + "line": 5, "column": 6 }, "end": { - "line": 4, + "line": 5, "column": 7 } }, "range": [ - 29, - 30 + 179, + 180 ] }, { @@ -716,17 +716,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 4, + "line": 5, "column": 7 }, "end": { - "line": 4, + "line": 5, "column": 14 } }, "range": [ - 30, - 37 + 180, + 187 ] }, { @@ -734,17 +734,17 @@ export default { "value": "=", "loc": { "start": { - "line": 4, + "line": 5, "column": 15 }, "end": { - "line": 4, + "line": 5, "column": 16 } }, "range": [ - 38, - 39 + 188, + 189 ] }, { @@ -752,17 +752,17 @@ export default { "value": "'test262'", "loc": { "start": { - "line": 4, + "line": 5, "column": 17 }, "end": { - "line": 4, + "line": 5, "column": 26 } }, "range": [ - 40, - 49 + 190, + 199 ] }, { @@ -770,17 +770,17 @@ export default { "value": ";", "loc": { "start": { - "line": 4, + "line": 5, "column": 26 }, "end": { - "line": 4, + "line": 5, "column": 27 } }, "range": [ - 49, - 50 + 199, + 200 ] }, { @@ -788,17 +788,17 @@ export default { "value": "var", "loc": { "start": { - "line": 5, + "line": 6, "column": 0 }, "end": { - "line": 5, + "line": 6, "column": 3 } }, "range": [ - 51, - 54 + 201, + 204 ] }, { @@ -806,17 +806,17 @@ export default { "value": "value", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 9 } }, "range": [ - 55, - 60 + 205, + 210 ] }, { @@ -824,17 +824,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 9 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 60, - 61 + 210, + 211 ] }, { @@ -842,17 +842,17 @@ export default { "value": "class", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 5 } }, "range": [ - 63, - 68 + 213, + 218 ] }, { @@ -860,17 +860,17 @@ export default { "value": "C", "loc": { "start": { - "line": 7, + "line": 8, "column": 6 }, "end": { - "line": 7, + "line": 8, "column": 7 } }, "range": [ - 69, - 70 + 219, + 220 ] }, { @@ -878,17 +878,17 @@ export default { "value": "extends", "loc": { "start": { - "line": 7, + "line": 8, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 15 } }, "range": [ - 71, - 78 + 221, + 228 ] }, { @@ -896,17 +896,17 @@ export default { "value": "Parent", "loc": { "start": { - "line": 7, + "line": 8, "column": 16 }, "end": { - "line": 7, + "line": 8, "column": 22 } }, "range": [ - 79, - 85 + 229, + 235 ] }, { @@ -914,17 +914,17 @@ export default { "value": "{", "loc": { "start": { - "line": 7, + "line": 8, "column": 23 }, "end": { - "line": 7, + "line": 8, "column": 24 } }, "range": [ - 86, - 87 + 236, + 237 ] }, { @@ -932,17 +932,17 @@ export default { "value": "static", "loc": { "start": { - "line": 8, + "line": 9, "column": 2 }, "end": { - "line": 8, + "line": 9, "column": 8 } }, "range": [ - 90, - 96 + 240, + 246 ] }, { @@ -950,17 +950,17 @@ export default { "value": "{", "loc": { "start": { - "line": 8, + "line": 9, "column": 9 }, "end": { - "line": 8, + "line": 9, "column": 10 } }, "range": [ - 97, - 98 + 247, + 248 ] }, { @@ -968,17 +968,17 @@ export default { "value": "value", "loc": { "start": { - "line": 9, + "line": 10, "column": 4 }, "end": { - "line": 9, + "line": 10, "column": 9 } }, "range": [ - 103, - 108 + 253, + 258 ] }, { @@ -986,17 +986,17 @@ export default { "value": "=", "loc": { "start": { - "line": 9, + "line": 10, "column": 10 }, "end": { - "line": 9, + "line": 10, "column": 11 } }, "range": [ - 109, - 110 + 259, + 260 ] }, { @@ -1004,17 +1004,17 @@ export default { "value": "super", "loc": { "start": { - "line": 9, + "line": 10, "column": 12 }, "end": { - "line": 9, + "line": 10, "column": 17 } }, "range": [ - 111, - 116 + 261, + 266 ] }, { @@ -1022,17 +1022,17 @@ export default { "value": ".", "loc": { "start": { - "line": 9, + "line": 10, "column": 17 }, "end": { - "line": 9, + "line": 10, "column": 18 } }, "range": [ - 116, - 117 + 266, + 267 ] }, { @@ -1040,17 +1040,17 @@ export default { "value": "test262", "loc": { "start": { - "line": 9, + "line": 10, "column": 18 }, "end": { - "line": 9, + "line": 10, "column": 25 } }, "range": [ - 117, - 124 + 267, + 274 ] }, { @@ -1058,17 +1058,17 @@ export default { "value": ";", "loc": { "start": { - "line": 9, + "line": 10, "column": 25 }, "end": { - "line": 9, + "line": 10, "column": 26 } }, "range": [ - 124, - 125 + 274, + 275 ] }, { @@ -1076,17 +1076,17 @@ export default { "value": "}", "loc": { "start": { - "line": 10, + "line": 11, "column": 2 }, "end": { - "line": 10, + "line": 11, "column": 3 } }, "range": [ - 128, - 129 + 278, + 279 ] }, { @@ -1094,17 +1094,17 @@ export default { "value": "}", "loc": { "start": { - "line": 11, + "line": 12, "column": 0 }, "end": { - "line": 11, + "line": 12, "column": 1 } }, "range": [ - 130, - 131 + 280, + 281 ] }, { @@ -1112,17 +1112,17 @@ export default { "value": "assert", "loc": { "start": { - "line": 13, + "line": 14, "column": 0 }, "end": { - "line": 13, + "line": 14, "column": 6 } }, "range": [ - 133, - 139 + 283, + 289 ] }, { @@ -1130,17 +1130,17 @@ export default { "value": ".", "loc": { "start": { - "line": 13, + "line": 14, "column": 6 }, "end": { - "line": 13, + "line": 14, "column": 7 } }, "range": [ - 139, - 140 + 289, + 290 ] }, { @@ -1148,17 +1148,17 @@ export default { "value": "sameValue", "loc": { "start": { - "line": 13, + "line": 14, "column": 7 }, "end": { - "line": 13, + "line": 14, "column": 16 } }, "range": [ - 140, - 149 + 290, + 299 ] }, { @@ -1166,17 +1166,17 @@ export default { "value": "(", "loc": { "start": { - "line": 13, + "line": 14, "column": 16 }, "end": { - "line": 13, + "line": 14, "column": 17 } }, "range": [ - 149, - 150 + 299, + 300 ] }, { @@ -1184,17 +1184,17 @@ export default { "value": "value", "loc": { "start": { - "line": 13, + "line": 14, "column": 17 }, "end": { - "line": 13, + "line": 14, "column": 22 } }, "range": [ - 150, - 155 + 300, + 305 ] }, { @@ -1202,17 +1202,17 @@ export default { "value": ",", "loc": { "start": { - "line": 13, + "line": 14, "column": 22 }, "end": { - "line": 13, + "line": 14, "column": 23 } }, "range": [ - 155, - 156 + 305, + 306 ] }, { @@ -1220,17 +1220,17 @@ export default { "value": "'test262'", "loc": { "start": { - "line": 13, + "line": 14, "column": 24 }, "end": { - "line": 13, + "line": 14, "column": 33 } }, "range": [ - 157, - 166 + 307, + 316 ] }, { @@ -1238,17 +1238,17 @@ export default { "value": ")", "loc": { "start": { - "line": 13, + "line": 14, "column": 33 }, "end": { - "line": 13, + "line": 14, "column": 34 } }, "range": [ - 166, - 167 + 316, + 317 ] }, { @@ -1256,17 +1256,17 @@ export default { "value": ";", "loc": { "start": { - "line": 13, + "line": 14, "column": 34 }, "end": { - "line": 13, + "line": 14, "column": 35 } }, "range": [ - 167, - 168 + 317, + 318 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-super-property.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-super-property.src.js index 233f11f1..693cc788 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-super-property.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-class-static-init-super-property.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/class/static-init-super-property.js function Parent() {} diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.module-result.js new file mode 100644 index 00000000..a45d881b --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 168, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.result.js index 8b8b21f9..2420ff34 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.result.js @@ -1,6 +1,6 @@ export default { - "index": 31, - "lineNumber": 3, + "index": 188, + "lineNumber": 4, "column": 11, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.src.js index 92b6d674..4b85adf5 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-invalid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/const/static-init-await-binding-invalid.js class C { static { const await = 0; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.module-result.js index e0cdd494..6473d839 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 42, - "lineNumber": 5, + "index": 197, + "lineNumber": 6, "column": 20, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.result.js index be202a8c..4ea0b063 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 62 + 157, + 217 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 62 + 157, + 217 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 163, + 164 ], "name": "C" }, @@ -54,67 +54,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 62 + 165, + 217 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 60 + 169, + 215 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 33 } }, "range": [ - 27, - 56 + 182, + 211 ], "expression": { "type": "ArrowFunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 28, - 54 + 183, + 209 ], "id": null, "expression": false, @@ -125,67 +125,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 34, - 54 + 189, + 209 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 36, - 52 + 191, + 207 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 19 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 42, - 51 + 197, + 206 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 19 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 42, - 47 + 197, + 202 ], "name": "await" }, @@ -193,17 +193,17 @@ export default { "type": "Literal", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 50, - 51 + 205, + 206 ], "value": 0, "raw": "0" @@ -229,17 +229,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 157, + 162 ] }, { @@ -247,17 +247,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 163, + 164 ] }, { @@ -265,17 +265,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 165, + 166 ] }, { @@ -283,17 +283,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 169, + 175 ] }, { @@ -301,17 +301,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 176, + 177 ] }, { @@ -319,17 +319,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 182, + 183 ] }, { @@ -337,17 +337,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 183, + 184 ] }, { @@ -355,17 +355,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 184, + 185 ] }, { @@ -373,17 +373,17 @@ export default { "value": "=>", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 31, - 33 + 186, + 188 ] }, { @@ -391,17 +391,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 34, - 35 + 189, + 190 ] }, { @@ -409,17 +409,17 @@ export default { "value": "const", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 36, - 41 + 191, + 196 ] }, { @@ -427,17 +427,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 19 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 42, - 47 + 197, + 202 ] }, { @@ -445,17 +445,17 @@ export default { "value": "=", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 48, - 49 + 203, + 204 ] }, { @@ -463,17 +463,17 @@ export default { "value": "0", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 50, - 51 + 205, + 206 ] }, { @@ -481,17 +481,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 28 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 51, - 52 + 206, + 207 ] }, { @@ -499,17 +499,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 30 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 53, - 54 + 208, + 209 ] }, { @@ -517,17 +517,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 31 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 54, - 55 + 209, + 210 ] }, { @@ -535,17 +535,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 32 }, "end": { - "line": 5, + "line": 6, "column": 33 } }, "range": [ - 55, - 56 + 210, + 211 ] }, { @@ -553,17 +553,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 59, - 60 + 214, + 215 ] }, { @@ -571,17 +571,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 61, - 62 + 216, + 217 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.src.js index 240c2391..0654dd8e 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-const-static-init-await-binding-valid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/const/static-init-await-binding-valid.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-with-label.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-with-label.result.js index 37c3c639..73be3d7d 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-with-label.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-with-label.result.js @@ -1,6 +1,6 @@ export default { - "index": 53, - "lineNumber": 4, + "index": 202, + "lineNumber": 5, "column": 7, "message": "Unsyntactic continue" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-with-label.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-with-label.src.js index b8dbb050..4f6655eb 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-with-label.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-with-label.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/continue/static-init-with-label.js label: while(false) { class C { static { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-without-label.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-without-label.result.js index 37c3c639..9659873a 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-without-label.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-without-label.result.js @@ -1,6 +1,6 @@ export default { - "index": 53, - "lineNumber": 4, + "index": 205, + "lineNumber": 5, "column": 7, "message": "Unsyntactic continue" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-without-label.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-without-label.src.js index e56aa61f..5e97bfac 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-without-label.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-continue-static-init-without-label.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/continue/static-init-without-label.js label: while(false) { class C { static { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.module-result.js new file mode 100644 index 00000000..ee90d83e --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 171, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.result.js index 9d6be10f..ea09e336 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.result.js @@ -1,6 +1,6 @@ export default { - "index": 34, - "lineNumber": 3, + "index": 194, + "lineNumber": 4, "column": 14, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.src.js index e1bcb413..661c2a36 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-invalid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/function/static-init-await-binding-invalid.js class C { static { function await() {} diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.module-result.js index 0c649d5c..72a6f1f8 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 45, - "lineNumber": 5, + "index": 203, + "lineNumber": 6, "column": 23, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.result.js index d42bc174..16257746 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 65 + 160, + 223 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 65 + 160, + 223 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 166, + 167 ], "name": "C" }, @@ -54,67 +54,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 65 + 168, + 223 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 63 + 172, + 221 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 36 } }, "range": [ - 27, - 59 + 185, + 217 ], "expression": { "type": "ArrowFunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 34 } }, "range": [ - 28, - 57 + 186, + 215 ], "id": null, "expression": false, @@ -125,50 +125,50 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 34 } }, "range": [ - 34, - 57 + 192, + 215 ], "body": [ { "type": "FunctionDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 36, - 55 + 194, + 213 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 22 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 45, - 50 + 203, + 208 ], "name": "await" }, @@ -180,17 +180,17 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 30 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 53, - 55 + 211, + 213 ], "body": [] } @@ -212,17 +212,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 160, + 165 ] }, { @@ -230,17 +230,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 166, + 167 ] }, { @@ -248,17 +248,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 168, + 169 ] }, { @@ -266,17 +266,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 172, + 178 ] }, { @@ -284,17 +284,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 179, + 180 ] }, { @@ -302,17 +302,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 185, + 186 ] }, { @@ -320,17 +320,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 186, + 187 ] }, { @@ -338,17 +338,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 187, + 188 ] }, { @@ -356,17 +356,17 @@ export default { "value": "=>", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 31, - 33 + 189, + 191 ] }, { @@ -374,17 +374,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 34, - 35 + 192, + 193 ] }, { @@ -392,17 +392,17 @@ export default { "value": "function", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 21 } }, "range": [ - 36, - 44 + 194, + 202 ] }, { @@ -410,17 +410,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 22 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 45, - 50 + 203, + 208 ] }, { @@ -428,17 +428,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 50, - 51 + 208, + 209 ] }, { @@ -446,17 +446,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 28 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 51, - 52 + 209, + 210 ] }, { @@ -464,17 +464,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 30 }, "end": { - "line": 5, + "line": 6, "column": 31 } }, "range": [ - 53, - 54 + 211, + 212 ] }, { @@ -482,17 +482,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 31 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 54, - 55 + 212, + 213 ] }, { @@ -500,17 +500,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 33 }, "end": { - "line": 5, + "line": 6, "column": 34 } }, "range": [ - 56, - 57 + 214, + 215 ] }, { @@ -518,17 +518,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 34 }, "end": { - "line": 5, + "line": 6, "column": 35 } }, "range": [ - 57, - 58 + 215, + 216 ] }, { @@ -536,17 +536,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 35 }, "end": { - "line": 5, + "line": 6, "column": 36 } }, "range": [ - 58, - 59 + 216, + 217 ] }, { @@ -554,17 +554,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 62, - 63 + 220, + 221 ] }, { @@ -572,17 +572,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 64, - 65 + 222, + 223 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.src.js index 1fe48583..cbb4b944 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-function-static-init-await-binding-valid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/function/static-init-await-binding-valid.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.module-result.js new file mode 100644 index 00000000..1e57a1da --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 162, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.result.js index 8d30cc9c..7441d614 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.result.js @@ -1,6 +1,6 @@ export default { - "index": 25, - "lineNumber": 3, + "index": 176, + "lineNumber": 4, "column": 5, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.src.js index b7db8793..f8342332 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-labeled-static-init-invalid-await.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/labeled/static-init-invalid-await.js class C { static { await: 0; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.module-result.js new file mode 100644 index 00000000..25975bfc --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 166, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.result.js index 3be705f2..a538bd66 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.result.js @@ -1,6 +1,6 @@ export default { - "index": 29, - "lineNumber": 3, + "index": 184, + "lineNumber": 4, "column": 9, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.src.js index 1dd4f6f5..333a4666 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-invalid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/let/static-init-await-binding-invalid.js class C { static { let await; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.module-result.js index ac9718b2..47e29748 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 40, - "lineNumber": 5, + "index": 193, + "lineNumber": 6, "column": 18, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.result.js index 6d735a48..c79b6c7a 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 56 + 155, + 209 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 56 + 155, + 209 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 161, + 162 ], "name": "C" }, @@ -54,67 +54,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 56 + 163, + 209 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 54 + 167, + 207 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 27, - 50 + 180, + 203 ], "expression": { "type": "ArrowFunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 28, - 48 + 181, + 201 ], "id": null, "expression": false, @@ -125,67 +125,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 34, - 48 + 187, + 201 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 36, - 46 + 189, + 199 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 40, - 45 + 193, + 198 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 40, - 45 + 193, + 198 ], "name": "await" }, @@ -211,17 +211,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 155, + 160 ] }, { @@ -229,17 +229,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 161, + 162 ] }, { @@ -247,17 +247,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 163, + 164 ] }, { @@ -265,17 +265,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 167, + 173 ] }, { @@ -283,17 +283,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 174, + 175 ] }, { @@ -301,17 +301,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 180, + 181 ] }, { @@ -319,17 +319,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 181, + 182 ] }, { @@ -337,17 +337,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 182, + 183 ] }, { @@ -355,17 +355,17 @@ export default { "value": "=>", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 31, - 33 + 184, + 186 ] }, { @@ -373,17 +373,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 34, - 35 + 187, + 188 ] }, { @@ -391,17 +391,17 @@ export default { "value": "let", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 16 } }, "range": [ - 36, - 39 + 189, + 192 ] }, { @@ -409,17 +409,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 40, - 45 + 193, + 198 ] }, { @@ -427,17 +427,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 22 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 45, - 46 + 198, + 199 ] }, { @@ -445,17 +445,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 24 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 47, - 48 + 200, + 201 ] }, { @@ -463,17 +463,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 48, - 49 + 201, + 202 ] }, { @@ -481,17 +481,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 26 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 49, - 50 + 202, + 203 ] }, { @@ -499,17 +499,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 53, - 54 + 206, + 207 ] }, { @@ -517,17 +517,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 55, - 56 + 208, + 209 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.src.js index 1b2d82a3..b08ebc75 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-let-static-init-await-binding-valid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/let/static-init-await-binding-valid.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.module-result.js new file mode 100644 index 00000000..25975bfc --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 166, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.result.js index f5aebcda..af944177 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.result.js @@ -1,6 +1,6 @@ export default { - "index": 39, - "lineNumber": 3, + "index": 194, + "lineNumber": 4, "column": 19, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.src.js index 884b0101..2c9c2013 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-invalid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/try/static-init-await-binding-invalid.js class C { static { try {} catch (await) {} diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.module-result.js index 40fd1cf0..c8470c62 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 50, - "lineNumber": 5, + "index": 203, + "lineNumber": 6, "column": 28, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.result.js index 73b242be..9b260e5e 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 69 + 155, + 222 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 69 + 155, + 222 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 161, + 162 ], "name": "C" }, @@ -54,67 +54,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 69 + 163, + 222 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 67 + 167, + 220 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 40 } }, "range": [ - 27, - 63 + 180, + 216 ], "expression": { "type": "ArrowFunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 38 } }, "range": [ - 28, - 61 + 181, + 214 ], "id": null, "expression": false, @@ -125,50 +125,50 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 38 } }, "range": [ - 34, - 61 + 187, + 214 ], "body": [ { "type": "TryStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 36 } }, "range": [ - 36, - 59 + 189, + 212 ], "block": { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 40, - 42 + 193, + 195 ], "body": [] }, @@ -176,33 +176,33 @@ export default { "type": "CatchClause", "loc": { "start": { - "line": 5, + "line": 6, "column": 20 }, "end": { - "line": 5, + "line": 6, "column": 36 } }, "range": [ - 43, - 59 + 196, + 212 ], "param": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 50, - 55 + 203, + 208 ], "name": "await" }, @@ -210,17 +210,17 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 34 }, "end": { - "line": 5, + "line": 6, "column": 36 } }, "range": [ - 57, - 59 + 210, + 212 ], "body": [] } @@ -244,17 +244,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 155, + 160 ] }, { @@ -262,17 +262,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 161, + 162 ] }, { @@ -280,17 +280,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 163, + 164 ] }, { @@ -298,17 +298,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 167, + 173 ] }, { @@ -316,17 +316,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 174, + 175 ] }, { @@ -334,17 +334,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 180, + 181 ] }, { @@ -352,17 +352,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 181, + 182 ] }, { @@ -370,17 +370,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 182, + 183 ] }, { @@ -388,17 +388,17 @@ export default { "value": "=>", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 31, - 33 + 184, + 186 ] }, { @@ -406,17 +406,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 34, - 35 + 187, + 188 ] }, { @@ -424,17 +424,17 @@ export default { "value": "try", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 16 } }, "range": [ - 36, - 39 + 189, + 192 ] }, { @@ -442,17 +442,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 40, - 41 + 193, + 194 ] }, { @@ -460,17 +460,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 19 } }, "range": [ - 41, - 42 + 194, + 195 ] }, { @@ -478,17 +478,17 @@ export default { "value": "catch", "loc": { "start": { - "line": 5, + "line": 6, "column": 20 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 43, - 48 + 196, + 201 ] }, { @@ -496,17 +496,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 26 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 49, - 50 + 202, + 203 ] }, { @@ -514,17 +514,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 50, - 55 + 203, + 208 ] }, { @@ -532,17 +532,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 32 }, "end": { - "line": 5, + "line": 6, "column": 33 } }, "range": [ - 55, - 56 + 208, + 209 ] }, { @@ -550,17 +550,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 34 }, "end": { - "line": 5, + "line": 6, "column": 35 } }, "range": [ - 57, - 58 + 210, + 211 ] }, { @@ -568,17 +568,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 35 }, "end": { - "line": 5, + "line": 6, "column": 36 } }, "range": [ - 58, - 59 + 211, + 212 ] }, { @@ -586,17 +586,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 37 }, "end": { - "line": 5, + "line": 6, "column": 38 } }, "range": [ - 60, - 61 + 213, + 214 ] }, { @@ -604,17 +604,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 38 }, "end": { - "line": 5, + "line": 6, "column": 39 } }, "range": [ - 61, - 62 + 214, + 215 ] }, { @@ -622,17 +622,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 39 }, "end": { - "line": 5, + "line": 6, "column": 40 } }, "range": [ - 62, - 63 + 215, + 216 ] }, { @@ -640,17 +640,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 66, - 67 + 219, + 220 ] }, { @@ -658,17 +658,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 68, - 69 + 221, + 222 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.src.js index b847ae5f..d8842bd4 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-try-static-init-await-binding-valid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/try/static-init-await-binding-valid.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.module-result.js new file mode 100644 index 00000000..4ba8aeb1 --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 185, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.result.js index dfed0660..1ceb3bb5 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.result.js @@ -1,6 +1,6 @@ export default { - "index": 30, - "lineNumber": 3, + "index": 204, + "lineNumber": 4, "column": 10, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.src.js index 7a93bb9f..f0b6d596 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-invalid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/variable/dstr/ary-ptrn-elem-id-static-init-await-invalid.js class C { static { var [await] = []; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.module-result.js index 73001815..86a6c1eb 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 41, - "lineNumber": 5, + "index": 213, + "lineNumber": 6, "column": 19, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.result.js index 009781f0..44f62da8 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 63 + 174, + 235 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 63 + 174, + 235 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 180, + 181 ], "name": "C" }, @@ -54,67 +54,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 63 + 182, + 235 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 61 + 186, + 233 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 34 } }, "range": [ - 27, - 57 + 199, + 229 ], "expression": { "type": "ArrowFunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 28, - 55 + 200, + 227 ], "id": null, "expression": false, @@ -125,84 +125,84 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 34, - 55 + 206, + 227 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 30 } }, "range": [ - 36, - 53 + 208, + 225 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 40, - 52 + 212, + 224 ], "id": { "type": "ArrayPattern", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 40, - 47 + 212, + 219 ], "elements": [ { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 41, - 46 + 213, + 218 ], "name": "await" } @@ -212,17 +212,17 @@ export default { "type": "ArrayExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 50, - 52 + 222, + 224 ], "elements": [] } @@ -247,17 +247,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 174, + 179 ] }, { @@ -265,17 +265,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 180, + 181 ] }, { @@ -283,17 +283,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 182, + 183 ] }, { @@ -301,17 +301,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 186, + 192 ] }, { @@ -319,17 +319,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 193, + 194 ] }, { @@ -337,17 +337,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 199, + 200 ] }, { @@ -355,17 +355,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 200, + 201 ] }, { @@ -373,17 +373,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 201, + 202 ] }, { @@ -391,17 +391,17 @@ export default { "value": "=>", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 31, - 33 + 203, + 205 ] }, { @@ -409,17 +409,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 34, - 35 + 206, + 207 ] }, { @@ -427,17 +427,17 @@ export default { "value": "var", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 16 } }, "range": [ - 36, - 39 + 208, + 211 ] }, { @@ -445,17 +445,17 @@ export default { "value": "[", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 40, - 41 + 212, + 213 ] }, { @@ -463,17 +463,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 41, - 46 + 213, + 218 ] }, { @@ -481,17 +481,17 @@ export default { "value": "]", "loc": { "start": { - "line": 5, + "line": 6, "column": 23 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 46, - 47 + 218, + 219 ] }, { @@ -499,17 +499,17 @@ export default { "value": "=", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 48, - 49 + 220, + 221 ] }, { @@ -517,17 +517,17 @@ export default { "value": "[", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 50, - 51 + 222, + 223 ] }, { @@ -535,17 +535,17 @@ export default { "value": "]", "loc": { "start": { - "line": 5, + "line": 6, "column": 28 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 51, - 52 + 223, + 224 ] }, { @@ -553,17 +553,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 29 }, "end": { - "line": 5, + "line": 6, "column": 30 } }, "range": [ - 52, - 53 + 224, + 225 ] }, { @@ -571,17 +571,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 31 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 54, - 55 + 226, + 227 ] }, { @@ -589,17 +589,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 32 }, "end": { - "line": 5, + "line": 6, "column": 33 } }, "range": [ - 55, - 56 + 227, + 228 ] }, { @@ -607,17 +607,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 33 }, "end": { - "line": 5, + "line": 6, "column": 34 } }, "range": [ - 56, - 57 + 228, + 229 ] }, { @@ -625,17 +625,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 60, - 61 + 232, + 233 ] }, { @@ -643,17 +643,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 62, - 63 + 234, + 235 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.src.js index 69127ade..527015b0 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-ary-ptrn-elem-id-static-init-await-valid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/variable/dstr/ary-ptrn-elem-id-static-init-await-valid.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.module-result.js new file mode 100644 index 00000000..4ba8aeb1 --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 185, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.result.js index dfed0660..1ceb3bb5 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.result.js @@ -1,6 +1,6 @@ export default { - "index": 30, - "lineNumber": 3, + "index": 204, + "lineNumber": 4, "column": 10, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.src.js index 40581349..59e2815e 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-invalid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/variable/dstr/obj-ptrn-elem-id-static-init-await-invalid.js class C { static { var {await} = {}; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.module-result.js index 73001815..86a6c1eb 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 41, - "lineNumber": 5, + "index": 213, + "lineNumber": 6, "column": 19, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.result.js index 424bc9ef..40914946 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 63 + 174, + 235 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 63 + 174, + 235 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 180, + 181 ], "name": "C" }, @@ -54,67 +54,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 63 + 182, + 235 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 61 + 186, + 233 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 34 } }, "range": [ - 27, - 57 + 199, + 229 ], "expression": { "type": "ArrowFunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 28, - 55 + 200, + 227 ], "id": null, "expression": false, @@ -125,84 +125,84 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 34, - 55 + 206, + 227 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 30 } }, "range": [ - 36, - 53 + 208, + 225 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 40, - 52 + 212, + 224 ], "id": { "type": "ObjectPattern", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 40, - 47 + 212, + 219 ], "properties": [ { "type": "Property", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 41, - 46 + 213, + 218 ], "method": false, "shorthand": true, @@ -211,17 +211,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 41, - 46 + 213, + 218 ], "name": "await" }, @@ -230,17 +230,17 @@ export default { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 41, - 46 + 213, + 218 ], "name": "await" } @@ -251,17 +251,17 @@ export default { "type": "ObjectExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 50, - 52 + 222, + 224 ], "properties": [] } @@ -286,17 +286,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 174, + 179 ] }, { @@ -304,17 +304,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 180, + 181 ] }, { @@ -322,17 +322,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 182, + 183 ] }, { @@ -340,17 +340,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 186, + 192 ] }, { @@ -358,17 +358,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 193, + 194 ] }, { @@ -376,17 +376,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 199, + 200 ] }, { @@ -394,17 +394,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 200, + 201 ] }, { @@ -412,17 +412,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 201, + 202 ] }, { @@ -430,17 +430,17 @@ export default { "value": "=>", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 31, - 33 + 203, + 205 ] }, { @@ -448,17 +448,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 34, - 35 + 206, + 207 ] }, { @@ -466,17 +466,17 @@ export default { "value": "var", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 16 } }, "range": [ - 36, - 39 + 208, + 211 ] }, { @@ -484,17 +484,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 18 } }, "range": [ - 40, - 41 + 212, + 213 ] }, { @@ -502,17 +502,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 18 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 41, - 46 + 213, + 218 ] }, { @@ -520,17 +520,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 23 }, "end": { - "line": 5, + "line": 6, "column": 24 } }, "range": [ - 46, - 47 + 218, + 219 ] }, { @@ -538,17 +538,17 @@ export default { "value": "=", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 48, - 49 + 220, + 221 ] }, { @@ -556,17 +556,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 27 }, "end": { - "line": 5, + "line": 6, "column": 28 } }, "range": [ - 50, - 51 + 222, + 223 ] }, { @@ -574,17 +574,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 28 }, "end": { - "line": 5, + "line": 6, "column": 29 } }, "range": [ - 51, - 52 + 223, + 224 ] }, { @@ -592,17 +592,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 29 }, "end": { - "line": 5, + "line": 6, "column": 30 } }, "range": [ - 52, - 53 + 224, + 225 ] }, { @@ -610,17 +610,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 31 }, "end": { - "line": 5, + "line": 6, "column": 32 } }, "range": [ - 54, - 55 + 226, + 227 ] }, { @@ -628,17 +628,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 32 }, "end": { - "line": 5, + "line": 6, "column": 33 } }, "range": [ - 55, - 56 + 227, + 228 ] }, { @@ -646,17 +646,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 33 }, "end": { - "line": 5, + "line": 6, "column": 34 } }, "range": [ - 56, - 57 + 228, + 229 ] }, { @@ -664,17 +664,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 60, - 61 + 232, + 233 ] }, { @@ -682,17 +682,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 62, - 63 + 234, + 235 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.src.js index aa0811e4..e34fb1bb 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-dstr-obj-ptrn-elem-id-static-init-await-valid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/variable/dstr/obj-ptrn-elem-id-static-init-await-valid.js class C { diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.module-result.js new file mode 100644 index 00000000..ee90d83e --- /dev/null +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.module-result.js @@ -0,0 +1,6 @@ +export default { + "index": 171, + "lineNumber": 2, + "column": 3, + "message": "The keyword 'static' is reserved" +}; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.result.js index 3be705f2..f024ea29 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.result.js @@ -1,6 +1,6 @@ export default { - "index": 29, - "lineNumber": 3, + "index": 189, + "lineNumber": 4, "column": 9, "message": "Cannot use await in class static initialization block" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.src.js index 47910019..b69c1a6f 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-invalid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/variable/static-init-await-binding-invalid.js class C { static { var await; diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.module-result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.module-result.js index ac9718b2..5ce8623a 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.module-result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.module-result.js @@ -1,6 +1,6 @@ export default { - "index": 40, - "lineNumber": 5, + "index": 198, + "lineNumber": 6, "column": 18, "message": "Cannot use keyword 'await' outside an async function" }; \ No newline at end of file diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.result.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.result.js index b757ab76..bb5c1e2a 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.result.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.result.js @@ -2,50 +2,50 @@ export default { "type": "Program", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 56 + 160, + 214 ], "body": [ { "type": "ClassDeclaration", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 2, - 56 + 160, + 214 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 166, + 167 ], "name": "C" }, @@ -54,67 +54,67 @@ export default { "type": "ClassBody", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 10, - 56 + 168, + 214 ], "body": [ { "type": "StaticBlock", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 14, - 54 + 172, + 212 ], "body": [ { "type": "ExpressionStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 27, - 50 + 185, + 208 ], "expression": { "type": "ArrowFunctionExpression", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 28, - 48 + 186, + 206 ], "id": null, "expression": false, @@ -125,67 +125,67 @@ export default { "type": "BlockStatement", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 34, - 48 + 192, + 206 ], "body": [ { "type": "VariableDeclaration", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 36, - 46 + 194, + 204 ], "declarations": [ { "type": "VariableDeclarator", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 40, - 45 + 198, + 203 ], "id": { "type": "Identifier", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 40, - 45 + 198, + 203 ], "name": "await" }, @@ -211,17 +211,17 @@ export default { "value": "class", "loc": { "start": { - "line": 3, + "line": 4, "column": 0 }, "end": { - "line": 3, + "line": 4, "column": 5 } }, "range": [ - 2, - 7 + 160, + 165 ] }, { @@ -229,17 +229,17 @@ export default { "value": "C", "loc": { "start": { - "line": 3, + "line": 4, "column": 6 }, "end": { - "line": 3, + "line": 4, "column": 7 } }, "range": [ - 8, - 9 + 166, + 167 ] }, { @@ -247,17 +247,17 @@ export default { "value": "{", "loc": { "start": { - "line": 3, + "line": 4, "column": 8 }, "end": { - "line": 3, + "line": 4, "column": 9 } }, "range": [ - 10, - 11 + 168, + 169 ] }, { @@ -265,17 +265,17 @@ export default { "value": "static", "loc": { "start": { - "line": 4, + "line": 5, "column": 2 }, "end": { - "line": 4, + "line": 5, "column": 8 } }, "range": [ - 14, - 20 + 172, + 178 ] }, { @@ -283,17 +283,17 @@ export default { "value": "{", "loc": { "start": { - "line": 4, + "line": 5, "column": 9 }, "end": { - "line": 4, + "line": 5, "column": 10 } }, "range": [ - 21, - 22 + 179, + 180 ] }, { @@ -301,17 +301,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 4 }, "end": { - "line": 5, + "line": 6, "column": 5 } }, "range": [ - 27, - 28 + 185, + 186 ] }, { @@ -319,17 +319,17 @@ export default { "value": "(", "loc": { "start": { - "line": 5, + "line": 6, "column": 5 }, "end": { - "line": 5, + "line": 6, "column": 6 } }, "range": [ - 28, - 29 + 186, + 187 ] }, { @@ -337,17 +337,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 6 }, "end": { - "line": 5, + "line": 6, "column": 7 } }, "range": [ - 29, - 30 + 187, + 188 ] }, { @@ -355,17 +355,17 @@ export default { "value": "=>", "loc": { "start": { - "line": 5, + "line": 6, "column": 8 }, "end": { - "line": 5, + "line": 6, "column": 10 } }, "range": [ - 31, - 33 + 189, + 191 ] }, { @@ -373,17 +373,17 @@ export default { "value": "{", "loc": { "start": { - "line": 5, + "line": 6, "column": 11 }, "end": { - "line": 5, + "line": 6, "column": 12 } }, "range": [ - 34, - 35 + 192, + 193 ] }, { @@ -391,17 +391,17 @@ export default { "value": "var", "loc": { "start": { - "line": 5, + "line": 6, "column": 13 }, "end": { - "line": 5, + "line": 6, "column": 16 } }, "range": [ - 36, - 39 + 194, + 197 ] }, { @@ -409,17 +409,17 @@ export default { "value": "await", "loc": { "start": { - "line": 5, + "line": 6, "column": 17 }, "end": { - "line": 5, + "line": 6, "column": 22 } }, "range": [ - 40, - 45 + 198, + 203 ] }, { @@ -427,17 +427,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 22 }, "end": { - "line": 5, + "line": 6, "column": 23 } }, "range": [ - 45, - 46 + 203, + 204 ] }, { @@ -445,17 +445,17 @@ export default { "value": "}", "loc": { "start": { - "line": 5, + "line": 6, "column": 24 }, "end": { - "line": 5, + "line": 6, "column": 25 } }, "range": [ - 47, - 48 + 205, + 206 ] }, { @@ -463,17 +463,17 @@ export default { "value": ")", "loc": { "start": { - "line": 5, + "line": 6, "column": 25 }, "end": { - "line": 5, + "line": 6, "column": 26 } }, "range": [ - 48, - 49 + 206, + 207 ] }, { @@ -481,17 +481,17 @@ export default { "value": ";", "loc": { "start": { - "line": 5, + "line": 6, "column": 26 }, "end": { - "line": 5, + "line": 6, "column": 27 } }, "range": [ - 49, - 50 + 207, + 208 ] }, { @@ -499,17 +499,17 @@ export default { "value": "}", "loc": { "start": { - "line": 6, + "line": 7, "column": 2 }, "end": { - "line": 6, + "line": 7, "column": 3 } }, "range": [ - 53, - 54 + 211, + 212 ] }, { @@ -517,17 +517,17 @@ export default { "value": "}", "loc": { "start": { - "line": 7, + "line": 8, "column": 0 }, "end": { - "line": 7, + "line": 8, "column": 1 } }, "range": [ - 55, - 56 + 213, + 214 ] } ] diff --git a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.src.js b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.src.js index 8926ffa7..a2f860eb 100644 --- a/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.src.js +++ b/tests/fixtures/ecma-version/13/class-static-blocks/statements-variable-static-init-await-binding-valid.src.js @@ -1,3 +1,4 @@ +// refs: https://github.com/tc39/test262/commit/afe217b318df5f197e64b30a8b5a4b391c777359/test/language/statements/variable/static-init-await-binding-valid.js class C { diff --git a/tools/create-static-class-block-tests.js b/tools/create-static-class-block-tests.js new file mode 100644 index 00000000..f40872dc --- /dev/null +++ b/tools/create-static-class-block-tests.js @@ -0,0 +1,25 @@ +import fs from 'fs'; +import fse from 'fs-extra'; +const ghUrl = '/Users/weiran/repo/github/test262/'; +const target = '/Users/weiran/repo/github/espree/tests/fixtures/ecma-version/13/class-static-blocks/'; +const lines = fs.readFileSync('/Users/weiran/repo/github/espree/tools/static-class-blocks.txt', 'utf-8'); + +const testPaths = lines.split('\n').filter(it => it.startsWith('test/language')); +const ignores = /\$DONOTEVALUATE\(\);/g +function getCode(src){ + + const commentEnd = `*/` + const end = src.indexOf(commentEnd); + + const code = (end === -1) ? src : src.slice(end+commentEnd.length); + + return code.replace(ignores, '').replace(/[\n]{4}/g, ''); +} + + +for(const path of testPaths){ + const src = fs.readFileSync(ghUrl+path, 'utf-8'); + const code = getCode(src); + const targetPath = target + path.replace(/test\/language\//, '').replace(/\//g, '-').replace(/\.js/, '.src.js'); + fse.outputFile(targetPath, code, 'utf-8'); +} diff --git a/tools/static-class-blocks.txt b/tools/static-class-blocks.txt new file mode 100644 index 00000000..ed1c233a --- /dev/null +++ b/tools/static-class-blocks.txt @@ -0,0 +1,63 @@ +test/language/expressions/arrow-function/static-init-await-binding.js +test/language/expressions/arrow-function/static-init-await-reference.js +test/language/expressions/class/static-init-await-binding.js +test/language/expressions/class/static-init-await-reference.js +test/language/expressions/function/static-init-await-binding.js +test/language/expressions/function/static-init-await-reference.js +test/language/expressions/generators/static-init-await-binding.js +test/language/expressions/generators/static-init-await-reference.js +test/language/expressions/object/ident-name-prop-name-literal-await-static-init.js +test/language/expressions/object/identifier-shorthand-static-init-await-invalid.js +test/language/expressions/object/identifier-shorthand-static-init-await-valid.js +test/language/expressions/object/method-definition/static-init-await-binding-accessor.js +test/language/expressions/object/method-definition/static-init-await-binding-generator.js +test/language/expressions/object/method-definition/static-init-await-binding-normal.js +test/language/expressions/object/method-definition/static-init-await-reference-accessor.js +test/language/expressions/object/method-definition/static-init-await-reference-generator.js +test/language/expressions/object/method-definition/static-init-await-reference-normal.js +test/language/identifier-resolution/static-init-invalid-await.js +test/language/statements/break/static-init-without-label.js +test/language/statements/class/static-init-abrupt.js +test/language/statements/class/static-init-arguments-functions.js +test/language/statements/class/static-init-arguments-methods.js +test/language/statements/class/static-init-await-binding-invalid.js +test/language/statements/class/static-init-await-binding-valid.js +test/language/statements/class/static-init-expr-new-target.js +test/language/statements/class/static-init-expr-this.js +test/language/statements/class/static-init-invalid-arguments.js +test/language/statements/class/static-init-invalid-await.js +test/language/statements/class/static-init-invalid-label-dup.js +test/language/statements/class/static-init-invalid-lex-dup.js +test/language/statements/class/static-init-invalid-lex-var.js +test/language/statements/class/static-init-invalid-return.js +test/language/statements/class/static-init-invalid-super-call.js +test/language/statements/class/static-init-invalid-undefined-break-target.js +test/language/statements/class/static-init-invalid-undefined-continue-target.js +test/language/statements/class/static-init-invalid-yield.js +test/language/statements/class/static-init-scope-lex-close.js +test/language/statements/class/static-init-scope-lex-derived.js +test/language/statements/class/static-init-scope-lex-open.js +test/language/statements/class/static-init-scope-private.js +test/language/statements/class/static-init-scope-var-close.js +test/language/statements/class/static-init-scope-var-derived.js +test/language/statements/class/static-init-scope-var-open.js +test/language/statements/class/static-init-sequence.js +test/language/statements/class/static-init-statement-list-optional.js +test/language/statements/class/static-init-super-property.js +test/language/statements/const/static-init-await-binding-invalid.js +test/language/statements/const/static-init-await-binding-valid.js +test/language/statements/continue/static-init-with-label.js +test/language/statements/continue/static-init-without-label.js +test/language/statements/function/static-init-await-binding-invalid.js +test/language/statements/function/static-init-await-binding-valid.js +test/language/statements/labeled/static-init-invalid-await.js +test/language/statements/let/static-init-await-binding-invalid.js +test/language/statements/let/static-init-await-binding-valid.js +test/language/statements/try/static-init-await-binding-invalid.js +test/language/statements/try/static-init-await-binding-valid.js +test/language/statements/variable/dstr/ary-ptrn-elem-id-static-init-await-invalid.js +test/language/statements/variable/dstr/ary-ptrn-elem-id-static-init-await-valid.js +test/language/statements/variable/dstr/obj-ptrn-elem-id-static-init-await-invalid.js +test/language/statements/variable/dstr/obj-ptrn-elem-id-static-init-await-valid.js +test/language/statements/variable/static-init-await-binding-invalid.js +test/language/statements/variable/static-init-await-binding-valid.js \ No newline at end of file