├── .editorconfig ├── .gitignore ├── ChangeLog ├── LICENSE ├── LICENSE.BSD ├── MANIFEST.in ├── README ├── README.rst ├── esprima ├── __init__.py ├── __main__.py ├── character.py ├── comment_handler.py ├── compat.py ├── error_handler.py ├── esprima.py ├── jsx_nodes.py ├── jsx_parser.py ├── jsx_syntax.py ├── messages.py ├── nodes.py ├── objects.py ├── parser.py ├── scanner.py ├── syntax.py ├── token.py ├── tokenizer.py ├── utils.py ├── visitor.py └── xhtml_entities.py ├── examples └── visitor.py ├── pyproject.toml ├── setup.cfg ├── setup.py └── test ├── 3rdparty ├── angular-1.2.5.js ├── backbone-1.1.0.js ├── benchmark.js ├── jquery-1.9.1.js ├── jquery.mobile-1.4.2.js ├── mootools-1.4.5.js ├── syntax │ ├── .gitignore │ ├── README │ ├── angular-1.2.5.json │ ├── angular-1.2.5.tokens │ ├── backbone-1.1.0.json │ ├── backbone-1.1.0.tokens │ ├── jquery-1.9.1.json │ ├── jquery-1.9.1.tokens │ ├── jquery.mobile-1.4.2.json │ ├── jquery.mobile-1.4.2.tokens │ ├── mootools-1.4.5.json │ ├── mootools-1.4.5.tokens │ ├── underscore-1.5.2.json │ ├── underscore-1.5.2.tokens │ ├── yui-3.12.0.json │ └── yui-3.12.0.tokens ├── underscore-1.5.2.js └── yui-3.12.0.js ├── __init__.py ├── __main__.py └── fixtures ├── ES2016 ├── exponent │ ├── exp_assign.js │ ├── exp_assign.tree.json │ ├── exp_bitnot.js │ ├── exp_bitnot.tree.json │ ├── exp_delete.js │ ├── exp_delete.tree.json │ ├── exp_minus.js │ ├── exp_minus.tree.json │ ├── exp_minusminus.js │ ├── exp_minusminus.tree.json │ ├── exp_not.js │ ├── exp_not.tree.json │ ├── exp_operator.js │ ├── exp_operator.tree.json │ ├── exp_plus.js │ ├── exp_plus.tree.json │ ├── exp_plusplus.js │ ├── exp_plusplus.tree.json │ ├── exp_precedence.js │ ├── exp_precedence.tree.json │ ├── exp_typeof.js │ ├── exp_typeof.tree.json │ ├── exp_void.js │ ├── exp_void.tree.json │ ├── invalid_bitnot_exp.failure.json │ ├── invalid_bitnot_exp.js │ ├── invalid_delete_exp.failure.json │ ├── invalid_delete_exp.js │ ├── invalid_minus_exp.failure.json │ ├── invalid_minus_exp.js │ ├── invalid_not_exp.failure.json │ ├── invalid_not_exp.js │ ├── invalid_plus_exp.failure.json │ ├── invalid_plus_exp.js │ ├── invalid_typeof_exp.failure.json │ ├── invalid_typeof_exp.js │ ├── invalid_void_exp.failure.json │ ├── invalid_void_exp.js │ ├── update_exp.js │ └── update_exp.tree.json ├── identifier │ ├── gujarati_zha.js │ └── gujarati_zha.tree.json └── strict-directive │ ├── invalid-strict-arrow-expression-array-destructuring.js │ ├── invalid-strict-arrow-expression-array-destructuring.tree.json │ ├── invalid-strict-arrow-expression-default-value.js │ ├── invalid-strict-arrow-expression-default-value.tree.json │ ├── invalid-strict-arrow-expression-object-destructuring.js │ ├── invalid-strict-arrow-expression-object-destructuring.tree.json │ ├── invalid-strict-arrow-expression-rest.js │ ├── invalid-strict-arrow-expression-rest.tree.json │ ├── invalid-strict-function-declaration-array-destructuring.js │ ├── invalid-strict-function-declaration-array-destructuring.tree.json │ ├── invalid-strict-function-declaration-default-value.js │ ├── invalid-strict-function-declaration-default-value.tree.json │ ├── invalid-strict-function-declaration-object-destructuring.js │ ├── invalid-strict-function-declaration-object-destructuring.tree.json │ ├── invalid-strict-function-declaration-rest.js │ ├── invalid-strict-function-declaration-rest.tree.json │ ├── invalid-strict-function-expression-array-destructuring.js │ ├── invalid-strict-function-expression-array-destructuring.tree.json │ ├── invalid-strict-function-expression-default-value.js │ ├── invalid-strict-function-expression-default-value.tree.json │ ├── invalid-strict-function-expression-object-destructuring.js │ ├── invalid-strict-function-expression-object-destructuring.tree.json │ ├── invalid-strict-function-expression-rest.js │ ├── invalid-strict-function-expression-rest.tree.json │ ├── invalid-strict-generator-array-destructuring.js │ ├── invalid-strict-generator-array-destructuring.tree.json │ ├── invalid-strict-generator-default-value.js │ ├── invalid-strict-generator-default-value.tree.json │ ├── invalid-strict-generator-object-destructuring.js │ ├── invalid-strict-generator-object-destructuring.tree.json │ ├── invalid-strict-generator-rest.js │ ├── invalid-strict-generator-rest.tree.json │ ├── invalid-strict-method-array-destructuring.js │ ├── invalid-strict-method-array-destructuring.tree.json │ ├── invalid-strict-method-default-value.js │ ├── invalid-strict-method-default-value.tree.json │ ├── invalid-strict-method-object-destructuring.js │ ├── invalid-strict-method-object-destructuring.tree.json │ ├── invalid-strict-method-rest.js │ ├── invalid-strict-method-rest.tree.json │ ├── invalid-strict-setter-array-destructuring.js │ ├── invalid-strict-setter-array-destructuring.tree.json │ ├── invalid-strict-setter-default-value.js │ ├── invalid-strict-setter-default-value.tree.json │ ├── invalid-strict-setter-object-destructuring.js │ └── invalid-strict-setter-object-destructuring.tree.json ├── ES6 ├── arrow-function │ ├── array-binding-pattern │ │ ├── array-binding-pattern-01.js │ │ ├── array-binding-pattern-01.tree.json │ │ ├── array-binding-pattern-02.js │ │ ├── array-binding-pattern-02.tree.json │ │ ├── array-binding-pattern-03.js │ │ ├── array-binding-pattern-03.tree.json │ │ ├── array-binding-pattern-empty.js │ │ ├── array-binding-pattern-empty.tree.json │ │ ├── elision.js │ │ ├── elision.tree.json │ │ ├── invalid-dup-param.failure.json │ │ ├── invalid-dup-param.js │ │ ├── invalid-elision-after-rest.failure.json │ │ └── invalid-elision-after-rest.js │ ├── arrow-rest-forgetting-comma.failure.json │ ├── arrow-rest-forgetting-comma.js │ ├── arrow-with-multiple-arg-and-rest.js │ ├── arrow-with-multiple-arg-and-rest.tree.json │ ├── arrow-with-multiple-rest.failure.json │ ├── arrow-with-multiple-rest.js │ ├── arrow-with-only-rest.js │ ├── arrow-with-only-rest.tree.json │ ├── concise-body-in.js │ ├── concise-body-in.tree.json │ ├── invalid-duplicated-names-rest-parameter.failure.json │ ├── invalid-duplicated-names-rest-parameter.js │ ├── invalid-duplicated-params.failure.json │ ├── invalid-duplicated-params.js │ ├── invalid-line-terminator-arrow.failure.json │ ├── invalid-line-terminator-arrow.js │ ├── invalid-param-strict-mode.failure.json │ ├── invalid-param-strict-mode.js │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── migrated_0007.js │ ├── migrated_0007.tree.json │ ├── migrated_0008.js │ ├── migrated_0008.tree.json │ ├── migrated_0009.js │ ├── migrated_0009.tree.json │ ├── migrated_0010.js │ ├── migrated_0010.tree.json │ ├── migrated_0011.js │ ├── migrated_0011.tree.json │ ├── migrated_0012.js │ ├── migrated_0012.tree.json │ ├── migrated_0013.js │ ├── migrated_0013.tree.json │ ├── migrated_0014.js │ ├── migrated_0014.tree.json │ ├── migrated_0015.js │ ├── migrated_0015.tree.json │ ├── migrated_0016.js │ ├── migrated_0016.tree.json │ ├── migrated_0017.js │ ├── migrated_0017.tree.json │ ├── migrated_0018.js │ ├── migrated_0018.tree.json │ ├── migrated_0019.js │ ├── migrated_0019.tree.json │ ├── migrated_0020.js │ ├── migrated_0020.tree.json │ ├── non-arrow-param-followed-by-arrow.failure.json │ ├── non-arrow-param-followed-by-arrow.js │ ├── non-arrow-param-followed-by-rest.failure.json │ ├── non-arrow-param-followed-by-rest.js │ ├── object-binding-pattern │ │ ├── invalid-member-expr.failure.json │ │ ├── invalid-member-expr.js │ │ ├── invalid-method-in-pattern.failure.json │ │ ├── invalid-method-in-pattern.js │ │ ├── invalid-nested-param.failure.json │ │ ├── invalid-nested-param.js │ │ ├── invalid-pattern-without-parenthesis.failure.json │ │ ├── invalid-pattern-without-parenthesis.js │ │ ├── nested-cover-grammar.js │ │ ├── nested-cover-grammar.tree.json │ │ ├── object-binding-pattern-01.js │ │ ├── object-binding-pattern-01.tree.json │ │ ├── object-binding-pattern-empty.js │ │ └── object-binding-pattern-empty.tree.json │ ├── param-with-rest-without-arrow.failure.json │ ├── param-with-rest-without-arrow.js │ ├── rest-without-arrow.failure.json │ └── rest-without-arrow.js ├── binary-integer-literal │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ └── migrated_0005.tree.json ├── binding-pattern │ ├── array-pattern │ │ ├── dupe-param.js │ │ ├── dupe-param.tree.json │ │ ├── elision.js │ │ ├── elision.tree.json │ │ ├── empty-pattern-catch-param.js │ │ ├── empty-pattern-catch-param.tree.json │ │ ├── empty-pattern-fn.js │ │ ├── empty-pattern-fn.tree.json │ │ ├── empty-pattern-lexical.js │ │ ├── empty-pattern-lexical.tree.json │ │ ├── empty-pattern-var.js │ │ ├── empty-pattern-var.tree.json │ │ ├── for-let-let.js │ │ ├── for-let-let.tree.json │ │ ├── hole.js │ │ ├── hole.tree.json │ │ ├── invalid-strict-for-let-let.failure.json │ │ ├── invalid-strict-for-let-let.js │ │ ├── nested-pattern.js │ │ ├── nested-pattern.tree.json │ │ ├── patterned-catch-dupe.failure.json │ │ ├── patterned-catch-dupe.js │ │ ├── patterned-catch.js │ │ ├── patterned-catch.tree.json │ │ ├── rest-element-array-pattern.js │ │ ├── rest-element-array-pattern.tree.json │ │ ├── rest-element-object-pattern.js │ │ ├── rest-element-object-pattern.tree.json │ │ ├── rest.elision.failure.json │ │ ├── rest.elision.js │ │ ├── rest.js │ │ ├── rest.tree.json │ │ ├── tailing-hold.js │ │ ├── tailing-hold.tree.json │ │ ├── var-for-in.js │ │ ├── var-for-in.tree.json │ │ ├── var_let_array.js │ │ ├── var_let_array.tree.json │ │ ├── with-default-catch-param-fail.failure.json │ │ ├── with-default-catch-param-fail.js │ │ ├── with-default-catch-param.js │ │ ├── with-default-catch-param.tree.json │ │ ├── with-default-fn.js │ │ ├── with-default-fn.tree.json │ │ ├── with-object-pattern.js │ │ └── with-object-pattern.tree.json │ └── object-pattern │ │ ├── elision.js │ │ ├── elision.tree.json │ │ ├── empty-catch-param.js │ │ ├── empty-catch-param.tree.json │ │ ├── empty-fn.js │ │ ├── empty-fn.tree.json │ │ ├── empty-for-lex.js │ │ ├── empty-for-lex.tree.json │ │ ├── empty-lexical.js │ │ ├── empty-lexical.tree.json │ │ ├── empty-var.js │ │ ├── empty-var.tree.json │ │ ├── for-let-let.js │ │ ├── for-let-let.tree.json │ │ ├── invalid-strict-for-let-let.failure.json │ │ ├── invalid-strict-for-let-let.js │ │ ├── nested.js │ │ ├── nested.tree.json │ │ ├── properties.js │ │ ├── properties.tree.json │ │ ├── var-for-in.js │ │ └── var-for-in.tree.json ├── class │ ├── invalid-labelled-class-declaration.js │ ├── invalid-labelled-class-declaration.tree.json │ ├── invalid-setter-method-rest.js │ ├── invalid-setter-method-rest.tree.json │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── migrated_0007.js │ ├── migrated_0007.tree.json │ ├── migrated_0008.js │ ├── migrated_0008.tree.json │ ├── migrated_0009.js │ ├── migrated_0009.tree.json │ ├── migrated_0010.js │ ├── migrated_0010.tree.json │ ├── migrated_0011.js │ ├── migrated_0011.tree.json │ ├── migrated_0012.js │ ├── migrated_0012.tree.json │ ├── migrated_0013.js │ ├── migrated_0013.tree.json │ ├── migrated_0014.js │ ├── migrated_0014.tree.json │ ├── migrated_0015.js │ ├── migrated_0015.tree.json │ ├── migrated_0016.js │ ├── migrated_0016.tree.json │ ├── migrated_0017.js │ ├── migrated_0017.tree.json │ ├── migrated_0018.js │ ├── migrated_0018.tree.json │ ├── migrated_0019.js │ ├── migrated_0019.tree.json │ ├── migrated_0020.js │ ├── migrated_0020.tree.json │ ├── migrated_0021.js │ ├── migrated_0021.tree.json │ ├── migrated_0022.js │ ├── migrated_0022.tree.json │ ├── migrated_0023.js │ ├── migrated_0023.tree.json │ ├── migrated_0024.js │ ├── migrated_0024.tree.json │ ├── migrated_0025.js │ ├── migrated_0025.tree.json │ ├── migrated_0026.js │ └── migrated_0026.tree.json ├── default-parameter-value │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── destructuring-assignment │ ├── array-pattern │ │ ├── dup-assignment.js │ │ ├── dup-assignment.tree.json │ │ ├── elision.js │ │ ├── elision.tree.json │ │ ├── member-expr-in-rest.js │ │ ├── member-expr-in-rest.tree.json │ │ ├── nested-assignment.js │ │ ├── nested-assignment.tree.json │ │ ├── nested-cover-grammar.js │ │ ├── nested-cover-grammar.tree.json │ │ ├── simple-assignment.js │ │ └── simple-assignment.tree.json │ ├── invalid-cover-grammar.failure.json │ ├── invalid-cover-grammar.js │ ├── invalid-group-assignment.failure.json │ ├── invalid-group-assignment.js │ └── object-pattern │ │ ├── empty-object-pattern-assignment.js │ │ ├── empty-object-pattern-assignment.tree.json │ │ ├── invalid-lhs-01.failure.json │ │ ├── invalid-lhs-01.js │ │ ├── invalid-lhs-02.failure.json │ │ ├── invalid-lhs-02.js │ │ ├── invalid-pattern-with-method.failure.json │ │ ├── invalid-pattern-with-method.js │ │ ├── nested-cover-grammar.js │ │ ├── nested-cover-grammar.tree.json │ │ ├── object-pattern-assignment.js │ │ └── object-pattern-assignment.tree.json ├── export-declaration │ ├── export-const-number.js │ ├── export-const-number.tree.json │ ├── export-default-array.js │ ├── export-default-array.tree.json │ ├── export-default-assignment.module.js │ ├── export-default-assignment.module.tree.json │ ├── export-default-class.js │ ├── export-default-class.tree.json │ ├── export-default-expression.js │ ├── export-default-expression.tree.json │ ├── export-default-function.js │ ├── export-default-function.tree.json │ ├── export-default-named-class.js │ ├── export-default-named-class.tree.json │ ├── export-default-named-function.js │ ├── export-default-named-function.tree.json │ ├── export-default-number.js │ ├── export-default-number.tree.json │ ├── export-default-object.js │ ├── export-default-object.tree.json │ ├── export-default-value.js │ ├── export-default-value.tree.json │ ├── export-from-batch.js │ ├── export-from-batch.tree.json │ ├── export-from-default.js │ ├── export-from-default.tree.json │ ├── export-from-named-as-default.js │ ├── export-from-named-as-default.tree.json │ ├── export-from-named-as-specifier.js │ ├── export-from-named-as-specifier.tree.json │ ├── export-from-named-as-specifiers.js │ ├── export-from-named-as-specifiers.tree.json │ ├── export-from-specifier.js │ ├── export-from-specifier.tree.json │ ├── export-from-specifiers.js │ ├── export-from-specifiers.tree.json │ ├── export-function-declaration.js │ ├── export-function-declaration.tree.json │ ├── export-function.js │ ├── export-function.tree.json │ ├── export-let-number.js │ ├── export-let-number.tree.json │ ├── export-named-as-default.js │ ├── export-named-as-default.tree.json │ ├── export-named-as-specifier.js │ ├── export-named-as-specifier.tree.json │ ├── export-named-as-specifiers.js │ ├── export-named-as-specifiers.tree.json │ ├── export-named-empty.js │ ├── export-named-empty.tree.json │ ├── export-named-keyword-as-specifier.js │ ├── export-named-keyword-as-specifier.tree.json │ ├── export-named-keyword-specifier.js │ ├── export-named-keyword-specifier.tree.json │ ├── export-named-specifier.js │ ├── export-named-specifier.tree.json │ ├── export-named-specifiers-comma.js │ ├── export-named-specifiers-comma.tree.json │ ├── export-named-specifiers.js │ ├── export-named-specifiers.tree.json │ ├── export-var-anonymous-function.js │ ├── export-var-anonymous-function.tree.json │ ├── export-var-number.js │ ├── export-var-number.tree.json │ ├── export-var.js │ ├── export-var.tree.json │ ├── invalid-export-batch-missing-from-clause.module.failure.json │ ├── invalid-export-batch-missing-from-clause.module.js │ ├── invalid-export-batch-token.module.failure.json │ ├── invalid-export-batch-token.module.js │ ├── invalid-export-default-equal.module.failure.json │ ├── invalid-export-default-equal.module.js │ ├── invalid-export-default-token.module.failure.json │ ├── invalid-export-default-token.module.js │ ├── invalid-export-default.module.failure.json │ ├── invalid-export-default.module.js │ ├── invalid-export-named-default.module.failure.json │ └── invalid-export-named-default.module.js ├── for-of │ ├── for-of-array-pattern-let.js │ ├── for-of-array-pattern-let.tree.json │ ├── for-of-array-pattern-var.js │ ├── for-of-array-pattern-var.tree.json │ ├── for-of-array-pattern.js │ ├── for-of-array-pattern.tree.json │ ├── for-of-let.js │ ├── for-of-let.tree.json │ ├── for-of-object-pattern-const.js │ ├── for-of-object-pattern-const.tree.json │ ├── for-of-object-pattern-var.js │ ├── for-of-object-pattern-var.tree.json │ ├── for-of-object-pattern.js │ ├── for-of-object-pattern.tree.json │ ├── for-of-with-const.js │ ├── for-of-with-const.tree.json │ ├── for-of-with-let.js │ ├── for-of-with-let.tree.json │ ├── for-of-with-var.js │ ├── for-of-with-var.tree.json │ ├── for-of.js │ ├── for-of.tree.json │ ├── invalid-assign-for-of.failure.json │ ├── invalid-assign-for-of.js │ ├── invalid-const-init.failure.json │ ├── invalid-const-init.js │ ├── invalid-for-of-array-pattern.failure.json │ ├── invalid-for-of-array-pattern.js │ ├── invalid-for-of-object-pattern.failure.json │ ├── invalid-for-of-object-pattern.js │ ├── invalid-let-init.failure.json │ ├── invalid-let-init.js │ ├── invalid-lhs-init.failure.json │ ├── invalid-lhs-init.js │ ├── invalid-strict-for-of-let.failure.json │ ├── invalid-strict-for-of-let.js │ ├── invalid-var-init.failure.json │ ├── invalid-var-init.js │ ├── invalid_const_let.failure.json │ ├── invalid_const_let.js │ ├── invalid_let_let.failure.json │ ├── invalid_let_let.js │ ├── let-of-of.js │ ├── let-of-of.tree.json │ ├── unexpected-number.failure.json │ └── unexpected-number.js ├── generator │ ├── generator-declaration-with-params.js │ ├── generator-declaration-with-params.tree.json │ ├── generator-declaration-with-yield-delegate.js │ ├── generator-declaration-with-yield-delegate.tree.json │ ├── generator-declaration-with-yield.js │ ├── generator-declaration-with-yield.tree.json │ ├── generator-declaration.js │ ├── generator-declaration.tree.json │ ├── generator-expression-rest-param.js │ ├── generator-expression-rest-param.tree.json │ ├── generator-expression-with-params.js │ ├── generator-expression-with-params.tree.json │ ├── generator-expression-with-yield-delegate.js │ ├── generator-expression-with-yield-delegate.tree.json │ ├── generator-expression-with-yield.js │ ├── generator-expression-with-yield.tree.json │ ├── generator-expression.js │ ├── generator-expression.tree.json │ ├── generator-method-with-computed-name.failure.json │ ├── generator-method-with-computed-name.js │ ├── generator-method-with-invalid-computed-name.failure.json │ ├── generator-method-with-invalid-computed-name.js │ ├── generator-method-with-params.js │ ├── generator-method-with-params.tree.json │ ├── generator-method-with-yield-delegate.js │ ├── generator-method-with-yield-delegate.tree.json │ ├── generator-method-with-yield-expression.js │ ├── generator-method-with-yield-expression.tree.json │ ├── generator-method-with-yield-line-terminator.js │ ├── generator-method-with-yield-line-terminator.tree.json │ ├── generator-method-with-yield.js │ ├── generator-method-with-yield.tree.json │ ├── generator-method.js │ ├── generator-method.tree.json │ ├── generator-parameter-binding-element.failure.json │ ├── generator-parameter-binding-element.js │ ├── generator-parameter-binding-property-reserved.failure.json │ ├── generator-parameter-binding-property-reserved.js │ ├── generator-parameter-binding-property.failure.json │ ├── generator-parameter-binding-property.js │ ├── generator-parameter-computed-property-name.failure.json │ ├── generator-parameter-computed-property-name.js │ ├── generator-parameter-invalid-binding-element.failure.json │ ├── generator-parameter-invalid-binding-element.js │ ├── generator-parameter-invalid-binding-property.failure.json │ ├── generator-parameter-invalid-binding-property.js │ ├── generator-parameter-invalid-computed-property-name.failure.json │ ├── generator-parameter-invalid-computed-property-name.js │ ├── incomplete-yield-delegate.failure.json │ ├── incomplete-yield-delegate.js │ ├── invalid-labelled-generator.js │ ├── invalid-labelled-generator.tree.json │ ├── malformed-generator-method-2.failure.json │ ├── malformed-generator-method-2.js │ ├── malformed-generator-method.failure.json │ ├── malformed-generator-method.js │ ├── static-generator-method-with-computed-name.js │ ├── static-generator-method-with-computed-name.tree.json │ ├── static-generator-method.js │ └── static-generator-method.tree.json ├── identifier │ ├── dakuten_handakuten.js │ ├── dakuten_handakuten.tree.json │ ├── escaped_all.js │ ├── escaped_all.tree.json │ ├── escaped_math_alef.js │ ├── escaped_math_alef.tree.json │ ├── escaped_math_dal_part.js │ ├── escaped_math_dal_part.tree.json │ ├── escaped_math_kaf_lam.js │ ├── escaped_math_kaf_lam.tree.json │ ├── escaped_math_zain_start.js │ ├── escaped_math_zain_start.tree.json │ ├── escaped_part.js │ ├── escaped_part.tree.json │ ├── escaped_start.js │ ├── escaped_start.tree.json │ ├── estimated.js │ ├── estimated.tree.json │ ├── ethiopic_digits.js │ ├── ethiopic_digits.tree.json │ ├── invalid-hex-escape-sequence.failure.json │ ├── invalid-hex-escape-sequence.js │ ├── invalid_escaped_surrogate_pairs.failure.json │ ├── invalid_escaped_surrogate_pairs.js │ ├── invalid_expression_await.module.failure.json │ ├── invalid_expression_await.module.js │ ├── invalid_function_await.module.failure.json │ ├── invalid_function_await.module.js │ ├── invalid_id_smp.failure.json │ ├── invalid_id_smp.js │ ├── invalid_lone_surrogate.failure.json │ ├── invalid_lone_surrogate.source.js │ ├── invalid_var_await.module.failure.json │ ├── invalid_var_await.module.js │ ├── math_alef.js │ ├── math_alef.tree.json │ ├── math_dal_part.js │ ├── math_dal_part.tree.json │ ├── math_kaf_lam.js │ ├── math_kaf_lam.tree.json │ ├── math_zain_start.js │ ├── math_zain_start.tree.json │ ├── module_await.js │ ├── module_await.tree.json │ ├── valid_await.js │ ├── valid_await.tree.json │ ├── weierstrass.js │ ├── weierstrass.tree.json │ ├── weierstrass_weierstrass.js │ └── weierstrass_weierstrass.tree.json ├── import-declaration │ ├── import-default-and-named-specifiers.js │ ├── import-default-and-named-specifiers.tree.json │ ├── import-default-and-namespace-specifiers.js │ ├── import-default-and-namespace-specifiers.tree.json │ ├── import-default-as.js │ ├── import-default-as.tree.json │ ├── import-default.js │ ├── import-default.tree.json │ ├── import-jquery.js │ ├── import-jquery.tree.json │ ├── import-module.js │ ├── import-module.tree.json │ ├── import-named-as-specifier.js │ ├── import-named-as-specifier.tree.json │ ├── import-named-as-specifiers.js │ ├── import-named-as-specifiers.tree.json │ ├── import-named-empty.js │ ├── import-named-empty.tree.json │ ├── import-named-specifier.js │ ├── import-named-specifier.tree.json │ ├── import-named-specifiers-comma.js │ ├── import-named-specifiers-comma.tree.json │ ├── import-named-specifiers.js │ ├── import-named-specifiers.tree.json │ ├── import-namespace-specifier.js │ ├── import-namespace-specifier.tree.json │ ├── import-null-as-nil.js │ ├── import-null-as-nil.tree.json │ ├── invalid-import-boolean.module.failure.json │ ├── invalid-import-boolean.module.js │ ├── invalid-import-default-after-named-after-default.module.failure.json │ ├── invalid-import-default-after-named-after-default.module.js │ ├── invalid-import-default-after-named.module.failure.json │ ├── invalid-import-default-after-named.module.js │ ├── invalid-import-default-missing-module-specifier.module.failure.json │ ├── invalid-import-default-missing-module-specifier.module.js │ ├── invalid-import-default-module-specifier.module.failure.json │ ├── invalid-import-default-module-specifier.module.js │ ├── invalid-import-default.module.failure.json │ ├── invalid-import-default.module.js │ ├── invalid-import-keyword.module.failure.json │ ├── invalid-import-keyword.module.js │ ├── invalid-import-missing-comma.module.failure.json │ ├── invalid-import-missing-comma.module.js │ ├── invalid-import-missing-module-specifier.module.failure.json │ ├── invalid-import-missing-module-specifier.module.js │ ├── invalid-import-module-specifier.module.failure.json │ ├── invalid-import-module-specifier.module.js │ ├── invalid-import-named-after-named.module.failure.json │ ├── invalid-import-named-after-named.module.js │ ├── invalid-import-named-after-namespace.module.failure.json │ ├── invalid-import-named-after-namespace.module.js │ ├── invalid-import-named-as-missing-from.module.failure.json │ ├── invalid-import-named-as-missing-from.module.js │ ├── invalid-import-namespace-after-named.module.failure.json │ ├── invalid-import-namespace-after-named.module.js │ ├── invalid-import-namespace-missing-as.module.failure.json │ ├── invalid-import-namespace-missing-as.module.js │ ├── invalid-import-null.module.failure.json │ ├── invalid-import-null.module.js │ ├── invalid-import-specifiers.module.failure.json │ └── invalid-import-specifiers.module.js ├── lexical-declaration │ ├── for_let_in.js │ ├── for_let_in.tree.json │ ├── invalid_complex_binding_without_init.failure.json │ ├── invalid_complex_binding_without_init.js │ ├── invalid_const_const.failure.json │ ├── invalid_const_const.js │ ├── invalid_const_forin.failure.json │ ├── invalid_const_forin.js │ ├── invalid_const_let.failure.json │ ├── invalid_const_let.js │ ├── invalid_for_const_declarations.failure.json │ ├── invalid_for_const_declarations.js │ ├── invalid_for_const_let.failure.json │ ├── invalid_for_const_let.js │ ├── invalid_for_let_declarations.failure.json │ ├── invalid_for_let_declarations.js │ ├── invalid_for_let_init.failure.json │ ├── invalid_for_let_init.js │ ├── invalid_for_let_let.failure.json │ ├── invalid_for_let_let.js │ ├── invalid_for_let_pattern.failure.json │ ├── invalid_for_let_pattern.js │ ├── invalid_forin_const_let.failure.json │ ├── invalid_forin_const_let.js │ ├── invalid_forin_let_let.failure.json │ ├── invalid_forin_let_let.js │ ├── invalid_let_declarations.failure.json │ ├── invalid_let_declarations.js │ ├── invalid_let_for_in.failure.json │ ├── invalid_let_for_in.js │ ├── invalid_let_forin.failure.json │ ├── invalid_let_forin.js │ ├── invalid_let_init.failure.json │ ├── invalid_let_init.js │ ├── invalid_let_let.failure.json │ ├── invalid_let_let.js │ ├── invalid_strict_const_const.failure.json │ ├── invalid_strict_const_const.js │ ├── invalid_strict_const_let.failure.json │ ├── invalid_strict_const_let.js │ ├── invalid_trailing_comma_1.failure.json │ ├── invalid_trailing_comma_1.js │ ├── invalid_trailing_comma_2.failure.json │ ├── invalid_trailing_comma_2.js │ ├── invalid_trailing_comma_3.failure.json │ ├── invalid_trailing_comma_3.js │ ├── invalid_trailing_comma_4.failure.json │ ├── invalid_trailing_comma_4.js │ ├── invalid_trailing_comma_5.failure.json │ ├── invalid_trailing_comma_5.js │ ├── invalid_trailing_comma_6.failure.json │ ├── invalid_trailing_comma_6.js │ ├── invalid_trailing_comma_7.failure.json │ ├── invalid_trailing_comma_7.js │ ├── let_assign.js │ ├── let_assign.tree.json │ ├── let_identifier.js │ ├── let_identifier.tree.json │ ├── let_member.js │ ├── let_member.tree.json │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── module_let.module.js │ └── module_let.module.tree.json ├── meta-property │ ├── assign-new-target.js │ ├── assign-new-target.tree.json │ ├── invalid-dots.failure.json │ ├── invalid-dots.js │ ├── invalid-new-target.failure.json │ ├── invalid-new-target.js │ ├── new-new-target.js │ ├── new-new-target.tree.json │ ├── new-target-declaration.js │ ├── new-target-declaration.tree.json │ ├── new-target-expression.js │ ├── new-target-expression.tree.json │ ├── new-target-invoke.js │ ├── new-target-invoke.tree.json │ ├── new-target-precedence.js │ ├── new-target-precedence.tree.json │ ├── unknown-property.failure.json │ └── unknown-property.js ├── method-definition │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ └── migrated_0004.tree.json ├── object-initialiser │ ├── invalid-proto-getter-literal-identifier.failure.json │ ├── invalid-proto-getter-literal-identifier.js │ ├── invalid-proto-identifier-literal.failure.json │ ├── invalid-proto-identifier-literal.js │ ├── invalid-proto-identifiers.failure.json │ ├── invalid-proto-identifiers.js │ ├── invalid-proto-literal-identifier.failure.json │ ├── invalid-proto-literal-identifier.js │ ├── invalid-proto-literals.failure.json │ ├── invalid-proto-literals.js │ ├── invalid-proto-setter-literal-identifier.failure.json │ ├── invalid-proto-setter-literal-identifier.js │ ├── proto-identifier-getter-setter.js │ ├── proto-identifier-getter-setter.tree.json │ ├── proto-identifier-getter.js │ ├── proto-identifier-getter.tree.json │ ├── proto-identifier-method.js │ ├── proto-identifier-method.tree.json │ ├── proto-identifier-setter.js │ ├── proto-identifier-setter.tree.json │ ├── proto-identifier-shorthand.js │ ├── proto-identifier-shorthand.tree.json │ ├── proto-literal-getter-setter.js │ ├── proto-literal-getter-setter.tree.json │ ├── proto-literal-getter.js │ ├── proto-literal-getter.tree.json │ ├── proto-literal-method.js │ ├── proto-literal-method.tree.json │ ├── proto-literal-setter.js │ ├── proto-literal-setter.tree.json │ ├── proto-literal-shorthand.js │ ├── proto-literal-shorthand.tree.json │ ├── proto-shorthand-assignments.js │ ├── proto-shorthand-assignments.tree.json │ ├── proto-shorthand-identifier.js │ ├── proto-shorthand-identifier.tree.json │ ├── proto-shorthand-literal.js │ ├── proto-shorthand-literal.tree.json │ ├── proto-shorthands.js │ └── proto-shorthands.tree.json ├── object-literal-property-value-shorthand │ ├── migrated_0000.js │ └── migrated_0000.tree.json ├── octal-integer-literal │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ └── migrated_0006.tree.json ├── program │ ├── module │ │ ├── invalid-delete.module.failure.json │ │ ├── invalid-delete.module.js │ │ ├── invalid-export-if.module.failure.json │ │ ├── invalid-export-if.module.js │ │ ├── invalid-export-in-function.module.failure.json │ │ ├── invalid-export-in-function.module.js │ │ ├── invalid-import-in-function.module.failure.json │ │ ├── invalid-import-in-function.module.js │ │ ├── invalid-with.module.failure.json │ │ └── invalid-with.module.js │ └── script │ │ ├── invalid-export-declaration.failure.json │ │ ├── invalid-export-declaration.js │ │ ├── invalid-import-declaration.failure.json │ │ └── invalid-import-declaration.js ├── rest-parameter │ ├── arrow-rest-parameter-array.js │ ├── arrow-rest-parameter-array.tree.json │ ├── arrow-rest-parameter-object.js │ ├── arrow-rest-parameter-object.tree.json │ ├── function-declaration.js │ ├── function-declaration.tree.json │ ├── function-expression.js │ ├── function-expression.tree.json │ ├── invalid-setter-rest.js │ ├── invalid-setter-rest.tree.json │ ├── object-method.js │ ├── object-method.tree.json │ ├── object-shorthand-method.js │ ├── object-shorthand-method.tree.json │ ├── rest-parameter-array.js │ ├── rest-parameter-array.tree.json │ ├── rest-parameter-object.js │ └── rest-parameter-object.tree.json ├── spread-element │ ├── call-multi-spread.js │ ├── call-multi-spread.tree.json │ ├── call-spread-default.js │ ├── call-spread-default.tree.json │ ├── call-spread-first.js │ ├── call-spread-first.tree.json │ ├── call-spread-number.js │ ├── call-spread-number.tree.json │ ├── call-spread.js │ ├── call-spread.tree.json │ ├── invalid-call-dot-dot.failure.json │ ├── invalid-call-dot-dot.js │ ├── invalid-call-dots.failure.json │ ├── invalid-call-dots.js │ ├── invalid-call-spreads.failure.json │ ├── invalid-call-spreads.js │ ├── invalid-new-dot-dot.failure.json │ ├── invalid-new-dot-dot.js │ ├── invalid-new-dots.failure.json │ ├── invalid-new-dots.js │ ├── invalid-new-spreads.failure.json │ ├── invalid-new-spreads.js │ ├── new-multi-spread.js │ ├── new-multi-spread.tree.json │ ├── new-spread-default.js │ ├── new-spread-default.tree.json │ ├── new-spread-first.js │ ├── new-spread-first.tree.json │ ├── new-spread-number.js │ ├── new-spread-number.tree.json │ ├── new-spread.js │ └── new-spread.tree.json ├── super-property │ ├── arrow_super.js │ ├── arrow_super.tree.json │ ├── constructor_super.js │ ├── constructor_super.tree.json │ ├── invalid_super_access.failure.json │ ├── invalid_super_access.js │ ├── invalid_super_id.failure.json │ ├── invalid_super_id.js │ ├── invalid_super_not_inside_function.failure.json │ ├── invalid_super_not_inside_function.js │ ├── new_super.js │ ├── new_super.tree.json │ ├── super_computed.js │ ├── super_computed.tree.json │ ├── super_member.js │ └── super_member.tree.json ├── template-literals │ ├── after-switch.failure.json │ ├── after-switch.js │ ├── dollar-sign.js │ ├── dollar-sign.tree.json │ ├── escape-sequences.source.js │ ├── escape-sequences.tree.json │ ├── invalid-escape.failure.json │ ├── invalid-escape.js │ ├── invalid-hex-escape-sequence.failure.json │ ├── invalid-hex-escape-sequence.js │ ├── line-terminators.source.js │ ├── line-terminators.tree.json │ ├── literal-escape-sequences.source.js │ ├── literal-escape-sequences.tree.json │ ├── new-expression.js │ ├── new-expression.tree.json │ ├── octal-literal.failure.json │ ├── octal-literal.js │ ├── strict-octal-literal.failure.json │ ├── strict-octal-literal.js │ ├── tagged-interpolation.js │ ├── tagged-interpolation.tree.json │ ├── tagged-nested-with-object-literal.js │ ├── tagged-nested-with-object-literal.tree.json │ ├── tagged.js │ ├── tagged.tree.json │ ├── unclosed-interpolation.failure.json │ ├── unclosed-interpolation.js │ ├── unclosed-nested.failure.json │ ├── unclosed-nested.js │ ├── unclosed.failure.json │ ├── unclosed.js │ ├── untagged.js │ └── untagged.tree.json ├── unicode-code-point-escape-sequence │ ├── migrated_0000.source.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.source.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.source.js │ └── migrated_0002.tree.json └── yield │ ├── invalid-yield-binding-property.failure.json │ ├── invalid-yield-binding-property.js │ ├── invalid-yield-expression.failure.json │ ├── invalid-yield-expression.js │ ├── invalid-yield-generator-arrow-default.failure.json │ ├── invalid-yield-generator-arrow-default.js │ ├── invalid-yield-generator-arrow-parameter.failure.json │ ├── invalid-yield-generator-arrow-parameter.js │ ├── invalid-yield-generator-arrow-parameters.failure.json │ ├── invalid-yield-generator-arrow-parameters.js │ ├── invalid-yield-generator-catch.failure.json │ ├── invalid-yield-generator-catch.js │ ├── invalid-yield-generator-declaration.failure.json │ ├── invalid-yield-generator-declaration.js │ ├── invalid-yield-generator-export-default.module.failure.json │ ├── invalid-yield-generator-export-default.module.js │ ├── invalid-yield-generator-expression-name.failure.json │ ├── invalid-yield-generator-expression-name.js │ ├── invalid-yield-generator-expression-parameter.failure.json │ ├── invalid-yield-generator-expression-parameter.js │ ├── invalid-yield-generator-expression-rest.failure.json │ ├── invalid-yield-generator-expression-rest.js │ ├── invalid-yield-generator-function-declaration.failure.json │ ├── invalid-yield-generator-function-declaration.js │ ├── invalid-yield-generator-lexical-declaration.failure.json │ ├── invalid-yield-generator-lexical-declaration.js │ ├── invalid-yield-generator-member-expression.failure.json │ ├── invalid-yield-generator-member-expression.js │ ├── invalid-yield-generator-parameter.failure.json │ ├── invalid-yield-generator-parameter.js │ ├── invalid-yield-generator-rest.failure.json │ ├── invalid-yield-generator-rest.js │ ├── invalid-yield-generator-strict-function-expression.failure.json │ ├── invalid-yield-generator-strict-function-expression.js │ ├── invalid-yield-generator-strict-function-parameter.failure.json │ ├── invalid-yield-generator-strict-function-parameter.js │ ├── invalid-yield-generator-variable-declaration.failure.json │ ├── invalid-yield-generator-variable-declaration.js │ ├── invalid-yield-object-methods.js │ ├── invalid-yield-object-methods.tree.json │ ├── invalid-yield-object-property-getter.js │ ├── invalid-yield-object-property-getter.tree.json │ ├── invalid-yield-object-property-setter.js │ ├── invalid-yield-object-property-setter.tree.json │ ├── invalid-yield-strict-array-pattern.failure.json │ ├── invalid-yield-strict-array-pattern.js │ ├── invalid-yield-strict-arrow-parameter-default.failure.json │ ├── invalid-yield-strict-arrow-parameter-default.js │ ├── invalid-yield-strict-arrow-parameter-name.failure.json │ ├── invalid-yield-strict-arrow-parameter-name.js │ ├── invalid-yield-strict-binding-element.failure.json │ ├── invalid-yield-strict-binding-element.js │ ├── invalid-yield-strict-catch-parameter.failure.json │ ├── invalid-yield-strict-catch-parameter.js │ ├── invalid-yield-strict-formal-parameter.failure.json │ ├── invalid-yield-strict-formal-parameter.js │ ├── invalid-yield-strict-function-declaration.failure.json │ ├── invalid-yield-strict-function-declaration.js │ ├── invalid-yield-strict-function-expression.failure.json │ ├── invalid-yield-strict-function-expression.js │ ├── invalid-yield-strict-identifier.failure.json │ ├── invalid-yield-strict-identifier.js │ ├── invalid-yield-strict-lexical-declaration.failure.json │ ├── invalid-yield-strict-lexical-declaration.js │ ├── invalid-yield-strict-rest-parameter.failure.json │ ├── invalid-yield-strict-rest-parameter.js │ ├── invalid-yield-strict-variable-declaration.failure.json │ ├── invalid-yield-strict-variable-declaration.js │ ├── ternary-yield.js │ ├── ternary-yield.tree.json │ ├── yield-arg-array.js │ ├── yield-arg-array.tree.json │ ├── yield-arg-bitnot.js │ ├── yield-arg-bitnot.tree.json │ ├── yield-arg-class.js │ ├── yield-arg-class.tree.json │ ├── yield-arg-delete.js │ ├── yield-arg-delete.tree.json │ ├── yield-arg-function.js │ ├── yield-arg-function.tree.json │ ├── yield-arg-group.js │ ├── yield-arg-group.tree.json │ ├── yield-arg-let.js │ ├── yield-arg-let.tree.json │ ├── yield-arg-minus.js │ ├── yield-arg-minus.tree.json │ ├── yield-arg-minusminus.js │ ├── yield-arg-minusminus.tree.json │ ├── yield-arg-new.js │ ├── yield-arg-new.tree.json │ ├── yield-arg-not.js │ ├── yield-arg-not.tree.json │ ├── yield-arg-object.js │ ├── yield-arg-object.tree.json │ ├── yield-arg-plus.js │ ├── yield-arg-plus.tree.json │ ├── yield-arg-plusplus.js │ ├── yield-arg-plusplus.tree.json │ ├── yield-arg-regexp1.js │ ├── yield-arg-regexp1.tree.json │ ├── yield-arg-regexp2.js │ ├── yield-arg-regexp2.tree.json │ ├── yield-arg-super.js │ ├── yield-arg-super.tree.json │ ├── yield-arg-this.js │ ├── yield-arg-this.tree.json │ ├── yield-arg-typeof.js │ ├── yield-arg-typeof.tree.json │ ├── yield-arg-void.js │ ├── yield-arg-void.tree.json │ ├── yield-array-pattern.js │ ├── yield-array-pattern.tree.json │ ├── yield-arrow-concise-body.js │ ├── yield-arrow-concise-body.tree.json │ ├── yield-arrow-function-body.js │ ├── yield-arrow-function-body.tree.json │ ├── yield-arrow-parameter-default.js │ ├── yield-arrow-parameter-default.tree.json │ ├── yield-arrow-parameter-name.js │ ├── yield-arrow-parameter-name.tree.json │ ├── yield-binding-element.js │ ├── yield-binding-element.tree.json │ ├── yield-binding-property.js │ ├── yield-binding-property.tree.json │ ├── yield-call-expression-property.js │ ├── yield-call-expression-property.tree.json │ ├── yield-catch-parameter.js │ ├── yield-catch-parameter.tree.json │ ├── yield-expression-precedence.js │ ├── yield-expression-precedence.tree.json │ ├── yield-function-declaration-formal-parameter.js │ ├── yield-function-declaration-formal-parameter.tree.json │ ├── yield-function-declaration.js │ ├── yield-function-declaration.tree.json │ ├── yield-function-expression-parameter.js │ ├── yield-function-expression-parameter.tree.json │ ├── yield-function-expression.js │ ├── yield-function-expression.tree.json │ ├── yield-generator-arrow-concise-body.js │ ├── yield-generator-arrow-concise-body.tree.json │ ├── yield-generator-arrow-default.js │ ├── yield-generator-arrow-default.tree.json │ ├── yield-generator-arrow-function-body.js │ ├── yield-generator-arrow-function-body.tree.json │ ├── yield-generator-declaration.js │ ├── yield-generator-declaration.tree.json │ ├── yield-generator-default-parameter.js │ ├── yield-generator-default-parameter.tree.json │ ├── yield-generator-function-expression.js │ ├── yield-generator-function-expression.tree.json │ ├── yield-generator-function-parameter.js │ ├── yield-generator-function-parameter.tree.json │ ├── yield-generator-method.js │ ├── yield-generator-method.tree.json │ ├── yield-generator-parameter-object-pattern.js │ ├── yield-generator-parameter-object-pattern.tree.json │ ├── yield-lexical-declaration.js │ ├── yield-lexical-declaration.tree.json │ ├── yield-member-expression-property.js │ ├── yield-member-expression-property.tree.json │ ├── yield-method.js │ ├── yield-method.tree.json │ ├── yield-parameter-object-pattern.js │ ├── yield-parameter-object-pattern.tree.json │ ├── yield-rest-parameter.js │ ├── yield-rest-parameter.tree.json │ ├── yield-strict-binding-property.js │ ├── yield-strict-binding-property.tree.json │ ├── yield-strict-method.js │ ├── yield-strict-method.tree.json │ ├── yield-super-property.js │ ├── yield-super-property.tree.json │ ├── yield-variable-declaration.js │ ├── yield-variable-declaration.tree.json │ ├── yield-yield-expression-delegate.js │ ├── yield-yield-expression-delegate.tree.json │ ├── yield-yield-expression.js │ └── yield-yield-expression.tree.json ├── ESnext ├── classProperties.js └── classProperties.tree.json ├── JSX ├── attribute-double-quoted-string.js ├── attribute-double-quoted-string.tree.json ├── attribute-element.js ├── attribute-element.tree.json ├── attribute-empty-entity1.js ├── attribute-empty-entity1.tree.json ├── attribute-empty-entity2.js ├── attribute-empty-entity2.tree.json ├── attribute-entity-decimal.js ├── attribute-entity-decimal.tree.json ├── attribute-entity-hex.js ├── attribute-entity-hex.tree.json ├── attribute-entity.js ├── attribute-entity.tree.json ├── attribute-expression.js ├── attribute-expression.tree.json ├── attribute-illegal-short-entity.js ├── attribute-illegal-short-entity.tree.json ├── attribute-invalid-entity.js ├── attribute-invalid-entity.tree.json ├── attribute-multi-entities.js ├── attribute-multi-entities.tree.json ├── attribute-non-hex-entity.js ├── attribute-non-hex-entity.tree.json ├── attribute-non-numeric-entity.js ├── attribute-non-numeric-entity.tree.json ├── attribute-null-value.js ├── attribute-null-value.tree.json ├── attribute-primary.js ├── attribute-primary.tree.json ├── attribute-single-quoted-string.js ├── attribute-single-quoted-string.tree.json ├── attribute-spread.js ├── attribute-spread.tree.json ├── attribute-unknown-entity.js ├── attribute-unknown-entity.tree.json ├── attribute-unterminated-entity.js ├── attribute-unterminated-entity.tree.json ├── attribute-x-entity.js ├── attribute-x-entity.tree.json ├── container-numeric-literal.js ├── container-numeric-literal.tree.json ├── container-object-expression.js ├── container-object-expression.tree.json ├── container-series.js ├── container-series.tree.json ├── empty-child-comment.js ├── empty-child-comment.tree.json ├── empty-expression-container.js ├── empty-expression-container.tree.json ├── inside-group-expression.js ├── inside-group-expression.tree.json ├── invalid-attribute-value-trail.failure.json ├── invalid-attribute-value-trail.js ├── invalid-closing-trail.failure.json ├── invalid-closing-trail.js ├── invalid-element.failure.json ├── invalid-element.js ├── invalid-empty-attribute-expression.failure.json ├── invalid-empty-attribute-expression.js ├── invalid-empty-selfclosing.failure.json ├── invalid-empty-selfclosing.js ├── invalid-incomplete-namespace.failure.json ├── invalid-incomplete-namespace.js ├── invalid-match-member.failure.json ├── invalid-match-member.js ├── invalid-match-name-namespace.failure.json ├── invalid-match-name-namespace.js ├── invalid-match-namespace-name.failure.json ├── invalid-match-namespace-name.js ├── invalid-match-namespace.failure.json ├── invalid-match-namespace.js ├── invalid-match.failure.json ├── invalid-match.js ├── invalid-member-incomplete.failure.json ├── invalid-member-incomplete.js ├── invalid-no-closing.failure.json ├── invalid-no-closing.js ├── invalid-self-closing.failure.json ├── invalid-self-closing.js ├── invalid-start-member.failure.json ├── invalid-start-member.js ├── invalid-start-namespace.failure.json ├── invalid-start-namespace.js ├── long-member-pair.js ├── long-member-pair.tree.json ├── long-member.js ├── long-member.tree.json ├── multi-attributes.js ├── multi-attributes.tree.json ├── multiline-crlf-text.js ├── multiline-crlf-text.tree.json ├── multiline-text.js ├── multiline-text.tree.json ├── nested-elements.js ├── nested-elements.tree.json ├── null-attribute-value.js ├── null-attribute-value.tree.json ├── simple-deeply-nested-pair.js ├── simple-deeply-nested-pair.tree.json ├── simple-expression-container.js ├── simple-expression-container.tree.json ├── simple-member-pair.js ├── simple-member-pair.tree.json ├── simple-member.js ├── simple-member.tree.json ├── simple-namespace-pair.js ├── simple-namespace-pair.tree.json ├── simple-namespace.js ├── simple-namespace.tree.json ├── simple-nested-pair.js ├── simple-nested-pair.tree.json ├── simple-pair.js ├── simple-pair.tree.json ├── simple-selfclosing-linefeed.js ├── simple-selfclosing-linefeed.tree.json ├── simple-selfclosing-whitespace.js ├── simple-selfclosing-whitespace.tree.json ├── simple-selfclosing.js ├── simple-selfclosing.tree.json ├── simple-text.js ├── simple-text.tree.json ├── template-literal.js ├── template-literal.tree.json ├── yield-jsx-element.js └── yield-jsx-element.tree.json ├── automatic-semicolon-insertion ├── migrated_0000.js ├── migrated_0000.tree.json ├── migrated_0001.js ├── migrated_0001.tree.json ├── migrated_0002.js ├── migrated_0002.tree.json ├── migrated_0003.js ├── migrated_0003.tree.json ├── migrated_0004.js ├── migrated_0004.tree.json ├── migrated_0005.js ├── migrated_0005.tree.json ├── migrated_0006.js ├── migrated_0006.tree.json ├── migrated_0007.js ├── migrated_0007.tree.json ├── migrated_0008.js ├── migrated_0008.tree.json ├── migrated_0009.js ├── migrated_0009.tree.json ├── migrated_0010.js ├── migrated_0010.tree.json ├── migrated_0011.js ├── migrated_0011.tree.json ├── migrated_0012.js ├── migrated_0012.tree.json ├── migrated_0013.js ├── migrated_0013.tree.json ├── migrated_0014.js ├── migrated_0014.tree.json ├── migrated_0015.js └── migrated_0015.tree.json ├── comment ├── html-comment.module.js ├── html-comment.module.tree.json ├── migrated_0000.js ├── migrated_0000.tree.json ├── migrated_0001.js ├── migrated_0001.tree.json ├── migrated_0002.js ├── migrated_0002.tree.json ├── migrated_0003.js ├── migrated_0003.tree.json ├── migrated_0004.js ├── migrated_0004.tree.json ├── migrated_0005.js ├── migrated_0005.tree.json ├── migrated_0006.js ├── migrated_0006.tree.json ├── migrated_0007.js ├── migrated_0007.tree.json ├── migrated_0008.js ├── migrated_0008.tree.json ├── migrated_0009.js ├── migrated_0009.tree.json ├── migrated_0010.js ├── migrated_0010.tree.json ├── migrated_0011.js ├── migrated_0011.tree.json ├── migrated_0012.js ├── migrated_0012.tree.json ├── migrated_0013.js ├── migrated_0013.tree.json ├── migrated_0014.js ├── migrated_0014.tree.json ├── migrated_0015.js ├── migrated_0015.tree.json ├── migrated_0016.js ├── migrated_0016.tree.json ├── migrated_0017.js ├── migrated_0017.tree.json ├── migrated_0018.js ├── migrated_0018.tree.json ├── migrated_0019.js ├── migrated_0019.tree.json ├── migrated_0020.js ├── migrated_0020.tree.json ├── migrated_0021.js ├── migrated_0021.tree.json ├── migrated_0022.js ├── migrated_0022.tree.json ├── migrated_0023.js ├── migrated_0023.tree.json ├── migrated_0024.js ├── migrated_0024.tree.json ├── migrated_0025.js ├── migrated_0025.tree.json ├── migrated_0026.js ├── migrated_0026.tree.json ├── migrated_0027.js ├── migrated_0027.tree.json ├── migrated_0028.js ├── migrated_0028.tree.json ├── migrated_0029.js ├── migrated_0029.tree.json ├── migrated_0030.js ├── migrated_0030.tree.json ├── migrated_0031.js ├── migrated_0031.tree.json ├── migrated_0032.js ├── migrated_0032.tree.json ├── migrated_0033.js ├── migrated_0033.tree.json ├── migrated_0034.js ├── migrated_0034.tree.json ├── migrated_0035.js ├── migrated_0035.tree.json ├── migrated_0036.js ├── migrated_0036.tree.json ├── migrated_0037.js ├── migrated_0037.tree.json ├── migrated_0038.js ├── migrated_0038.tree.json ├── migrated_0039.js ├── migrated_0039.tree.json ├── migrated_0040.js ├── migrated_0040.tree.json ├── migrated_0041.js ├── migrated_0041.tree.json ├── migrated_0042.js ├── migrated_0042.tree.json ├── migrated_0043.js ├── migrated_0043.tree.json ├── migrated_0044.js ├── migrated_0044.tree.json ├── migrated_0045.js ├── migrated_0045.tree.json ├── migrated_0046.js ├── migrated_0046.tree.json ├── migrated_0047.js ├── migrated_0047.tree.json ├── migrated_0048.js ├── migrated_0048.tree.json ├── migrated_0049.js ├── migrated_0049.tree.json ├── migrated_0050.js ├── migrated_0050.tree.json ├── migrated_0051.js ├── migrated_0051.tree.json ├── migrated_0052.js ├── migrated_0052.tree.json ├── migrated_0053.js ├── migrated_0053.tree.json ├── migrated_0054.js ├── migrated_0054.tree.json ├── migrated_0055.js └── migrated_0055.tree.json ├── declaration ├── const │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── function │ ├── dupe-param.js │ ├── dupe-param.tree.json │ ├── invalid-strict-labelled-function-declaration.js │ ├── invalid-strict-labelled-function-declaration.tree.json │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── migrated_0007.js │ ├── migrated_0007.tree.json │ ├── migrated_0008.js │ ├── migrated_0008.tree.json │ ├── migrated_0009.js │ ├── migrated_0009.tree.json │ ├── migrated_0010.js │ ├── migrated_0010.tree.json │ ├── migrated_0011.js │ ├── migrated_0011.tree.json │ ├── migrated_0012.js │ ├── migrated_0012.tree.json │ ├── migrated_0013.js │ ├── migrated_0013.tree.json │ ├── migrated_0014.js │ └── migrated_0014.tree.json └── let │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ └── migrated_0003.tree.json ├── directive-prolog ├── migrated_0000.js ├── migrated_0000.tree.json ├── migrated_0001.js └── migrated_0001.tree.json ├── es2017 ├── async │ ├── arrows │ │ ├── assigned-async-arrow.js │ │ ├── assigned-async-arrow.tree.json │ │ ├── async-arrow-as-last-parameter.js │ │ ├── async-arrow-as-last-parameter.tree.json │ │ ├── async-arrow-as-parameter.js │ │ ├── async-arrow-as-parameter.tree.json │ │ ├── async-arrow-multi-args-await.js │ │ ├── async-arrow-multi-args-await.tree.json │ │ ├── async-arrow-multi-args-concise-await.js │ │ ├── async-arrow-multi-args-concise-await.tree.json │ │ ├── async-arrow-multi-args-concise.js │ │ ├── async-arrow-multi-args-concise.tree.json │ │ ├── async-arrow-multi-args.js │ │ ├── async-arrow-multi-args.tree.json │ │ ├── async-arrow-no-arg.js │ │ ├── async-arrow-no-arg.tree.json │ │ ├── async-arrow-object-pattern-parameter.js │ │ ├── async-arrow-object-pattern-parameter.tree.json │ │ ├── async-arrow-one-arg-await.js │ │ ├── async-arrow-one-arg-await.tree.json │ │ ├── async-arrow-one-arg-concise-await.js │ │ ├── async-arrow-one-arg-concise-await.tree.json │ │ ├── async-arrow-one-arg-concise.js │ │ ├── async-arrow-one-arg-concise.tree.json │ │ ├── async-arrow-one-arg.js │ │ ├── async-arrow-one-arg.tree.json │ │ ├── async-arrow-parenthesized-await.js │ │ ├── async-arrow-parenthesized-await.tree.json │ │ ├── async-arrow-parenthesized-concise-await.js │ │ ├── async-arrow-parenthesized-concise-await.tree.json │ │ ├── async-arrow-parenthesized-concise.js │ │ ├── async-arrow-parenthesized-concise.tree.json │ │ ├── async-arrow-parenthesized-yield.js │ │ ├── async-arrow-parenthesized-yield.tree.json │ │ ├── async-arrow-parenthesized.js │ │ ├── async-arrow-parenthesized.tree.json │ │ ├── async-arrow-pattern-parameter.js │ │ ├── async-arrow-pattern-parameter.tree.json │ │ ├── async-arrow-rest.js │ │ ├── async-arrow-rest.tree.json │ │ ├── async-arrow-trailing-comma.js │ │ ├── async-arrow-trailing-comma.tree.json │ │ ├── async-arrow-yield.js │ │ ├── async-arrow-yield.tree.json │ │ ├── export-async-arrow.module.js │ │ ├── export-async-arrow.module.tree.json │ │ ├── export-default-async-arrow.module.js │ │ ├── export-default-async-arrow.module.tree.json │ │ ├── invalid-async-line-terminator1.failure.json │ │ ├── invalid-async-line-terminator1.js │ │ ├── invalid-async-line-terminator2.failure.json │ │ ├── invalid-async-line-terminator2.js │ │ ├── invalid-async-line-terminator3.failure.json │ │ ├── invalid-async-line-terminator3.js │ │ ├── invalid-async-line-terminator4.failure.json │ │ ├── invalid-async-line-terminator4.js │ │ ├── invalid-async-line-terminator5.failure.json │ │ └── invalid-async-line-terminator5.js │ ├── functions │ │ ├── argument-async-function-expression.js │ │ ├── argument-async-function-expression.tree.json │ │ ├── async-function-declaration-await.js │ │ ├── async-function-declaration-await.tree.json │ │ ├── async-function-declaration.js │ │ ├── async-function-declaration.tree.json │ │ ├── async-function-expression-as-parameter.js │ │ ├── async-function-expression-as-parameter.tree.json │ │ ├── async-function-expression-await.js │ │ ├── async-function-expression-await.tree.json │ │ ├── async-function-expression-named-await.js │ │ ├── async-function-expression-named-await.tree.json │ │ ├── async-function-expression-named.js │ │ ├── async-function-expression-named.tree.json │ │ ├── async-function-expression.js │ │ ├── async-function-expression.tree.json │ │ ├── async-if-await.js │ │ ├── async-if-await.tree.json │ │ ├── async-if.js │ │ ├── async-if.tree.json │ │ ├── export-async-function-declaration-await.module.js │ │ ├── export-async-function-declaration-await.module.tree.json │ │ ├── export-async-function-declaration.module.js │ │ ├── export-async-function-declaration.module.tree.json │ │ ├── export-default-async-function-declaration.module.js │ │ ├── export-default-async-function-declaration.module.tree.json │ │ ├── export-default-async-named-function-declaration-await.module.js │ │ ├── export-default-async-named-function-declaration-await.module.tree.json │ │ ├── export-default-async-named-function-declaration.module.js │ │ ├── export-default-async-named-function-declaration.module.tree.json │ │ ├── inner-function-async.js │ │ ├── inner-function-async.tree.json │ │ ├── invalid-async-line-terminator-expression.failure.json │ │ ├── invalid-async-line-terminator-expression.js │ │ ├── invalid-async-while.failure.json │ │ ├── invalid-async-while.js │ │ ├── invalid-export-async-function-expression.module.failure.json │ │ ├── invalid-export-async-function-expression.module.js │ │ ├── invalid-generator-declaration.failure.json │ │ ├── invalid-generator-declaration.js │ │ ├── invalid-generator-expression.failure.json │ │ └── invalid-generator-expression.js │ ├── invalid-await │ │ ├── invalid-await-declaration1.failure.json │ │ ├── invalid-await-declaration1.js │ │ ├── invalid-await-declaration2.failure.json │ │ ├── invalid-await-declaration2.js │ │ ├── invalid-await-declaration3.failure.json │ │ ├── invalid-await-declaration3.js │ │ ├── invalid-await-declaration4.failure.json │ │ ├── invalid-await-declaration4.js │ │ ├── invalid-await-function-name1.failure.json │ │ ├── invalid-await-function-name1.js │ │ ├── invalid-await-function-name2.failure.json │ │ ├── invalid-await-function-name2.js │ │ ├── invalid-await-identifier1.failure.json │ │ ├── invalid-await-identifier1.js │ │ ├── invalid-await-identifier2.failure.json │ │ ├── invalid-await-identifier2.js │ │ ├── invalid-await-method.failure.json │ │ ├── invalid-await-method.js │ │ ├── invalid-await-no-argument1.failure.json │ │ ├── invalid-await-no-argument1.js │ │ ├── invalid-await-no-argument2.failure.json │ │ ├── invalid-await-no-argument2.js │ │ ├── invalid-await-object-expression1.failure.json │ │ ├── invalid-await-object-expression1.js │ │ ├── invalid-await-object-expression2.failure.json │ │ ├── invalid-await-object-expression2.js │ │ ├── invalid-await-outside-async.failure.json │ │ ├── invalid-await-outside-async.js │ │ ├── invalid-await-parameter1.failure.json │ │ ├── invalid-await-parameter1.js │ │ ├── invalid-await-parameter2.failure.json │ │ ├── invalid-await-parameter2.js │ │ ├── invalid-await-parameter3.failure.json │ │ ├── invalid-await-parameter3.js │ │ ├── invalid-await-parameter4.failure.json │ │ ├── invalid-await-parameter4.js │ │ ├── invalid-await-parameter5.failure.json │ │ ├── invalid-await-parameter5.js │ │ ├── invalid-await-parameter6.failure.json │ │ ├── invalid-await-parameter6.js │ │ ├── invalid-await-parameter7.failure.json │ │ ├── invalid-await-parameter7.js │ │ ├── invalid-await-property.failure.json │ │ └── invalid-await-property.js │ ├── methods │ │ ├── async-method-await.js │ │ ├── async-method-await.tree.json │ │ ├── async-method-computed.js │ │ ├── async-method-computed.tree.json │ │ ├── async-method-literal.js │ │ ├── async-method-literal.tree.json │ │ ├── async-method-number.js │ │ ├── async-method-number.tree.json │ │ ├── async-method.js │ │ ├── async-method.tree.json │ │ ├── class-async-get.js │ │ ├── class-async-get.tree.json │ │ ├── class-async-method-await.js │ │ ├── class-async-method-await.tree.json │ │ ├── class-async-method-computed.js │ │ ├── class-async-method-computed.tree.json │ │ ├── class-async-method-literal.js │ │ ├── class-async-method-literal.tree.json │ │ ├── class-async-method-number.js │ │ ├── class-async-method-number.tree.json │ │ ├── class-async-method.js │ │ ├── class-async-method.tree.json │ │ ├── class-async-set.js │ │ ├── class-async-set.tree.json │ │ ├── class-static-async-get.js │ │ ├── class-static-async-get.tree.json │ │ ├── class-static-async-method-await.js │ │ ├── class-static-async-method-await.tree.json │ │ ├── class-static-async-method.js │ │ ├── class-static-async-method.tree.json │ │ ├── class-static-async-set.js │ │ ├── class-static-async-set.tree.json │ │ ├── invalid-async-class-constructor.failure.json │ │ ├── invalid-async-class-constructor.js │ │ ├── invalid-async-class-generator.failure.json │ │ ├── invalid-async-class-generator.js │ │ ├── invalid-async-generator.failure.json │ │ ├── invalid-async-generator.js │ │ ├── invalid-async-getter.failure.json │ │ ├── invalid-async-getter.js │ │ ├── invalid-async-line-terminator-method.failure.json │ │ ├── invalid-async-line-terminator-method.js │ │ ├── invalid-async-line-terminator-property.failure.json │ │ ├── invalid-async-line-terminator-property.js │ │ ├── invalid-async-line-terminator-static-method.failure.json │ │ ├── invalid-async-line-terminator-static-method.js │ │ ├── invalid-async-method.failure.json │ │ ├── invalid-async-method.js │ │ ├── invalid-async-setter.failure.json │ │ ├── invalid-async-setter.js │ │ ├── invalid-async-static.failure.json │ │ ├── invalid-async-static.js │ │ ├── invalid-static-async-class-generator.failure.json │ │ └── invalid-static-async-class-generator.js │ └── regular-identifier │ │ ├── argument-async-call.js │ │ ├── argument-async-call.tree.json │ │ ├── async-arrow-parameter1.js │ │ ├── async-arrow-parameter1.tree.json │ │ ├── async-arrow-parameter2.js │ │ ├── async-arrow-parameter2.tree.json │ │ ├── await-function-name.js │ │ ├── await-function-name.tree.json │ │ ├── await-method-name.js │ │ ├── await-method-name.tree.json │ │ ├── await-static-name.js │ │ ├── await-static-name.tree.json │ │ ├── call-async-await.js │ │ ├── call-async-await.tree.json │ │ ├── call-async.js │ │ ├── call-async.tree.json │ │ ├── export-identifier-async.module.js │ │ ├── export-identifier-async.module.tree.json │ │ ├── expr-async.js │ │ ├── expr-async.tree.json │ │ ├── generator-name-async.js │ │ ├── generator-name-async.tree.json │ │ ├── identifier-async.js │ │ ├── identifier-async.tree.json │ │ ├── label-async.js │ │ ├── label-async.tree.json │ │ ├── line-terminator-arrow.js │ │ ├── line-terminator-arrow.tree.json │ │ ├── line-terminator-async.js │ │ ├── line-terminator-async.tree.json │ │ ├── line-terminator-parenthesized-arrow.failure.json │ │ ├── line-terminator-parenthesized-arrow.js │ │ ├── method-name-async.js │ │ ├── method-name-async.tree.json │ │ ├── property-async.js │ │ ├── property-async.tree.json │ │ ├── proto-identifier-shorthand-with-async.js │ │ ├── proto-identifier-shorthand-with-async.tree.json │ │ ├── static-generator-name-async.js │ │ ├── static-generator-name-async.tree.json │ │ ├── static-name-async.js │ │ └── static-name-async.tree.json ├── for-statement │ ├── invalid-var-init-forin1.failure.json │ ├── invalid-var-init-forin1.js │ ├── invalid-var-init-forin2.failure.json │ ├── invalid-var-init-forin2.js │ ├── invalid-var-init-forin3.failure.json │ ├── invalid-var-init-forin3.js │ ├── invalid-var-init-forin4.failure.json │ ├── invalid-var-init-forin4.js │ ├── invalid-var-init-forin5.failure.json │ └── invalid-var-init-forin5.js └── trailing-commas │ ├── invalid-empty-arrow.failure.json │ ├── invalid-empty-arrow.js │ ├── invalid-empty-call.failure.json │ ├── invalid-empty-call.js │ ├── invalid-empty-constructor.failure.json │ ├── invalid-empty-constructor.js │ ├── invalid-empty-method.failure.json │ ├── invalid-empty-method.js │ ├── invalid-empty-parameters.failure.json │ ├── invalid-empty-parameters.js │ ├── invalid-rest.failure.json │ ├── invalid-rest.js │ ├── invalid-sequence.failure.json │ ├── invalid-sequence.js │ ├── invalid-trailing-comma-getter.failure.json │ ├── invalid-trailing-comma-getter.js │ ├── trailing-comma-arrow-multi.js │ ├── trailing-comma-arrow-multi.tree.json │ ├── trailing-comma-arrow-single.js │ ├── trailing-comma-arrow-single.tree.json │ ├── trailing-comma-arrow.js │ ├── trailing-comma-arrow.tree.json │ ├── trailing-comma-call.js │ ├── trailing-comma-call.tree.json │ ├── trailing-comma-constructor.js │ ├── trailing-comma-constructor.tree.json │ ├── trailing-comma-export-function.js │ ├── trailing-comma-export-function.tree.json │ ├── trailing-comma-function-declaration.js │ ├── trailing-comma-function-declaration.tree.json │ ├── trailing-comma-function-expression.js │ ├── trailing-comma-function-expression.tree.json │ ├── trailing-comma-method.js │ ├── trailing-comma-method.tree.json │ ├── trailing-comma-new.js │ ├── trailing-comma-new.tree.json │ ├── trailing-comma-spread.js │ └── trailing-comma-spread.tree.json ├── es2018 ├── dynamic-import │ ├── await-import.js │ ├── await-import.tree.json │ ├── coexist-import-call-import-declaration.module.js │ ├── coexist-import-call-import-declaration.module.tree.json │ ├── import-call-string.js │ ├── import-call-string.tree.json │ ├── import-call-template.js │ ├── import-call-template.tree.json │ ├── import-call-var.js │ ├── import-call-var.tree.json │ ├── invalid-import-call-many-arguments.js │ ├── invalid-import-call-many-arguments.tree.json │ ├── invalid-import-call-no-argument.js │ ├── invalid-import-call-no-argument.tree.json │ ├── invalid-new-import-call.failure.json │ ├── invalid-new-import-call.js │ ├── invalid-non-callee.failure.json │ ├── invalid-non-callee.js │ ├── loader-using-import.js │ └── loader-using-import.tree.json ├── rest-property │ ├── destructuring-mirror.js │ ├── destructuring-mirror.tree.json │ ├── function-extension.js │ ├── function-extension.tree.json │ ├── invalid-default-rest-property.failure.json │ ├── invalid-default-rest-property.js │ ├── invalid-property-after-rest.failure.json │ ├── invalid-property-after-rest.js │ ├── rest-property-object-pattern-arrow.js │ ├── rest-property-object-pattern-arrow.tree.json │ ├── shallow-clone.js │ ├── shallow-clone.tree.json │ ├── simple-rest-properties.js │ └── simple-rest-properties.tree.json └── spread-property │ ├── default-properties.js │ ├── default-properties.tree.json │ ├── multiple-merges.js │ ├── multiple-merges.tree.json │ ├── object-initializer-getter.js │ ├── object-initializer-getter.tree.json │ ├── object-merging.js │ ├── object-merging.tree.json │ ├── properties-overriding.js │ ├── properties-overriding.tree.json │ ├── shallow-clone.js │ ├── shallow-clone.tree.json │ ├── spread-getter.js │ ├── spread-getter.tree.json │ ├── spread-null-undefined.js │ └── spread-null-undefined.tree.json ├── expression ├── additive │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── assignment │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── migrated_0007.js │ ├── migrated_0007.tree.json │ ├── migrated_0008.js │ ├── migrated_0008.tree.json │ ├── migrated_0009.js │ ├── migrated_0009.tree.json │ ├── migrated_0010.js │ ├── migrated_0010.tree.json │ ├── migrated_0011.js │ ├── migrated_0011.tree.json │ ├── migrated_0012.js │ ├── migrated_0012.tree.json │ ├── migrated_0013.js │ └── migrated_0013.tree.json ├── binary-bitwise │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── binary-logical │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ └── migrated_0005.tree.json ├── binary │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── migrated_0007.js │ ├── migrated_0007.tree.json │ ├── migrated_0008.js │ ├── migrated_0008.tree.json │ ├── migrated_0009.js │ ├── migrated_0009.tree.json │ ├── migrated_0010.js │ ├── migrated_0010.tree.json │ ├── migrated_0011.js │ ├── migrated_0011.tree.json │ ├── migrated_0012.js │ ├── migrated_0012.tree.json │ ├── migrated_0013.js │ ├── migrated_0013.tree.json │ ├── migrated_0014.js │ ├── migrated_0014.tree.json │ ├── migrated_0015.js │ ├── migrated_0015.tree.json │ ├── migrated_0016.js │ ├── migrated_0016.tree.json │ ├── migrated_0017.js │ ├── migrated_0017.tree.json │ ├── multiline_string.js │ └── multiline_string.tree.json ├── bitwise-shift │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── complex │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ └── migrated_0001.tree.json ├── conditional │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── equality │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ └── migrated_0003.tree.json ├── grouping │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ └── migrated_0001.tree.json ├── left-hand-side │ ├── let_object_computed.js │ ├── let_object_computed.tree.json │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── migrated_0007.js │ ├── migrated_0007.tree.json │ ├── migrated_0008.js │ ├── migrated_0008.tree.json │ ├── migrated_0009.js │ ├── migrated_0009.tree.json │ ├── migrated_0010.js │ ├── migrated_0010.tree.json │ ├── migrated_0011.js │ ├── migrated_0011.tree.json │ ├── migrated_0012.js │ ├── migrated_0012.tree.json │ ├── migrated_0013.js │ ├── migrated_0013.tree.json │ ├── migrated_0014.js │ ├── migrated_0014.tree.json │ ├── migrated_0015.js │ ├── migrated_0015.tree.json │ ├── migrated_0016.js │ ├── migrated_0016.tree.json │ ├── migrated_0017.js │ ├── migrated_0017.tree.json │ ├── migrated_0018.js │ ├── migrated_0018.tree.json │ ├── migrated_0019.js │ ├── migrated_0019.tree.json │ ├── migrated_0020.js │ ├── migrated_0020.tree.json │ ├── migrated_0021.js │ ├── migrated_0021.tree.json │ ├── migrated_0022.js │ └── migrated_0022.tree.json ├── multiplicative │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── postfix │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ └── migrated_0005.tree.json ├── primary │ ├── array │ │ ├── migrated_0000.js │ │ ├── migrated_0000.tree.json │ │ ├── migrated_0001.js │ │ ├── migrated_0001.tree.json │ │ ├── migrated_0002.js │ │ ├── migrated_0002.tree.json │ │ ├── migrated_0003.js │ │ ├── migrated_0003.tree.json │ │ ├── migrated_0004.js │ │ ├── migrated_0004.tree.json │ │ ├── migrated_0005.js │ │ ├── migrated_0005.tree.json │ │ ├── migrated_0006.js │ │ ├── migrated_0006.tree.json │ │ ├── migrated_0007.js │ │ ├── migrated_0007.tree.json │ │ ├── migrated_0008.source.js │ │ ├── migrated_0008.tree.json │ │ ├── migrated_0009.source.js │ │ ├── migrated_0009.tree.json │ │ ├── migrated_0010.source.js │ │ ├── migrated_0010.tree.json │ │ ├── migrated_0011.source.js │ │ ├── migrated_0011.tree.json │ │ ├── migrated_0012.source.js │ │ └── migrated_0012.tree.json │ ├── keyword │ │ ├── invalid-escaped-if.js │ │ ├── invalid-escaped-if.tree.json │ │ ├── invalid-escaped-null.js │ │ ├── invalid-escaped-null.tree.json │ │ ├── invalid-escaped-true.js │ │ └── invalid-escaped-true.tree.json │ ├── literal │ │ ├── numeric │ │ │ ├── invalid_hex.failure.json │ │ │ ├── invalid_hex.js │ │ │ ├── migrated_0000.js │ │ │ ├── migrated_0000.tree.json │ │ │ ├── migrated_0001.js │ │ │ ├── migrated_0001.tree.json │ │ │ ├── migrated_0002.js │ │ │ ├── migrated_0002.tree.json │ │ │ ├── migrated_0003.js │ │ │ ├── migrated_0003.tree.json │ │ │ ├── migrated_0004.js │ │ │ ├── migrated_0004.tree.json │ │ │ ├── migrated_0005.js │ │ │ ├── migrated_0005.tree.json │ │ │ ├── migrated_0006.js │ │ │ ├── migrated_0006.tree.json │ │ │ ├── migrated_0007.js │ │ │ ├── migrated_0007.tree.json │ │ │ ├── migrated_0008.js │ │ │ ├── migrated_0008.tree.json │ │ │ ├── migrated_0009.js │ │ │ ├── migrated_0009.tree.json │ │ │ ├── migrated_0010.js │ │ │ ├── migrated_0010.tree.json │ │ │ ├── migrated_0011.js │ │ │ ├── migrated_0011.tree.json │ │ │ ├── migrated_0012.js │ │ │ ├── migrated_0012.tree.json │ │ │ ├── migrated_0013.js │ │ │ ├── migrated_0013.tree.json │ │ │ ├── migrated_0014.js │ │ │ ├── migrated_0014.tree.json │ │ │ ├── migrated_0015.js │ │ │ ├── migrated_0015.tree.json │ │ │ ├── migrated_0016.js │ │ │ ├── migrated_0016.tree.json │ │ │ ├── migrated_0017.js │ │ │ ├── migrated_0017.tree.json │ │ │ ├── migrated_0018.js │ │ │ ├── migrated_0018.tree.json │ │ │ ├── migrated_0019.js │ │ │ ├── migrated_0019.tree.json │ │ │ ├── migrated_0020.js │ │ │ ├── migrated_0020.tree.json │ │ │ ├── migrated_0021.js │ │ │ ├── migrated_0021.tree.json │ │ │ ├── migrated_0022.js │ │ │ ├── migrated_0022.tree.json │ │ │ ├── migrated_0023.js │ │ │ ├── migrated_0023.tree.json │ │ │ ├── migrated_0024.js │ │ │ └── migrated_0024.tree.json │ │ ├── regular-expression │ │ │ ├── migrated_0000.js │ │ │ ├── migrated_0000.tree.json │ │ │ ├── migrated_0001.js │ │ │ ├── migrated_0001.tree.json │ │ │ ├── migrated_0002.js │ │ │ ├── migrated_0002.tree.json │ │ │ ├── migrated_0003.js │ │ │ ├── migrated_0003.tree.json │ │ │ ├── migrated_0004.js │ │ │ ├── migrated_0004.tree.json │ │ │ ├── migrated_0005.source.js │ │ │ ├── migrated_0005.tree.json │ │ │ ├── migrated_0006.failure.json │ │ │ ├── migrated_0006.source.js │ │ │ ├── migrated_0007.js │ │ │ ├── migrated_0007.tree.json │ │ │ ├── migrated_0008.js │ │ │ ├── migrated_0008.tree.json │ │ │ ├── migrated_0009.js │ │ │ ├── migrated_0009.tree.json │ │ │ ├── migrated_0010.js │ │ │ ├── migrated_0010.tree.json │ │ │ ├── migrated_0011.js │ │ │ ├── migrated_0011.tree.json │ │ │ ├── migrated_0012.js │ │ │ ├── migrated_0012.tree.json │ │ │ ├── migrated_0013.js │ │ │ ├── migrated_0013.tree.json │ │ │ ├── u-flag-invalid-range-4-hex.failure.json │ │ │ ├── u-flag-invalid-range-4-hex.js │ │ │ ├── u-flag-invalid-range-var-hex.failure.json │ │ │ ├── u-flag-invalid-range-var-hex.js │ │ │ ├── u-flag-surrogate-pair.js │ │ │ ├── u-flag-surrogate-pair.tree.json │ │ │ ├── u-flag-valid-range.js │ │ │ └── u-flag-valid-range.tree.json │ │ └── string │ │ │ ├── invalid_escaped_hex.failure.json │ │ │ ├── invalid_escaped_hex.js │ │ │ ├── invalid_hex.failure.json │ │ │ ├── invalid_hex.js │ │ │ ├── migrated_0000.js │ │ │ ├── migrated_0000.tree.json │ │ │ ├── migrated_0001.js │ │ │ ├── migrated_0001.tree.json │ │ │ ├── migrated_0002.source.js │ │ │ ├── migrated_0002.tree.json │ │ │ ├── migrated_0003.js │ │ │ ├── migrated_0003.tree.json │ │ │ ├── migrated_0006.js │ │ │ ├── migrated_0006.tree.json │ │ │ ├── migrated_0007.js │ │ │ ├── migrated_0007.tree.json │ │ │ ├── migrated_0008.js │ │ │ ├── migrated_0008.tree.json │ │ │ ├── migrated_0009.js │ │ │ ├── migrated_0009.tree.json │ │ │ ├── migrated_0010.js │ │ │ ├── migrated_0010.tree.json │ │ │ ├── migrated_0011.js │ │ │ ├── migrated_0011.tree.json │ │ │ ├── migrated_0012.js │ │ │ ├── migrated_0012.tree.json │ │ │ ├── migrated_0013.js │ │ │ ├── migrated_0013.tree.json │ │ │ ├── migrated_0015.js │ │ │ ├── migrated_0015.tree.json │ │ │ ├── migrated_0016.js │ │ │ ├── migrated_0016.tree.json │ │ │ ├── migrated_0017.js │ │ │ ├── migrated_0017.tree.json │ │ │ ├── migrated_0018.js │ │ │ └── migrated_0018.tree.json │ ├── object │ │ ├── invalid-getter.js │ │ ├── invalid-getter.tree.json │ │ ├── invalid-setter1.js │ │ ├── invalid-setter1.tree.json │ │ ├── invalid-setter2.js │ │ ├── invalid-setter2.tree.json │ │ ├── migrated_0000.js │ │ ├── migrated_0000.tree.json │ │ ├── migrated_0001.js │ │ ├── migrated_0001.tree.json │ │ ├── migrated_0002.js │ │ ├── migrated_0002.tree.json │ │ ├── migrated_0003.js │ │ ├── migrated_0003.tree.json │ │ ├── migrated_0004.js │ │ ├── migrated_0004.tree.json │ │ ├── migrated_0005.js │ │ ├── migrated_0005.tree.json │ │ ├── migrated_0006.js │ │ ├── migrated_0006.tree.json │ │ ├── migrated_0007.js │ │ ├── migrated_0007.tree.json │ │ ├── migrated_0008.js │ │ ├── migrated_0008.tree.json │ │ ├── migrated_0009.js │ │ ├── migrated_0009.tree.json │ │ ├── migrated_0010.js │ │ ├── migrated_0010.tree.json │ │ ├── migrated_0011.js │ │ ├── migrated_0011.tree.json │ │ ├── migrated_0012.js │ │ ├── migrated_0012.tree.json │ │ ├── migrated_0013.js │ │ ├── migrated_0013.tree.json │ │ ├── migrated_0014.js │ │ ├── migrated_0014.tree.json │ │ ├── migrated_0015.js │ │ ├── migrated_0015.tree.json │ │ ├── migrated_0016.js │ │ ├── migrated_0016.tree.json │ │ ├── migrated_0017.js │ │ ├── migrated_0017.tree.json │ │ ├── migrated_0018.js │ │ ├── migrated_0018.tree.json │ │ ├── migrated_0019.js │ │ ├── migrated_0019.tree.json │ │ ├── migrated_0020.js │ │ ├── migrated_0020.tree.json │ │ ├── migrated_0021.js │ │ ├── migrated_0021.tree.json │ │ ├── migrated_0022.js │ │ ├── migrated_0022.tree.json │ │ ├── migrated_0023.js │ │ ├── migrated_0023.tree.json │ │ ├── migrated_0024.js │ │ ├── migrated_0024.tree.json │ │ ├── migrated_0025.js │ │ ├── migrated_0025.tree.json │ │ ├── migrated_0026.js │ │ ├── migrated_0026.tree.json │ │ ├── migrated_0027.js │ │ ├── migrated_0027.tree.json │ │ ├── migrated_0028.js │ │ ├── migrated_0028.tree.json │ │ ├── migrated_0029.js │ │ ├── migrated_0029.tree.json │ │ ├── migrated_0030.js │ │ ├── migrated_0030.tree.json │ │ ├── migrated_0031.js │ │ ├── migrated_0031.tree.json │ │ ├── migrated_0032.js │ │ ├── migrated_0032.tree.json │ │ ├── migrated_0033.js │ │ ├── migrated_0033.tree.json │ │ ├── migrated_0034.js │ │ ├── migrated_0034.tree.json │ │ ├── migrated_0035.js │ │ ├── migrated_0035.tree.json │ │ ├── migrated_0036.js │ │ ├── migrated_0036.tree.json │ │ ├── migrated_0037.js │ │ ├── migrated_0037.tree.json │ │ ├── migrated_0038.js │ │ └── migrated_0038.tree.json │ └── other │ │ ├── migrated_0000.js │ │ ├── migrated_0000.tree.json │ │ ├── migrated_0001.js │ │ ├── migrated_0001.tree.json │ │ ├── migrated_0002.js │ │ ├── migrated_0002.tree.json │ │ ├── migrated_0003.js │ │ └── migrated_0003.tree.json ├── relational │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ └── migrated_0006.tree.json └── unary │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── migrated_0007.js │ ├── migrated_0007.tree.json │ ├── migrated_0008.js │ ├── migrated_0008.tree.json │ ├── migrated_0009.js │ ├── migrated_0009.tree.json │ ├── migrated_0010.js │ ├── migrated_0010.tree.json │ ├── migrated_0011.js │ ├── migrated_0011.tree.json │ ├── migrated_0012.js │ └── migrated_0012.tree.json ├── invalid-syntax ├── GH-1106-00.failure.json ├── GH-1106-00.js ├── GH-1106-01.failure.json ├── GH-1106-01.js ├── GH-1106-02.failure.json ├── GH-1106-02.js ├── GH-1106-03.failure.json ├── GH-1106-03.js ├── GH-1106-04.failure.json ├── GH-1106-04.js ├── GH-1106-05.failure.json ├── GH-1106-05.js ├── GH-1106-06.failure.json ├── GH-1106-06.js ├── GH-1106-07.failure.json ├── GH-1106-07.js ├── GH-1106-08.failure.json ├── GH-1106-08.js ├── GH-1106-09.failure.json ├── GH-1106-09.js ├── migrated_0000.failure.json ├── migrated_0000.js ├── migrated_0001.failure.json ├── migrated_0001.js ├── migrated_0002.failure.json ├── migrated_0002.js ├── migrated_0003.failure.json ├── migrated_0003.js ├── migrated_0004.failure.json ├── migrated_0004.js ├── migrated_0005.failure.json ├── migrated_0005.js ├── migrated_0006.failure.json ├── migrated_0006.js ├── migrated_0007.failure.json ├── migrated_0007.js ├── migrated_0008.failure.json ├── migrated_0008.js ├── migrated_0009.failure.json ├── migrated_0009.js ├── migrated_0010.failure.json ├── migrated_0010.js ├── migrated_0011.failure.json ├── migrated_0011.js ├── migrated_0012.failure.json ├── migrated_0012.js ├── migrated_0013.failure.json ├── migrated_0013.js ├── migrated_0014.failure.json ├── migrated_0014.js ├── migrated_0015.failure.json ├── migrated_0015.js ├── migrated_0016.failure.json ├── migrated_0016.js ├── migrated_0017.failure.json ├── migrated_0017.js ├── migrated_0018.failure.json ├── migrated_0018.js ├── migrated_0019.failure.json ├── migrated_0019.js ├── migrated_0020.failure.json ├── migrated_0020.js ├── migrated_0021.failure.json ├── migrated_0021.js ├── migrated_0022.failure.json ├── migrated_0022.js ├── migrated_0023.failure.json ├── migrated_0023.js ├── migrated_0024.failure.json ├── migrated_0024.js ├── migrated_0025.failure.json ├── migrated_0025.js ├── migrated_0026.failure.json ├── migrated_0026.js ├── migrated_0027.failure.json ├── migrated_0027.js ├── migrated_0028.failure.json ├── migrated_0028.js ├── migrated_0029.failure.json ├── migrated_0029.js ├── migrated_0030.failure.json ├── migrated_0030.js ├── migrated_0031.failure.json ├── migrated_0031.js ├── migrated_0032.failure.json ├── migrated_0032.js ├── migrated_0033.failure.json ├── migrated_0033.source.js ├── migrated_0034.failure.json ├── migrated_0034.source.js ├── migrated_0035.failure.json ├── migrated_0035.js ├── migrated_0036.failure.json ├── migrated_0036.source.js ├── migrated_0037.failure.json ├── migrated_0037.source.js ├── migrated_0038.failure.json ├── migrated_0038.js ├── migrated_0039.failure.json ├── migrated_0039.js ├── migrated_0040.failure.json ├── migrated_0040.js ├── migrated_0041.failure.json ├── migrated_0041.source.js ├── migrated_0042.failure.json ├── migrated_0042.source.js ├── migrated_0043.failure.json ├── migrated_0043.source.js ├── migrated_0044.failure.json ├── migrated_0044.source.js ├── migrated_0045.failure.json ├── migrated_0045.js ├── migrated_0046.failure.json ├── migrated_0046.js ├── migrated_0047.failure.json ├── migrated_0047.js ├── migrated_0048.failure.json ├── migrated_0048.source.js ├── migrated_0049.failure.json ├── migrated_0049.source.js ├── migrated_0050.failure.json ├── migrated_0050.source.js ├── migrated_0051.failure.json ├── migrated_0051.source.js ├── migrated_0052.failure.json ├── migrated_0052.js ├── migrated_0053.failure.json ├── migrated_0053.js ├── migrated_0054.failure.json ├── migrated_0054.js ├── migrated_0055.failure.json ├── migrated_0055.js ├── migrated_0056.failure.json ├── migrated_0056.js ├── migrated_0057.failure.json ├── migrated_0057.js ├── migrated_0058.failure.json ├── migrated_0058.js ├── migrated_0059.failure.json ├── migrated_0059.js ├── migrated_0060.failure.json ├── migrated_0060.js ├── migrated_0061.failure.json ├── migrated_0061.js ├── migrated_0062.failure.json ├── migrated_0062.js ├── migrated_0063.failure.json ├── migrated_0063.js ├── migrated_0064.failure.json ├── migrated_0064.js ├── migrated_0065.failure.json ├── migrated_0065.js ├── migrated_0066.failure.json ├── migrated_0066.js ├── migrated_0067.failure.json ├── migrated_0067.js ├── migrated_0068.failure.json ├── migrated_0068.js ├── migrated_0069.failure.json ├── migrated_0069.js ├── migrated_0070.failure.json ├── migrated_0070.js ├── migrated_0071.failure.json ├── migrated_0071.js ├── migrated_0072.failure.json ├── migrated_0072.js ├── migrated_0073.failure.json ├── migrated_0073.js ├── migrated_0074.failure.json ├── migrated_0074.js ├── migrated_0076.failure.json ├── migrated_0076.js ├── migrated_0077.failure.json ├── migrated_0077.js ├── migrated_0078.failure.json ├── migrated_0078.js ├── migrated_0080.failure.json ├── migrated_0080.js ├── migrated_0081.failure.json ├── migrated_0081.js ├── migrated_0082.failure.json ├── migrated_0082.js ├── migrated_0083.failure.json ├── migrated_0083.js ├── migrated_0084.failure.json ├── migrated_0084.js ├── migrated_0085.failure.json ├── migrated_0085.js ├── migrated_0086.failure.json ├── migrated_0086.js ├── migrated_0087.failure.json ├── migrated_0087.js ├── migrated_0088.failure.json ├── migrated_0088.js ├── migrated_0089.failure.json ├── migrated_0089.js ├── migrated_0090.failure.json ├── migrated_0090.js ├── migrated_0091.failure.json ├── migrated_0091.js ├── migrated_0092.failure.json ├── migrated_0092.js ├── migrated_0093.failure.json ├── migrated_0093.js ├── migrated_0094.failure.json ├── migrated_0094.js ├── migrated_0095.failure.json ├── migrated_0095.js ├── migrated_0096.failure.json ├── migrated_0096.js ├── migrated_0097.failure.json ├── migrated_0097.js ├── migrated_0098.failure.json ├── migrated_0098.js ├── migrated_0099.failure.json ├── migrated_0099.js ├── migrated_0100.failure.json ├── migrated_0100.js ├── migrated_0101.failure.json ├── migrated_0101.js ├── migrated_0102.failure.json ├── migrated_0102.js ├── migrated_0103.failure.json ├── migrated_0103.js ├── migrated_0104.failure.json ├── migrated_0104.js ├── migrated_0105.failure.json ├── migrated_0105.js ├── migrated_0106.failure.json ├── migrated_0106.js ├── migrated_0107.failure.json ├── migrated_0107.js ├── migrated_0108.failure.json ├── migrated_0108.js ├── migrated_0109.failure.json ├── migrated_0109.js ├── migrated_0110.failure.json ├── migrated_0110.js ├── migrated_0111.failure.json ├── migrated_0111.js ├── migrated_0112.failure.json ├── migrated_0112.js ├── migrated_0113.failure.json ├── migrated_0113.js ├── migrated_0114.failure.json ├── migrated_0114.js ├── migrated_0115.failure.json ├── migrated_0115.js ├── migrated_0116.failure.json ├── migrated_0116.js ├── migrated_0117.failure.json ├── migrated_0117.js ├── migrated_0118.failure.json ├── migrated_0118.js ├── migrated_0119.failure.json ├── migrated_0119.js ├── migrated_0120.failure.json ├── migrated_0120.js ├── migrated_0121.failure.json ├── migrated_0121.js ├── migrated_0122.failure.json ├── migrated_0122.js ├── migrated_0123.failure.json ├── migrated_0123.js ├── migrated_0124.failure.json ├── migrated_0124.js ├── migrated_0125.failure.json ├── migrated_0125.js ├── migrated_0126.failure.json ├── migrated_0126.js ├── migrated_0127.failure.json ├── migrated_0127.js ├── migrated_0128.failure.json ├── migrated_0128.js ├── migrated_0129.failure.json ├── migrated_0129.js ├── migrated_0130.failure.json ├── migrated_0130.js ├── migrated_0131.failure.json ├── migrated_0131.js ├── migrated_0132.failure.json ├── migrated_0132.js ├── migrated_0133.failure.json ├── migrated_0133.js ├── migrated_0134.failure.json ├── migrated_0134.js ├── migrated_0135.failure.json ├── migrated_0135.js ├── migrated_0136.failure.json ├── migrated_0136.js ├── migrated_0137.failure.json ├── migrated_0137.source.js ├── migrated_0138.failure.json ├── migrated_0138.js ├── migrated_0139.failure.json ├── migrated_0139.js ├── migrated_0140.failure.json ├── migrated_0140.js ├── migrated_0141.failure.json ├── migrated_0141.js ├── migrated_0142.failure.json ├── migrated_0142.js ├── migrated_0143.failure.json ├── migrated_0143.js ├── migrated_0144.failure.json ├── migrated_0144.js ├── migrated_0145.failure.json ├── migrated_0145.js ├── migrated_0146.failure.json ├── migrated_0146.js ├── migrated_0147.failure.json ├── migrated_0147.js ├── migrated_0148.failure.json ├── migrated_0148.js ├── migrated_0149.failure.json ├── migrated_0149.js ├── migrated_0150.failure.json ├── migrated_0150.js ├── migrated_0151.failure.json ├── migrated_0151.js ├── migrated_0152.failure.json ├── migrated_0152.js ├── migrated_0153.failure.json ├── migrated_0153.js ├── migrated_0154.failure.json ├── migrated_0154.js ├── migrated_0155.failure.json ├── migrated_0155.js ├── migrated_0156.failure.json ├── migrated_0156.js ├── migrated_0157.failure.json ├── migrated_0157.js ├── migrated_0158.failure.json ├── migrated_0158.js ├── migrated_0159.failure.json ├── migrated_0159.js ├── migrated_0160.failure.json ├── migrated_0160.js ├── migrated_0161.failure.json ├── migrated_0161.js ├── migrated_0162.failure.json ├── migrated_0162.js ├── migrated_0163.failure.json ├── migrated_0163.source.js ├── migrated_0164.failure.json ├── migrated_0164.js ├── migrated_0165.failure.json ├── migrated_0165.source.js ├── migrated_0166.failure.json ├── migrated_0166.source.js ├── migrated_0167.failure.json ├── migrated_0167.source.js ├── migrated_0168.failure.json ├── migrated_0168.js ├── migrated_0169.failure.json ├── migrated_0169.source.js ├── migrated_0170.failure.json ├── migrated_0170.js ├── migrated_0171.failure.json ├── migrated_0171.js ├── migrated_0172.failure.json ├── migrated_0172.js ├── migrated_0173.failure.json ├── migrated_0173.js ├── migrated_0174.failure.json ├── migrated_0174.js ├── migrated_0175.failure.json ├── migrated_0175.js ├── migrated_0176.failure.json ├── migrated_0176.js ├── migrated_0177.failure.json ├── migrated_0177.js ├── migrated_0178.failure.json ├── migrated_0178.js ├── migrated_0179.failure.json ├── migrated_0179.js ├── migrated_0180.failure.json ├── migrated_0180.js ├── migrated_0181.failure.json ├── migrated_0181.js ├── migrated_0182.failure.json ├── migrated_0182.js ├── migrated_0183.failure.json ├── migrated_0183.js ├── migrated_0184.failure.json ├── migrated_0184.js ├── migrated_0185.failure.json ├── migrated_0185.js ├── migrated_0186.failure.json ├── migrated_0186.js ├── migrated_0187.failure.json ├── migrated_0187.js ├── migrated_0188.failure.json ├── migrated_0188.js ├── migrated_0189.failure.json ├── migrated_0189.js ├── migrated_0190.failure.json ├── migrated_0190.js ├── migrated_0191.failure.json ├── migrated_0191.js ├── migrated_0192.failure.json ├── migrated_0192.js ├── migrated_0193.failure.json ├── migrated_0193.js ├── migrated_0194.failure.json ├── migrated_0194.js ├── migrated_0195.failure.json ├── migrated_0195.js ├── migrated_0196.failure.json ├── migrated_0196.js ├── migrated_0197.failure.json ├── migrated_0197.js ├── migrated_0198.failure.json ├── migrated_0198.js ├── migrated_0199.failure.json ├── migrated_0199.js ├── migrated_0200.failure.json ├── migrated_0200.js ├── migrated_0201.failure.json ├── migrated_0201.js ├── migrated_0202.failure.json ├── migrated_0202.js ├── migrated_0203.failure.json ├── migrated_0203.js ├── migrated_0204.failure.json ├── migrated_0204.js ├── migrated_0205.failure.json ├── migrated_0205.js ├── migrated_0206.failure.json ├── migrated_0206.js ├── migrated_0207.failure.json ├── migrated_0207.js ├── migrated_0208.failure.json ├── migrated_0208.js ├── migrated_0209.failure.json ├── migrated_0209.js ├── migrated_0210.failure.json ├── migrated_0210.js ├── migrated_0211.failure.json ├── migrated_0211.js ├── migrated_0212.failure.json ├── migrated_0212.js ├── migrated_0213.failure.json ├── migrated_0213.js ├── migrated_0214.failure.json ├── migrated_0214.js ├── migrated_0215.failure.json ├── migrated_0215.js ├── migrated_0216.failure.json ├── migrated_0216.js ├── migrated_0217.failure.json ├── migrated_0217.js ├── migrated_0218.failure.json ├── migrated_0218.js ├── migrated_0219.failure.json ├── migrated_0219.js ├── migrated_0220.failure.json ├── migrated_0220.js ├── migrated_0221.failure.json ├── migrated_0221.js ├── migrated_0222.failure.json ├── migrated_0222.js ├── migrated_0223.failure.json ├── migrated_0223.js ├── migrated_0224.failure.json ├── migrated_0224.js ├── migrated_0225.failure.json ├── migrated_0225.js ├── migrated_0226.failure.json ├── migrated_0226.js ├── migrated_0227.failure.json ├── migrated_0227.js ├── migrated_0228.failure.json ├── migrated_0228.js ├── migrated_0229.failure.json ├── migrated_0229.js ├── migrated_0230.failure.json ├── migrated_0230.js ├── migrated_0231.failure.json ├── migrated_0231.js ├── migrated_0232.failure.json ├── migrated_0232.js ├── migrated_0233.failure.json ├── migrated_0233.js ├── migrated_0234.failure.json ├── migrated_0234.js ├── migrated_0235.failure.json ├── migrated_0235.js ├── migrated_0236.failure.json ├── migrated_0236.js ├── migrated_0239.failure.json ├── migrated_0239.js ├── migrated_0240.failure.json ├── migrated_0240.js ├── migrated_0241.failure.json ├── migrated_0241.js ├── migrated_0242.failure.json ├── migrated_0242.js ├── migrated_0243.failure.json ├── migrated_0243.js ├── migrated_0244.failure.json ├── migrated_0244.js ├── migrated_0245.failure.json ├── migrated_0245.js ├── migrated_0246.failure.json ├── migrated_0246.js ├── migrated_0247.failure.json ├── migrated_0247.js ├── migrated_0248.failure.json ├── migrated_0248.js ├── migrated_0249.failure.json ├── migrated_0249.js ├── migrated_0250.failure.json ├── migrated_0250.js ├── migrated_0252.failure.json ├── migrated_0252.js ├── migrated_0254.failure.json ├── migrated_0254.js ├── migrated_0255.failure.json ├── migrated_0255.js ├── migrated_0256.failure.json ├── migrated_0256.js ├── migrated_0257.failure.json ├── migrated_0257.js ├── migrated_0258.failure.json ├── migrated_0258.js ├── migrated_0260.failure.json ├── migrated_0260.js ├── migrated_0261.failure.json ├── migrated_0261.js ├── migrated_0262.failure.json ├── migrated_0262.js ├── migrated_0263.failure.json ├── migrated_0263.js ├── migrated_0264.failure.json ├── migrated_0264.js ├── migrated_0265.failure.json ├── migrated_0265.js ├── migrated_0266.failure.json ├── migrated_0266.js ├── migrated_0267.failure.json ├── migrated_0267.js ├── migrated_0268.failure.json ├── migrated_0268.js ├── migrated_0269.failure.json ├── migrated_0269.js ├── migrated_0270.failure.json ├── migrated_0270.js ├── migrated_0271.failure.json ├── migrated_0271.js ├── migrated_0272.failure.json ├── migrated_0272.js ├── migrated_0273.failure.json ├── migrated_0273.js ├── migrated_0274.failure.json ├── migrated_0274.js ├── migrated_0275.failure.json ├── migrated_0275.js ├── migrated_0276.failure.json ├── migrated_0276.js ├── migrated_0277.failure.json ├── migrated_0277.js ├── migrated_0278.failure.json ├── migrated_0278.js ├── strict_assignment_implements.failure.json ├── strict_assignment_implements.js ├── strict_assignment_interface.failure.json ├── strict_assignment_interface.js ├── strict_assignment_let.failure.json ├── strict_assignment_let.js ├── strict_assignment_package.failure.json ├── strict_assignment_package.js ├── strict_assignment_private.failure.json ├── strict_assignment_private.js ├── strict_assignment_protected.failure.json ├── strict_assignment_protected.js ├── strict_assignment_public.failure.json ├── strict_assignment_public.js ├── strict_assignment_static.failure.json ├── strict_assignment_static.js ├── strict_assignment_yield.failure.json └── strict_assignment_yield.js ├── statement ├── block │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── break │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── semicolon_newline.js │ └── semicolon_newline.tree.json ├── continue │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ └── migrated_0004.tree.json ├── debugger │ ├── migrated_0000.js │ └── migrated_0000.tree.json ├── empty │ ├── migrated_0000.js │ └── migrated_0000.tree.json ├── expression │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.source.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.source.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.source.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.source.js │ └── migrated_0005.tree.json ├── if │ ├── invalid-function-declaration1.failure.json │ ├── invalid-function-declaration1.js │ ├── invalid-function-declaration2.failure.json │ ├── invalid-function-declaration2.js │ ├── invalid-function-declaration3.failure.json │ ├── invalid-function-declaration3.js │ ├── invalid-function-declaration4.failure.json │ ├── invalid-function-declaration4.js │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ └── migrated_0006.tree.json ├── iteration │ ├── const_forin.js │ ├── const_forin.tree.json │ ├── for-in-let.js │ ├── for-in-let.tree.json │ ├── for-let-let.js │ ├── for-let-let.tree.json │ ├── for-statement-with-seq.js │ ├── for-statement-with-seq.tree.json │ ├── invalid-assign-for-in.failure.json │ ├── invalid-assign-for-in.js │ ├── invalid-strict-for-in-let.failure.json │ ├── invalid-strict-for-in-let.js │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── migrated_0007.js │ ├── migrated_0007.tree.json │ ├── migrated_0008.js │ ├── migrated_0008.tree.json │ ├── migrated_0009.js │ ├── migrated_0009.tree.json │ ├── migrated_0010.js │ ├── migrated_0010.tree.json │ ├── migrated_0011.js │ ├── migrated_0011.tree.json │ ├── migrated_0012.js │ ├── migrated_0012.tree.json │ ├── migrated_0013.js │ ├── migrated_0013.tree.json │ ├── migrated_0014.js │ ├── migrated_0014.tree.json │ ├── migrated_0015.js │ ├── migrated_0015.tree.json │ ├── migrated_0016.js │ ├── migrated_0016.tree.json │ ├── migrated_0017.js │ ├── migrated_0017.tree.json │ ├── migrated_0018.js │ ├── migrated_0018.tree.json │ ├── migrated_0019.js │ ├── migrated_0019.tree.json │ ├── migrated_0020.js │ ├── migrated_0020.tree.json │ ├── migrated_0021.js │ ├── migrated_0021.tree.json │ ├── migrated_0022.js │ ├── migrated_0022.tree.json │ ├── migrated_0023.js │ ├── migrated_0023.tree.json │ ├── migrated_0024.js │ ├── migrated_0024.tree.json │ ├── migrated_0025.js │ ├── migrated_0025.tree.json │ ├── migrated_0026.js │ ├── migrated_0026.tree.json │ ├── pattern-in-for-in.js │ ├── pattern-in-for-in.tree.json │ ├── unterminated-do-while.js │ └── unterminated-do-while.tree.json ├── labelled │ ├── function-declaration.js │ ├── function-declaration.tree.json │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── return │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── multiline_string.js │ ├── multiline_string.tree.json │ ├── multiline_template.js │ └── multiline_template.tree.json ├── switch │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── throw │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ └── migrated_0002.tree.json ├── try │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── strict_simple_catch.js │ └── strict_simple_catch.tree.json ├── variable │ ├── complex-pattern-requires-init.failure.json │ ├── complex-pattern-requires-init.js │ ├── invalid_trailing_comma_1.failure.json │ ├── invalid_trailing_comma_1.js │ ├── invalid_trailing_comma_2.failure.json │ ├── invalid_trailing_comma_2.js │ ├── invalid_trailing_comma_3.failure.json │ ├── invalid_trailing_comma_3.js │ ├── invalid_trailing_comma_4.failure.json │ ├── invalid_trailing_comma_4.js │ ├── invalid_trailing_comma_5.failure.json │ ├── invalid_trailing_comma_5.js │ ├── invalid_trailing_comma_6.failure.json │ ├── invalid_trailing_comma_6.js │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── migrated_0003.js │ ├── migrated_0003.tree.json │ ├── migrated_0004.js │ ├── migrated_0004.tree.json │ ├── migrated_0005.js │ ├── migrated_0005.tree.json │ ├── migrated_0006.js │ ├── migrated_0006.tree.json │ ├── var_let.js │ └── var_let.tree.json └── with │ ├── migrated_0000.js │ ├── migrated_0000.tree.json │ ├── migrated_0001.js │ ├── migrated_0001.tree.json │ ├── migrated_0002.js │ ├── migrated_0002.tree.json │ ├── unterminated-with.js │ └── unterminated-with.tree.json ├── tokenize ├── after_if.js ├── after_if.tokens.json ├── empty.js ├── empty.tokens.json ├── invalid_number.failure.json ├── invalid_number.js ├── leading_comment.js ├── leading_comment.tokens.json ├── line_comment.js ├── line_comment.tokens.json ├── line_terminators.js ├── line_terminators.tokens.json ├── migrated_0000.js ├── migrated_0000.tokens.json ├── migrated_0001.js ├── migrated_0001.tokens.json ├── migrated_0002.js ├── migrated_0002.tokens.json ├── migrated_0003.js ├── migrated_0003.tokens.json ├── migrated_0004.js ├── migrated_0004.tokens.json ├── migrated_0005.js ├── migrated_0005.tokens.json ├── migrated_0006.js ├── migrated_0006.tokens.json ├── migrated_0007.js ├── migrated_0007.tokens.json ├── migrated_0008.js ├── migrated_0008.tokens.json ├── migrated_0009.js ├── migrated_0009.tokens.json ├── migrated_0010.js ├── migrated_0010.tokens.json ├── migrated_0011.js ├── migrated_0011.tokens.json ├── migrated_0012.js ├── migrated_0012.tokens.json ├── migrated_0013.js ├── migrated_0013.tokens.json ├── migrated_0014.js ├── migrated_0014.tokens.json ├── migrated_0015.js ├── migrated_0015.tokens.json ├── migrated_0016.js ├── migrated_0016.tokens.json ├── single_slash.js ├── single_slash.tokens.json ├── trailing_comment.js └── trailing_comment.tokens.json ├── tolerant-parse ├── for-in-missing-parenthesis.js ├── for-in-missing-parenthesis.tree.json ├── for-missing-parenthesis.js ├── for-missing-parenthesis.tree.json ├── for-of-missing-parenthesis.js ├── for-of-missing-parenthesis.tree.json ├── if-missing-parenthesis.js ├── if-missing-parenthesis.tree.json ├── let_eval.js ├── let_eval.tree.json ├── migrated_0000.js ├── migrated_0000.tree.json ├── migrated_0001.js ├── migrated_0001.tree.json ├── migrated_0002.js ├── migrated_0002.tree.json ├── migrated_0003.js ├── migrated_0003.tree.json ├── migrated_0004.js ├── migrated_0004.tree.json ├── migrated_0005.js ├── migrated_0005.tree.json ├── migrated_0006.js ├── migrated_0006.tree.json ├── migrated_0007.js ├── migrated_0007.tree.json ├── migrated_0008.js ├── migrated_0008.tree.json ├── migrated_0009.js ├── migrated_0009.tree.json ├── migrated_0010.js ├── migrated_0010.tree.json ├── migrated_0011.js ├── migrated_0011.tree.json ├── migrated_0012.js ├── migrated_0012.tree.json ├── migrated_0013.js ├── migrated_0013.tree.json ├── migrated_0014.js ├── migrated_0014.tree.json ├── migrated_0015.js ├── migrated_0015.tree.json ├── migrated_0016.js ├── migrated_0016.tree.json ├── migrated_0017.js ├── migrated_0017.tree.json ├── migrated_0018.js ├── migrated_0018.tree.json ├── migrated_0019.js ├── migrated_0019.tree.json ├── migrated_0020.js ├── migrated_0020.tree.json ├── migrated_0021.js ├── migrated_0021.tree.json ├── migrated_0022.js ├── migrated_0022.tree.json ├── migrated_0023.js ├── migrated_0023.tree.json ├── migrated_0024.js ├── migrated_0024.tree.json ├── migrated_0025.js ├── migrated_0025.tree.json ├── migrated_0026.js ├── migrated_0026.tree.json ├── migrated_0027.js ├── migrated_0027.tree.json ├── migrated_0028.js ├── migrated_0028.tree.json ├── migrated_0029.js ├── migrated_0029.tree.json ├── migrated_0030.js ├── migrated_0030.tree.json ├── migrated_0031.js ├── migrated_0031.tree.json ├── migrated_0032.js ├── migrated_0032.tree.json ├── migrated_0033.js ├── migrated_0033.tree.json ├── migrated_0034.js ├── migrated_0034.tree.json ├── migrated_0035.js ├── migrated_0035.tree.json ├── migrated_0036.js ├── migrated_0036.tree.json ├── migrated_0037.js ├── migrated_0037.tree.json ├── migrated_0038.js ├── migrated_0038.tree.json ├── migrated_0039.js ├── migrated_0039.tree.json ├── migrated_0040.js ├── migrated_0040.tree.json ├── migrated_0041.js ├── migrated_0041.tree.json ├── migrated_0042.js ├── migrated_0042.tree.json ├── migrated_0044.js ├── migrated_0044.tree.json ├── migrated_0045.js ├── migrated_0045.tree.json ├── migrated_0046.js ├── migrated_0046.tree.json ├── migrated_0047.js ├── migrated_0047.tree.json ├── migrated_0048.js ├── migrated_0048.tree.json ├── migrated_0049.js ├── migrated_0049.tree.json ├── migrated_0050.source.js ├── migrated_0050.tree.json ├── migrated_0051.js ├── migrated_0051.tree.json ├── migrated_0052.js ├── migrated_0052.tree.json ├── string_literal_escape_eight.js ├── string_literal_escape_eight.tree.json ├── while-missing-parenthesis.js └── while-missing-parenthesis.tree.json └── whitespace ├── migrated_0000.source.js ├── migrated_0000.tree.json ├── migrated_0001.source.js └── migrated_0001.tree.json /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/.gitignore -------------------------------------------------------------------------------- /ChangeLog: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/ChangeLog -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | LICENSE.BSD -------------------------------------------------------------------------------- /LICENSE.BSD: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/LICENSE.BSD -------------------------------------------------------------------------------- /MANIFEST.in: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/MANIFEST.in -------------------------------------------------------------------------------- /README: -------------------------------------------------------------------------------- 1 | README.rst -------------------------------------------------------------------------------- /README.rst: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/README.rst -------------------------------------------------------------------------------- /esprima/compat.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/compat.py -------------------------------------------------------------------------------- /esprima/esprima.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/esprima.py -------------------------------------------------------------------------------- /esprima/nodes.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/nodes.py -------------------------------------------------------------------------------- /esprima/objects.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/objects.py -------------------------------------------------------------------------------- /esprima/parser.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/parser.py -------------------------------------------------------------------------------- /esprima/scanner.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/scanner.py -------------------------------------------------------------------------------- /esprima/syntax.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/syntax.py -------------------------------------------------------------------------------- /esprima/token.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/token.py -------------------------------------------------------------------------------- /esprima/utils.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/utils.py -------------------------------------------------------------------------------- /esprima/visitor.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/esprima/visitor.py -------------------------------------------------------------------------------- /pyproject.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/pyproject.toml -------------------------------------------------------------------------------- /setup.cfg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/setup.cfg -------------------------------------------------------------------------------- /setup.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/setup.py -------------------------------------------------------------------------------- /test/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/test/__init__.py -------------------------------------------------------------------------------- /test/__main__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/Kronuz/esprima-python/HEAD/test/__main__.py -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_assign.js: -------------------------------------------------------------------------------- 1 | x **= y; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_bitnot.js: -------------------------------------------------------------------------------- 1 | x ** ~y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_delete.js: -------------------------------------------------------------------------------- 1 | x ** delete y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_minus.js: -------------------------------------------------------------------------------- 1 | x ** -y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_minusminus.js: -------------------------------------------------------------------------------- 1 | x ** --y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_not.js: -------------------------------------------------------------------------------- 1 | x ** !y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_operator.js: -------------------------------------------------------------------------------- 1 | x ** y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_plus.js: -------------------------------------------------------------------------------- 1 | x ** +y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_plusplus.js: -------------------------------------------------------------------------------- 1 | x ** ++y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_precedence.js: -------------------------------------------------------------------------------- 1 | x * y ** -z 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_typeof.js: -------------------------------------------------------------------------------- 1 | x ** typeof y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/exp_void.js: -------------------------------------------------------------------------------- 1 | x ** void y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/invalid_bitnot_exp.js: -------------------------------------------------------------------------------- 1 | ~x ** y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/invalid_delete_exp.js: -------------------------------------------------------------------------------- 1 | delete x ** y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/invalid_minus_exp.js: -------------------------------------------------------------------------------- 1 | -x ** y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/invalid_not_exp.js: -------------------------------------------------------------------------------- 1 | !x ** y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/invalid_plus_exp.js: -------------------------------------------------------------------------------- 1 | +x ** y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/invalid_typeof_exp.js: -------------------------------------------------------------------------------- 1 | typeof x ** y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/exponent/invalid_void_exp.js: -------------------------------------------------------------------------------- 1 | void x ** y 2 | -------------------------------------------------------------------------------- /test/fixtures/ES2016/identifier/gujarati_zha.js: -------------------------------------------------------------------------------- 1 | ૹ 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/array-binding-pattern/elision.js: -------------------------------------------------------------------------------- 1 | ([,,])=>0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/arrow-rest-forgetting-comma.js: -------------------------------------------------------------------------------- 1 | (a ...b) => 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/arrow-with-multiple-arg-and-rest.js: -------------------------------------------------------------------------------- 1 | (a,b,...c) => 0; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/arrow-with-multiple-rest.js: -------------------------------------------------------------------------------- 1 | (...a, ...b) => 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/arrow-with-only-rest.js: -------------------------------------------------------------------------------- 1 | (...a) => 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/concise-body-in.js: -------------------------------------------------------------------------------- 1 | for (() => { x in y };;); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/invalid-duplicated-params.js: -------------------------------------------------------------------------------- 1 | (x, x) => y; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/invalid-line-terminator-arrow.js: -------------------------------------------------------------------------------- 1 | () 2 | => 42 3 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/invalid-param-strict-mode.js: -------------------------------------------------------------------------------- 1 | eval => {"use strict"}; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0000.js: -------------------------------------------------------------------------------- 1 | () => "test" -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0001.js: -------------------------------------------------------------------------------- 1 | e => "test" -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0002.js: -------------------------------------------------------------------------------- 1 | (e) => "test" -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0003.js: -------------------------------------------------------------------------------- 1 | (a, b) => "test" -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0004.js: -------------------------------------------------------------------------------- 1 | e => { 42; } -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0005.js: -------------------------------------------------------------------------------- 1 | e => ({ property: 42 }) -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0006.js: -------------------------------------------------------------------------------- 1 | e => { label: 42 } -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0007.js: -------------------------------------------------------------------------------- 1 | (a, b) => { 42; } -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0008.js: -------------------------------------------------------------------------------- 1 | (x=1) => x * x -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0009.js: -------------------------------------------------------------------------------- 1 | eval => 42 -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0010.js: -------------------------------------------------------------------------------- 1 | arguments => 42 -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0011.js: -------------------------------------------------------------------------------- 1 | (a) => 00 -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0012.js: -------------------------------------------------------------------------------- 1 | (eval, a) => 42 -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0013.js: -------------------------------------------------------------------------------- 1 | (eval = 10) => 42 -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0014.js: -------------------------------------------------------------------------------- 1 | (eval, a = 10) => 42 -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0015.js: -------------------------------------------------------------------------------- 1 | (x => x) -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0018.js: -------------------------------------------------------------------------------- 1 | foo(() => {}) -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0019.js: -------------------------------------------------------------------------------- 1 | foo((x, y) => {}) -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/migrated_0020.js: -------------------------------------------------------------------------------- 1 | (sun) => earth -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/non-arrow-param-followed-by-arrow.js: -------------------------------------------------------------------------------- 1 | ((a)) => 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/non-arrow-param-followed-by-rest.js: -------------------------------------------------------------------------------- 1 | ((a),...b) => 0; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/param-with-rest-without-arrow.js: -------------------------------------------------------------------------------- 1 | (b, ...a) + 1 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/arrow-function/rest-without-arrow.js: -------------------------------------------------------------------------------- 1 | (...a) + 1 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binary-integer-literal/migrated_0000.js: -------------------------------------------------------------------------------- 1 | 0b0 -------------------------------------------------------------------------------- /test/fixtures/ES6/binary-integer-literal/migrated_0001.js: -------------------------------------------------------------------------------- 1 | 0b1 -------------------------------------------------------------------------------- /test/fixtures/ES6/binary-integer-literal/migrated_0002.js: -------------------------------------------------------------------------------- 1 | 0b10 -------------------------------------------------------------------------------- /test/fixtures/ES6/binary-integer-literal/migrated_0003.js: -------------------------------------------------------------------------------- 1 | 0B0 -------------------------------------------------------------------------------- /test/fixtures/ES6/binary-integer-literal/migrated_0004.js: -------------------------------------------------------------------------------- 1 | 0B1 -------------------------------------------------------------------------------- /test/fixtures/ES6/binary-integer-literal/migrated_0005.js: -------------------------------------------------------------------------------- 1 | 0B10 -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/elision.js: -------------------------------------------------------------------------------- 1 | let [a,] = 0; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/empty-pattern-fn.js: -------------------------------------------------------------------------------- 1 | function a([]) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/empty-pattern-lexical.js: -------------------------------------------------------------------------------- 1 | let [] = []; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/empty-pattern-var.js: -------------------------------------------------------------------------------- 1 | var [] = 0; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/for-let-let.js: -------------------------------------------------------------------------------- 1 | for (let [x = let];;) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/hole.js: -------------------------------------------------------------------------------- 1 | let [a,,b]=0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/nested-pattern.js: -------------------------------------------------------------------------------- 1 | let [[]]=0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/rest.elision.js: -------------------------------------------------------------------------------- 1 | let [...a,] = 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/rest.js: -------------------------------------------------------------------------------- 1 | let [...a] = 0; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/tailing-hold.js: -------------------------------------------------------------------------------- 1 | let [a,,]=0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/var-for-in.js: -------------------------------------------------------------------------------- 1 | for (var [x, y] in z); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/var_let_array.js: -------------------------------------------------------------------------------- 1 | var [let] = answer; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/with-default-fn.js: -------------------------------------------------------------------------------- 1 | function a([a=0]) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/array-pattern/with-object-pattern.js: -------------------------------------------------------------------------------- 1 | let [{a}] = 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/object-pattern/elision.js: -------------------------------------------------------------------------------- 1 | let {a,} = 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/object-pattern/empty-fn.js: -------------------------------------------------------------------------------- 1 | function a({}) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/object-pattern/empty-for-lex.js: -------------------------------------------------------------------------------- 1 | for (let {} in 0); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/object-pattern/empty-lexical.js: -------------------------------------------------------------------------------- 1 | let {} = 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/object-pattern/empty-var.js: -------------------------------------------------------------------------------- 1 | var {} = 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/object-pattern/nested.js: -------------------------------------------------------------------------------- 1 | let {a:{}} = 0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/binding-pattern/object-pattern/var-for-in.js: -------------------------------------------------------------------------------- 1 | for (var {x, y} in z); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/class/invalid-labelled-class-declaration.js: -------------------------------------------------------------------------------- 1 | a: class B {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/class/invalid-setter-method-rest.js: -------------------------------------------------------------------------------- 1 | class X { set f(...y) {} } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0000.js: -------------------------------------------------------------------------------- 1 | class A {} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0001.js: -------------------------------------------------------------------------------- 1 | class A extends 0 {} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0002.js: -------------------------------------------------------------------------------- 1 | class A {;} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0003.js: -------------------------------------------------------------------------------- 1 | class A {;;} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0004.js: -------------------------------------------------------------------------------- 1 | class A {a(){}} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0009.js: -------------------------------------------------------------------------------- 1 | class A {static(){};} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0012.js: -------------------------------------------------------------------------------- 1 | class A {static a(){};} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0013.js: -------------------------------------------------------------------------------- 1 | class A {static [a](){};} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0016.js: -------------------------------------------------------------------------------- 1 | var x = class A extends 0{} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0017.js: -------------------------------------------------------------------------------- 1 | class A {prototype(){}} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0018.js: -------------------------------------------------------------------------------- 1 | class A {constructor(){}} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0021.js: -------------------------------------------------------------------------------- 1 | class A {static ["prototype"](){}} -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0022.js: -------------------------------------------------------------------------------- 1 | (class {}) -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0023.js: -------------------------------------------------------------------------------- 1 | (class A {}) -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0024.js: -------------------------------------------------------------------------------- 1 | (class extends 0{}) -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0025.js: -------------------------------------------------------------------------------- 1 | (class A extends 0{}) -------------------------------------------------------------------------------- /test/fixtures/ES6/class/migrated_0026.js: -------------------------------------------------------------------------------- 1 | class A {a(eval){}} -------------------------------------------------------------------------------- /test/fixtures/ES6/default-parameter-value/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = function(y = 1) {} -------------------------------------------------------------------------------- /test/fixtures/ES6/default-parameter-value/migrated_0001.js: -------------------------------------------------------------------------------- 1 | function f(a = 1) {} -------------------------------------------------------------------------------- /test/fixtures/ES6/default-parameter-value/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x = { f: function(a=1) {} } -------------------------------------------------------------------------------- /test/fixtures/ES6/destructuring-assignment/array-pattern/dup-assignment.js: -------------------------------------------------------------------------------- 1 | [a,a,,...a]=0; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/destructuring-assignment/array-pattern/elision.js: -------------------------------------------------------------------------------- 1 | [,,]=0 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/destructuring-assignment/invalid-group-assignment.js: -------------------------------------------------------------------------------- 1 | (a,b)=(c,d); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-const-number.js: -------------------------------------------------------------------------------- 1 | export const foo = 1; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-default-array.js: -------------------------------------------------------------------------------- 1 | export default []; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-default-class.js: -------------------------------------------------------------------------------- 1 | export default class {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-default-number.js: -------------------------------------------------------------------------------- 1 | export default 42; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-default-value.js: -------------------------------------------------------------------------------- 1 | export default foo; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-from-batch.js: -------------------------------------------------------------------------------- 1 | export * from "foo"; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-function.js: -------------------------------------------------------------------------------- 1 | export function foo () {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-let-number.js: -------------------------------------------------------------------------------- 1 | export let foo = 1; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-named-empty.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-named-keyword-specifier.js: -------------------------------------------------------------------------------- 1 | export {try}; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-named-specifier.js: -------------------------------------------------------------------------------- 1 | export {foo}; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-named-specifiers.js: -------------------------------------------------------------------------------- 1 | export {foo, bar}; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-var-number.js: -------------------------------------------------------------------------------- 1 | export var foo = 1; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/export-var.js: -------------------------------------------------------------------------------- 1 | export var bar; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/export-declaration/invalid-export-batch-token.module.js: -------------------------------------------------------------------------------- 1 | export * + 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-array-pattern-let.js: -------------------------------------------------------------------------------- 1 | for (let [p, q] of r); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-array-pattern-var.js: -------------------------------------------------------------------------------- 1 | for (var [p, q] of r); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-array-pattern.js: -------------------------------------------------------------------------------- 1 | for ([p, q] of r); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-let.js: -------------------------------------------------------------------------------- 1 | for (x of let) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-object-pattern-const.js: -------------------------------------------------------------------------------- 1 | for (const {x, y} of z); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-object-pattern-var.js: -------------------------------------------------------------------------------- 1 | for (var {x, y} of z); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-object-pattern.js: -------------------------------------------------------------------------------- 1 | for ({x, y} of z); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-with-const.js: -------------------------------------------------------------------------------- 1 | for (const y of list); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-with-let.js: -------------------------------------------------------------------------------- 1 | for (let z of list); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of-with-var.js: -------------------------------------------------------------------------------- 1 | for (var x of list); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/for-of.js: -------------------------------------------------------------------------------- 1 | for (p of q); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/invalid-assign-for-of.js: -------------------------------------------------------------------------------- 1 | for (x=0 of y); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/invalid-const-init.js: -------------------------------------------------------------------------------- 1 | for (const x = 1 of y); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/invalid-for-of-array-pattern.js: -------------------------------------------------------------------------------- 1 | for (var [p]=q of r); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/invalid-for-of-object-pattern.js: -------------------------------------------------------------------------------- 1 | for (var {x} = y of z); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/invalid-let-init.js: -------------------------------------------------------------------------------- 1 | for (let x = 1 of y); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/invalid-lhs-init.js: -------------------------------------------------------------------------------- 1 | for (this of that); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/invalid-var-init.js: -------------------------------------------------------------------------------- 1 | for (var x = 1 of y); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/invalid_const_let.js: -------------------------------------------------------------------------------- 1 | for (const let of y); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/for-of/unexpected-number.js: -------------------------------------------------------------------------------- 1 | for (const of 42); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/generator-declaration.js: -------------------------------------------------------------------------------- 1 | function *foo() {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/generator-expression-rest-param.js: -------------------------------------------------------------------------------- 1 | (function*(...x) {}) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/generator-expression.js: -------------------------------------------------------------------------------- 1 | (function*() {}) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/generator-method-with-params.js: -------------------------------------------------------------------------------- 1 | ({ *foo(x, y, z) {} }) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/generator-method-with-yield.js: -------------------------------------------------------------------------------- 1 | ({ *foo() { yield; } }) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/generator-method.js: -------------------------------------------------------------------------------- 1 | ({ *foo() {} }) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/incomplete-yield-delegate.js: -------------------------------------------------------------------------------- 1 | (function*() { yield* }) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/invalid-labelled-generator.js: -------------------------------------------------------------------------------- 1 | a: function *g() {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/malformed-generator-method-2.js: -------------------------------------------------------------------------------- 1 | class Foo { * } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/generator/malformed-generator-method.js: -------------------------------------------------------------------------------- 1 | ({ * }) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/dakuten_handakuten.js: -------------------------------------------------------------------------------- 1 | ゛+ ゜ 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/escaped_math_alef.js: -------------------------------------------------------------------------------- 1 | var \u{1EE00} 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/escaped_math_dal_part.js: -------------------------------------------------------------------------------- 1 | var _\u{1EE03} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/escaped_math_zain_start.js: -------------------------------------------------------------------------------- 1 | var \u{1EE06}_$ 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/escaped_part.js: -------------------------------------------------------------------------------- 1 | var A\u{42}C; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/escaped_start.js: -------------------------------------------------------------------------------- 1 | var \u{41}BC; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/estimated.js: -------------------------------------------------------------------------------- 1 | let ℮ 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/ethiopic_digits.js: -------------------------------------------------------------------------------- 1 | var _፩፪፫፬፭፮፯፰፱ 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/invalid-hex-escape-sequence.js: -------------------------------------------------------------------------------- 1 | "\x{0}" 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/invalid_escaped_surrogate_pairs.js: -------------------------------------------------------------------------------- 1 | var \uD83B\uDE00 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/invalid_function_await.module.js: -------------------------------------------------------------------------------- 1 | function await() {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/invalid_id_smp.js: -------------------------------------------------------------------------------- 1 | var 🀒 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/invalid_var_await.module.js: -------------------------------------------------------------------------------- 1 | export var await; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/math_alef.js: -------------------------------------------------------------------------------- 1 | var 𞸀 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/math_dal_part.js: -------------------------------------------------------------------------------- 1 | var _𞸃 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/math_kaf_lam.js: -------------------------------------------------------------------------------- 1 | var 𞸊𞸋 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/math_zain_start.js: -------------------------------------------------------------------------------- 1 | var 𞸆_$ 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/module_await.js: -------------------------------------------------------------------------------- 1 | await = 0; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/weierstrass.js: -------------------------------------------------------------------------------- 1 | var ℘; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/identifier/weierstrass_weierstrass.js: -------------------------------------------------------------------------------- 1 | var ℘\u2118 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/import-declaration/import-default.js: -------------------------------------------------------------------------------- 1 | import foo from "foo"; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/import-declaration/import-jquery.js: -------------------------------------------------------------------------------- 1 | import $ from "jquery" 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/import-declaration/import-module.js: -------------------------------------------------------------------------------- 1 | import "foo"; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/import-declaration/import-named-empty.js: -------------------------------------------------------------------------------- 1 | import {} from "foo"; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/for_let_in.js: -------------------------------------------------------------------------------- 1 | for (let in x) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_complex_binding_without_init.js: -------------------------------------------------------------------------------- 1 | let [] 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_const_let.js: -------------------------------------------------------------------------------- 1 | const let 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_for_let_let.js: -------------------------------------------------------------------------------- 1 | for (let let;;;) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_let_declarations.js: -------------------------------------------------------------------------------- 1 | let x, y, z, let; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_let_forin.js: -------------------------------------------------------------------------------- 1 | for (let x = 0 in y){} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_let_init.js: -------------------------------------------------------------------------------- 1 | let x, y, z, let = 1; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_let_let.js: -------------------------------------------------------------------------------- 1 | let let; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_trailing_comma_1.js: -------------------------------------------------------------------------------- 1 | let x, 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_trailing_comma_2.js: -------------------------------------------------------------------------------- 1 | let x,; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_trailing_comma_3.js: -------------------------------------------------------------------------------- 1 | let x, y, ; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_trailing_comma_4.js: -------------------------------------------------------------------------------- 1 | let x, 2 | y = 3, 3 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/invalid_trailing_comma_5.js: -------------------------------------------------------------------------------- 1 | const x = 0, 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/let_assign.js: -------------------------------------------------------------------------------- 1 | let = 42; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/let_identifier.js: -------------------------------------------------------------------------------- 1 | let; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/let_member.js: -------------------------------------------------------------------------------- 1 | let.let = foo 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/lexical-declaration/module_let.module.js: -------------------------------------------------------------------------------- 1 | let x 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/meta-property/invalid-new-target.js: -------------------------------------------------------------------------------- 1 | var x = new.target; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/method-definition/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = { method() { } } -------------------------------------------------------------------------------- /test/fixtures/ES6/method-definition/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x = { method(test) { } } -------------------------------------------------------------------------------- /test/fixtures/ES6/method-definition/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x = { 'method'() { } } -------------------------------------------------------------------------------- /test/fixtures/ES6/method-definition/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x = { get() { } } -------------------------------------------------------------------------------- /test/fixtures/ES6/method-definition/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x = { set() { } } -------------------------------------------------------------------------------- /test/fixtures/ES6/object-literal-property-value-shorthand/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = { y, z } -------------------------------------------------------------------------------- /test/fixtures/ES6/octal-integer-literal/migrated_0000.js: -------------------------------------------------------------------------------- 1 | 00 -------------------------------------------------------------------------------- /test/fixtures/ES6/octal-integer-literal/migrated_0001.js: -------------------------------------------------------------------------------- 1 | 0o0 -------------------------------------------------------------------------------- /test/fixtures/ES6/octal-integer-literal/migrated_0003.js: -------------------------------------------------------------------------------- 1 | 0o2 -------------------------------------------------------------------------------- /test/fixtures/ES6/octal-integer-literal/migrated_0004.js: -------------------------------------------------------------------------------- 1 | 0o12 -------------------------------------------------------------------------------- /test/fixtures/ES6/octal-integer-literal/migrated_0005.js: -------------------------------------------------------------------------------- 1 | 0O0 -------------------------------------------------------------------------------- /test/fixtures/ES6/program/module/invalid-export-if.module.js: -------------------------------------------------------------------------------- 1 | export if foo = 1; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/rest-parameter/arrow-rest-parameter-array.js: -------------------------------------------------------------------------------- 1 | (a, ...[b]) => c 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/rest-parameter/arrow-rest-parameter-object.js: -------------------------------------------------------------------------------- 1 | (a, ...{b}) => c 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/rest-parameter/function-declaration.js: -------------------------------------------------------------------------------- 1 | function f(a, ...b) {} -------------------------------------------------------------------------------- /test/fixtures/ES6/rest-parameter/function-expression.js: -------------------------------------------------------------------------------- 1 | f = function(a, ...b) {} -------------------------------------------------------------------------------- /test/fixtures/ES6/rest-parameter/invalid-setter-rest.js: -------------------------------------------------------------------------------- 1 | x = { set f(...y) {} } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/rest-parameter/object-method.js: -------------------------------------------------------------------------------- 1 | o = { f: function(a, ...b) {} } -------------------------------------------------------------------------------- /test/fixtures/ES6/rest-parameter/object-shorthand-method.js: -------------------------------------------------------------------------------- 1 | x = { method(...test) { } } -------------------------------------------------------------------------------- /test/fixtures/ES6/rest-parameter/rest-parameter-array.js: -------------------------------------------------------------------------------- 1 | function f(...[a]) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/rest-parameter/rest-parameter-object.js: -------------------------------------------------------------------------------- 1 | function f(...{a}) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/call-spread-default.js: -------------------------------------------------------------------------------- 1 | f(g, ...h = i); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/call-spread-first.js: -------------------------------------------------------------------------------- 1 | f(...x, y, z); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/call-spread-number.js: -------------------------------------------------------------------------------- 1 | f(....5); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/call-spread.js: -------------------------------------------------------------------------------- 1 | f(...g); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/invalid-call-dot-dot.js: -------------------------------------------------------------------------------- 1 | f(..g); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/invalid-call-dots.js: -------------------------------------------------------------------------------- 1 | f(....g); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/invalid-new-dot-dot.js: -------------------------------------------------------------------------------- 1 | new f(..g); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/invalid-new-dots.js: -------------------------------------------------------------------------------- 1 | new f(....g); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/new-spread-default.js: -------------------------------------------------------------------------------- 1 | new f(g, ...h = i); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/new-spread-first.js: -------------------------------------------------------------------------------- 1 | new f(...x, y, z); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/new-spread-number.js: -------------------------------------------------------------------------------- 1 | new f(....5); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/spread-element/new-spread.js: -------------------------------------------------------------------------------- 1 | new f(...g); 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/after-switch.js: -------------------------------------------------------------------------------- 1 | switch `test` -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/dollar-sign.js: -------------------------------------------------------------------------------- 1 | `$` -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/invalid-escape.js: -------------------------------------------------------------------------------- 1 | `\1`; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/invalid-hex-escape-sequence.js: -------------------------------------------------------------------------------- 1 | `\x{1}`; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/line-terminators.source.js: -------------------------------------------------------------------------------- 1 | var source = '`\n\r\n`'; -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/new-expression.js: -------------------------------------------------------------------------------- 1 | new raw`42` -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/octal-literal.js: -------------------------------------------------------------------------------- 1 | `\00`; -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/strict-octal-literal.js: -------------------------------------------------------------------------------- 1 | 'use strict'; `\00`; -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/tagged-interpolation.js: -------------------------------------------------------------------------------- 1 | raw`hello ${name}` -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/tagged.js: -------------------------------------------------------------------------------- 1 | raw`42` -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/unclosed-interpolation.js: -------------------------------------------------------------------------------- 1 | `hello ${10;test` -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/unclosed-nested.js: -------------------------------------------------------------------------------- 1 | `hello ${10 `test` -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/unclosed.js: -------------------------------------------------------------------------------- 1 | `test -------------------------------------------------------------------------------- /test/fixtures/ES6/template-literals/untagged.js: -------------------------------------------------------------------------------- 1 | `42` -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/invalid-yield-binding-property.js: -------------------------------------------------------------------------------- 1 | var {x: y = yield 3} = z; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/invalid-yield-expression.js: -------------------------------------------------------------------------------- 1 | (function() { yield 3; }) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/invalid-yield-generator-parameter.js: -------------------------------------------------------------------------------- 1 | function *g(yield){} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/invalid-yield-object-methods.js: -------------------------------------------------------------------------------- 1 | function *a(){({b(){yield}})} -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/ternary-yield.js: -------------------------------------------------------------------------------- 1 | function* g(){ x ? yield : y } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-array.js: -------------------------------------------------------------------------------- 1 | function *g() { yield [x] } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-bitnot.js: -------------------------------------------------------------------------------- 1 | function *g() { yield ~x } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-class.js: -------------------------------------------------------------------------------- 1 | function *g() { yield class x {} } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-delete.js: -------------------------------------------------------------------------------- 1 | function *g() { yield delete x } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-group.js: -------------------------------------------------------------------------------- 1 | function *g() { yield (x) } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-let.js: -------------------------------------------------------------------------------- 1 | function *g() { yield let } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-minus.js: -------------------------------------------------------------------------------- 1 | function *g() { yield -x } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-minusminus.js: -------------------------------------------------------------------------------- 1 | function *g() { yield --x } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-new.js: -------------------------------------------------------------------------------- 1 | function *g() { yield new X() } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-not.js: -------------------------------------------------------------------------------- 1 | function *g() { yield !x } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-object.js: -------------------------------------------------------------------------------- 1 | function *g() { yield {x} } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-plus.js: -------------------------------------------------------------------------------- 1 | function *g() { yield +x } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-plusplus.js: -------------------------------------------------------------------------------- 1 | function *g() { yield ++x } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-regexp1.js: -------------------------------------------------------------------------------- 1 | function *g() { yield /x/i } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-regexp2.js: -------------------------------------------------------------------------------- 1 | function *g() { yield /=x/i } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-super.js: -------------------------------------------------------------------------------- 1 | class A { *b() { yield super.c(); } } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-this.js: -------------------------------------------------------------------------------- 1 | function *g() { yield this } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-typeof.js: -------------------------------------------------------------------------------- 1 | function *g() { yield typeof x } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arg-void.js: -------------------------------------------------------------------------------- 1 | function *g() { yield void x } 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-array-pattern.js: -------------------------------------------------------------------------------- 1 | ([yield] = x) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arrow-concise-body.js: -------------------------------------------------------------------------------- 1 | (x) => x * yield; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arrow-function-body.js: -------------------------------------------------------------------------------- 1 | (z) => { yield + z }; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arrow-parameter-default.js: -------------------------------------------------------------------------------- 1 | (x = yield) => {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-arrow-parameter-name.js: -------------------------------------------------------------------------------- 1 | (yield) => 42; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-binding-element.js: -------------------------------------------------------------------------------- 1 | var { x: yield } = foo; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-binding-property.js: -------------------------------------------------------------------------------- 1 | var { yield: x } = foo; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-catch-parameter.js: -------------------------------------------------------------------------------- 1 | try {} catch (yield) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-function-declaration.js: -------------------------------------------------------------------------------- 1 | function yield(){} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-function-expression-parameter.js: -------------------------------------------------------------------------------- 1 | (function(yield) {}) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-function-expression.js: -------------------------------------------------------------------------------- 1 | (function yield(){}) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-generator-declaration.js: -------------------------------------------------------------------------------- 1 | function *yield(){} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-generator-method.js: -------------------------------------------------------------------------------- 1 | ({ *yield() {} }) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-lexical-declaration.js: -------------------------------------------------------------------------------- 1 | let yield = 42; 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-method.js: -------------------------------------------------------------------------------- 1 | ({ yield() {} }) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-parameter-object-pattern.js: -------------------------------------------------------------------------------- 1 | function f({yield: y}){} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-rest-parameter.js: -------------------------------------------------------------------------------- 1 | function f(...yield) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-strict-method.js: -------------------------------------------------------------------------------- 1 | "use strict"; ({ yield() {} }) 2 | -------------------------------------------------------------------------------- /test/fixtures/ES6/yield/yield-variable-declaration.js: -------------------------------------------------------------------------------- 1 | var yield; 2 | -------------------------------------------------------------------------------- /test/fixtures/ESnext/classProperties.js: -------------------------------------------------------------------------------- 1 | class A {a=1;static b=2;} -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-double-quoted-string.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-empty-entity1.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-empty-entity2.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-entity-hex.js: -------------------------------------------------------------------------------- 1 |

2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-entity.js: -------------------------------------------------------------------------------- 1 | Tom & Jerry 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-expression.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-illegal-short-entity.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-invalid-entity.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-multi-entities.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-null-value.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-primary.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-single-quoted-string.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-spread.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-unknown-entity.js: -------------------------------------------------------------------------------- 1 | &copyr; 2016 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-unterminated-entity.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/attribute-x-entity.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/container-numeric-literal.js: -------------------------------------------------------------------------------- 1 | {1} 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/inside-group-expression.js: -------------------------------------------------------------------------------- 1 | var el = ( ) 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-attribute-value-trail.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-closing-trail.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-empty-attribute-expression.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-empty-selfclosing.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-incomplete-namespace.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-match.js: -------------------------------------------------------------------------------- 1 | node = 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-member-incomplete.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-no-closing.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-self-closing.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/invalid-start-namespace.js: -------------------------------------------------------------------------------- 1 | <:path /> 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/multi-attributes.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/multiline-text.js: -------------------------------------------------------------------------------- 1 | 2 | One 3 | Two 4 | Three 5 | 6 | -------------------------------------------------------------------------------- /test/fixtures/JSX/nested-elements.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/null-attribute-value.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/simple-member.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/simple-namespace.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/simple-selfclosing-linefeed.js: -------------------------------------------------------------------------------- 1 | 3 | -------------------------------------------------------------------------------- /test/fixtures/JSX/simple-selfclosing-whitespace.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/JSX/simple-selfclosing.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/JSX/simple-text.js: -------------------------------------------------------------------------------- 1 | Hello 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/template-literal.js: -------------------------------------------------------------------------------- 1 | {`${1}`} 2 | -------------------------------------------------------------------------------- /test/fixtures/JSX/yield-jsx-element.js: -------------------------------------------------------------------------------- 1 | function *g() { yield

Hello

} 2 | -------------------------------------------------------------------------------- /test/fixtures/automatic-semicolon-insertion/migrated_0000.js: -------------------------------------------------------------------------------- 1 | { x 2 | ++y } -------------------------------------------------------------------------------- /test/fixtures/automatic-semicolon-insertion/migrated_0001.js: -------------------------------------------------------------------------------- 1 | { x 2 | --y } -------------------------------------------------------------------------------- /test/fixtures/automatic-semicolon-insertion/migrated_0002.js: -------------------------------------------------------------------------------- 1 | var x /* comment */; -------------------------------------------------------------------------------- /test/fixtures/automatic-semicolon-insertion/migrated_0003.js: -------------------------------------------------------------------------------- 1 | { var x = 14, y = 3 2 | z; } -------------------------------------------------------------------------------- /test/fixtures/comment/html-comment.module.js: -------------------------------------------------------------------------------- 1 | a comment -------------------------------------------------------------------------------- /test/fixtures/comment/migrated_0039.js: -------------------------------------------------------------------------------- 1 | comment -------------------------------------------------------------------------------- /test/fixtures/comment/migrated_0043.js: -------------------------------------------------------------------------------- 1 | /* not comment*/; i-->0 -------------------------------------------------------------------------------- /test/fixtures/comment/migrated_0044.js: -------------------------------------------------------------------------------- 1 | while (i-->0) {} -------------------------------------------------------------------------------- /test/fixtures/comment/migrated_0045.js: -------------------------------------------------------------------------------- 1 | /*Venus*/ debugger; // Mars -------------------------------------------------------------------------------- /test/fixtures/comment/migrated_0047.js: -------------------------------------------------------------------------------- 1 | (/* comment */{ 2 | p1: null 3 | }) 4 | -------------------------------------------------------------------------------- /test/fixtures/comment/migrated_0052.js: -------------------------------------------------------------------------------- 1 | /**/ function a() {} 2 | -------------------------------------------------------------------------------- /test/fixtures/declaration/const/migrated_0000.js: -------------------------------------------------------------------------------- 1 | const x = 42 -------------------------------------------------------------------------------- /test/fixtures/declaration/const/migrated_0001.js: -------------------------------------------------------------------------------- 1 | { const x = 42 } -------------------------------------------------------------------------------- /test/fixtures/declaration/function/dupe-param.js: -------------------------------------------------------------------------------- 1 | function a(x, x) {'use strict';} 2 | -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0000.js: -------------------------------------------------------------------------------- 1 | function hello() { sayHi(); } -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0001.js: -------------------------------------------------------------------------------- 1 | function eval() { } -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0002.js: -------------------------------------------------------------------------------- 1 | function arguments() { } -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0003.js: -------------------------------------------------------------------------------- 1 | function test(t, t) { } -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0004.js: -------------------------------------------------------------------------------- 1 | (function test(t, t) { }) -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0006.js: -------------------------------------------------------------------------------- 1 | function hello(a) { sayHi(); } -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0007.js: -------------------------------------------------------------------------------- 1 | function hello(a, b) { sayHi(); } -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0008.js: -------------------------------------------------------------------------------- 1 | var hi = function() { sayHi() }; -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0009.js: -------------------------------------------------------------------------------- 1 | var hi = function eval() { }; -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0010.js: -------------------------------------------------------------------------------- 1 | var hi = function arguments() { }; -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0012.js: -------------------------------------------------------------------------------- 1 | (function(){}) -------------------------------------------------------------------------------- /test/fixtures/declaration/function/migrated_0013.js: -------------------------------------------------------------------------------- 1 | function universe(__proto__) { } -------------------------------------------------------------------------------- /test/fixtures/declaration/let/migrated_0000.js: -------------------------------------------------------------------------------- 1 | let x -------------------------------------------------------------------------------- /test/fixtures/declaration/let/migrated_0001.js: -------------------------------------------------------------------------------- 1 | { let x } -------------------------------------------------------------------------------- /test/fixtures/declaration/let/migrated_0002.js: -------------------------------------------------------------------------------- 1 | { let x = 42 } -------------------------------------------------------------------------------- /test/fixtures/es2017/async/arrows/async-arrow-no-arg.js: -------------------------------------------------------------------------------- 1 | async () => 42 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/arrows/async-arrow-one-arg-concise.js: -------------------------------------------------------------------------------- 1 | async y => y 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/arrows/async-arrow-rest.js: -------------------------------------------------------------------------------- 1 | async (x, ...y) => x 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/arrows/async-arrow-trailing-comma.js: -------------------------------------------------------------------------------- 1 | async (x,y,) => x 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/arrows/async-arrow-yield.js: -------------------------------------------------------------------------------- 1 | async yield => 0; 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/functions/async-if.js: -------------------------------------------------------------------------------- 1 | if (x) async function f() {} 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/functions/invalid-async-while.js: -------------------------------------------------------------------------------- 1 | async while (1) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/async-method-computed.js: -------------------------------------------------------------------------------- 1 | ({ async ["xyz"]() {} }) 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/async-method-literal.js: -------------------------------------------------------------------------------- 1 | ({ async "xyz"() {} }) 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/async-method-number.js: -------------------------------------------------------------------------------- 1 | ({ async 3() {} }) 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/async-method.js: -------------------------------------------------------------------------------- 1 | ({ async f() {} }) 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/class-async-get.js: -------------------------------------------------------------------------------- 1 | class X { async get(){} } 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/class-async-method.js: -------------------------------------------------------------------------------- 1 | class X { async f(){} } 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/class-async-set.js: -------------------------------------------------------------------------------- 1 | class X { async set(v){} } 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/invalid-async-generator.js: -------------------------------------------------------------------------------- 1 | x = { async *g() {} } 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/invalid-async-getter.js: -------------------------------------------------------------------------------- 1 | x = { async get g() {} } 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/methods/invalid-async-setter.js: -------------------------------------------------------------------------------- 1 | x = {async set s(i) {} } 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/regular-identifier/async-arrow-parameter1.js: -------------------------------------------------------------------------------- 1 | async => 42; 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/regular-identifier/call-async-await.js: -------------------------------------------------------------------------------- 1 | a = async(await); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/regular-identifier/call-async.js: -------------------------------------------------------------------------------- 1 | x = async(y); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/regular-identifier/label-async.js: -------------------------------------------------------------------------------- 1 | async: function f() {} 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/async/regular-identifier/property-async.js: -------------------------------------------------------------------------------- 1 | x = { async: false } 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/for-statement/invalid-var-init-forin2.js: -------------------------------------------------------------------------------- 1 | for (var {x}=0 in y); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/for-statement/invalid-var-init-forin4.js: -------------------------------------------------------------------------------- 1 | for (var [p]=0 in q); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/invalid-empty-arrow.js: -------------------------------------------------------------------------------- 1 | (,) => 0; 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/invalid-empty-call.js: -------------------------------------------------------------------------------- 1 | f(,); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/invalid-empty-method.js: -------------------------------------------------------------------------------- 1 | class A { f(,){} } 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/invalid-empty-parameters.js: -------------------------------------------------------------------------------- 1 | function f(,){} 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/invalid-rest.js: -------------------------------------------------------------------------------- 1 | function f(...a,) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/invalid-sequence.js: -------------------------------------------------------------------------------- 1 | (x,y,); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/trailing-comma-arrow-multi.js: -------------------------------------------------------------------------------- 1 | (x,y,z,) => 0 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/trailing-comma-arrow-single.js: -------------------------------------------------------------------------------- 1 | (x,) => 0 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/trailing-comma-arrow.js: -------------------------------------------------------------------------------- 1 | let f = (x,y,) => x; 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/trailing-comma-call.js: -------------------------------------------------------------------------------- 1 | f(x,); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/trailing-comma-new.js: -------------------------------------------------------------------------------- 1 | new f(x,); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2017/trailing-commas/trailing-comma-spread.js: -------------------------------------------------------------------------------- 1 | f(...a,); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2018/dynamic-import/invalid-new-import-call.js: -------------------------------------------------------------------------------- 1 | new import(x); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2018/dynamic-import/invalid-non-callee.js: -------------------------------------------------------------------------------- 1 | import.then(doLoad); 2 | -------------------------------------------------------------------------------- /test/fixtures/es2018/rest-property/function-extension.js: -------------------------------------------------------------------------------- 1 | function f({ x, y, ...z }) {} -------------------------------------------------------------------------------- /test/fixtures/es2018/rest-property/invalid-default-rest-property.js: -------------------------------------------------------------------------------- 1 | let { ...x = y } = z; -------------------------------------------------------------------------------- /test/fixtures/es2018/rest-property/invalid-property-after-rest.js: -------------------------------------------------------------------------------- 1 | let { a, ...b, c } = x; -------------------------------------------------------------------------------- /test/fixtures/es2018/rest-property/shallow-clone.js: -------------------------------------------------------------------------------- 1 | let { ...x } = y; -------------------------------------------------------------------------------- /test/fixtures/es2018/spread-property/default-properties.js: -------------------------------------------------------------------------------- 1 | let aa = { x: 1, y: 2, ...a }; -------------------------------------------------------------------------------- /test/fixtures/es2018/spread-property/properties-overriding.js: -------------------------------------------------------------------------------- 1 | x = { ...y, z: 1}; -------------------------------------------------------------------------------- /test/fixtures/es2018/spread-property/shallow-clone.js: -------------------------------------------------------------------------------- 1 | x = { ...y } -------------------------------------------------------------------------------- /test/fixtures/expression/additive/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x + y -------------------------------------------------------------------------------- /test/fixtures/expression/additive/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x - y -------------------------------------------------------------------------------- /test/fixtures/expression/additive/migrated_0002.js: -------------------------------------------------------------------------------- 1 | "use strict" + 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0001.js: -------------------------------------------------------------------------------- 1 | eval = 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0002.js: -------------------------------------------------------------------------------- 1 | arguments = 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x *= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x /= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x %= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x += 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0007.js: -------------------------------------------------------------------------------- 1 | x -= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0008.js: -------------------------------------------------------------------------------- 1 | x <<= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0009.js: -------------------------------------------------------------------------------- 1 | x >>= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0010.js: -------------------------------------------------------------------------------- 1 | x >>>= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0011.js: -------------------------------------------------------------------------------- 1 | x &= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0012.js: -------------------------------------------------------------------------------- 1 | x ^= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/assignment/migrated_0013.js: -------------------------------------------------------------------------------- 1 | x |= 42 -------------------------------------------------------------------------------- /test/fixtures/expression/binary-bitwise/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x & y -------------------------------------------------------------------------------- /test/fixtures/expression/binary-bitwise/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x ^ y -------------------------------------------------------------------------------- /test/fixtures/expression/binary-bitwise/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x | y -------------------------------------------------------------------------------- /test/fixtures/expression/binary-logical/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x || y -------------------------------------------------------------------------------- /test/fixtures/expression/binary-logical/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x && y -------------------------------------------------------------------------------- /test/fixtures/expression/binary-logical/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x || y && z -------------------------------------------------------------------------------- /test/fixtures/expression/binary-logical/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x || y ^ z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x + y + z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x - y + z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x + y - z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x - y - z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x + y * z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x + y / z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x - y % z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0007.js: -------------------------------------------------------------------------------- 1 | x * y * z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0008.js: -------------------------------------------------------------------------------- 1 | x * y / z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0009.js: -------------------------------------------------------------------------------- 1 | x * y % z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0010.js: -------------------------------------------------------------------------------- 1 | x % y * z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0012.js: -------------------------------------------------------------------------------- 1 | x | y | z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0013.js: -------------------------------------------------------------------------------- 1 | x & y & z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0014.js: -------------------------------------------------------------------------------- 1 | x ^ y ^ z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0015.js: -------------------------------------------------------------------------------- 1 | x & y | z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0016.js: -------------------------------------------------------------------------------- 1 | x | y ^ z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/migrated_0017.js: -------------------------------------------------------------------------------- 1 | x | y & z -------------------------------------------------------------------------------- /test/fixtures/expression/binary/multiline_string.js: -------------------------------------------------------------------------------- 1 | '\ 2 | ' + bar -------------------------------------------------------------------------------- /test/fixtures/expression/bitwise-shift/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x << y -------------------------------------------------------------------------------- /test/fixtures/expression/bitwise-shift/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x >> y -------------------------------------------------------------------------------- /test/fixtures/expression/bitwise-shift/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x >>> y -------------------------------------------------------------------------------- /test/fixtures/expression/complex/migrated_0001.js: -------------------------------------------------------------------------------- 1 | a + (b < (c * d)) + e -------------------------------------------------------------------------------- /test/fixtures/expression/conditional/migrated_0000.js: -------------------------------------------------------------------------------- 1 | y ? 1 : 2 -------------------------------------------------------------------------------- /test/fixtures/expression/conditional/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x && y ? 1 : 2 -------------------------------------------------------------------------------- /test/fixtures/expression/conditional/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x = (0) ? 1 : 2 -------------------------------------------------------------------------------- /test/fixtures/expression/equality/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x == y -------------------------------------------------------------------------------- /test/fixtures/expression/equality/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x != y -------------------------------------------------------------------------------- /test/fixtures/expression/equality/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x === y -------------------------------------------------------------------------------- /test/fixtures/expression/equality/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x !== y -------------------------------------------------------------------------------- /test/fixtures/expression/grouping/migrated_0001.js: -------------------------------------------------------------------------------- 1 | 4 + 5 << (6) -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/let_object_computed.js: -------------------------------------------------------------------------------- 1 | (let[foo]=bar) 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0000.js: -------------------------------------------------------------------------------- 1 | new Button -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0001.js: -------------------------------------------------------------------------------- 1 | new Button() -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0002.js: -------------------------------------------------------------------------------- 1 | new new foo -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0003.js: -------------------------------------------------------------------------------- 1 | new new foo() -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0004.js: -------------------------------------------------------------------------------- 1 | new foo().bar() -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0005.js: -------------------------------------------------------------------------------- 1 | new foo[bar] -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0006.js: -------------------------------------------------------------------------------- 1 | new foo.bar() -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0007.js: -------------------------------------------------------------------------------- 1 | ( new foo).bar() -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0008.js: -------------------------------------------------------------------------------- 1 | foo(bar, baz) -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0009.js: -------------------------------------------------------------------------------- 1 | ( foo )() -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0010.js: -------------------------------------------------------------------------------- 1 | universe.milkyway -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0011.js: -------------------------------------------------------------------------------- 1 | universe.milkyway.solarsystem -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0014.js: -------------------------------------------------------------------------------- 1 | universe[galaxyName] -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0015.js: -------------------------------------------------------------------------------- 1 | universe[42].galaxies -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0016.js: -------------------------------------------------------------------------------- 1 | universe(42).galaxies -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0019.js: -------------------------------------------------------------------------------- 1 | universe.if -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0020.js: -------------------------------------------------------------------------------- 1 | universe.true -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0021.js: -------------------------------------------------------------------------------- 1 | universe.false -------------------------------------------------------------------------------- /test/fixtures/expression/left-hand-side/migrated_0022.js: -------------------------------------------------------------------------------- 1 | universe.null -------------------------------------------------------------------------------- /test/fixtures/expression/multiplicative/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x * y -------------------------------------------------------------------------------- /test/fixtures/expression/multiplicative/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x / y -------------------------------------------------------------------------------- /test/fixtures/expression/multiplicative/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x % y -------------------------------------------------------------------------------- /test/fixtures/expression/postfix/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x++ -------------------------------------------------------------------------------- /test/fixtures/expression/postfix/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x-- -------------------------------------------------------------------------------- /test/fixtures/expression/postfix/migrated_0002.js: -------------------------------------------------------------------------------- 1 | eval++ -------------------------------------------------------------------------------- /test/fixtures/expression/postfix/migrated_0003.js: -------------------------------------------------------------------------------- 1 | eval-- -------------------------------------------------------------------------------- /test/fixtures/expression/postfix/migrated_0004.js: -------------------------------------------------------------------------------- 1 | arguments++ -------------------------------------------------------------------------------- /test/fixtures/expression/postfix/migrated_0005.js: -------------------------------------------------------------------------------- 1 | arguments-- -------------------------------------------------------------------------------- /test/fixtures/expression/primary/array/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = [] -------------------------------------------------------------------------------- /test/fixtures/expression/primary/array/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x = [ ] -------------------------------------------------------------------------------- /test/fixtures/expression/primary/array/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x = [ 42 ] -------------------------------------------------------------------------------- /test/fixtures/expression/primary/array/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x = [ 42, ] -------------------------------------------------------------------------------- /test/fixtures/expression/primary/array/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x = [ ,, 42 ] -------------------------------------------------------------------------------- /test/fixtures/expression/primary/array/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x = [ 1, 2, 3, ] -------------------------------------------------------------------------------- /test/fixtures/expression/primary/array/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x = [ 1, 2,, 3, ] -------------------------------------------------------------------------------- /test/fixtures/expression/primary/array/migrated_0007.js: -------------------------------------------------------------------------------- 1 | 日本語 = [] -------------------------------------------------------------------------------- /test/fixtures/expression/primary/keyword/invalid-escaped-if.js: -------------------------------------------------------------------------------- 1 | \u0069\u{66} (1) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/keyword/invalid-escaped-null.js: -------------------------------------------------------------------------------- 1 | nul\u{6c} 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/keyword/invalid-escaped-true.js: -------------------------------------------------------------------------------- 1 | \u0074rue 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/invalid_hex.js: -------------------------------------------------------------------------------- 1 | 0xFG 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0000.js: -------------------------------------------------------------------------------- 1 | 0 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0001.js: -------------------------------------------------------------------------------- 1 | 42 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0002.js: -------------------------------------------------------------------------------- 1 | 3 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0003.js: -------------------------------------------------------------------------------- 1 | 5 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0004.js: -------------------------------------------------------------------------------- 1 | .14 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0005.js: -------------------------------------------------------------------------------- 1 | 3.14159 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0006.js: -------------------------------------------------------------------------------- 1 | 6.02214179e+23 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0007.js: -------------------------------------------------------------------------------- 1 | 1.492417830e-10 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0008.js: -------------------------------------------------------------------------------- 1 | 0x0 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0009.js: -------------------------------------------------------------------------------- 1 | 0x0; -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0010.js: -------------------------------------------------------------------------------- 1 | 0e+100 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0011.js: -------------------------------------------------------------------------------- 1 | 0e+100 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0012.js: -------------------------------------------------------------------------------- 1 | 0xabc -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0013.js: -------------------------------------------------------------------------------- 1 | 0xdef -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0014.js: -------------------------------------------------------------------------------- 1 | 0X1A -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0015.js: -------------------------------------------------------------------------------- 1 | 0x10 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0016.js: -------------------------------------------------------------------------------- 1 | 0x100 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0017.js: -------------------------------------------------------------------------------- 1 | 0X04 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0018.js: -------------------------------------------------------------------------------- 1 | 02 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0019.js: -------------------------------------------------------------------------------- 1 | 012 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0020.js: -------------------------------------------------------------------------------- 1 | 0012 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0021.js: -------------------------------------------------------------------------------- 1 | 08 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0022.js: -------------------------------------------------------------------------------- 1 | 0008 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0023.js: -------------------------------------------------------------------------------- 1 | 09 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/numeric/migrated_0024.js: -------------------------------------------------------------------------------- 1 | 09.5 -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/regular-expression/migrated_0000.js: -------------------------------------------------------------------------------- 1 | /p/; -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/regular-expression/migrated_0001.js: -------------------------------------------------------------------------------- 1 | [/q/] -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/invalid_escaped_hex.js: -------------------------------------------------------------------------------- 1 | '\u00FG' 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/invalid_hex.js: -------------------------------------------------------------------------------- 1 | '\xFG' 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0000.js: -------------------------------------------------------------------------------- 1 | "Hello" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0001.js: -------------------------------------------------------------------------------- 1 | "\n\r\t\v\b\f\\\'\"\0" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0003.js: -------------------------------------------------------------------------------- 1 | "\x61" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0006.js: -------------------------------------------------------------------------------- 1 | "Hello\nworld" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0007.js: -------------------------------------------------------------------------------- 1 | "Hello\ 2 | world" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0008.js: -------------------------------------------------------------------------------- 1 | "Hello\02World" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0009.js: -------------------------------------------------------------------------------- 1 | "Hello\012World" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0010.js: -------------------------------------------------------------------------------- 1 | "Hello\122World" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0011.js: -------------------------------------------------------------------------------- 1 | "Hello\0122World" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0012.js: -------------------------------------------------------------------------------- 1 | "Hello\312World" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0013.js: -------------------------------------------------------------------------------- 1 | "Hello\412World" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0015.js: -------------------------------------------------------------------------------- 1 | "Hello\712World" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0016.js: -------------------------------------------------------------------------------- 1 | "Hello\0World" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0017.js: -------------------------------------------------------------------------------- 1 | "Hello\ 2 | world" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/literal/string/migrated_0018.js: -------------------------------------------------------------------------------- 1 | "Hello\1World" -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/invalid-getter.js: -------------------------------------------------------------------------------- 1 | x = { get y(z) {} } 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/invalid-setter1.js: -------------------------------------------------------------------------------- 1 | x = { set y() {} } 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/invalid-setter2.js: -------------------------------------------------------------------------------- 1 | x = { set y(a, b) {} } 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x = {} -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x = { } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x = { answer: 42 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x = { if: 42 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x = { true: 42 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x = { false: 42 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x = { null: 42 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0007.js: -------------------------------------------------------------------------------- 1 | x = { "answer": 42 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0010.js: -------------------------------------------------------------------------------- 1 | x = { get undef() {} } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0011.js: -------------------------------------------------------------------------------- 1 | x = { get if() {} } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0012.js: -------------------------------------------------------------------------------- 1 | x = { get true() {} } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0013.js: -------------------------------------------------------------------------------- 1 | x = { get false() {} } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0014.js: -------------------------------------------------------------------------------- 1 | x = { get null() {} } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0015.js: -------------------------------------------------------------------------------- 1 | x = { get "undef"() {} } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0016.js: -------------------------------------------------------------------------------- 1 | x = { get 10() {} } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0024.js: -------------------------------------------------------------------------------- 1 | x = { get: 42 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0025.js: -------------------------------------------------------------------------------- 1 | x = { set: 43 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0026.js: -------------------------------------------------------------------------------- 1 | x = { __proto__: 2 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0027.js: -------------------------------------------------------------------------------- 1 | x = {"__proto__": 2 } -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0029.js: -------------------------------------------------------------------------------- 1 | ({ get i() { }, i: 42 }) -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0030.js: -------------------------------------------------------------------------------- 1 | "use strict";x={y:1,y:1} -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0034.js: -------------------------------------------------------------------------------- 1 | ({[a](){}}) -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0035.js: -------------------------------------------------------------------------------- 1 | ({[a]:()=>{}}) -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0037.js: -------------------------------------------------------------------------------- 1 | ({"[": 42}) -------------------------------------------------------------------------------- /test/fixtures/expression/primary/object/migrated_0038.js: -------------------------------------------------------------------------------- 1 | ({set x(a=0){}}) -------------------------------------------------------------------------------- /test/fixtures/expression/primary/other/migrated_0000.js: -------------------------------------------------------------------------------- 1 | this 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/other/migrated_0001.js: -------------------------------------------------------------------------------- 1 | null 2 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/other/migrated_0002.js: -------------------------------------------------------------------------------- 1 | 2 | 42 3 | 4 | -------------------------------------------------------------------------------- /test/fixtures/expression/primary/other/migrated_0003.js: -------------------------------------------------------------------------------- 1 | (1 + 2 ) * 3 -------------------------------------------------------------------------------- /test/fixtures/expression/relational/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x < y -------------------------------------------------------------------------------- /test/fixtures/expression/relational/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x > y -------------------------------------------------------------------------------- /test/fixtures/expression/relational/migrated_0002.js: -------------------------------------------------------------------------------- 1 | x <= y -------------------------------------------------------------------------------- /test/fixtures/expression/relational/migrated_0003.js: -------------------------------------------------------------------------------- 1 | x >= y -------------------------------------------------------------------------------- /test/fixtures/expression/relational/migrated_0004.js: -------------------------------------------------------------------------------- 1 | x in y -------------------------------------------------------------------------------- /test/fixtures/expression/relational/migrated_0005.js: -------------------------------------------------------------------------------- 1 | x instanceof y -------------------------------------------------------------------------------- /test/fixtures/expression/relational/migrated_0006.js: -------------------------------------------------------------------------------- 1 | x < y < z -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0000.js: -------------------------------------------------------------------------------- 1 | ++x -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0001.js: -------------------------------------------------------------------------------- 1 | --x -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0002.js: -------------------------------------------------------------------------------- 1 | ++eval -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0003.js: -------------------------------------------------------------------------------- 1 | --eval -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0004.js: -------------------------------------------------------------------------------- 1 | ++arguments -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0005.js: -------------------------------------------------------------------------------- 1 | --arguments -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0006.js: -------------------------------------------------------------------------------- 1 | +x -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0007.js: -------------------------------------------------------------------------------- 1 | -x -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0008.js: -------------------------------------------------------------------------------- 1 | ~x -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0009.js: -------------------------------------------------------------------------------- 1 | !x -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0010.js: -------------------------------------------------------------------------------- 1 | void x -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0011.js: -------------------------------------------------------------------------------- 1 | delete x -------------------------------------------------------------------------------- /test/fixtures/expression/unary/migrated_0012.js: -------------------------------------------------------------------------------- 1 | typeof x -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-00.js: -------------------------------------------------------------------------------- 1 | "\x"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-01.js: -------------------------------------------------------------------------------- 1 | "\x0"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-02.js: -------------------------------------------------------------------------------- 1 | "\xx"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-03.js: -------------------------------------------------------------------------------- 1 | "\u"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-04.js: -------------------------------------------------------------------------------- 1 | "\u0"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-05.js: -------------------------------------------------------------------------------- 1 | "\ux"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-06.js: -------------------------------------------------------------------------------- 1 | "\u00"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-07.js: -------------------------------------------------------------------------------- 1 | "\u000"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-08.js: -------------------------------------------------------------------------------- 1 | "\8"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/GH-1106-09.js: -------------------------------------------------------------------------------- 1 | "\9"; 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0000.js: -------------------------------------------------------------------------------- 1 | { -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0001.js: -------------------------------------------------------------------------------- 1 | } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0002.js: -------------------------------------------------------------------------------- 1 | 3ea -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0003.js: -------------------------------------------------------------------------------- 1 | 3in [] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0004.js: -------------------------------------------------------------------------------- 1 | 3e -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0005.js: -------------------------------------------------------------------------------- 1 | 3e+ -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0006.js: -------------------------------------------------------------------------------- 1 | 3e- -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0007.js: -------------------------------------------------------------------------------- 1 | 3x -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0008.js: -------------------------------------------------------------------------------- 1 | 3x0 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0009.js: -------------------------------------------------------------------------------- 1 | 0x -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0010.js: -------------------------------------------------------------------------------- 1 | 01a -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0011.js: -------------------------------------------------------------------------------- 1 | 0o1a -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0012.js: -------------------------------------------------------------------------------- 1 | 0o -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0013.js: -------------------------------------------------------------------------------- 1 | 0O -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0014.js: -------------------------------------------------------------------------------- 1 | 0o9 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0015.js: -------------------------------------------------------------------------------- 1 | 0o18 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0016.js: -------------------------------------------------------------------------------- 1 | 0O1a -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0017.js: -------------------------------------------------------------------------------- 1 | 0b -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0018.js: -------------------------------------------------------------------------------- 1 | 0b1a -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0019.js: -------------------------------------------------------------------------------- 1 | 0b9 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0020.js: -------------------------------------------------------------------------------- 1 | 0b18 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0021.js: -------------------------------------------------------------------------------- 1 | 0b12 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0022.js: -------------------------------------------------------------------------------- 1 | 0B -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0023.js: -------------------------------------------------------------------------------- 1 | 0B1a -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0024.js: -------------------------------------------------------------------------------- 1 | 0B9 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0025.js: -------------------------------------------------------------------------------- 1 | 0B18 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0026.js: -------------------------------------------------------------------------------- 1 | 0B12 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0027.js: -------------------------------------------------------------------------------- 1 | 0O9 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0028.js: -------------------------------------------------------------------------------- 1 | 0O18 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0029.js: -------------------------------------------------------------------------------- 1 | 3in[] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0030.js: -------------------------------------------------------------------------------- 1 | 0x3in[] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0031.js: -------------------------------------------------------------------------------- 1 | "Hello 2 | World" -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0032.js: -------------------------------------------------------------------------------- 1 | x\ -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0033.source.js: -------------------------------------------------------------------------------- 1 | var source = 'x\\u005c'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0034.source.js: -------------------------------------------------------------------------------- 1 | var source = 'x\\u002a'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0035.js: -------------------------------------------------------------------------------- 1 | var x = /(s/g -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0036.source.js: -------------------------------------------------------------------------------- 1 | var source = 'a\\u'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0037.source.js: -------------------------------------------------------------------------------- 1 | var source = '\\ua'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0038.js: -------------------------------------------------------------------------------- 1 | / -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0039.js: -------------------------------------------------------------------------------- 1 | /test -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0040.js: -------------------------------------------------------------------------------- 1 | /test 2 | / -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0045.js: -------------------------------------------------------------------------------- 1 | 3 = 4 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0046.js: -------------------------------------------------------------------------------- 1 | func() = 4 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0047.js: -------------------------------------------------------------------------------- 1 | (1 + 1) = 10 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0048.source.js: -------------------------------------------------------------------------------- 1 | var source = '"\\u{110000}"'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0049.source.js: -------------------------------------------------------------------------------- 1 | var source = '"\\u{}"'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0050.source.js: -------------------------------------------------------------------------------- 1 | var source = '"\\u{FFFF"'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0051.source.js: -------------------------------------------------------------------------------- 1 | var source = '"\\u{FFZ}"'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0052.js: -------------------------------------------------------------------------------- 1 | 1++ -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0053.js: -------------------------------------------------------------------------------- 1 | 1-- -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0054.js: -------------------------------------------------------------------------------- 1 | ++1 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0055.js: -------------------------------------------------------------------------------- 1 | --1 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0056.js: -------------------------------------------------------------------------------- 1 | for((1 + 1) in list) process(x); -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0057.js: -------------------------------------------------------------------------------- 1 | [ -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0058.js: -------------------------------------------------------------------------------- 1 | [, -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0059.js: -------------------------------------------------------------------------------- 1 | 1 + { -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0060.js: -------------------------------------------------------------------------------- 1 | 1 + { t:t -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0061.js: -------------------------------------------------------------------------------- 1 | 1 + { t:t, -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0062.js: -------------------------------------------------------------------------------- 1 | var x = / 2 | / -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0063.js: -------------------------------------------------------------------------------- 1 | var x = " 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0064.js: -------------------------------------------------------------------------------- 1 | var if = 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0065.js: -------------------------------------------------------------------------------- 1 | i #= 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0066.js: -------------------------------------------------------------------------------- 1 | i + 2 = 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0067.js: -------------------------------------------------------------------------------- 1 | +i = 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0068.js: -------------------------------------------------------------------------------- 1 | 1 + ( -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0069.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | { -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0070.js: -------------------------------------------------------------------------------- 1 | 2 | /* Some multiline 3 | comment */ 4 | ) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0071.js: -------------------------------------------------------------------------------- 1 | { set 1 } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0072.js: -------------------------------------------------------------------------------- 1 | { get 2 } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0073.js: -------------------------------------------------------------------------------- 1 | ({ set: s(if) { } }) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0074.js: -------------------------------------------------------------------------------- 1 | ({ set s(.) { } }) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0076.js: -------------------------------------------------------------------------------- 1 | ({ set: s() { } }) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0077.js: -------------------------------------------------------------------------------- 1 | ({ set: s(a, b) { } }) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0078.js: -------------------------------------------------------------------------------- 1 | ({ get: g(d) { } }) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0080.js: -------------------------------------------------------------------------------- 1 | ({[a,b]:0}) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0081.js: -------------------------------------------------------------------------------- 1 | ({get[a,b]:0}) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0082.js: -------------------------------------------------------------------------------- 1 | ({(a):0}) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0083.js: -------------------------------------------------------------------------------- 1 | ({get{a}:0}) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0084.js: -------------------------------------------------------------------------------- 1 | ({get -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0085.js: -------------------------------------------------------------------------------- 1 | ((a)) => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0086.js: -------------------------------------------------------------------------------- 1 | (a, (b)) => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0087.js: -------------------------------------------------------------------------------- 1 | "use strict"; (eval = 10) => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0088.js: -------------------------------------------------------------------------------- 1 | "use strict"; eval => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0089.js: -------------------------------------------------------------------------------- 1 | "use strict"; arguments => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0090.js: -------------------------------------------------------------------------------- 1 | "use strict"; (eval, a) => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0091.js: -------------------------------------------------------------------------------- 1 | "use strict"; (arguments, a) => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0092.js: -------------------------------------------------------------------------------- 1 | (a, a) => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0093.js: -------------------------------------------------------------------------------- 1 | "use strict"; (a, a) => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0094.js: -------------------------------------------------------------------------------- 1 | "use strict"; (a) => 00 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0095.js: -------------------------------------------------------------------------------- 1 | () <= 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0096.js: -------------------------------------------------------------------------------- 1 | () ? 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0097.js: -------------------------------------------------------------------------------- 1 | () + 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0098.js: -------------------------------------------------------------------------------- 1 | (10) => 00 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0099.js: -------------------------------------------------------------------------------- 1 | (10, 20) => 00 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0100.js: -------------------------------------------------------------------------------- 1 | "use strict"; (eval) => 42 -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0101.js: -------------------------------------------------------------------------------- 1 | (eval) => { "use strict"; 42 } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0102.js: -------------------------------------------------------------------------------- 1 | p = { q/ } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0103.js: -------------------------------------------------------------------------------- 1 | p = { "q"/ } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0104.js: -------------------------------------------------------------------------------- 1 | function t(if) { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0105.js: -------------------------------------------------------------------------------- 1 | function t(true) { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0106.js: -------------------------------------------------------------------------------- 1 | function t(false) { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0107.js: -------------------------------------------------------------------------------- 1 | function t(null) { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0108.js: -------------------------------------------------------------------------------- 1 | function null() { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0109.js: -------------------------------------------------------------------------------- 1 | function true() { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0110.js: -------------------------------------------------------------------------------- 1 | function false() { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0111.js: -------------------------------------------------------------------------------- 1 | function if() { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0112.js: -------------------------------------------------------------------------------- 1 | a b; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0113.js: -------------------------------------------------------------------------------- 1 | if.a; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0114.js: -------------------------------------------------------------------------------- 1 | a if; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0115.js: -------------------------------------------------------------------------------- 1 | a enum; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0116.js: -------------------------------------------------------------------------------- 1 | break 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0117.js: -------------------------------------------------------------------------------- 1 | break 1; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0118.js: -------------------------------------------------------------------------------- 1 | continue 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0119.js: -------------------------------------------------------------------------------- 1 | continue 2; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0120.js: -------------------------------------------------------------------------------- 1 | throw -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0121.js: -------------------------------------------------------------------------------- 1 | throw; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0122.js: -------------------------------------------------------------------------------- 1 | throw 2 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0123.js: -------------------------------------------------------------------------------- 1 | for (var i, i2 in {}); -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0124.js: -------------------------------------------------------------------------------- 1 | for ((i in {})); -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0125.js: -------------------------------------------------------------------------------- 1 | for (i + 1 in {}); -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0126.js: -------------------------------------------------------------------------------- 1 | for (+i in {}); -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0127.js: -------------------------------------------------------------------------------- 1 | if(false) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0128.js: -------------------------------------------------------------------------------- 1 | if(false) doThis(); else -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0129.js: -------------------------------------------------------------------------------- 1 | do -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0130.js: -------------------------------------------------------------------------------- 1 | while(false) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0131.js: -------------------------------------------------------------------------------- 1 | for(;;) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0132.js: -------------------------------------------------------------------------------- 1 | with(x) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0133.js: -------------------------------------------------------------------------------- 1 | try { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0135.js: -------------------------------------------------------------------------------- 1 | try {} catch (answer()) {} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0137.source.js: -------------------------------------------------------------------------------- 1 | var source = '\u203F = 10'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0138.js: -------------------------------------------------------------------------------- 1 | const x = 12, y; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0139.js: -------------------------------------------------------------------------------- 1 | const x, y = 12; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0140.js: -------------------------------------------------------------------------------- 1 | const x; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0141.js: -------------------------------------------------------------------------------- 1 | if(true) let a = 1; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0142.js: -------------------------------------------------------------------------------- 1 | if(true) const a = 1; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0144.js: -------------------------------------------------------------------------------- 1 | new X()."s" -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0145.js: -------------------------------------------------------------------------------- 1 | /* -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0146.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | 4 | -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0147.js: -------------------------------------------------------------------------------- 1 | /** -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0148.js: -------------------------------------------------------------------------------- 1 | /* 2 | 3 | * -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0149.js: -------------------------------------------------------------------------------- 1 | /*hello -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0150.js: -------------------------------------------------------------------------------- 1 | /*hello * -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0151.js: -------------------------------------------------------------------------------- 1 | 2 | ] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0152.js: -------------------------------------------------------------------------------- 1 | ] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0153.js: -------------------------------------------------------------------------------- 1 | 2 | ] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0154.js: -------------------------------------------------------------------------------- 1 | 2 | ] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0155.js: -------------------------------------------------------------------------------- 1 | // 2 | ] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0156.js: -------------------------------------------------------------------------------- 1 | // 2 | ] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0157.js: -------------------------------------------------------------------------------- 1 | /a\ 2 | / -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0158.js: -------------------------------------------------------------------------------- 1 | // 2 | ] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0159.js: -------------------------------------------------------------------------------- 1 | /* 2 | */] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0160.js: -------------------------------------------------------------------------------- 1 | /* 2 | */] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0161.js: -------------------------------------------------------------------------------- 1 | /* 2 | */] -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0162.js: -------------------------------------------------------------------------------- 1 | \\ -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0163.source.js: -------------------------------------------------------------------------------- 1 | var source = '\\u005c'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0164.js: -------------------------------------------------------------------------------- 1 | \x -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0165.source.js: -------------------------------------------------------------------------------- 1 | var source = '\\u0000'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0166.source.js: -------------------------------------------------------------------------------- 1 | var source = '\u200C = []'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0167.source.js: -------------------------------------------------------------------------------- 1 | var source = '\u200D = []'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0168.js: -------------------------------------------------------------------------------- 1 | "\ -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0169.source.js: -------------------------------------------------------------------------------- 1 | var source = '"\\u'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0170.js: -------------------------------------------------------------------------------- 1 | try { } catch() {} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0171.js: -------------------------------------------------------------------------------- 1 | return -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0172.js: -------------------------------------------------------------------------------- 1 | break -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0173.js: -------------------------------------------------------------------------------- 1 | continue -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0174.js: -------------------------------------------------------------------------------- 1 | switch (x) { default: continue; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0175.js: -------------------------------------------------------------------------------- 1 | do { x } * -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0176.js: -------------------------------------------------------------------------------- 1 | while (true) { break x; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0177.js: -------------------------------------------------------------------------------- 1 | while (true) { continue x; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0183.js: -------------------------------------------------------------------------------- 1 | (function () { 'use strict'; delete i; }()) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0184.js: -------------------------------------------------------------------------------- 1 | (function () { 'use strict'; with (i); }()) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0191.js: -------------------------------------------------------------------------------- 1 | function hello() {'use strict'; ++eval; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0192.js: -------------------------------------------------------------------------------- 1 | function hello() {'use strict'; --eval; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0195.js: -------------------------------------------------------------------------------- 1 | function hello() {'use strict'; eval++; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0196.js: -------------------------------------------------------------------------------- 1 | function hello() {'use strict'; eval--; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0201.js: -------------------------------------------------------------------------------- 1 | function eval() {'use strict'; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0202.js: -------------------------------------------------------------------------------- 1 | function arguments() {'use strict'; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0205.js: -------------------------------------------------------------------------------- 1 | (function eval() {'use strict'; })() -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0206.js: -------------------------------------------------------------------------------- 1 | (function arguments() {'use strict'; })() -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0208.js: -------------------------------------------------------------------------------- 1 | (function package() {'use strict'; })() -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0212.js: -------------------------------------------------------------------------------- 1 | function hello(eval) {'use strict';} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0213.js: -------------------------------------------------------------------------------- 1 | function hello(arguments) {'use strict';} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0216.js: -------------------------------------------------------------------------------- 1 | "\1"; 'use strict'; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0217.js: -------------------------------------------------------------------------------- 1 | function hello() { 'use strict'; "\1"; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0218.js: -------------------------------------------------------------------------------- 1 | function hello() { 'use strict'; 021; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0232.js: -------------------------------------------------------------------------------- 1 | function hello() { "use strict"; var let; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0233.js: -------------------------------------------------------------------------------- 1 | function hello(static) { "use strict"; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0234.js: -------------------------------------------------------------------------------- 1 | function static() { "use strict"; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0235.js: -------------------------------------------------------------------------------- 1 | function eval(a) { "use strict"; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0236.js: -------------------------------------------------------------------------------- 1 | function arguments(a) { "use strict"; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0239.js: -------------------------------------------------------------------------------- 1 | "use strict"; function static() { } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0240.js: -------------------------------------------------------------------------------- 1 | function a(t, t) { "use strict"; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0241.js: -------------------------------------------------------------------------------- 1 | function a(eval) { "use strict"; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0242.js: -------------------------------------------------------------------------------- 1 | function a(package) { "use strict"; } -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0244.js: -------------------------------------------------------------------------------- 1 | (function a(t, t) { "use strict"; }) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0246.js: -------------------------------------------------------------------------------- 1 | (function a(eval) { "use strict"; }) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0247.js: -------------------------------------------------------------------------------- 1 | (function a(package) { "use strict"; }) -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0252.js: -------------------------------------------------------------------------------- 1 | var -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0254.js: -------------------------------------------------------------------------------- 1 | const -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0257.js: -------------------------------------------------------------------------------- 1 | 'use strict'; a package -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0258.js: -------------------------------------------------------------------------------- 1 | function f(a, ...b, c){} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0260.js: -------------------------------------------------------------------------------- 1 | function x(...a = 1){} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0261.js: -------------------------------------------------------------------------------- 1 | class -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0262.js: -------------------------------------------------------------------------------- 1 | class -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0263.js: -------------------------------------------------------------------------------- 1 | class; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0264.js: -------------------------------------------------------------------------------- 1 | class A extends a + b {} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0265.js: -------------------------------------------------------------------------------- 1 | class A -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0266.js: -------------------------------------------------------------------------------- 1 | class A { -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0267.js: -------------------------------------------------------------------------------- 1 | class A; -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0268.js: -------------------------------------------------------------------------------- 1 | class A {a:0} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0270.js: -------------------------------------------------------------------------------- 1 | class A {static prototype(){}} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0271.js: -------------------------------------------------------------------------------- 1 | class A {static "prototype"(){}} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0272.js: -------------------------------------------------------------------------------- 1 | class A {get constructor(){}} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0273.js: -------------------------------------------------------------------------------- 1 | class A {set constructor(m){}} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0275.js: -------------------------------------------------------------------------------- 1 | class A {a static(){}} -------------------------------------------------------------------------------- /test/fixtures/invalid-syntax/migrated_0277.js: -------------------------------------------------------------------------------- 1 | class A {a(enum){}} -------------------------------------------------------------------------------- /test/fixtures/statement/block/migrated_0000.js: -------------------------------------------------------------------------------- 1 | { foo } -------------------------------------------------------------------------------- /test/fixtures/statement/block/migrated_0002.js: -------------------------------------------------------------------------------- 1 | {} -------------------------------------------------------------------------------- /test/fixtures/statement/break/migrated_0000.js: -------------------------------------------------------------------------------- 1 | while (true) { break } -------------------------------------------------------------------------------- /test/fixtures/statement/break/migrated_0001.js: -------------------------------------------------------------------------------- 1 | done: while (true) { break done } -------------------------------------------------------------------------------- /test/fixtures/statement/break/migrated_0002.js: -------------------------------------------------------------------------------- 1 | done: while (true) { break done; } -------------------------------------------------------------------------------- /test/fixtures/statement/continue/migrated_0000.js: -------------------------------------------------------------------------------- 1 | while (true) { continue; } -------------------------------------------------------------------------------- /test/fixtures/statement/continue/migrated_0001.js: -------------------------------------------------------------------------------- 1 | while (true) { continue } -------------------------------------------------------------------------------- /test/fixtures/statement/continue/migrated_0002.js: -------------------------------------------------------------------------------- 1 | done: while (true) { continue done } -------------------------------------------------------------------------------- /test/fixtures/statement/continue/migrated_0003.js: -------------------------------------------------------------------------------- 1 | done: while (true) { continue done; } -------------------------------------------------------------------------------- /test/fixtures/statement/debugger/migrated_0000.js: -------------------------------------------------------------------------------- 1 | debugger; -------------------------------------------------------------------------------- /test/fixtures/statement/empty/migrated_0000.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /test/fixtures/statement/expression/migrated_0000.js: -------------------------------------------------------------------------------- 1 | x -------------------------------------------------------------------------------- /test/fixtures/statement/expression/migrated_0001.js: -------------------------------------------------------------------------------- 1 | x, y -------------------------------------------------------------------------------- /test/fixtures/statement/expression/migrated_0002.source.js: -------------------------------------------------------------------------------- 1 | var source = '\\u0061'; -------------------------------------------------------------------------------- /test/fixtures/statement/expression/migrated_0003.source.js: -------------------------------------------------------------------------------- 1 | var source = 'a\\u0061'; -------------------------------------------------------------------------------- /test/fixtures/statement/expression/migrated_0004.source.js: -------------------------------------------------------------------------------- 1 | var source = '\\u0061a'; -------------------------------------------------------------------------------- /test/fixtures/statement/expression/migrated_0005.source.js: -------------------------------------------------------------------------------- 1 | var source = '\\u0061a '; -------------------------------------------------------------------------------- /test/fixtures/statement/if/migrated_0001.js: -------------------------------------------------------------------------------- 1 | if (morning) (function(){}) -------------------------------------------------------------------------------- /test/fixtures/statement/if/migrated_0002.js: -------------------------------------------------------------------------------- 1 | if (morning) var x = 0; -------------------------------------------------------------------------------- /test/fixtures/statement/if/migrated_0003.js: -------------------------------------------------------------------------------- 1 | if (morning) function a(){} -------------------------------------------------------------------------------- /test/fixtures/statement/if/migrated_0005.js: -------------------------------------------------------------------------------- 1 | if (true) that() 2 | ; else; -------------------------------------------------------------------------------- /test/fixtures/statement/if/migrated_0006.js: -------------------------------------------------------------------------------- 1 | if (true) that(); else; -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/const_forin.js: -------------------------------------------------------------------------------- 1 | for (const x in list) process(x); 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/for-in-let.js: -------------------------------------------------------------------------------- 1 | for (x in let) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/for-let-let.js: -------------------------------------------------------------------------------- 1 | for (let x = let;;) {} 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/for-statement-with-seq.js: -------------------------------------------------------------------------------- 1 | for(a,b,c;;); 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/invalid-assign-for-in.js: -------------------------------------------------------------------------------- 1 | for (x=0 in y); 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0000.js: -------------------------------------------------------------------------------- 1 | do keep(); while (true) -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0001.js: -------------------------------------------------------------------------------- 1 | do keep(); while (true); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0002.js: -------------------------------------------------------------------------------- 1 | do { x++; y--; } while (x < 10) -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0004.js: -------------------------------------------------------------------------------- 1 | do that();while (true) -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0005.js: -------------------------------------------------------------------------------- 1 | do that() 2 | ;while (true) -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0006.js: -------------------------------------------------------------------------------- 1 | while (true) doSomething() -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0007.js: -------------------------------------------------------------------------------- 1 | while (x < 10) { x++; y--; } -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0008.js: -------------------------------------------------------------------------------- 1 | for(;;); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0009.js: -------------------------------------------------------------------------------- 1 | for(;;){} -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0010.js: -------------------------------------------------------------------------------- 1 | for(x = 0;;); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0011.js: -------------------------------------------------------------------------------- 1 | for(var x = 0;;); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0012.js: -------------------------------------------------------------------------------- 1 | for(let x = 0;;); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0013.js: -------------------------------------------------------------------------------- 1 | for(var x = 0, y = 1;;); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0014.js: -------------------------------------------------------------------------------- 1 | for(x = 0; x < 42;); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0015.js: -------------------------------------------------------------------------------- 1 | for(x = 0; x < 42; x++); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0016.js: -------------------------------------------------------------------------------- 1 | for(x = 0; x < 42; x++) process(x); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0017.js: -------------------------------------------------------------------------------- 1 | for(x in list) process(x); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0018.js: -------------------------------------------------------------------------------- 1 | for (var x in list) process(x); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0019.js: -------------------------------------------------------------------------------- 1 | for (var x = 42 in list) process(x); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0020.js: -------------------------------------------------------------------------------- 1 | for (let x in list) process(x); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0021.js: -------------------------------------------------------------------------------- 1 | for (var x = y = z in q); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/migrated_0026.js: -------------------------------------------------------------------------------- 1 | for (a.in in a); -------------------------------------------------------------------------------- /test/fixtures/statement/iteration/unterminated-do-while.js: -------------------------------------------------------------------------------- 1 | do {} while (true 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/labelled/function-declaration.js: -------------------------------------------------------------------------------- 1 | a: function b() {} 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/labelled/migrated_0000.js: -------------------------------------------------------------------------------- 1 | start: for (;;) break start -------------------------------------------------------------------------------- /test/fixtures/statement/labelled/migrated_0001.js: -------------------------------------------------------------------------------- 1 | start: while (true) break start -------------------------------------------------------------------------------- /test/fixtures/statement/labelled/migrated_0002.js: -------------------------------------------------------------------------------- 1 | __proto__: test -------------------------------------------------------------------------------- /test/fixtures/statement/return/migrated_0000.js: -------------------------------------------------------------------------------- 1 | (function(){ return }) -------------------------------------------------------------------------------- /test/fixtures/statement/return/migrated_0001.js: -------------------------------------------------------------------------------- 1 | (function(){ return; }) -------------------------------------------------------------------------------- /test/fixtures/statement/return/migrated_0002.js: -------------------------------------------------------------------------------- 1 | (function(){ return x; }) -------------------------------------------------------------------------------- /test/fixtures/statement/return/migrated_0003.js: -------------------------------------------------------------------------------- 1 | (function(){ return x * y }) -------------------------------------------------------------------------------- /test/fixtures/statement/switch/migrated_0000.js: -------------------------------------------------------------------------------- 1 | switch (x) {} -------------------------------------------------------------------------------- /test/fixtures/statement/switch/migrated_0001.js: -------------------------------------------------------------------------------- 1 | switch (answer) { case 42: hi(); break; } -------------------------------------------------------------------------------- /test/fixtures/statement/throw/migrated_0000.js: -------------------------------------------------------------------------------- 1 | throw x; -------------------------------------------------------------------------------- /test/fixtures/statement/throw/migrated_0001.js: -------------------------------------------------------------------------------- 1 | throw x * y -------------------------------------------------------------------------------- /test/fixtures/statement/throw/migrated_0002.js: -------------------------------------------------------------------------------- 1 | throw { message: "Error" } -------------------------------------------------------------------------------- /test/fixtures/statement/try/migrated_0001.js: -------------------------------------------------------------------------------- 1 | try { } catch (eval) { } -------------------------------------------------------------------------------- /test/fixtures/statement/try/migrated_0002.js: -------------------------------------------------------------------------------- 1 | try { } catch (arguments) { } -------------------------------------------------------------------------------- /test/fixtures/statement/variable/complex-pattern-requires-init.js: -------------------------------------------------------------------------------- 1 | var [] 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/variable/invalid_trailing_comma_1.js: -------------------------------------------------------------------------------- 1 | var x, 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/variable/invalid_trailing_comma_2.js: -------------------------------------------------------------------------------- 1 | var x,; 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/variable/invalid_trailing_comma_3.js: -------------------------------------------------------------------------------- 1 | var x, ; 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/variable/invalid_trailing_comma_4.js: -------------------------------------------------------------------------------- 1 | var x, y, 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/variable/invalid_trailing_comma_5.js: -------------------------------------------------------------------------------- 1 | var x, 2 | y,; 3 | -------------------------------------------------------------------------------- /test/fixtures/statement/variable/invalid_trailing_comma_6.js: -------------------------------------------------------------------------------- 1 | var answer = 42, 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/variable/migrated_0000.js: -------------------------------------------------------------------------------- 1 | var x -------------------------------------------------------------------------------- /test/fixtures/statement/variable/migrated_0001.js: -------------------------------------------------------------------------------- 1 | var x, y; -------------------------------------------------------------------------------- /test/fixtures/statement/variable/migrated_0002.js: -------------------------------------------------------------------------------- 1 | var x = 42 -------------------------------------------------------------------------------- /test/fixtures/statement/variable/migrated_0005.js: -------------------------------------------------------------------------------- 1 | var implements, interface, package -------------------------------------------------------------------------------- /test/fixtures/statement/variable/var_let.js: -------------------------------------------------------------------------------- 1 | var let; 2 | -------------------------------------------------------------------------------- /test/fixtures/statement/with/migrated_0000.js: -------------------------------------------------------------------------------- 1 | with (x) foo = bar -------------------------------------------------------------------------------- /test/fixtures/statement/with/migrated_0001.js: -------------------------------------------------------------------------------- 1 | with (x) foo = bar; -------------------------------------------------------------------------------- /test/fixtures/statement/with/migrated_0002.js: -------------------------------------------------------------------------------- 1 | with (x) { foo = bar } -------------------------------------------------------------------------------- /test/fixtures/statement/with/unterminated-with.js: -------------------------------------------------------------------------------- 1 | with (x 2 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/after_if.js: -------------------------------------------------------------------------------- 1 | if(x){} /y/.test(z) -------------------------------------------------------------------------------- /test/fixtures/tokenize/empty.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/empty.tokens.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/invalid_number.js: -------------------------------------------------------------------------------- 1 | 1e 2 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/leading_comment.js: -------------------------------------------------------------------------------- 1 | /* hello world */ /42/ 2 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/line_comment.js: -------------------------------------------------------------------------------- 1 | var answer = 42 // the Ultimate 2 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/line_terminators.js: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/line_terminators.tokens.json: -------------------------------------------------------------------------------- 1 | [] 2 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0000.js: -------------------------------------------------------------------------------- 1 | tokenize(/42/) -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0001.js: -------------------------------------------------------------------------------- 1 | if (false) { /42/ } -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0002.js: -------------------------------------------------------------------------------- 1 | with (false) /42/ -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0003.js: -------------------------------------------------------------------------------- 1 | (false) /42/ -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0004.js: -------------------------------------------------------------------------------- 1 | function f(){} /42/ -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0005.js: -------------------------------------------------------------------------------- 1 | function(){} /42 -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0006.js: -------------------------------------------------------------------------------- 1 | {} /42 -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0007.js: -------------------------------------------------------------------------------- 1 | [function(){} /42] -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0008.js: -------------------------------------------------------------------------------- 1 | ;function f(){} /42/ -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0009.js: -------------------------------------------------------------------------------- 1 | void /42/ -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0010.js: -------------------------------------------------------------------------------- 1 | /42/ -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0011.js: -------------------------------------------------------------------------------- 1 | foo[/42] -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0012.js: -------------------------------------------------------------------------------- 1 | [a] / b -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0013.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0013.tokens.json: -------------------------------------------------------------------------------- 1 | [] -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0014.js: -------------------------------------------------------------------------------- 1 | /42 -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0015.js: -------------------------------------------------------------------------------- 1 | foo[/42 -------------------------------------------------------------------------------- /test/fixtures/tokenize/migrated_0016.js: -------------------------------------------------------------------------------- 1 | this / 100; -------------------------------------------------------------------------------- /test/fixtures/tokenize/single_slash.js: -------------------------------------------------------------------------------- 1 | / 2 | -------------------------------------------------------------------------------- /test/fixtures/tokenize/trailing_comment.js: -------------------------------------------------------------------------------- 1 | /42/ /* answer */ 2 | -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/for-in-missing-parenthesis.js: -------------------------------------------------------------------------------- 1 | for (x in y 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/for-missing-parenthesis.js: -------------------------------------------------------------------------------- 1 | for (var i = 0; i < j; ++i 2 | -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/for-of-missing-parenthesis.js: -------------------------------------------------------------------------------- 1 | for (x of y 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/if-missing-parenthesis.js: -------------------------------------------------------------------------------- 1 | if (x < 42 2 | -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/let_eval.js: -------------------------------------------------------------------------------- 1 | "use strict"; let eval; 2 | -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0000.js: -------------------------------------------------------------------------------- 1 | /* -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0001.js: -------------------------------------------------------------------------------- 1 | var foo = 1; /* -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0002.js: -------------------------------------------------------------------------------- 1 | /* var fo0 = 1; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0003.js: -------------------------------------------------------------------------------- 1 | /* /* if(foo) {} -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0004.js: -------------------------------------------------------------------------------- 1 | /* foo 2 | 3 | -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0005.js: -------------------------------------------------------------------------------- 1 | f(a b c); -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0006.js: -------------------------------------------------------------------------------- 1 | f(a function(){} c); -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0007.js: -------------------------------------------------------------------------------- 1 | f({} b c); -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0008.js: -------------------------------------------------------------------------------- 1 | var o = {one: function() {} two:2}; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0012.js: -------------------------------------------------------------------------------- 1 | x = { y: z; } -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0013.js: -------------------------------------------------------------------------------- 1 | return -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0014.js: -------------------------------------------------------------------------------- 1 | (function () { 'use strict'; with (i); }()) -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0015.js: -------------------------------------------------------------------------------- 1 | (function () { 'use strict'; 021 }()) -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0016.js: -------------------------------------------------------------------------------- 1 | "use strict"; delete x -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0017.js: -------------------------------------------------------------------------------- 1 | "use strict"; try {} catch (eval) {} -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0018.js: -------------------------------------------------------------------------------- 1 | "use strict"; try {} catch (arguments) {} -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0019.js: -------------------------------------------------------------------------------- 1 | "use strict"; var eval; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0020.js: -------------------------------------------------------------------------------- 1 | "use strict"; var arguments; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0021.js: -------------------------------------------------------------------------------- 1 | "use strict"; eval = 0; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0022.js: -------------------------------------------------------------------------------- 1 | "use strict"; eval++; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0023.js: -------------------------------------------------------------------------------- 1 | "use strict"; --eval; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0024.js: -------------------------------------------------------------------------------- 1 | "use strict"; arguments = 0; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0025.js: -------------------------------------------------------------------------------- 1 | "use strict"; arguments--; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0026.js: -------------------------------------------------------------------------------- 1 | "use strict"; ++arguments; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0027.js: -------------------------------------------------------------------------------- 1 | "use strict"; function eval() {}; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0028.js: -------------------------------------------------------------------------------- 1 | "use strict"; function arguments() {}; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0029.js: -------------------------------------------------------------------------------- 1 | "use strict"; function interface() {}; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0030.js: -------------------------------------------------------------------------------- 1 | "use strict"; (function eval() {}); -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0031.js: -------------------------------------------------------------------------------- 1 | "use strict"; (function arguments() {}); -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0032.js: -------------------------------------------------------------------------------- 1 | "use strict"; (function interface() {}); -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0033.js: -------------------------------------------------------------------------------- 1 | "use strict"; function f(eval) {}; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0034.js: -------------------------------------------------------------------------------- 1 | "use strict"; function f(arguments) {}; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0035.js: -------------------------------------------------------------------------------- 1 | "use strict"; function f(foo, foo) {}; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0036.js: -------------------------------------------------------------------------------- 1 | "use strict"; (function f(eval) {}); -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0037.js: -------------------------------------------------------------------------------- 1 | "use strict"; (function f(arguments) {}); -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0038.js: -------------------------------------------------------------------------------- 1 | "use strict"; (function f(foo, foo) {}); -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0039.js: -------------------------------------------------------------------------------- 1 | "use strict"; x = { set f(eval) {} } -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0041.js: -------------------------------------------------------------------------------- 1 | "\1"; 'use strict'; -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0042.js: -------------------------------------------------------------------------------- 1 | "use strict"; var x = { 014: 3} -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0044.js: -------------------------------------------------------------------------------- 1 | foo("bar") = baz -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0045.js: -------------------------------------------------------------------------------- 1 | 1 = 2 -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0046.js: -------------------------------------------------------------------------------- 1 | 3++ -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0047.js: -------------------------------------------------------------------------------- 1 | --4 -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0048.js: -------------------------------------------------------------------------------- 1 | for (5 in []) {} -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0049.js: -------------------------------------------------------------------------------- 1 | var x = /[P QR]/\g -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0051.js: -------------------------------------------------------------------------------- 1 | ({x(eval){"use strict";}}) -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/migrated_0052.js: -------------------------------------------------------------------------------- 1 | ({x(eval){"use strict"}}) -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/string_literal_escape_eight.js: -------------------------------------------------------------------------------- 1 | var x = 'abc\8'; 2 | -------------------------------------------------------------------------------- /test/fixtures/tolerant-parse/while-missing-parenthesis.js: -------------------------------------------------------------------------------- 1 | while (true 2 | --------------------------------------------------------------------------------