├── .changeset ├── README.md └── config.json ├── .github └── workflows │ ├── ci.yml │ ├── preview-release.yml │ └── release.yml ├── .gitignore ├── .prettierignore ├── .prettierrc ├── CHANGELOG.md ├── LICENSE ├── README.md ├── package.json ├── pnpm-lock.yaml ├── src ├── context.js ├── index.js ├── languages │ ├── ts │ │ ├── index.js │ │ └── public.d.ts │ ├── tsx │ │ ├── index.js │ │ └── public.d.ts │ └── types.d.ts ├── public.d.ts └── types.d.ts ├── test ├── additional-comments.test.js ├── common.js ├── esrap.test.js ├── indent.test.js ├── pluggability.test.js ├── quotes.test.js ├── samples │ ├── array-expressions │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── arrow-function-as-statement │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── arrow-function-needs-braces │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── arrow-function-parenthesized │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── await-precedence │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── basic │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── bigint │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── break-continue │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── call-expressions │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── chain-expressions │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── class-property │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── class-static-block │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-after-function-argument │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-before-import │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-between-blocks │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-block │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-inline-inserted │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-inline │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-interpolated │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-mixed-trailing │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-within-call-expression │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── comment-within-parentheses │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── computed-getter │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── deconflict-let │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── deconflict-method │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── destructured-assignment │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── destructured-declaration │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── empty-block │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── empty-body │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── empty-statement │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── export-all-as │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── export │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── function-declaration │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── function-expression │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── import-as │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── import-attributes │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── import-default-and-named │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── import-default-and-namespace │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── import-many │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── import │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── inserted-parameter │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── inserted-parameters │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── jsdoc-indentation │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── jsx-basic │ │ ├── expected.jsx │ │ ├── expected.jsx.map │ │ └── input.jsx │ ├── large-file │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── logical-expression │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── meta-property │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── method │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── nested-blocks │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── object-expressions │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── parenthesized-expression │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── regex │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── removes-parens │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── string-literal │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── switch │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── tagged-template │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── try-catch │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── ts-abstract-class │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-accessor-properties │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-as-expression │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-class-properties │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-declare │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-decorators-class │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-decorators-expression │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-decorators │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-enums │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-export │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-generic-types │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-implements │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-import-type │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-index-access-type │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-infer-extends │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-instantiation-expression │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-interfaces │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-keywords │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-large-file │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-module-declaration │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-null-keyword │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-object-patterns │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-return-type │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-satisfies-expression │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-signatures │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-simple-function-types │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-simple-identifier-types │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-typed-imports │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-types │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-undefined-keyword │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-utility-types │ │ ├── expected.ts │ │ ├── expected.ts.map │ │ └── input.ts │ ├── ts-var-declaration │ │ ├── expected.ts │ │ └── expected.ts.map │ ├── var-declaration │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js │ ├── with │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.json │ └── yield │ │ ├── expected.js │ │ ├── expected.js.map │ │ └── input.js └── sandbox │ └── index.js └── tsconfig.json /.changeset/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/.changeset/README.md -------------------------------------------------------------------------------- /.changeset/config.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/.changeset/config.json -------------------------------------------------------------------------------- /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/preview-release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/.github/workflows/preview-release.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/.gitignore -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/.prettierignore -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/README.md -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/package.json -------------------------------------------------------------------------------- /pnpm-lock.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/pnpm-lock.yaml -------------------------------------------------------------------------------- /src/context.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/src/context.js -------------------------------------------------------------------------------- /src/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/src/index.js -------------------------------------------------------------------------------- /src/languages/ts/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/src/languages/ts/index.js -------------------------------------------------------------------------------- /src/languages/ts/public.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/src/languages/ts/public.d.ts -------------------------------------------------------------------------------- /src/languages/tsx/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/src/languages/tsx/index.js -------------------------------------------------------------------------------- /src/languages/tsx/public.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/src/languages/tsx/public.d.ts -------------------------------------------------------------------------------- /src/languages/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/src/languages/types.d.ts -------------------------------------------------------------------------------- /src/public.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/src/public.d.ts -------------------------------------------------------------------------------- /src/types.d.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/src/types.d.ts -------------------------------------------------------------------------------- /test/additional-comments.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/additional-comments.test.js -------------------------------------------------------------------------------- /test/common.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/common.js -------------------------------------------------------------------------------- /test/esrap.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/esrap.test.js -------------------------------------------------------------------------------- /test/indent.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/indent.test.js -------------------------------------------------------------------------------- /test/pluggability.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/pluggability.test.js -------------------------------------------------------------------------------- /test/quotes.test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/quotes.test.js -------------------------------------------------------------------------------- /test/samples/array-expressions/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/array-expressions/expected.js -------------------------------------------------------------------------------- /test/samples/array-expressions/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/array-expressions/expected.js.map -------------------------------------------------------------------------------- /test/samples/array-expressions/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/array-expressions/input.js -------------------------------------------------------------------------------- /test/samples/arrow-function-as-statement/expected.js: -------------------------------------------------------------------------------- 1 | () => {}; 2 | -------------------------------------------------------------------------------- /test/samples/arrow-function-as-statement/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/arrow-function-as-statement/expected.js.map -------------------------------------------------------------------------------- /test/samples/arrow-function-as-statement/input.js: -------------------------------------------------------------------------------- 1 | () => { 2 | 3 | }; 4 | -------------------------------------------------------------------------------- /test/samples/arrow-function-needs-braces/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/arrow-function-needs-braces/expected.js -------------------------------------------------------------------------------- /test/samples/arrow-function-needs-braces/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/arrow-function-needs-braces/expected.js.map -------------------------------------------------------------------------------- /test/samples/arrow-function-needs-braces/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/arrow-function-needs-braces/input.js -------------------------------------------------------------------------------- /test/samples/arrow-function-parenthesized/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/arrow-function-parenthesized/expected.js -------------------------------------------------------------------------------- /test/samples/arrow-function-parenthesized/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/arrow-function-parenthesized/expected.js.map -------------------------------------------------------------------------------- /test/samples/arrow-function-parenthesized/input.js: -------------------------------------------------------------------------------- 1 | foo || (bar => bar); -------------------------------------------------------------------------------- /test/samples/await-precedence/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/await-precedence/expected.js -------------------------------------------------------------------------------- /test/samples/await-precedence/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/await-precedence/expected.js.map -------------------------------------------------------------------------------- /test/samples/await-precedence/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/await-precedence/input.js -------------------------------------------------------------------------------- /test/samples/basic/expected.js: -------------------------------------------------------------------------------- 1 | foo({ a: 1 }); 2 | -------------------------------------------------------------------------------- /test/samples/basic/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/basic/expected.js.map -------------------------------------------------------------------------------- /test/samples/basic/input.js: -------------------------------------------------------------------------------- 1 | foo({ a: 1 }); 2 | -------------------------------------------------------------------------------- /test/samples/bigint/expected.js: -------------------------------------------------------------------------------- 1 | 12345n; 2 | -------------------------------------------------------------------------------- /test/samples/bigint/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/bigint/expected.js.map -------------------------------------------------------------------------------- /test/samples/bigint/input.js: -------------------------------------------------------------------------------- 1 | 12345n; 2 | -------------------------------------------------------------------------------- /test/samples/break-continue/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/break-continue/expected.js -------------------------------------------------------------------------------- /test/samples/break-continue/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/break-continue/expected.js.map -------------------------------------------------------------------------------- /test/samples/break-continue/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/break-continue/input.js -------------------------------------------------------------------------------- /test/samples/call-expressions/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/call-expressions/expected.js -------------------------------------------------------------------------------- /test/samples/call-expressions/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/call-expressions/expected.js.map -------------------------------------------------------------------------------- /test/samples/call-expressions/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/call-expressions/input.js -------------------------------------------------------------------------------- /test/samples/chain-expressions/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/chain-expressions/expected.js -------------------------------------------------------------------------------- /test/samples/chain-expressions/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/chain-expressions/expected.js.map -------------------------------------------------------------------------------- /test/samples/chain-expressions/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/chain-expressions/input.js -------------------------------------------------------------------------------- /test/samples/class-property/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/class-property/expected.js -------------------------------------------------------------------------------- /test/samples/class-property/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/class-property/expected.js.map -------------------------------------------------------------------------------- /test/samples/class-property/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/class-property/input.js -------------------------------------------------------------------------------- /test/samples/class-static-block/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/class-static-block/expected.js -------------------------------------------------------------------------------- /test/samples/class-static-block/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/class-static-block/expected.js.map -------------------------------------------------------------------------------- /test/samples/class-static-block/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/class-static-block/input.js -------------------------------------------------------------------------------- /test/samples/comment-after-function-argument/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-after-function-argument/expected.js -------------------------------------------------------------------------------- /test/samples/comment-after-function-argument/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-after-function-argument/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-after-function-argument/input.js: -------------------------------------------------------------------------------- 1 | foo(function bar() { 2 | // logic goes here 3 | }, true); // trailing comment 4 | -------------------------------------------------------------------------------- /test/samples/comment-before-import/expected.js: -------------------------------------------------------------------------------- 1 | /* hello */ 2 | import 'potato'; 3 | -------------------------------------------------------------------------------- /test/samples/comment-before-import/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-before-import/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-before-import/input.js: -------------------------------------------------------------------------------- 1 | /* hello */ 2 | import 'potato'; 3 | -------------------------------------------------------------------------------- /test/samples/comment-between-blocks/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-between-blocks/expected.js -------------------------------------------------------------------------------- /test/samples/comment-between-blocks/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-between-blocks/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-between-blocks/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-between-blocks/input.js -------------------------------------------------------------------------------- /test/samples/comment-block/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-block/expected.js -------------------------------------------------------------------------------- /test/samples/comment-block/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-block/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-block/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-block/input.js -------------------------------------------------------------------------------- /test/samples/comment-inline-inserted/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-inline-inserted/expected.js -------------------------------------------------------------------------------- /test/samples/comment-inline-inserted/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-inline-inserted/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-inline-inserted/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-inline-inserted/input.js -------------------------------------------------------------------------------- /test/samples/comment-inline/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-inline/expected.js -------------------------------------------------------------------------------- /test/samples/comment-inline/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-inline/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-inline/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-inline/input.js -------------------------------------------------------------------------------- /test/samples/comment-interpolated/expected.js: -------------------------------------------------------------------------------- 1 | a = /* the answer */ 42; 2 | -------------------------------------------------------------------------------- /test/samples/comment-interpolated/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-interpolated/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-interpolated/input.js: -------------------------------------------------------------------------------- 1 | a = /* the answer */ 42; 2 | -------------------------------------------------------------------------------- /test/samples/comment-mixed-trailing/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-mixed-trailing/expected.js -------------------------------------------------------------------------------- /test/samples/comment-mixed-trailing/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-mixed-trailing/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-mixed-trailing/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-mixed-trailing/input.js -------------------------------------------------------------------------------- /test/samples/comment-within-call-expression/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-within-call-expression/expected.js -------------------------------------------------------------------------------- /test/samples/comment-within-call-expression/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-within-call-expression/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-within-call-expression/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-within-call-expression/input.js -------------------------------------------------------------------------------- /test/samples/comment-within-parentheses/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-within-parentheses/expected.js -------------------------------------------------------------------------------- /test/samples/comment-within-parentheses/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-within-parentheses/expected.js.map -------------------------------------------------------------------------------- /test/samples/comment-within-parentheses/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/comment-within-parentheses/input.js -------------------------------------------------------------------------------- /test/samples/computed-getter/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/computed-getter/expected.js -------------------------------------------------------------------------------- /test/samples/computed-getter/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/computed-getter/expected.js.map -------------------------------------------------------------------------------- /test/samples/computed-getter/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/computed-getter/input.js -------------------------------------------------------------------------------- /test/samples/deconflict-let/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/deconflict-let/expected.js -------------------------------------------------------------------------------- /test/samples/deconflict-let/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/deconflict-let/expected.js.map -------------------------------------------------------------------------------- /test/samples/deconflict-let/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/deconflict-let/input.js -------------------------------------------------------------------------------- /test/samples/deconflict-method/expected.js: -------------------------------------------------------------------------------- 1 | obj = { a(foo) {} }; 2 | -------------------------------------------------------------------------------- /test/samples/deconflict-method/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/deconflict-method/expected.js.map -------------------------------------------------------------------------------- /test/samples/deconflict-method/input.js: -------------------------------------------------------------------------------- 1 | obj = { 2 | a(foo) { 3 | 4 | } 5 | }; 6 | -------------------------------------------------------------------------------- /test/samples/destructured-assignment/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/destructured-assignment/expected.js -------------------------------------------------------------------------------- /test/samples/destructured-assignment/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/destructured-assignment/expected.js.map -------------------------------------------------------------------------------- /test/samples/destructured-assignment/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/destructured-assignment/input.js -------------------------------------------------------------------------------- /test/samples/destructured-declaration/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/destructured-declaration/expected.js -------------------------------------------------------------------------------- /test/samples/destructured-declaration/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/destructured-declaration/expected.js.map -------------------------------------------------------------------------------- /test/samples/destructured-declaration/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/destructured-declaration/input.js -------------------------------------------------------------------------------- /test/samples/empty-block/expected.js: -------------------------------------------------------------------------------- 1 | if (false) {} 2 | 3 | function x() {} -------------------------------------------------------------------------------- /test/samples/empty-block/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/empty-block/expected.js.map -------------------------------------------------------------------------------- /test/samples/empty-block/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/empty-block/input.js -------------------------------------------------------------------------------- /test/samples/empty-body/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/empty-body/expected.js -------------------------------------------------------------------------------- /test/samples/empty-body/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/empty-body/expected.js.map -------------------------------------------------------------------------------- /test/samples/empty-body/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/empty-body/input.js -------------------------------------------------------------------------------- /test/samples/empty-statement/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/empty-statement/expected.js -------------------------------------------------------------------------------- /test/samples/empty-statement/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/empty-statement/expected.js.map -------------------------------------------------------------------------------- /test/samples/empty-statement/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/empty-statement/input.js -------------------------------------------------------------------------------- /test/samples/export-all-as/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/export-all-as/expected.js -------------------------------------------------------------------------------- /test/samples/export-all-as/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/export-all-as/expected.js.map -------------------------------------------------------------------------------- /test/samples/export-all-as/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/export-all-as/input.js -------------------------------------------------------------------------------- /test/samples/export/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/export/expected.js -------------------------------------------------------------------------------- /test/samples/export/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/export/expected.js.map -------------------------------------------------------------------------------- /test/samples/export/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/export/input.js -------------------------------------------------------------------------------- /test/samples/function-declaration/expected.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | bar; 3 | } 4 | -------------------------------------------------------------------------------- /test/samples/function-declaration/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/function-declaration/expected.js.map -------------------------------------------------------------------------------- /test/samples/function-declaration/input.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | bar; 3 | } 4 | -------------------------------------------------------------------------------- /test/samples/function-expression/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/function-expression/expected.js -------------------------------------------------------------------------------- /test/samples/function-expression/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/function-expression/expected.js.map -------------------------------------------------------------------------------- /test/samples/function-expression/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/function-expression/input.js -------------------------------------------------------------------------------- /test/samples/import-as/expected.js: -------------------------------------------------------------------------------- 1 | import { foo as bar } from 'x'; -------------------------------------------------------------------------------- /test/samples/import-as/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import-as/expected.js.map -------------------------------------------------------------------------------- /test/samples/import-as/input.js: -------------------------------------------------------------------------------- 1 | import { foo as bar } from 'x'; -------------------------------------------------------------------------------- /test/samples/import-attributes/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import-attributes/expected.js -------------------------------------------------------------------------------- /test/samples/import-attributes/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import-attributes/expected.js.map -------------------------------------------------------------------------------- /test/samples/import-attributes/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import-attributes/input.js -------------------------------------------------------------------------------- /test/samples/import-default-and-named/expected.js: -------------------------------------------------------------------------------- 1 | import a, { b, c as d } from 'x'; -------------------------------------------------------------------------------- /test/samples/import-default-and-named/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import-default-and-named/expected.js.map -------------------------------------------------------------------------------- /test/samples/import-default-and-named/input.js: -------------------------------------------------------------------------------- 1 | import a, { b, c as d } from 'x'; -------------------------------------------------------------------------------- /test/samples/import-default-and-namespace/expected.js: -------------------------------------------------------------------------------- 1 | import a, * as b from 'x'; 2 | -------------------------------------------------------------------------------- /test/samples/import-default-and-namespace/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import-default-and-namespace/expected.js.map -------------------------------------------------------------------------------- /test/samples/import-default-and-namespace/input.js: -------------------------------------------------------------------------------- 1 | import a, * as b from 'x'; 2 | -------------------------------------------------------------------------------- /test/samples/import-many/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import-many/expected.js -------------------------------------------------------------------------------- /test/samples/import-many/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import-many/expected.js.map -------------------------------------------------------------------------------- /test/samples/import-many/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import-many/input.js -------------------------------------------------------------------------------- /test/samples/import/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import/expected.js -------------------------------------------------------------------------------- /test/samples/import/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import/expected.js.map -------------------------------------------------------------------------------- /test/samples/import/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/import/input.js -------------------------------------------------------------------------------- /test/samples/inserted-parameter/expected.js: -------------------------------------------------------------------------------- 1 | function foo(bar) { 2 | return bar * 2; 3 | } -------------------------------------------------------------------------------- /test/samples/inserted-parameter/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/inserted-parameter/expected.js.map -------------------------------------------------------------------------------- /test/samples/inserted-parameter/input.js: -------------------------------------------------------------------------------- 1 | function foo(bar) { 2 | return bar * 2; 3 | } -------------------------------------------------------------------------------- /test/samples/inserted-parameters/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/inserted-parameters/expected.js -------------------------------------------------------------------------------- /test/samples/inserted-parameters/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/inserted-parameters/expected.js.map -------------------------------------------------------------------------------- /test/samples/inserted-parameters/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/inserted-parameters/input.js -------------------------------------------------------------------------------- /test/samples/jsdoc-indentation/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/jsdoc-indentation/expected.js -------------------------------------------------------------------------------- /test/samples/jsdoc-indentation/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/jsdoc-indentation/expected.js.map -------------------------------------------------------------------------------- /test/samples/jsdoc-indentation/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/jsdoc-indentation/input.js -------------------------------------------------------------------------------- /test/samples/jsx-basic/expected.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/jsx-basic/expected.jsx -------------------------------------------------------------------------------- /test/samples/jsx-basic/expected.jsx.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/jsx-basic/expected.jsx.map -------------------------------------------------------------------------------- /test/samples/jsx-basic/input.jsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/jsx-basic/input.jsx -------------------------------------------------------------------------------- /test/samples/large-file/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/large-file/expected.js -------------------------------------------------------------------------------- /test/samples/large-file/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/large-file/expected.js.map -------------------------------------------------------------------------------- /test/samples/large-file/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/large-file/input.js -------------------------------------------------------------------------------- /test/samples/logical-expression/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/logical-expression/expected.js -------------------------------------------------------------------------------- /test/samples/logical-expression/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/logical-expression/expected.js.map -------------------------------------------------------------------------------- /test/samples/logical-expression/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/logical-expression/input.js -------------------------------------------------------------------------------- /test/samples/meta-property/expected.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | console.log(new.target); 3 | } -------------------------------------------------------------------------------- /test/samples/meta-property/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/meta-property/expected.js.map -------------------------------------------------------------------------------- /test/samples/meta-property/input.js: -------------------------------------------------------------------------------- 1 | function foo() { 2 | console.log(new.target); 3 | } -------------------------------------------------------------------------------- /test/samples/method/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/method/expected.js -------------------------------------------------------------------------------- /test/samples/method/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/method/expected.js.map -------------------------------------------------------------------------------- /test/samples/method/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/method/input.js -------------------------------------------------------------------------------- /test/samples/nested-blocks/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/nested-blocks/expected.js -------------------------------------------------------------------------------- /test/samples/nested-blocks/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/nested-blocks/expected.js.map -------------------------------------------------------------------------------- /test/samples/nested-blocks/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/nested-blocks/input.js -------------------------------------------------------------------------------- /test/samples/object-expressions/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/object-expressions/expected.js -------------------------------------------------------------------------------- /test/samples/object-expressions/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/object-expressions/expected.js.map -------------------------------------------------------------------------------- /test/samples/object-expressions/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/object-expressions/input.js -------------------------------------------------------------------------------- /test/samples/parenthesized-expression/expected.js: -------------------------------------------------------------------------------- 1 | a + b; 2 | -------------------------------------------------------------------------------- /test/samples/parenthesized-expression/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/parenthesized-expression/expected.js.map -------------------------------------------------------------------------------- /test/samples/parenthesized-expression/input.js: -------------------------------------------------------------------------------- 1 | a + b; 2 | -------------------------------------------------------------------------------- /test/samples/regex/expected.js: -------------------------------------------------------------------------------- 1 | /(?:^\xb1\X\u765F)?/; 2 | -------------------------------------------------------------------------------- /test/samples/regex/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/regex/expected.js.map -------------------------------------------------------------------------------- /test/samples/regex/input.js: -------------------------------------------------------------------------------- 1 | /(?:^\xb1\X\u765F)?/; 2 | -------------------------------------------------------------------------------- /test/samples/removes-parens/expected.js: -------------------------------------------------------------------------------- 1 | a = b + c; 2 | -------------------------------------------------------------------------------- /test/samples/removes-parens/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/removes-parens/expected.js.map -------------------------------------------------------------------------------- /test/samples/removes-parens/input.js: -------------------------------------------------------------------------------- 1 | a = b + c; 2 | -------------------------------------------------------------------------------- /test/samples/string-literal/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/string-literal/expected.js -------------------------------------------------------------------------------- /test/samples/string-literal/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/string-literal/expected.js.map -------------------------------------------------------------------------------- /test/samples/string-literal/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/string-literal/input.js -------------------------------------------------------------------------------- /test/samples/switch/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/switch/expected.js -------------------------------------------------------------------------------- /test/samples/switch/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/switch/expected.js.map -------------------------------------------------------------------------------- /test/samples/switch/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/switch/input.js -------------------------------------------------------------------------------- /test/samples/tagged-template/expected.js: -------------------------------------------------------------------------------- 1 | foo`bar`; -------------------------------------------------------------------------------- /test/samples/tagged-template/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/tagged-template/expected.js.map -------------------------------------------------------------------------------- /test/samples/tagged-template/input.js: -------------------------------------------------------------------------------- 1 | foo`bar`; -------------------------------------------------------------------------------- /test/samples/try-catch/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/try-catch/expected.js -------------------------------------------------------------------------------- /test/samples/try-catch/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/try-catch/expected.js.map -------------------------------------------------------------------------------- /test/samples/try-catch/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/try-catch/input.js -------------------------------------------------------------------------------- /test/samples/ts-abstract-class/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-abstract-class/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-abstract-class/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-abstract-class/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-abstract-class/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-abstract-class/input.ts -------------------------------------------------------------------------------- /test/samples/ts-accessor-properties/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-accessor-properties/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-accessor-properties/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-accessor-properties/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-accessor-properties/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-accessor-properties/input.ts -------------------------------------------------------------------------------- /test/samples/ts-as-expression/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-as-expression/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-as-expression/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-as-expression/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-as-expression/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-as-expression/input.ts -------------------------------------------------------------------------------- /test/samples/ts-class-properties/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-class-properties/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-class-properties/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-class-properties/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-class-properties/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-class-properties/input.ts -------------------------------------------------------------------------------- /test/samples/ts-declare/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-declare/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-declare/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-declare/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-declare/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-declare/input.ts -------------------------------------------------------------------------------- /test/samples/ts-decorators-class/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-decorators-class/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-decorators-class/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-decorators-class/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-decorators-class/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-decorators-class/input.ts -------------------------------------------------------------------------------- /test/samples/ts-decorators-expression/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-decorators-expression/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-decorators-expression/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-decorators-expression/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-decorators-expression/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-decorators-expression/input.ts -------------------------------------------------------------------------------- /test/samples/ts-decorators/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-decorators/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-decorators/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-decorators/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-decorators/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-decorators/input.ts -------------------------------------------------------------------------------- /test/samples/ts-enums/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-enums/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-enums/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-enums/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-enums/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-enums/input.ts -------------------------------------------------------------------------------- /test/samples/ts-export/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-export/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-export/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-export/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-export/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-export/input.ts -------------------------------------------------------------------------------- /test/samples/ts-generic-types/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-generic-types/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-generic-types/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-generic-types/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-generic-types/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-generic-types/input.ts -------------------------------------------------------------------------------- /test/samples/ts-implements/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-implements/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-implements/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-implements/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-implements/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-implements/input.ts -------------------------------------------------------------------------------- /test/samples/ts-import-type/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-import-type/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-import-type/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-import-type/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-import-type/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-import-type/input.ts -------------------------------------------------------------------------------- /test/samples/ts-index-access-type/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-index-access-type/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-index-access-type/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-index-access-type/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-index-access-type/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-index-access-type/input.ts -------------------------------------------------------------------------------- /test/samples/ts-infer-extends/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-infer-extends/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-infer-extends/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-infer-extends/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-infer-extends/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-infer-extends/input.ts -------------------------------------------------------------------------------- /test/samples/ts-instantiation-expression/expected.ts: -------------------------------------------------------------------------------- 1 | // basic 2 | const foo = bar; -------------------------------------------------------------------------------- /test/samples/ts-instantiation-expression/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-instantiation-expression/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-instantiation-expression/input.ts: -------------------------------------------------------------------------------- 1 | // basic 2 | const foo = bar; 3 | -------------------------------------------------------------------------------- /test/samples/ts-interfaces/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-interfaces/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-interfaces/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-interfaces/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-interfaces/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-interfaces/input.ts -------------------------------------------------------------------------------- /test/samples/ts-keywords/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-keywords/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-keywords/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-keywords/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-keywords/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-keywords/input.ts -------------------------------------------------------------------------------- /test/samples/ts-large-file/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-large-file/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-large-file/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-large-file/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-large-file/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-large-file/input.ts -------------------------------------------------------------------------------- /test/samples/ts-module-declaration/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-module-declaration/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-module-declaration/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-module-declaration/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-module-declaration/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-module-declaration/input.ts -------------------------------------------------------------------------------- /test/samples/ts-null-keyword/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-null-keyword/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-null-keyword/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-null-keyword/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-null-keyword/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-null-keyword/input.ts -------------------------------------------------------------------------------- /test/samples/ts-object-patterns/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-object-patterns/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-object-patterns/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-object-patterns/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-object-patterns/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-object-patterns/input.ts -------------------------------------------------------------------------------- /test/samples/ts-return-type/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-return-type/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-return-type/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-return-type/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-return-type/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-return-type/input.ts -------------------------------------------------------------------------------- /test/samples/ts-satisfies-expression/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-satisfies-expression/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-satisfies-expression/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-satisfies-expression/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-satisfies-expression/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-satisfies-expression/input.ts -------------------------------------------------------------------------------- /test/samples/ts-signatures/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-signatures/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-signatures/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-signatures/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-signatures/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-signatures/input.ts -------------------------------------------------------------------------------- /test/samples/ts-simple-function-types/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-simple-function-types/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-simple-function-types/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-simple-function-types/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-simple-function-types/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-simple-function-types/input.ts -------------------------------------------------------------------------------- /test/samples/ts-simple-identifier-types/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-simple-identifier-types/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-simple-identifier-types/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-simple-identifier-types/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-simple-identifier-types/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-simple-identifier-types/input.ts -------------------------------------------------------------------------------- /test/samples/ts-typed-imports/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-typed-imports/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-typed-imports/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-typed-imports/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-typed-imports/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-typed-imports/input.ts -------------------------------------------------------------------------------- /test/samples/ts-types/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-types/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-types/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-types/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-types/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-types/input.ts -------------------------------------------------------------------------------- /test/samples/ts-undefined-keyword/expected.ts: -------------------------------------------------------------------------------- 1 | let a: number | undefined; 2 | 3 | a = 2; -------------------------------------------------------------------------------- /test/samples/ts-undefined-keyword/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-undefined-keyword/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-undefined-keyword/input.ts: -------------------------------------------------------------------------------- 1 | let a: number | undefined; 2 | a = 2; 3 | -------------------------------------------------------------------------------- /test/samples/ts-utility-types/expected.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-utility-types/expected.ts -------------------------------------------------------------------------------- /test/samples/ts-utility-types/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-utility-types/expected.ts.map -------------------------------------------------------------------------------- /test/samples/ts-utility-types/input.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-utility-types/input.ts -------------------------------------------------------------------------------- /test/samples/ts-var-declaration/expected.ts: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /test/samples/ts-var-declaration/expected.ts.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/ts-var-declaration/expected.ts.map -------------------------------------------------------------------------------- /test/samples/var-declaration/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/var-declaration/expected.js -------------------------------------------------------------------------------- /test/samples/var-declaration/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/var-declaration/expected.js.map -------------------------------------------------------------------------------- /test/samples/var-declaration/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/var-declaration/input.js -------------------------------------------------------------------------------- /test/samples/with/expected.js: -------------------------------------------------------------------------------- 1 | with (foo) bar(); -------------------------------------------------------------------------------- /test/samples/with/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/with/expected.js.map -------------------------------------------------------------------------------- /test/samples/with/input.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/with/input.json -------------------------------------------------------------------------------- /test/samples/yield/expected.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/yield/expected.js -------------------------------------------------------------------------------- /test/samples/yield/expected.js.map: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/yield/expected.js.map -------------------------------------------------------------------------------- /test/samples/yield/input.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/samples/yield/input.js -------------------------------------------------------------------------------- /test/sandbox/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/test/sandbox/index.js -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sveltejs/esrap/HEAD/tsconfig.json --------------------------------------------------------------------------------