_id stringlengths 21 254 | text stringlengths 1 93.7k | metadata dict |
|---|---|---|
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression9.ts_0_164 | // @allowjs: true
// @checkjs: true
// @outdir: out
// @target: es6
// @filename: fileJs.js
b ? (c) : d => e // Legal JS
// @filename: fileTs.ts
b ? (c) : d => e
| {
"end_byte": 164,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression9.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression11.ts_0_180 | // @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
| {
"end_byte": 180,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression11.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression2.ts_0_18 | a = () => { } || a | {
"end_byte": 18,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts_0_252 | // @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
| {
"end_byte": 252,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression15.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression6.ts_0_111 | function foo(q: string, b: number) {
return true ? (q ? true : false) : (b = q.length, function() { });
};
| {
"end_byte": 111,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression6.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts_0_269 | // @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;
| {
"end_byte": 269,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression14.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression7.ts_0_59 | // @target: esnext
({
async m() {
for (;;) {
}
}
});
| {
"end_byte": 59,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression7.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression10.ts_0_228 | // @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
| {
"end_byte": 228,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression10.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression3.ts_0_20 | a = (() => { } || a) | {
"end_byte": 20,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression17.ts_0_214 | // @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
| {
"end_byte": 214,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression17.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression4.ts_0_18 | a = (() => { }, a) | {
"end_byte": 18,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts_0_238 | // @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;
| {
"end_byte": 238,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression13.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression12.ts_0_176 | // @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
| {
"end_byte": 176,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression12.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression1.ts_0_34 | var v = (public x: string) => { }; | {
"end_byte": 34,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression16.ts_0_280 | // @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
| {
"end_byte": 280,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression16.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression5.ts_0_41 | (bar(x,
() => {},
() => {}
)
)
| {
"end_byte": 41,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/ArrowFunctionExpressions/parserArrowFunctionExpression5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserIfStatement1.d.ts_0_12 | if (foo) {
} | {
"end_byte": 12,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserIfStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement12.ts_0_42 | //@target: ES5
for (const {a, b} of X) {
} | {
"end_byte": 42,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement12.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserDoStatement2.ts_0_22 | do{;}while(false)false | {
"end_byte": 22,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserDoStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserBreakStatement1.d.ts_0_6 | break; | {
"end_byte": 6,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserBreakStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement16.ts_0_40 | //@target: ES5
for (var {a, b} of X) {
} | {
"end_byte": 40,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement16.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserVariableStatement1.d.ts_0_10 | var v = 1; | {
"end_byte": 10,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserVariableStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserEmptyStatement1.d.ts_0_1 | ; | {
"end_byte": 1,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserEmptyStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement17.ts_0_34 | //@target: ES5
for (var of; ;) { } | {
"end_byte": 34,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement17.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement9.ts_0_184 | // repro from https://github.com/microsoft/TypeScript/issues/54769
for (let [x = 'a' in {}] = []; !x; x = !x) console.log(x)
for (let {x = 'a' in {}} = {}; !x; x = !x) console.log(x)
| {
"end_byte": 184,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement9.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserWithStatement2.ts_0_18 | with (1)
return; | {
"end_byte": 18,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserWithStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement1.d.ts_0_12 | for (;;) {
} | {
"end_byte": 12,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement13.ts_0_40 | //@target: ES5
for (let {a, b} of X) {
} | {
"end_byte": 40,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement13.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement18.ts_0_37 | //@target: ES5
for (var of of of) { } | {
"end_byte": 37,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement18.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserLabeledStatement1.d.ts_0_13 | foo:
bar(); | {
"end_byte": 13,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserLabeledStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement8.ts_0_176 | // repro from https://github.com/microsoft/TypeScript/issues/54769
for (let [x = 'a' in {}] in { '': 0 }) console.log(x)
for (let {x = 'a' in {}} in { '': 0 }) console.log(x)
| {
"end_byte": 176,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement8.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement4.ts_0_39 | //@target: ES5
for (var a = 1 of X) {
} | {
"end_byte": 39,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement1.d.ts_0_20 | for (var i in e) {
} | {
"end_byte": 20,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement2.ts_0_62 | var a;
var b = [];
var c;
for (a in b[c] = b[c] || [], d) {
} | {
"end_byte": 62,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserReturnStatement1.d.ts_0_7 | return; | {
"end_byte": 7,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserReturnStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement5.ts_0_43 | //@target: ES5
for (var a: number of X) {
} | {
"end_byte": 43,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement3.ts_0_32 | for(d in _.jh[a]=_.jh[a]||[],b); | {
"end_byte": 32,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserDebuggerStatement1.d.ts_0_9 | debugger; | {
"end_byte": 9,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserDebuggerStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement19.ts_0_37 | //@target: ES5
for (var of in of) { } | {
"end_byte": 37,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement19.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserWithStatement1.d.ts_0_14 | with (foo) {
} | {
"end_byte": 14,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserWithStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserContinueStatement1.d.ts_0_9 | continue; | {
"end_byte": 9,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserContinueStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement6.ts_0_46 | //@target: ES5
for (var a = 1, b = 2 of X) {
} | {
"end_byte": 46,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement6.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserSwitchStatement1.d.ts_0_16 | switch (foo) {
} | {
"end_byte": 16,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserSwitchStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserThrowStatement1.d.ts_0_8 | throw e; | {
"end_byte": 8,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserThrowStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserBlockStatement1.d.ts_0_2 | {} | {
"end_byte": 2,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserBlockStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement2.ts_0_33 | //@target: ES5
for (var of X) {
} | {
"end_byte": 33,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement3.ts_0_38 | //@target: ES5
for (var a, b of X) {
} | {
"end_byte": 38,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement5.ts_0_17 | for ({} in b) {
} | {
"end_byte": 17,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserForStatement5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement7.ts_0_63 | //@target: ES5
for (var a: number = 1, b: string = "" of X) {
} | {
"end_byte": 63,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement7.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement1.d.ts_0_35 | //@target: ES5
for (var i of e) {
} | {
"end_byte": 35,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement14.ts_0_40 | //@target: ES5
for (let [a, b] of X) {
} | {
"end_byte": 40,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement14.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement20.ts_0_41 | //@target: ES5
for (var of = 0 in of) { } | {
"end_byte": 41,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement20.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement4.ts_0_24 | for (var a = 1 in X) {
} | {
"end_byte": 24,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserForInStatement4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement8.ts_0_35 | //@target: ES5
for (var v of X) {
} | {
"end_byte": 35,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement8.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement10.ts_0_37 | //@target: ES5
for (const v of X) {
} | {
"end_byte": 37,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement10.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserExpressionStatement1.d.ts_0_6 | Foo(); | {
"end_byte": 6,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserExpressionStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserDoStatement1.d.ts_0_17 | do {
}
while (e); | {
"end_byte": 17,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserDoStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserVariableStatement2.d.ts_0_6 | var v; | {
"end_byte": 6,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserVariableStatement2.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement9.ts_0_35 | //@target: ES5
for (let v of X) {
} | {
"end_byte": 35,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement9.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement11.ts_0_42 | //@target: ES5
for (const [a, b] of X) {
} | {
"end_byte": 42,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement11.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserWhileStatement1.d.ts_0_13 | while (e) {
} | {
"end_byte": 13,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserWhileStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement15.ts_0_40 | //@target: ES5
for (var [a, b] of X) {
} | {
"end_byte": 40,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement15.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement21.ts_0_34 | //@target: ES5
for (var of of) { } | {
"end_byte": 34,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserES5ForOfStatement21.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserTryStatement1.d.ts_0_21 | try {
}
catch (e) {
} | {
"end_byte": 21,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserTryStatement1.d.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/parserIfStatement2.ts_0_10 | if (a) {
} | {
"end_byte": 10,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/parserIfStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakInIterationOrSwitchStatement4.ts_0_37 | for (var i in something) {
break;
} | {
"end_byte": 37,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakInIterationOrSwitchStatement4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget6.ts_0_32 | while (true) {
break target;
} | {
"end_byte": 32,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget6.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakNotInIterationOrSwitchStatement2.ts_0_48 | while (true) {
function f() {
break;
}
} | {
"end_byte": 48,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakNotInIterationOrSwitchStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget2.ts_0_40 | target:
while (true) {
break target;
} | {
"end_byte": 40,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakInIterationOrSwitchStatement1.ts_0_25 | while (true) {
break;
} | {
"end_byte": 25,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakInIterationOrSwitchStatement1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget3.ts_0_80 | // @allowUnusedLabels: true
target1:
target2:
while (true) {
break target1;
} | {
"end_byte": 80,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakInIterationOrSwitchStatement2.ts_0_29 | do {
break;
}
while (true); | {
"end_byte": 29,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakInIterationOrSwitchStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget4.ts_0_80 | // @allowUnusedLabels: true
target1:
target2:
while (true) {
break target2;
} | {
"end_byte": 80,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget5.ts_0_90 | target:
while (true) {
function f() {
while (true) {
break target;
}
}
} | {
"end_byte": 90,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakNotInIterationOrSwitchStatement1.ts_0_6 | break; | {
"end_byte": 6,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakNotInIterationOrSwitchStatement1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakInIterationOrSwitchStatement3.ts_0_21 | for (;;) {
break;
} | {
"end_byte": 21,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakInIterationOrSwitchStatement3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget1.ts_0_23 | target:
break target; | {
"end_byte": 23,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/BreakStatements/parser_breakTarget1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement2.ts_0_14 | {
return;
} | {
"end_byte": 14,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement3.ts_0_27 | function f() {
return;
} | {
"end_byte": 27,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement4.js_0_39 | var v = { get foo() {
return;
} };
| {
"end_byte": 39,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement4.js"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement4.ts_0_33 | var v = { get foo() { return } }; | {
"end_byte": 33,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement1.ts_0_7 | return; | {
"end_byte": 7,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ReturnStatements/parserReturnStatement1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel3.ts_0_111 | // @allowUnusedLabels: true
target:
while (true) {
function f() {
target:
while (true) {
}
}
} | {
"end_byte": 111,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel2.ts_0_55 | target:
while (true) {
target:
while (true) {
}
} | {
"end_byte": 55,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel1.ts_0_32 | target:
target:
while (true) {
} | {
"end_byte": 32,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel4.ts_0_111 | // @allowUnusedLabels: true
// @allowUnreachableCode: true
target:
while (true) {
}
target:
while (true) {
} | {
"end_byte": 111,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/LabeledStatements/parser_duplicateLabel4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement2.ts_0_51 | while (true) {
function f() {
continue;
}
} | {
"end_byte": 51,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement3.ts_0_39 | switch (0) {
default:
continue;
} | {
"end_byte": 39,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueInIterationStatement3.ts_0_24 | for (;;) {
continue;
} | {
"end_byte": 24,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueInIterationStatement3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget3.ts_0_83 | // @allowUnusedLabels: true
target1:
target2:
while (true) {
continue target1;
} | {
"end_byte": 83,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget3.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget2.ts_0_43 | target:
while (true) {
continue target;
} | {
"end_byte": 43,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueInIterationStatement2.ts_0_32 | do {
continue;
}
while (true); | {
"end_byte": 32,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueInIterationStatement2.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget6.ts_0_35 | while (true) {
continue target;
} | {
"end_byte": 35,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget6.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget1.ts_0_26 | target:
continue target; | {
"end_byte": 26,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget5.ts_0_93 | target:
while (true) {
function f() {
while (true) {
continue target;
}
}
} | {
"end_byte": 93,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget5.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueInIterationStatement1.ts_0_28 | while (true) {
continue;
} | {
"end_byte": 28,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueInIterationStatement1.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget4.ts_0_83 | // @allowUnusedLabels: true
target1:
target2:
while (true) {
continue target2;
} | {
"end_byte": 83,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueTarget4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueInIterationStatement4.ts_0_40 | for (var i in something) {
continue;
} | {
"end_byte": 40,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueInIterationStatement4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement4.ts_0_61 | TWO:
while (true){
var x = () => {
continue TWO;
}
}
| {
"end_byte": 61,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueNotInIterationStatement4.ts"
} |
TypeScript/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueLabel.ts_0_59 | label1: for(var i = 0; i < 1; i++) {
continue label1;
} | {
"end_byte": 59,
"start_byte": 0,
"url": "https://github.com/microsoft/TypeScript/blob/main/tests/cases/conformance/parser/ecmascript5/Statements/ContinueStatements/parser_continueLabel.ts"
} |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.