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/tsc/parserArrayLiteralExpression7.ts | TypeScript | var v = [1,]; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrayLiteralExpression8.ts | TypeScript | var v = [,1,]; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrayLiteralExpression9.ts | TypeScript | var v = [1,1]; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression1.ts | TypeScript | var v = (public x: string) => { }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression10.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
a ? (b) : c => (d) : e => f // Not legal JS; "Unexpected token ':'" at last colon
// @filename: fileTs.ts
a ? (b) : c => (d) : e => f
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression11.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
a ? b ? c : (d) : e => f // Legal JS
// @filename: fileTs.ts
a ? b ? c : (d) : e => f
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression12.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
a ? (b) => (c): d => e // Legal JS
// @filename: fileTs.ts
a ? (b) => (c): d => e
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression13.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
a ? () => a() : (): any => null; // Not legal JS; "Unexpected token ')'" at last paren
// @filename: fileTs.ts
a ? () => a() : (): any => null;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression14.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
a() ? (b: number, c?: string): void => d() : e; // Not legal JS; "Unexpected token ':'" at first colon
// @filename: fileTs.ts
a() ? (b: number, c?: string): void => d() : e;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression15.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
false ? (param): string => param : null // Not legal JS; "Unexpected token ':'" at last colon
// @filename: fileTs.ts
false ? (param): string => param : null
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression16.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
true ? false ? (param): string => param : null : null // Not legal JS; "Unexpected token ':'" at last colon
// @filename: fileTs.ts
true ? false ? (param): string => param : null : null
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression17.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
a ? b : (c) : d => e // Not legal JS; "Unexpected token ':'" at last colon
// @filename: fileTs.ts
a ? b : (c) : d => e
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression4.ts | TypeScript | a = (() => { }, a) | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression5.ts | TypeScript | (bar(x,
() => {},
() => {}
)
)
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression6.ts | TypeScript | function foo(q: string, b: number) {
return true ? (q ? true : false) : (b = q.length, function() { });
};
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression7.ts | TypeScript | // @target: esnext
({
async m() {
for (;;) {
}
}
});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression8.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
x ? y => ({ y }) : z => ({ z }) // Legal JS
// @filename: fileTs.ts
x ? y => ({ y }) : z => ({ z })
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserArrowFunctionExpression9.ts | TypeScript | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
b ? (c) : d => e // Legal JS
// @filename: fileTs.ts
b ? (c) : d => e
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserAssignmentExpression1.ts | TypeScript | (foo()) = bar; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserAstSpans1.ts | TypeScript | /** i1 is interface with properties*/
interface i1 {
/** i1_p1*/
i1_p1: number;
/** i1_f1*/
i1_f1(): void;
/** i1_l1*/
i1_l1: () => void;
i1_nc_p1: number;
i1_nc_f1(): void;
i1_nc_l1: () => void;
p1: number;
f1(): void;
l1: () => void;
nc_p1: number;
nc_f1(): void... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserAutomaticSemicolonInsertion1.ts | TypeScript | interface I {
(): void;
}
var i: I;
var o: Object;
o = i;
i = o;
var a: {
(): void
}
o = a;
a = o;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserCastVersusArrowFunction1.ts | TypeScript | var v = <T>() => 1;
var v = <T>a;
var v = <T>(a) => 1;
var v = <T>(a, b) => 1;
var v = <T>(a = 1, b = 2) => 1;
var v = <T>(a);
var v = <T>(a, b);
var v = <T>(a = 1, b = 2); | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClass1.ts | TypeScript | export class NullLogger implements ILogger {
public information(): boolean { return false; }
public debug(): boolean { return false; }
public warning(): boolean { return false; }
public error(): boolean { return false; }
public fatal(): boolean { return false; }
publi... | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClass2.ts | TypeScript |
export class LoggerAdapter implements ILogger {
constructor (public logger: ILogger) {
this._information = this.logger.information();
}
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration10.ts | TypeScript | class C {
constructor();
foo();
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration11.ts | TypeScript | class C {
constructor();
foo() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration12.ts | TypeScript | class C {
constructor();
constructor(a) { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration13.ts | TypeScript | class C {
foo();
bar() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration14.ts | TypeScript | class C {
foo();
constructor();
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration15.ts | TypeScript | class C {
foo();
constructor() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration16.ts | TypeScript | class C {
foo();
foo() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration17.ts | TypeScript | // @lib: es5
declare class Enumerator {
public atEnd(): boolean;
public moveNext();
public item(): any;
constructor (o: any);
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration19.ts | TypeScript | class C {
foo();
"foo"() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration20.ts | TypeScript | class C {
0();
"0"() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration21.ts | TypeScript | class C {
0();
1() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration22.ts | TypeScript | class C {
"foo"();
"bar"() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration23.ts | TypeScript | class C\u0032 {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration24.ts | TypeScript | class any {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration25.ts | TypeScript | interface IList<T> {
data(): T;
next(): string;
}
class List<U> implements IList<U> {
data(): U;
next(): string;
}
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration26.ts | TypeScript | class C {
var
public
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration7.d.ts | TypeScript | declare class C {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration8.ts | TypeScript | class C {
constructor();
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclaration9.ts | TypeScript | class C {
foo();
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserClassDeclarationIndexSignature1.ts | TypeScript | class C {
[index:number]:number
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserCommaInTypeMemberList1.ts | TypeScript | var v: { workItem: any, width: string }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserCommaInTypeMemberList2.ts | TypeScript | var s = $.extend< { workItem: any }, { workItem: any, width: string }>({ workItem: this._workItem }, {});
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName12.ts | TypeScript | //@target: ES6
class C {
[e]() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName17.ts | TypeScript | //@target: ES6
var v = { set [e](v) { } } | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName2.ts | TypeScript | //@target: ES6
var v = { [e]: 1 }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName23.ts | TypeScript | //@target: ES6
declare class C {
get [e](): number
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName24.ts | TypeScript | //@target: ES6
class C {
set [e](v) { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName3.ts | TypeScript | //@target: ES6
var v = { [e]() { } }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName37.ts | TypeScript | //@target: ES6
var v = {
[public]: 0
}; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName4.ts | TypeScript | //@target: ES6
var v = { get [e]() { } }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName40.ts | TypeScript | //@target: ES6
class C {
[a ? "" : ""]() {}
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName41.ts | TypeScript | //@target: ES6
var v = {
[0 in []]: true
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserComputedPropertyName6.ts | TypeScript | //@target: ES6
var v = { [e]: 1, [e + e]: 2 }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserConditionalExpression1.ts | TypeScript | (a=this.R[c])?a.JW||(a.e5(this,c),a.JW=_.l):this.A | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserConstructorAmbiguity1.ts | TypeScript | new Date<A; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserConstructorAmbiguity2.ts | TypeScript | new Date<A | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserConstructorAmbiguity3.ts | TypeScript | new Date<A> | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserConstructorAmbiguity4.ts | TypeScript | new Date<A ? B : C | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserConstructorDeclaration1.ts | TypeScript | class C {
public constructor() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserConstructorDeclaration5.ts | TypeScript | class C {
private constructor() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserDebuggerStatement1.ts | TypeScript | debugger | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserDebuggerStatement2.ts | TypeScript | debugger; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserDoStatement2.ts | TypeScript | do{;}while(false)false | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES3Accessors1.ts | TypeScript | class C {
get Foo() { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES3Accessors2.ts | TypeScript | class C {
set Foo(a) { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES3Accessors3.ts | TypeScript | var v = { get Foo() { } }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES3Accessors4.ts | TypeScript | var v = { set Foo(a) { } }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ComputedPropertyName2.ts | TypeScript | //@target: ES5
var v = { [e]: 1 }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ComputedPropertyName3.ts | TypeScript | //@target: ES5
var v = { [e]() { } }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ComputedPropertyName4.ts | TypeScript | //@target: ES5
var v = { get [e]() { } }; | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement10.ts | TypeScript | //@target: ES5
for (const v of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement11.ts | TypeScript | //@target: ES5
for (const [a, b] of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement12.ts | TypeScript | //@target: ES5
for (const {a, b} of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement13.ts | TypeScript | //@target: ES5
for (let {a, b} of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement14.ts | TypeScript | //@target: ES5
for (let [a, b] of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement15.ts | TypeScript | //@target: ES5
for (var [a, b] of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement16.ts | TypeScript | //@target: ES5
for (var {a, b} of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement17.ts | TypeScript | //@target: ES5
for (var of; ;) { } | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement18.ts | TypeScript | //@target: ES5
for (var of of of) { } | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement19.ts | TypeScript | //@target: ES5
for (var of in of) { } | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement5.ts | TypeScript | //@target: ES5
for (var a: number of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement8.ts | TypeScript | //@target: ES5
for (var v of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5ForOfStatement9.ts | TypeScript | //@target: ES5
for (let v of X) {
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolIndexer1.ts | TypeScript | //@target: ES5
interface I {
[s: symbol]: string;
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolIndexer2.ts | TypeScript | //@target: ES5
class C {
[s: symbol]: string;
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolIndexer3.ts | TypeScript | //@target: ES5
var x: {
[s: symbol]: string;
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolProperty1.ts | TypeScript | //@target: ES5
interface I {
[Symbol.iterator]: string;
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolProperty2.ts | TypeScript | //@target: ES5
interface I {
[Symbol.unscopables](): string;
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolProperty3.ts | TypeScript | //@target: ES5
declare class C {
[Symbol.unscopables](): string;
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolProperty6.ts | TypeScript | //@target: ES5
class C {
[Symbol.toStringTag]: string = "";
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolProperty7.ts | TypeScript | //@target: ES5
class C {
[Symbol.toStringTag](): void { }
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolProperty8.ts | TypeScript | //@target: ES5
var x: {
[Symbol.toPrimitive](): string
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserES5SymbolProperty9.ts | TypeScript | //@target: ES5
var x: {
[Symbol.toPrimitive]: string
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserEmptyStatement1.ts | TypeScript | ; ;
var a = 1;
;
| willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserEnum1.ts | TypeScript |
export enum SignatureFlags {
None = 0,
IsIndexer = 1,
IsStringIndexer = 1 << 1,
IsNumberIndexer = 1 << 2,
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University | |
crates/swc_ecma_parser/tests/tsc/parserEnum2.ts | TypeScript |
export enum SignatureFlags {
None = 0,
IsIndexer = 1,
IsStringIndexer = 1 << 1,
IsNumberIndexer = 1 << 2
} | willcrichton/ilc-swc | 1 | Rust | willcrichton | Will Crichton | Brown University |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.