file_path
stringlengths
3
280
file_language
stringclasses
66 values
content
stringlengths
1
1.04M
repo_name
stringlengths
5
92
repo_stars
int64
0
154k
repo_description
stringlengths
0
402
repo_primary_language
stringclasses
108 values
developer_username
stringlengths
1
25
developer_name
stringlengths
0
30
developer_company
stringlengths
0
82
crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-as-identifier-for-await-of/input.js
JavaScript
for await (using of of);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-as-identifier-for-in/input.js
JavaScript
for (using in []); for (using.foo in []); for (using().foo in []); for (using``.foo in []);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-as-identifier-for-init/input.js
JavaScript
for ( using; reader = getReader(););
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-as-identifier-for-of/input.js
JavaScript
for (using of of); for (using.foo of of); for (using().foo of of); for (using``.foo of of);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-as-identifier-in/input.js
JavaScript
using in using instanceof using;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-binding-basic/input.js
JavaScript
{ using basic = getReader(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-binding-escaped/input.js
JavaScript
{ using \u0061b = c; }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-binding-non-bmp/input.js
JavaScript
{ using 𠮷 = foo(); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/explicit-resource-management/valid-using-binding-using/input.js
JavaScript
{ using using = of; for (using using of of); }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/dynamic-import-with-valid-syntax/input.js
JavaScript
import("foo.json", { with: { type: "json" } })
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/string-literal/input.js
JavaScript
import foo from "foo.json" with { for: "for" } export { foo } from "foo.json" with { for: "for" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/trailing-comma-dynamic/input.js
JavaScript
import("foo.js",); import("foo.json", { with: { type: "json" } },);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/trailing-comma/input.js
JavaScript
import foo from "foo" with { type: "json", } export { default as foo } from "foo" with { type: "json", }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-empty-assertion/input.js
JavaScript
import foo, { bar } from "foo" with {}; import * as ns from "foo" with {}; export { quux } from "foo" with {}; export * as ns2 from "foo" with {};
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-export-class/input.js
JavaScript
export class Foo {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-export-function/input.js
JavaScript
export function foo() {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-export-variable/input.js
JavaScript
export const foo = "";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-export-without-from/input.js
JavaScript
const foo = ""; export { foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-string-assertion-key/input.js
JavaScript
import "foo" with { "type": "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-export-star-as-with-assertions/input.js
JavaScript
export * as foo from "foo.json" with { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-export-star-with-assertions/input.js
JavaScript
export * from "foo.json" with { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-export-with-and-assertions-multiple-lines/input.js
JavaScript
export { default as x } from "foo" with { type: "json" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-export-with-assertions-and-value/input.js
JavaScript
export { "default" as x } from "foo" with { type: "json" } [0]
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-export-with-assertions/input.js
JavaScript
export { default as foo } from "foo.json" with { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-export-with-invalid-value/input.js
JavaScript
export { default } from "foo.json" with { type: "json", lazy: true, startAtLine: 1 };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-export-with-no-type-assertion/input.js
JavaScript
export { default } from "foo.json" with { lazy: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-export-with-object-method-assertion/input.js
JavaScript
export { default } from "foo.json" with { type: "json", hasOwnProperty: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-export-without-assertions/input.js
JavaScript
export { foo } from "foo.json";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-with-assertions-and-value/input.js
JavaScript
import "x" with { type: "json" } [0]
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-with-assertions-multiple-lines/input.js
JavaScript
import "x" with { type: "json" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-with-assertions/input.js
JavaScript
import foo from "foo.json" with { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-with-invalid-value/input.js
JavaScript
import foo from "foo.json" with { type: "json", lazy: true, startAtLine: 1 };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-with-no-type-assertion/input.js
JavaScript
import foo from "foo.json" with { lazy: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-with-object-method-assertion/input.js
JavaScript
import foo from "foo.json" with { type: "json", hasOwnProperty: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/valid-syntax-without-assertions/input.js
JavaScript
import foo from "foo.json";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions-with-keyword/without-plugin/input.js
JavaScript
import foo from "foo.json" with { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/dynamic-import-with-valid-syntax/input.js
JavaScript
import("foo.json", { assert: { type: "json" } })
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/import-assert-call-expression/input.js
JavaScript
import "x" assert ({});
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/string-literal/input.js
JavaScript
import foo from "foo.json" assert { for: "for" } export { foo } from "foo.json" assert { for: "for" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/trailing-comma-dynamic/input.js
JavaScript
import("foo.js",); import("foo.json", { assert: { type: "json" } },);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/trailing-comma/input.js
JavaScript
import foo from "foo" assert { type: "json", } export { default as foo } from "foo" assert { type: "json", }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-empty-assertion/input.js
JavaScript
import foo, { bar } from "foo" assert {}; import * as ns from "foo" assert {}; export { quux } from "foo" assert {}; export * as ns2 from "foo" assert {};
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-export-class/input.js
JavaScript
export class Foo {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-export-function/input.js
JavaScript
export function foo() {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-export-variable/input.js
JavaScript
export const foo = "";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-export-without-from/input.js
JavaScript
const foo = ""; export { foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-string-assertion-key/input.js
JavaScript
import "foo" assert { "type": "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-export-star-as-with-attributes/input.js
JavaScript
export * as foo from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-export-star-with-attributes/input.js
JavaScript
export * from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-export-with-and-attributes-multiple-lines/input.js
JavaScript
export { default as x } from "foo" assert { type: "json" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-export-with-attributes-and-value/input.js
JavaScript
export { "default" as x } from "foo" assert { type: "json" } [0]
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-export-with-attributes/input.js
JavaScript
export { default as foo } from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-export-with-invalid-value/input.js
JavaScript
export { default } from "foo.json" assert { type: "json", lazy: true, startAtLine: 1 };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-export-with-no-type-attribute/input.js
JavaScript
export { default } from "foo.json" assert { lazy: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-export-with-object-method-attribute/input.js
JavaScript
export { default } from "foo.json" assert { type: "json", hasOwnProperty: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-export-without-attributes/input.js
JavaScript
export { foo } from "foo.json";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-with-attributes-and-value/input.js
JavaScript
import "x" assert { type: "json" } [0]
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-with-attributes-multiple-lines/input.js
JavaScript
import "x" assert { type: "json" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-with-attributes/input.js
JavaScript
import foo from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-with-invalid-value/input.js
JavaScript
import foo from "foo.json" assert { type: "json", lazy: true, startAtLine: 1 };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-with-no-type-attribute/input.js
JavaScript
import foo from "foo.json" assert { lazy: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-with-object-method-attribute/input.js
JavaScript
import foo from "foo.json" assert { type: "json", hasOwnProperty: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/valid-syntax-without-attributes/input.js
JavaScript
import foo from "foo.json";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/with-import-attributes/input.js
JavaScript
;
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-assertions/without-plugin/input.js
JavaScript
import foo from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/_deprecated-syntax-not-enabled/input.js
JavaScript
import "foo" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/dynamic-import-with-valid-syntax/input.js
JavaScript
import("foo.json", { assert: { type: "json" } })
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/import-assert-call-expression/input.js
JavaScript
import "x" assert ({});
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/incorrect-arity/input.js
JavaScript
import(); import("./foo.json", { assert: { type: "json"} }, "unsupported");
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/string-literal/input.js
JavaScript
import foo from "foo.json" assert { for: "for" } export { foo } from "foo.json" assert { for: "for" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/trailing-comma-dynamic/input.js
JavaScript
import("foo.js",); import("foo.json", { assert: { type: "json" } },);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/trailing-comma/input.js
JavaScript
import foo from "foo" assert { type: "json", } export { default as foo } from "foo" assert { type: "json", }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-empty-attribute/input.js
JavaScript
import foo, { bar } from "foo" assert {}; import * as ns from "foo" assert {}; export { quux } from "foo" assert {}; export * as ns2 from "foo" assert {};
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-export-class/input.js
JavaScript
export class Foo {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-export-function/input.js
JavaScript
export function foo() {}
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-export-variable/input.js
JavaScript
export const foo = "";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-export-without-from/input.js
JavaScript
const foo = ""; export { foo };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-string-attribute-key/input.js
JavaScript
import "foo" assert { "type": "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-export-star-as-with-attributes/input.js
JavaScript
export * as foo from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-export-star-with-attributes/input.js
JavaScript
export * from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-export-with-and-attributes-multiple-lines/input.js
JavaScript
export { default as x } from "foo" assert { type: "json" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-export-with-attributes-and-value/input.js
JavaScript
export { "default" as x } from "foo" assert { type: "json" } [0]
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-export-with-attributes/input.js
JavaScript
export { default as foo } from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-export-with-invalid-value/input.js
JavaScript
export { default } from "foo.json" assert { type: "json", lazy: true, startAtLine: 1 };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-export-with-no-type-attribute/input.js
JavaScript
export { default } from "foo.json" assert { lazy: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-export-with-object-method-attribute/input.js
JavaScript
export { default } from "foo.json" assert { type: "json", hasOwnProperty: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-export-without-attributes/input.js
JavaScript
export { foo } from "foo.json";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-with-attributes-and-value/input.js
JavaScript
import "x" assert { type: "json" } [0]
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-with-attributes-multiple-lines/input.js
JavaScript
import "x" assert { type: "json" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-with-attributes/input.js
JavaScript
import foo from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-with-invalid-value/input.js
JavaScript
import foo from "foo.json" assert { type: "json", lazy: true, startAtLine: 1 };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-with-no-type-attribute/input.js
JavaScript
import foo from "foo.json" assert { lazy: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-with-object-method-attribute/input.js
JavaScript
import foo from "foo.json" assert { type: "json", hasOwnProperty: "true" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/valid-syntax-without-attributes/input.js
JavaScript
import foo from "foo.json";
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes-deprecatedAssertKeyword/without-plugin/input.js
JavaScript
import foo from "foo.json" assert { type: "json" };
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes/dynamic-import-with-valid-syntax/input.js
JavaScript
import("foo.json", { with: { type: "json" } })
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes/string-literal/input.js
JavaScript
import foo from "foo.json" with { for: "for" } export { foo } from "foo.json" with { for: "for" }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes/trailing-comma-dynamic/input.js
JavaScript
import("foo.js",); import("foo.json", { with: { type: "json" } },);
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes/trailing-comma/input.js
JavaScript
import foo from "foo" with { type: "json", } export { default as foo } from "foo" with { type: "json", }
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University
crates/swc_ecma_parser/tests/js/import-attributes/valid-empty-attribute/input.js
JavaScript
import foo, { bar } from "foo" with {}; import * as ns from "foo" with {}; export { quux } from "foo" with {}; export * as ns2 from "foo" with {};
willcrichton/ilc-swc
1
Rust
willcrichton
Will Crichton
Brown University