Home
last modified time | relevance | path

Searched full:foo (Results 1 – 25 of 11268) sorted by relevance

12345678910>>...451

/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 …]
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 …]
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 …]
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 …]
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 …]
DtsxTypeArgumentsJsxPreserveOutput.symbols1 === tests/cases/conformance/jsx/foo.tsx ===
3 >React : Symbol(React, Decl(foo.tsx, 0, 0))
5 type TypeProps = { foo?: boolean; };
6 >TypeProps : Symbol(TypeProps, Decl(foo.tsx, 0, 32))
7 >foo : Symbol(foo, Decl(foo.tsx, 2, 18))
9 interface InterfaceProps { foo?: boolean; }
10 >InterfaceProps : Symbol(InterfaceProps, Decl(foo.tsx, 2, 36))
11 >foo : Symbol(InterfaceProps.foo, Decl(foo.tsx, 3, 26))
13 function Foo<T>() {
14 >Foo : Symbol(Foo, Decl(foo.tsx, 3, 43))
[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 …]
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 …]
DsubtypesOfTypeParameterWithRecursiveConstraints.types4 class Foo<T> { foo: T; }
5 >Foo : Foo<T>
6 >foo : T
8 function f<T extends Foo<U>, U extends Foo<T>, V extends Foo<V>>(t: T, u: U, v: V) {
9 >f : <T extends Foo<U>, U extends Foo<T>, V extends Foo<V>>(t: T, u: U, v: V) => void
60 var r4 = true ? t : new Foo<T>();
61 >r4 : T | Foo<T>
62 >true ? t : new Foo<T>() : T | Foo<T>
65 >new Foo<T>() : Foo<T>
66 >Foo : typeof Foo
[all …]
DtsxTypeArgumentsJsxPreserveOutput.types1 === tests/cases/conformance/jsx/foo.tsx ===
5 type TypeProps = { foo?: boolean; };
6 >TypeProps : { foo?: boolean; }
7 >foo : boolean
9 interface InterfaceProps { foo?: boolean; }
10 >foo : boolean
12 function Foo<T>() {
13 >Foo : <T>() => any
20Foo<unknown> /> <Foo<string> /> <Foo<boolean> /> <Foo<object> /> <Foo<null> /> <Foo
23 <Foo<unknown> />
[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 …]
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 …]
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 …]
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() { }
18 #foo = "foo"; field in Field.A_Field_Getter
19 get #foo() { return ""}
24 #foo = "foo"; field in Field.A_Field_Setter
25 set #foo(value: string) { }
30 #foo = "foo"; field in Field.A_Field_StaticField
31 static #foo = "foo"; field in Field.A_Field_StaticField
[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 …]
DenumLiteralAssignableToEnumInsideUnion.types5 export enum Foo {
6 >Foo : Foo
9 >A : Foo.A
10 >B : Foo.B
16 export enum Foo {
17 >Foo : Foo
20 >A : Foo.A
21 >B : Foo.B
27 export enum Foo {
28 >Foo : Foo
[all …]
DconstEnumToStringNoComments.types2 const enum Foo {
3 >Foo : Foo
6 >X : Foo.X
10 >Y : Foo.Y
14 >Z : Foo.Z
18 >A : Foo.A
23 >B : Foo.B
28 >C : Foo.A
33 let x0 = Foo.X.toString();
35 >Foo.X.toString() : string
[all …]
DconstEnumToStringWithComments.types2 const enum Foo {
3 >Foo : Foo
6 >X : Foo.X
10 >Y : Foo.Y
14 >Z : Foo.Z
18 >A : Foo.A
23 >B : Foo.B
28 >C : Foo.A
33 let x0 = Foo.X.toString();
35 >Foo.X.toString() : string
[all …]
/third_party/rust/rust/tests/ui/const-generics/
Dexhaustive-value.rs1 trait Foo<const N: u8> { interface
4 impl Foo<0> for () {} implementation
5 impl Foo<1> for () {} implementation
6 impl Foo<2> for () {} implementation
7 impl Foo<3> for () {} impl
8 impl Foo<4> for () {} impl
9 impl Foo<5> for () {} implementation
10 impl Foo<6> for () {} impl
11 impl Foo<7> for () {} implementation
12 impl Foo<8> for () {} impl
[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/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/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/parse5/test/data/parser-feedback/
Dentities01.test5 "description": "FOO&gt;BAR",
6 "input": "FOO&gt;BAR",
10 "FOO>BAR"
16 "description": "FOO&gtBAR",
17 "input": "FOO&gtBAR",
21 "FOO>BAR"
27 "description": "FOO&gt BAR",
28 "input": "FOO&gt BAR",
32 "FOO> BAR"
38 "description": "FOO&gt;;;BAR",
[all …]
/third_party/rust/rust/tests/ui/lint/
Dlint-stability-2.rs19 type Foo = MethodTester; in test() typedef
20 let foo = MethodTester; in test() localVariable
23 foo.method_deprecated(); in test()
24 Foo::method_deprecated(&foo); in test()
25 <Foo>::method_deprecated(&foo); in test()
26 foo.trait_deprecated(); in test()
27 Trait::trait_deprecated(&foo); in test()
28 <Foo>::trait_deprecated(&foo); in test()
29 <Foo as Trait>::trait_deprecated(&foo); in test()
32 foo.method_deprecated_text(); in test()
[all …]

12345678910>>...451