[Pkg-javascript-commits] [node-esprima] 02/05: Updated version 4.0.0+ds from 'upstream/4.0.0+ds'
Julien Puydt
julien.puydt at laposte.net
Sat Jul 1 18:15:16 UTC 2017
This is an automated email from the git hooks/post-receive script.
jpuydt-guest pushed a commit to branch master
in repository node-esprima.
commit 7fdfc1376ce09ba9a46e9e65e518314737443831
Merge: c8b6b8e a866d89
Author: Julien Puydt <julien.puydt at laposte.net>
Date: Sat Jul 1 13:23:10 2017 +0200
Updated version 4.0.0+ds from 'upstream/4.0.0+ds'
with Debian dir eb41830abe3bef01f153566f772f0af6f2a4c7f9
.github/ISSUE_TEMPLATE.md | 28 +
.travis.yml | 1 +
ChangeLog | 16 +
README.md | 8 +-
appveyor.yml | 5 +-
bin/esvalidate.js | 2 +-
circle.yml | 1 +
docs/Makefile | 183 ++++
docs/README.md | 20 +
docs/callexpr.png | Bin 0 -> 19203 bytes
docs/conf.py | 29 +
docs/getting-started.md | 129 +++
docs/highlight.png | Bin 0 -> 17093 bytes
docs/index.rst | 11 +
docs/lexical-analysis.md | 188 +++++
docs/online-parser.png | Bin 0 -> 68079 bytes
docs/requirements.txt | 3 +
docs/runkit-parse.png | Bin 0 -> 51956 bytes
docs/syntactic-analysis.md | 467 ++++++++++
docs/syntax-tree-format.md | 774 +++++++++++++++++
docs/unconsole.png | Bin 0 -> 22683 bytes
package.json | 25 +-
src/character.ts | 12 +-
src/comment-handler.ts | 26 +-
src/error-handler.ts | 24 +-
src/esprima.ts | 32 +-
src/jsx-nodes.ts | 64 +-
src/jsx-parser.ts | 117 +--
src/messages.ts | 79 +-
src/nodes.ts | 570 +++++++------
src/parser.ts | 940 +++++++++++++--------
src/scanner.ts | 371 ++++----
src/syntax.ts | 1 +
src/token.ts | 4 +-
src/tokenizer.ts | 81 +-
src/tsconfig.json | 4 +-
src/tslint.json | 90 +-
test/api-tests.js | 378 +++++++++
test/check-complexity.js | 2 +-
test/downstream.js | 7 +-
test/fixtures/ES2016/exponent/invalid_update.js | 1 -
.../ES2016/exponent/invalid_update.tree.json | 437 ----------
...-strict-arrow-expression-array-destructuring.js | 1 +
...arrow-expression-array-destructuring.tree.json} | 256 +++---
...nvalid-strict-arrow-expression-default-value.js | 1 +
...trict-arrow-expression-default-value.tree.json} | 127 +--
...strict-arrow-expression-object-destructuring.js | 1 +
...rrow-expression-object-destructuring.tree.json} | 357 ++++----
.../invalid-strict-arrow-expression-rest.js | 1 +
...invalid-strict-arrow-expression-rest.tree.json} | 165 ++--
...ict-function-declaration-array-destructuring.js | 1 +
...tion-declaration-array-destructuring.tree.json} | 253 +++---
...id-strict-function-declaration-default-value.js | 1 +
...t-function-declaration-default-value.tree.json} | 281 +++---
...ct-function-declaration-object-destructuring.js | 1 +
...ion-declaration-object-destructuring.tree.json} | 386 +++++----
.../invalid-strict-function-declaration-rest.js | 1 +
...lid-strict-function-declaration-rest.tree.json} | 246 +++---
...rict-function-expression-array-destructuring.js | 1 +
...ction-expression-array-destructuring.tree.json} | 269 +++---
...lid-strict-function-expression-default-value.js | 1 +
...ct-function-expression-default-value.tree.json} | 357 ++++----
...ict-function-expression-object-destructuring.js | 1 +
...tion-expression-object-destructuring.tree.json} | 381 ++++-----
.../invalid-strict-function-expression-rest.js | 1 +
...alid-strict-function-expression-rest.tree.json} | 327 ++++---
...invalid-strict-generator-array-destructuring.js | 1 +
...strict-generator-array-destructuring.tree.json} | 251 +++---
.../invalid-strict-generator-default-value.js | 1 +
...valid-strict-generator-default-value.tree.json} | 273 +++---
...nvalid-strict-generator-object-destructuring.js | 1 +
...trict-generator-object-destructuring.tree.json} | 390 +++++----
.../invalid-strict-generator-rest.js | 1 +
.../invalid-strict-generator-rest.tree.json} | 272 +++---
.../invalid-strict-method-array-destructuring.js | 1 +
...id-strict-method-array-destructuring.tree.json} | 275 +++---
.../invalid-strict-method-default-value.js | 1 +
.../invalid-strict-method-default-value.tree.json} | 283 ++++---
.../invalid-strict-method-object-destructuring.js | 1 +
...d-strict-method-object-destructuring.tree.json} | 544 ++++++------
.../strict-directive/invalid-strict-method-rest.js | 1 +
.../invalid-strict-method-rest.tree.json} | 308 ++++---
.../invalid-strict-setter-array-destructuring.js | 1 +
...id-strict-setter-array-destructuring.tree.json} | 262 +++---
.../invalid-strict-setter-default-value.js | 1 +
.../invalid-strict-setter-default-value.tree.json} | 233 +++--
.../invalid-strict-setter-object-destructuring.js | 1 +
...d-strict-setter-object-destructuring.tree.json} | 550 ++++++------
.../array-binding-pattern-01.tree.json | 3 +-
.../array-binding-pattern-02.tree.json | 3 +-
.../array-binding-pattern-03.tree.json | 3 +-
.../array-binding-pattern-empty.tree.json | 3 +-
.../array-binding-pattern/elision.tree.json | 3 +-
.../arrow-with-multiple-arg-and-rest.tree.json | 3 +-
.../arrow-function/arrow-with-only-rest.tree.json | 3 +-
.../fixtures/ES6/arrow-function/concise-body-in.js | 1 +
.../arrow-function/concise-body-in.tree.json} | 250 ++++--
.../ES6/arrow-function/migrated_0000.tree.json | 1 +
.../ES6/arrow-function/migrated_0001.tree.json | 1 +
.../ES6/arrow-function/migrated_0002.tree.json | 1 +
.../ES6/arrow-function/migrated_0003.tree.json | 1 +
.../ES6/arrow-function/migrated_0004.tree.json | 1 +
.../ES6/arrow-function/migrated_0005.tree.json | 1 +
.../ES6/arrow-function/migrated_0006.tree.json | 1 +
.../ES6/arrow-function/migrated_0007.tree.json | 1 +
.../ES6/arrow-function/migrated_0008.tree.json | 1 +
.../ES6/arrow-function/migrated_0009.tree.json | 1 +
.../ES6/arrow-function/migrated_0010.tree.json | 1 +
.../ES6/arrow-function/migrated_0011.tree.json | 1 +
.../ES6/arrow-function/migrated_0012.tree.json | 1 +
.../ES6/arrow-function/migrated_0013.tree.json | 1 +
.../ES6/arrow-function/migrated_0014.tree.json | 1 +
.../ES6/arrow-function/migrated_0015.tree.json | 1 +
.../ES6/arrow-function/migrated_0016.tree.json | 2 +
.../ES6/arrow-function/migrated_0017.tree.json | 2 +
.../ES6/arrow-function/migrated_0018.tree.json | 1 +
.../ES6/arrow-function/migrated_0019.tree.json | 1 +
.../ES6/arrow-function/migrated_0020.tree.json | 1 +
.../nested-cover-grammar.tree.json | 3 +-
.../object-binding-pattern-01.tree.json | 3 +-
.../object-binding-pattern-empty.tree.json | 3 +-
.../array-pattern/dupe-param.tree.json | 9 +-
.../array-pattern/empty-pattern-fn.tree.json | 3 +-
.../array-pattern/with-default-fn.tree.json | 3 +-
.../object-pattern/empty-fn.tree.json | 3 +-
.../class/invalid-labelled-class-declaration.js | 1 +
.../invalid-labelled-class-declaration.tree.json} | 206 +++--
.../ES6/class/invalid-setter-method-rest.js | 1 +
...e.json => invalid-setter-method-rest.tree.json} | 201 +++--
test/fixtures/ES6/class/migrated_0004.tree.json | 1 +
test/fixtures/ES6/class/migrated_0005.tree.json | 2 +
test/fixtures/ES6/class/migrated_0006.tree.json | 2 +
test/fixtures/ES6/class/migrated_0007.tree.json | 2 +
test/fixtures/ES6/class/migrated_0008.tree.json | 2 +
test/fixtures/ES6/class/migrated_0009.tree.json | 1 +
test/fixtures/ES6/class/migrated_0010.tree.json | 2 +
test/fixtures/ES6/class/migrated_0011.tree.json | 3 +
test/fixtures/ES6/class/migrated_0012.tree.json | 1 +
test/fixtures/ES6/class/migrated_0013.tree.json | 1 +
test/fixtures/ES6/class/migrated_0014.tree.json | 2 +
test/fixtures/ES6/class/migrated_0015.tree.json | 1 +
test/fixtures/ES6/class/migrated_0017.tree.json | 1 +
test/fixtures/ES6/class/migrated_0018.tree.json | 1 +
test/fixtures/ES6/class/migrated_0019.tree.json | 2 +
test/fixtures/ES6/class/migrated_0020.tree.json | 2 +
test/fixtures/ES6/class/migrated_0021.tree.json | 1 +
test/fixtures/ES6/class/migrated_0026.tree.json | 1 +
.../migrated_0000.tree.json | 1 +
.../migrated_0001.tree.json | 1 +
.../migrated_0002.tree.json | 1 +
.../export-default-function.tree.json | 1 +
.../export-default-named-function.tree.json | 1 +
.../export-function-declaration.tree.json | 3 +-
.../export-declaration/export-function.tree.json | 1 +
.../export-var-anonymous-function.tree.json | 1 +
...t-batch-missing-from-clause.module.failure.json | 1 +
...lid-export-batch-missing-from-clause.module.js} | 0
...id-export-batch-missing-from-clause.module.json | 7 -
.../invalid-export-batch-token.module.failure.json | 1 +
...ken.js => invalid-export-batch-token.module.js} | 0
.../invalid-export-batch-token.module.json | 7 -
...nvalid-export-default-equal.module.failure.json | 1 +
...l.js => invalid-export-default-equal.module.js} | 0
.../invalid-export-default-equal.module.json | 7 -
...nvalid-export-default-token.module.failure.json | 1 +
...n.js => invalid-export-default-token.module.js} | 0
.../invalid-export-default-token.module.json | 7 -
.../invalid-export-default.module.failure.json} | 2 +-
...default.js => invalid-export-default.module.js} | 0
.../invalid-export-default.module.json | 7 -
...valid-export-named-default.module.failure.json} | 0
...t.js => invalid-export-named-default.module.js} | 0
.../ES6/for-of/invalid_const_let.failure.json | 2 +-
.../ES6/for-of/invalid_let_let.failure.json | 2 +-
.../ES6/for-of/unexpected-number.failure.json | 2 +-
.../generator-declaration-with-params.tree.json | 3 +-
...rator-declaration-with-yield-delegate.tree.json | 3 +-
.../generator-declaration-with-yield.tree.json | 3 +-
.../ES6/generator/generator-declaration.tree.json | 3 +-
.../generator-expression-rest-param.tree.json | 3 +-
.../generator-expression-with-params.tree.json | 3 +-
...erator-expression-with-yield-delegate.tree.json | 3 +-
.../generator-expression-with-yield.tree.json | 3 +-
.../ES6/generator/generator-expression.tree.json | 3 +-
.../generator-method-with-params.tree.json | 3 +-
.../generator-method-with-yield-delegate.tree.json | 3 +-
...enerator-method-with-yield-expression.tree.json | 3 +-
...tor-method-with-yield-line-terminator.tree.json | 3 +-
.../generator-method-with-yield.tree.json | 3 +-
.../ES6/generator/generator-method.tree.json | 3 +-
.../ES6/generator/invalid-labelled-generator.js | 1 +
.../invalid-labelled-generator.tree.json} | 191 +++--
...c-generator-method-with-computed-name.tree.json | 3 +-
.../generator/static-generator-method.tree.json | 3 +-
.../invalid-hex-escape-sequence.failure.json | 1 +
.../ES6/identifier/invalid-hex-escape-sequence.js | 1 +
...> invalid_expression_await.module.failure.json} | 0
...await.js => invalid_expression_await.module.js} | 0
... => invalid_function_await.module.failure.json} | 0
...on_wait.js => invalid_function_await.module.js} | 0
....json => invalid_var_await.module.failure.json} | 0
...id_var_await.js => invalid_var_await.module.js} | 0
... => invalid-import-boolean.module.failure.json} | 0
...boolean.js => invalid-import-boolean.module.js} | 0
...t-after-named-after-default.module.failure.json | 1 +
...rt-default-after-named-after-default.module.js} | 0
...t-default-after-named-after-default.module.json | 7 -
...-import-default-after-named.module.failure.json | 1 +
...> invalid-import-default-after-named.module.js} | 0
.../invalid-import-default-after-named.module.json | 7 -
...t-missing-module-specifier.module.failure.json} | 2 +-
...ort-default-missing-module-specifier.module.js} | 0
...rt-default-missing-module-specifier.module.json | 7 -
...rt-default-module-specifier.module.failure.json | 1 +
...alid-import-default-module-specifier.module.js} | 0
...lid-import-default-module-specifier.module.json | 7 -
.../invalid-import-default.module.failure.json | 1 +
...default.js => invalid-import-default.module.js} | 0
.../invalid-import-default.module.json | 7 -
... => invalid-import-keyword.module.failure.json} | 0
...keyword.js => invalid-import-keyword.module.js} | 0
...valid-import-missing-comma.module.failure.json} | 2 +-
...a.js => invalid-import-missing-comma.module.js} | 0
.../invalid-import-missing-comma.module.json | 7 -
...rt-missing-module-specifier.module.failure.json | 1 +
...alid-import-missing-module-specifier.module.js} | 0
...lid-import-missing-module-specifier.module.json | 7 -
...lid-import-module-specifier.module.failure.json | 1 +
...s => invalid-import-module-specifier.module.js} | 0
.../invalid-import-module-specifier.module.json | 7 -
...id-import-named-after-named.module.failure.json | 1 +
... => invalid-import-named-after-named.module.js} | 0
.../invalid-import-named-after-named.module.json | 7 -
...mport-named-after-namespace.module.failure.json | 1 +
...invalid-import-named-after-namespace.module.js} | 0
...nvalid-import-named-after-namespace.module.json | 7 -
...mport-named-as-missing-from.module.failure.json | 1 +
...invalid-import-named-as-missing-from.module.js} | 0
...nvalid-import-named-as-missing-from.module.json | 7 -
...mport-namespace-after-named.module.failure.json | 1 +
...invalid-import-namespace-after-named.module.js} | 0
...nvalid-import-namespace-after-named.module.json | 7 -
...import-namespace-missing-as.module.failure.json | 1 +
... invalid-import-namespace-missing-as.module.js} | 0
...invalid-import-namespace-missing-as.module.json | 7 -
...son => invalid-import-null.module.failure.json} | 0
...mport-null.js => invalid-import-null.module.js} | 0
.../invalid-import-specifiers.module.failure.json | 1 +
...iers.js => invalid-import-specifiers.module.js} | 0
.../invalid-import-specifiers.module.json | 7 -
.../invalid_const_let.failure.json | 2 +-
.../invalid_for_const_declarations.failure.json | 2 +-
.../invalid_for_const_let.failure.json | 2 +-
.../invalid_for_let_declarations.failure.json | 2 +-
.../invalid_for_let_init.failure.json | 2 +-
.../invalid_for_let_let.failure.json | 2 +-
.../invalid_for_let_pattern.failure.json | 2 +-
.../invalid_forin_const_let.failure.json | 2 +-
.../invalid_forin_let_let.failure.json | 2 +-
.../invalid_let_declarations.failure.json | 2 +-
.../invalid_let_init.failure.json | 2 +-
.../invalid_let_let.failure.json | 2 +-
.../invalid_strict_const_let.failure.json | 2 +-
.../{module_let.js => module_let.module.js} | 0
...e_let.tree.json => module_let.module.tree.json} | 94 +--
.../ES6/meta-property/assign-new-target.tree.json | 3 +-
.../ES6/meta-property/new-new-target.tree.json | 3 +-
.../meta-property/new-target-declaration.tree.json | 3 +-
.../meta-property/new-target-expression.tree.json | 3 +-
.../ES6/meta-property/new-target-invoke.tree.json | 3 +-
.../meta-property/new-target-precedence.tree.json | 3 +-
.../ES6/method-definition/migrated_0000.tree.json | 1 +
.../ES6/method-definition/migrated_0001.tree.json | 1 +
.../ES6/method-definition/migrated_0002.tree.json | 1 +
.../ES6/method-definition/migrated_0003.tree.json | 1 +
.../ES6/method-definition/migrated_0004.tree.json | 1 +
.../proto-identifier-getter-setter.tree.json | 6 +-
.../proto-identifier-getter.tree.json | 3 +-
.../proto-identifier-method.tree.json | 3 +-
.../proto-identifier-setter.tree.json | 3 +-
.../proto-literal-getter-setter.tree.json | 6 +-
.../proto-literal-getter.tree.json | 3 +-
.../proto-literal-method.tree.json | 3 +-
.../proto-literal-setter.tree.json | 3 +-
.../octal-integer-literal/migrated_0002.tree.json | 1 +
.../octal-integer-literal/migrated_0006.tree.json | 1 +
.../module/invalid-delete.module.failure.json} | 0
.../program/module/invalid-delete.module.js} | 0
.../module/invalid-export-if.module.failure.json} | 0
.../program/module/invalid-export-if.module.js} | 0
...invalid-export-in-function.module.failure.json} | 0
.../module/invalid-export-in-function.module.js} | 0
...invalid-import-in-function.module.failure.json} | 0
.../module/invalid-import-in-function.module.js} | 0
.../module/invalid-with.module.failure.json} | 0
.../program/module/invalid-with.module.js} | 0
.../invalid-export-declaration.failure.json} | 0
.../program/script/invalid-export-declaration.js} | 0
.../invalid-import-declaration.failure.json} | 0
.../program/script/invalid-import-declaration.js} | 0
.../arrow-rest-parameter-array.tree.json | 3 +-
.../arrow-rest-parameter-object.tree.json | 3 +-
.../rest-parameter/function-declaration.tree.json | 3 +-
.../rest-parameter/function-expression.tree.json | 3 +-
.../ES6/rest-parameter/invalid-setter-rest.js | 1 +
.../rest-parameter/invalid-setter-rest.tree.json} | 209 ++---
.../ES6/rest-parameter/object-method.tree.json | 3 +-
.../object-shorthand-method.tree.json | 3 +-
.../rest-parameter/rest-parameter-array.tree.json | 3 +-
.../rest-parameter/rest-parameter-object.tree.json | 3 +-
.../ES6/super-property/arrow_super.tree.json | 6 +-
.../ES6/super-property/constructor_super.tree.json | 3 +-
.../ES6/super-property/new_super.tree.json | 3 +-
.../ES6/super-property/super_computed.tree.json | 3 +-
.../ES6/super-property/super_member.tree.json | 3 +-
.../invalid-hex-escape-sequence.failure.json | 1 +
.../invalid-hex-escape-sequence.js | 1 +
...d-generator-export-default.module.failure.json} | 2 +-
...valid-yield-generator-export-default.module.js} | 0
test/fixtures/ES6/yield/ternary-yield.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-array.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-bitnot.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-class.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-delete.tree.json | 3 +-
.../ES6/yield/yield-arg-function.tree.json | 4 +-
test/fixtures/ES6/yield/yield-arg-group.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-let.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-minus.tree.json | 3 +-
.../ES6/yield/yield-arg-minusminus.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-new.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-not.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-object.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-plus.tree.json | 3 +-
.../ES6/yield/yield-arg-plusplus.tree.json | 3 +-
.../fixtures/ES6/yield/yield-arg-regexp1.tree.json | 3 +-
.../fixtures/ES6/yield/yield-arg-regexp2.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-super.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-this.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-typeof.tree.json | 3 +-
test/fixtures/ES6/yield/yield-arg-void.tree.json | 3 +-
.../ES6/yield/yield-arrow-concise-body.tree.json | 3 +-
.../ES6/yield/yield-arrow-function-body.tree.json | 3 +-
.../yield/yield-arrow-parameter-default.tree.json | 1 +
.../ES6/yield/yield-arrow-parameter-name.tree.json | 3 +-
.../yield/yield-call-expression-property.tree.json | 3 +-
.../yield/yield-expression-precedence.tree.json | 3 +-
...function-declaration-formal-parameter.tree.json | 3 +-
.../ES6/yield/yield-function-declaration.tree.json | 3 +-
.../yield-function-expression-parameter.tree.json | 3 +-
.../ES6/yield/yield-function-expression.tree.json | 3 +-
.../yield-generator-arrow-concise-body.tree.json | 6 +-
.../yield/yield-generator-arrow-default.tree.json | 2 +
.../yield-generator-arrow-function-body.tree.json | 6 +-
.../yield/yield-generator-declaration.tree.json | 3 +-
.../yield-generator-default-parameter.tree.json | 1 +
.../yield-generator-function-expression.tree.json | 6 +-
.../yield-generator-function-parameter.tree.json | 6 +-
.../ES6/yield/yield-generator-method.tree.json | 3 +-
...ld-generator-parameter-object-pattern.tree.json | 3 +-
.../yield-member-expression-property.tree.json | 3 +-
test/fixtures/ES6/yield/yield-method.tree.json | 3 +-
.../yield/yield-parameter-object-pattern.tree.json | 3 +-
.../ES6/yield/yield-rest-parameter.tree.json | 3 +-
.../ES6/yield/yield-strict-method.tree.json | 3 +-
.../ES6/yield/yield-super-property.tree.json | 3 +-
.../yield-yield-expression-delegate.tree.json | 3 +-
.../ES6/yield/yield-yield-expression.tree.json | 3 +-
test/fixtures/JSX/container-numeric-literal.js | 1 +
.../container-numeric-literal.tree.json} | 279 +++---
.../JSX/invalid-closing-trail.failure.json | 2 +-
test/fixtures/JSX/invalid-no-closing.failure.json | 2 +-
test/fixtures/JSX/yield-jsx-element.js | 1 +
.../yield-jsx-element.tree.json} | 230 +++--
.../migrated_0010.tree.json | 1 +
.../migrated_0011.tree.json | 1 +
.../migrated_0012.tree.json | 1 +
test/fixtures/comment/migrated_0033.tree.json | 1 +
test/fixtures/comment/migrated_0034.tree.json | 1 +
test/fixtures/comment/migrated_0035.tree.json | 1 +
test/fixtures/comment/migrated_0046.tree.json | 1 +
test/fixtures/comment/migrated_0052.tree.json | 1 +
test/fixtures/comment/migrated_0053.tree.json | 4 +-
test/fixtures/comment/migrated_0054.tree.json | 2 +
.../declaration/function/dupe-param.tree.json | 3 +-
test/fixtures/declaration/function/empty-param.js | 1 -
...invalid-strict-labelled-function-declaration.js | 1 +
...strict-labelled-function-declaration.tree.json} | 187 ++--
.../declaration/function/migrated_0000.tree.json | 1 +
.../declaration/function/migrated_0001.tree.json | 1 +
.../declaration/function/migrated_0002.tree.json | 1 +
.../declaration/function/migrated_0003.tree.json | 1 +
.../declaration/function/migrated_0004.tree.json | 1 +
.../declaration/function/migrated_0005.tree.json | 2 +
.../declaration/function/migrated_0006.tree.json | 1 +
.../declaration/function/migrated_0007.tree.json | 1 +
.../declaration/function/migrated_0008.tree.json | 1 +
.../declaration/function/migrated_0009.tree.json | 1 +
.../declaration/function/migrated_0010.tree.json | 1 +
.../declaration/function/migrated_0011.tree.json | 1 +
.../declaration/function/migrated_0012.tree.json | 1 +
.../declaration/function/migrated_0013.tree.json | 1 +
.../declaration/function/migrated_0014.tree.json | 1 +
.../directive-prolog/migrated_0000.tree.json | 1 +
.../directive-prolog/migrated_0001.tree.json | 1 +
.../es2017/async/arrows/assigned-async-arrow.js | 1 +
.../async/arrows/assigned-async-arrow.tree.json} | 603 ++++++-------
.../async/arrows/async-arrow-as-last-parameter.js | 1 +
.../async-arrow-as-last-parameter.tree.json} | 228 ++---
.../async/arrows/async-arrow-as-parameter.js | 1 +
.../arrows/async-arrow-as-parameter.tree.json} | 445 +++++-----
.../async/arrows/async-arrow-multi-args-await.js | 1 +
.../arrows/async-arrow-multi-args-await.tree.json} | 225 ++---
.../arrows/async-arrow-multi-args-concise-await.js | 1 +
...async-arrow-multi-args-concise-await.tree.json} | 266 +++---
.../async/arrows/async-arrow-multi-args-concise.js | 1 +
.../async-arrow-multi-args-concise.tree.json} | 156 ++--
.../es2017/async/arrows/async-arrow-multi-args.js | 1 +
.../async/arrows/async-arrow-multi-args.tree.json} | 250 +++---
.../es2017/async/arrows/async-arrow-no-arg.js | 1 +
.../async/arrows/async-arrow-no-arg.tree.json} | 107 +--
.../arrows/async-arrow-object-pattern-parameter.js | 1 +
...async-arrow-object-pattern-parameter.tree.json} | 298 +++----
.../async/arrows/async-arrow-one-arg-await.js | 1 +
.../arrows/async-arrow-one-arg-await.tree.json} | 182 ++--
.../arrows/async-arrow-one-arg-concise-await.js | 1 +
.../async-arrow-one-arg-concise-await.tree.json} | 171 ++--
.../async/arrows/async-arrow-one-arg-concise.js | 1 +
.../arrows/async-arrow-one-arg-concise.tree.json} | 119 ++-
.../es2017/async/arrows/async-arrow-one-arg.js | 1 +
.../async/arrows/async-arrow-one-arg.tree.json} | 277 +++---
.../arrows/async-arrow-parenthesized-await.js | 1 +
.../async-arrow-parenthesized-await.tree.json} | 310 ++++---
.../async-arrow-parenthesized-concise-await.js | 1 +
...nc-arrow-parenthesized-concise-await.tree.json} | 135 ++-
.../arrows/async-arrow-parenthesized-concise.js | 1 +
.../async-arrow-parenthesized-concise.tree.json} | 174 ++--
.../arrows/async-arrow-parenthesized-yield.js | 1 +
.../async-arrow-parenthesized-yield.tree.json} | 185 ++--
.../async/arrows/async-arrow-parenthesized.js | 1 +
.../arrows/async-arrow-parenthesized.tree.json} | 301 +++----
.../async/arrows/async-arrow-pattern-parameter.js | 1 +
.../async-arrow-pattern-parameter.tree.json} | 233 ++---
.../es2017/async/arrows/async-arrow-rest.js | 1 +
.../async/arrows/async-arrow-rest.tree.json} | 151 ++--
.../async/arrows/async-arrow-trailing-comma.js | 1 +
.../arrows/async-arrow-trailing-comma.tree.json} | 253 +++---
.../es2017/async/arrows/async-arrow-yield.js | 1 +
.../async/arrows/async-arrow-yield.tree.json} | 118 +--
.../async/arrows/export-async-arrow.module.js | 1 +
.../arrows/export-async-arrow.module.tree.json} | 283 +++----
.../arrows/export-default-async-arrow.module.js | 1 +
.../export-default-async-arrow.module.tree.json} | 257 +++---
.../invalid-async-line-terminator1.failure.json | 1 +
.../async/arrows/invalid-async-line-terminator1.js | 2 +
.../invalid-async-line-terminator2.failure.json | 1 +
.../async/arrows/invalid-async-line-terminator2.js | 2 +
.../invalid-async-line-terminator3.failure.json | 1 +
.../async/arrows/invalid-async-line-terminator3.js | 2 +
.../invalid-async-line-terminator4.failure.json | 1 +
.../async/arrows/invalid-async-line-terminator4.js | 2 +
.../invalid-async-line-terminator5.failure.json | 1 +
.../async/arrows/invalid-async-line-terminator5.js | 2 +
.../argument-async-function-expression.js | 1 +
.../argument-async-function-expression.tree.json} | 230 ++---
.../functions/async-function-declaration-await.js | 1 +
.../async-function-declaration-await.tree.json} | 194 ++---
.../async/functions/async-function-declaration.js | 1 +
.../async-function-declaration.tree.json} | 149 ++--
.../async-function-expression-as-parameter.js | 1 +
...ync-function-expression-as-parameter.tree.json} | 484 ++++++-----
.../functions/async-function-expression-await.js | 1 +
.../async-function-expression-await.tree.json} | 317 +++----
.../async-function-expression-named-await.js | 1 +
...sync-function-expression-named-await.tree.json} | 291 ++++---
.../functions/async-function-expression-named.js | 1 +
.../async-function-expression-named.tree.json} | 202 ++---
.../async/functions/async-function-expression.js | 1 +
.../functions/async-function-expression.tree.json} | 201 ++---
.../es2017/async/functions/async-if-await.js | 1 +
.../async/functions/async-if-await.tree.json} | 340 ++++----
test/fixtures/es2017/async/functions/async-if.js | 1 +
.../async/functions/async-if.tree.json} | 107 ++-
...port-async-function-declaration-await.module.js | 1 +
...nc-function-declaration-await.module.tree.json} | 276 +++---
.../export-async-function-declaration.module.js | 1 +
...rt-async-function-declaration.module.tree.json} | 125 +--
...rt-default-async-function-declaration.module.js | 1 +
...lt-async-function-declaration.module.tree.json} | 120 ++-
...sync-named-function-declaration-await.module.js | 1 +
...ed-function-declaration-await.module.tree.json} | 337 ++++----
...ault-async-named-function-declaration.module.js | 1 +
...nc-named-function-declaration.module.tree.json} | 127 +--
.../es2017/async/functions/inner-function-async.js | 1 +
.../functions/inner-function-async.tree.json} | 505 ++++++-----
...d-async-line-terminator-expression.failure.json | 1 +
.../invalid-async-line-terminator-expression.js | 2 +
.../functions/invalid-async-while.failure.json} | 2 +-
.../es2017/async/functions/invalid-async-while.js | 1 +
...t-async-function-expression.module.failure.json | 1 +
...alid-export-async-function-expression.module.js | 1 +
.../invalid-generator-declaration.failure.json | 1 +
.../functions/invalid-generator-declaration.js | 1 +
.../invalid-generator-expression.failure.json | 1 +
.../functions/invalid-generator-expression.js | 1 +
.../invalid-await-declaration1.failure.json | 1 +
.../invalid-await/invalid-await-declaration1.js | 1 +
.../invalid-await-declaration2.failure.json | 1 +
.../invalid-await/invalid-await-declaration2.js | 1 +
.../invalid-await-declaration3.failure.json | 1 +
.../invalid-await/invalid-await-declaration3.js | 1 +
.../invalid-await-declaration4.failure.json | 1 +
.../invalid-await/invalid-await-declaration4.js | 1 +
.../invalid-await-function-name1.failure.json | 1 +
.../invalid-await/invalid-await-function-name1.js | 1 +
.../invalid-await-function-name2.failure.json | 1 +
.../invalid-await/invalid-await-function-name2.js | 1 +
.../invalid-await-identifier1.failure.json | 1 +
.../invalid-await/invalid-await-identifier1.js | 1 +
.../invalid-await-identifier2.failure.json | 1 +
.../invalid-await/invalid-await-identifier2.js | 1 +
.../invalid-await-method.failure.json | 1 +
.../async/invalid-await/invalid-await-method.js | 1 +
.../invalid-await-no-argument1.failure.json | 1 +
.../invalid-await/invalid-await-no-argument1.js | 1 +
.../invalid-await-no-argument2.failure.json | 1 +
.../invalid-await/invalid-await-no-argument2.js | 1 +
.../invalid-await-object-expression1.failure.json | 1 +
.../invalid-await-object-expression1.js | 1 +
.../invalid-await-object-expression2.failure.json | 1 +
.../invalid-await-object-expression2.js | 1 +
.../invalid-await-outside-async.failure.json | 1 +
.../invalid-await/invalid-await-outside-async.js | 1 +
.../invalid-await-parameter1.failure.json | 1 +
.../invalid-await/invalid-await-parameter1.js | 1 +
.../invalid-await-parameter2.failure.json | 1 +
.../invalid-await/invalid-await-parameter2.js | 1 +
.../invalid-await-parameter3.failure.json} | 2 +-
.../invalid-await/invalid-await-parameter3.js | 1 +
.../invalid-await-parameter4.failure.json | 1 +
.../invalid-await/invalid-await-parameter4.js | 1 +
.../invalid-await-parameter5.failure.json} | 2 +-
.../invalid-await/invalid-await-parameter5.js | 1 +
.../invalid-await-parameter6.failure.json | 1 +
.../invalid-await/invalid-await-parameter6.js | 1 +
.../invalid-await-parameter7.failure.json} | 2 +-
.../invalid-await/invalid-await-parameter7.js | 1 +
.../invalid-await-property.failure.json | 1 +
.../async/invalid-await/invalid-await-property.js | 1 +
.../es2017/async/methods/async-method-await.js | 1 +
.../async/methods/async-method-await.tree.json} | 410 ++++-----
.../es2017/async/methods/async-method-computed.js | 1 +
.../async/methods/async-method-computed.tree.json} | 200 ++---
.../es2017/async/methods/async-method-literal.js | 1 +
.../async/methods/async-method-literal.tree.json} | 152 ++--
.../es2017/async/methods/async-method-number.js | 1 +
.../async/methods/async-method-number.tree.json} | 152 ++--
test/fixtures/es2017/async/methods/async-method.js | 1 +
.../async/methods/async-method.tree.json} | 147 ++--
.../async/methods/class-async-method-await.js | 1 +
.../methods/class-async-method-await.tree.json} | 459 +++++-----
.../async/methods/class-async-method-computed.js | 1 +
.../methods/class-async-method-computed.tree.json} | 156 ++--
.../async/methods/class-async-method-literal.js | 1 +
.../methods/class-async-method-literal.tree.json} | 150 ++--
.../async/methods/class-async-method-number.js | 1 +
.../methods/class-async-method-number.tree.json} | 78 +-
.../es2017/async/methods/class-async-method.js | 1 +
.../async/methods/class-async-method.tree.json} | 73 +-
.../methods/class-static-async-method-await.js | 1 +
.../class-static-async-method-await.tree.json} | 433 +++++-----
.../async/methods/class-static-async-method.js | 1 +
.../methods/class-static-async-method.tree.json} | 139 +--
.../invalid-async-class-constructor.failure.json | 1 +
.../methods/invalid-async-class-constructor.js | 1 +
.../invalid-async-class-generator.failure.json | 1 +
.../async/methods/invalid-async-class-generator.js | 1 +
.../invalid-async-class-getter.failure.json | 1 +
.../async/methods/invalid-async-class-getter.js | 1 +
.../invalid-async-class-setter.failure.json | 1 +
.../async/methods/invalid-async-class-setter.js | 1 +
.../methods/invalid-async-generator.failure.json | 1 +
.../async/methods/invalid-async-generator.js | 1 +
.../methods/invalid-async-getter.failure.json | 1 +
.../es2017/async/methods/invalid-async-getter.js | 1 +
...valid-async-line-terminator-method.failure.json | 1 +
.../invalid-async-line-terminator-method.js | 2 +
...lid-async-line-terminator-property.failure.json | 1 +
.../invalid-async-line-terminator-property.js | 2 +
...sync-line-terminator-static-method.failure.json | 1 +
.../invalid-async-line-terminator-static-method.js | 2 +
.../methods/invalid-async-method.failure.json} | 2 +-
.../es2017/async/methods/invalid-async-method.js | 1 +
.../methods/invalid-async-setter.failure.json | 1 +
.../es2017/async/methods/invalid-async-setter.js | 1 +
.../methods/invalid-async-static.failure.json | 1 +
.../es2017/async/methods/invalid-async-static.js | 1 +
...valid-static-async-class-generator.failure.json | 1 +
.../invalid-static-async-class-generator.js | 1 +
.../invalid-static-async-class-getter.failure.json | 1 +
.../methods/invalid-static-async-class-getter.js | 1 +
.../invalid-static-async-class-setter.failure.json | 1 +
.../methods/invalid-static-async-class-setter.js | 1 +
.../regular-identifier/argument-async-call.js | 1 +
.../argument-async-call.tree.json} | 209 ++---
.../regular-identifier/async-arrow-parameter1.js | 1 +
.../async-arrow-parameter1.tree.json} | 89 +-
.../regular-identifier/async-arrow-parameter2.js | 1 +
.../async-arrow-parameter2.tree.json} | 228 ++---
.../regular-identifier/await-function-name.js | 1 +
.../await-function-name.tree.json} | 117 +--
.../async/regular-identifier/await-method-name.js | 1 +
.../await-method-name.tree.json} | 145 ++--
.../async/regular-identifier/await-static-name.js | 1 +
.../await-static-name.tree.json} | 126 ++-
.../async/regular-identifier/call-async-await.js | 1 +
.../regular-identifier/call-async-await.tree.json} | 197 +++--
.../es2017/async/regular-identifier/call-async.js | 1 +
.../async/regular-identifier/call-async.tree.json} | 173 ++--
.../export-identifier-async.module.js | 1 +
.../export-identifier-async.module.tree.json} | 236 +++---
.../es2017/async/regular-identifier/expr-async.js | 2 +
.../async/regular-identifier/expr-async.tree.json} | 320 +++----
.../regular-identifier/generator-name-async.js | 1 +
.../generator-name-async.tree.json} | 111 ++-
.../async/regular-identifier/identifier-async.js | 1 +
.../regular-identifier/identifier-async.tree.json} | 233 +++--
.../es2017/async/regular-identifier/label-async.js | 1 +
.../regular-identifier/label-async.tree.json} | 219 +++--
.../regular-identifier/line-terminator-arrow.js | 2 +
.../line-terminator-arrow.tree.json} | 176 ++--
.../regular-identifier/line-terminator-async.js | 2 +
.../line-terminator-async.tree.json} | 227 +++--
...ine-terminator-parenthesized-arrow.failure.json | 1 +
.../line-terminator-parenthesized-arrow.js | 2 +
.../async/regular-identifier/method-name-async.js | 1 +
.../method-name-async.tree.json} | 129 +--
.../async/regular-identifier/property-async.js | 1 +
.../regular-identifier/property-async.tree.json} | 128 +--
.../static-generator-name-async.js | 1 +
.../static-generator-name-async.tree.json} | 213 ++---
.../async/regular-identifier/static-name-async.js | 1 +
.../static-name-async.tree.json} | 115 ++-
.../invalid-empty-arrow.failure.json | 1 +
.../es2017/trailing-commas/invalid-empty-arrow.js | 1 +
.../invalid-empty-call.failure.json | 1 +
.../es2017/trailing-commas/invalid-empty-call.js | 1 +
.../invalid-empty-constructor.failure.json | 1 +
.../trailing-commas/invalid-empty-constructor.js | 1 +
.../invalid-empty-method.failure.json | 1 +
.../es2017/trailing-commas/invalid-empty-method.js | 1 +
.../invalid-empty-parameters.failure.json} | 2 +-
.../trailing-commas/invalid-empty-parameters.js | 1 +
.../trailing-commas/invalid-rest.failure.json | 1 +
.../es2017/trailing-commas/invalid-rest.js | 1 +
.../trailing-commas/invalid-sequence.failure.json} | 2 +-
.../es2017/trailing-commas/invalid-sequence.js | 1 +
.../invalid-trailing-comma-getter.failure.json | 1 +
.../invalid-trailing-comma-getter.js | 1 +
.../trailing-commas/trailing-comma-arrow-multi.js | 1 +
.../trailing-comma-arrow-multi.tree.json} | 210 ++---
.../trailing-commas/trailing-comma-arrow-single.js | 1 +
.../trailing-comma-arrow-single.tree.json} | 77 +-
.../es2017/trailing-commas/trailing-comma-arrow.js | 1 +
.../trailing-comma-arrow.tree.json} | 264 +++---
.../es2017/trailing-commas/trailing-comma-call.js | 1 +
.../trailing-commas/trailing-comma-call.tree.json} | 149 ++--
.../trailing-commas/trailing-comma-constructor.js | 1 +
.../trailing-comma-constructor.tree.json} | 177 ++--
.../trailing-comma-export-function.js | 1 +
.../trailing-comma-export-function.tree.json} | 175 ++--
.../trailing-comma-function-declaration.js | 1 +
.../trailing-comma-function-declaration.tree.json} | 166 ++--
.../trailing-comma-function-expression.js | 1 +
.../trailing-comma-function-expression.tree.json} | 278 +++---
.../trailing-commas/trailing-comma-method.js | 1 +
.../trailing-comma-method.tree.json} | 209 +++--
.../es2017/trailing-commas/trailing-comma-new.js | 1 +
.../trailing-commas/trailing-comma-new.tree.json} | 210 +++--
.../trailing-commas/trailing-comma-spread.js | 1 +
.../trailing-comma-spread.tree.json} | 224 ++---
.../complex}/migrated_0001.js | 0
.../complex}/migrated_0001.tree.json | 0
.../primary/keyword/invalid-escaped-if.js | 1 +
.../primary/keyword/invalid-escaped-if.tree.json} | 109 +--
.../primary/keyword/invalid-escaped-null.js | 1 +
.../primary/keyword/invalid-escaped-null.tree.json | 84 ++
.../primary/keyword/invalid-escaped-true.js | 1 +
.../primary/keyword/invalid-escaped-true.tree.json | 84 ++
.../literal/string/invalid_hex.failure.json | 2 +-
.../expression/primary/object/invalid-getter.js | 1 +
...ted_0011.tree.json => invalid-getter.tree.json} | 94 ++-
.../expression/primary/object/invalid-setter1.js | 1 +
...ed_0011.tree.json => invalid-setter1.tree.json} | 127 +--
.../expression/primary/object/invalid-setter2.js | 1 +
.../primary/object/invalid-setter2.tree.json} | 298 +++----
.../primary/object/migrated_0009.tree.json | 1 +
.../primary/object/migrated_0010.tree.json | 1 +
.../primary/object/migrated_0011.tree.json | 1 +
.../primary/object/migrated_0012.tree.json | 1 +
.../primary/object/migrated_0013.tree.json | 1 +
.../primary/object/migrated_0014.tree.json | 1 +
.../primary/object/migrated_0015.tree.json | 1 +
.../primary/object/migrated_0016.tree.json | 1 +
.../primary/object/migrated_0017.tree.json | 1 +
.../primary/object/migrated_0018.tree.json | 1 +
.../primary/object/migrated_0019.tree.json | 1 +
.../primary/object/migrated_0020.tree.json | 1 +
.../primary/object/migrated_0021.tree.json | 1 +
.../primary/object/migrated_0022.tree.json | 1 +
.../primary/object/migrated_0023.tree.json | 1 +
.../primary/object/migrated_0028.tree.json | 2 +
.../primary/object/migrated_0029.tree.json | 1 +
.../primary/object/migrated_0031.tree.json | 2 +
.../primary/object/migrated_0032.tree.json | 1 +
.../primary/object/migrated_0033.tree.json | 1 +
.../primary/object/migrated_0034.tree.json | 1 +
.../primary/object/migrated_0035.tree.json | 1 +
.../primary/object/migrated_0038.tree.json | 1 +
.../invalid-syntax/GH-1106-00.failure.json | 2 +-
.../invalid-syntax/GH-1106-01.failure.json | 2 +-
.../invalid-syntax/GH-1106-02.failure.json | 2 +-
.../invalid-syntax/migrated_0075.failure.json | 6 -
test/fixtures/invalid-syntax/migrated_0075.js | 1 -
.../invalid-syntax/migrated_0138.failure.json | 7 +-
.../invalid-syntax/migrated_0139.failure.json | 7 +-
.../invalid-syntax/migrated_0140.failure.json | 7 +-
test/fixtures/source-element/migrated_0000.js | 0
.../source-element/migrated_0000.tree.json | 20 -
test/fixtures/source-option/migrated_0000.js | 1 -
.../fixtures/source-option/migrated_0000.tree.json | 226 -----
.../if/invalid-function-declaration1.failure.json | 1 +
.../statement/if/invalid-function-declaration1.js | 1 +
.../if/invalid-function-declaration2.failure.json | 1 +
.../statement/if/invalid-function-declaration2.js | 1 +
.../if/invalid-function-declaration3.failure.json | 1 +
.../statement/if/invalid-function-declaration3.js | 1 +
.../if/invalid-function-declaration4.failure.json | 1 +
.../statement/if/invalid-function-declaration4.js | 1 +
test/fixtures/statement/if/migrated_0001.tree.json | 1 +
test/fixtures/statement/if/migrated_0003.tree.json | 1 +
.../statement/iteration/migrated_0023.tree.json | 1 +
.../statement/iteration/unterminated-do-while.js | 1 +
.../iteration/unterminated-do-while.tree.json} | 138 +--
.../statement/labelled/function-declaration.js | 1 +
.../labelled/function-declaration.tree.json} | 189 ++---
.../statement/return/migrated_0000.tree.json | 1 +
.../statement/return/migrated_0001.tree.json | 1 +
.../statement/return/migrated_0002.tree.json | 1 +
.../statement/return/migrated_0003.tree.json | 1 +
test/fixtures/statement/with/unterminated-with.js | 1 +
.../with/unterminated-with.tree.json} | 141 ++--
.../tolerant-parse/migrated_0006.tree.json | 1 +
.../tolerant-parse/migrated_0008.tree.json | 1 +
.../tolerant-parse/migrated_0009.tree.json | 1 +
.../tolerant-parse/migrated_0010.tree.json | 1 +
.../tolerant-parse/migrated_0011.tree.json | 1 +
.../tolerant-parse/migrated_0014.tree.json | 1 +
.../tolerant-parse/migrated_0015.tree.json | 1 +
.../tolerant-parse/migrated_0027.tree.json | 1 +
.../tolerant-parse/migrated_0028.tree.json | 1 +
.../tolerant-parse/migrated_0029.tree.json | 1 +
.../tolerant-parse/migrated_0030.tree.json | 1 +
.../tolerant-parse/migrated_0031.tree.json | 1 +
.../tolerant-parse/migrated_0032.tree.json | 1 +
.../tolerant-parse/migrated_0033.tree.json | 1 +
.../tolerant-parse/migrated_0034.tree.json | 1 +
.../tolerant-parse/migrated_0035.tree.json | 1 +
.../tolerant-parse/migrated_0036.tree.json | 1 +
.../tolerant-parse/migrated_0037.tree.json | 1 +
.../tolerant-parse/migrated_0038.tree.json | 1 +
.../tolerant-parse/migrated_0039.tree.json | 1 +
.../tolerant-parse/migrated_0040.tree.json | 1 +
test/fixtures/tolerant-parse/migrated_0043.js | 1 -
.../tolerant-parse/migrated_0051.tree.json | 1 +
.../tolerant-parse/migrated_0052.tree.json | 1 +
test/karma.conf.js | 2 +
test/line-ending-sample.js | 7 +
test/unit-tests.js | 6 +-
test/utils/create-testcases.js | 2 +-
test/utils/evaluate-testcase.js | 70 +-
test/verify-line-ending.js | 16 +
781 files changed, 18509 insertions(+), 15935 deletions(-)
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-esprima.git
More information about the Pkg-javascript-commits
mailing list