Home
last modified time | relevance | path

Searched refs:foo (Results 1 – 25 of 8807) sorted by relevance

12345678910>>...353

/third_party/typescript/tests/baselines/reference/
DjsxAndTypeAssertion.types5 class foo {}
6 >foo : foo
12foo>hello {<foo>{}} </foo>;x = <foo test={<foo>{}}>hello</foo>;x = <foo test={<foo>{}}>hello{<foo>…
14foo>hello {<foo>{}} </foo>;x = <foo test={<foo>{}}>hello</foo>;x = <foo test={<foo>{}}>hello{<foo>…
22foo>hello {<foo>{}} </foo>;x = <foo test={<foo>{}}>hello</foo>;x = <foo test={<foo>{}}>hello{<foo>…
28 x = <foo>hello {<foo>{}} </foo>;
29foo>hello {<foo>{}} </foo>;x = <foo test={<foo>{}}>hello</foo>;x = <foo test={<foo>{}}>hello{<foo>…
30 >foo : typeof foo
31 ><foo>{}} </foo> : any
32 >foo : typeof foo
[all …]
DnullPropertyName.types2 function foo() {}
3 >foo : typeof foo
6 foo.x = 1;
7 >foo.x = 1 : 1
8 >foo.x : number
9 >foo : typeof foo
13 foo.y = 1;
14 >foo.y = 1 : 1
15 >foo.y : number
16 >foo : typeof foo
[all …]
DjsDeclarationsFunctionKeywordPropExhaustive.types2 function foo() {}
3 >foo : typeof foo
6 foo.x = 1;
7 >foo.x = 1 : 1
8 >foo.x : number
9 >foo : typeof foo
13 foo.y = 1;
14 >foo.y = 1 : 1
15 >foo.y : number
16 >foo : typeof foo
[all …]
DexportDefaultParenthesize.types3foo'+'']: 42, ['foo'+'']: 42, ['foo'+'']: 42, ['foo'+'']: 42, ['foo'+'']: 42, ['foo
5 ['foo'+'']: 42,
6 >['foo'+''] : number
7 >'foo'+'' : string
8 >'foo' : "foo"
12 ['foo'+'']: 42,
13 >['foo'+''] : number
14 >'foo'+'' : string
15 >'foo' : "foo"
19 ['foo'+'']: 42,
[all …]
DdestructuringSameNames.types4 let { foo, foo: bar } = { foo: 1 };
5 >foo : number
6 >foo : any
8 >{ foo: 1 } : { foo: number; }
9 >foo : number
12 ({ foo, foo } = { foo: 2 });
13 >({ foo, foo } = { foo: 2 }) : { foo: number; }
14 >{ foo, foo } = { foo: 2 } : { foo: number; }
15 >{ foo, foo } : { foo: number; }
16 >foo : number
[all …]
DconvertClassExpressionToFunctionFromObjectProperty1.symbols2 const foo: any = {};
3 >foo : Symbol(foo, Decl(convertClassExpressionToFunctionFromObjectProperty1.ts, 0, 5))
6 foo.x = class {
7 >foo : Symbol(foo, Decl(convertClassExpressionToFunctionFromObjectProperty1.ts, 0, 5))
11 foo.y = class {
12 >foo : Symbol(foo, Decl(convertClassExpressionToFunctionFromObjectProperty1.ts, 0, 5))
18 foo.break = class {
19 >foo : Symbol(foo, Decl(convertClassExpressionToFunctionFromObjectProperty1.ts, 0, 5))
23 foo.case = class {
24 >foo : Symbol(foo, Decl(convertClassExpressionToFunctionFromObjectProperty1.ts, 0, 5))
[all …]
DconvertClassExpressionToFunctionFromObjectProperty1.js2 const foo: any = {}; constant
5 foo.x = class {
8 foo.y = class {
13 foo.break = class {
16 foo.case = class {
19 foo.catch = class { class
22 foo.class = class {
25 foo.const = class {
28 foo.continue = class {
31 foo.debugger = class {
[all …]
DjsDeclarationsFunctionKeywordPropExhaustive.js2 function foo() {} function
4 foo.x = 1;
5 foo.y = 1;
8 foo.break = 1;
9 foo.case = 1;
10 foo.catch = 1;
11 foo.class = 1;
12 foo.const = 1;
13 foo.continue = 1;
14 foo.debugger = 1;
[all …]
DnullPropertyName.js2 function foo() {} function
4 foo.x = 1;
5 foo.y = 1;
8 foo.break = 1;
9 foo.case = 1;
10 foo.catch = 1;
11 foo.class = 1;
12 foo.const = 1;
13 foo.continue = 1;
14 foo.debugger = 1;
[all …]
DassignmentToExpandingArrayType.types7 x[0] = { foo: 'hi' }
8 >x[0] = { foo: 'hi' } : { foo: string; }
12 >{ foo: 'hi' } : { foo: string; }
13 >foo : string
16 x[0] = { foo: 'hi' }
17 >x[0] = { foo: 'hi' } : { foo: string; }
21 >{ foo: 'hi' } : { foo: string; }
22 >foo : string
25 x[0] = { foo: 'hi' }
26 >x[0] = { foo: 'hi' } : { foo: string; }
[all …]
DspreadOfObjectLiteralAssignableToIndexSignature.types2 const foo: Record<never, never> = {} // OK
3 >foo : Record<never, never>
11 recordOfRecords.propA = {...(foo !== undefined ? {foo} : {})} // OK
12 >recordOfRecords.propA = {...(foo !== undefined ? {foo} : {})} : { foo?: Record<never, never> | und…
16 >{...(foo !== undefined ? {foo} : {})} : { foo?: Record<never, never> | undefined; }
17 >(foo !== undefined ? {foo} : {}) : { foo: Record<never, never>; } | {}
18 >foo !== undefined ? {foo} : {} : { foo: Record<never, never>; } | {}
19 >foo !== undefined : boolean
20 >foo : Record<never, never>
22 >{foo} : { foo: Record<never, never>; }
[all …]
DconvertClassExpressionToFunctionFromObjectProperty1.types2 const foo: any = {};
3 >foo : any
7 foo.x = class {
8 >foo.x = class { constructor () {}} : typeof x
9 >foo.x : any
10 >foo : any
16 foo.y = class {
17 >foo.y = class { constructor () {}} : typeof y
18 >foo.y : any
19 >foo : any
[all …]
DemitCompoundExponentiationAssignmentWithIndexingOnLHS2.types6 function foo() {
7 >foo : () => { 0: number; }
19 foo()[0] **= foo()[0];
20 >foo()[0] **= foo()[0] : number
21 >foo()[0] : number
22 >foo() : { 0: number; }
23 >foo : () => { 0: number; }
25 >foo()[0] : number
26 >foo() : { 0: number; }
27 >foo : () => { 0: number; }
[all …]
DexportDefaultParenthesize.symbols3 ['foo'+'']: 42,
4 >['foo'+''] : Symbol(['foo'+''], Decl(commalist.ts, 0, 16))
6 ['foo'+'']: 42,
7 >['foo'+''] : Symbol(['foo'+''], Decl(commalist.ts, 1, 19))
9 ['foo'+'']: 42,
10 >['foo'+''] : Symbol(['foo'+''], Decl(commalist.ts, 2, 19))
12 ['foo'+'']: 42,
13 >['foo'+''] : Symbol(['foo'+''], Decl(commalist.ts, 3, 19))
15 ['foo'+'']: 42,
16 >['foo'+''] : Symbol(['foo'+''], Decl(commalist.ts, 4, 19))
[all …]
DnullPropertyName.symbols2 function foo() {}
3 >foo : Symbol(foo, Decl(nullPropertyName.ts, 0, 0), Decl(nullPropertyName.ts, 0, 17), Decl(nullProp…
6 foo.x = 1;
7 >foo.x : Symbol(foo.x, Decl(nullPropertyName.ts, 0, 17))
8 >foo : Symbol(foo, Decl(nullPropertyName.ts, 0, 0), Decl(nullPropertyName.ts, 0, 17), Decl(nullProp…
9 >x : Symbol(foo.x, Decl(nullPropertyName.ts, 0, 17))
11 foo.y = 1;
12 >foo.y : Symbol(foo.y, Decl(nullPropertyName.ts, 2, 10))
13 >foo : Symbol(foo, Decl(nullPropertyName.ts, 0, 0), Decl(nullPropertyName.ts, 0, 17), Decl(nullProp…
14 >y : Symbol(foo.y, Decl(nullPropertyName.ts, 2, 10))
[all …]
DjsDeclarationsFunctionKeywordPropExhaustive.symbols2 function foo() {}
3 >foo : Symbol(foo, Decl(source.js, 0, 0), Decl(source.js, 0, 17), Decl(source.js, 2, 10), Decl(sour…
6 foo.x = 1;
7 >foo.x : Symbol(foo.x, Decl(source.js, 0, 17))
8 >foo : Symbol(foo, Decl(source.js, 0, 0), Decl(source.js, 0, 17), Decl(source.js, 2, 10), Decl(sour…
9 >x : Symbol(foo.x, Decl(source.js, 0, 17))
11 foo.y = 1;
12 >foo.y : Symbol(foo.y, Decl(source.js, 2, 10))
13 >foo : Symbol(foo, Decl(source.js, 0, 0), Decl(source.js, 0, 17), Decl(source.js, 2, 10), Decl(sour…
14 >y : Symbol(foo.y, Decl(source.js, 2, 10))
[all …]
DdestructuringSameNames.js4 let { foo, foo: bar } = { foo: 1 }; property
5 ({ foo, foo } = { foo: 2 }); property
6 ({ foo, foo: bar } = { foo: 3 }); property
7 ({ foo: bar, foo } = { foo: 4 }); property
8 ({ foo, bar: foo } = { foo: 3, bar: 33 }); property
9 ({ bar: foo, foo } = { foo: 4, bar: 44 }); property
10 ({ foo: bar, foo: bar } = { foo: 5 }); property
11 ({ foo: bar, bar: foo } = { foo: 6, bar: 66 }); property
12 ({ foo: bar, foo: bar } = { foo: 7 }); property
14 [foo, foo] = [111, 1111];
[all …]
DdeeplyDependentLargeArrayMutation2.symbols1 === tests/cases/compiler/foo.js ===
8 >build : Symbol(build, Decl(foo.js, 0, 0))
11 >i : Symbol(i, Decl(foo.js, 6, 7))
14 >arr : Symbol(arr, Decl(foo.js, 7, 9))
17 >arr : Symbol(arr, Decl(foo.js, 7, 9))
18 >i : Symbol(i, Decl(foo.js, 6, 7))
19 >arr : Symbol(arr, Decl(foo.js, 7, 9))
20 >i : Symbol(i, Decl(foo.js, 6, 7))
23 >arr : Symbol(arr, Decl(foo.js, 7, 9))
24 >i : Symbol(i, Decl(foo.js, 6, 7))
[all …]
DjsxAndTypeAssertion.js4 class foo {} class
11 x = <foo>hello {<foo>{}} </foo>;
13 x = <foo test={<foo>{}}>hello</foo>;
15 x = <foo test={<foo>{}}>hello{<foo>{}}</foo>;
17 x = <foo>x</foo>, x = <foo/>;
19 <foo>{<foo><foo>{/foo/.test(x) ? <foo><foo></foo> : <foo><foo></foo>}</foo>}</foo>
25 var foo = /** @class */ (function () {
26 function foo() { function
28 return foo;
35 x = <foo>hello {<foo>} </foo>};
[all …]
DstringLiteralTypesAsTypeParameterConstraint01.types2 function foo<T extends "foo">(f: (x: T) => T) {
3 >foo : <T extends "foo">(f: (x: T) => T) => (x: T) => T
11 function bar<T extends "foo" | "bar">(f: (x: T) => T) {
12 >bar : <T extends "foo" | "bar">(f: (x: T) => T) => (x: T) => T
20 let f = foo(x => x);
21 >f : (x: "foo") => "foo"
22 >foo(x => x) : (x: "foo") => "foo"
23 >foo : <T extends "foo">(f: (x: T) => T) => (x: T) => T
24 >x => x : (x: "foo") => "foo"
25 >x : "foo"
[all …]
DassignmentToExpandingArrayType.js4 x[0] = { foo: 'hi' } property
5 x[0] = { foo: 'hi' } property
6 x[0] = { foo: 'hi' } property
7 x[0] = { foo: 'hi' } property
8 x[0] = { foo: 'hi' } property
9 x[0] = { foo: 'hi' } property
10 x[0] = { foo: 'hi' } property
11 x[0] = { foo: 'hi' } property
12 x[0] = { foo: 'hi' } property
13 x[0] = { foo: 'hi' } property
[all …]
DdestructuringSameNames.symbols4 let { foo, foo: bar } = { foo: 1 };
5 >foo : Symbol(foo, Decl(destructuringSameNames.ts, 2, 5))
6 >foo : Symbol(foo, Decl(destructuringSameNames.ts, 2, 25))
8 >foo : Symbol(foo, Decl(destructuringSameNames.ts, 2, 25))
10 ({ foo, foo } = { foo: 2 });
11 >foo : Symbol(foo, Decl(destructuringSameNames.ts, 3, 2), Decl(destructuringSameNames.ts, 3, 7))
12 >foo : Symbol(foo, Decl(destructuringSameNames.ts, 3, 2), Decl(destructuringSameNames.ts, 3, 7))
13 >foo : Symbol(foo, Decl(destructuringSameNames.ts, 3, 17))
15 ({ foo, foo: bar } = { foo: 3 });
16 >foo : Symbol(foo, Decl(destructuringSameNames.ts, 4, 2), Decl(destructuringSameNames.ts, 4, 7))
[all …]
/third_party/typescript/tests/cases/conformance/declarationEmit/
DnullPropertyName.ts3 function foo() {} function
5 foo.x = 1;
6 foo.y = 1;
9 foo.break = 1;
10 foo.case = 1;
11 foo.catch = 1;
12 foo.class = 1;
13 foo.const = 1;
14 foo.continue = 1;
15 foo.debugger = 1;
[all …]
/third_party/typescript/tests/cases/compiler/
DconvertClassExpressionToFunctionFromObjectProperty1.ts3 const foo: any = {}; constant
6 foo.x = class {
9 foo.y = class {
14 foo.break = class {
17 foo.case = class {
20 foo.catch = class {
23 foo.class = class {
26 foo.const = class {
29 foo.continue = class {
32 foo.debugger = class {
[all …]
/third_party/typescript/tests/cases/conformance/jsdoc/declarations/
DjsDeclarationsFunctionKeywordPropExhaustive.ts7 function foo() {} function
9 foo.x = 1;
10 foo.y = 1;
13 foo.break = 1;
14 foo.case = 1;
15 foo.catch = 1;
16 foo.class = 1;
17 foo.const = 1;
18 foo.continue = 1;
19 foo.debugger = 1;
[all …]

12345678910>>...353