Home
last modified time | relevance | path

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

12345678910>>...399

/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 …]
DprivateNameDuplicateField.types9 #foo = "foo";
10 >#foo : string
11 >"foo" : "foo"
13 #foo = "foo";
14 >#foo : string
15 >"foo" : "foo"
22 #foo = "foo";
23 >#foo : string
24 >"foo" : "foo"
26 #foo() { }
[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 …]
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 …]
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 …]
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 …]
DprivateNameDuplicateField.symbols9 #foo = "foo";
10 >#foo : Symbol(A_Field_Field.#foo, Decl(privateNameDuplicateField.ts, 3, 25), Decl(privateNameDupli…
12 #foo = "foo";
13 >#foo : Symbol(A_Field_Field.#foo, Decl(privateNameDuplicateField.ts, 3, 25), Decl(privateNameDupli…
20 #foo = "foo";
21 >#foo : Symbol(A_Field_Method.#foo, Decl(privateNameDuplicateField.ts, 9, 26))
23 #foo() { }
24 >#foo : Symbol(A_Field_Method.#foo, Decl(privateNameDuplicateField.ts, 10, 21))
31 #foo = "foo";
32 >#foo : Symbol(A_Field_Getter.#foo, Decl(privateNameDuplicateField.ts, 15, 26))
[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 …]
DprivateNameDuplicateField.js6 #foo = "foo"; field in Field.A_Field_Field
7 #foo = "foo"; field in Field.A_Field_Field
12 #foo = "foo"; field in Field.A_Field_Method
13 #foo() { } method in Field.A_Field_Method
18 #foo = "foo"; field in Field.A_Field_Getter
19 get #foo() { return ""} method in Field.A_Field_Getter
24 #foo = "foo"; field in Field.A_Field_Setter
25 set #foo(value: string) { } method in Field.A_Field_Setter
30 #foo = "foo"; field in Field.A_Field_StaticField
31 static #foo = "foo"; field in Field.A_Field_StaticField
[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 …]
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 …]
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 …]
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 …]
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 …]
/third_party/typescript/tests/cases/conformance/classes/members/privateNames/
DprivateNameDuplicateField.ts8 #foo = "foo";
9 #foo = "foo";
14 #foo = "foo";
15 #foo() { }
20 #foo = "foo";
21 get #foo() { return ""}
26 #foo = "foo";
27 set #foo(value: string) { }
32 #foo = "foo";
33 static #foo = "foo";
[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 …]
/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/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 …]

12345678910>>...399