├── .editorconfig ├── .gitattributes ├── .github ├── ISSUE_TEMPLATE │ ├── bug-report.yml │ ├── change.yml │ ├── config.yml │ └── docs.yml ├── PULL_REQUEST_TEMPLATE.md └── workflows │ ├── ci.yml │ ├── release-please.yml │ └── update-readme.yml ├── .gitignore ├── .npmrc ├── .release-please-manifest.json ├── LICENSE ├── README.md ├── eslint.config.js ├── package.json ├── packages ├── eslint-scope │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── Makefile.js │ ├── README.md │ ├── lib │ │ ├── assert.js │ │ ├── definition.js │ │ ├── index.js │ │ ├── pattern-visitor.js │ │ ├── reference.js │ │ ├── referencer.js │ │ ├── scope-manager.js │ │ ├── scope.js │ │ ├── variable.js │ │ └── version.js │ ├── licenses-meta-data.json │ ├── package.json │ ├── rollup.config.js │ ├── tests │ │ ├── arguments.js │ │ ├── catch-scope.js │ │ ├── child-visitor-keys.js │ │ ├── class-fields.js │ │ ├── class-static-blocks.js │ │ ├── commonjs.cjs │ │ ├── es6-arrow-function-expression.js │ │ ├── es6-block-scope.js │ │ ├── es6-catch.js │ │ ├── es6-class.js │ │ ├── es6-default-parameters.js │ │ ├── es6-destructuring-assignments.js │ │ ├── es6-export.js │ │ ├── es6-import.js │ │ ├── es6-iteration-scope.js │ │ ├── es6-new-target.js │ │ ├── es6-object.js │ │ ├── es6-rest-args.js │ │ ├── es6-super.js │ │ ├── es6-switch.js │ │ ├── es6-template-literal.js │ │ ├── export-star-as-ns-from-source.js │ │ ├── fallback.js │ │ ├── function-expression-name.js │ │ ├── get-declared-variables.js │ │ ├── global-increment.js │ │ ├── implicit-global-reference.js │ │ ├── implied-strict.js │ │ ├── import-attributes.js │ │ ├── jsx.js │ │ ├── label.js │ │ ├── nodejs-scope.js │ │ ├── object-expression.js │ │ ├── optimistic.js │ │ ├── references.js │ │ ├── typescript.js │ │ ├── use-strict.js │ │ ├── util │ │ │ ├── ecma-version.js │ │ │ └── espree.js │ │ └── with-scope.js │ └── tools │ │ └── update-version.js ├── eslint-visitor-keys │ ├── CHANGELOG.md │ ├── LICENSE │ ├── README.md │ ├── lib │ │ ├── index.js │ │ └── visitor-keys.js │ ├── package.json │ ├── rollup.config.js │ ├── test-d │ │ └── index.test-d.ts │ ├── tests │ │ └── lib │ │ │ ├── commonjs.cjs │ │ │ └── index.js │ └── tsconfig.json └── espree │ ├── .nycrc │ ├── CHANGELOG.md │ ├── CONTRIBUTING.md │ ├── LICENSE │ ├── README.md │ ├── docs │ ├── .nojekyll │ ├── README.md │ ├── _sidebar.md │ ├── assets │ │ ├── css │ │ │ └── style.css │ │ └── img │ │ │ ├── android-icon-144x144.png │ │ │ ├── android-icon-192x192.png │ │ │ ├── android-icon-36x36.png │ │ │ ├── android-icon-48x48.png │ │ │ ├── android-icon-72x72.png │ │ │ ├── android-icon-96x96.png │ │ │ ├── apple-icon-114x114.png │ │ │ ├── apple-icon-120x120.png │ │ │ ├── apple-icon-144x144.png │ │ │ ├── apple-icon-152x152.png │ │ │ ├── apple-icon-180x180.png │ │ │ ├── apple-icon-57x57.png │ │ │ ├── apple-icon-60x60.png │ │ │ ├── apple-icon-72x72.png │ │ │ ├── apple-icon-76x76.png │ │ │ ├── apple-icon-precomposed.png │ │ │ ├── apple-icon.png │ │ │ ├── browserconfig.xml │ │ │ ├── favicon-16x16.png │ │ │ ├── favicon-32x32.png │ │ │ ├── favicon-96x96.png │ │ │ ├── favicon.512x512.png │ │ │ ├── favicon.ico │ │ │ ├── logo.svg │ │ │ ├── manifest.json │ │ │ ├── ms-icon-144x144.png │ │ │ ├── ms-icon-150x150.png │ │ │ ├── ms-icon-310x310.png │ │ │ └── ms-icon-70x70.png │ ├── ast │ │ └── literal.md │ ├── index.html │ └── tokens.md │ ├── espree.js │ ├── lib │ ├── espree.js │ ├── features.js │ ├── options.js │ ├── token-translator.js │ └── version.js │ ├── package.json │ ├── rollup.config.js │ ├── tests │ ├── fixtures │ │ ├── ast │ │ │ ├── Additive-Operators.json │ │ │ ├── Array-Initializer.json │ │ │ ├── Assignment-Operators.json │ │ │ ├── Automatic-semicolon-insertion.json │ │ │ ├── Binary-Bitwise-Operators.json │ │ │ ├── Binary-Expressions.json │ │ │ ├── Binary-Logical-Operators.json │ │ │ ├── Bitwise-Shift-Operator.json │ │ │ ├── Block.json │ │ │ ├── Comments.json │ │ │ ├── Complex-Expression.json │ │ │ ├── Conditional-Operator.json │ │ │ ├── Const-Statement.json │ │ │ ├── Directive-Prolog.json │ │ │ ├── Empty-Statement.json │ │ │ ├── Equality-Operators.json │ │ │ ├── Expression-Statement.json │ │ │ ├── Function-Definition.json │ │ │ ├── Grouping-Operator.json │ │ │ ├── If-Statement.json │ │ │ ├── Invalid-syntax.json │ │ │ ├── Iteration-Statements.json │ │ │ ├── Labelled-Statements.json │ │ │ ├── Left-Hand-Side-Expression.json │ │ │ ├── Let-Statement.json │ │ │ ├── Multiplicative-Operators.json │ │ │ ├── Numeric-Literals.json │ │ │ ├── Object-Initializer.json │ │ │ ├── Postfix-Expressions.json │ │ │ ├── Primary-Expression.json │ │ │ ├── Regular-Expression-Literals.json │ │ │ ├── Relational-Operators.json │ │ │ ├── Source-elements.json │ │ │ ├── Source-option.json │ │ │ ├── String-Literals.json │ │ │ ├── Tokenize.json │ │ │ ├── Tolerant-parse.json │ │ │ ├── Unary-Operators.json │ │ │ ├── Variable-Statement.json │ │ │ ├── Whitespace.json │ │ │ ├── break-statement.json │ │ │ ├── continue-statement.json │ │ │ ├── debugger-statement.json │ │ │ ├── return-statement.json │ │ │ ├── switch-statement.json │ │ │ ├── throw-statement.json │ │ │ ├── try-statement.json │ │ │ └── with-statement.json │ │ ├── ecma-features │ │ │ ├── globalReturn │ │ │ │ ├── return-identifier.result.js │ │ │ │ ├── return-identifier.src.js │ │ │ │ ├── return-no-arg.result.js │ │ │ │ ├── return-no-arg.src.js │ │ │ │ ├── return-true.result.js │ │ │ │ └── return-true.src.js │ │ │ ├── impliedStrict │ │ │ │ ├── global-strict-violation.result.js │ │ │ │ ├── global-strict-violation.src.js │ │ │ │ ├── inner-strict-violation.result.js │ │ │ │ └── inner-strict-violation.src.js │ │ │ └── jsx │ │ │ │ ├── embedded-comment.result.js │ │ │ │ ├── embedded-comment.src.js │ │ │ │ ├── embedded-conditional.result.js │ │ │ │ ├── embedded-conditional.src.js │ │ │ │ ├── embedded-invalid-js-identifier.result.js │ │ │ │ ├── embedded-invalid-js-identifier.src.js │ │ │ │ ├── embedded-tags.result.js │ │ │ │ ├── embedded-tags.src.js │ │ │ │ ├── empty-placeholder.result.js │ │ │ │ ├── empty-placeholder.src.js │ │ │ │ ├── escape-patterns.result.js │ │ │ │ ├── escape-patterns.src.js │ │ │ │ ├── invalid-attribute-missing-equals.result.js │ │ │ │ ├── invalid-attribute-missing-equals.src.js │ │ │ │ ├── invalid-attribute.result.js │ │ │ │ ├── invalid-attribute.src.js │ │ │ │ ├── invalid-broken-tag.result.js │ │ │ │ ├── invalid-broken-tag.src.js │ │ │ │ ├── invalid-computed-end-tag-name.result.js │ │ │ │ ├── invalid-computed-end-tag-name.src.js │ │ │ │ ├── invalid-computed-string-end-tag-name.result.js │ │ │ │ ├── invalid-computed-string-end-tag-name.src.js │ │ │ │ ├── invalid-embedded-expression.result.js │ │ │ │ ├── invalid-embedded-expression.src.js │ │ │ │ ├── invalid-leading-dot-tag-name.result.js │ │ │ │ ├── invalid-leading-dot-tag-name.src.js │ │ │ │ ├── invalid-matching-placeholder-in-closing-tag.result.js │ │ │ │ ├── invalid-matching-placeholder-in-closing-tag.src.js │ │ │ │ ├── invalid-mismatched-closing-tag.result.js │ │ │ │ ├── invalid-mismatched-closing-tag.src.js │ │ │ │ ├── invalid-mismatched-closing-tags.result.js │ │ │ │ ├── invalid-mismatched-closing-tags.src.js │ │ │ │ ├── invalid-mismatched-dot-tag-name.result.js │ │ │ │ ├── invalid-mismatched-dot-tag-name.src.js │ │ │ │ ├── invalid-mismatched-namespace-tag.result.js │ │ │ │ ├── invalid-mismatched-namespace-tag.src.js │ │ │ │ ├── invalid-missing-closing-tag-attribute-placeholder.result.js │ │ │ │ ├── invalid-missing-closing-tag-attribute-placeholder.src.js │ │ │ │ ├── invalid-missing-closing-tag.result.js │ │ │ │ ├── invalid-missing-closing-tag.src.js │ │ │ │ ├── invalid-missing-namespace-name.result.js │ │ │ │ ├── invalid-missing-namespace-name.src.js │ │ │ │ ├── invalid-missing-namespace-value.result.js │ │ │ │ ├── invalid-missing-namespace-value.src.js │ │ │ │ ├── invalid-missing-spread-operator.result.js │ │ │ │ ├── invalid-missing-spread-operator.src.js │ │ │ │ ├── invalid-mixed-namespace-name.result.js │ │ │ │ ├── invalid-mixed-namespace-name.src.js │ │ │ │ ├── invalid-mixed-namespace-value.result.js │ │ │ │ ├── invalid-mixed-namespace-value.src.js │ │ │ │ ├── invalid-no-common-parent-with-comment.result.js │ │ │ │ ├── invalid-no-common-parent-with-comment.src.js │ │ │ │ ├── invalid-no-common-parent.result.js │ │ │ │ ├── invalid-no-common-parent.src.js │ │ │ │ ├── invalid-no-tag-name.result.js │ │ │ │ ├── invalid-no-tag-name.src.js │ │ │ │ ├── invalid-placeholder-in-closing-tag.result.js │ │ │ │ ├── invalid-placeholder-in-closing-tag.src.js │ │ │ │ ├── invalid-trailing-dot-tag-name.result.js │ │ │ │ ├── invalid-trailing-dot-tag-name.src.js │ │ │ │ ├── invalid-unexpected-comma.result.js │ │ │ │ ├── invalid-unexpected-comma.src.js │ │ │ │ ├── japanese-characters.result.js │ │ │ │ ├── japanese-characters.src.js │ │ │ │ ├── less-than-operator.result.js │ │ │ │ ├── less-than-operator.src.js │ │ │ │ ├── member-expression.result.js │ │ │ │ ├── member-expression.src.js │ │ │ │ ├── multiple-blank-spaces.result.js │ │ │ │ ├── multiple-blank-spaces.src.js │ │ │ │ ├── namespaced-attribute-and-value-inserted.result.js │ │ │ │ ├── namespaced-attribute-and-value-inserted.src.js │ │ │ │ ├── namespaced-name-and-attribute.result.js │ │ │ │ ├── namespaced-name-and-attribute.src.js │ │ │ │ ├── namespaced-name.result.js │ │ │ │ ├── namespaced-name.src.js │ │ │ │ ├── newslines-and-entities.result.js │ │ │ │ ├── newslines-and-entities.src.js │ │ │ │ ├── self-closing-tag-with-newline.result.js │ │ │ │ ├── self-closing-tag-with-newline.src.js │ │ │ │ ├── self-closing-tag.result.js │ │ │ │ ├── self-closing-tag.src.js │ │ │ │ ├── spread-operator-attribute-and-regular-attribute.result.js │ │ │ │ ├── spread-operator-attribute-and-regular-attribute.src.js │ │ │ │ ├── spread-operator-attributes.result.js │ │ │ │ ├── spread-operator-attributes.src.js │ │ │ │ ├── tag-names-with-dots.result.js │ │ │ │ ├── tag-names-with-dots.src.js │ │ │ │ ├── tag-names-with-multi-dots.result.js │ │ │ │ ├── tag-names-with-multi-dots.src.js │ │ │ │ ├── template-strings-in-jsx-complex.result.js │ │ │ │ ├── template-strings-in-jsx-complex.src.js │ │ │ │ ├── template-strings-in-jsx-multi.result.js │ │ │ │ ├── template-strings-in-jsx-multi.src.js │ │ │ │ ├── template-strings-in-jsx.result.js │ │ │ │ ├── template-strings-in-jsx.src.js │ │ │ │ ├── test-content.result.js │ │ │ │ ├── test-content.src.js │ │ │ │ ├── trailing-spread-operator-attribute.result.js │ │ │ │ ├── trailing-spread-operator-attribute.src.js │ │ │ │ ├── unknown-escape-pattern.result.js │ │ │ │ ├── unknown-escape-pattern.src.js │ │ │ │ ├── yield-jsx-element.result.js │ │ │ │ └── yield-jsx-element.src.js │ │ ├── ecma-version │ │ │ ├── 3 │ │ │ │ └── strict │ │ │ │ │ ├── func-strict.module-result.js │ │ │ │ │ ├── func-strict.result.js │ │ │ │ │ ├── func-strict.src.js │ │ │ │ │ ├── use-strict.module-result.js │ │ │ │ │ ├── use-strict.result.js │ │ │ │ │ └── use-strict.src.js │ │ │ ├── 6 │ │ │ │ ├── arrowFunctions │ │ │ │ │ ├── as-param-with-params.result.js │ │ │ │ │ ├── as-param-with-params.src.js │ │ │ │ │ ├── as-param.result.js │ │ │ │ │ ├── as-param.src.js │ │ │ │ │ ├── basic.result.js │ │ │ │ │ ├── basic.src.js │ │ │ │ │ ├── block-body-not-object.result.js │ │ │ │ │ ├── block-body-not-object.src.js │ │ │ │ │ ├── block-body.result.js │ │ │ │ │ ├── block-body.src.js │ │ │ │ │ ├── error-dup-params.result.js │ │ │ │ │ ├── error-dup-params.src.js │ │ │ │ │ ├── error-missing-paren.result.js │ │ │ │ │ ├── error-missing-paren.src.js │ │ │ │ │ ├── error-not-arrow.result.js │ │ │ │ │ ├── error-not-arrow.src.js │ │ │ │ │ ├── error-numeric-param-multi.result.js │ │ │ │ │ ├── error-numeric-param-multi.src.js │ │ │ │ │ ├── error-numeric-param.result.js │ │ │ │ │ ├── error-numeric-param.src.js │ │ │ │ │ ├── error-reverse-arrow.result.js │ │ │ │ │ ├── error-reverse-arrow.src.js │ │ │ │ │ ├── error-strict-default-param-eval.result.js │ │ │ │ │ ├── error-strict-default-param-eval.src.js │ │ │ │ │ ├── error-strict-dup-params.result.js │ │ │ │ │ ├── error-strict-dup-params.src.js │ │ │ │ │ ├── error-strict-eval-return.result.js │ │ │ │ │ ├── error-strict-eval-return.src.js │ │ │ │ │ ├── error-strict-eval.result.js │ │ │ │ │ ├── error-strict-eval.src.js │ │ │ │ │ ├── error-strict-octal.result.js │ │ │ │ │ ├── error-strict-octal.src.js │ │ │ │ │ ├── error-strict-param-arguments.result.js │ │ │ │ │ ├── error-strict-param-arguments.src.js │ │ │ │ │ ├── error-strict-param-eval.result.js │ │ │ │ │ ├── error-strict-param-eval.src.js │ │ │ │ │ ├── error-strict-param-names.result.js │ │ │ │ │ ├── error-strict-param-names.src.js │ │ │ │ │ ├── error-strict-param-no-paren-arguments.result.js │ │ │ │ │ ├── error-strict-param-no-paren-arguments.src.js │ │ │ │ │ ├── error-strict-param-no-paren-eval.result.js │ │ │ │ │ ├── error-strict-param-no-paren-eval.src.js │ │ │ │ │ ├── error-two-lines.result.js │ │ │ │ │ ├── error-two-lines.src.js │ │ │ │ │ ├── error-wrapped-param.result.js │ │ │ │ │ ├── error-wrapped-param.src.js │ │ │ │ │ ├── expression.result.js │ │ │ │ │ ├── expression.src.js │ │ │ │ │ ├── iife.result.js │ │ │ │ │ ├── iife.src.js │ │ │ │ │ ├── multiple-params.result.js │ │ │ │ │ ├── multiple-params.src.js │ │ │ │ │ ├── no-auto-return.result.js │ │ │ │ │ ├── no-auto-return.src.js │ │ │ │ │ ├── not-strict-arguments.result.js │ │ │ │ │ ├── not-strict-arguments.src.js │ │ │ │ │ ├── not-strict-eval-params.result.js │ │ │ │ │ ├── not-strict-eval-params.src.js │ │ │ │ │ ├── not-strict-eval.result.js │ │ │ │ │ ├── not-strict-eval.src.js │ │ │ │ │ ├── not-strict-octal.result.js │ │ │ │ │ ├── not-strict-octal.src.js │ │ │ │ │ ├── return-arrow-function.result.js │ │ │ │ │ ├── return-arrow-function.src.js │ │ │ │ │ ├── return-sequence.result.js │ │ │ │ │ ├── return-sequence.src.js │ │ │ │ │ ├── single-param-parens.result.js │ │ │ │ │ ├── single-param-parens.src.js │ │ │ │ │ ├── single-param-return-identifier.result.js │ │ │ │ │ ├── single-param-return-identifier.src.js │ │ │ │ │ ├── single-param.result.js │ │ │ │ │ └── single-param.src.js │ │ │ │ ├── binaryLiterals │ │ │ │ │ ├── invalid.result.js │ │ │ │ │ ├── invalid.src.js │ │ │ │ │ ├── lowercase.result.js │ │ │ │ │ ├── lowercase.src.js │ │ │ │ │ ├── uppercase.result.js │ │ │ │ │ └── uppercase.src.js │ │ │ │ ├── blockBindings │ │ │ │ │ ├── const.result.js │ │ │ │ │ ├── const.src.js │ │ │ │ │ ├── let-in-switchcase.result.js │ │ │ │ │ ├── let-in-switchcase.src.js │ │ │ │ │ ├── let.result.js │ │ │ │ │ └── let.src.js │ │ │ │ ├── classes-and-generators │ │ │ │ │ ├── classes-and-generators.result.js │ │ │ │ │ ├── classes-and-generators.src.js │ │ │ │ │ ├── computed-generator.result.js │ │ │ │ │ ├── computed-generator.src.js │ │ │ │ │ ├── static-generators.result.js │ │ │ │ │ └── static-generators.src.js │ │ │ │ ├── classes │ │ │ │ │ ├── class-accessor-properties.result.js │ │ │ │ │ ├── class-accessor-properties.src.js │ │ │ │ │ ├── class-computed-static-method.result.js │ │ │ │ │ ├── class-computed-static-method.src.js │ │ │ │ │ ├── class-expression.result.js │ │ │ │ │ ├── class-expression.src.js │ │ │ │ │ ├── class-method-named-prototype.result.js │ │ │ │ │ ├── class-method-named-prototype.src.js │ │ │ │ │ ├── class-method-named-static.result.js │ │ │ │ │ ├── class-method-named-static.src.js │ │ │ │ │ ├── class-one-method-super.result.js │ │ │ │ │ ├── class-one-method-super.src.js │ │ │ │ │ ├── class-one-method.result.js │ │ │ │ │ ├── class-one-method.src.js │ │ │ │ │ ├── class-static-method-named-prototype.result.js │ │ │ │ │ ├── class-static-method-named-prototype.src.js │ │ │ │ │ ├── class-static-method-named-static.result.js │ │ │ │ │ ├── class-static-method-named-static.src.js │ │ │ │ │ ├── class-static-method.result.js │ │ │ │ │ ├── class-static-method.src.js │ │ │ │ │ ├── class-static-methods-and-accessor-properties.result.js │ │ │ │ │ ├── class-static-methods-and-accessor-properties.src.js │ │ │ │ │ ├── class-two-computed-static-methods.result.js │ │ │ │ │ ├── class-two-computed-static-methods.src.js │ │ │ │ │ ├── class-two-methods-computed-constructor.result.js │ │ │ │ │ ├── class-two-methods-computed-constructor.src.js │ │ │ │ │ ├── class-two-methods-semi.result.js │ │ │ │ │ ├── class-two-methods-semi.src.js │ │ │ │ │ ├── class-two-methods-three-semi.result.js │ │ │ │ │ ├── class-two-methods-three-semi.src.js │ │ │ │ │ ├── class-two-methods-two-semi.result.js │ │ │ │ │ ├── class-two-methods-two-semi.src.js │ │ │ │ │ ├── class-two-methods.result.js │ │ │ │ │ ├── class-two-methods.src.js │ │ │ │ │ ├── class-two-static-methods-named-constructor.result.js │ │ │ │ │ ├── class-two-static-methods-named-constructor.src.js │ │ │ │ │ ├── class-with-constructor.result.js │ │ │ │ │ ├── class-with-constructor.src.js │ │ │ │ │ ├── derived-class-assign-to-var.result.js │ │ │ │ │ ├── derived-class-assign-to-var.src.js │ │ │ │ │ ├── derived-class-expression.result.js │ │ │ │ │ ├── derived-class-expression.src.js │ │ │ │ │ ├── empty-class-double-semi.result.js │ │ │ │ │ ├── empty-class-double-semi.src.js │ │ │ │ │ ├── empty-class-semi.result.js │ │ │ │ │ ├── empty-class-semi.src.js │ │ │ │ │ ├── empty-class.result.js │ │ │ │ │ ├── empty-class.src.js │ │ │ │ │ ├── empty-literal-derived-class.result.js │ │ │ │ │ ├── empty-literal-derived-class.src.js │ │ │ │ │ ├── invalid-class-declaration.result.js │ │ │ │ │ ├── invalid-class-declaration.src.js │ │ │ │ │ ├── invalid-class-setter-declaration.result.js │ │ │ │ │ ├── invalid-class-setter-declaration.src.js │ │ │ │ │ ├── named-class-expression.result.js │ │ │ │ │ ├── named-class-expression.src.js │ │ │ │ │ ├── named-derived-class-expression.result.js │ │ │ │ │ └── named-derived-class-expression.src.js │ │ │ │ ├── defaultParams-and-arrowFunctions │ │ │ │ │ ├── default-param-arrow.result.js │ │ │ │ │ ├── default-param-arrow.src.js │ │ │ │ │ ├── default-param.result.js │ │ │ │ │ ├── default-param.src.js │ │ │ │ │ ├── not-strict-local-eval-multi.result.js │ │ │ │ │ ├── not-strict-local-eval-multi.src.js │ │ │ │ │ ├── not-strict-local-eval.result.js │ │ │ │ │ └── not-strict-local-eval.src.js │ │ │ │ ├── defaultParams │ │ │ │ │ ├── declaration.result.js │ │ │ │ │ ├── declaration.src.js │ │ │ │ │ ├── expression.result.js │ │ │ │ │ ├── expression.src.js │ │ │ │ │ ├── method.result.js │ │ │ │ │ ├── method.src.js │ │ │ │ │ ├── not-all-params.result.js │ │ │ │ │ └── not-all-params.src.js │ │ │ │ ├── destructuring-and-arrowFunctions │ │ │ │ │ ├── arrow-param-array.result.js │ │ │ │ │ ├── arrow-param-array.src.js │ │ │ │ │ ├── arrow-param-nested-array.result.js │ │ │ │ │ ├── arrow-param-nested-array.src.js │ │ │ │ │ ├── arrow-param-nested-object-named.result.js │ │ │ │ │ ├── arrow-param-nested-object-named.src.js │ │ │ │ │ ├── arrow-param-nested-object.result.js │ │ │ │ │ ├── arrow-param-nested-object.src.js │ │ │ │ │ ├── arrow-param-object.result.js │ │ │ │ │ ├── arrow-param-object.src.js │ │ │ │ │ ├── param-defaults-array.result.js │ │ │ │ │ ├── param-defaults-array.src.js │ │ │ │ │ ├── param-defaults-object-nested.result.js │ │ │ │ │ ├── param-defaults-object-nested.src.js │ │ │ │ │ ├── param-defaults-object.result.js │ │ │ │ │ └── param-defaults-object.src.js │ │ │ │ ├── destructuring-and-blockBindings │ │ │ │ │ ├── array-const-undefined.result.js │ │ │ │ │ ├── array-const-undefined.src.js │ │ │ │ │ ├── array-let-undefined.result.js │ │ │ │ │ ├── array-let-undefined.src.js │ │ │ │ │ ├── object-const-named.result.js │ │ │ │ │ ├── object-const-named.src.js │ │ │ │ │ ├── object-const-undefined.result.js │ │ │ │ │ ├── object-const-undefined.src.js │ │ │ │ │ ├── object-let-named.result.js │ │ │ │ │ ├── object-let-named.src.js │ │ │ │ │ ├── object-let-undefined.result.js │ │ │ │ │ └── object-let-undefined.src.js │ │ │ │ ├── destructuring-and-defaultParams │ │ │ │ │ ├── param-array.result.js │ │ │ │ │ ├── param-array.src.js │ │ │ │ │ ├── param-object-short.result.js │ │ │ │ │ ├── param-object-short.src.js │ │ │ │ │ ├── param-object-wrapped.result.js │ │ │ │ │ ├── param-object-wrapped.src.xjs │ │ │ │ │ ├── param-object.result.js │ │ │ │ │ └── param-object.src.js │ │ │ │ ├── destructuring-and-forOf │ │ │ │ │ ├── loop.result.js │ │ │ │ │ └── loop.src.js │ │ │ │ ├── destructuring-and-spread │ │ │ │ │ ├── complex-destructured.result.js │ │ │ │ │ ├── complex-destructured.src.js │ │ │ │ │ ├── destructured-array-literal.result.js │ │ │ │ │ ├── destructured-array-literal.src.js │ │ │ │ │ ├── error-complex-destructured-spread-first.result.js │ │ │ │ │ ├── error-complex-destructured-spread-first.src.js │ │ │ │ │ ├── invalid-not-final-array-empty.result.js │ │ │ │ │ ├── invalid-not-final-array-empty.src.js │ │ │ │ │ ├── multi-destructured.result.js │ │ │ │ │ ├── multi-destructured.src.js │ │ │ │ │ ├── not-final-array.result.js │ │ │ │ │ ├── not-final-array.src.js │ │ │ │ │ ├── single-destructured.result.js │ │ │ │ │ ├── single-destructured.src.js │ │ │ │ │ ├── var-complex-destructured.result.js │ │ │ │ │ ├── var-complex-destructured.src.js │ │ │ │ │ ├── var-multi-destructured.result.js │ │ │ │ │ ├── var-multi-destructured.src.js │ │ │ │ │ ├── var-single-destructured.result.js │ │ │ │ │ └── var-single-destructured.src.js │ │ │ │ ├── destructuring │ │ │ │ │ ├── array-member.result.js │ │ │ │ │ ├── array-member.src.js │ │ │ │ │ ├── array-to-array.result.js │ │ │ │ │ ├── array-to-array.src.js │ │ │ │ │ ├── array-var-undefined.result.js │ │ │ │ │ ├── array-var-undefined.src.js │ │ │ │ │ ├── defaults-array-all.result.js │ │ │ │ │ ├── defaults-array-all.src.js │ │ │ │ │ ├── defaults-array-longform-nested-multi.result.js │ │ │ │ │ ├── defaults-array-longform-nested-multi.src.js │ │ │ │ │ ├── defaults-array-multi.result.js │ │ │ │ │ ├── defaults-array-multi.src.js │ │ │ │ │ ├── defaults-array-nested-all.result.js │ │ │ │ │ ├── defaults-array-nested-all.src.js │ │ │ │ │ ├── defaults-array-nested-multi.result.js │ │ │ │ │ ├── defaults-array-nested-multi.src.js │ │ │ │ │ ├── defaults-array.result.js │ │ │ │ │ ├── defaults-array.src.js │ │ │ │ │ ├── defaults-object-all.result.js │ │ │ │ │ ├── defaults-object-all.src.js │ │ │ │ │ ├── defaults-object-longform-all.result.js │ │ │ │ │ ├── defaults-object-longform-all.src.js │ │ │ │ │ ├── defaults-object-longform-multi.result.js │ │ │ │ │ ├── defaults-object-longform-multi.src.js │ │ │ │ │ ├── defaults-object-longform.result.js │ │ │ │ │ ├── defaults-object-longform.src.js │ │ │ │ │ ├── defaults-object-mixed-multi.result.js │ │ │ │ │ ├── defaults-object-mixed-multi.src.js │ │ │ │ │ ├── defaults-object-multi.result.js │ │ │ │ │ ├── defaults-object-multi.src.js │ │ │ │ │ ├── defaults-object-nested-all.result.js │ │ │ │ │ ├── defaults-object-nested-all.src.js │ │ │ │ │ ├── defaults-object-nested-multi.result.js │ │ │ │ │ ├── defaults-object-nested-multi.src.js │ │ │ │ │ ├── defaults-object.result.js │ │ │ │ │ ├── defaults-object.src.js │ │ │ │ │ ├── destructured-array-catch.result.js │ │ │ │ │ ├── destructured-array-catch.src.js │ │ │ │ │ ├── destructured-object-catch.result.js │ │ │ │ │ ├── destructured-object-catch.src.js │ │ │ │ │ ├── invalid-defaults-object-assign.result.js │ │ │ │ │ ├── invalid-defaults-object-assign.src.js │ │ │ │ │ ├── named-param.result.js │ │ │ │ │ ├── named-param.src.js │ │ │ │ │ ├── nested-array.result.js │ │ │ │ │ ├── nested-array.src.js │ │ │ │ │ ├── nested-object.result.js │ │ │ │ │ ├── nested-object.src.js │ │ │ │ │ ├── object-var-named.result.js │ │ │ │ │ ├── object-var-named.src.js │ │ │ │ │ ├── object-var-undefined.result.js │ │ │ │ │ ├── object-var-undefined.src.js │ │ │ │ │ ├── param-deafults-object.result.js │ │ │ │ │ ├── param-defaults-array.result.js │ │ │ │ │ ├── param-defaults-array.src.js │ │ │ │ │ ├── param-defaults-object-nested.result.js │ │ │ │ │ ├── param-defaults-object-nested.src.js │ │ │ │ │ ├── param-defaults-object.result.js │ │ │ │ │ ├── param-defaults-object.src.js │ │ │ │ │ ├── params-array-wrapped.result.js │ │ │ │ │ ├── params-array-wrapped.src.js │ │ │ │ │ ├── params-array.result.js │ │ │ │ │ ├── params-array.src.js │ │ │ │ │ ├── params-multi-object.result.js │ │ │ │ │ ├── params-multi-object.src.js │ │ │ │ │ ├── params-nested-array.result.js │ │ │ │ │ ├── params-nested-array.src.js │ │ │ │ │ ├── params-nested-object.result.js │ │ │ │ │ ├── params-nested-object.src.js │ │ │ │ │ ├── params-object-wrapped.result.js │ │ │ │ │ ├── params-object-wrapped.src.js │ │ │ │ │ ├── params-object.result.js │ │ │ │ │ ├── params-object.src.js │ │ │ │ │ ├── sparse-array.result.js │ │ │ │ │ └── sparse-array.src.js │ │ │ │ ├── edge-cases │ │ │ │ │ ├── var-let-declaration.result.js │ │ │ │ │ ├── var-let-declaration.src.js │ │ │ │ │ ├── var-let-object.result.js │ │ │ │ │ └── var-let-object.src.js │ │ │ │ ├── forOf-and-blockBindings │ │ │ │ │ ├── for-of-with-const-and-no-braces.result.js │ │ │ │ │ ├── for-of-with-const-and-no-braces.src.js │ │ │ │ │ ├── for-of-with-let-and-no-braces.result.js │ │ │ │ │ └── for-of-with-let-and-no-braces.src.js │ │ │ │ ├── forOf │ │ │ │ │ ├── for-of-with-function-initializer.result.js │ │ │ │ │ ├── for-of-with-function-initializer.src.js │ │ │ │ │ ├── for-of-with-var-and-braces.result.js │ │ │ │ │ ├── for-of-with-var-and-braces.src.js │ │ │ │ │ ├── for-of-with-var-and-no-braces.result.js │ │ │ │ │ └── for-of-with-var-and-no-braces.src.js │ │ │ │ ├── generators │ │ │ │ │ ├── anonymous-generator.result.js │ │ │ │ │ ├── anonymous-generator.src.js │ │ │ │ │ ├── double-yield.result.js │ │ │ │ │ ├── double-yield.src.js │ │ │ │ │ ├── empty-generator-declaration.result.js │ │ │ │ │ ├── empty-generator-declaration.src.js │ │ │ │ │ ├── generator-declaration.result.js │ │ │ │ │ ├── generator-declaration.src.js │ │ │ │ │ ├── yield-delegation.result.js │ │ │ │ │ ├── yield-delegation.src.js │ │ │ │ │ ├── yield-without-value-in-call.result.js │ │ │ │ │ ├── yield-without-value-in-call.src.js │ │ │ │ │ ├── yield-without-value-no-semi.result.js │ │ │ │ │ ├── yield-without-value-no-semi.src.js │ │ │ │ │ ├── yield-without-value.result.js │ │ │ │ │ └── yield-without-value.src.js │ │ │ │ ├── modules-and-blockBindings │ │ │ │ │ ├── export-const-number.result.js │ │ │ │ │ ├── export-const-number.src.js │ │ │ │ │ ├── export-const-object.result.js │ │ │ │ │ ├── export-const-object.src.js │ │ │ │ │ ├── export-let-number.result.js │ │ │ │ │ ├── export-let-number.src.js │ │ │ │ │ ├── export-let-object.result.js │ │ │ │ │ ├── export-let-object.src.js │ │ │ │ │ ├── export-let.result.js │ │ │ │ │ └── export-let.src.js │ │ │ │ ├── modules-and-classes │ │ │ │ │ ├── class-default-anonymous-extends.result.js │ │ │ │ │ ├── class-default-anonymous-extends.src.js │ │ │ │ │ ├── class-default-anonymous.result.js │ │ │ │ │ ├── class-default-anonymous.src.js │ │ │ │ │ ├── class-default-extends.result.js │ │ │ │ │ ├── class-default-extends.src.js │ │ │ │ │ ├── class-default.result.js │ │ │ │ │ ├── class-default.src.js │ │ │ │ │ ├── class-extends.result.js │ │ │ │ │ ├── class-extends.src.js │ │ │ │ │ ├── class.result.js │ │ │ │ │ └── class.src.js │ │ │ │ ├── modules │ │ │ │ │ ├── error-delete.result.js │ │ │ │ │ ├── error-delete.src.js │ │ │ │ │ ├── error-function.result.js │ │ │ │ │ ├── error-function.src.js │ │ │ │ │ ├── error-strict.result.js │ │ │ │ │ ├── error-strict.src.js │ │ │ │ │ ├── export-default-array.result.js │ │ │ │ │ ├── export-default-array.src.js │ │ │ │ │ ├── export-default-expression.result.js │ │ │ │ │ ├── export-default-expression.src.js │ │ │ │ │ ├── export-default-function.result.js │ │ │ │ │ ├── export-default-function.src.js │ │ │ │ │ ├── export-default-named-function.result.js │ │ │ │ │ ├── export-default-named-function.src.js │ │ │ │ │ ├── export-default-number.result.js │ │ │ │ │ ├── export-default-number.src.js │ │ │ │ │ ├── export-default-object.result.js │ │ │ │ │ ├── export-default-object.src.js │ │ │ │ │ ├── export-default-parenthesized-class.result.js │ │ │ │ │ ├── export-default-parenthesized-class.src.js │ │ │ │ │ ├── export-default-parenthesized-function.result.js │ │ │ │ │ ├── export-default-parenthesized-function.src.js │ │ │ │ │ ├── export-default-value.result.js │ │ │ │ │ ├── export-default-value.src.js │ │ │ │ │ ├── export-from-batch.result.js │ │ │ │ │ ├── export-from-batch.src.js │ │ │ │ │ ├── export-from-default.result.js │ │ │ │ │ ├── export-from-default.src.js │ │ │ │ │ ├── export-from-named-as-default.result.js │ │ │ │ │ ├── export-from-named-as-default.src.js │ │ │ │ │ ├── export-from-named-as-specifier.result.js │ │ │ │ │ ├── export-from-named-as-specifier.src.js │ │ │ │ │ ├── export-from-named-as-specifiers.result.js │ │ │ │ │ ├── export-from-named-as-specifiers.src.js │ │ │ │ │ ├── export-from-specifier.result.js │ │ │ │ │ ├── export-from-specifier.src.js │ │ │ │ │ ├── export-from-specifiers.result.js │ │ │ │ │ ├── export-from-specifiers.src.js │ │ │ │ │ ├── export-function.result.js │ │ │ │ │ ├── export-function.src.js │ │ │ │ │ ├── export-named-as-default.result.js │ │ │ │ │ ├── export-named-as-default.src.js │ │ │ │ │ ├── export-named-as-specifier.result.js │ │ │ │ │ ├── export-named-as-specifier.src.js │ │ │ │ │ ├── export-named-as-specifiers.result.js │ │ │ │ │ ├── export-named-as-specifiers.src.js │ │ │ │ │ ├── export-named-empty.result.js │ │ │ │ │ ├── export-named-empty.src.js │ │ │ │ │ ├── export-named-specifier.result.js │ │ │ │ │ ├── export-named-specifier.src.js │ │ │ │ │ ├── export-named-specifiers-comma.result.js │ │ │ │ │ ├── export-named-specifiers-comma.src.js │ │ │ │ │ ├── export-named-specifiers.result.js │ │ │ │ │ ├── export-named-specifiers.src.js │ │ │ │ │ ├── export-var-anonymous-function.result.js │ │ │ │ │ ├── export-var-anonymous-function.src.js │ │ │ │ │ ├── export-var-number.result.js │ │ │ │ │ ├── export-var-number.src.js │ │ │ │ │ ├── export-var.result.js │ │ │ │ │ ├── export-var.src.js │ │ │ │ │ ├── import-default-and-named-specifiers.result.js │ │ │ │ │ ├── import-default-and-named-specifiers.src.js │ │ │ │ │ ├── import-default-and-namespace-specifiers.result.js │ │ │ │ │ ├── import-default-and-namespace-specifiers.src.js │ │ │ │ │ ├── import-default-as.result.js │ │ │ │ │ ├── import-default-as.src.js │ │ │ │ │ ├── import-default.result.js │ │ │ │ │ ├── import-default.src.js │ │ │ │ │ ├── import-jquery.result.js │ │ │ │ │ ├── import-jquery.src.js │ │ │ │ │ ├── import-module.result.js │ │ │ │ │ ├── import-module.src.js │ │ │ │ │ ├── import-named-as-specifier-keyword.result.js │ │ │ │ │ ├── import-named-as-specifier-keyword.src.js │ │ │ │ │ ├── import-named-as-specifier.result.js │ │ │ │ │ ├── import-named-as-specifier.src.js │ │ │ │ │ ├── import-named-as-specifiers.result.js │ │ │ │ │ ├── import-named-as-specifiers.src.js │ │ │ │ │ ├── import-named-empty.result.js │ │ │ │ │ ├── import-named-empty.src.js │ │ │ │ │ ├── import-named-specifier.result.js │ │ │ │ │ ├── import-named-specifier.src.js │ │ │ │ │ ├── import-named-specifiers-comma.result.js │ │ │ │ │ ├── import-named-specifiers-comma.src.js │ │ │ │ │ ├── import-named-specifiers.result.js │ │ │ │ │ ├── import-named-specifiers.src.js │ │ │ │ │ ├── import-namespace-specifier.result.js │ │ │ │ │ ├── import-namespace-specifier.src.js │ │ │ │ │ ├── import-null-as-nil.result.js │ │ │ │ │ ├── import-null-as-nil.src.js │ │ │ │ │ ├── invalid-await.result.js │ │ │ │ │ ├── invalid-await.src.js │ │ │ │ │ ├── invalid-export-batch-missing-from-clause.result.js │ │ │ │ │ ├── invalid-export-batch-missing-from-clause.src.js │ │ │ │ │ ├── invalid-export-batch-token.result.js │ │ │ │ │ ├── invalid-export-batch-token.src.js │ │ │ │ │ ├── invalid-export-default-equal.result.js │ │ │ │ │ ├── invalid-export-default-equal.src.js │ │ │ │ │ ├── invalid-export-default-token.result.js │ │ │ │ │ ├── invalid-export-default-token.src.js │ │ │ │ │ ├── invalid-export-default.result.js │ │ │ │ │ ├── invalid-export-default.src.js │ │ │ │ │ ├── invalid-export-named-default.result.js │ │ │ │ │ ├── invalid-export-named-default.src.js │ │ │ │ │ ├── invalid-export-named-extra-comma.result.js │ │ │ │ │ ├── invalid-export-named-extra-comma.src.js │ │ │ │ │ ├── invalid-export-named-middle-comma.result.js │ │ │ │ │ ├── invalid-export-named-middle-comma.src.js │ │ │ │ │ ├── invalid-import-default-after-named-after-default.result.js │ │ │ │ │ ├── invalid-import-default-after-named-after-default.src.js │ │ │ │ │ ├── invalid-import-default-after-named.result.js │ │ │ │ │ ├── invalid-import-default-after-named.src.js │ │ │ │ │ ├── invalid-import-default-missing-module-specifier.result.js │ │ │ │ │ ├── invalid-import-default-missing-module-specifier.src.js │ │ │ │ │ ├── invalid-import-default-module-specifier.result.js │ │ │ │ │ ├── invalid-import-default-module-specifier.src.js │ │ │ │ │ ├── invalid-import-default.result.js │ │ │ │ │ ├── invalid-import-default.src.js │ │ │ │ │ ├── invalid-import-missing-module-specifier.result.js │ │ │ │ │ ├── invalid-import-missing-module-specifier.src.js │ │ │ │ │ ├── invalid-import-module-specifier.result.js │ │ │ │ │ ├── invalid-import-module-specifier.src.js │ │ │ │ │ ├── invalid-import-named-after-named.result.js │ │ │ │ │ ├── invalid-import-named-after-named.src.js │ │ │ │ │ ├── invalid-import-named-after-namespace.result.js │ │ │ │ │ ├── invalid-import-named-after-namespace.src.js │ │ │ │ │ ├── invalid-import-named-as-keyword.result.js │ │ │ │ │ ├── invalid-import-named-as-keyword.src.js │ │ │ │ │ ├── invalid-import-named-as-missing-from.result.js │ │ │ │ │ ├── invalid-import-named-as-missing-from.src.js │ │ │ │ │ ├── invalid-import-named-extra-comma.result.js │ │ │ │ │ ├── invalid-import-named-extra-comma.src.js │ │ │ │ │ ├── invalid-import-named-keyword.result.js │ │ │ │ │ ├── invalid-import-named-keyword.src.js │ │ │ │ │ ├── invalid-import-named-middle-comma.result.js │ │ │ │ │ ├── invalid-import-named-middle-comma.src.js │ │ │ │ │ ├── invalid-import-namespace-after-named.result.js │ │ │ │ │ ├── invalid-import-namespace-after-named.src.js │ │ │ │ │ ├── invalid-import-namespace-missing-as.result.js │ │ │ │ │ ├── invalid-import-namespace-missing-as.src.js │ │ │ │ │ ├── valid-await.result.js │ │ │ │ │ └── valid-await.src.js │ │ │ │ ├── newTarget │ │ │ │ │ ├── invalid-new-target.result.js │ │ │ │ │ ├── invalid-new-target.src.js │ │ │ │ │ ├── invalid-unknown-property.result.js │ │ │ │ │ ├── invalid-unknown-property.src.js │ │ │ │ │ ├── simple-new-target.result.js │ │ │ │ │ └── simple-new-target.src.js │ │ │ │ ├── objectLiteralComputedProperties │ │ │ │ │ ├── computed-addition-property.result.js │ │ │ │ │ ├── computed-addition-property.src.js │ │ │ │ │ ├── computed-and-identifier.result.js │ │ │ │ │ ├── computed-and-identifier.src.js │ │ │ │ │ ├── computed-getter-and-setter.result.js │ │ │ │ │ ├── computed-getter-and-setter.src.js │ │ │ │ │ ├── computed-string-property.result.js │ │ │ │ │ ├── computed-string-property.src.js │ │ │ │ │ ├── computed-variable-property.result.js │ │ │ │ │ ├── computed-variable-property.src.js │ │ │ │ │ ├── invalid-computed-variable-property.result.js │ │ │ │ │ ├── invalid-computed-variable-property.src.js │ │ │ │ │ ├── invalid-standalone-computed-variable-property.result.js │ │ │ │ │ ├── invalid-standalone-computed-variable-property.src.js │ │ │ │ │ ├── standalone-expression-with-addition.result.js │ │ │ │ │ ├── standalone-expression-with-addition.src.js │ │ │ │ │ ├── standalone-expression-with-method.result.js │ │ │ │ │ ├── standalone-expression-with-method.src.js │ │ │ │ │ ├── standalone-expression.result.js │ │ │ │ │ └── standalone-expression.src.js │ │ │ │ ├── objectLiteralDuplicateProperties-and-objectLiteralComputedProperties │ │ │ │ │ ├── proto-computed-property.result.js │ │ │ │ │ └── proto-computed-property.src.js │ │ │ │ ├── objectLiteralDuplicateProperties │ │ │ │ │ ├── proto-property.result.js │ │ │ │ │ ├── proto-property.src.js │ │ │ │ │ ├── proto-string-property.result.js │ │ │ │ │ ├── proto-string-property.src.js │ │ │ │ │ ├── strict-duplicate-properties.result.js │ │ │ │ │ ├── strict-duplicate-properties.src.js │ │ │ │ │ ├── strict-duplicate-string-properties.result.js │ │ │ │ │ └── strict-duplicate-string-properties.src.js │ │ │ │ ├── objectLiteralShorthandMethods-and-defaultParams │ │ │ │ │ ├── default-params.result.js │ │ │ │ │ └── default-params.src.js │ │ │ │ ├── objectLiteralShorthandMethods-and-destructuring │ │ │ │ │ ├── array-destructuring.result.js │ │ │ │ │ └── array-destructuring.src.js │ │ │ │ ├── objectLiteralShorthandMethods-and-generators │ │ │ │ │ ├── generator-object-literal-method.result.js │ │ │ │ │ └── generator-object-literal-method.src.js │ │ │ │ ├── objectLiteralShorthandMethods-and-objectLiteralComputedProperties │ │ │ │ │ ├── computed-method-property.result.js │ │ │ │ │ └── computed-method-property.src.js │ │ │ │ ├── objectLiteralShorthandMethods │ │ │ │ │ ├── invalid-method-no-braces.result.js │ │ │ │ │ ├── invalid-method-no-braces.src.js │ │ │ │ │ ├── method-property.result.js │ │ │ │ │ ├── method-property.src.js │ │ │ │ │ ├── simple-method-named-get.result.js │ │ │ │ │ ├── simple-method-named-get.src.js │ │ │ │ │ ├── simple-method-named-set.result.js │ │ │ │ │ ├── simple-method-named-set.src.js │ │ │ │ │ ├── simple-method-with-argument.result.js │ │ │ │ │ ├── simple-method-with-argument.src.js │ │ │ │ │ ├── simple-method-with-string-name.result.js │ │ │ │ │ ├── simple-method-with-string-name.src.js │ │ │ │ │ ├── simple-method.result.js │ │ │ │ │ ├── simple-method.src.js │ │ │ │ │ ├── string-name-method-property.result.js │ │ │ │ │ └── string-name-method-property.src.js │ │ │ │ ├── objectLiteralShorthandProperties │ │ │ │ │ ├── shorthand-properties-keyword.result.js │ │ │ │ │ ├── shorthand-properties-keyword.src.js │ │ │ │ │ ├── shorthand-properties.result.js │ │ │ │ │ └── shorthand-properties.src.js │ │ │ │ ├── octalLiterals │ │ │ │ │ ├── invalid.result.js │ │ │ │ │ ├── invalid.src.js │ │ │ │ │ ├── lowercase.result.js │ │ │ │ │ ├── lowercase.src.js │ │ │ │ │ ├── strict-uppercase.result.js │ │ │ │ │ ├── strict-uppercase.src.js │ │ │ │ │ ├── uppercase.result.js │ │ │ │ │ └── uppercase.src.js │ │ │ │ ├── regexUFlag │ │ │ │ │ ├── regex-u-extended-escape.result.js │ │ │ │ │ ├── regex-u-extended-escape.src.js │ │ │ │ │ ├── regex-u-invalid-extended-escape.result.js │ │ │ │ │ ├── regex-u-invalid-extended-escape.src.js │ │ │ │ │ ├── regex-u-simple.result.js │ │ │ │ │ └── regex-u-simple.src.js │ │ │ │ ├── regexYFlag │ │ │ │ │ ├── regexp-y-simple.result.js │ │ │ │ │ └── regexp-y-simple.src.js │ │ │ │ ├── restParams-and-arrowFunctions │ │ │ │ │ ├── arrow-rest-multi.result.js │ │ │ │ │ ├── arrow-rest-multi.src.js │ │ │ │ │ ├── arrow-rest.result.js │ │ │ │ │ ├── arrow-rest.src.js │ │ │ │ │ ├── destructured-arrow-array.result.js │ │ │ │ │ ├── destructured-arrow-array.src.js │ │ │ │ │ ├── destructured-arrow-multi.result.js │ │ │ │ │ ├── destructured-arrow-multi.src.js │ │ │ │ │ ├── destructured-arrow-object.result.js │ │ │ │ │ ├── destructured-arrow-object.src.js │ │ │ │ │ ├── error-attempted-spread-param.result.js │ │ │ │ │ └── error-attempted-spread-param.src.js │ │ │ │ ├── restParams │ │ │ │ │ ├── basic-rest.result.js │ │ │ │ │ ├── basic-rest.src.js │ │ │ │ │ ├── error-no-default.result.js │ │ │ │ │ ├── error-no-default.src.js │ │ │ │ │ ├── error-not-last.result.js │ │ │ │ │ ├── error-not-last.src.js │ │ │ │ │ ├── func-expression-multi.result.js │ │ │ │ │ ├── func-expression-multi.src.js │ │ │ │ │ ├── func-expression.result.js │ │ │ │ │ ├── func-expression.src.js │ │ │ │ │ ├── invalid-rest-param.result.js │ │ │ │ │ ├── invalid-rest-param.src.js │ │ │ │ │ ├── single-rest.result.js │ │ │ │ │ └── single-rest.src.js │ │ │ │ ├── spread │ │ │ │ │ ├── error-invalid-if.result.js │ │ │ │ │ ├── error-invalid-if.src.js │ │ │ │ │ ├── error-invalid-sequence.result.js │ │ │ │ │ ├── error-invalid-sequence.src.js │ │ │ │ │ ├── multi-function-call.result.js │ │ │ │ │ ├── multi-function-call.src.js │ │ │ │ │ ├── not-final-param.result.js │ │ │ │ │ ├── not-final-param.src.js │ │ │ │ │ ├── simple-function-call.result.js │ │ │ │ │ └── simple-function-call.src.js │ │ │ │ ├── templateStrings-and-unicodeCodePointEscapes │ │ │ │ │ ├── template-strings-unicode-escape.result.js │ │ │ │ │ └── template-strings-unicode-escape.src.js │ │ │ │ ├── templateStrings │ │ │ │ │ ├── deeply-nested.result.js │ │ │ │ │ ├── deeply-nested.src.js │ │ │ │ │ ├── escape-characters.result.js │ │ │ │ │ ├── escape-characters.src.js │ │ │ │ │ ├── expressions.result.js │ │ │ │ │ ├── expressions.src.js │ │ │ │ │ ├── multi-line-template-string.result.js │ │ │ │ │ ├── multi-line-template-string.src.js │ │ │ │ │ ├── octal-literal.result.js │ │ │ │ │ ├── octal-literal.src.js │ │ │ │ │ ├── simple-template-string.result.js │ │ │ │ │ ├── simple-template-string.src.js │ │ │ │ │ ├── single-dollar-sign.result.js │ │ │ │ │ ├── single-dollar-sign.src.js │ │ │ │ │ ├── tagged-no-placeholders.result.js │ │ │ │ │ ├── tagged-no-placeholders.src.js │ │ │ │ │ ├── tagged-template-string.result.js │ │ │ │ │ └── tagged-template-string.src.js │ │ │ │ └── unicodeCodePointEscapes │ │ │ │ │ ├── basic-string-literal.result.js │ │ │ │ │ ├── basic-string-literal.src.js │ │ │ │ │ ├── complex-string-literal.result.js │ │ │ │ │ ├── complex-string-literal.src.js │ │ │ │ │ ├── identifier.result.js │ │ │ │ │ ├── identifier.src.js │ │ │ │ │ ├── invalid-empty-escape.result.js │ │ │ │ │ ├── invalid-empty-escape.src.js │ │ │ │ │ ├── invalid-too-large-escape.result.js │ │ │ │ │ └── invalid-too-large-escape.src.js │ │ │ ├── 7 │ │ │ │ ├── error-strict-complex-params.result.js │ │ │ │ ├── error-strict-complex-params.src.js │ │ │ │ ├── exponential-plusplus.result.js │ │ │ │ ├── exponential-plusplus.src.js │ │ │ │ ├── exponential-precedence.result.js │ │ │ │ ├── exponential-precedence.src.js │ │ │ │ ├── exponential-simple.result.js │ │ │ │ ├── exponential-simple.src.js │ │ │ │ ├── invalid-exponential-unary.result.js │ │ │ │ └── invalid-exponential-unary.src.js │ │ │ ├── 8 │ │ │ │ ├── comma-dangle-arrow.result.js │ │ │ │ ├── comma-dangle-arrow.src.js │ │ │ │ ├── comma-dangle-class-method.result.js │ │ │ │ ├── comma-dangle-class-method.src.js │ │ │ │ ├── comma-dangle-expression.result.js │ │ │ │ ├── comma-dangle-expression.src.js │ │ │ │ ├── comma-dangle-func.result.js │ │ │ │ ├── comma-dangle-func.src.js │ │ │ │ ├── comma-dangle-method.result.js │ │ │ │ ├── comma-dangle-method.src.js │ │ │ │ ├── comma-dangle.result.js │ │ │ │ ├── comma-dangle.src.js │ │ │ │ ├── destructuring-param.result.js │ │ │ │ ├── destructuring-param.src.js │ │ │ │ ├── invalid-comma-dangle-method.result.js │ │ │ │ ├── invalid-comma-dangle-method.src.js │ │ │ │ ├── modules │ │ │ │ │ ├── arrow-func-parens.result.js │ │ │ │ │ ├── arrow-func-parens.src.js │ │ │ │ │ ├── arrow-func.result.js │ │ │ │ │ ├── arrow-func.src.js │ │ │ │ │ ├── async-and-no-async.result.js │ │ │ │ │ ├── async-and-no-async.src.js │ │ │ │ │ ├── async-arrow-func-destructed-defaults.result.js │ │ │ │ │ ├── async-arrow-func-destructed-defaults.src.js │ │ │ │ │ ├── async-arrow-func-destructed.result.js │ │ │ │ │ ├── async-arrow-func-destructed.src.js │ │ │ │ │ ├── async-arrow-func-parens-multi.result.js │ │ │ │ │ ├── async-arrow-func-parens-multi.src.js │ │ │ │ │ ├── async-arrow-func-parens.result.js │ │ │ │ │ ├── async-arrow-func-parens.src.js │ │ │ │ │ ├── async-arrow-func.result.js │ │ │ │ │ ├── async-arrow-func.src.js │ │ │ │ │ ├── async-await-arrow-expression.result.js │ │ │ │ │ ├── async-await-arrow-expression.src.js │ │ │ │ │ ├── async-await-arrow-param.result.js │ │ │ │ │ ├── async-await-arrow-param.src.js │ │ │ │ │ ├── async-await-class-method-param.result.js │ │ │ │ │ ├── async-await-class-method-param.src.js │ │ │ │ │ ├── async-await-destructured-default.result.js │ │ │ │ │ ├── async-await-destructured-default.src.js │ │ │ │ │ ├── async-await-expression-class-method.result.js │ │ │ │ │ ├── async-await-expression-class-method.src.js │ │ │ │ │ ├── async-await-function-param.result.js │ │ │ │ │ ├── async-await-function-param.src.js │ │ │ │ │ ├── async-await-identifier-math.result.js │ │ │ │ │ ├── async-await-identifier-math.src.js │ │ │ │ │ ├── async-await-inside-parens.result.js │ │ │ │ │ ├── async-await-inside-parens.src.js │ │ │ │ │ ├── async-await-math.result.js │ │ │ │ │ ├── async-await-math.src.js │ │ │ │ │ ├── async-await-named-object-method.result.js │ │ │ │ │ ├── async-await-named-object-method.src.js │ │ │ │ │ ├── async-await-object-method-param.result.js │ │ │ │ │ ├── async-await-object-method-param.src.js │ │ │ │ │ ├── async-await-object-method.result.js │ │ │ │ │ ├── async-await-object-method.src.js │ │ │ │ │ ├── async-await.result.js │ │ │ │ │ ├── async-await.src.js │ │ │ │ │ ├── async-class-method-named-await.result.js │ │ │ │ │ ├── async-class-method-named-await.src.js │ │ │ │ │ ├── async-class-method.result.js │ │ │ │ │ ├── async-class-method.src.js │ │ │ │ │ ├── async-destructured-assignment.result.js │ │ │ │ │ ├── async-destructured-assignment.src.js │ │ │ │ │ ├── async-expression.result.js │ │ │ │ │ ├── async-expression.src.js │ │ │ │ │ ├── async-func.result.js │ │ │ │ │ ├── async-func.src.js │ │ │ │ │ ├── async-named-class-method.result.js │ │ │ │ │ ├── async-named-class-method.src.js │ │ │ │ │ ├── async-named-generator-method.result.js │ │ │ │ │ ├── async-named-generator-method.src.js │ │ │ │ │ ├── async-named-object-method.result.js │ │ │ │ │ ├── async-named-object-method.src.js │ │ │ │ │ ├── async-named-static-generator-method.result.js │ │ │ │ │ ├── async-named-static-generator-method.src.js │ │ │ │ │ ├── async-object-method-keyword.result.js │ │ │ │ │ ├── async-object-method-keyword.src.js │ │ │ │ │ ├── async-object-method.result.js │ │ │ │ │ ├── async-object-method.src.js │ │ │ │ │ ├── async-static-class-method-named-await.result.js │ │ │ │ │ ├── async-static-class-method-named-await.src.js │ │ │ │ │ ├── async-static-class-method.result.js │ │ │ │ │ ├── async-static-class-method.src.js │ │ │ │ │ ├── async-then-arrow.result.js │ │ │ │ │ ├── async-then-arrow.src.js │ │ │ │ │ ├── async-wrapped-class-await.result.js │ │ │ │ │ ├── async-wrapped-class-await.src.js │ │ │ │ │ ├── async-yield.result.js │ │ │ │ │ ├── async-yield.src.js │ │ │ │ │ ├── async.result.js │ │ │ │ │ ├── async.src.js │ │ │ │ │ ├── await-identifier-math.result.js │ │ │ │ │ ├── await-identifier-math.src.js │ │ │ │ │ ├── class-method.result.js │ │ │ │ │ ├── class-method.src.js │ │ │ │ │ ├── export-async.result.js │ │ │ │ │ ├── export-async.src.js │ │ │ │ │ ├── export-default-async-expression.result.js │ │ │ │ │ ├── export-default-async-expression.src.js │ │ │ │ │ ├── export-default-async.result.js │ │ │ │ │ ├── export-default-async.src.js │ │ │ │ │ ├── generator-async-func.result.js │ │ │ │ │ ├── generator-async-func.src.js │ │ │ │ │ ├── invalid-async-await-identifier.result.js │ │ │ │ │ ├── invalid-async-await-identifier.src.js │ │ │ │ │ ├── invalid-async-await-param.result.js │ │ │ │ │ ├── invalid-async-await-param.src.js │ │ │ │ │ ├── invalid-async-class-broken.result.js │ │ │ │ │ ├── invalid-async-class-broken.src.js │ │ │ │ │ ├── invalid-async-class-generator.result.js │ │ │ │ │ ├── invalid-async-class-generator.src.js │ │ │ │ │ ├── invalid-async-class-getter.result.js │ │ │ │ │ ├── invalid-async-class-getter.src.js │ │ │ │ │ ├── invalid-async-class-method-await.result.js │ │ │ │ │ ├── invalid-async-class-method-await.src.js │ │ │ │ │ ├── invalid-async-class-method-empty-await.result.js │ │ │ │ │ ├── invalid-async-class-method-empty-await.src.js │ │ │ │ │ ├── invalid-async-class-setter.result.js │ │ │ │ │ ├── invalid-async-class-setter.src.js │ │ │ │ │ ├── invalid-async-constructor.result.js │ │ │ │ │ ├── invalid-async-constructor.src.js │ │ │ │ │ ├── invalid-async-expression-generators.result.js │ │ │ │ │ ├── invalid-async-expression-generators.src.js │ │ │ │ │ ├── invalid-async-expression-plain-await.result.js │ │ │ │ │ ├── invalid-async-expression-plain-await.src.js │ │ │ │ │ ├── invalid-async-expression.result.js │ │ │ │ │ ├── invalid-async-expression.src.js │ │ │ │ │ ├── invalid-async-generator-expression.result.js │ │ │ │ │ ├── invalid-async-generator-expression.src.js │ │ │ │ │ ├── invalid-async-generator-method.result.js │ │ │ │ │ ├── invalid-async-generator-method.src.js │ │ │ │ │ ├── invalid-async-generator.result.js │ │ │ │ │ ├── invalid-async-generator.src.js │ │ │ │ │ ├── invalid-async-getter-method-with-params.result.js │ │ │ │ │ ├── invalid-async-getter-method-with-params.src.js │ │ │ │ │ ├── invalid-async-getter-method.result.js │ │ │ │ │ ├── invalid-async-getter-method.src.js │ │ │ │ │ ├── invalid-async-method-await-identifier.result.js │ │ │ │ │ ├── invalid-async-method-await-identifier.src.js │ │ │ │ │ ├── invalid-async-method-await-param.result.js │ │ │ │ │ ├── invalid-async-method-await-param.src.js │ │ │ │ │ ├── invalid-async-method-empty-await.result.js │ │ │ │ │ ├── invalid-async-method-empty-await.src.js │ │ │ │ │ ├── invalid-async-method-expression.result.js │ │ │ │ │ ├── invalid-async-method-expression.src.js │ │ │ │ │ ├── invalid-async-method-return-await.result.js │ │ │ │ │ ├── invalid-async-method-return-await.src.js │ │ │ │ │ ├── invalid-async-object.result.js │ │ │ │ │ ├── invalid-async-object.src.js │ │ │ │ │ ├── invalid-async-plain-await.result.js │ │ │ │ │ ├── invalid-async-plain-await.src.js │ │ │ │ │ ├── invalid-async-prop.result.js │ │ │ │ │ ├── invalid-async-prop.src.js │ │ │ │ │ ├── invalid-async-static-method-broken.result.js │ │ │ │ │ ├── invalid-async-static-method-broken.src.js │ │ │ │ │ ├── invalid-await-arrow-param-parens.result.js │ │ │ │ │ ├── invalid-await-arrow-param-parens.src.js │ │ │ │ │ ├── invalid-await-arrow-param.result.js │ │ │ │ │ ├── invalid-await-arrow-param.src.js │ │ │ │ │ ├── invalid-await-default.result.js │ │ │ │ │ ├── invalid-await-default.src.js │ │ │ │ │ ├── invalid-await-destructured-default.result.js │ │ │ │ │ ├── invalid-await-destructured-default.src.js │ │ │ │ │ ├── invalid-await-destructured-param.result.js │ │ │ │ │ ├── invalid-await-destructured-param.src.js │ │ │ │ │ ├── invalid-await-func-expression.result.js │ │ │ │ │ ├── invalid-await-func-expression.src.js │ │ │ │ │ ├── invalid-await-identifier-expression.result.js │ │ │ │ │ ├── invalid-await-identifier-expression.src.js │ │ │ │ │ ├── invalid-await-identifier.result.js │ │ │ │ │ ├── invalid-await-identifier.src.js │ │ │ │ │ ├── invalid-await-named-destructured-array-param.result.js │ │ │ │ │ ├── invalid-await-named-destructured-array-param.src.js │ │ │ │ │ ├── invalid-await-named-destructured-param.result.js │ │ │ │ │ ├── invalid-await-named-destructured-param.src.js │ │ │ │ │ ├── invalid-await-param-expression.result.js │ │ │ │ │ ├── invalid-await-param-expression.src.js │ │ │ │ │ ├── invalid-await-param.result.js │ │ │ │ │ ├── invalid-await-param.src.js │ │ │ │ │ ├── invalid-await-top-level.result.js │ │ │ │ │ ├── invalid-await-top-level.src.js │ │ │ │ │ ├── invalid-broken-async-arrow-after-parens.result.js │ │ │ │ │ ├── invalid-broken-async-arrow-after-parens.src.js │ │ │ │ │ ├── invalid-broken-async-arrow-before-parens.result.js │ │ │ │ │ ├── invalid-broken-async-arrow-before-parens.src.js │ │ │ │ │ ├── invalid-broken-async-arrow.result.js │ │ │ │ │ ├── invalid-broken-async-arrow.src.js │ │ │ │ │ ├── invalid-broken-async-object-method.result.js │ │ │ │ │ ├── invalid-broken-async-object-method.src.js │ │ │ │ │ ├── invalid-broken-line-async.result.js │ │ │ │ │ ├── invalid-broken-line-async.src.js │ │ │ │ │ ├── invalid-class-await-extend.result.js │ │ │ │ │ ├── invalid-class-await-extend.src.js │ │ │ │ │ ├── invalid-nested-async.result.js │ │ │ │ │ ├── invalid-nested-async.src.js │ │ │ │ │ ├── invalid-plain-await-arrow.result.js │ │ │ │ │ ├── invalid-plain-await-arrow.src.js │ │ │ │ │ ├── invalid-plain-await.result.js │ │ │ │ │ ├── invalid-plain-await.src.js │ │ │ │ │ ├── invalid-static-async-generator.result.js │ │ │ │ │ ├── invalid-static-async-generator.src.js │ │ │ │ │ ├── invalid-static-async-getter.result.js │ │ │ │ │ ├── invalid-static-async-getter.src.js │ │ │ │ │ ├── invalid-static-async-setter.result.js │ │ │ │ │ ├── invalid-static-async-setter.src.js │ │ │ │ │ ├── invalid-yield-default.result.js │ │ │ │ │ ├── invalid-yield-default.src.js │ │ │ │ │ ├── nested-async-await-method.result.js │ │ │ │ │ ├── nested-async-await-method.src.js │ │ │ │ │ ├── no-async-expression.result.js │ │ │ │ │ ├── no-async-expression.src.js │ │ │ │ │ ├── no-async.result.js │ │ │ │ │ ├── no-async.src.js │ │ │ │ │ ├── object-method.result.js │ │ │ │ │ ├── object-method.src.js │ │ │ │ │ ├── plain-await.result.js │ │ │ │ │ ├── plain-await.src.js │ │ │ │ │ ├── static-async-named-class-method.result.js │ │ │ │ │ └── static-async-named-class-method.src.js │ │ │ │ ├── not-strict │ │ │ │ │ ├── arrow-func-parens.result.js │ │ │ │ │ ├── arrow-func-parens.src.js │ │ │ │ │ ├── arrow-func.result.js │ │ │ │ │ ├── arrow-func.src.js │ │ │ │ │ ├── async-and-no-async.result.js │ │ │ │ │ ├── async-and-no-async.src.js │ │ │ │ │ ├── async-arrow-func-destructed-defaults.result.js │ │ │ │ │ ├── async-arrow-func-destructed-defaults.src.js │ │ │ │ │ ├── async-arrow-func-destructed.result.js │ │ │ │ │ ├── async-arrow-func-destructed.src.js │ │ │ │ │ ├── async-arrow-func-parens-multi.result.js │ │ │ │ │ ├── async-arrow-func-parens-multi.src.js │ │ │ │ │ ├── async-arrow-func-parens.result.js │ │ │ │ │ ├── async-arrow-func-parens.src.js │ │ │ │ │ ├── async-arrow-func.result.js │ │ │ │ │ ├── async-arrow-func.src.js │ │ │ │ │ ├── async-as-property-name.result.js │ │ │ │ │ ├── async-as-property-name.src.js │ │ │ │ │ ├── async-await-arrow-expression.result.js │ │ │ │ │ ├── async-await-arrow-expression.src.js │ │ │ │ │ ├── async-await-arrow-param.result.js │ │ │ │ │ ├── async-await-arrow-param.src.js │ │ │ │ │ ├── async-await-class-method-param.result.js │ │ │ │ │ ├── async-await-class-method-param.src.js │ │ │ │ │ ├── async-await-destructured-default.result.js │ │ │ │ │ ├── async-await-destructured-default.src.js │ │ │ │ │ ├── async-await-expression-class-method.result.js │ │ │ │ │ ├── async-await-expression-class-method.src.js │ │ │ │ │ ├── async-await-function-param.result.js │ │ │ │ │ ├── async-await-function-param.src.js │ │ │ │ │ ├── async-await-identifier-math.result.js │ │ │ │ │ ├── async-await-identifier-math.src.js │ │ │ │ │ ├── async-await-inside-parens.result.js │ │ │ │ │ ├── async-await-inside-parens.src.js │ │ │ │ │ ├── async-await-math.result.js │ │ │ │ │ ├── async-await-math.src.js │ │ │ │ │ ├── async-await-named-object-method.result.js │ │ │ │ │ ├── async-await-named-object-method.src.js │ │ │ │ │ ├── async-await-object-method-param.result.js │ │ │ │ │ ├── async-await-object-method-param.src.js │ │ │ │ │ ├── async-await-object-method.result.js │ │ │ │ │ ├── async-await-object-method.src.js │ │ │ │ │ ├── async-await.result.js │ │ │ │ │ ├── async-await.src.js │ │ │ │ │ ├── async-class-method-named-await.result.js │ │ │ │ │ ├── async-class-method-named-await.src.js │ │ │ │ │ ├── async-class-method.result.js │ │ │ │ │ ├── async-class-method.src.js │ │ │ │ │ ├── async-destructured-assignment.result.js │ │ │ │ │ ├── async-destructured-assignment.src.js │ │ │ │ │ ├── async-expression.result.js │ │ │ │ │ ├── async-expression.src.js │ │ │ │ │ ├── async-func.result.js │ │ │ │ │ ├── async-func.src.js │ │ │ │ │ ├── async-named-class-method.result.js │ │ │ │ │ ├── async-named-class-method.src.js │ │ │ │ │ ├── async-named-generator-method.result.js │ │ │ │ │ ├── async-named-generator-method.src.js │ │ │ │ │ ├── async-named-object-method.result.js │ │ │ │ │ ├── async-named-object-method.src.js │ │ │ │ │ ├── async-named-static-generator-method.result.js │ │ │ │ │ ├── async-named-static-generator-method.src.js │ │ │ │ │ ├── async-named-variable.result.js │ │ │ │ │ ├── async-named-variable.src.js │ │ │ │ │ ├── async-object-method-and-property.result.js │ │ │ │ │ ├── async-object-method-and-property.src.js │ │ │ │ │ ├── async-object-method.result.js │ │ │ │ │ ├── async-object-method.src.js │ │ │ │ │ ├── async-shorthand-property-1.result.js │ │ │ │ │ ├── async-shorthand-property-1.src.js │ │ │ │ │ ├── async-shorthand-property-2.result.js │ │ │ │ │ ├── async-shorthand-property-2.src.js │ │ │ │ │ ├── async-shorthand-property-3.result.js │ │ │ │ │ ├── async-shorthand-property-3.src.js │ │ │ │ │ ├── async-static-class-method-named-await.result.js │ │ │ │ │ ├── async-static-class-method-named-await.src.js │ │ │ │ │ ├── async-static-class-method.result.js │ │ │ │ │ ├── async-static-class-method.src.js │ │ │ │ │ ├── async-then-arrow.result.js │ │ │ │ │ ├── async-then-arrow.src.js │ │ │ │ │ ├── async-wrapped-class-await.result.js │ │ │ │ │ ├── async-wrapped-class-await.src.js │ │ │ │ │ ├── async-yield.result.js │ │ │ │ │ ├── async-yield.src.js │ │ │ │ │ ├── async.result.js │ │ │ │ │ ├── async.src.js │ │ │ │ │ ├── await-identifier-math.result.js │ │ │ │ │ ├── await-identifier-math.src.js │ │ │ │ │ ├── class-method.result.js │ │ │ │ │ ├── class-method.src.js │ │ │ │ │ ├── export-async.result.js │ │ │ │ │ ├── export-async.src.js │ │ │ │ │ ├── export-default-async-expression.result.js │ │ │ │ │ ├── export-default-async-expression.src.js │ │ │ │ │ ├── export-default-async.result.js │ │ │ │ │ ├── export-default-async.src.js │ │ │ │ │ ├── generator-async-func.result.js │ │ │ │ │ ├── generator-async-func.src.js │ │ │ │ │ ├── invalid-async-await-identifier.result.js │ │ │ │ │ ├── invalid-async-await-identifier.src.js │ │ │ │ │ ├── invalid-async-await-param.result.js │ │ │ │ │ ├── invalid-async-await-param.src.js │ │ │ │ │ ├── invalid-async-class-broken.result.js │ │ │ │ │ ├── invalid-async-class-broken.src.js │ │ │ │ │ ├── invalid-async-class-generator.result.js │ │ │ │ │ ├── invalid-async-class-generator.src.js │ │ │ │ │ ├── invalid-async-class-getter.result.js │ │ │ │ │ ├── invalid-async-class-getter.src.js │ │ │ │ │ ├── invalid-async-class-method-await.result.js │ │ │ │ │ ├── invalid-async-class-method-await.src.js │ │ │ │ │ ├── invalid-async-class-method-empty-await.result.js │ │ │ │ │ ├── invalid-async-class-method-empty-await.src.js │ │ │ │ │ ├── invalid-async-class-setter.result.js │ │ │ │ │ ├── invalid-async-class-setter.src.js │ │ │ │ │ ├── invalid-async-constructor.result.js │ │ │ │ │ ├── invalid-async-constructor.src.js │ │ │ │ │ ├── invalid-async-expression-generators.result.js │ │ │ │ │ ├── invalid-async-expression-generators.src.js │ │ │ │ │ ├── invalid-async-expression-plain-await.result.js │ │ │ │ │ ├── invalid-async-expression-plain-await.src.js │ │ │ │ │ ├── invalid-async-expression.result.js │ │ │ │ │ ├── invalid-async-expression.src.js │ │ │ │ │ ├── invalid-async-generator-expression.result.js │ │ │ │ │ ├── invalid-async-generator-expression.src.js │ │ │ │ │ ├── invalid-async-generator-method.result.js │ │ │ │ │ ├── invalid-async-generator-method.src.js │ │ │ │ │ ├── invalid-async-generator.result.js │ │ │ │ │ ├── invalid-async-generator.src.js │ │ │ │ │ ├── invalid-async-getter-method-with-params.result.js │ │ │ │ │ ├── invalid-async-getter-method-with-params.src.js │ │ │ │ │ ├── invalid-async-getter-method.result.js │ │ │ │ │ ├── invalid-async-getter-method.src.js │ │ │ │ │ ├── invalid-async-method-await-identifier.result.js │ │ │ │ │ ├── invalid-async-method-await-identifier.src.js │ │ │ │ │ ├── invalid-async-method-await-param.result.js │ │ │ │ │ ├── invalid-async-method-await-param.src.js │ │ │ │ │ ├── invalid-async-method-empty-await.result.js │ │ │ │ │ ├── invalid-async-method-empty-await.src.js │ │ │ │ │ ├── invalid-async-method-expression.result.js │ │ │ │ │ ├── invalid-async-method-expression.src.js │ │ │ │ │ ├── invalid-async-method-return-await.result.js │ │ │ │ │ ├── invalid-async-method-return-await.src.js │ │ │ │ │ ├── invalid-async-object.result.js │ │ │ │ │ ├── invalid-async-object.src.js │ │ │ │ │ ├── invalid-async-plain-await.result.js │ │ │ │ │ ├── invalid-async-plain-await.src.js │ │ │ │ │ ├── invalid-async-prop.result.js │ │ │ │ │ ├── invalid-async-prop.src.js │ │ │ │ │ ├── invalid-async-static-method-broken.result.js │ │ │ │ │ ├── invalid-async-static-method-broken.src.js │ │ │ │ │ ├── invalid-await-arrow-param-parens.result.js │ │ │ │ │ ├── invalid-await-arrow-param-parens.src.js │ │ │ │ │ ├── invalid-await-arrow-param.result.js │ │ │ │ │ ├── invalid-await-arrow-param.src.js │ │ │ │ │ ├── invalid-await-default.result.js │ │ │ │ │ ├── invalid-await-default.src.js │ │ │ │ │ ├── invalid-await-destructured-default.result.js │ │ │ │ │ ├── invalid-await-destructured-default.src.js │ │ │ │ │ ├── invalid-await-destructured-param.result.js │ │ │ │ │ ├── invalid-await-destructured-param.src.js │ │ │ │ │ ├── invalid-await-func-expression.result.js │ │ │ │ │ ├── invalid-await-func-expression.src.js │ │ │ │ │ ├── invalid-await-identifier-expression.result.js │ │ │ │ │ ├── invalid-await-identifier-expression.src.js │ │ │ │ │ ├── invalid-await-identifier.result.js │ │ │ │ │ ├── invalid-await-identifier.src.js │ │ │ │ │ ├── invalid-await-named-destructured-array-param.result.js │ │ │ │ │ ├── invalid-await-named-destructured-array-param.src.js │ │ │ │ │ ├── invalid-await-named-destructured-param.result.js │ │ │ │ │ ├── invalid-await-named-destructured-param.src.js │ │ │ │ │ ├── invalid-await-param-expression.result.js │ │ │ │ │ ├── invalid-await-param-expression.src.js │ │ │ │ │ ├── invalid-await-param.result.js │ │ │ │ │ ├── invalid-await-param.src.js │ │ │ │ │ ├── invalid-await-top-level.result.js │ │ │ │ │ ├── invalid-await-top-level.src.js │ │ │ │ │ ├── invalid-broken-async-arrow-after-parens.result.js │ │ │ │ │ ├── invalid-broken-async-arrow-after-parens.src.js │ │ │ │ │ ├── invalid-broken-async-arrow-before-parens.result.js │ │ │ │ │ ├── invalid-broken-async-arrow-before-parens.src.js │ │ │ │ │ ├── invalid-broken-async-arrow.result.js │ │ │ │ │ ├── invalid-broken-async-arrow.src.js │ │ │ │ │ ├── invalid-broken-async-object-method.result.js │ │ │ │ │ ├── invalid-broken-async-object-method.src.js │ │ │ │ │ ├── invalid-broken-line-async.result.js │ │ │ │ │ ├── invalid-broken-line-async.src.js │ │ │ │ │ ├── invalid-class-await-extend.result.js │ │ │ │ │ ├── invalid-class-await-extend.src.js │ │ │ │ │ ├── invalid-nested-async.result.js │ │ │ │ │ ├── invalid-nested-async.src.js │ │ │ │ │ ├── invalid-plain-await-arrow.result.js │ │ │ │ │ ├── invalid-plain-await-arrow.src.js │ │ │ │ │ ├── invalid-plain-await.result.js │ │ │ │ │ ├── invalid-plain-await.src.js │ │ │ │ │ ├── invalid-static-async-generator.result.js │ │ │ │ │ ├── invalid-static-async-generator.src.js │ │ │ │ │ ├── invalid-static-async-getter.result.js │ │ │ │ │ ├── invalid-static-async-getter.src.js │ │ │ │ │ ├── invalid-static-async-setter.result.js │ │ │ │ │ ├── invalid-static-async-setter.src.js │ │ │ │ │ ├── invalid-yield-default.result.js │ │ │ │ │ ├── invalid-yield-default.src.js │ │ │ │ │ ├── nested-async-await-method.result.js │ │ │ │ │ ├── nested-async-await-method.src.js │ │ │ │ │ ├── no-async-expression.result.js │ │ │ │ │ ├── no-async-expression.src.js │ │ │ │ │ ├── no-async.result.js │ │ │ │ │ ├── no-async.src.js │ │ │ │ │ ├── object-method.result.js │ │ │ │ │ ├── object-method.src.js │ │ │ │ │ ├── plain-await.result.js │ │ │ │ │ ├── plain-await.src.js │ │ │ │ │ ├── static-async-named-class-method.result.js │ │ │ │ │ └── static-async-named-class-method.src.js │ │ │ │ ├── var-destructured-array-literal.result.js │ │ │ │ └── var-destructured-array-literal.src.js │ │ │ ├── 9 │ │ │ │ ├── async-generator │ │ │ │ │ ├── invalid-await-in-nested-function-1.module-result.js │ │ │ │ │ ├── invalid-await-in-nested-function-1.result.js │ │ │ │ │ ├── invalid-await-in-nested-function-1.src.js │ │ │ │ │ ├── invalid-await-in-nested-function-2.module-result.js │ │ │ │ │ ├── invalid-await-in-nested-function-2.result.js │ │ │ │ │ ├── invalid-await-in-nested-function-2.src.js │ │ │ │ │ ├── invalid-await-in-nested-function-3.module-result.js │ │ │ │ │ ├── invalid-await-in-nested-function-3.result.js │ │ │ │ │ ├── invalid-await-in-nested-function-3.src.js │ │ │ │ │ ├── invalid-await-in-nested-function-4.module-result.js │ │ │ │ │ ├── invalid-await-in-nested-function-4.result.js │ │ │ │ │ ├── invalid-await-in-nested-function-4.src.js │ │ │ │ │ ├── invalid-linebreak-after-async-1.result.js │ │ │ │ │ ├── invalid-linebreak-after-async-1.src.js │ │ │ │ │ ├── invalid-linebreak-after-async-2.result.js │ │ │ │ │ ├── invalid-linebreak-after-async-2.src.js │ │ │ │ │ ├── invalid-star-before-async-1.result.js │ │ │ │ │ ├── invalid-star-before-async-1.src.js │ │ │ │ │ ├── invalid-star-before-async-2.result.js │ │ │ │ │ ├── invalid-star-before-async-2.src.js │ │ │ │ │ ├── invalid-stars-around-async-1.result.js │ │ │ │ │ ├── invalid-stars-around-async-1.src.js │ │ │ │ │ ├── invalid-stars-around-async-2.result.js │ │ │ │ │ ├── invalid-stars-around-async-2.src.js │ │ │ │ │ ├── invalid-yield-in-nested-function-1.module-result.js │ │ │ │ │ ├── invalid-yield-in-nested-function-1.result.js │ │ │ │ │ ├── invalid-yield-in-nested-function-1.src.js │ │ │ │ │ ├── invalid-yield-in-nested-function-2.module-result.js │ │ │ │ │ ├── invalid-yield-in-nested-function-2.result.js │ │ │ │ │ ├── invalid-yield-in-nested-function-2.src.js │ │ │ │ │ ├── invalid-yield-in-nested-function-3.module-result.js │ │ │ │ │ ├── invalid-yield-in-nested-function-3.result.js │ │ │ │ │ ├── invalid-yield-in-nested-function-3.src.js │ │ │ │ │ ├── invalid-yield-in-nested-function-4.module-result.js │ │ │ │ │ ├── invalid-yield-in-nested-function-4.result.js │ │ │ │ │ ├── invalid-yield-in-nested-function-4.src.js │ │ │ │ │ ├── valid-class-method.result.js │ │ │ │ │ ├── valid-class-method.src.js │ │ │ │ │ ├── valid-class-static-method.result.js │ │ │ │ │ ├── valid-class-static-method.src.js │ │ │ │ │ ├── valid-function-declaration.result.js │ │ │ │ │ ├── valid-function-declaration.src.js │ │ │ │ │ ├── valid-function-expression.result.js │ │ │ │ │ ├── valid-function-expression.src.js │ │ │ │ │ ├── valid-object-method.result.js │ │ │ │ │ └── valid-object-method.src.js │ │ │ │ ├── for-await-of │ │ │ │ │ ├── invalid-in-arrow-function.result.js │ │ │ │ │ ├── invalid-in-arrow-function.src.js │ │ │ │ │ ├── invalid-in-function-declaration.result.js │ │ │ │ │ ├── invalid-in-function-declaration.src.js │ │ │ │ │ ├── invalid-in-function-expression.result.js │ │ │ │ │ ├── invalid-in-function-expression.src.js │ │ │ │ │ ├── invalid-in-nested-function.result.js │ │ │ │ │ ├── invalid-in-nested-function.src.js │ │ │ │ │ ├── invalid-on-top-level.result.js │ │ │ │ │ ├── invalid-on-top-level.src.js │ │ │ │ │ ├── invalid-with-for-1.result.js │ │ │ │ │ ├── invalid-with-for-1.src.js │ │ │ │ │ ├── invalid-with-for-2.result.js │ │ │ │ │ ├── invalid-with-for-2.src.js │ │ │ │ │ ├── invalid-with-for-3.result.js │ │ │ │ │ ├── invalid-with-for-3.src.js │ │ │ │ │ ├── invalid-with-for-in.result.js │ │ │ │ │ ├── invalid-with-for-in.src.js │ │ │ │ │ ├── valid-in-with-reference.result.js │ │ │ │ │ ├── valid-in-with-reference.src.js │ │ │ │ │ ├── valid-linebreak-before-await.result.js │ │ │ │ │ ├── valid-linebreak-before-await.src.js │ │ │ │ │ ├── valid-no-await-1.result.js │ │ │ │ │ ├── valid-no-await-1.src.js │ │ │ │ │ ├── valid-no-await-2.result.js │ │ │ │ │ ├── valid-no-await-2.src.js │ │ │ │ │ ├── valid-with-async-arrow-function.result.js │ │ │ │ │ ├── valid-with-async-arrow-function.src.js │ │ │ │ │ ├── valid-with-async-function-expression.result.js │ │ │ │ │ ├── valid-with-async-function-expression.src.js │ │ │ │ │ ├── valid-with-async-method-1.result.js │ │ │ │ │ ├── valid-with-async-method-1.src.js │ │ │ │ │ ├── valid-with-async-method-2.result.js │ │ │ │ │ ├── valid-with-async-method-2.src.js │ │ │ │ │ ├── valid-with-let.result.js │ │ │ │ │ ├── valid-with-let.src.js │ │ │ │ │ ├── valid-with-var.result.js │ │ │ │ │ └── valid-with-var.src.js │ │ │ │ ├── malformed-template-literal │ │ │ │ │ ├── malformed-template-literal-escape.result.js │ │ │ │ │ └── malformed-template-literal-escape.src.js │ │ │ │ ├── regexp-lookbehind-assertion │ │ │ │ │ ├── invalid-group.result.js │ │ │ │ │ ├── invalid-group.src.js │ │ │ │ │ ├── invalid-unterminated-group.result.js │ │ │ │ │ ├── invalid-unterminated-group.src.js │ │ │ │ │ ├── valid-negative-1.result.js │ │ │ │ │ ├── valid-negative-1.src.js │ │ │ │ │ ├── valid-negative-2.result.js │ │ │ │ │ ├── valid-negative-2.src.js │ │ │ │ │ ├── valid-positive-1.result.js │ │ │ │ │ ├── valid-positive-1.src.js │ │ │ │ │ ├── valid-positive-2.result.js │ │ │ │ │ └── valid-positive-2.src.js │ │ │ │ ├── regexp-named-group │ │ │ │ │ ├── invalid-backreference-1.result.js │ │ │ │ │ ├── invalid-backreference-1.src.js │ │ │ │ │ ├── invalid-backreference-2.result.js │ │ │ │ │ ├── invalid-backreference-2.src.js │ │ │ │ │ ├── invalid-backreference-3.result.js │ │ │ │ │ ├── invalid-backreference-3.src.js │ │ │ │ │ ├── invalid-backreference-4.result.js │ │ │ │ │ ├── invalid-backreference-4.src.js │ │ │ │ │ ├── invalid-group-name-1.result.js │ │ │ │ │ ├── invalid-group-name-1.src.js │ │ │ │ │ ├── invalid-group-name-2.result.js │ │ │ │ │ ├── invalid-group-name-2.src.js │ │ │ │ │ ├── invalid-group-name-3.result.js │ │ │ │ │ ├── invalid-group-name-3.src.js │ │ │ │ │ ├── valid-backreference-1.result.js │ │ │ │ │ ├── valid-backreference-1.src.js │ │ │ │ │ ├── valid-backreference-2.result.js │ │ │ │ │ ├── valid-backreference-2.src.js │ │ │ │ │ ├── valid-backreference-3.result.js │ │ │ │ │ ├── valid-backreference-3.src.js │ │ │ │ │ ├── valid-group.result.js │ │ │ │ │ ├── valid-group.src.js │ │ │ │ │ ├── valid-unicode-name-1.result.js │ │ │ │ │ ├── valid-unicode-name-1.src.js │ │ │ │ │ ├── valid-unicode-name-2.result.js │ │ │ │ │ └── valid-unicode-name-2.src.js │ │ │ │ ├── regexp-s-flag │ │ │ │ │ ├── s-flag.result.js │ │ │ │ │ └── s-flag.src.js │ │ │ │ ├── regexp-unicode-property-escape │ │ │ │ │ ├── invalid-property-1.result.js │ │ │ │ │ ├── invalid-property-1.src.js │ │ │ │ │ ├── invalid-property-2.result.js │ │ │ │ │ ├── invalid-property-2.src.js │ │ │ │ │ ├── invalid-property-3.result.js │ │ │ │ │ ├── invalid-property-3.src.js │ │ │ │ │ ├── invalid-property-4.result.js │ │ │ │ │ ├── invalid-property-4.src.js │ │ │ │ │ ├── valid-negative-1.result.js │ │ │ │ │ ├── valid-negative-1.src.js │ │ │ │ │ ├── valid-negative-2.result.js │ │ │ │ │ ├── valid-negative-2.src.js │ │ │ │ │ ├── valid-positive-1.result.js │ │ │ │ │ ├── valid-positive-1.src.js │ │ │ │ │ ├── valid-positive-2.result.js │ │ │ │ │ └── valid-positive-2.src.js │ │ │ │ ├── rest-property │ │ │ │ │ ├── invalid-array-literal-1.result.js │ │ │ │ │ ├── invalid-array-literal-1.src.js │ │ │ │ │ ├── invalid-array-literal-2.result.js │ │ │ │ │ ├── invalid-array-literal-2.src.js │ │ │ │ │ ├── invalid-array-literal-3.result.js │ │ │ │ │ ├── invalid-array-literal-3.src.js │ │ │ │ │ ├── invalid-duo-1.result.js │ │ │ │ │ ├── invalid-duo-1.src.js │ │ │ │ │ ├── invalid-duo-2.result.js │ │ │ │ │ ├── invalid-duo-2.src.js │ │ │ │ │ ├── invalid-middle-1.result.js │ │ │ │ │ ├── invalid-middle-1.src.js │ │ │ │ │ ├── invalid-middle-2.result.js │ │ │ │ │ ├── invalid-middle-2.src.js │ │ │ │ │ ├── invalid-object-literal-1.result.js │ │ │ │ │ ├── invalid-object-literal-1.src.js │ │ │ │ │ ├── invalid-object-literal-2.result.js │ │ │ │ │ ├── invalid-object-literal-2.src.js │ │ │ │ │ ├── invalid-object-literal-3.result.js │ │ │ │ │ ├── invalid-object-literal-3.src.js │ │ │ │ │ ├── invalid-parenthesized-1.result.js │ │ │ │ │ ├── invalid-parenthesized-1.src.js │ │ │ │ │ ├── invalid-parenthesized-2.result.js │ │ │ │ │ ├── invalid-parenthesized-2.src.js │ │ │ │ │ ├── invalid-parenthesized-4.result.js │ │ │ │ │ ├── invalid-parenthesized-4.src.js │ │ │ │ │ ├── invalid-parenthesized-5.result.js │ │ │ │ │ ├── invalid-parenthesized-5.src.js │ │ │ │ │ ├── invalid-parenthesized-6.result.js │ │ │ │ │ ├── invalid-parenthesized-6.src.js │ │ │ │ │ ├── invalid-trailing-comma-1.result.js │ │ │ │ │ ├── invalid-trailing-comma-1.src.js │ │ │ │ │ ├── invalid-trailing-comma-2.result.js │ │ │ │ │ ├── invalid-trailing-comma-2.src.js │ │ │ │ │ ├── valid-assignment-1.result.js │ │ │ │ │ ├── valid-assignment-1.src.js │ │ │ │ │ ├── valid-assignment-2.result.js │ │ │ │ │ ├── valid-assignment-2.src.js │ │ │ │ │ ├── valid-assignment-3.result.js │ │ │ │ │ ├── valid-assignment-3.src.js │ │ │ │ │ ├── valid-declaration-1.result.js │ │ │ │ │ ├── valid-declaration-1.src.js │ │ │ │ │ ├── valid-declaration-2.result.js │ │ │ │ │ ├── valid-declaration-2.src.js │ │ │ │ │ ├── valid-declaration-3.result.js │ │ │ │ │ ├── valid-declaration-3.src.js │ │ │ │ │ ├── valid-parameter-1.result.js │ │ │ │ │ ├── valid-parameter-1.src.js │ │ │ │ │ ├── valid-parameter-2.result.js │ │ │ │ │ ├── valid-parameter-2.src.js │ │ │ │ │ ├── valid-parameter-3.result.js │ │ │ │ │ ├── valid-parameter-3.src.js │ │ │ │ │ ├── valid-parameter-4.result.js │ │ │ │ │ ├── valid-parameter-4.src.js │ │ │ │ │ ├── valid-parenthesized.result.js │ │ │ │ │ └── valid-parenthesized.src.js │ │ │ │ └── spread-property │ │ │ │ │ ├── invalid-dots.result.js │ │ │ │ │ ├── invalid-dots.src.js │ │ │ │ │ ├── valid-1.result.js │ │ │ │ │ ├── valid-1.src.js │ │ │ │ │ ├── valid-2.result.js │ │ │ │ │ ├── valid-2.src.js │ │ │ │ │ ├── valid-a-b-c-parenthesized.result.js │ │ │ │ │ ├── valid-a-b-c-parenthesized.src.js │ │ │ │ │ ├── valid-a-b-c.result.js │ │ │ │ │ ├── valid-a-b-c.src.js │ │ │ │ │ ├── valid-complex.result.js │ │ │ │ │ ├── valid-complex.src.js │ │ │ │ │ ├── valid-parenthesized-1.result.js │ │ │ │ │ ├── valid-parenthesized-1.src.js │ │ │ │ │ ├── valid-trailing-comma.result.js │ │ │ │ │ └── valid-trailing-comma.src.js │ │ │ ├── 10 │ │ │ │ ├── json-superset │ │ │ │ │ ├── invalid-lf.result.js │ │ │ │ │ ├── invalid-lf.src.js │ │ │ │ │ ├── valid-2028.result.js │ │ │ │ │ ├── valid-2028.src.js │ │ │ │ │ ├── valid-2029.result.js │ │ │ │ │ └── valid-2029.src.js │ │ │ │ └── optional-catch-binding │ │ │ │ │ ├── invalid-01.result.js │ │ │ │ │ ├── invalid-01.src.js │ │ │ │ │ ├── invalid-02.result.js │ │ │ │ │ ├── invalid-02.src.js │ │ │ │ │ ├── valid-01.result.js │ │ │ │ │ ├── valid-01.src.js │ │ │ │ │ ├── valid-02.result.js │ │ │ │ │ └── valid-02.src.js │ │ │ ├── 11 │ │ │ │ ├── bigint │ │ │ │ │ ├── binary.result.js │ │ │ │ │ ├── binary.src.js │ │ │ │ │ ├── decimal.result.js │ │ │ │ │ ├── decimal.src.js │ │ │ │ │ ├── hex.result.js │ │ │ │ │ ├── hex.src.js │ │ │ │ │ ├── invalid-float.result.js │ │ │ │ │ ├── invalid-float.src.js │ │ │ │ │ ├── octal.result.js │ │ │ │ │ └── octal.src.js │ │ │ │ ├── dynamic-import │ │ │ │ │ ├── basic.result.js │ │ │ │ │ ├── basic.src.js │ │ │ │ │ ├── first-of-statement.result.js │ │ │ │ │ ├── first-of-statement.src.js │ │ │ │ │ ├── invalid-import-prop.result.js │ │ │ │ │ ├── invalid-import-prop.src.js │ │ │ │ │ ├── invalid-multi-sources.result.js │ │ │ │ │ ├── invalid-multi-sources.src.js │ │ │ │ │ ├── invalid-new-import.result.js │ │ │ │ │ ├── invalid-new-import.src.js │ │ │ │ │ ├── invalid-no-source.result.js │ │ │ │ │ ├── invalid-no-source.src.js │ │ │ │ │ ├── invalid-only-import.result.js │ │ │ │ │ ├── invalid-only-import.src.js │ │ │ │ │ ├── invalid-trailing-comma.result.js │ │ │ │ │ ├── invalid-trailing-comma.src.js │ │ │ │ │ ├── invalid-wrap-import.result.js │ │ │ │ │ ├── invalid-wrap-import.src.js │ │ │ │ │ ├── new-import.result.js │ │ │ │ │ ├── new-import.src.js │ │ │ │ │ ├── with-assign.result.js │ │ │ │ │ ├── with-assign.src.js │ │ │ │ │ ├── with-sequence.result.js │ │ │ │ │ └── with-sequence.src.js │ │ │ │ ├── modules │ │ │ │ │ ├── export-star-as-ns-from-source │ │ │ │ │ │ ├── export-star-as-ns.result.js │ │ │ │ │ │ ├── export-star-as-ns.src.js │ │ │ │ │ │ ├── export-star.result.js │ │ │ │ │ │ └── export-star.src.js │ │ │ │ │ └── import-meta │ │ │ │ │ │ ├── import-meta.result.js │ │ │ │ │ │ ├── import-meta.src.js │ │ │ │ │ │ ├── invalid-not-meta.result.js │ │ │ │ │ │ ├── invalid-not-meta.src.js │ │ │ │ │ │ ├── invalid-unicode-sequence.result.js │ │ │ │ │ │ └── invalid-unicode-sequence.src.js │ │ │ │ ├── nullish-coalescing │ │ │ │ │ ├── invalid-qq-with-logical-or-1.result.js │ │ │ │ │ ├── invalid-qq-with-logical-or-1.src.js │ │ │ │ │ ├── invalid-qq-with-logical-or-2.result.js │ │ │ │ │ ├── invalid-qq-with-logical-or-2.src.js │ │ │ │ │ ├── one-qq.result.js │ │ │ │ │ ├── one-qq.src.js │ │ │ │ │ ├── qq-in-ternary.result.js │ │ │ │ │ ├── qq-in-ternary.src.js │ │ │ │ │ ├── qq-with-bitwise-or.result.js │ │ │ │ │ ├── qq-with-bitwise-or.src.js │ │ │ │ │ ├── qq-with-logical-or-1.result.js │ │ │ │ │ ├── qq-with-logical-or-1.src.js │ │ │ │ │ ├── qq-with-logical-or-2.result.js │ │ │ │ │ ├── qq-with-logical-or-2.src.js │ │ │ │ │ ├── two-qq.result.js │ │ │ │ │ └── two-qq.src.js │ │ │ │ └── optional-chaining │ │ │ │ │ ├── async-qdot-call.result.js │ │ │ │ │ ├── async-qdot-call.src.js │ │ │ │ │ ├── chaining1.result.js │ │ │ │ │ ├── chaining1.src.js │ │ │ │ │ ├── chaining2.result.js │ │ │ │ │ ├── chaining2.src.js │ │ │ │ │ ├── chaining3.result.js │ │ │ │ │ ├── chaining3.src.js │ │ │ │ │ ├── invalid-assign.result.js │ │ │ │ │ ├── invalid-assign.src.js │ │ │ │ │ ├── invalid-async-qdot-call.result.js │ │ │ │ │ ├── invalid-async-qdot-call.src.js │ │ │ │ │ ├── invalid-binding-in-for-in.result.js │ │ │ │ │ ├── invalid-binding-in-for-in.src.js │ │ │ │ │ ├── invalid-chaining-assign.result.js │ │ │ │ │ ├── invalid-chaining-assign.src.js │ │ │ │ │ ├── invalid-chaining-binding-in-for-in.result.js │ │ │ │ │ ├── invalid-chaining-binding-in-for-in.src.js │ │ │ │ │ ├── invalid-chaining-increment.result.js │ │ │ │ │ ├── invalid-chaining-increment.src.js │ │ │ │ │ ├── invalid-chaining-new.result.js │ │ │ │ │ ├── invalid-chaining-new.src.js │ │ │ │ │ ├── invalid-chaining-template.result.js │ │ │ │ │ ├── invalid-chaining-template.src.js │ │ │ │ │ ├── invalid-increment.result.js │ │ │ │ │ ├── invalid-increment.src.js │ │ │ │ │ ├── invalid-new.result.js │ │ │ │ │ ├── invalid-new.src.js │ │ │ │ │ ├── invalid-qdot-num.result.js │ │ │ │ │ ├── invalid-qdot-num.src.js │ │ │ │ │ ├── invalid-template.result.js │ │ │ │ │ ├── invalid-template.src.js │ │ │ │ │ ├── non-optional.result.js │ │ │ │ │ ├── non-optional.src.js │ │ │ │ │ ├── parenthesized-chaining1.result.js │ │ │ │ │ ├── parenthesized-chaining1.src.js │ │ │ │ │ ├── parenthesized-chaining2.result.js │ │ │ │ │ ├── parenthesized-chaining2.src.js │ │ │ │ │ ├── parenthesized-chaining3.result.js │ │ │ │ │ ├── parenthesized-chaining3.src.js │ │ │ │ │ ├── qdot-call.result.js │ │ │ │ │ ├── qdot-call.src.js │ │ │ │ │ ├── qdot.result.js │ │ │ │ │ └── qdot.src.js │ │ │ ├── 12 │ │ │ │ ├── logical-assignment-operators │ │ │ │ │ ├── and.result.js │ │ │ │ │ ├── and.src.js │ │ │ │ │ ├── coalesce.result.js │ │ │ │ │ ├── coalesce.src.js │ │ │ │ │ ├── mix.result.js │ │ │ │ │ ├── mix.src.js │ │ │ │ │ ├── or.result.js │ │ │ │ │ └── or.src.js │ │ │ │ └── numeric-separators │ │ │ │ │ ├── bigint.result.js │ │ │ │ │ ├── bigint.src.js │ │ │ │ │ ├── binary.result.js │ │ │ │ │ ├── binary.src.js │ │ │ │ │ ├── decimal.result.js │ │ │ │ │ ├── decimal.src.js │ │ │ │ │ ├── exponent.result.js │ │ │ │ │ ├── exponent.src.js │ │ │ │ │ ├── fraction.result.js │ │ │ │ │ ├── fraction.src.js │ │ │ │ │ ├── hex.result.js │ │ │ │ │ ├── hex.src.js │ │ │ │ │ ├── invalid-at-first.result.js │ │ │ │ │ ├── invalid-at-first.src.js │ │ │ │ │ ├── invalid-at-last.result.js │ │ │ │ │ ├── invalid-at-last.src.js │ │ │ │ │ ├── invalid-double-sep.result.js │ │ │ │ │ ├── invalid-double-sep.src.js │ │ │ │ │ ├── invalid-legacy-octal.result.js │ │ │ │ │ ├── invalid-legacy-octal.src.js │ │ │ │ │ ├── octal.result.js │ │ │ │ │ ├── octal.src.js │ │ │ │ │ ├── starts-with-dot.result.js │ │ │ │ │ └── starts-with-dot.src.js │ │ │ ├── 13 │ │ │ │ ├── class-fields │ │ │ │ │ ├── invalid-delete-private-optional.result.js │ │ │ │ │ ├── invalid-delete-private-optional.src.js │ │ │ │ │ ├── invalid-delete-private.result.js │ │ │ │ │ ├── invalid-delete-private.src.js │ │ │ │ │ ├── invalid-init-arguments.result.js │ │ │ │ │ ├── invalid-init-arguments.src.js │ │ │ │ │ ├── invalid-init-arrow-arguments.result.js │ │ │ │ │ ├── invalid-init-arrow-arguments.src.js │ │ │ │ │ ├── invalid-init-yield.result.js │ │ │ │ │ ├── invalid-init-yield.src.js │ │ │ │ │ ├── invalid-member-private-undef.result.js │ │ │ │ │ ├── invalid-member-private-undef.src.js │ │ │ │ │ ├── invalid-member-super-private.result.js │ │ │ │ │ ├── invalid-member-super-private.src.js │ │ │ │ │ ├── invalid-private-constructor.result.js │ │ │ │ │ ├── invalid-private-constructor.src.js │ │ │ │ │ ├── invalid-private-dupelicate.result.js │ │ │ │ │ ├── invalid-private-dupelicate.src.js │ │ │ │ │ ├── invalid-public-constructor.result.js │ │ │ │ │ ├── invalid-public-constructor.src.js │ │ │ │ │ ├── mixed-init-await.module-result.js │ │ │ │ │ ├── mixed-init-await.result.js │ │ │ │ │ ├── mixed-init-await.src.js │ │ │ │ │ ├── valid-arguments-in-computed-key.result.js │ │ │ │ │ ├── valid-arguments-in-computed-key.src.js │ │ │ │ │ ├── valid-async-asi.result.js │ │ │ │ │ ├── valid-async-asi.src.js │ │ │ │ │ ├── valid-computed-asi.result.js │ │ │ │ │ ├── valid-computed-asi.src.js │ │ │ │ │ ├── valid-computed-no-asi.result.js │ │ │ │ │ ├── valid-computed-no-asi.src.js │ │ │ │ │ ├── valid-computed.result.js │ │ │ │ │ ├── valid-computed.src.js │ │ │ │ │ ├── valid-contextual-keywords-init.result.js │ │ │ │ │ ├── valid-contextual-keywords-init.src.js │ │ │ │ │ ├── valid-contextual-keywords.result.js │ │ │ │ │ ├── valid-contextual-keywords.src.js │ │ │ │ │ ├── valid-get-set-star-no-asi.result.js │ │ │ │ │ ├── valid-get-set-star-no-asi.src.js │ │ │ │ │ ├── valid-init-arguments.result.js │ │ │ │ │ ├── valid-init-arguments.src.js │ │ │ │ │ ├── valid-init-arrow-super.result.js │ │ │ │ │ ├── valid-init-arrow-super.src.js │ │ │ │ │ ├── valid-init-arrow.result.js │ │ │ │ │ ├── valid-init-arrow.src.js │ │ │ │ │ ├── valid-init-super.result.js │ │ │ │ │ ├── valid-init-super.src.js │ │ │ │ │ ├── valid-member-private-nesting-use-first.result.js │ │ │ │ │ ├── valid-member-private-nesting-use-first.src.js │ │ │ │ │ ├── valid-member-private-nesting.result.js │ │ │ │ │ ├── valid-member-private-nesting.src.js │ │ │ │ │ ├── valid-member-private.result.js │ │ │ │ │ ├── valid-member-private.src.js │ │ │ │ │ ├── valid-private-asi.result.js │ │ │ │ │ ├── valid-private-asi.src.js │ │ │ │ │ ├── valid-private.result.js │ │ │ │ │ ├── valid-private.src.js │ │ │ │ │ ├── valid-prototype.result.js │ │ │ │ │ ├── valid-prototype.src.js │ │ │ │ │ ├── valid-public-asi.result.js │ │ │ │ │ ├── valid-public-asi.src.js │ │ │ │ │ ├── valid-public.result.js │ │ │ │ │ ├── valid-public.src.js │ │ │ │ │ ├── valid-special-field-names-init.result.js │ │ │ │ │ ├── valid-special-field-names-init.src.js │ │ │ │ │ ├── valid-special-field-names.result.js │ │ │ │ │ ├── valid-special-field-names.src.js │ │ │ │ │ ├── valid-star-asi.result.js │ │ │ │ │ ├── valid-star-asi.src.js │ │ │ │ │ ├── valid-star-no-asi.result.js │ │ │ │ │ └── valid-star-no-asi.src.js │ │ │ │ ├── class-static-blocks │ │ │ │ │ ├── LICENSE │ │ │ │ │ ├── statements-class-static-init-expr-new-target.result.js │ │ │ │ │ ├── statements-class-static-init-expr-new-target.src.js │ │ │ │ │ ├── statements-class-static-init-expr-this.result.js │ │ │ │ │ ├── statements-class-static-init-expr-this.src.js │ │ │ │ │ ├── statements-class-static-init-scope-lex-close.result.js │ │ │ │ │ ├── statements-class-static-init-scope-lex-close.src.js │ │ │ │ │ ├── statements-class-static-init-scope-lex-derived.result.js │ │ │ │ │ ├── statements-class-static-init-scope-lex-derived.src.js │ │ │ │ │ ├── statements-class-static-init-scope-lex-open.result.js │ │ │ │ │ ├── statements-class-static-init-scope-lex-open.src.js │ │ │ │ │ ├── statements-class-static-init-scope-private.result.js │ │ │ │ │ ├── statements-class-static-init-scope-private.src.js │ │ │ │ │ ├── statements-class-static-init-scope-var-close.result.js │ │ │ │ │ ├── statements-class-static-init-scope-var-close.src.js │ │ │ │ │ ├── statements-class-static-init-scope-var-derived.result.js │ │ │ │ │ ├── statements-class-static-init-scope-var-derived.src.js │ │ │ │ │ ├── statements-class-static-init-scope-var-open.result.js │ │ │ │ │ ├── statements-class-static-init-scope-var-open.src.js │ │ │ │ │ ├── statements-class-static-init-sequence.result.js │ │ │ │ │ ├── statements-class-static-init-sequence.src.js │ │ │ │ │ ├── statements-class-static-init-statement-list-optional.result.js │ │ │ │ │ ├── statements-class-static-init-statement-list-optional.src.js │ │ │ │ │ ├── statements-class-static-init-super-property.result.js │ │ │ │ │ └── statements-class-static-init-super-property.src.js │ │ │ │ ├── modules │ │ │ │ │ ├── arbitrary-module-namespace-names │ │ │ │ │ │ ├── export-all-exported.result.js │ │ │ │ │ │ ├── export-all-exported.src.js │ │ │ │ │ │ ├── export-exported-with-escapes.result.js │ │ │ │ │ │ ├── export-exported-with-escapes.src.js │ │ │ │ │ │ ├── export-exported.result.js │ │ │ │ │ │ ├── export-exported.src.js │ │ │ │ │ │ ├── export-from-exported.result.js │ │ │ │ │ │ ├── export-from-exported.src.js │ │ │ │ │ │ ├── export-from-local-and-exported.result.js │ │ │ │ │ │ ├── export-from-local-and-exported.src.js │ │ │ │ │ │ ├── export-from-local.result.js │ │ │ │ │ │ ├── export-from-local.src.js │ │ │ │ │ │ ├── export-from-shorthand.result.js │ │ │ │ │ │ ├── export-from-shorthand.src.js │ │ │ │ │ │ ├── import-imported-with-escapes.result.js │ │ │ │ │ │ ├── import-imported-with-escapes.src.js │ │ │ │ │ │ ├── import-imported.result.js │ │ │ │ │ │ ├── import-imported.src.js │ │ │ │ │ │ ├── invalid-lone-surrogate-export-exported.result.js │ │ │ │ │ │ ├── invalid-lone-surrogate-export-exported.src.js │ │ │ │ │ │ ├── invalid-lone-surrogate-import-imported.result.js │ │ │ │ │ │ └── invalid-lone-surrogate-import-imported.src.js │ │ │ │ │ └── top-level-await │ │ │ │ │ │ ├── top-await.result.js │ │ │ │ │ │ └── top-await.src.js │ │ │ │ ├── private-in │ │ │ │ │ ├── invalid-missing-private.result.js │ │ │ │ │ ├── invalid-missing-private.src.js │ │ │ │ │ ├── invalid-without-class.result.js │ │ │ │ │ ├── invalid-without-class.src.js │ │ │ │ │ ├── valid-private-in.result.js │ │ │ │ │ └── valid-private-in.src.js │ │ │ │ ├── private-methods │ │ │ │ │ ├── invalid-conflict-names.result.js │ │ │ │ │ ├── invalid-conflict-names.src.js │ │ │ │ │ ├── invalid-constructor.result.js │ │ │ │ │ ├── invalid-constructor.src.js │ │ │ │ │ ├── valid-accessor.result.js │ │ │ │ │ ├── valid-accessor.src.js │ │ │ │ │ ├── valid-async-asi.result.js │ │ │ │ │ ├── valid-async-asi.src.js │ │ │ │ │ ├── valid-contextual-keywords-no-asi.result.js │ │ │ │ │ ├── valid-contextual-keywords-no-asi.src.js │ │ │ │ │ ├── valid-methods.result.js │ │ │ │ │ └── valid-methods.src.js │ │ │ │ ├── regexp-match-indices │ │ │ │ │ ├── regexp-match-indices.result.js │ │ │ │ │ └── regexp-match-indices.src.js │ │ │ │ └── static-class-features │ │ │ │ │ ├── invalid-conflict-names.result.js │ │ │ │ │ ├── invalid-conflict-names.src.js │ │ │ │ │ ├── invalid-private-field-constructor.result.js │ │ │ │ │ ├── invalid-private-field-constructor.src.js │ │ │ │ │ ├── invalid-private-getter-constructor.result.js │ │ │ │ │ ├── invalid-private-getter-constructor.src.js │ │ │ │ │ ├── invalid-private-method-constructor.result.js │ │ │ │ │ ├── invalid-private-method-constructor.src.js │ │ │ │ │ ├── invalid-private-setter-constructor.result.js │ │ │ │ │ ├── invalid-private-setter-constructor.src.js │ │ │ │ │ ├── invalid-public-field-constructor.result.js │ │ │ │ │ ├── invalid-public-field-constructor.src.js │ │ │ │ │ ├── invalid-public-field-prototype.result.js │ │ │ │ │ ├── invalid-public-field-prototype.src.js │ │ │ │ │ ├── valid-async-asi.result.js │ │ │ │ │ ├── valid-async-asi.src.js │ │ │ │ │ ├── valid-contextual-keywords-no-asi.result.js │ │ │ │ │ ├── valid-contextual-keywords-no-asi.src.js │ │ │ │ │ ├── valid-private-accessors.result.js │ │ │ │ │ ├── valid-private-accessors.src.js │ │ │ │ │ ├── valid-private-fields.result.js │ │ │ │ │ ├── valid-private-fields.src.js │ │ │ │ │ ├── valid-private-methods.result.js │ │ │ │ │ ├── valid-private-methods.src.js │ │ │ │ │ ├── valid-public-fields.result.js │ │ │ │ │ └── valid-public-fields.src.js │ │ │ ├── 14 │ │ │ │ └── hashbang │ │ │ │ │ ├── invalid-comment-not-at-beginning.result.js │ │ │ │ │ ├── invalid-comment-not-at-beginning.src.js │ │ │ │ │ ├── valid-comment-at-beginning.result.js │ │ │ │ │ └── valid-comment-at-beginning.src.js │ │ │ ├── 15 │ │ │ │ └── regexp-v-flag │ │ │ │ │ ├── invalid-regexp-class-set-expression.result.js │ │ │ │ │ ├── invalid-regexp-class-set-expression.src.js │ │ │ │ │ ├── invalid-regexp-string-negate.result.js │ │ │ │ │ ├── invalid-regexp-string-negate.src.js │ │ │ │ │ ├── invalid-regexp-unicode-property.result.js │ │ │ │ │ ├── invalid-regexp-unicode-property.src.js │ │ │ │ │ ├── invalid-regexp-v-flag.result.js │ │ │ │ │ ├── invalid-regexp-v-flag.src.js │ │ │ │ │ ├── valid-regexp-v-flag.result.js │ │ │ │ │ └── valid-regexp-v-flag.src.js │ │ │ └── 16 │ │ │ │ ├── duplicate-named-capturing-groups │ │ │ │ ├── invalid-duplicate-named-capturing-groups-with-disjunction.result.js │ │ │ │ ├── invalid-duplicate-named-capturing-groups-with-disjunction.src.js │ │ │ │ ├── invalid-duplicate-named-capturing-groups-with-nesting.result.js │ │ │ │ ├── invalid-duplicate-named-capturing-groups-with-nesting.src.js │ │ │ │ ├── invalid-duplicate-named-capturing-groups.result.js │ │ │ │ ├── invalid-duplicate-named-capturing-groups.src.js │ │ │ │ ├── valid-duplicate-named-capturing-groups.result.js │ │ │ │ └── valid-duplicate-named-capturing-groups.src.js │ │ │ │ ├── import-attributes │ │ │ │ ├── invalid-import-attributes-with-dupe-key.module-result.js │ │ │ │ ├── invalid-import-attributes-with-dupe-key.result.js │ │ │ │ ├── invalid-import-attributes-with-dupe-key.src.js │ │ │ │ ├── invalid-import-attributes-with-dynamic-with-multiple-trailing-comma.result.js │ │ │ │ ├── invalid-import-attributes-with-dynamic-with-multiple-trailing-comma.src.js │ │ │ │ ├── invalid-import-attributes-with-multiple-trailing-comma.module-result.js │ │ │ │ ├── invalid-import-attributes-with-multiple-trailing-comma.result.js │ │ │ │ ├── invalid-import-attributes-with-multiple-trailing-comma.src.js │ │ │ │ ├── invalid-import-attributes-with-number-key.module-result.js │ │ │ │ ├── invalid-import-attributes-with-number-key.result.js │ │ │ │ ├── invalid-import-attributes-with-number-key.src.js │ │ │ │ ├── invalid-import-attributes-with-number-value.module-result.js │ │ │ │ ├── invalid-import-attributes-with-number-value.result.js │ │ │ │ ├── invalid-import-attributes-with-number-value.src.js │ │ │ │ ├── valid-import-attributes.module-result.js │ │ │ │ ├── valid-import-attributes.result.js │ │ │ │ └── valid-import-attributes.src.js │ │ │ │ └── regexp-modifiers │ │ │ │ ├── invalid-regexp-dupe-add-modifiers.result.js │ │ │ │ ├── invalid-regexp-dupe-add-modifiers.src.js │ │ │ │ ├── invalid-regexp-dupe-modifiers.result.js │ │ │ │ ├── invalid-regexp-dupe-modifiers.src.js │ │ │ │ ├── invalid-regexp-dupe-remove-modifiers.result.js │ │ │ │ ├── invalid-regexp-dupe-remove-modifiers.src.js │ │ │ │ ├── invalid-regexp-empty-modifiers.result.js │ │ │ │ ├── invalid-regexp-empty-modifiers.src.js │ │ │ │ ├── invalid-regexp-unknown-modifiers.result.js │ │ │ │ ├── invalid-regexp-unknown-modifiers.src.js │ │ │ │ ├── valid-regexp-modifiers.result.js │ │ │ │ └── valid-regexp-modifiers.src.js │ │ ├── libraries │ │ │ ├── XMLHttpRequest.js │ │ │ ├── XMLHttpRequest.js.result.json │ │ │ ├── angular-1.2.5.js │ │ │ ├── angular-1.2.5.js.result.json │ │ │ ├── backbone-1.1.0.js │ │ │ ├── backbone-1.1.0.js.result.json │ │ │ ├── benchmark.js │ │ │ ├── benchmark.js.result.json │ │ │ ├── escodegen.browser.js │ │ │ ├── escodegen.browser.js.result.json │ │ │ ├── escope.js │ │ │ ├── escope.js.result.json │ │ │ ├── esmangle.browser.js │ │ │ ├── esmangle.browser.js.result.json │ │ │ ├── esmorph.js │ │ │ ├── esmorph.js.result.json │ │ │ ├── esrefactor.js │ │ │ ├── esrefactor.js.result.json │ │ │ ├── estraverse.js │ │ │ ├── estraverse.js.result.json │ │ │ ├── jquery-1.9.1.js │ │ │ ├── jquery-1.9.1.js.result.json │ │ │ ├── mootools-1.4.5.js │ │ │ ├── mootools-1.4.5.js.result.json │ │ │ ├── underscore-1.5.2.js │ │ │ ├── underscore-1.5.2.js.result.json │ │ │ ├── yui-3.12.0.js │ │ │ └── yui-3.12.0.js.result.json │ │ ├── parse │ │ │ └── all-pieces.json │ │ └── tokenize │ │ │ ├── const-result.tokens.js │ │ │ ├── let-result.tokens.js │ │ │ ├── not-operator.tokens.js │ │ │ ├── regex-in-parens-result.tokens.js │ │ │ ├── regexp-u-result.tokens.js │ │ │ ├── regexp-u-unicode-escape-result.tokens.js │ │ │ ├── regexp-y-result.tokens.js │ │ │ ├── template-string-embedded-result.tokens.js │ │ │ ├── template-string-embedded2-result.tokens.js │ │ │ ├── template-string-expressions-result.tokens.js │ │ │ ├── template-string-simple-result.tokens.js │ │ │ └── tilde-operator.tokens.js │ └── lib │ │ ├── acorn-after-espree.js │ │ ├── commonjs.cjs │ │ ├── conditional-regex-value.js │ │ ├── ecma-features.js │ │ ├── ecma-version.js │ │ ├── libraries.js │ │ ├── options.js │ │ ├── parse.js │ │ ├── supported-ecmaversions.js │ │ ├── syntax.js │ │ ├── tester-test.js │ │ ├── tester.js │ │ └── tokenize.js │ └── tools │ ├── create-test-example.js │ ├── create-test.js │ ├── sync-docs.js │ ├── update-ecma-version-tests.js │ ├── update-tests.js │ └── update-version.js ├── release-please-config.json └── tools ├── commit-readme.sh └── update-readme.js /.gitattributes: -------------------------------------------------------------------------------- 1 | * text=auto 2 | 3 | *.js text eol=lf 4 | -------------------------------------------------------------------------------- /.npmrc: -------------------------------------------------------------------------------- 1 | package-lock=false 2 | -------------------------------------------------------------------------------- /.release-please-manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "packages/espree": "10.3.0", 3 | "packages/eslint-scope": "8.3.0", 4 | "packages/eslint-visitor-keys": "4.2.0" 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/docs/.nojekyll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/.nojekyll -------------------------------------------------------------------------------- /packages/espree/docs/_sidebar.md: -------------------------------------------------------------------------------- 1 | - [**Demo**](https://astexplorer.net/) 2 | - [**Home**](/) 3 | - [**Tokens**](tokens.md) 4 | - [**AST**](ast/literal.md) 5 | -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/apple-icon-57x57.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/apple-icon-57x57.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/apple-icon-60x60.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/apple-icon-60x60.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/apple-icon-72x72.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/apple-icon-72x72.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/apple-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/apple-icon.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/favicon-16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/favicon-16x16.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/favicon-32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/favicon-32x32.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/favicon-96x96.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/favicon-96x96.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/favicon.512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/favicon.512x512.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/favicon.ico: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/favicon.ico -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/ms-icon-144x144.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/ms-icon-144x144.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/ms-icon-150x150.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/ms-icon-150x150.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/ms-icon-310x310.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/ms-icon-310x310.png -------------------------------------------------------------------------------- /packages/espree/docs/assets/img/ms-icon-70x70.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/eslint/js/b847f35787d4bf2ec68163f45f3e4dc2d209eee8/packages/espree/docs/assets/img/ms-icon-70x70.png -------------------------------------------------------------------------------- /packages/espree/lib/version.js: -------------------------------------------------------------------------------- 1 | const version = "main"; 2 | 3 | export default version; 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/globalReturn/return-identifier.src.js: -------------------------------------------------------------------------------- 1 | return fooz; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/globalReturn/return-no-arg.src.js: -------------------------------------------------------------------------------- 1 | return; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/globalReturn/return-true.src.js: -------------------------------------------------------------------------------- 1 | return true; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/impliedStrict/global-strict-violation.src.js: -------------------------------------------------------------------------------- 1 | var private; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/impliedStrict/inner-strict-violation.src.js: -------------------------------------------------------------------------------- 1 | function inner() { 2 | var private; 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/embedded-comment.src.js: -------------------------------------------------------------------------------- 1 | {/* this is a comment */}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/embedded-conditional.src.js: -------------------------------------------------------------------------------- 1 | : } />; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/embedded-invalid-js-identifier.src.js: -------------------------------------------------------------------------------- 1 |

7x invalid-js-identifier
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/embedded-tags.src.js: -------------------------------------------------------------------------------- 1 | right=monkeys /> gorillas />; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/empty-placeholder.src.js: -------------------------------------------------------------------------------- 1 |
{}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/escape-patterns.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-attribute-missing-equals.src.js: -------------------------------------------------------------------------------- 1 |
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-attribute.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-broken-tag.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-leading-dot-tag-name.src.js: -------------------------------------------------------------------------------- 1 | <.a>; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-matching-placeholder-in-closing-tag.src.js: -------------------------------------------------------------------------------- 1 |
stuff
; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-mismatched-closing-tag.src.js: -------------------------------------------------------------------------------- 1 |
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-mismatched-closing-tags.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-mismatched-dot-tag-name.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-mismatched-namespace-tag.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-missing-closing-tag-attribute-placeholder.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-missing-closing-tag.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-missing-namespace-name.src.js: -------------------------------------------------------------------------------- 1 | <:a />; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-missing-namespace-value.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-missing-spread-operator.src.js: -------------------------------------------------------------------------------- 1 |
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-mixed-namespace-name.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-mixed-namespace-value.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-no-common-parent-with-comment.src.js: -------------------------------------------------------------------------------- 1 | var x =
one
/* intervening comment */
two
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-no-common-parent.src.js: -------------------------------------------------------------------------------- 1 | var x =
one
two
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-no-tag-name.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-placeholder-in-closing-tag.src.js: -------------------------------------------------------------------------------- 1 |
stuff
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-trailing-dot-tag-name.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/invalid-unexpected-comma.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/japanese-characters.src.js: -------------------------------------------------------------------------------- 1 | <日本語>; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/less-than-operator.src.js: -------------------------------------------------------------------------------- 1 | (
) < x; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/member-expression.src.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/multiple-blank-spaces.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/namespaced-attribute-and-value-inserted.src.js: -------------------------------------------------------------------------------- 1 | {value} ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/namespaced-name-and-attribute.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/namespaced-name.src.js: -------------------------------------------------------------------------------- 1 | ; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/newslines-and-entities.src.js: -------------------------------------------------------------------------------- 1 | \nbar\nbaz\r\n; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/self-closing-tag-with-newline.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/self-closing-tag.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/spread-operator-attribute-and-regular-attribute.src.js: -------------------------------------------------------------------------------- 1 |
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/spread-operator-attributes.src.js: -------------------------------------------------------------------------------- 1 |
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/tag-names-with-dots.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/tag-names-with-multi-dots.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/template-strings-in-jsx-multi.src.js: -------------------------------------------------------------------------------- 1 | {`${1}`}{``} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/template-strings-in-jsx.src.js: -------------------------------------------------------------------------------- 1 | 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/test-content.src.js: -------------------------------------------------------------------------------- 1 |
@test content
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/trailing-spread-operator-attribute.src.js: -------------------------------------------------------------------------------- 1 |
; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/unknown-escape-pattern.src.js: -------------------------------------------------------------------------------- 1 | ; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-features/jsx/yield-jsx-element.src.js: -------------------------------------------------------------------------------- 1 | function *foo() { 2 | yield
bar
; 3 | } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/10/json-superset/invalid-lf.src.js: -------------------------------------------------------------------------------- 1 | var s = " 2 | " 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/10/json-superset/valid-2028.src.js: -------------------------------------------------------------------------------- 1 | var s = "
" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/10/json-superset/valid-2029.src.js: -------------------------------------------------------------------------------- 1 | var s = "
" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/10/optional-catch-binding/invalid-01.src.js: -------------------------------------------------------------------------------- 1 | try { 2 | foo() 3 | } catch bar(); 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/10/optional-catch-binding/invalid-02.src.js: -------------------------------------------------------------------------------- 1 | try { 2 | foo() 3 | } catch () {} 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/10/optional-catch-binding/valid-01.src.js: -------------------------------------------------------------------------------- 1 | try {} catch {} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/10/optional-catch-binding/valid-02.src.js: -------------------------------------------------------------------------------- 1 | try { 2 | foo() 3 | } catch { 4 | bar() 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/bigint/binary.src.js: -------------------------------------------------------------------------------- 1 | 0b0101n 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/bigint/decimal.src.js: -------------------------------------------------------------------------------- 1 | 1n 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/bigint/hex.src.js: -------------------------------------------------------------------------------- 1 | 0x80n 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/bigint/invalid-float.src.js: -------------------------------------------------------------------------------- 1 | 1.0n 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/bigint/octal.src.js: -------------------------------------------------------------------------------- 1 | 0o755n 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/basic.src.js: -------------------------------------------------------------------------------- 1 | async function main() { 2 | const foo = await import(source) 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/first-of-statement.src.js: -------------------------------------------------------------------------------- 1 | import(source) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/invalid-import-prop.src.js: -------------------------------------------------------------------------------- 1 | const i = import.property 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/invalid-multi-sources.src.js: -------------------------------------------------------------------------------- 1 | import(source1, source2) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/invalid-new-import.src.js: -------------------------------------------------------------------------------- 1 | new import(source) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/invalid-no-source.src.js: -------------------------------------------------------------------------------- 1 | import() 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/invalid-only-import.src.js: -------------------------------------------------------------------------------- 1 | const i = import 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/invalid-trailing-comma.src.js: -------------------------------------------------------------------------------- 1 | import(source,) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/invalid-wrap-import.src.js: -------------------------------------------------------------------------------- 1 | (import)(source) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/new-import.src.js: -------------------------------------------------------------------------------- 1 | new (import(source)) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/with-assign.src.js: -------------------------------------------------------------------------------- 1 | import(source = "foo.js") 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/dynamic-import/with-sequence.src.js: -------------------------------------------------------------------------------- 1 | import((dummy, source)) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/modules/export-star-as-ns-from-source/export-star-as-ns.src.js: -------------------------------------------------------------------------------- 1 | export * as ns from "source" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/modules/export-star-as-ns-from-source/export-star.src.js: -------------------------------------------------------------------------------- 1 | export * from "source" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/modules/import-meta/import-meta.src.js: -------------------------------------------------------------------------------- 1 | const url = import.meta.url 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/modules/import-meta/invalid-not-meta.src.js: -------------------------------------------------------------------------------- 1 | const url = import.mate.url 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/modules/import-meta/invalid-unicode-sequence.src.js: -------------------------------------------------------------------------------- 1 | const url = import.\u006d\u0065\u0074\u0061.url 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/nullish-coalescing/invalid-qq-with-logical-or-1.src.js: -------------------------------------------------------------------------------- 1 | a || b ?? c 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/nullish-coalescing/invalid-qq-with-logical-or-2.src.js: -------------------------------------------------------------------------------- 1 | a ?? b || c 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/nullish-coalescing/one-qq.src.js: -------------------------------------------------------------------------------- 1 | a ?? b 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/nullish-coalescing/qq-in-ternary.src.js: -------------------------------------------------------------------------------- 1 | a ?? b ? c : d 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/nullish-coalescing/qq-with-bitwise-or.src.js: -------------------------------------------------------------------------------- 1 | a | b ?? c | d 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/nullish-coalescing/qq-with-logical-or-1.src.js: -------------------------------------------------------------------------------- 1 | (a || b) ?? c 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/nullish-coalescing/qq-with-logical-or-2.src.js: -------------------------------------------------------------------------------- 1 | a || (b ?? c) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/nullish-coalescing/two-qq.src.js: -------------------------------------------------------------------------------- 1 | a ?? b ?? c 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/async-qdot-call.src.js: -------------------------------------------------------------------------------- 1 | async?.() 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/chaining1.src.js: -------------------------------------------------------------------------------- 1 | obj?.aaa.bbb 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/chaining2.src.js: -------------------------------------------------------------------------------- 1 | obj.aaa?.bbb 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/chaining3.src.js: -------------------------------------------------------------------------------- 1 | obj?.aaa?.bbb 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-assign.src.js: -------------------------------------------------------------------------------- 1 | obj?.foo = 0 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-async-qdot-call.src.js: -------------------------------------------------------------------------------- 1 | async?.() => {} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-binding-in-for-in.src.js: -------------------------------------------------------------------------------- 1 | for (obj?.foo in {}) ; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-chaining-assign.src.js: -------------------------------------------------------------------------------- 1 | obj?.foo.bar = 0 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-chaining-binding-in-for-in.src.js: -------------------------------------------------------------------------------- 1 | for (obj?.foo.bar in {}) ; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-chaining-increment.src.js: -------------------------------------------------------------------------------- 1 | obj?.foo.bar++ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-chaining-new.src.js: -------------------------------------------------------------------------------- 1 | new obj?.foo() 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-chaining-template.src.js: -------------------------------------------------------------------------------- 1 | obj?.tag`template` 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-increment.src.js: -------------------------------------------------------------------------------- 1 | obj?.foo++ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-new.src.js: -------------------------------------------------------------------------------- 1 | new obj?.() 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-qdot-num.src.js: -------------------------------------------------------------------------------- 1 | obj?.0 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/invalid-template.src.js: -------------------------------------------------------------------------------- 1 | tag?.`template` 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/non-optional.src.js: -------------------------------------------------------------------------------- 1 | (obj.aaa).bbb; 2 | (obj.aaa)() 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/parenthesized-chaining1.src.js: -------------------------------------------------------------------------------- 1 | (obj?.aaa).bbb 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/parenthesized-chaining2.src.js: -------------------------------------------------------------------------------- 1 | (obj.aaa)?.bbb 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/parenthesized-chaining3.src.js: -------------------------------------------------------------------------------- 1 | (obj?.aaa)?.bbb 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/qdot-call.src.js: -------------------------------------------------------------------------------- 1 | func?.() 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/11/optional-chaining/qdot.src.js: -------------------------------------------------------------------------------- 1 | obj?.foo 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/logical-assignment-operators/and.src.js: -------------------------------------------------------------------------------- 1 | a &&= b 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/logical-assignment-operators/coalesce.src.js: -------------------------------------------------------------------------------- 1 | a ??= b 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/logical-assignment-operators/mix.src.js: -------------------------------------------------------------------------------- 1 | a &&= b ||= c ??= d 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/logical-assignment-operators/or.src.js: -------------------------------------------------------------------------------- 1 | a ||= b 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/bigint.src.js: -------------------------------------------------------------------------------- 1 | 123_456n 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/binary.src.js: -------------------------------------------------------------------------------- 1 | 0b0101_1010 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/decimal.src.js: -------------------------------------------------------------------------------- 1 | 123_456 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/exponent.src.js: -------------------------------------------------------------------------------- 1 | 1e0123_345 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/fraction.src.js: -------------------------------------------------------------------------------- 1 | 1.012_345 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/hex.src.js: -------------------------------------------------------------------------------- 1 | 0xdead_beaf 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/invalid-at-first.src.js: -------------------------------------------------------------------------------- 1 | 0._123 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/invalid-at-last.src.js: -------------------------------------------------------------------------------- 1 | 123_ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/invalid-double-sep.src.js: -------------------------------------------------------------------------------- 1 | 123__456 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/invalid-legacy-octal.src.js: -------------------------------------------------------------------------------- 1 | 012_345 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/octal.src.js: -------------------------------------------------------------------------------- 1 | 0o755_666 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/12/numeric-separators/starts-with-dot.src.js: -------------------------------------------------------------------------------- 1 | .012_345 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/invalid-delete-private-optional.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #a; 3 | f() { delete this?.#a } 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/invalid-delete-private.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #a; 3 | f() { delete this.#a } 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/invalid-init-arguments.src.js: -------------------------------------------------------------------------------- 1 | function f() { 2 | class C { 3 | aaa = arguments 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/invalid-init-arrow-arguments.src.js: -------------------------------------------------------------------------------- 1 | function f() { 2 | class C { 3 | aaa = () => arguments 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/invalid-member-private-undef.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #a; 3 | f() { 4 | this.#b 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/invalid-member-super-private.src.js: -------------------------------------------------------------------------------- 1 | class C extends Base { 2 | #foo; 3 | f() { super.#foo } 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/invalid-private-constructor.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #constructor = () => {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/invalid-private-dupelicate.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #a; 3 | #a; 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/invalid-public-constructor.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | constructor = () => {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-computed.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | ["a"]; 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-contextual-keywords.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | get; 3 | set; 4 | static; 5 | async; 6 | } 7 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-init-arrow-super.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | toString = () => super.toString() 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-init-arrow.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | aaa = () => 0 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-member-private.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #a; 3 | f() { 4 | this.#a 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-private-asi.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #aaa 3 | #bbb = 0 4 | #ccc 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-private.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #aaa; 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-prototype.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | prototype = 0 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-public-asi.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | aaa 3 | bbb = 0 4 | ccc 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-public.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | // Semicolon is in the range of PropertyDefinition node. 3 | aaa; 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-star-asi.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | // Line breaks create fields by ASI. 3 | aaa 4 | *f(){} 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/class-fields/valid-star-no-asi.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | // This is `2 * f()` 3 | aaa = 2 4 | *f() 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/export-all-exported.src.js: -------------------------------------------------------------------------------- 1 | export * as " 👶 " from "mod"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/export-exported-with-escapes.src.js: -------------------------------------------------------------------------------- 1 | let foo; 2 | export { foo as " \uD83D\uDC76 " }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/export-exported.src.js: -------------------------------------------------------------------------------- 1 | let foo; 2 | export { foo as " 👶 " }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/export-from-exported.src.js: -------------------------------------------------------------------------------- 1 | export { foo as " 👶 " } from "mod"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/export-from-local-and-exported.src.js: -------------------------------------------------------------------------------- 1 | export { " 👶 " as " 👍 " } from "mod"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/export-from-local.src.js: -------------------------------------------------------------------------------- 1 | export { " 👶 " as foo } from "mod"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/export-from-shorthand.src.js: -------------------------------------------------------------------------------- 1 | export { " 👶 " } from "mod"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/import-imported-with-escapes.src.js: -------------------------------------------------------------------------------- 1 | import { " \uD83D\uDC76 " as foo } from "mod"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/import-imported.src.js: -------------------------------------------------------------------------------- 1 | import { " 👶 " as foo } from "mod"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/invalid-lone-surrogate-export-exported.src.js: -------------------------------------------------------------------------------- 1 | let foo; 2 | export { foo as " \uD83D " }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/arbitrary-module-namespace-names/invalid-lone-surrogate-import-imported.src.js: -------------------------------------------------------------------------------- 1 | import { " \uD83D " as foo } from "mod"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/modules/top-level-await/top-await.src.js: -------------------------------------------------------------------------------- 1 | await foo(); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/private-in/invalid-missing-private.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | fn(obj) { 3 | return #b in obj 4 | } 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/private-in/invalid-without-class.src.js: -------------------------------------------------------------------------------- 1 | function a () { 2 | return #a in obj 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/private-in/valid-private-in.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #a 3 | fn(obj) { 4 | return #a in obj 5 | } 6 | } 7 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/private-methods/invalid-conflict-names.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #a(){} 3 | #a(){} 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/private-methods/invalid-constructor.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | #constructor() {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/private-methods/valid-accessor.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | get #aaa() {} 3 | set #aaa(x) {} 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/regexp-match-indices/regexp-match-indices.src.js: -------------------------------------------------------------------------------- 1 | const re1 = /a+(z)?/d; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/static-class-features/invalid-private-field-constructor.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | static #constructor = () => {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/static-class-features/invalid-private-getter-constructor.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | static get #constructor() {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/static-class-features/invalid-private-method-constructor.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | static #constructor() {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/static-class-features/invalid-private-setter-constructor.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | static set #constructor(x) {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/static-class-features/invalid-public-field-constructor.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | static constructor = () => {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/static-class-features/invalid-public-field-prototype.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | static prototype = {} 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/static-class-features/valid-private-accessors.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | static get #aaa(){}; 3 | static set #aaa(x){}; 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/static-class-features/valid-private-fields.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | static #aaa; 3 | static #bbb = 0; 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/13/static-class-features/valid-public-fields.src.js: -------------------------------------------------------------------------------- 1 | class C { 2 | static aaa; 3 | static bbb = 0; 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/14/hashbang/invalid-comment-not-at-beginning.src.js: -------------------------------------------------------------------------------- 1 | 'use strict'; 2 | #!/usr/bin/env node 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/14/hashbang/valid-comment-at-beginning.src.js: -------------------------------------------------------------------------------- 1 | #!/usr/bin/env node 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/15/regexp-v-flag/invalid-regexp-class-set-expression.src.js: -------------------------------------------------------------------------------- 1 | const re1 = /[A&&&]/v; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/15/regexp-v-flag/invalid-regexp-string-negate.src.js: -------------------------------------------------------------------------------- 1 | const re1 = /[^\q{abc}]/v 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/15/regexp-v-flag/invalid-regexp-unicode-property.src.js: -------------------------------------------------------------------------------- 1 | const re1 = /\P{Basic_Emoji}/v 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/15/regexp-v-flag/invalid-regexp-v-flag.src.js: -------------------------------------------------------------------------------- 1 | const re1 = /[A&&B]/uv; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/duplicate-named-capturing-groups/invalid-duplicate-named-capturing-groups.src.js: -------------------------------------------------------------------------------- 1 | const re1 = /(?a)(?b)/; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/import-attributes/invalid-import-attributes-with-dupe-key.src.js: -------------------------------------------------------------------------------- 1 | import "./foo.json" with { type: "json", type: "html" }; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/import-attributes/invalid-import-attributes-with-dynamic-with-multiple-trailing-comma.src.js: -------------------------------------------------------------------------------- 1 | import("foo.json", , ); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/import-attributes/invalid-import-attributes-with-multiple-trailing-comma.src.js: -------------------------------------------------------------------------------- 1 | import "./foo.json" with { type: "json", , }; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/import-attributes/invalid-import-attributes-with-number-key.src.js: -------------------------------------------------------------------------------- 1 | import "./foo.json" with { 42: "s" }; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/import-attributes/invalid-import-attributes-with-number-value.src.js: -------------------------------------------------------------------------------- 1 | import "./foo.json" with { type: 42 }; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/regexp-modifiers/invalid-regexp-dupe-add-modifiers.src.js: -------------------------------------------------------------------------------- 1 | /(?ii:p)?/; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/regexp-modifiers/invalid-regexp-dupe-modifiers.src.js: -------------------------------------------------------------------------------- 1 | /(?i-i:p)?/; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/regexp-modifiers/invalid-regexp-dupe-remove-modifiers.src.js: -------------------------------------------------------------------------------- 1 | /(?-ii:p)?/; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/regexp-modifiers/invalid-regexp-empty-modifiers.src.js: -------------------------------------------------------------------------------- 1 | /(?-:p)?/; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/regexp-modifiers/invalid-regexp-unknown-modifiers.src.js: -------------------------------------------------------------------------------- 1 | /(?u:p)?/; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/16/regexp-modifiers/valid-regexp-modifiers.src.js: -------------------------------------------------------------------------------- 1 | /(?i-m:p)?/; 2 | /(?i-m:p)?/u; 3 | /(?ims:p)?/; 4 | /(?ims-:p)?/; 5 | /(?-ims:p)?/; 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/3/strict/func-strict.src.js: -------------------------------------------------------------------------------- 1 | function foo(){ 2 | "use strict"; 3 | var i = 00; 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/as-param-with-params.src.js: -------------------------------------------------------------------------------- 1 | foo((x, y) => {}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/as-param.src.js: -------------------------------------------------------------------------------- 1 | foo(() => {}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/basic.src.js: -------------------------------------------------------------------------------- 1 | () => "test"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/block-body-not-object.src.js: -------------------------------------------------------------------------------- 1 | e => { label: 42 }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/block-body.src.js: -------------------------------------------------------------------------------- 1 | e => { 42; }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-dup-params.src.js: -------------------------------------------------------------------------------- 1 | (a, a) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-missing-paren.src.js: -------------------------------------------------------------------------------- 1 | (a, (b)) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-not-arrow.src.js: -------------------------------------------------------------------------------- 1 | left = (aSize.width/2) - () -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-numeric-param-multi.src.js: -------------------------------------------------------------------------------- 1 | (10, 20) => 0; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-numeric-param.src.js: -------------------------------------------------------------------------------- 1 | (10) => 0; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-reverse-arrow.src.js: -------------------------------------------------------------------------------- 1 | () <= 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-default-param-eval.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; (eval = 10) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-dup-params.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; (a, a) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-eval-return.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; (eval) => 42 -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-eval.src.js: -------------------------------------------------------------------------------- 1 | (eval) => { "use strict"; 42 } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-octal.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; (a) => 00; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-param-arguments.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; (arguments, a) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-param-eval.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; (eval, a) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-param-names.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; (eval, a) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-param-no-paren-arguments.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; arguments => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-strict-param-no-paren-eval.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; eval => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-two-lines.src.js: -------------------------------------------------------------------------------- 1 | var a = () 2 | => 0; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/error-wrapped-param.src.js: -------------------------------------------------------------------------------- 1 | ((a)) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/expression.src.js: -------------------------------------------------------------------------------- 1 | (x => x); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/iife.src.js: -------------------------------------------------------------------------------- 1 | e => ({ property: 42 }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/multiple-params.src.js: -------------------------------------------------------------------------------- 1 | (a, b) => "test"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/no-auto-return.src.js: -------------------------------------------------------------------------------- 1 | (a, b) => { 42; }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/not-strict-arguments.src.js: -------------------------------------------------------------------------------- 1 | arguments => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/not-strict-eval-params.src.js: -------------------------------------------------------------------------------- 1 | (eval, a) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/not-strict-eval.src.js: -------------------------------------------------------------------------------- 1 | eval => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/not-strict-octal.src.js: -------------------------------------------------------------------------------- 1 | (a) => 00; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/return-arrow-function.src.js: -------------------------------------------------------------------------------- 1 | x => y => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/return-sequence.src.js: -------------------------------------------------------------------------------- 1 | (x) => ((y, z) => (x, y, z)); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/single-param-parens.src.js: -------------------------------------------------------------------------------- 1 | (e) => "test"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/single-param-return-identifier.src.js: -------------------------------------------------------------------------------- 1 | (sun) => earth; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/arrowFunctions/single-param.src.js: -------------------------------------------------------------------------------- 1 | e => "test"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/binaryLiterals/invalid.src.js: -------------------------------------------------------------------------------- 1 | 0b102; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/binaryLiterals/lowercase.src.js: -------------------------------------------------------------------------------- 1 | 0b101; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/binaryLiterals/uppercase.src.js: -------------------------------------------------------------------------------- 1 | 0B101; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/blockBindings/const.src.js: -------------------------------------------------------------------------------- 1 | const foo = bar; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/blockBindings/let-in-switchcase.src.js: -------------------------------------------------------------------------------- 1 | switch (answer) { case 42: let t = 42; break; } 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/blockBindings/let.src.js: -------------------------------------------------------------------------------- 1 | let foo = bar; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes-and-generators/classes-and-generators.src.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | *bar() { 3 | } 4 | } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes-and-generators/computed-generator.src.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | *[Symbol.iterator]() { 3 | } 4 | } 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes-and-generators/static-generators.src.js: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static *bar() { 3 | } 4 | } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-accessor-properties.src.js: -------------------------------------------------------------------------------- 1 | class A {get a(){} set b(c){};}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-computed-static-method.src.js: -------------------------------------------------------------------------------- 1 | class A {static [a](){};}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-expression.src.js: -------------------------------------------------------------------------------- 1 | (class {}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-method-named-prototype.src.js: -------------------------------------------------------------------------------- 1 | class A {prototype(){}}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-method-named-static.src.js: -------------------------------------------------------------------------------- 1 | class A {static(){};}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-one-method-super.src.js: -------------------------------------------------------------------------------- 1 | class A extends B { 2 | constructor(){ 3 | super(); 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-one-method.src.js: -------------------------------------------------------------------------------- 1 | class A { 2 | a(){} 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-static-method-named-prototype.src.js: -------------------------------------------------------------------------------- 1 | class A {static ["prototype"](){}}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-static-method-named-static.src.js: -------------------------------------------------------------------------------- 1 | class A {static static(){};}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-static-method.src.js: -------------------------------------------------------------------------------- 1 | class A {static a(){};}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-static-methods-and-accessor-properties.src.js: -------------------------------------------------------------------------------- 1 | class A {static a(){} static get a(){} static set a(b){} }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-two-computed-static-methods.src.js: -------------------------------------------------------------------------------- 1 | class A {static[a](){}; static[b](){}}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-two-methods-computed-constructor.src.js: -------------------------------------------------------------------------------- 1 | class A {"constructor"(){} ["constructor"](){}}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-two-methods-semi.src.js: -------------------------------------------------------------------------------- 1 | class A {a(){};b(){}}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-two-methods-three-semi.src.js: -------------------------------------------------------------------------------- 1 | class A {;a(){};b(){};}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-two-methods-two-semi.src.js: -------------------------------------------------------------------------------- 1 | class A {a(){};b(){};}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-two-methods.src.js: -------------------------------------------------------------------------------- 1 | class A {a(){}b(){}}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-two-static-methods-named-constructor.src.js: -------------------------------------------------------------------------------- 1 | class A {static constructor(){} static constructor(){}}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/class-with-constructor.src.js: -------------------------------------------------------------------------------- 1 | class A {constructor(){}}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/derived-class-assign-to-var.src.js: -------------------------------------------------------------------------------- 1 | var x = class A extends 0{}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/derived-class-expression.src.js: -------------------------------------------------------------------------------- 1 | (class extends 0{}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/empty-class-double-semi.src.js: -------------------------------------------------------------------------------- 1 | class A {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/empty-class-semi.src.js: -------------------------------------------------------------------------------- 1 | class A {;}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/empty-class.src.js: -------------------------------------------------------------------------------- 1 | class A {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/empty-literal-derived-class.src.js: -------------------------------------------------------------------------------- 1 | class A extends 0 {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/invalid-class-declaration.src.js: -------------------------------------------------------------------------------- 1 | class {}; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/invalid-class-setter-declaration.src.js: -------------------------------------------------------------------------------- 1 | class A { set foo() {}}; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/named-class-expression.src.js: -------------------------------------------------------------------------------- 1 | (class A {}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/classes/named-derived-class-expression.src.js: -------------------------------------------------------------------------------- 1 | (class A extends 0{}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/defaultParams-and-arrowFunctions/default-param-arrow.src.js: -------------------------------------------------------------------------------- 1 | (a, b=(c)=>{}) => {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/defaultParams-and-arrowFunctions/default-param.src.js: -------------------------------------------------------------------------------- 1 | (x=1) => x * x; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/defaultParams-and-arrowFunctions/not-strict-local-eval-multi.src.js: -------------------------------------------------------------------------------- 1 | (eval, a = 10) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/defaultParams-and-arrowFunctions/not-strict-local-eval.src.js: -------------------------------------------------------------------------------- 1 | (eval = 10) => 42; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/defaultParams/declaration.src.js: -------------------------------------------------------------------------------- 1 | function f(a = 1) {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/defaultParams/expression.src.js: -------------------------------------------------------------------------------- 1 | x = function(y = 1) {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/defaultParams/method.src.js: -------------------------------------------------------------------------------- 1 | x = { f: function(a=1) {} } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/defaultParams/not-all-params.src.js: -------------------------------------------------------------------------------- 1 | var foo = function(a, b = 42, c) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-arrowFunctions/arrow-param-array.src.js: -------------------------------------------------------------------------------- 1 | ([y]) => x; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-arrowFunctions/arrow-param-nested-array.src.js: -------------------------------------------------------------------------------- 1 | ([y, [x]]) => x; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-arrowFunctions/arrow-param-nested-object-named.src.js: -------------------------------------------------------------------------------- 1 | ({foo: y, a:{bar: x}}) => x; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-arrowFunctions/arrow-param-nested-object.src.js: -------------------------------------------------------------------------------- 1 | ({y, a:{x}}) => x; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-arrowFunctions/arrow-param-object.src.js: -------------------------------------------------------------------------------- 1 | ({y}) => x; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-arrowFunctions/param-defaults-array.src.js: -------------------------------------------------------------------------------- 1 | ([x = 10]) => x -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-arrowFunctions/param-defaults-object-nested.src.js: -------------------------------------------------------------------------------- 1 | ({x = 10, y: { z = 10 }}) => [x, z] -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-arrowFunctions/param-defaults-object.src.js: -------------------------------------------------------------------------------- 1 | ({x = 10}) => x -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-blockBindings/array-const-undefined.src.js: -------------------------------------------------------------------------------- 1 | const [a] = []; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-blockBindings/array-let-undefined.src.js: -------------------------------------------------------------------------------- 1 | let [a] = []; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-blockBindings/object-const-named.src.js: -------------------------------------------------------------------------------- 1 | const {a:b} = {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-blockBindings/object-const-undefined.src.js: -------------------------------------------------------------------------------- 1 | const {a} = {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-blockBindings/object-let-named.src.js: -------------------------------------------------------------------------------- 1 | let {a:b} = {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-blockBindings/object-let-undefined.src.js: -------------------------------------------------------------------------------- 1 | let {a} = {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-defaultParams/param-array.src.js: -------------------------------------------------------------------------------- 1 | function f([x] = [1]) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-defaultParams/param-object-short.src.js: -------------------------------------------------------------------------------- 1 | ({f({x} = {x: 10}) {}}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-defaultParams/param-object-wrapped.src.xjs: -------------------------------------------------------------------------------- 1 | ({f: function({x} = {x: 10}) {}}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-defaultParams/param-object.src.js: -------------------------------------------------------------------------------- 1 | f = function({x} = {x: 10}) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-forOf/loop.src.js: -------------------------------------------------------------------------------- 1 | for ([a] of foo); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/complex-destructured.src.js: -------------------------------------------------------------------------------- 1 | [{ a, b }, ...c] = d; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/destructured-array-literal.src.js: -------------------------------------------------------------------------------- 1 | [a, ...[b, c]] = d; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/error-complex-destructured-spread-first.src.js: -------------------------------------------------------------------------------- 1 | [...c, { a, b }] = d; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/invalid-not-final-array-empty.src.js: -------------------------------------------------------------------------------- 1 | [...a, ] = b; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/multi-destructured.src.js: -------------------------------------------------------------------------------- 1 | [a, ...b] = c; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/not-final-array.src.js: -------------------------------------------------------------------------------- 1 | [...a, b] = c; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/single-destructured.src.js: -------------------------------------------------------------------------------- 1 | [...a] = b; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/var-complex-destructured.src.js: -------------------------------------------------------------------------------- 1 | var [{ a, b }, ...c] = d; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/var-multi-destructured.src.js: -------------------------------------------------------------------------------- 1 | var [a, ...b] = c; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring-and-spread/var-single-destructured.src.js: -------------------------------------------------------------------------------- 1 | var [...a] = b; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/array-member.src.js: -------------------------------------------------------------------------------- 1 | [ok.v] = 20; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/array-to-array.src.js: -------------------------------------------------------------------------------- 1 | [a, b] = [b, a]; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/array-var-undefined.src.js: -------------------------------------------------------------------------------- 1 | var [a] = []; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-array-all.src.js: -------------------------------------------------------------------------------- 1 | var [x = 10, y = 5, z = 1] = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-array-longform-nested-multi.src.js: -------------------------------------------------------------------------------- 1 | var {x: x, y: y, z: { a: a = 10} } = b; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-array-multi.src.js: -------------------------------------------------------------------------------- 1 | var [x = 10, y, z] = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-array-nested-all.src.js: -------------------------------------------------------------------------------- 1 | var [x = 10, [ z = 10]] = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-array-nested-multi.src.js: -------------------------------------------------------------------------------- 1 | var [x = 10, [ z ]] = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-array.src.js: -------------------------------------------------------------------------------- 1 | [x=10] = x -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-object-all.src.js: -------------------------------------------------------------------------------- 1 | var {x = 10, y = 5, z = 1} = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-object-longform-all.src.js: -------------------------------------------------------------------------------- 1 | var {x: x = 10, y: y = 10, z: z = 10} = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-object-longform-multi.src.js: -------------------------------------------------------------------------------- 1 | var {x: x, y: y = 10, z: z} = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-object-longform.src.js: -------------------------------------------------------------------------------- 1 | var { x: x = 10 } = x; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-object-mixed-multi.src.js: -------------------------------------------------------------------------------- 1 | var {x, y: y = 10, z} = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-object-multi.src.js: -------------------------------------------------------------------------------- 1 | var {x = 10, y, z} = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-object-nested-all.src.js: -------------------------------------------------------------------------------- 1 | var {x = 10, y: { z = 10}} = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-object-nested-multi.src.js: -------------------------------------------------------------------------------- 1 | var {x = 10, y: { z }} = a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/defaults-object.src.js: -------------------------------------------------------------------------------- 1 | var {x = 10} = x -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/invalid-defaults-object-assign.src.js: -------------------------------------------------------------------------------- 1 | ({ Object=0, String=0 }) = {} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/named-param.src.js: -------------------------------------------------------------------------------- 1 | ({ responseText: text } = res); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/nested-array.src.js: -------------------------------------------------------------------------------- 1 | var [x, , [, z]] = [1,2,[3,4]]; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/nested-object.src.js: -------------------------------------------------------------------------------- 1 | var {x: y, z: { a: b } } = { x: "3", z: { a: "b" } }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/object-var-named.src.js: -------------------------------------------------------------------------------- 1 | var {a:b} = {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/object-var-undefined.src.js: -------------------------------------------------------------------------------- 1 | var {a} = {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/param-defaults-array.src.js: -------------------------------------------------------------------------------- 1 | function a([x = 10]) {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/param-defaults-object-nested.src.js: -------------------------------------------------------------------------------- 1 | function a({x = 10, y: { z = 10 }}) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/param-defaults-object.src.js: -------------------------------------------------------------------------------- 1 | function a({x = 10}) {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/params-array-wrapped.src.js: -------------------------------------------------------------------------------- 1 | (function x([ a, b ]){}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/params-array.src.js: -------------------------------------------------------------------------------- 1 | function x([ a, b ]){}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/params-multi-object.src.js: -------------------------------------------------------------------------------- 1 | function x(a, { b }){}; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/params-nested-array.src.js: -------------------------------------------------------------------------------- 1 | function a([x, , [, z]]) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/params-nested-object.src.js: -------------------------------------------------------------------------------- 1 | function a({x: y, z: { a: b } }) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/params-object-wrapped.src.js: -------------------------------------------------------------------------------- 1 | (function x({ a, b }){}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/params-object.src.js: -------------------------------------------------------------------------------- 1 | function x({ a, b }){}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/destructuring/sparse-array.src.js: -------------------------------------------------------------------------------- 1 | [a,,b] = array; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/edge-cases/var-let-declaration.src.js: -------------------------------------------------------------------------------- 1 | var let = a; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/edge-cases/var-let-object.src.js: -------------------------------------------------------------------------------- 1 | (let[a] = b); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/forOf-and-blockBindings/for-of-with-const-and-no-braces.src.js: -------------------------------------------------------------------------------- 1 | for (let x of foo) 2 | doSomething(); 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/forOf-and-blockBindings/for-of-with-let-and-no-braces.src.js: -------------------------------------------------------------------------------- 1 | for (let x of foo) 2 | doSomething(); 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/forOf/for-of-with-function-initializer.src.js: -------------------------------------------------------------------------------- 1 | for (var i = function() { return 10 in [] } of list) process(x); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/forOf/for-of-with-var-and-braces.src.js: -------------------------------------------------------------------------------- 1 | for (var x of foo) { 2 | doSomething(); 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/forOf/for-of-with-var-and-no-braces.src.js: -------------------------------------------------------------------------------- 1 | for (var x of foo) 2 | doSomething(); 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/generators/anonymous-generator.src.js: -------------------------------------------------------------------------------- 1 | (function* () { yield v }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/generators/double-yield.src.js: -------------------------------------------------------------------------------- 1 | (function* () { yield yield 10 }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/generators/empty-generator-declaration.src.js: -------------------------------------------------------------------------------- 1 | function* t() {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/generators/generator-declaration.src.js: -------------------------------------------------------------------------------- 1 | function* test () { yield *v }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/generators/yield-delegation.src.js: -------------------------------------------------------------------------------- 1 | (function* () { yield *v }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/generators/yield-without-value-in-call.src.js: -------------------------------------------------------------------------------- 1 | (function* () { fn(yield); }); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/generators/yield-without-value-no-semi.src.js: -------------------------------------------------------------------------------- 1 | (function* () { yield }); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/generators/yield-without-value.src.js: -------------------------------------------------------------------------------- 1 | (function* () { yield; }); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-blockBindings/export-const-number.src.js: -------------------------------------------------------------------------------- 1 | export const foo = 3; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-blockBindings/export-const-object.src.js: -------------------------------------------------------------------------------- 1 | export const foo = {} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-blockBindings/export-let-number.src.js: -------------------------------------------------------------------------------- 1 | export let foo = 2; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-blockBindings/export-let-object.src.js: -------------------------------------------------------------------------------- 1 | export let foo = {} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-blockBindings/export-let.src.js: -------------------------------------------------------------------------------- 1 | export let bar; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-classes/class-default-anonymous-extends.src.js: -------------------------------------------------------------------------------- 1 | export default class extends bar {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-classes/class-default-anonymous.src.js: -------------------------------------------------------------------------------- 1 | export default class {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-classes/class-default-extends.src.js: -------------------------------------------------------------------------------- 1 | export default class foo extends bar {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-classes/class-default.src.js: -------------------------------------------------------------------------------- 1 | export default class foo {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-classes/class-extends.src.js: -------------------------------------------------------------------------------- 1 | export class foo extends bar {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules-and-classes/class.src.js: -------------------------------------------------------------------------------- 1 | export class foo {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/error-delete.src.js: -------------------------------------------------------------------------------- 1 | import x from "x"; 2 | delete x; 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/error-function.src.js: -------------------------------------------------------------------------------- 1 | function x() { 2 | export default friends; 3 | } 4 | 5 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/error-strict.src.js: -------------------------------------------------------------------------------- 1 | import house from "house"; 2 | 3 | with (house) { 4 | console.log(roof); 5 | } 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-default-array.src.js: -------------------------------------------------------------------------------- 1 | export default []; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-default-expression.src.js: -------------------------------------------------------------------------------- 1 | export default (1 + 2); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-default-function.src.js: -------------------------------------------------------------------------------- 1 | export default function () {} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-default-named-function.src.js: -------------------------------------------------------------------------------- 1 | export default function foo() {} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-default-number.src.js: -------------------------------------------------------------------------------- 1 | export default 42; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-default-object.src.js: -------------------------------------------------------------------------------- 1 | export default { foo: 1 }; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-default-parenthesized-class.src.js: -------------------------------------------------------------------------------- 1 | export default (class {}); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-default-parenthesized-function.src.js: -------------------------------------------------------------------------------- 1 | export default (function(){}); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-default-value.src.js: -------------------------------------------------------------------------------- 1 | export default foo; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-from-batch.src.js: -------------------------------------------------------------------------------- 1 | export * from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-from-default.src.js: -------------------------------------------------------------------------------- 1 | export {default} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-from-named-as-default.src.js: -------------------------------------------------------------------------------- 1 | export {foo as default} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-from-named-as-specifier.src.js: -------------------------------------------------------------------------------- 1 | export {foo as bar} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-from-named-as-specifiers.src.js: -------------------------------------------------------------------------------- 1 | export {foo as default, bar} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-from-specifier.src.js: -------------------------------------------------------------------------------- 1 | export {foo} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-from-specifiers.src.js: -------------------------------------------------------------------------------- 1 | export {foo, bar} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-function.src.js: -------------------------------------------------------------------------------- 1 | export function foo () {} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-named-as-default.src.js: -------------------------------------------------------------------------------- 1 | const foo = "foo"; 2 | export {foo as default}; 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-named-as-specifier.src.js: -------------------------------------------------------------------------------- 1 | const foo = "foo"; 2 | export {foo as bar}; 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-named-as-specifiers.src.js: -------------------------------------------------------------------------------- 1 | const foo = "foo", 2 | bar = "bar"; 3 | export {foo as default, bar}; 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-named-empty.src.js: -------------------------------------------------------------------------------- 1 | export {}; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-named-specifier.src.js: -------------------------------------------------------------------------------- 1 | const foo = "foo"; 2 | export {foo}; 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-named-specifiers-comma.src.js: -------------------------------------------------------------------------------- 1 | const foo = "foo", 2 | bar = "bar"; 3 | export {foo, bar,}; 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-named-specifiers.src.js: -------------------------------------------------------------------------------- 1 | const foo = "foo", 2 | bar = "bar"; 3 | export {foo, bar}; 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-var-anonymous-function.src.js: -------------------------------------------------------------------------------- 1 | export var foo = function () {}; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-var-number.src.js: -------------------------------------------------------------------------------- 1 | export var foo = 1; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/export-var.src.js: -------------------------------------------------------------------------------- 1 | export var bar; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-default-and-named-specifiers.src.js: -------------------------------------------------------------------------------- 1 | import foo, {bar} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-default-and-namespace-specifiers.src.js: -------------------------------------------------------------------------------- 1 | import foo, * as bar from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-default-as.src.js: -------------------------------------------------------------------------------- 1 | import {default as foo} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-default.src.js: -------------------------------------------------------------------------------- 1 | import foo from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-jquery.src.js: -------------------------------------------------------------------------------- 1 | import $ from "jquery" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-module.src.js: -------------------------------------------------------------------------------- 1 | import "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-named-as-specifier-keyword.src.js: -------------------------------------------------------------------------------- 1 | import {var as baz} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-named-as-specifier.src.js: -------------------------------------------------------------------------------- 1 | import {bar as baz} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-named-as-specifiers.src.js: -------------------------------------------------------------------------------- 1 | import {bar as baz, xyz} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-named-empty.src.js: -------------------------------------------------------------------------------- 1 | import {} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-named-specifier.src.js: -------------------------------------------------------------------------------- 1 | import {bar} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-named-specifiers-comma.src.js: -------------------------------------------------------------------------------- 1 | import {bar, baz,} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-named-specifiers.src.js: -------------------------------------------------------------------------------- 1 | import {bar, baz} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-namespace-specifier.src.js: -------------------------------------------------------------------------------- 1 | import * as foo from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/import-null-as-nil.src.js: -------------------------------------------------------------------------------- 1 | import { null as nil } from "bar" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-await.src.js: -------------------------------------------------------------------------------- 1 | export var await; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-export-batch-missing-from-clause.src.js: -------------------------------------------------------------------------------- 1 | export * 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-export-batch-token.src.js: -------------------------------------------------------------------------------- 1 | export * + 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-export-default-equal.src.js: -------------------------------------------------------------------------------- 1 | export default = 42 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-export-default-token.src.js: -------------------------------------------------------------------------------- 1 | export {default} + 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-export-default.src.js: -------------------------------------------------------------------------------- 1 | export default from "foo" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-export-named-default.src.js: -------------------------------------------------------------------------------- 1 | export {default} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-export-named-extra-comma.src.js: -------------------------------------------------------------------------------- 1 | export {foo,baz,,} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-export-named-middle-comma.src.js: -------------------------------------------------------------------------------- 1 | export {foo,,baz} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-default-after-named-after-default.src.js: -------------------------------------------------------------------------------- 1 | import foo, {bar}, foo from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-default-after-named.src.js: -------------------------------------------------------------------------------- 1 | import {bar}, foo from "foo" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-default-missing-module-specifier.src.js: -------------------------------------------------------------------------------- 1 | import foo 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-default-module-specifier.src.js: -------------------------------------------------------------------------------- 1 | import foo from bar; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-default.src.js: -------------------------------------------------------------------------------- 1 | import default from "foo" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-missing-module-specifier.src.js: -------------------------------------------------------------------------------- 1 | import { foo, bar } 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-module-specifier.src.js: -------------------------------------------------------------------------------- 1 | export {foo} from bar 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-named-after-named.src.js: -------------------------------------------------------------------------------- 1 | import {bar}, {foo} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-named-after-namespace.src.js: -------------------------------------------------------------------------------- 1 | import * as foo, {bar} from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-named-as-keyword.src.js: -------------------------------------------------------------------------------- 1 | import {foo as var} from "foo" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-named-as-missing-from.src.js: -------------------------------------------------------------------------------- 1 | import {default as foo} 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-named-extra-comma.src.js: -------------------------------------------------------------------------------- 1 | import {foo,baz,,} from 'toast'; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-named-keyword.src.js: -------------------------------------------------------------------------------- 1 | import {var} from "foo" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-named-middle-comma.src.js: -------------------------------------------------------------------------------- 1 | import {foo,,baz} from 'toast'; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-namespace-after-named.src.js: -------------------------------------------------------------------------------- 1 | import {bar}, * as foo from "foo"; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/invalid-import-namespace-missing-as.src.js: -------------------------------------------------------------------------------- 1 | import * from "foo" 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/modules/valid-await.src.js: -------------------------------------------------------------------------------- 1 | obj.await; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/newTarget/invalid-new-target.src.js: -------------------------------------------------------------------------------- 1 | var x = new.target; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/newTarget/invalid-unknown-property.src.js: -------------------------------------------------------------------------------- 1 | var f = function() { new.unknown_property; } 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/newTarget/simple-new-target.src.js: -------------------------------------------------------------------------------- 1 | function f() { 2 | var x = new.target; 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/computed-addition-property.src.js: -------------------------------------------------------------------------------- 1 | var x = { 2 | [5 + 5]: foo 3 | }; 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/computed-and-identifier.src.js: -------------------------------------------------------------------------------- 1 | ({[x]: 10, y: 20}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/computed-getter-and-setter.src.js: -------------------------------------------------------------------------------- 1 | ({get [x]() {}, set [x](v) {}}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/computed-string-property.src.js: -------------------------------------------------------------------------------- 1 | var x = { 2 | ["hey"]: foo 3 | }; 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/computed-variable-property.src.js: -------------------------------------------------------------------------------- 1 | var x = { 2 | [bar]: foo 3 | }; 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/invalid-computed-variable-property.src.js: -------------------------------------------------------------------------------- 1 | var x = { 2 | [bar] 3 | }; 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/invalid-standalone-computed-variable-property.src.js: -------------------------------------------------------------------------------- 1 | ({[x]}); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/standalone-expression-with-addition.src.js: -------------------------------------------------------------------------------- 1 | ({["x" + "y"]: 10}); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/standalone-expression-with-method.src.js: -------------------------------------------------------------------------------- 1 | ({[x]: function() {}}); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralComputedProperties/standalone-expression.src.js: -------------------------------------------------------------------------------- 1 | ({[x]: 10}); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods-and-destructuring/array-destructuring.src.js: -------------------------------------------------------------------------------- 1 | ({ x([ a, b ]){} }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods-and-generators/generator-object-literal-method.src.js: -------------------------------------------------------------------------------- 1 | var x = { *test () { yield *v } }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods/invalid-method-no-braces.src.js: -------------------------------------------------------------------------------- 1 | x = { 2 | method() 42 3 | };; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods/method-property.src.js: -------------------------------------------------------------------------------- 1 | var x = { 2 | foo() { 3 | return bar; 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods/simple-method-named-get.src.js: -------------------------------------------------------------------------------- 1 | x = { 2 | get() { 3 | } 4 | };; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods/simple-method-named-set.src.js: -------------------------------------------------------------------------------- 1 | x = { 2 | set() { 3 | } 4 | };; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods/simple-method-with-argument.src.js: -------------------------------------------------------------------------------- 1 | x = { 2 | method(test) { 3 | 4 | } 5 | };; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods/simple-method-with-string-name.src.js: -------------------------------------------------------------------------------- 1 | x = { 2 | "method"() { 3 | } 4 | };; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods/simple-method.src.js: -------------------------------------------------------------------------------- 1 | x = { 2 | method() { 3 | } 4 | };; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandMethods/string-name-method-property.src.js: -------------------------------------------------------------------------------- 1 | var x = { 2 | "foo"() { 3 | return bar; 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/objectLiteralShorthandProperties/shorthand-properties-keyword.src.js: -------------------------------------------------------------------------------- 1 | var x = { 2 | this 3 | }; 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/octalLiterals/invalid.src.js: -------------------------------------------------------------------------------- 1 | 0o12z; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/octalLiterals/lowercase.src.js: -------------------------------------------------------------------------------- 1 | 0o717; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/octalLiterals/strict-uppercase.src.js: -------------------------------------------------------------------------------- 1 | "use strict"; 2 | 0O717; 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/octalLiterals/uppercase.src.js: -------------------------------------------------------------------------------- 1 | 0O717; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/regexUFlag/regex-u-extended-escape.src.js: -------------------------------------------------------------------------------- 1 | var x = /[\u{0000000000000061}-\u{7A}]/u; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/regexUFlag/regex-u-invalid-extended-escape.src.js: -------------------------------------------------------------------------------- 1 | var x = /\u{110000}/u; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/regexUFlag/regex-u-simple.src.js: -------------------------------------------------------------------------------- 1 | var foo = /foo/u; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/regexYFlag/regexp-y-simple.src.js: -------------------------------------------------------------------------------- 1 | var foo = /foo/y; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams-and-arrowFunctions/arrow-rest-multi.src.js: -------------------------------------------------------------------------------- 1 | (a, ...b) => {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams-and-arrowFunctions/arrow-rest.src.js: -------------------------------------------------------------------------------- 1 | (...a) => {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams-and-arrowFunctions/destructured-arrow-array.src.js: -------------------------------------------------------------------------------- 1 | ({ a }, ...b) => {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams-and-arrowFunctions/destructured-arrow-multi.src.js: -------------------------------------------------------------------------------- 1 | ({ a: b, c }, [d, e], ...f) => {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams-and-arrowFunctions/destructured-arrow-object.src.js: -------------------------------------------------------------------------------- 1 | ({ a: [a, b] }, ...c) => {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams-and-arrowFunctions/error-attempted-spread-param.src.js: -------------------------------------------------------------------------------- 1 | (a, ...[b]) => {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams/basic-rest.src.js: -------------------------------------------------------------------------------- 1 | function f(a, ...b) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams/error-no-default.src.js: -------------------------------------------------------------------------------- 1 | function f(a, ...b = 0); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams/error-not-last.src.js: -------------------------------------------------------------------------------- 1 | function f(a, ...b, c); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams/func-expression-multi.src.js: -------------------------------------------------------------------------------- 1 | var x = function(a, ...b) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams/func-expression.src.js: -------------------------------------------------------------------------------- 1 | var x = function (...a) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams/invalid-rest-param.src.js: -------------------------------------------------------------------------------- 1 | function x(...{ a }){}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/restParams/single-rest.src.js: -------------------------------------------------------------------------------- 1 | function f(...b) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/spread/error-invalid-if.src.js: -------------------------------------------------------------------------------- 1 | if (b,...a, ); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/spread/error-invalid-sequence.src.js: -------------------------------------------------------------------------------- 1 | (b, ...a); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/spread/multi-function-call.src.js: -------------------------------------------------------------------------------- 1 | foo(a, ...b); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/spread/not-final-param.src.js: -------------------------------------------------------------------------------- 1 | func(...a, b); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/spread/simple-function-call.src.js: -------------------------------------------------------------------------------- 1 | foo(...a); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/templateStrings-and-unicodeCodePointEscapes/template-strings-unicode-escape.src.js: -------------------------------------------------------------------------------- 1 | var ts = `\\u{000042}\\u0042\\x42\\u0\\102\\A`; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/templateStrings/deeply-nested.src.js: -------------------------------------------------------------------------------- 1 | raw`hello ${`nested ${`deeply` + {}} blah`}`; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/templateStrings/escape-characters.src.js: -------------------------------------------------------------------------------- 1 | var ts = `\\n\\r\\b\\v\\t\\f\\\n\\\r\n`; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/templateStrings/expressions.src.js: -------------------------------------------------------------------------------- 1 | var a = 5; 2 | var b = 'Fred'; 3 | 4 | `Hello ${b}. a + 5 = ${a + 5}`; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/templateStrings/octal-literal.src.js: -------------------------------------------------------------------------------- 1 | `\07`; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/templateStrings/simple-template-string.src.js: -------------------------------------------------------------------------------- 1 | `42`; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/templateStrings/single-dollar-sign.src.js: -------------------------------------------------------------------------------- 1 | var ts = `$`; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/templateStrings/tagged-no-placeholders.src.js: -------------------------------------------------------------------------------- 1 | foo`foo`; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/templateStrings/tagged-template-string.src.js: -------------------------------------------------------------------------------- 1 | function tag() { 2 | console.log(arguments); 3 | } 4 | tag`a is ${a} while b is ${b}.`; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/unicodeCodePointEscapes/basic-string-literal.src.js: -------------------------------------------------------------------------------- 1 | "\u{714E}\u{8336}"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/unicodeCodePointEscapes/complex-string-literal.src.js: -------------------------------------------------------------------------------- 1 | "\u{20BB7}\u{10FFFF}\u{1}"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/unicodeCodePointEscapes/identifier.src.js: -------------------------------------------------------------------------------- 1 | var \u{41}; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/unicodeCodePointEscapes/invalid-empty-escape.src.js: -------------------------------------------------------------------------------- 1 | "\u{}"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/6/unicodeCodePointEscapes/invalid-too-large-escape.src.js: -------------------------------------------------------------------------------- 1 | "\u{FFFFFF}"; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/7/error-strict-complex-params.src.js: -------------------------------------------------------------------------------- 1 | function foo(a = 1) { 2 | "use strict" 3 | } 4 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/7/exponential-plusplus.src.js: -------------------------------------------------------------------------------- 1 | 2 | a++ ** 2; 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/7/exponential-precedence.src.js: -------------------------------------------------------------------------------- 1 | 2 | 1 * 5 ** 2; 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/7/exponential-simple.src.js: -------------------------------------------------------------------------------- 1 | 5 ** 2; 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/7/invalid-exponential-unary.src.js: -------------------------------------------------------------------------------- 1 | 2 | -5 ** 2; 3 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/comma-dangle-arrow.src.js: -------------------------------------------------------------------------------- 1 | var foo = (a, b,) => {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/comma-dangle-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A { foo(a, b,) {} }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/comma-dangle-expression.src.js: -------------------------------------------------------------------------------- 1 | var foo = function(a, b,) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/comma-dangle-func.src.js: -------------------------------------------------------------------------------- 1 | foo(a, b,); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/comma-dangle-method.src.js: -------------------------------------------------------------------------------- 1 | var x = { foo(a, b,) {} }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/comma-dangle.src.js: -------------------------------------------------------------------------------- 1 | function foo(a, b,) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/destructuring-param.src.js: -------------------------------------------------------------------------------- 1 | function a([a, b, ...[ok]]) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/invalid-comma-dangle-method.src.js: -------------------------------------------------------------------------------- 1 | { foo(a, b,) {} }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/arrow-func-parens.src.js: -------------------------------------------------------------------------------- 1 | (a) => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/arrow-func.src.js: -------------------------------------------------------------------------------- 1 | a => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-and-no-async.src.js: -------------------------------------------------------------------------------- 1 | async 2 | function foo() {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-arrow-func-destructed-defaults.src.js: -------------------------------------------------------------------------------- 1 | async ({a: b = c}) => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-arrow-func-destructed.src.js: -------------------------------------------------------------------------------- 1 | async ({a = b}) => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-arrow-func-parens-multi.src.js: -------------------------------------------------------------------------------- 1 | async (a, b) => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-arrow-func-parens.src.js: -------------------------------------------------------------------------------- 1 | (async function foo(a) { await a }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-arrow-func.src.js: -------------------------------------------------------------------------------- 1 | async a => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-arrow-expression.src.js: -------------------------------------------------------------------------------- 1 | (async (a) => await a); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-arrow-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = async () => await b) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-class-method-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = class {async bar() { await b }}) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-destructured-default.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | ({a = await b} = obj) 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-expression-class-method.src.js: -------------------------------------------------------------------------------- 1 | (class {async foo(a) { await a }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-function-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = async function foo() { await b }) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-identifier-math.src.js: -------------------------------------------------------------------------------- 1 | async function foo() { await + 1 }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-inside-parens.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | (a = await b) 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-math.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a, b) { await a + await b }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-named-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async await() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-object-method-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = {async bar() { await b }}) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async foo(a) { await a }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-await.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a, b) { await a }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-class-method-named-await.src.js: -------------------------------------------------------------------------------- 1 | class A {async await() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {async foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-destructured-assignment.src.js: -------------------------------------------------------------------------------- 1 | async ({a: b = c}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-func.src.js: -------------------------------------------------------------------------------- 1 | async (await); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-named-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {async() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-named-generator-method.src.js: -------------------------------------------------------------------------------- 1 | class A {*async() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-named-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-named-static-generator-method.src.js: -------------------------------------------------------------------------------- 1 | class A {static* async() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-object-method-keyword.src.js: -------------------------------------------------------------------------------- 1 | ({async delete() { }}); 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-static-class-method-named-await.src.js: -------------------------------------------------------------------------------- 1 | class A {static async await() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-static-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {static async foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-then-arrow.src.js: -------------------------------------------------------------------------------- 1 | async 2 | a => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-wrapped-class-await.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | class A {async await() { }} 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async-yield.src.js: -------------------------------------------------------------------------------- 1 | async yield => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/async.src.js: -------------------------------------------------------------------------------- 1 | async function foo() {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/await-identifier-math.src.js: -------------------------------------------------------------------------------- 1 | function foo() { await + 1 }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/export-async.src.js: -------------------------------------------------------------------------------- 1 | export async function foo() { }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/export-default-async-expression.src.js: -------------------------------------------------------------------------------- 1 | export default (async function() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/export-default-async.src.js: -------------------------------------------------------------------------------- 1 | export default async function() { }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/generator-async-func.src.js: -------------------------------------------------------------------------------- 1 | function* wrap() { 2 | async(a = yield b) 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-await-identifier.src.js: -------------------------------------------------------------------------------- 1 | async function foo() { return {await} }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-await-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(await) { }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-class-broken.src.js: -------------------------------------------------------------------------------- 1 | class A {async 2 | foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-class-generator.src.js: -------------------------------------------------------------------------------- 1 | class A {async* foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-class-getter.src.js: -------------------------------------------------------------------------------- 1 | class A {async get foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-class-method-await.src.js: -------------------------------------------------------------------------------- 1 | class A {async foo() { return {await} }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-class-method-empty-await.src.js: -------------------------------------------------------------------------------- 1 | (class {async foo() { await }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-class-setter.src.js: -------------------------------------------------------------------------------- 1 | class A {async set foo(value) { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-constructor.src.js: -------------------------------------------------------------------------------- 1 | class A {async constructor() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-expression-generators.src.js: -------------------------------------------------------------------------------- 1 | (async function* foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-expression-plain-await.src.js: -------------------------------------------------------------------------------- 1 | (async function foo() { await }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-expression.src.js: -------------------------------------------------------------------------------- 1 | (async 2 | function foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-generator-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function* foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-generator-method.src.js: -------------------------------------------------------------------------------- 1 | ({async* foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-generator.src.js: -------------------------------------------------------------------------------- 1 | (class {async foo(a = await b) {}}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-getter-method-with-params.src.js: -------------------------------------------------------------------------------- 1 | ({async set foo(value) { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-getter-method.src.js: -------------------------------------------------------------------------------- 1 | ({async get foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-method-await-identifier.src.js: -------------------------------------------------------------------------------- 1 | class A {async foo() { var await }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-method-await-param.src.js: -------------------------------------------------------------------------------- 1 | class A {async foo(await) { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-method-empty-await.src.js: -------------------------------------------------------------------------------- 1 | ({async foo() { await }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-method-expression.src.js: -------------------------------------------------------------------------------- 1 | ({async foo() { var await }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-method-return-await.src.js: -------------------------------------------------------------------------------- 1 | ({async foo() { return {await} }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-object.src.js: -------------------------------------------------------------------------------- 1 | async ({a = b}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-plain-await.src.js: -------------------------------------------------------------------------------- 1 | async function foo() { await }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-prop.src.js: -------------------------------------------------------------------------------- 1 | ({async foo: 1}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-async-static-method-broken.src.js: -------------------------------------------------------------------------------- 1 | class A {static async 2 | foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-arrow-param-parens.src.js: -------------------------------------------------------------------------------- 1 | async (await) => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-arrow-param.src.js: -------------------------------------------------------------------------------- 1 | async await => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-default.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | (a = await b) => a 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-destructured-default.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | ({a = await b} = obj) => a 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-destructured-param.src.js: -------------------------------------------------------------------------------- 1 | async ({await}) => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-func-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function await() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-identifier-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function foo() { return {await} }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-identifier.src.js: -------------------------------------------------------------------------------- 1 | async function foo() { return {await} }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-named-destructured-array-param.src.js: -------------------------------------------------------------------------------- 1 | async ([await]) => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-named-destructured-param.src.js: -------------------------------------------------------------------------------- 1 | async ({a: await}) => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-param-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function foo(await) { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(await) { }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-await-top-level.src.js: -------------------------------------------------------------------------------- 1 | await a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-broken-async-arrow-after-parens.src.js: -------------------------------------------------------------------------------- 1 | async () 2 | => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-broken-async-arrow-before-parens.src.js: -------------------------------------------------------------------------------- 1 | async 2 | () => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-broken-async-arrow.src.js: -------------------------------------------------------------------------------- 1 | async a 2 | => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-broken-async-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async 2 | foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-broken-line-async.src.js: -------------------------------------------------------------------------------- 1 | (async 2 | function foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-class-await-extend.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = class extends (await b) {}) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-nested-async.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | async function await() { } 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-plain-await-arrow.src.js: -------------------------------------------------------------------------------- 1 | async () => await; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-plain-await.src.js: -------------------------------------------------------------------------------- 1 | await; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-static-async-generator.src.js: -------------------------------------------------------------------------------- 1 | class A {static async* foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-static-async-getter.src.js: -------------------------------------------------------------------------------- 1 | class A {static async get foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-static-async-setter.src.js: -------------------------------------------------------------------------------- 1 | class A {static async set foo(value) { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/invalid-yield-default.src.js: -------------------------------------------------------------------------------- 1 | function* wrap() { 2 | async(a = yield b) => a 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/nested-async-await-method.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | ({async await() { }}) 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/no-async-expression.src.js: -------------------------------------------------------------------------------- 1 | (function foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/no-async.src.js: -------------------------------------------------------------------------------- 1 | function foo() {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/object-method.src.js: -------------------------------------------------------------------------------- 1 | ({foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/plain-await.src.js: -------------------------------------------------------------------------------- 1 | await; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/modules/static-async-named-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {static async() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/arrow-func-parens.src.js: -------------------------------------------------------------------------------- 1 | (a) => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/arrow-func.src.js: -------------------------------------------------------------------------------- 1 | a => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-and-no-async.src.js: -------------------------------------------------------------------------------- 1 | async 2 | function foo() {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-arrow-func-destructed-defaults.src.js: -------------------------------------------------------------------------------- 1 | async ({a: b = c}) => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-arrow-func-destructed.src.js: -------------------------------------------------------------------------------- 1 | async ({a = b}) => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-arrow-func-parens-multi.src.js: -------------------------------------------------------------------------------- 1 | async (a, b) => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-arrow-func-parens.src.js: -------------------------------------------------------------------------------- 1 | (async function foo(a) { await a }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-arrow-func.src.js: -------------------------------------------------------------------------------- 1 | async a => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-as-property-name.src.js: -------------------------------------------------------------------------------- 1 | ({async: 1}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-arrow-expression.src.js: -------------------------------------------------------------------------------- 1 | (async (a) => await a); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-arrow-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = async () => await b) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-class-method-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = class {async bar() { await b }}) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-destructured-default.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | ({a = await b} = obj) 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-expression-class-method.src.js: -------------------------------------------------------------------------------- 1 | (class {async foo(a) { await a }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-function-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = async function foo() { await b }) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-identifier-math.src.js: -------------------------------------------------------------------------------- 1 | async function foo() { await + 1 }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-inside-parens.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | (a = await b) 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-math.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a, b) { await a + await b }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-named-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async await() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-object-method-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = {async bar() { await b }}) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async foo(a) { await a }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-await.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a, b) { await a }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-class-method-named-await.src.js: -------------------------------------------------------------------------------- 1 | class A {async await() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {async foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-destructured-assignment.src.js: -------------------------------------------------------------------------------- 1 | async ({a: b = c}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-func.src.js: -------------------------------------------------------------------------------- 1 | async (await); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-named-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {async() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-named-generator-method.src.js: -------------------------------------------------------------------------------- 1 | class A {*async() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-named-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-named-static-generator-method.src.js: -------------------------------------------------------------------------------- 1 | class A {static* async() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-named-variable.src.js: -------------------------------------------------------------------------------- 1 | const async = 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-object-method-and-property.src.js: -------------------------------------------------------------------------------- 1 | ({async foo() { }, bar: 1}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-shorthand-property-1.src.js: -------------------------------------------------------------------------------- 1 | ({async}) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-shorthand-property-2.src.js: -------------------------------------------------------------------------------- 1 | ({async, foo}) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-shorthand-property-3.src.js: -------------------------------------------------------------------------------- 1 | ({async = 0} = {}) 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-static-class-method-named-await.src.js: -------------------------------------------------------------------------------- 1 | class A {static async await() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-static-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {static async foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-then-arrow.src.js: -------------------------------------------------------------------------------- 1 | async 2 | a => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-wrapped-class-await.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | class A {async await() { }} 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async-yield.src.js: -------------------------------------------------------------------------------- 1 | async yield => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/async.src.js: -------------------------------------------------------------------------------- 1 | async function foo() {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/await-identifier-math.src.js: -------------------------------------------------------------------------------- 1 | function foo() { await + 1 }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/export-async.src.js: -------------------------------------------------------------------------------- 1 | export async function foo() { }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/export-default-async-expression.src.js: -------------------------------------------------------------------------------- 1 | export default (async function() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/export-default-async.src.js: -------------------------------------------------------------------------------- 1 | export default async function() { }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/generator-async-func.src.js: -------------------------------------------------------------------------------- 1 | function* wrap() { 2 | async(a = yield b) 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-await-identifier.src.js: -------------------------------------------------------------------------------- 1 | async function foo() { return {await} }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-await-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(await) { }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-class-broken.src.js: -------------------------------------------------------------------------------- 1 | class A {async 2 | foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-class-generator.src.js: -------------------------------------------------------------------------------- 1 | class A {async* foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-class-getter.src.js: -------------------------------------------------------------------------------- 1 | class A {async get foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-class-method-await.src.js: -------------------------------------------------------------------------------- 1 | class A {async foo() { return {await} }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-class-method-empty-await.src.js: -------------------------------------------------------------------------------- 1 | (class {async foo() { await }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-class-setter.src.js: -------------------------------------------------------------------------------- 1 | class A {async set foo(value) { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-constructor.src.js: -------------------------------------------------------------------------------- 1 | class A {async constructor() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-expression-generators.src.js: -------------------------------------------------------------------------------- 1 | (async function* foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-expression-plain-await.src.js: -------------------------------------------------------------------------------- 1 | (async function foo() { await }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-expression.src.js: -------------------------------------------------------------------------------- 1 | (async 2 | function foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-generator-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function* foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-generator-method.src.js: -------------------------------------------------------------------------------- 1 | ({async* foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-generator.src.js: -------------------------------------------------------------------------------- 1 | (class {async foo(a = await b) {}}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-getter-method-with-params.src.js: -------------------------------------------------------------------------------- 1 | ({async set foo(value) { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-getter-method.src.js: -------------------------------------------------------------------------------- 1 | ({async get foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-method-await-identifier.src.js: -------------------------------------------------------------------------------- 1 | class A {async foo() { var await }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-method-await-param.src.js: -------------------------------------------------------------------------------- 1 | class A {async foo(await) { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-method-empty-await.src.js: -------------------------------------------------------------------------------- 1 | ({async foo() { await }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-method-expression.src.js: -------------------------------------------------------------------------------- 1 | ({async foo() { var await }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-method-return-await.src.js: -------------------------------------------------------------------------------- 1 | ({async foo() { return {await} }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-object.src.js: -------------------------------------------------------------------------------- 1 | async ({a = b}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-plain-await.src.js: -------------------------------------------------------------------------------- 1 | async function foo() { await }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-prop.src.js: -------------------------------------------------------------------------------- 1 | ({async foo: 1}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-async-static-method-broken.src.js: -------------------------------------------------------------------------------- 1 | class A {static async 2 | foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-arrow-param-parens.src.js: -------------------------------------------------------------------------------- 1 | async (await) => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-arrow-param.src.js: -------------------------------------------------------------------------------- 1 | async await => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-default.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | (a = await b) => a 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-destructured-default.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | ({a = await b} = obj) => a 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-destructured-param.src.js: -------------------------------------------------------------------------------- 1 | async ({await}) => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-func-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function await() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-identifier-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function foo() { return {await} }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-identifier.src.js: -------------------------------------------------------------------------------- 1 | async function foo() { return {await} }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-named-destructured-array-param.src.js: -------------------------------------------------------------------------------- 1 | async ([await]) => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-named-destructured-param.src.js: -------------------------------------------------------------------------------- 1 | async ({a: await}) => 1; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-param-expression.src.js: -------------------------------------------------------------------------------- 1 | (async function foo(await) { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-param.src.js: -------------------------------------------------------------------------------- 1 | async function foo(await) { }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-await-top-level.src.js: -------------------------------------------------------------------------------- 1 | await a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-broken-async-arrow-after-parens.src.js: -------------------------------------------------------------------------------- 1 | async () 2 | => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-broken-async-arrow-before-parens.src.js: -------------------------------------------------------------------------------- 1 | async 2 | () => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-broken-async-arrow.src.js: -------------------------------------------------------------------------------- 1 | async a 2 | => a; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-broken-async-object-method.src.js: -------------------------------------------------------------------------------- 1 | ({async 2 | foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-broken-line-async.src.js: -------------------------------------------------------------------------------- 1 | (async 2 | function foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-class-await-extend.src.js: -------------------------------------------------------------------------------- 1 | async function foo(a = class extends (await b) {}) {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-nested-async.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | async function await() { } 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-plain-await-arrow.src.js: -------------------------------------------------------------------------------- 1 | async () => await; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-plain-await.src.js: -------------------------------------------------------------------------------- 1 | await; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-static-async-generator.src.js: -------------------------------------------------------------------------------- 1 | class A {static async* foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-static-async-getter.src.js: -------------------------------------------------------------------------------- 1 | class A {static async get foo() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-static-async-setter.src.js: -------------------------------------------------------------------------------- 1 | class A {static async set foo(value) { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/invalid-yield-default.src.js: -------------------------------------------------------------------------------- 1 | function* wrap() { 2 | async(a = yield b) => a 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/nested-async-await-method.src.js: -------------------------------------------------------------------------------- 1 | async function wrap() { 2 | ({async await() { }}) 3 | }; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/no-async-expression.src.js: -------------------------------------------------------------------------------- 1 | (function foo() { }); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/no-async.src.js: -------------------------------------------------------------------------------- 1 | function foo() {}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/object-method.src.js: -------------------------------------------------------------------------------- 1 | ({foo() { }}); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/plain-await.src.js: -------------------------------------------------------------------------------- 1 | await; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/not-strict/static-async-named-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A {static async() { }}; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/8/var-destructured-array-literal.src.js: -------------------------------------------------------------------------------- 1 | var [a, ...[b, c]] = d; -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-await-in-nested-function-1.src.js: -------------------------------------------------------------------------------- 1 | async function* f() { () => await a; } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-await-in-nested-function-2.src.js: -------------------------------------------------------------------------------- 1 | f = async function*() { () => await a; } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-await-in-nested-function-3.src.js: -------------------------------------------------------------------------------- 1 | obj = { async* f() { () => await a; } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-await-in-nested-function-4.src.js: -------------------------------------------------------------------------------- 1 | class A { async* f() { () => await a; } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-linebreak-after-async-1.src.js: -------------------------------------------------------------------------------- 1 | obj = { async 2 | * f() {} } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-linebreak-after-async-2.src.js: -------------------------------------------------------------------------------- 1 | class A { async 2 | * f() {} } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-star-before-async-1.src.js: -------------------------------------------------------------------------------- 1 | obj = { *async f() {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-star-before-async-2.src.js: -------------------------------------------------------------------------------- 1 | class A { *async f() {} } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-stars-around-async-1.src.js: -------------------------------------------------------------------------------- 1 | obj = { *async* f() {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-stars-around-async-2.src.js: -------------------------------------------------------------------------------- 1 | class A { *async* f() {} } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-yield-in-nested-function-1.src.js: -------------------------------------------------------------------------------- 1 | async function* f() { () => yield a; } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-yield-in-nested-function-2.src.js: -------------------------------------------------------------------------------- 1 | f = async function*() { () => yield a; } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-yield-in-nested-function-3.src.js: -------------------------------------------------------------------------------- 1 | obj = { async* f() { () => yield a; } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/invalid-yield-in-nested-function-4.src.js: -------------------------------------------------------------------------------- 1 | class A { async* f() { () => yield a; } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/valid-class-method.src.js: -------------------------------------------------------------------------------- 1 | class A { async* f() { await a; yield b; } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/valid-class-static-method.src.js: -------------------------------------------------------------------------------- 1 | class A { static async* f() { await a; yield b; } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/valid-function-declaration.src.js: -------------------------------------------------------------------------------- 1 | async function* f() { await a; yield b; } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/valid-function-expression.src.js: -------------------------------------------------------------------------------- 1 | f = async function*() { await a; yield b; } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/async-generator/valid-object-method.src.js: -------------------------------------------------------------------------------- 1 | obj = { async* f() { await a; yield b; } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/invalid-in-arrow-function.src.js: -------------------------------------------------------------------------------- 1 | f = () => { for await (x of xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/invalid-in-function-declaration.src.js: -------------------------------------------------------------------------------- 1 | function f() { for await (x of xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/invalid-in-function-expression.src.js: -------------------------------------------------------------------------------- 1 | f = function() { for await (x of xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/invalid-in-nested-function.src.js: -------------------------------------------------------------------------------- 1 | async function f() { () => { for await (x of xs); } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/invalid-on-top-level.src.js: -------------------------------------------------------------------------------- 1 | for await (x of xs); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/invalid-with-for-1.src.js: -------------------------------------------------------------------------------- 1 | async function f() { for await (;;); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/invalid-with-for-2.src.js: -------------------------------------------------------------------------------- 1 | async function f() { for await (x;;); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/invalid-with-for-3.src.js: -------------------------------------------------------------------------------- 1 | async function f() { for await (let x = 0;;); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/invalid-with-for-in.src.js: -------------------------------------------------------------------------------- 1 | async function f() { for await (x in xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-in-with-reference.src.js: -------------------------------------------------------------------------------- 1 | async function f() { for await (x of xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-linebreak-before-await.src.js: -------------------------------------------------------------------------------- 1 | async function f() { for 2 | await (x of xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-no-await-1.src.js: -------------------------------------------------------------------------------- 1 | for (x of xs); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-no-await-2.src.js: -------------------------------------------------------------------------------- 1 | for (x in xs); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-with-async-arrow-function.src.js: -------------------------------------------------------------------------------- 1 | f = async() => { for await (x of xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-with-async-function-expression.src.js: -------------------------------------------------------------------------------- 1 | f = async function() { for await (x of xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-with-async-method-1.src.js: -------------------------------------------------------------------------------- 1 | obj = { async f() { for await (x of xs); } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-with-async-method-2.src.js: -------------------------------------------------------------------------------- 1 | class A { async f() { for await (x of xs); } } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-with-let.src.js: -------------------------------------------------------------------------------- 1 | async function f() { for await (let x of xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/for-await-of/valid-with-var.src.js: -------------------------------------------------------------------------------- 1 | async function f() { for await (var x of xs); } -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/malformed-template-literal/malformed-template-literal-escape.src.js: -------------------------------------------------------------------------------- 1 | foo`\unicode` 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-lookbehind-assertion/invalid-group.src.js: -------------------------------------------------------------------------------- 1 | /(?<)/ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-lookbehind-assertion/invalid-unterminated-group.src.js: -------------------------------------------------------------------------------- 1 | /(?<=a/ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-lookbehind-assertion/valid-negative-1.src.js: -------------------------------------------------------------------------------- 1 | /(?a)\k/ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-named-group/invalid-backreference-2.src.js: -------------------------------------------------------------------------------- 1 | /(?<\u0041\u0042>a)\ka)\ka)\2/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-named-group/invalid-group-name-1.src.js: -------------------------------------------------------------------------------- 1 | /(?a)/ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-named-group/invalid-group-name-3.src.js: -------------------------------------------------------------------------------- 1 | /(?<\u0020>a)/ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-named-group/valid-backreference-1.src.js: -------------------------------------------------------------------------------- 1 | /(?<\u0041\u0042>a)\k/ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-named-group/valid-backreference-2.src.js: -------------------------------------------------------------------------------- 1 | /(?a)\1/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-named-group/valid-backreference-3.src.js: -------------------------------------------------------------------------------- 1 | /(?a)\k<\u0041\u0042>/ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-named-group/valid-group.src.js: -------------------------------------------------------------------------------- 1 | /(?
a)/ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-named-group/valid-unicode-name-1.src.js: -------------------------------------------------------------------------------- 1 | /(?<\u0041\u0042>a)/ 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-named-group/valid-unicode-name-2.src.js: -------------------------------------------------------------------------------- 1 | /(?<\u{41}>a)/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-s-flag/s-flag.src.js: -------------------------------------------------------------------------------- 1 | /./s 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-unicode-property-escape/invalid-property-1.src.js: -------------------------------------------------------------------------------- 1 | /\p{abc}/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-unicode-property-escape/invalid-property-2.src.js: -------------------------------------------------------------------------------- 1 | /\p{ASCII/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-unicode-property-escape/invalid-property-3.src.js: -------------------------------------------------------------------------------- 1 | /\p{/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-unicode-property-escape/invalid-property-4.src.js: -------------------------------------------------------------------------------- 1 | /\p/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-unicode-property-escape/valid-negative-1.src.js: -------------------------------------------------------------------------------- 1 | /\P{ASCII}/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-unicode-property-escape/valid-negative-2.src.js: -------------------------------------------------------------------------------- 1 | /\P{Script=Hiragana}/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-unicode-property-escape/valid-positive-1.src.js: -------------------------------------------------------------------------------- 1 | /\p{ASCII}/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/regexp-unicode-property-escape/valid-positive-2.src.js: -------------------------------------------------------------------------------- 1 | /\p{Script=Hiragana}/u 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-array-literal-1.src.js: -------------------------------------------------------------------------------- 1 | let {...[a,b]} = foo -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-array-literal-2.src.js: -------------------------------------------------------------------------------- 1 | ({...[a,b]} = foo) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-array-literal-3.src.js: -------------------------------------------------------------------------------- 1 | ({...[a,b]}) => {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-duo-1.src.js: -------------------------------------------------------------------------------- 1 | let {...obj1,...obj2} = foo -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-duo-2.src.js: -------------------------------------------------------------------------------- 1 | ({...obj1,...obj2} = foo) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-middle-1.src.js: -------------------------------------------------------------------------------- 1 | let {...obj1,a} = foo -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-middle-2.src.js: -------------------------------------------------------------------------------- 1 | ({...obj1,a} = foo) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-object-literal-1.src.js: -------------------------------------------------------------------------------- 1 | let {...{a,b}} = foo -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-object-literal-2.src.js: -------------------------------------------------------------------------------- 1 | ({...{a,b}} = foo) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-object-literal-3.src.js: -------------------------------------------------------------------------------- 1 | ({...{a,b}}) => {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-parenthesized-1.src.js: -------------------------------------------------------------------------------- 1 | let {...(obj)} = foo -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-parenthesized-2.src.js: -------------------------------------------------------------------------------- 1 | let {...(a,b)} = foo -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-parenthesized-4.src.js: -------------------------------------------------------------------------------- 1 | ({...(a,b)} = foo) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-parenthesized-5.src.js: -------------------------------------------------------------------------------- 1 | ({...(obj)}) => {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-parenthesized-6.src.js: -------------------------------------------------------------------------------- 1 | ({...(a,b)}) => {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-trailing-comma-1.src.js: -------------------------------------------------------------------------------- 1 | let {...obj1,} = foo -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/invalid-trailing-comma-2.src.js: -------------------------------------------------------------------------------- 1 | ({...obj1,} = foo) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-assignment-1.src.js: -------------------------------------------------------------------------------- 1 | ({...obj} = foo) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-assignment-2.src.js: -------------------------------------------------------------------------------- 1 | ({a,...obj} = foo) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-assignment-3.src.js: -------------------------------------------------------------------------------- 1 | ({a:b,...obj} = foo) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-declaration-1.src.js: -------------------------------------------------------------------------------- 1 | let {...obj} = foo 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-declaration-2.src.js: -------------------------------------------------------------------------------- 1 | let {a, ...obj} = foo 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-declaration-3.src.js: -------------------------------------------------------------------------------- 1 | let {a:b, ...obj} = foo 2 | -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-parameter-1.src.js: -------------------------------------------------------------------------------- 1 | ({...obj}) => {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-parameter-2.src.js: -------------------------------------------------------------------------------- 1 | ({...obj} = {}) => {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-parameter-3.src.js: -------------------------------------------------------------------------------- 1 | ({a,...obj}) => {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-parameter-4.src.js: -------------------------------------------------------------------------------- 1 | ({a:b,...obj}) => {} -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/rest-property/valid-parenthesized.src.js: -------------------------------------------------------------------------------- 1 | ({...(obj)} = foo); -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/spread-property/invalid-dots.src.js: -------------------------------------------------------------------------------- 1 | ({...}) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/spread-property/valid-1.src.js: -------------------------------------------------------------------------------- 1 | ({...obj}) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/spread-property/valid-2.src.js: -------------------------------------------------------------------------------- 1 | ({...obj1,...obj2}) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/spread-property/valid-a-b-c-parenthesized.src.js: -------------------------------------------------------------------------------- 1 | ({...(a,b),c}) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/spread-property/valid-a-b-c.src.js: -------------------------------------------------------------------------------- 1 | ({...a,b,c}) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/spread-property/valid-complex.src.js: -------------------------------------------------------------------------------- 1 | ({a,...obj1,b:1,...obj2,c:2}) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/spread-property/valid-parenthesized-1.src.js: -------------------------------------------------------------------------------- 1 | ({...(obj)}) -------------------------------------------------------------------------------- /packages/espree/tests/fixtures/ecma-version/9/spread-property/valid-trailing-comma.src.js: -------------------------------------------------------------------------------- 1 | ({...obj1,}) --------------------------------------------------------------------------------