├── .editorconfig ├── .gitattributes ├── .github └── workflows │ └── test.yml ├── .gitignore ├── .vscode ├── extensions.json └── settings.json ├── LICENSE ├── Makefile ├── README.md ├── cli ├── ast.go └── main.go ├── docs └── dev.md ├── ecma ├── analysis │ ├── ctrlflow.go │ ├── ctrlflow_test.go │ └── graph.go ├── astutil │ ├── astutil.go │ └── astutil_test.go ├── estree │ ├── convert.go │ ├── jsx_node.go │ ├── node.go │ ├── test │ │ ├── basic │ │ │ ├── README.md │ │ │ ├── async_await_fail_test.go │ │ │ ├── async_await_test.go │ │ │ ├── async_iteration_fail_test.go │ │ │ ├── async_iteration_test.go │ │ │ ├── await_top_level_test.go │ │ │ ├── bigint_fail_test.go │ │ │ ├── bigint_test.go │ │ │ ├── class_features_fail_test.go │ │ │ ├── class_features_test.go │ │ │ ├── convert_test.go │ │ │ ├── directive_test.go │ │ │ ├── dynamic_import_fail_test.go │ │ │ ├── dynamic_import_test.go │ │ │ ├── es7_fail_test.go │ │ │ ├── es7_test.go │ │ │ ├── export_all_as_ns_fail_test.go │ │ │ ├── export_all_as_ns_test.go │ │ │ ├── harmony_fail_test.go │ │ │ ├── harmony_test.go │ │ │ ├── import_meta_fail_test.go │ │ │ ├── import_meta_test.go │ │ │ ├── json_superset_test.go │ │ │ ├── jsx_fail_test.go │ │ │ ├── jsx_test.go │ │ │ ├── logic_assign_fail_test.go │ │ │ ├── logic_assign_test.go │ │ │ ├── nullish_fail_test.go │ │ │ ├── nullish_test.go │ │ │ ├── num_sep_fail_test.go │ │ │ ├── num_sep_test.go │ │ │ ├── optional_chaining_fail_test.go │ │ │ └── optional_chaining_test.go │ │ ├── compile.go │ │ ├── fixture │ │ │ ├── README.md │ │ │ ├── core │ │ │ │ ├── import │ │ │ │ │ └── import-call │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ ├── labeled │ │ │ │ │ ├── basic │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ │ ├── labeled-block-dup │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ │ ├── labeled-for-dup │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ │ ├── nested-label-for │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ │ ├── one-line-nest-dup │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ │ ├── same-level-one-line │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ │ ├── same-level │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ │ ├── unsyntactic-sibling │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ │ └── unsyntactic-upper │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ ├── octal-escape-seq │ │ │ │ │ └── legal │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ ├── regexp │ │ │ │ │ └── after-line │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ ├── switch │ │ │ │ │ └── break-nested-block │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ ├── var-dec │ │ │ │ │ └── strict-var │ │ │ │ │ │ ├── input.js │ │ │ │ │ │ └── output.json │ │ │ │ └── yield │ │ │ │ │ └── nested-scope │ │ │ │ │ ├── input.js │ │ │ │ │ └── output.json │ │ │ ├── es2015 │ │ │ │ └── array-rest-spread │ │ │ │ │ ├── comma-after-spread │ │ │ │ │ ├── input.js │ │ │ │ │ └── output.json │ │ │ │ │ ├── invalid-location │ │ │ │ │ ├── input.js │ │ │ │ │ └── output.json │ │ │ │ │ └── with-object │ │ │ │ │ ├── input.js │ │ │ │ │ └── output.json │ │ │ ├── fixture_test.go │ │ │ └── typescript │ │ │ │ ├── arrow-function │ │ │ │ ├── annotated │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-function-with-newline │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-like-in-conditional-1 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-like-in-conditional-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-like-in-conditional-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-like-in-conditional-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async-arrow-function-after-binary-operator │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async-await-null │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async-generic-after-await │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async-generic-false-positive │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async-rest-optional-parameter │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async-rest │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── default-parameter-values │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── destructuring-with-annotation-newline │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── destructuring │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── generic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── optional-parameter │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── predicate-types │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── assert-predicate │ │ │ │ ├── arrow-function │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── asserts-as-identifier │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── asserts-this-with-predicate │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── asserts-this │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── asserts-var-with-predicate │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── asserts-var │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-asserts-var-with-predicate │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function-declaration-with-line-break │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function-declaration │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── invalid-escaped-asserts-keyword │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── assign │ │ │ │ └── parenthesized-object-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async-call │ │ │ │ └── with-optional-parameter │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── call │ │ │ │ ├── semi │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ └── semi2 │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── cast │ │ │ │ ├── arrow-async-parameter-as │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-async-parameter-assertion │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-in-parens-with-parens-node │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-in-parens │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-parameter-as │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-parameter-assertion │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── as-const │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── as │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── assert-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── destructure-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── false-positive │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── multiple-assert-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── need-parentheses │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── nested-parenthesized-assert-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── null-assertion-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── null-assertion-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── null-assertion-and-assign-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── null-assertion-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── null-assertion-and-relational │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── null-assertion-false-positive │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── null-assertion-then-property-access │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── null-assertion │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-typecast-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-typecast │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parenthesized-as-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parenthesized-assert-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parenthesized-null-assertion-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parenthesized-type-assertion-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-assertion-after-operator │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-assertion-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-assertion-before-operator │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-assertion │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── unparenthesized-assert-and-assign-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── unparenthesized-assert-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── unparenthesized-type-assertion-and-assign │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── catch-clause │ │ │ │ └── unknown │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── class │ │ │ │ ├── abstract-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-false-positive │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-method-in-non-abstract-class-1 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-method-in-non-abstract-class-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-method-in-non-abstract-class-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-method-with-body-computed │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-method-with-body │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-property-initializer-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-property-initializer-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-property-initializer-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-property-initializer-5 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract-property-initializer │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── abstract │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async-named-properties │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── async-optional-method │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── constructor-with-invalid-order-modifiers-1 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── constructor-with-invalid-order-modifiers-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── constructor-with-invalid-order-modifiers-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── constructor-with-modifier-names-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── constructor-with-modifier-names │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── constructor-with-override-modifer-names │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── constructor-with-type-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── constructor │ │ │ │ ├── declare-accessor-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-accessor │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-field-initializer │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-field-modifiers │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-field │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-get-set-field │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-initializer │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-method │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-new-line-abstract │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── duplicate-modifier-1 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── duplicate-modifier-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── duplicates-accessibility-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── duplicates-accessibility-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── duplicates-accessibility-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── duplicates-accessibility-5 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── duplicates-accessibility │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── empty-type-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── expression-extends-implements │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── expression-extends │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── expression-generic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── expression-implements │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── extends-empty │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── extends-implements-empty │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── extends-implements │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── extends │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── generator-method-with-modifiers-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── generator-method-with-modifiers │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── generic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-generic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── implements-empty │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── implements │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── index-signature-errors │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── index-signature │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-order-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-order-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-order-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-order │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── members-with-modifier-names │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── members-with-reserved-names │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-computed │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-generic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-modifier-name-with-type-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-no-body │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-optional │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-readonly │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-return-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-with-modifiers-asi │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-with-newline-with-body │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-with-newline-without-body │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifier-name-parameters-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifier-name-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-accessors │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-incompatible-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-incompatible-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-incompatible │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-index-signatures-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-index-signatures-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-index-signatures-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-index-signatures-5 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-index-signatures │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-invalid-order-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-invalid-order-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-invalid-order-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-invalid-order-5 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-invalid-order-6 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-invalid-order-7 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-invalid-order-8 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-invalid-order-9 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-invalid-order │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-methods-async │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-override-errors-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-override-errors-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-override-errors │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-override │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers-properties │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── optional-async-error │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-binding-patterns-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-binding-patterns │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-not-constructor-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-not-constructor-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-not-constructor-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-not-constructor-5 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-not-constructor-6 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-not-constructor-7 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-not-constructor │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-with-decorators │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── predicate-types │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── private-fields-modifier-abstract │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── private-fields-modifier-private │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── private-fields-modifier-protected │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── private-fields-modifier-public │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── private-fields-modifier-readonly │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── private-fields-static │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── private-fields │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── private-method-overload │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── properties │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── property-optional-definite-assignment-not-allowed │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── static │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── const │ │ │ │ ├── no-initializer │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── reserved-word │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare │ │ │ │ ├── const-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── const │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── destructure-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── destructure │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-assign-dup-var-dec │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── field-optional-readonly │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function-rest-trailing-comma │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── interface-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── let-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── let │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── module-class │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── module-function │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── namespace-class │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── namespace-function │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── pattern-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── return-val-complex-union-1 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── return-val-complex-union │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── var-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── var │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── decorators │ │ │ │ ├── class-members │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-arguments-invalid │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── type-arguments │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── disallow-jsx-ambiguity │ │ │ │ ├── type-assertion │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── type-parameter-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── type-parameter-unambiguous-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── type-parameter-unambiguous │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ └── type-parameter │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── dts │ │ │ │ ├── dup-namespace │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-class-implementation │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-class-initializer │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── new-as-field-name │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── valid-optional-pattern │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ └── valid-trailing-comma-for-rest │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── enum │ │ │ │ ├── const │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-const │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-const │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-declare-const │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── members-reserved-words │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── members-strings │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── members-trailing-comma-with-initializer │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── members-trailing-comma │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── members │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── exponentiation │ │ │ │ ├── await-non-null-before-exponential │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── unary-non-null-before-exponential │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── valid-parenthesized-await-non-null-before-exponential │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export │ │ │ │ ├── as-namespace │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-invalid │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── double-declare │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── equals │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-type-declaration │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-type-from │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-value-declaration │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── internal-comments │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── nested-same-name │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── re-export │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function │ │ │ │ ├── annotated │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── anonymous-generator │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── anonymous │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-pattern-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── empty-type-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-default │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── getter-setter-this-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── getter-setter-this │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── getter-setter │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── overloads │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-5 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-6 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties-7 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── parameter-properties │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── pattern-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── predicate-types │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import │ │ │ │ ├── equals-require │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── equals │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-import-require │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-import-type-as-identifier │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-import-type-require │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-import-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-import │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-named-import-require │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-default-and-named-id-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-default-id-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-named │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-side-effects │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-star-as │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-type-as-identifier │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── internal-comments │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── not-top-level │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-asi │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-equals-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-equals-require │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── type-equals │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── interface │ │ │ │ ├── abstract │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── call-signature │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── construct-signature │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-abstract-interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-default │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── extends │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function-like-node-1 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function-like-node-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function-like-node-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function-like-node-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function-like-node-5 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── generic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-ambiguous │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-invalid-optional-parameter │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-invalid-parameters-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-invalid-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-invalid-reset-parameter │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-invalid-return-types │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-invalid-this-parameters-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-invalid-this-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-methods │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-properties │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-type-parameters-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set-type-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── get-set │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── index-signature │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-abstract-interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-method-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-method-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-method-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-method-5 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-method-6 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-method-7 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-method │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-property-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-property-3 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-property-4 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-property-5 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-property-6 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-modifiers-property │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-computed │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-generic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-optional │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── method-plain │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── modifiers │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── new-line-error │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── pattern-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── properties │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── property-computed │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── property-named-public │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── reserved-method-name │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── separators │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── this-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── module-namespace │ │ │ │ ├── body-declare │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── body-nested-declare │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── body-nested │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── body │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare-shorthand │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── global-in-module │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── head-declare │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── head-export │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── head │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── module-declare-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── module-new-line-error │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── module-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── namespace-declare-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── namespace-new-line-error │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── namespace-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── top-level-await │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── no-null │ │ │ │ └── basic │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── optional-chaining │ │ │ │ └── type-arguments │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── regression │ │ │ │ ├── async-arrow-generic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── babel-issue-7742 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── destructuring-in-function-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── elision-arrow-destructuring │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── is-default-export │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── less-than-edge-case │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── scope │ │ │ │ ├── callable-class-ambient │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── callable-class │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── enum-block-scoped │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-declare-function-after │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-declare-function-before │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-enum-after │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-enum-before │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-interface-after │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-interface-before │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-namespace │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-type-after │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-type-before │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── function-type-before-declaration │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── module-declaration-var-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── module-declaration-var │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-class-class │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-class-enum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-class-interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-class-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-const-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-constenum-constenum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-constenum-enum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-enum-class │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-enum-constenum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-enum-enum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-enum-function │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-enum-interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-enum-let │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-enum-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-enum-var │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-function-enum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-function-interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-function-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-import-ambient-class │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-interface-class │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-interface-enum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-interface-function │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-interface-interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-interface-let │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-interface-var │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-let-enum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-let-interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-let-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-type-class │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-type-enum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-type-function │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-type-interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-type-let │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-type-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-type-var │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-var-enum │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── redeclaration-var-interface │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── redeclaration-var-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── static-blocks │ │ │ │ ├── invalid-static-block-with-accessibility-private-01 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-accessibility-private-02 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-accessibility-protected-01 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-accessibility-protected-02 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-accessibility-public-01 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-accessibility-public-02 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-modifier-abstract-01 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-modifier-abstract-02 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-modifier-override-01 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-modifier-override-02 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-block-with-modifier-static │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-blocks-with-modifer-declare-01 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-blocks-with-modifer-declare-02 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-blocks-with-modifier-readonly-01 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── invalid-static-blocks-with-modifier-readonly-02 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── static-blocks-and-proptery-named-static │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── static-blocks-and-static-property-named-static │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── static-blocks-and-static-property │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── static-blocks │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── valid-static-block-with-line-breaks │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── tsx │ │ │ │ ├── anonymous-function-generator-invalid │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── anonymous-function-generator │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── arrow-fn │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── assignment-in-conditional-expression │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── brace-is-block │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── cast-invalid │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── cond │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── fragment │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── hyphen │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── line-comment │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── self-closed │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── type-arguments │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-parameters │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── wrap-needed │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── type-alias │ │ │ │ ├── declare-new-line │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── declare │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── generic-complex-tokens-true │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── generic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── plain │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-arguments-bit-shift-left-like │ │ │ │ ├── after-bit-shift │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── call-expression │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── class-heritage │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── jsx-opening-element │ │ │ │ │ ├── input.tsx │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── new-expression │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── type-arguments-like │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-arguments │ │ │ │ ├── any-array │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── call-optional-chain-invalid │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── call-optional-chain │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── call │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── empty-function │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── empty-interface-extends │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── empty-interface-implements │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── empty-new │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── empty-superclass │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── empty-tsx │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ ├── empty-type-import │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── empty-type-ref │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── new-false-positive-2 │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── new-false-positive │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── new │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── tagged-template-no-asi │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── tagged-template │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── tsx │ │ │ │ │ ├── input.ts │ │ │ │ │ ├── options.json │ │ │ │ │ └── output.json │ │ │ │ └── whitespace │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── type-only-import-export-specifiers │ │ │ │ ├── export-basic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-invalid-type-in-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-named-and-named-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-named-type-as-as │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-named-type-as-keyword │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-named-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-type-only-as-as-keyword │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-type-only-keyword │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── export-type-only-named-as │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── expport-invalid-escaped-type-only │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-basic │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-invalid-escaped-type-only │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-invalid-named-type-as-keyword │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-invalid-type-in-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-invalid-type-only-as-as-keyword │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-invalid-type-only-as-string │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-named-and-named-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-named-type-as-as │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-named-type │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ ├── import-type-only-and-export │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── import-type-only-named-as │ │ │ │ │ ├── input.ts │ │ │ │ │ └── output.json │ │ │ │ └── types │ │ │ │ ├── abstract-constructor-signatures │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── array │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── conditional-infer │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── conditional │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── constructor-signatures │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── function-generic │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── function-in-generic │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── function-with-this │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── function │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── import-type-declaration-error │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── import-type-declaration │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── import-type-dynamic-errors-2 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── import-type-dynamic-errors-3 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── import-type-dynamic-errors │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── import-type-dynamic │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── import-type-escaped-error │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── indexed │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── intrinsic-identifier │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── intrinsic-keyword-error │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── intrinsic-keyword │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── keywords │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-bigint-negative │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-bigint │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-boolean │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-number-negative │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-number │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-string-1 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-string-2 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-string-3 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-string-4 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── literal-string │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── mapped-2 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── mapped-as-invalid │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── mapped │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── new-line │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── object-shorthand │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── parenthesized │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── pattern-parameters │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── read-only-1 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── read-only-2 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── read-only-3 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── read-only-4 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── read-only │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── reference-generic-nested │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── reference-generic │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── reference │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-empty │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-invalid-label-1 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-invalid-label-2 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-labeled-after-unlabeled │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-labeled-before-unlabeled │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-labeled-invalid-optional │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-labeled-spread │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-labeled │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-optional-invalid │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-optional │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-required-after-labeled-optional │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-rest-after-optional │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-rest-not-last │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-rest-trailing-comma │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-rest │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-unlabeled-spread-after-labeled │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple-unlabeled-spread-before-labeled │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── tuple │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── type-literal-get-set │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── type-literal │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── type-operator │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── typeof │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── types-named-abstract │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ ├── union-intersection-2 │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ │ │ └── union-intersection │ │ │ │ ├── input.ts │ │ │ │ └── output.json │ │ └── perf │ │ │ ├── asset │ │ │ ├── angular.js │ │ │ ├── backbone.js │ │ │ ├── ember.js │ │ │ ├── jquery.js │ │ │ ├── react-dom.js │ │ │ └── react.js │ │ │ └── perf_test.go │ ├── ts_convert.go │ └── ts_node.go ├── exec │ ├── vm.go │ └── vm_test.go ├── parser │ ├── ast.go │ ├── astutil.go │ ├── consts.go │ ├── errors.go │ ├── feature.go │ ├── html_entity.go │ ├── jsx.go │ ├── jsx_ast.go │ ├── jsx_test.go │ ├── lexer.go │ ├── lexer_test.go │ ├── nodetype.go │ ├── nodetype_string.go │ ├── parser.go │ ├── parser_test.go │ ├── symtab.go │ ├── token.go │ ├── token_test.go │ ├── ts.go │ ├── ts_ast.go │ ├── ts_test.go │ └── typinfo.go └── walk │ ├── ctx.go │ ├── visitor.go │ └── visitor_test.go ├── go.mod ├── parseutil └── cache.go ├── script ├── html_entity │ └── main.go ├── macro │ ├── parse.go │ └── parse_test.go ├── nodetype_gen │ └── main.go └── visitor_gen │ └── main.go ├── setup.sh ├── span ├── source.go └── source_test.go ├── util ├── assert.go ├── lru.go ├── map.go ├── merge.go ├── obj.go ├── sets.go ├── shell.go ├── slice.go ├── slice_test.go ├── str.go ├── str_test.go ├── test │ └── asset │ │ └── walk_dir │ │ ├── a │ │ ├── a1 │ │ │ └── .gitkeep │ │ ├── a2 │ │ │ └── .gitkeep │ │ └── a3 │ │ │ └── .gitkeep │ │ ├── b │ │ ├── b1 │ │ │ └── .gitkeep │ │ ├── b2 │ │ │ └── .gitkeep │ │ └── b3 │ │ │ └── .gitkeep │ │ └── c │ │ ├── c1 │ │ └── .gitkeep │ │ ├── c2 │ │ └── .gitkeep │ │ └── c3 │ │ └── .gitkeep ├── walkdir.go └── walkdir_test.go └── wasm └── main.go /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/.editorconfig -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/test.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/.github/workflows/test.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/.gitignore -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/LICENSE -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/README.md -------------------------------------------------------------------------------- /cli/ast.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/cli/ast.go -------------------------------------------------------------------------------- /cli/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/cli/main.go -------------------------------------------------------------------------------- /docs/dev.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/docs/dev.md -------------------------------------------------------------------------------- /ecma/analysis/ctrlflow.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/analysis/ctrlflow.go -------------------------------------------------------------------------------- /ecma/analysis/ctrlflow_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/analysis/ctrlflow_test.go -------------------------------------------------------------------------------- /ecma/analysis/graph.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/analysis/graph.go -------------------------------------------------------------------------------- /ecma/astutil/astutil.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/astutil/astutil.go -------------------------------------------------------------------------------- /ecma/astutil/astutil_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/astutil/astutil_test.go -------------------------------------------------------------------------------- /ecma/estree/convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/convert.go -------------------------------------------------------------------------------- /ecma/estree/jsx_node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/jsx_node.go -------------------------------------------------------------------------------- /ecma/estree/node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/node.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/README.md -------------------------------------------------------------------------------- /ecma/estree/test/basic/async_await_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/async_await_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/async_await_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/async_await_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/async_iteration_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/async_iteration_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/async_iteration_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/async_iteration_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/await_top_level_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/await_top_level_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/bigint_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/bigint_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/bigint_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/bigint_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/class_features_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/class_features_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/class_features_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/class_features_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/convert_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/convert_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/directive_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/directive_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/dynamic_import_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/dynamic_import_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/dynamic_import_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/dynamic_import_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/es7_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/es7_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/es7_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/es7_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/export_all_as_ns_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/export_all_as_ns_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/export_all_as_ns_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/export_all_as_ns_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/harmony_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/harmony_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/harmony_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/harmony_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/import_meta_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/import_meta_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/import_meta_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/import_meta_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/json_superset_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/json_superset_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/jsx_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/jsx_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/jsx_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/jsx_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/logic_assign_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/logic_assign_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/logic_assign_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/logic_assign_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/nullish_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/nullish_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/nullish_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/nullish_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/num_sep_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/num_sep_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/num_sep_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/num_sep_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/optional_chaining_fail_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/optional_chaining_fail_test.go -------------------------------------------------------------------------------- /ecma/estree/test/basic/optional_chaining_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/basic/optional_chaining_test.go -------------------------------------------------------------------------------- /ecma/estree/test/compile.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/compile.go -------------------------------------------------------------------------------- /ecma/estree/test/fixture/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/README.md -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/import/import-call/input.js: -------------------------------------------------------------------------------- 1 | import( 2 | /* webpackChunkName: "share" */ 3 | "lib" 4 | ).then(() => {}) + 1; 5 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/import/import-call/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/import/import-call/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/basic/input.js: -------------------------------------------------------------------------------- 1 | LabelA: a = 1 -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/basic/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/basic/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/labeled-block-dup/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/labeled-block-dup/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/labeled-block-dup/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/labeled-block-dup/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/labeled-for-dup/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/labeled-for-dup/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/labeled-for-dup/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/labeled-for-dup/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/nested-label-for/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/nested-label-for/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/nested-label-for/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/nested-label-for/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/one-line-nest-dup/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/one-line-nest-dup/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/one-line-nest-dup/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/one-line-nest-dup/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/same-level-one-line/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/same-level-one-line/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/same-level-one-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/same-level-one-line/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/same-level/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/same-level/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/same-level/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/same-level/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/unsyntactic-sibling/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/unsyntactic-sibling/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/unsyntactic-sibling/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/unsyntactic-sibling/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/unsyntactic-upper/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/unsyntactic-upper/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/labeled/unsyntactic-upper/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/labeled/unsyntactic-upper/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/octal-escape-seq/legal/input.js: -------------------------------------------------------------------------------- 1 | var INTERNAL_COMPONENT_ID_PREFIX = '\0_ec_\0' -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/octal-escape-seq/legal/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/octal-escape-seq/legal/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/regexp/after-line/input.js: -------------------------------------------------------------------------------- 1 | a = b 2 | / det * dest[i] -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/regexp/after-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/regexp/after-line/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/switch/break-nested-block/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/switch/break-nested-block/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/switch/break-nested-block/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/switch/break-nested-block/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/var-dec/strict-var/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/var-dec/strict-var/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/var-dec/strict-var/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/var-dec/strict-var/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/yield/nested-scope/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/yield/nested-scope/input.js -------------------------------------------------------------------------------- /ecma/estree/test/fixture/core/yield/nested-scope/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/core/yield/nested-scope/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/es2015/array-rest-spread/comma-after-spread/input.js: -------------------------------------------------------------------------------- 1 | [...a,]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/es2015/array-rest-spread/invalid-location/input.js: -------------------------------------------------------------------------------- 1 | [...a, b] = c -------------------------------------------------------------------------------- /ecma/estree/test/fixture/es2015/array-rest-spread/with-object/input.js: -------------------------------------------------------------------------------- 1 | var [...{length}] = [ 1, 2, 3]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/fixture_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/fixture_test.go -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/annotated/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/arrow-function/annotated/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/arrow-function-with-newline/input.ts: -------------------------------------------------------------------------------- 1 | async (f) 2 | : t => { } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/arrow-like-in-conditional-2/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `;` at (1:27)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/async-arrow-function-after-binary-operator/input.ts: -------------------------------------------------------------------------------- 1 | 4 + async() => 2 -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/async-arrow-function-after-binary-operator/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `=>` at (1:20)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/async-await-null/input.ts: -------------------------------------------------------------------------------- 1 | async () => await null; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/async-rest/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/arrow-function/async-rest/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/async/input.ts: -------------------------------------------------------------------------------- 1 | async (x?: number): any => x; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/async/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/arrow-function/async/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/default-parameter-values/input.ts: -------------------------------------------------------------------------------- 1 | (x: number = 0) => 0; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/destructuring-with-annotation-newline/input.ts: -------------------------------------------------------------------------------- 1 | ( 2 | { a, b }: T, 3 | ): T => {}; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/destructuring/input.ts: -------------------------------------------------------------------------------- 1 | ({ a = 0 }) => 0; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/generic/input.ts: -------------------------------------------------------------------------------- 1 | (a: T): T => a; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/generic/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/arrow-function/generic/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/arrow-function/predicate-types/input.ts: -------------------------------------------------------------------------------- 1 | (x: any): x is string => true; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/assert-predicate/asserts-this/input.ts: -------------------------------------------------------------------------------- 1 | class C { 2 | m(): asserts this {}; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/assert-predicate/invalid-escaped-asserts-keyword/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `identifier` at (1:62)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/assign/parenthesized-object-assign/input.ts: -------------------------------------------------------------------------------- 1 | ({}) = x -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/async-call/with-optional-parameter/input.ts: -------------------------------------------------------------------------------- 1 | async(x?) -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/async-call/with-optional-parameter/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (1:7)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/call/semi/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/call/semi/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/call/semi/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/call/semi/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/call/semi/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/call/semi2/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/call/semi2/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/call/semi2/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/call/semi2/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/call/semi2/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-async-parameter-as/input.ts: -------------------------------------------------------------------------------- 1 | async (a as T) => {}; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-async-parameter-as/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (1:7)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-async-parameter-assertion/input.ts: -------------------------------------------------------------------------------- 1 | async ( a) => {}; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-async-parameter-assertion/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (1:7)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-in-parens-with-parens-node/input.ts: -------------------------------------------------------------------------------- 1 | var asserted1 = ((n) => { return n; }); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-in-parens/input.ts: -------------------------------------------------------------------------------- 1 | var asserted1 = ((n) => { return n; }); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-in-parens/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/arrow-in-parens/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-parameter-as/input.ts: -------------------------------------------------------------------------------- 1 | (a as T) => {}; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-parameter-as/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (1:1)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-parameter-assertion/input.ts: -------------------------------------------------------------------------------- 1 | ( a) => {}; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/arrow-parameter-assertion/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (1:1)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/as-const/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/as-const/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/as-const/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/as-const/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/as/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/as/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/as/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/as/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/assert-and-assign/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/assert-and-assign/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/assert-and-assign/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/assert-and-assign/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/false-positive/input.ts: -------------------------------------------------------------------------------- 1 | f(x < 0, /a/); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/false-positive/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/false-positive/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/invalid-2/input.ts: -------------------------------------------------------------------------------- 1 | (a:b,c:d); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/invalid-2/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected type annotation at (1:2)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/invalid-3/input.ts: -------------------------------------------------------------------------------- 1 | [a:b]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/invalid-3/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected type annotation at (1:2)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/invalid-4/input.ts: -------------------------------------------------------------------------------- 1 | [a:b, c:d]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/invalid-4/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected type annotation at (1:2)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/invalid/input.ts: -------------------------------------------------------------------------------- 1 | (a:b); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/invalid/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected type annotation at (1:2)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/need-parentheses/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/need-parentheses/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/need-parentheses/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/need-parentheses/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion-2/input.ts: -------------------------------------------------------------------------------- 1 | x! / 2 -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion-2/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/null-assertion-2/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion-3/input.ts: -------------------------------------------------------------------------------- 1 | const x = foo()!; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion-3/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/null-assertion-3/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion-and-assign-2/input.ts: -------------------------------------------------------------------------------- 1 | x! *= 1 -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion-and-assign/input.ts: -------------------------------------------------------------------------------- 1 | x! += 1; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion-and-relational/input.ts: -------------------------------------------------------------------------------- 1 | x.v! < y.v!; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion-false-positive/input.ts: -------------------------------------------------------------------------------- 1 | a 2 | !b -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion-then-property-access/input.ts: -------------------------------------------------------------------------------- 1 | x!.y; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion/input.ts: -------------------------------------------------------------------------------- 1 | x!; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/null-assertion/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/null-assertion/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/parameter-typecast-2/input.ts: -------------------------------------------------------------------------------- 1 | func(a: T); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/parameter-typecast-2/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected type annotation at (1:9)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/parameter-typecast/input.ts: -------------------------------------------------------------------------------- 1 | func(a: T); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/parameter-typecast/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected type annotation at (1:6)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/parenthesized-as-and-assign/input.ts: -------------------------------------------------------------------------------- 1 | (a as number) = 42; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/parenthesized-assert-and-assign/input.ts: -------------------------------------------------------------------------------- 1 | (a as any) = null -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/parenthesized-null-assertion-and-assign/input.ts: -------------------------------------------------------------------------------- 1 | (x!) = null; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/parenthesized-type-assertion-and-assign/input.ts: -------------------------------------------------------------------------------- 1 | (x) = null -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/type-assertion-after-operator/input.ts: -------------------------------------------------------------------------------- 1 | 1 + 1; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/type-assertion-and-assign/input.ts: -------------------------------------------------------------------------------- 1 | ( x) += 1; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/type-assertion-before-operator/input.ts: -------------------------------------------------------------------------------- 1 | 1 + 1; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/type-assertion/input.ts: -------------------------------------------------------------------------------- 1 | 1; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/type-assertion/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/cast/type-assertion/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/unparenthesized-assert-and-assign-2/input.ts: -------------------------------------------------------------------------------- 1 | ({ a: b as any = 2000 } = x); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/unparenthesized-assert-and-assign-2/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Assigning to rvalue at (1:6)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/unparenthesized-assert-and-assign/input.ts: -------------------------------------------------------------------------------- 1 | foo as any = 10; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/unparenthesized-assert-and-assign/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Assigning to rvalue at (1:0)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/unparenthesized-type-assertion-and-assign/input.ts: -------------------------------------------------------------------------------- 1 | foo = '100'; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/cast/unparenthesized-type-assertion-and-assign/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Assigning to rvalue at (1:0)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/catch-clause/unknown/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/catch-clause/unknown/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/catch-clause/unknown/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/catch-clause/unknown/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/abstract-2/input.ts: -------------------------------------------------------------------------------- 1 | export default abstract class C4 { } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/abstract-2/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/abstract-2/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/abstract-3/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/abstract-3/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/abstract-3/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/abstract-3/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/abstract-method-in-non-abstract-class-1/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | abstract method(); 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/abstract-new-line/input.ts: -------------------------------------------------------------------------------- 1 | abstract 2 | class B {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/abstract/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/abstract/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/abstract/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/abstract/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/async-optional-method/input.ts: -------------------------------------------------------------------------------- 1 | class A extends B { 2 | async method?(val: string): Promise; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/constructor-with-invalid-order-modifiers-1/input.ts: -------------------------------------------------------------------------------- 1 | class D extends B { 2 | constructor(readonly override foo: string) {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/constructor-with-invalid-order-modifiers-2/input.ts: -------------------------------------------------------------------------------- 1 | class D extends B { 2 | constructor(readonly public foo: string) {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/constructor-with-modifier-names-2/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | constructor(set: any, readonly: boolean) {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/constructor-with-modifier-names/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | constructor(set, readonly) {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/constructor-with-type-parameters/input.ts: -------------------------------------------------------------------------------- 1 | class C { 2 | constructor(foo: T) {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/constructor/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/constructor/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/constructor/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/constructor/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-accessor-2/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | declare set foo(v) 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-accessor/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | declare get foo() 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-accessor/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/declare-accessor/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-field-initializer/input.ts: -------------------------------------------------------------------------------- 1 | class A { 2 | declare bar: string = "test"; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-field/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/declare-field/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-field/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/declare-field/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-initializer/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/declare-initializer/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-method/input.ts: -------------------------------------------------------------------------------- 1 | class A { 2 | declare foo() {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-method/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/declare-method/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-new-line-abstract/input.ts: -------------------------------------------------------------------------------- 1 | declare abstract 2 | class A {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-new-line/input.ts: -------------------------------------------------------------------------------- 1 | declare 2 | class B {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare-new-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/declare-new-line/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/declare/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/declare/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/declare/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicate-modifier-1/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `identifier` at (2:25)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicate-modifier-2/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `identifier` at (2:32)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicates-accessibility-2/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | private public b; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicates-accessibility-2/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `identifier` at (2:17)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicates-accessibility-3/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | protected private c; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicates-accessibility-3/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `identifier` at (2:20)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicates-accessibility-4/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | public protected d; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicates-accessibility-4/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `identifier` at (2:19)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicates-accessibility-5/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | public protected private e; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicates-accessibility-5/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `private` at (2:19)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/duplicates-accessibility/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `identifier` at (2:16)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/empty-type-parameters/input.ts: -------------------------------------------------------------------------------- 1 | class C<> {} 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/empty-type-parameters/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type parameter list cannot be empty at (1:7)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/expression-extends/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/expression-extends/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/expression-generic/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/expression-generic/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/extends-empty/input.ts: -------------------------------------------------------------------------------- 1 | interface foo extends { 2 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/extends-empty/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "`extends` list cannot be empty at (1:14)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/extends-implements-empty/input.ts: -------------------------------------------------------------------------------- 1 | class Foo extends Bar implements { 2 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/extends-implements-empty/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "`implements` list cannot be empty at (1:22)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/extends-implements/input.ts: -------------------------------------------------------------------------------- 1 | class C extends f() implements X.Y {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/extends/input.ts: -------------------------------------------------------------------------------- 1 | class C extends f() {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/extends/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/extends/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/generator-method-with-modifiers/input.ts: -------------------------------------------------------------------------------- 1 | class C { 2 | abstract *d() 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/generic/input.ts: -------------------------------------------------------------------------------- 1 | class C {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/generic/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/generic/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/get-generic/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/get-generic/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/get-generic/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/get-generic/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/implements-empty/input.ts: -------------------------------------------------------------------------------- 1 | class Foo implements { 2 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/implements-empty/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "`implements` list cannot be empty at (1:10)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/implements/input.ts: -------------------------------------------------------------------------------- 1 | class C implements X.Y {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/implements/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/implements/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/index-signature/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/index-signature/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/index-signature/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/index-signature/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/invalid-modifiers-order-2/input.ts: -------------------------------------------------------------------------------- 1 | class Foo extends Bar { 2 | readonly private foo2: string; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/invalid-modifiers-order-3/input.ts: -------------------------------------------------------------------------------- 1 | class Foo extends Bar { 2 | readonly private override foo3: string; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/invalid-modifiers-order-4/input.ts: -------------------------------------------------------------------------------- 1 | class Foo extends Bar { 2 | private readonly override foo4: string; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/invalid-modifiers-order/input.ts: -------------------------------------------------------------------------------- 1 | class Foo extends Bar { 2 | override private foo1: string 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/members-with-reserved-names/input.ts: -------------------------------------------------------------------------------- 1 | class C { 2 | public delete(): void; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-computed/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/method-computed/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-computed/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/method-computed/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-generic/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/method-generic/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-generic/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/method-generic/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-no-body/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/method-no-body/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-no-body/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/method-no-body/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-optional/input.ts: -------------------------------------------------------------------------------- 1 | class C { 2 | m?(): void {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-optional/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/method-optional/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-readonly/input.ts: -------------------------------------------------------------------------------- 1 | class C { 2 | readonly m() {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-readonly/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/method-readonly/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/method-return-type/input.ts: -------------------------------------------------------------------------------- 1 | class C { 2 | f(): void {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/modifier-name-parameters-2/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Invalid binding `static` at (2:23)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/modifier-name-parameters/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Invalid binding `public` at (2:23)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/modifiers-accessors/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/modifiers-accessors/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/modifiers-incompatible-2/input.ts: -------------------------------------------------------------------------------- 1 | abstract class A extends Base { 2 | declare override prop1: any; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/modifiers-incompatible-3/input.ts: -------------------------------------------------------------------------------- 1 | abstract class A extends Base { 2 | override declare prop2: any; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/modifiers-override/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/modifiers-override/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/optional-async-error/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `identifier` at (3:11)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/predicate-types/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/predicate-types/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/predicate-types/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/predicate-types/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/private-fields-modifier-private/input.ts: -------------------------------------------------------------------------------- 1 | class A { 2 | private #a; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/private-fields-modifier-protected/input.ts: -------------------------------------------------------------------------------- 1 | class A { 2 | protected #a; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/private-fields-modifier-public/input.ts: -------------------------------------------------------------------------------- 1 | class A { 2 | public #a; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/private-fields/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/private-fields/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/private-fields/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/private-fields/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/properties/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/properties/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/properties/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/properties/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/property-optional-definite-assignment-not-allowed/input.ts: -------------------------------------------------------------------------------- 1 | class C { 2 | x?!: number; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/property-optional-definite-assignment-not-allowed/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `!` at (2:4)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/static/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/static/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/class/static/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/class/static/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/const/no-initializer/input.ts: -------------------------------------------------------------------------------- 1 | const x: number = 1; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/const/no-initializer/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/const/no-initializer/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/const/reserved-word/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/const/reserved-word/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/const/reserved-word/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `const` at (1:9)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/const-new-line/input.ts: -------------------------------------------------------------------------------- 1 | declare 2 | const x: number = 1, y: string = 's'; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/const-new-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/const-new-line/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/const/input.ts: -------------------------------------------------------------------------------- 1 | declare const x: number, y: string; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/const/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/const/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/destructure/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/destructure/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/destructure/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/destructure/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/function-rest-trailing-comma/input.ts: -------------------------------------------------------------------------------- 1 | declare function foo(...args: any[], ) -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/function/input.ts: -------------------------------------------------------------------------------- 1 | declare function foo() {} 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/function/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/function/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/interface-new-line/input.ts: -------------------------------------------------------------------------------- 1 | declare 2 | interface I {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/interface/input.ts: -------------------------------------------------------------------------------- 1 | declare interface I {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/interface/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/interface/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/let-new-line/input.ts: -------------------------------------------------------------------------------- 1 | declare 2 | let x; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/let-new-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/let-new-line/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/let/input.ts: -------------------------------------------------------------------------------- 1 | declare let x; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/let/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/let/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/module-class/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/module-class/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/module-class/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Initializers are not allowed in ambient contexts at (3:10)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/module-function/input.ts: -------------------------------------------------------------------------------- 1 | declare module m { 2 | function foo() {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/namespace-class/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/namespace-class/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/namespace-class/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Initializers are not allowed in ambient contexts at (3:10)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/namespace-function/input.ts: -------------------------------------------------------------------------------- 1 | declare namespace n { 2 | function foo() {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/var-new-line/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/var-new-line/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/var-new-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/var-new-line/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/var/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/var/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/declare/var/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/declare/var/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/decorators/class-members/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/decorators/class-members/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/decorators/type-arguments-invalid/input.ts: -------------------------------------------------------------------------------- 1 | @decorator 2 | class Test {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/decorators/type-arguments-invalid/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `class` at (2:0)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/decorators/type-arguments/input.ts: -------------------------------------------------------------------------------- 1 | @decorator() 2 | class Test {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/disallow-jsx-ambiguity/type-assertion/input.ts: -------------------------------------------------------------------------------- 1 | x; 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/disallow-jsx-ambiguity/type-assertion/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/disallow-jsx-ambiguity/type-parameter-2/input.ts: -------------------------------------------------------------------------------- 1 | (x) => 1; 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/disallow-jsx-ambiguity/type-parameter-2/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/disallow-jsx-ambiguity/type-parameter-unambiguous-2/input.ts: -------------------------------------------------------------------------------- 1 | (x) => 1; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/disallow-jsx-ambiguity/type-parameter-unambiguous-2/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/disallow-jsx-ambiguity/type-parameter-unambiguous/input.ts: -------------------------------------------------------------------------------- 1 | () => 1; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/disallow-jsx-ambiguity/type-parameter-unambiguous/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/disallow-jsx-ambiguity/type-parameter/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/dup-namespace/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/dts/dup-namespace/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/dup-namespace/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "dts": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/dup-namespace/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/dts/dup-namespace/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/invalid-class-implementation/input.ts: -------------------------------------------------------------------------------- 1 | function foo(): any {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/invalid-class-implementation/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "dts": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/invalid-class-initializer/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | foo = 3; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/invalid-class-initializer/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "dts": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/invalid-class-initializer/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Initializers are not allowed in ambient contexts at (2:6)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/new-as-field-name/input.ts: -------------------------------------------------------------------------------- 1 | interface Audio { 2 | new: any; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/new-as-field-name/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/dts/new-as-field-name/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/valid-optional-pattern/input.ts: -------------------------------------------------------------------------------- 1 | function f([]?): any; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/valid-optional-pattern/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "dts": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/valid-trailing-comma-for-rest/input.ts: -------------------------------------------------------------------------------- 1 | function foo(...args: any[], ); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/dts/valid-trailing-comma-for-rest/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "dts": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/const/input.ts: -------------------------------------------------------------------------------- 1 | const enum E {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/const/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/const/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/declare-const/input.ts: -------------------------------------------------------------------------------- 1 | declare const enum E {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/declare-const/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/declare-const/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/declare-new-line/input.ts: -------------------------------------------------------------------------------- 1 | declare enum 2 | E 3 | {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/declare-new-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/declare-new-line/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/declare/input.ts: -------------------------------------------------------------------------------- 1 | declare enum E {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/declare/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/declare/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/export-const/input.ts: -------------------------------------------------------------------------------- 1 | export const enum E {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/export-const/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/export-const/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/export-declare-const/input.ts: -------------------------------------------------------------------------------- 1 | export declare const enum E {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/export/input.ts: -------------------------------------------------------------------------------- 1 | export enum E {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/export/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/export/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/members-strings/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/members-strings/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/members-strings/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/members-strings/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/members-trailing-comma-with-initializer/input.ts: -------------------------------------------------------------------------------- 1 | enum E { 2 | A = 0, 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/members-trailing-comma/input.ts: -------------------------------------------------------------------------------- 1 | enum E { 2 | A, 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/members/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/members/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/enum/members/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/enum/members/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/exponentiation/await-non-null-before-exponential/input.ts: -------------------------------------------------------------------------------- 1 | async (a) => await a! ** 6; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/exponentiation/unary-non-null-before-exponential/input.ts: -------------------------------------------------------------------------------- 1 | (a) => +a! ** 6; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/exponentiation/valid-parenthesized-await-non-null-before-exponential/input.ts: -------------------------------------------------------------------------------- 1 | async (a) => (await a!) ** 6; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/as-namespace/input.ts: -------------------------------------------------------------------------------- 1 | export as namespace A; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/as-namespace/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/as-namespace/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/declare-invalid/input.ts: -------------------------------------------------------------------------------- 1 | export declare foo; 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/declare-invalid/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/declare-invalid/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/declare/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/declare/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/declare/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/declare/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/double-declare/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/double-declare/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/double-declare/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/double-declare/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/equals/input.ts: -------------------------------------------------------------------------------- 1 | export = f; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/equals/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/equals/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/export-type-from/input.ts: -------------------------------------------------------------------------------- 1 | export type { T } from './mod'; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/export-type/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/export-type/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/export-type/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/export-type/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/internal-comments/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/internal-comments/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/nested-same-name/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/nested-same-name/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/re-export/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/re-export/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/export/re-export/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/export/re-export/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/annotated/input.ts: -------------------------------------------------------------------------------- 1 | function f(x?: T): T {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/annotated/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/function/annotated/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/anonymous-generator/input.ts: -------------------------------------------------------------------------------- 1 | const fn = function* (input: T): Generator { 2 | yield 2; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/anonymous/input.ts: -------------------------------------------------------------------------------- 1 | const f = function(x?: T): T {}; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/anonymous/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/function/anonymous/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/declare-pattern-parameters/input.ts: -------------------------------------------------------------------------------- 1 | declare function f([]?, {}) -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/declare/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/function/declare/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/declare/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/function/declare/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/empty-type-parameters/input.ts: -------------------------------------------------------------------------------- 1 | function foo<>() {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/empty-type-parameters/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type parameter list cannot be empty at (1:12)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/export-default/input.ts: -------------------------------------------------------------------------------- 1 | export default function(x?: number): void; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/getter-setter-this-2/input.ts: -------------------------------------------------------------------------------- 1 | const s = { 2 | set m(this: {}, value) {} 3 | }; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/getter-setter/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/function/getter-setter/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/getter-setter/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/function/getter-setter/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/overloads/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/function/overloads/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/overloads/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/function/overloads/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/parameter-properties-2/input.ts: -------------------------------------------------------------------------------- 1 | function foo( 2 | public pu: number, 3 | ) {} 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/parameter-properties-3/input.ts: -------------------------------------------------------------------------------- 1 | function foo( 2 | protected po?, 3 | ) {} 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/parameter-properties-4/input.ts: -------------------------------------------------------------------------------- 1 | function foo( 2 | private pi?: number, 3 | ) {} 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/parameter-properties-5/input.ts: -------------------------------------------------------------------------------- 1 | function foo( 2 | public readonly pur, 3 | ) {} 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/parameter-properties-6/input.ts: -------------------------------------------------------------------------------- 1 | function foo( 2 | readonly x = 0, 3 | ) {} 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/parameter-properties-7/input.ts: -------------------------------------------------------------------------------- 1 | function foo( 2 | public y?: number = 0 3 | ) {} 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/parameter-properties/input.ts: -------------------------------------------------------------------------------- 1 | function foo( 2 | readonly r, 3 | ) {} 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/pattern-parameters/input.ts: -------------------------------------------------------------------------------- 1 | function f([]?, {}) {} 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/function/predicate-types/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/function/predicate-types/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/equals-require/input.ts: -------------------------------------------------------------------------------- 1 | import a = require("a"); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/equals-require/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/equals-require/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/equals/input.ts: -------------------------------------------------------------------------------- 1 | import A = B.C; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/equals/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/equals/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/export-import-type/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/export-import-type/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/export-import/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/export-import/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/export-import/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/export-import/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/import-default-and-named-id-type/input.ts: -------------------------------------------------------------------------------- 1 | import type, { bar } from 'foo'; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/import-default-id-type/input.ts: -------------------------------------------------------------------------------- 1 | import type from 'foo'; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/import-named/input.ts: -------------------------------------------------------------------------------- 1 | import { foo } from "bar"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/import-named/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/import-named/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/import-side-effects/input.ts: -------------------------------------------------------------------------------- 1 | import "foo"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/import-star-as/input.ts: -------------------------------------------------------------------------------- 1 | import * as a from "a"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/import-star-as/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/import-star-as/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/import-type-as-identifier/input.ts: -------------------------------------------------------------------------------- 1 | import type = require("A"); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/internal-comments/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/internal-comments/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/not-top-level/input.ts: -------------------------------------------------------------------------------- 1 | declare module "m" { 2 | import * as a from "a"; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/not-top-level/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/not-top-level/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/type-asi/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/type-asi/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/type-asi/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/type-asi/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/type-equals-2/input.ts: -------------------------------------------------------------------------------- 1 | import type B = C; 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/type-equals-require/input.ts: -------------------------------------------------------------------------------- 1 | import type a = require("a"); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/type-equals/input.ts: -------------------------------------------------------------------------------- 1 | import type A = B.C; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/import/type-equals/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/import/type-equals/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/abstract/input.ts: -------------------------------------------------------------------------------- 1 | abstract interface Foo { 2 | foo: string; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/abstract/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/abstract/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/call-signature/input.ts: -------------------------------------------------------------------------------- 1 | interface I { 2 | (x: number): void; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/construct-signature/input.ts: -------------------------------------------------------------------------------- 1 | interface I { 2 | new (x: number): void; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/declare-new-line/input.ts: -------------------------------------------------------------------------------- 1 | declare interface 2 | I 3 | {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/export-abstract-interface/input.ts: -------------------------------------------------------------------------------- 1 | export abstract interface I { 2 | 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/export-default/input.ts: -------------------------------------------------------------------------------- 1 | export default interface {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/export-default/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `{` at (1:25)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/export/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/export/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/export/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/export/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/extends/input.ts: -------------------------------------------------------------------------------- 1 | interface I extends X.Y {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/extends/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/extends/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/function-like-node-2/input.ts: -------------------------------------------------------------------------------- 1 | type Foo = () => number; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/function-like-node-3/input.ts: -------------------------------------------------------------------------------- 1 | type Foo = new () => void; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/function-like-node-5/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | foo(x: number): void; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/generic/input.ts: -------------------------------------------------------------------------------- 1 | interface I {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/generic/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/generic/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-invalid-optional-parameter/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | set bar(foo?: string); 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-invalid-parameters-2/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | set foo(); 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-invalid-parameters/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | get foo(param): string; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-invalid-parameters/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "A `get` accessor cannot have parameters at (2:10)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-invalid-reset-parameter/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | set bar(...v); 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-invalid-return-types/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | set foo(param): string; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-invalid-this-parameters-2/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | set bar(this: Foo); 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-invalid-this-parameters/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | get bar(this: Foo); 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-type-parameters-2/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | set bar(v); 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-type-parameters-2/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "An accessor cannot have type parameters at (2:9)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-type-parameters/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | get foo(): string; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set-type-parameters/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "An accessor cannot have type parameters at (2:9)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/get-set/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/get-set/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/get-set/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/index-signature/input.ts: -------------------------------------------------------------------------------- 1 | interface I { 2 | [s: string]: number; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-abstract-interface/input.ts: -------------------------------------------------------------------------------- 1 | abstract interface 2 | Foo {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-method-2/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | public b(); 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-method-3/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | protected c(); 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-method-4/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | static d(); 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-method-5/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | declare e(); 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-method-6/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | abstract f(); 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-method-7/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | readonly g(); 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-property-2/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | public b; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-property-3/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | protected c; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-property-4/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | static d; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-property-5/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | declare e; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/invalid-modifiers-property-6/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | abstract f; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/method-generic/input.ts: -------------------------------------------------------------------------------- 1 | interface I { 2 | m(): T; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/method-optional/input.ts: -------------------------------------------------------------------------------- 1 | interface I { 2 | m?(): void; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/method-plain/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/method-plain/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/modifiers/input.ts: -------------------------------------------------------------------------------- 1 | interface I { 2 | readonly x: number; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/modifiers/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/modifiers/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/new-line-error/input.ts: -------------------------------------------------------------------------------- 1 | interface 2 | F {} 3 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/new-line-error/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "strict": false 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/new-line-error/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (2:2)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/new-line/input.ts: -------------------------------------------------------------------------------- 1 | interface 2 | F 3 | {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/new-line/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "strict": false 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/new-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/new-line/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/properties/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/properties/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/property-named-public/input.ts: -------------------------------------------------------------------------------- 1 | interface I { 2 | public: number; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/reserved-method-name/input.ts: -------------------------------------------------------------------------------- 1 | interface I { 2 | catch(): void; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/separators/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/interface/separators/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/interface/this-parameters/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | bar(this: Foo); 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/body-declare/input.ts: -------------------------------------------------------------------------------- 1 | declare namespace N { 2 | const x: number; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/body/input.ts: -------------------------------------------------------------------------------- 1 | namespace N { 2 | const x = 0; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/declare-shorthand/input.ts: -------------------------------------------------------------------------------- 1 | declare module "m"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/head/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/module-namespace/head/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/module-new-line-error/input.ts: -------------------------------------------------------------------------------- 1 | module 2 | Foo {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/module-new-line-error/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (2:4)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/namespace-new-line-error/input.ts: -------------------------------------------------------------------------------- 1 | namespace 2 | Foo {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/namespace-new-line-error/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (2:4)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/namespace-new-line/input.ts: -------------------------------------------------------------------------------- 1 | namespace 2 | Foo 3 | {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/module-namespace/top-level-await/input.ts: -------------------------------------------------------------------------------- 1 | namespace N { 2 | const x = await 42; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/no-null/basic/input.tsx: -------------------------------------------------------------------------------- 1 | a.b!.c -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/no-null/basic/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/no-null/basic/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/no-null/basic/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/optional-chaining/type-arguments/input.ts: -------------------------------------------------------------------------------- 1 | example.inner?.greet() -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/regression/babel-issue-7742/input.ts: -------------------------------------------------------------------------------- 1 | interface Foo { 2 | (bar: G): T; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/regression/elision-arrow-destructuring/input.ts: -------------------------------------------------------------------------------- 1 | ([, a]): b => c; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/regression/less-than-edge-case/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/callable-class/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/scope/callable-class/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/export-declare-function-after/input.ts: -------------------------------------------------------------------------------- 1 | declare function foo(): void; 2 | 3 | export { foo }; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/export-declare-function-before/input.ts: -------------------------------------------------------------------------------- 1 | export { foo }; 2 | 3 | declare function foo(): void; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/export-interface-after/input.ts: -------------------------------------------------------------------------------- 1 | interface A {} 2 | export { A }; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/export-interface-before/input.ts: -------------------------------------------------------------------------------- 1 | export { A }; 2 | interface A {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/export-namespace/input.ts: -------------------------------------------------------------------------------- 1 | namespace N {} 2 | 3 | export { N }; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/export-type-after/input.ts: -------------------------------------------------------------------------------- 1 | type A = number; 2 | export { A }; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/export-type-before/input.ts: -------------------------------------------------------------------------------- 1 | export { A }; 2 | type A = number; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-class-class/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `A` has already been declared at (2:6)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-class-enum/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `A` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-class-type/input.ts: -------------------------------------------------------------------------------- 1 | class A {} 2 | type A = number; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-class-type/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `A` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-constenum-enum/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `X` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-enum-class/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `X` has already been declared at (2:6)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-enum-constenum/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `X` has already been declared at (2:11)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-enum-function/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `Foo` has already been declared at (2:9)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-enum-interface/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `X` has already been declared at (2:10)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-enum-let/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `Foo` has already been declared at (2:4)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-enum-type/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `X` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-enum-var/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `Foo` has already been declared at (2:4)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-function-enum/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `Foo` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-function-interface/input.ts: -------------------------------------------------------------------------------- 1 | function A() {} 2 | interface A {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-function-type/input.ts: -------------------------------------------------------------------------------- 1 | function A() {} 2 | type A = number; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-interface-enum/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `X` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-interface-function/input.ts: -------------------------------------------------------------------------------- 1 | interface A {} 2 | function A() {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-interface-let/input.ts: -------------------------------------------------------------------------------- 1 | interface A {} 2 | let A; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-interface-var/input.ts: -------------------------------------------------------------------------------- 1 | interface A {} 2 | var A; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-let-enum/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `Foo` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-let-interface/input.ts: -------------------------------------------------------------------------------- 1 | let A; 2 | interface A {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-type-class/input.ts: -------------------------------------------------------------------------------- 1 | type A = number; 2 | class A {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-type-class/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `A` has already been declared at (2:6)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-type-enum/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `A` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-type-function/input.ts: -------------------------------------------------------------------------------- 1 | type A = number; 2 | function A() {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-type-interface/input.ts: -------------------------------------------------------------------------------- 1 | type A = number; 2 | interface A {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-type-interface/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `A` has already been declared at (2:10)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-type-let/input.ts: -------------------------------------------------------------------------------- 1 | type A = number; 2 | let A; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-type-type/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `A` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-type-var/input.ts: -------------------------------------------------------------------------------- 1 | type A = number; 2 | var A; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-var-enum/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Identifier `Foo` has already been declared at (2:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/scope/redeclaration-var-interface/input.ts: -------------------------------------------------------------------------------- 1 | var A; 2 | interface A {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-accessibility-private-01/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | private static {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-accessibility-private-02/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static private {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-accessibility-private-02/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (2:17)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-accessibility-protected-01/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | protected static {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-accessibility-protected-02/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static protected {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-accessibility-protected-02/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (2:19)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-accessibility-public-01/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | public static {} 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-accessibility-public-02/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static public {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-accessibility-public-02/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (2:16)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-modifier-abstract-01/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | abstract static {} 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-modifier-abstract-02/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static abstract {} 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-modifier-override-01/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | override static {} 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-modifier-override-01/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Static class blocks cannot have any modifier at (2:11)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-modifier-override-02/input.ts: -------------------------------------------------------------------------------- 1 | class Foo extends A { 2 | static override {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-modifier-override-02/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (2:18)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-block-with-modifier-static/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `{` at (2:16)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-blocks-with-modifer-declare-01/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | declare static {} 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-blocks-with-modifer-declare-01/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Static class blocks cannot have any modifier at (2:10)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-blocks-with-modifer-declare-02/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static declare {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-blocks-with-modifer-declare-02/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (2:17)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-blocks-with-modifier-readonly-01/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | readonly static {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-blocks-with-modifier-readonly-02/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static readonly {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/invalid-static-blocks-with-modifier-readonly-02/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (2:18)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/static-blocks/static-blocks/input.ts: -------------------------------------------------------------------------------- 1 | class Foo { 2 | static {} 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/anonymous-function-generator-invalid/input.ts: -------------------------------------------------------------------------------- 1 | const fn = function* <,>(input: T): Generator { 2 | yield 2; 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/anonymous-function-generator-invalid/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/anonymous-function-generator-invalid/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `>` at (1:23)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/anonymous-function-generator/input.ts: -------------------------------------------------------------------------------- 1 | const fn = function* (input: T): Generator { 2 | yield 2; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/anonymous-function-generator/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/arrow-fn/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/arrow-fn/input.tsx -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/arrow-fn/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/arrow-fn/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/arrow-fn/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/assignment-in-conditional-expression/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/brace-is-block/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/brace-is-block/input.tsx -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/brace-is-block/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/brace-is-block/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/brace-is-block/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/cast-invalid/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/cast-invalid/input.tsx -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/cast-invalid/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/cast-invalid/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected type annotation at (3:21)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/cond/input.tsx: -------------------------------------------------------------------------------- 1 | function Foo() { 2 | return a ?
: null; 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/cond/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/cond/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/cond/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/fragment/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/fragment/input.tsx -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/fragment/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/fragment/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/fragment/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/hyphen/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/hyphen/input.tsx -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/hyphen/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/hyphen/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/hyphen/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/line-comment/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/line-comment/input.tsx -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/line-comment/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/line-comment/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/line-comment/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/self-closed/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/self-closed/input.tsx -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/self-closed/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/self-closed/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/self-closed/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/type-arguments/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/type-arguments/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/type-arguments/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/type-arguments/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/type-parameters/input.ts: -------------------------------------------------------------------------------- 1 | function f(): () => number {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/type-parameters/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/type-parameters/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/wrap-needed/input.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/wrap-needed/input.tsx -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/wrap-needed/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/tsx/wrap-needed/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/tsx/wrap-needed/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/declare-new-line/input.ts: -------------------------------------------------------------------------------- 1 | declare type 2 | T = number -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/declare/input.ts: -------------------------------------------------------------------------------- 1 | declare type T = number; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/declare/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-alias/declare/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/export/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-alias/export/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/export/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-alias/export/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/generic-complex-tokens-true/input.ts: -------------------------------------------------------------------------------- 1 | type T = Array; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/generic/input.ts: -------------------------------------------------------------------------------- 1 | type T = U; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/generic/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-alias/generic/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/plain/input.ts: -------------------------------------------------------------------------------- 1 | type T = number; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-alias/plain/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-alias/plain/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments-bit-shift-left-like/after-bit-shift/input.ts: -------------------------------------------------------------------------------- 1 | f<<(x) -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments-bit-shift-left-like/call-expression/input.ts: -------------------------------------------------------------------------------- 1 | f<(v: T) => void>(); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments-bit-shift-left-like/class-heritage/input.ts: -------------------------------------------------------------------------------- 1 | (class extends f<(v: T) => void> {}); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments-bit-shift-left-like/jsx-opening-element/input.tsx: -------------------------------------------------------------------------------- 1 | (v: T) => void> /> -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments-bit-shift-left-like/jsx-opening-element/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments-bit-shift-left-like/new-expression/input.ts: -------------------------------------------------------------------------------- 1 | new f<(v: T) => void>(); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments-bit-shift-left-like/type-arguments-like/input.ts: -------------------------------------------------------------------------------- 1 | f<< T > (()=>T) > T -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/any-array/input.ts: -------------------------------------------------------------------------------- 1 | const [val, setVal] = useState([]); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/any-array/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/call-optional-chain-invalid/input.ts: -------------------------------------------------------------------------------- 1 | f?.[1]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/call-optional-chain-invalid/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `[` at (1:11)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/call/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-arguments/call/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/call/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-arguments/call/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-function/input.ts: -------------------------------------------------------------------------------- 1 | foo<>() -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-function/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type argument list cannot be empty at (1:3)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-interface-extends/input.ts: -------------------------------------------------------------------------------- 1 | interface A extends B<> {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-interface-extends/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type argument list cannot be empty at (1:21)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-interface-implements/input.ts: -------------------------------------------------------------------------------- 1 | class A implements B<> {} 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-interface-implements/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type argument list cannot be empty at (1:20)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-new/input.ts: -------------------------------------------------------------------------------- 1 | new A<>(); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-new/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type argument list cannot be empty at (1:5)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-superclass/input.ts: -------------------------------------------------------------------------------- 1 | class A extends B<> {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-superclass/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type argument list cannot be empty at (1:17)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-tsx/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-tsx/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type argument list cannot be empty at (1:13)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-type-import/input.ts: -------------------------------------------------------------------------------- 1 | let a: import("")<>; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-type-import/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type argument list cannot be empty at (1:17)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-type-ref/input.ts: -------------------------------------------------------------------------------- 1 | let a: Foo<>; 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/empty-type-ref/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Type argument list cannot be empty at (1:10)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/new-false-positive-2/input.ts: -------------------------------------------------------------------------------- 1 | new A; 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/new-false-positive-2/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `;` at (1:8)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/new-false-positive/input.ts: -------------------------------------------------------------------------------- 1 | new A < T; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/new/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-arguments/new/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/new/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-arguments/new/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/tagged-template-no-asi/input.ts: -------------------------------------------------------------------------------- 1 | new C 2 | `` -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/tagged-template/input.ts: -------------------------------------------------------------------------------- 1 | f``; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/tsx/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-arguments/tsx/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/tsx/options.json: -------------------------------------------------------------------------------- 1 | { 2 | "jsx": true 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/tsx/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/type-arguments/tsx/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-arguments/whitespace/input.ts: -------------------------------------------------------------------------------- 1 | function f< T >() {} -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/export-named-type/input.ts: -------------------------------------------------------------------------------- 1 | export { type } from "./mod.js"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/export-type-only-keyword/input.ts: -------------------------------------------------------------------------------- 1 | const a = {}; 2 | export { type a }; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/export-type-only-named-as/input.ts: -------------------------------------------------------------------------------- 1 | export { type as } from "./mod.js"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/expport-invalid-escaped-type-only/input.ts: -------------------------------------------------------------------------------- 1 | export { typ\u0065 as } from "x"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/expport-invalid-escaped-type-only/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `}` at (1:22)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/import-invalid-escaped-type-only/input.ts: -------------------------------------------------------------------------------- 1 | import { typ\u0065 as } from "x"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/import-invalid-escaped-type-only/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `}` at (1:22)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/import-invalid-named-type-as-keyword/input.ts: -------------------------------------------------------------------------------- 1 | import { type as if } from "mod"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/import-invalid-type-only-as-as-keyword/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `if` at (1:20)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/import-invalid-type-only-as-string/input.ts: -------------------------------------------------------------------------------- 1 | import { type foo as "bar" } from "mod"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/import-invalid-type-only-as-string/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `string` at (1:21)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/import-named-type/input.ts: -------------------------------------------------------------------------------- 1 | import { type } from "./mod.js"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/type-only-import-export-specifiers/import-type-only-named-as/input.ts: -------------------------------------------------------------------------------- 1 | import { type as } from "./mod.js"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/abstract-constructor-signatures/input.ts: -------------------------------------------------------------------------------- 1 | let x: abstract new () => void = X; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/array/input.ts: -------------------------------------------------------------------------------- 1 | let arr: number[][]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/array/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/array/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/conditional-infer/input.ts: -------------------------------------------------------------------------------- 1 | type Element = T extends (infer U)[] ? U : T; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/conditional/input.ts: -------------------------------------------------------------------------------- 1 | let x: number extends string ? boolean : null; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/conditional/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/conditional/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/constructor-signatures/input.ts: -------------------------------------------------------------------------------- 1 | let x: new () => void = X; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/function-generic/input.ts: -------------------------------------------------------------------------------- 1 | let f: (a: T) => T; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/function-in-generic/input.ts: -------------------------------------------------------------------------------- 1 | let x: Array<() => void>; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/function-with-this/input.ts: -------------------------------------------------------------------------------- 1 | let f: (this: number) => void; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/function/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/function/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/function/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/function/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/import-type-declaration-error/input.ts: -------------------------------------------------------------------------------- 1 | import type FooDefault, { Bar, Baz } from "module"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/import-type-dynamic-errors-2/input.ts: -------------------------------------------------------------------------------- 1 | type Y = import(`Foo`); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/import-type-dynamic-errors-3/input.ts: -------------------------------------------------------------------------------- 1 | type Z = import(Y); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/import-type-dynamic-errors/input.ts: -------------------------------------------------------------------------------- 1 | type X = import(3); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/import-type-escaped-error/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `identifier` at (1:17)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/indexed/input.ts: -------------------------------------------------------------------------------- 1 | let x: T[K]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/indexed/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/indexed/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/intrinsic-keyword-error/input.ts: -------------------------------------------------------------------------------- 1 | type Foo = intrinsic["foo"]; 2 | 3 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/intrinsic-keyword-error/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token at (1:20)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/keywords/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/keywords/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/keywords/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/keywords/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-bigint-negative/input.ts: -------------------------------------------------------------------------------- 1 | let x: -1n; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-bigint/input.ts: -------------------------------------------------------------------------------- 1 | let x: 0n; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-boolean/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/literal-boolean/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-number-negative/input.ts: -------------------------------------------------------------------------------- 1 | let x: -1; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-number/input.ts: -------------------------------------------------------------------------------- 1 | let x: 0; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-string-1/input.ts: -------------------------------------------------------------------------------- 1 | let x: `foo`; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-string-2/input.ts: -------------------------------------------------------------------------------- 1 | let x: `foo-${bar}`; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-string-3/input.ts: -------------------------------------------------------------------------------- 1 | let x: `foo-${bar + baz}`; 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-string-3/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `+` at (1:18)" 3 | } 4 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-string-4/input.ts: -------------------------------------------------------------------------------- 1 | let x: `foo-${infer bar}`; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/literal-string/input.ts: -------------------------------------------------------------------------------- 1 | let x: "foo"; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/mapped-2/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/mapped-2/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/mapped-2/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/mapped-2/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/mapped-as-invalid/input.ts: -------------------------------------------------------------------------------- 1 | type Foo = { [K in keyof T as]: T[K] }; 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/mapped-as-invalid/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `]` at (1:32)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/mapped/input.ts: -------------------------------------------------------------------------------- 1 | type a = { +readonly [P in keyof A as B]-?: number; }; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/mapped/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/mapped/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/new-line/input.ts: -------------------------------------------------------------------------------- 1 | type 2 | Foo = string; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/new-line/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/new-line/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/object-shorthand/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/object-shorthand/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/parenthesized/input.ts: -------------------------------------------------------------------------------- 1 | type T = ({}); -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/parenthesized/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/parenthesized/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only-1/input.ts: -------------------------------------------------------------------------------- 1 | type T30 = readonly string; // Error -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only-1/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/read-only-1/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only-2/input.ts: -------------------------------------------------------------------------------- 1 | type T31 = readonly T; // Error -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only-2/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/read-only-2/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only-3/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/read-only-3/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only-3/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/read-only-3/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only-4/input.ts: -------------------------------------------------------------------------------- 1 | type T33 = readonly Array; // Error -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only-4/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/read-only-4/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/read-only/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/read-only/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/read-only/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/reference-generic/input.ts: -------------------------------------------------------------------------------- 1 | let x: Array; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/reference/input.ts: -------------------------------------------------------------------------------- 1 | let x: T; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/reference/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/reference/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-empty/input.ts: -------------------------------------------------------------------------------- 1 | let x: []; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-empty/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/tuple-empty/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-invalid-label-1/input.ts: -------------------------------------------------------------------------------- 1 | type T = [x.y: A]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-invalid-label-2/input.ts: -------------------------------------------------------------------------------- 1 | type T = [x: A]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-labeled-after-unlabeled/input.ts: -------------------------------------------------------------------------------- 1 | type T = [A, y: B]; 2 | -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-labeled-before-unlabeled/input.ts: -------------------------------------------------------------------------------- 1 | type T = [x: A, B]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-labeled-invalid-optional/input.ts: -------------------------------------------------------------------------------- 1 | type T = [x: A?]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-labeled-invalid-optional/output.json: -------------------------------------------------------------------------------- 1 | { 2 | "throws": "Unexpected token `?` at (1:14)" 3 | } -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-labeled-spread/input.ts: -------------------------------------------------------------------------------- 1 | let x: [A: string, ...B: number[]] -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-labeled/input.ts: -------------------------------------------------------------------------------- 1 | type T = [foo: string, bar?: number]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-labeled/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/tuple-labeled/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-optional-invalid/input.ts: -------------------------------------------------------------------------------- 1 | let x: [string?, number] -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-optional/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/tuple-optional/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-required-after-labeled-optional/input.ts: -------------------------------------------------------------------------------- 1 | type T = [x?: A, y: B]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-rest/input.ts: -------------------------------------------------------------------------------- 1 | let x: [string, ...number[]] -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-rest/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/tuple-rest/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-unlabeled-spread-after-labeled/input.ts: -------------------------------------------------------------------------------- 1 | type T = [x: A, ...B[]]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple-unlabeled-spread-before-labeled/input.ts: -------------------------------------------------------------------------------- 1 | type T = [...B[], x: A]; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/tuple/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/tuple/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/tuple/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/type-literal/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/type-literal/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/type-literal/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/type-literal/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/type-operator/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/type-operator/input.ts -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/type-operator/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/type-operator/output.json -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/typeof/input.ts: -------------------------------------------------------------------------------- 1 | let x: typeof y.z; -------------------------------------------------------------------------------- /ecma/estree/test/fixture/typescript/types/typeof/output.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/fixture/typescript/types/typeof/output.json -------------------------------------------------------------------------------- /ecma/estree/test/perf/asset/angular.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/perf/asset/angular.js -------------------------------------------------------------------------------- /ecma/estree/test/perf/asset/backbone.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/perf/asset/backbone.js -------------------------------------------------------------------------------- /ecma/estree/test/perf/asset/ember.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/perf/asset/ember.js -------------------------------------------------------------------------------- /ecma/estree/test/perf/asset/jquery.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/perf/asset/jquery.js -------------------------------------------------------------------------------- /ecma/estree/test/perf/asset/react-dom.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/perf/asset/react-dom.js -------------------------------------------------------------------------------- /ecma/estree/test/perf/asset/react.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/perf/asset/react.js -------------------------------------------------------------------------------- /ecma/estree/test/perf/perf_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/test/perf/perf_test.go -------------------------------------------------------------------------------- /ecma/estree/ts_convert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/ts_convert.go -------------------------------------------------------------------------------- /ecma/estree/ts_node.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/estree/ts_node.go -------------------------------------------------------------------------------- /ecma/exec/vm.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/exec/vm.go -------------------------------------------------------------------------------- /ecma/exec/vm_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/exec/vm_test.go -------------------------------------------------------------------------------- /ecma/parser/ast.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/ast.go -------------------------------------------------------------------------------- /ecma/parser/astutil.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/astutil.go -------------------------------------------------------------------------------- /ecma/parser/consts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/consts.go -------------------------------------------------------------------------------- /ecma/parser/errors.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/errors.go -------------------------------------------------------------------------------- /ecma/parser/feature.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/feature.go -------------------------------------------------------------------------------- /ecma/parser/html_entity.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/html_entity.go -------------------------------------------------------------------------------- /ecma/parser/jsx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/jsx.go -------------------------------------------------------------------------------- /ecma/parser/jsx_ast.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/jsx_ast.go -------------------------------------------------------------------------------- /ecma/parser/jsx_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/jsx_test.go -------------------------------------------------------------------------------- /ecma/parser/lexer.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/lexer.go -------------------------------------------------------------------------------- /ecma/parser/lexer_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/lexer_test.go -------------------------------------------------------------------------------- /ecma/parser/nodetype.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/nodetype.go -------------------------------------------------------------------------------- /ecma/parser/nodetype_string.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/nodetype_string.go -------------------------------------------------------------------------------- /ecma/parser/parser.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/parser.go -------------------------------------------------------------------------------- /ecma/parser/parser_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/parser_test.go -------------------------------------------------------------------------------- /ecma/parser/symtab.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/symtab.go -------------------------------------------------------------------------------- /ecma/parser/token.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/token.go -------------------------------------------------------------------------------- /ecma/parser/token_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/token_test.go -------------------------------------------------------------------------------- /ecma/parser/ts.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/ts.go -------------------------------------------------------------------------------- /ecma/parser/ts_ast.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/ts_ast.go -------------------------------------------------------------------------------- /ecma/parser/ts_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/ts_test.go -------------------------------------------------------------------------------- /ecma/parser/typinfo.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/parser/typinfo.go -------------------------------------------------------------------------------- /ecma/walk/ctx.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/walk/ctx.go -------------------------------------------------------------------------------- /ecma/walk/visitor.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/walk/visitor.go -------------------------------------------------------------------------------- /ecma/walk/visitor_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/ecma/walk/visitor_test.go -------------------------------------------------------------------------------- /go.mod: -------------------------------------------------------------------------------- 1 | module github.com/hsiaosiyuan0/mole 2 | 3 | go 1.18 4 | -------------------------------------------------------------------------------- /parseutil/cache.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/parseutil/cache.go -------------------------------------------------------------------------------- /script/html_entity/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/script/html_entity/main.go -------------------------------------------------------------------------------- /script/macro/parse.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/script/macro/parse.go -------------------------------------------------------------------------------- /script/macro/parse_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/script/macro/parse_test.go -------------------------------------------------------------------------------- /script/nodetype_gen/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/script/nodetype_gen/main.go -------------------------------------------------------------------------------- /script/visitor_gen/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/script/visitor_gen/main.go -------------------------------------------------------------------------------- /setup.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/setup.sh -------------------------------------------------------------------------------- /span/source.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/span/source.go -------------------------------------------------------------------------------- /span/source_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/span/source_test.go -------------------------------------------------------------------------------- /util/assert.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/assert.go -------------------------------------------------------------------------------- /util/lru.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/lru.go -------------------------------------------------------------------------------- /util/map.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/map.go -------------------------------------------------------------------------------- /util/merge.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/merge.go -------------------------------------------------------------------------------- /util/obj.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/obj.go -------------------------------------------------------------------------------- /util/sets.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/sets.go -------------------------------------------------------------------------------- /util/shell.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/shell.go -------------------------------------------------------------------------------- /util/slice.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/slice.go -------------------------------------------------------------------------------- /util/slice_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/slice_test.go -------------------------------------------------------------------------------- /util/str.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/str.go -------------------------------------------------------------------------------- /util/str_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/str_test.go -------------------------------------------------------------------------------- /util/test/asset/walk_dir/a/a1/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/test/asset/walk_dir/a/a2/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/test/asset/walk_dir/a/a3/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/test/asset/walk_dir/b/b1/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/test/asset/walk_dir/b/b2/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/test/asset/walk_dir/b/b3/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/test/asset/walk_dir/c/c1/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/test/asset/walk_dir/c/c2/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/test/asset/walk_dir/c/c3/.gitkeep: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /util/walkdir.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/walkdir.go -------------------------------------------------------------------------------- /util/walkdir_test.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/util/walkdir_test.go -------------------------------------------------------------------------------- /wasm/main.go: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/hsiaosiyuan0/mole/HEAD/wasm/main.go --------------------------------------------------------------------------------