_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement1.ts_0_9 | continue; | {
"end_byte": 9,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/AutomaticSemicolonInsertion/parserAutomaticSemicolonInsertion1.ts_0_111 | interface I {
(): void;
}
var i: I;
var o: Object;
o = i;
i = o;
var a: {
(): void
}
o = a;
a = o;
| {
"end_byte": 111,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/AutomaticSemicolonInsertion/parserAutomaticSemicolonInsertion1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration1.ts_0_31 | class C extends A extends B {
} | {
"end_byte": 31,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration5.ts_0_47 | class C extends A implements B implements C {
} | {
"end_byte": 47,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration7.d.ts_0_19 | declare class C {
} | {
"end_byte": 19,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration7.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass2.ts_6_176 | export class LoggerAdapter implements ILogger {
constructor (public logger: ILogger) {
this._information = this.logger.information();
}
} | {
"end_byte": 176,
"start_byte": 6,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration24.ts_0_13 | class any {
} | {
"end_byte": 13,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration24.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration10.ts_0_39 | class C {
constructor();
foo();
} | {
"end_byte": 39,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration10.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration14.ts_0_39 | class C {
foo();
constructor();
} | {
"end_byte": 39,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration14.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration20.ts_0_34 | class C {
0();
"0"() { }
} | {
"end_byte": 34,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration20.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration15.ts_0_42 | class C {
foo();
constructor() { }
} | {
"end_byte": 42,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration15.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration21.ts_0_32 | class C {
0();
1() { }
} | {
"end_byte": 32,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration21.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration25.ts_0_131 | interface IList<T> {
data(): T;
next(): string;
}
class List<U> implements IList<U> {
data(): U;
next(): string;
}
| {
"end_byte": 131,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration25.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration11.ts_0_42 | class C {
constructor();
foo() { }
} | {
"end_byte": 42,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration11.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration16.ts_0_34 | class C {
foo();
foo() { }
} | {
"end_byte": 34,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration16.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration22.ts_0_40 | class C {
"foo"();
"bar"() { }
} | {
"end_byte": 40,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration22.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration26.ts_0_28 | class C {
var
public
} | {
"end_byte": 28,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration26.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration9.ts_0_21 | class C {
foo();
} | {
"end_byte": 21,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration9.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration12.ts_0_51 | class C {
constructor();
constructor(a) { }
} | {
"end_byte": 51,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration12.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts_4_360 | 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; }
public lo... | {
"end_byte": 360,
"start_byte": 4,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClass1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration8.ts_0_28 | class C {
constructor();
} | {
"end_byte": 28,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration8.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration13.ts_0_34 | class C {
foo();
bar() { }
} | {
"end_byte": 34,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration13.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration17.ts_0_144 | // @lib: es5
declare class Enumerator {
public atEnd(): boolean;
public moveNext();
public item(): any;
constructor (o: any);
}
| {
"end_byte": 144,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration17.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration23.ts_0_17 | class C\u0032 {
} | {
"end_byte": 17,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration23.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration7.ts_0_44 | declare module M {
declare class C {
}
} | {
"end_byte": 44,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration7.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration18.ts_0_130 | declare class FooBase {
constructor(s: string);
constructor(n: number);
constructor(x: any) {
}
bar1():void;
} | {
"end_byte": 130,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration18.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclarationIndexSignature1.ts_0_37 | class C {
[index:number]:number
} | {
"end_byte": 37,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclarationIndexSignature1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration19.ts_0_38 | class C {
foo();
"foo"() { }
} | {
"end_byte": 38,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration19.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration2.ts_0_37 | class C implements A implements B {
} | {
"end_byte": 37,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration6.ts_0_24 | class C extends A, B {
} | {
"end_byte": 24,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ClassDeclarations/parserClassDeclaration6.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/MissingTokens/parserMissingToken1.ts_0_11 | a / finally | {
"end_byte": 11,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/MissingTokens/parserMissingToken1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserConditionalExpression1.ts_0_50 | (a=this.R[c])?a.JW||(a.e5(this,c),a.JW=_.l):this.A | {
"end_byte": 50,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserConditionalExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserMemberAccessAfterPostfixExpression1.ts_0_27 | // @lib: es5
a--.toString() | {
"end_byte": 27,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserMemberAccessAfterPostfixExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.ts_0_11 | new A().b() | {
"end_byte": 11,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserInvocationOfMemberAccessOffOfObjectCreationExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression3.ts_0_6 | ++[0]; | {
"end_byte": 6,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression7.ts_0_13 | ++ new Foo(); | {
"end_byte": 13,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression7.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression2.ts_0_17 | ++function(e) { } | {
"end_byte": 17,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserAssignmentExpression1.ts_0_14 | (foo()) = bar; | {
"end_byte": 14,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserAssignmentExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parseIncompleteBinaryExpression1.ts_3_16 | r v = || b; | {
"end_byte": 16,
"start_byte": 3,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parseIncompleteBinaryExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixUnaryExpression1.ts_0_10 | foo ++ ++; | {
"end_byte": 10,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixUnaryExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression5.ts_0_17 | ++ delete foo.bar | {
"end_byte": 17,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixPostfixExpression1.ts_0_7 | a++ ++; | {
"end_byte": 7,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserPostfixPostfixExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression1.ts_0_7 | ++this; | {
"end_byte": 7,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserObjectCreation2.ts_0_15 | new new Foo()() | {
"end_byte": 15,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserObjectCreation2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression4.ts_0_5 | ++{}; | {
"end_byte": 5,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Expressions/parserUnaryExpression4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment2.ts_0_13 | export = foo; | {
"end_byte": 13,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment6.ts_0_38 | declare module "M" {
export = A;
} | {
"end_byte": 38,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment6.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts_0_31 | export class C {
}
export = B; | {
"end_byte": 31,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment7.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment8.ts_0_31 | export = B;
export class C {
} | {
"end_byte": 31,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment8.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment9.ts_0_77 | namespace Foo {
export default foo;
}
module Bar {
export default bar;
} | {
"end_byte": 77,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment9.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment4.ts_0_10 | export = ; | {
"end_byte": 10,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment1.ts_0_12 | export = foo | {
"end_byte": 12,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment5.ts_0_28 | module M {
export = A;
} | {
"end_byte": 28,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ExportAssignments/parserExportAssignment5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolIndexer2.ts_0_51 | //@target: ES5
class C {
[s: symbol]: string;
} | {
"end_byte": 51,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolIndexer2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty1.ts_0_61 | //@target: ES5
interface I {
[Symbol.iterator]: string;
} | {
"end_byte": 61,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty5.ts_0_57 | //@target: ES5
class C {
[Symbol.isRegExp]: string;
} | {
"end_byte": 57,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty4.ts_0_65 | //@target: ES5
declare class C {
[Symbol.isRegExp]: string;
} | {
"end_byte": 65,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolIndexer3.ts_0_50 | //@target: ES5
var x: {
[s: symbol]: string;
} | {
"end_byte": 50,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolIndexer3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty9.ts_0_58 | //@target: ES5
var x: {
[Symbol.toPrimitive]: string
} | {
"end_byte": 58,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty9.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty8.ts_0_60 | //@target: ES5
var x: {
[Symbol.toPrimitive](): string
} | {
"end_byte": 60,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty8.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty7.ts_0_63 | //@target: ES5
class C {
[Symbol.toStringTag](): void { }
} | {
"end_byte": 63,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty7.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty3.ts_0_70 | //@target: ES5
declare class C {
[Symbol.unscopables](): string;
} | {
"end_byte": 70,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolIndexer1.ts_0_55 | //@target: ES5
interface I {
[s: symbol]: string;
} | {
"end_byte": 55,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolIndexer1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty2.ts_0_66 | //@target: ES5
interface I {
[Symbol.unscopables](): string;
} | {
"end_byte": 66,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty6.ts_0_65 | //@target: ES5
class C {
[Symbol.toStringTag]: string = "";
} | {
"end_byte": 65,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Symbols/parserES5SymbolProperty6.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression4.ts_0_14 | var v = [,,,]; | {
"end_byte": 14,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression11.ts_0_15 | var v = [1,,1]; | {
"end_byte": 15,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression11.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression15.ts_0_28 | var v = [,,1,1,,1,,1,1,,1,]; | {
"end_byte": 28,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression15.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression1.ts_0_11 | var v = []; | {
"end_byte": 11,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression14.ts_0_27 | var v = [,,1,1,,1,,1,1,,1]; | {
"end_byte": 27,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression14.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression10.ts_0_15 | var v = [1,1,]; | {
"end_byte": 15,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression10.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression5.ts_0_12 | var v = [1]; | {
"end_byte": 12,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression2.ts_0_12 | var v = [,]; | {
"end_byte": 12,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression13.ts_0_18 | var v = [1,,1,,1]; | {
"end_byte": 18,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression13.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression6.ts_0_13 | var v = [,1]; | {
"end_byte": 13,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression6.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression7.ts_0_13 | var v = [1,]; | {
"end_byte": 13,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression7.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression12.ts_0_16 | var v = [1,,,1]; | {
"end_byte": 16,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression12.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression3.ts_0_13 | var v = [,,]; | {
"end_byte": 13,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression8.ts_0_14 | var v = [,1,]; | {
"end_byte": 14,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression8.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression9.ts_0_14 | var v = [1,1]; | {
"end_byte": 14,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrayLiteralExpressions/parserArrayLiteralExpression9.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509546.ts_0_37 | export class Logger {
public
}
| {
"end_byte": 37,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509546.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser521128.ts_0_17 | module.module { } | {
"end_byte": 17,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser521128.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509693.ts_0_41 | if (!module.exports) module.exports = ""; | {
"end_byte": 41,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509693.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parserNotHexLiteral1.ts_0_194 | var x = {e0: 'cat', x0: 'dog'};
console.info (x.x0);
// tsc dies on this next line with "bug.ts (5,16): Expected ')'"
// tsc seems to be parsing the e0 as a hex constant.
console.info (x.e0);
| {
"end_byte": 194,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parserNotHexLiteral1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser642331.ts_0_44 | class test {
constructor (static) { }
}
| {
"end_byte": 44,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser642331.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser553699.ts_0_106 | class Foo {
constructor() { }
public banana (x: public) { }
}
class Bar {
constructor(c: Bar) { }
} | {
"end_byte": 106,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser553699.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser645086_1.ts_0_14 | var v = /[]/]/ | {
"end_byte": 14,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser645086_1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts_0_107 | // @noLib: true
/// <style requireSemi="on" />
declare function foo(): void;
declare function bar(): void;
| {
"end_byte": 107,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509698.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser643728.ts_0_34 | interface C {
foo;
new;
}
| {
"end_byte": 34,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser643728.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509546_2.ts_0_52 | "use strict";
export class Logger {
public
}
| {
"end_byte": 52,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509546_2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser645086_4.ts_0_16 | var v = /[^\]/]/ | {
"end_byte": 16,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser645086_4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser596700.ts_0_24 | var regex2 = /[a-z/]$/i; | {
"end_byte": 24,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser596700.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser630933.ts_0_51 | var a = "Hello";
var b = a.match(/\/ver=([^/]+)/);
| {
"end_byte": 51,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser630933.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser512097.ts_0_31 | var tt = { aa; }
if (true) {
} | {
"end_byte": 31,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser512097.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser512325.ts_0_30 | var tt = (a, (b, c)) => a+b+c; | {
"end_byte": 30,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser512325.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser579071.ts_0_15 | var x = /fo(o/; | {
"end_byte": 15,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser579071.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509669.ts_0_42 | function foo():any {
return ():void {};
} | {
"end_byte": 42,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509669.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser512084.ts_0_12 | class foo {
| {
"end_byte": 12,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser512084.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509618.ts_0_51 | declare module ambiModule {
interface i1 { };
}
| {
"end_byte": 51,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser509618.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser642331_1.ts_0_59 | "use strict";
class test {
constructor (static) { }
}
| {
"end_byte": 59,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/RegressionTests/parser642331_1.ts"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.