Home
last modified time | relevance | path

Searched refs:Element (Results 1 – 25 of 1206) sorted by relevance

12345678910>>...49

/third_party/typescript/tests/baselines/reference/
DtsxStatelessFunctionComponentOverload1.types5 declare function OneThing(k: {yxx: string}): JSX.Element;
6Element; (k: { yxx1: string; children: string; }): JSX.Element; (l: { yy: number; yy1: string; }):…
11 declare function OneThing(k: {yxx1: string, children: string}): JSX.Element;
12Element; (k: { yxx1: string; children: string;}): JSX.Element; (l: { yy: number; yy1: string…
18 declare function OneThing(l: {yy: number, yy1: string}): JSX.Element;
19Element; (k: { yxx1: string; children: string; }): JSX.Element; (l: { yy: number; yy1: strin…
25 declare function OneThing(l: {yy: number, yy1: string, yy2: boolean}): JSX.Element;
26Element; (k: { yxx1: string; children: string; }): JSX.Element; (l: { yy: number; yy1: string; }):…
33 declare function OneThing(l1: {data: string, "data-prop": boolean}): JSX.Element;
34Element; (k: { yxx1: string; children: string; }): JSX.Element; (l: { yy: number; yy1: string; }):…
[all …]
DjsxFactoryIdentifier.symbols1 === tests/cases/compiler/Element.ts ===
3 >JSX : Symbol(JSX, Decl(Element.ts, 0, 0))
5 interface Element {
6 >Element : Symbol(Element, Decl(Element.ts, 0, 23))
9 >name : Symbol(Element.name, Decl(Element.ts, 1, 23))
12 >isIntrinsic : Symbol(Element.isIntrinsic, Decl(Element.ts, 2, 21))
15 >isCustomElement : Symbol(Element.isCustomElement, Decl(Element.ts, 3, 29))
18 >toString : Symbol(Element.toString, Decl(Element.ts, 4, 33))
19 >renderId : Symbol(renderId, Decl(Element.ts, 5, 17))
22 >bindDOM : Symbol(Element.bindDOM, Decl(Element.ts, 5, 44))
[all …]
DtsxStatelessFunctionComponentOverload6.types53 export function MainButton(buttonProps: ButtonProps): JSX.Element;
54 …{ (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: Hyph…
58 export function MainButton(linkProps: LinkProps): JSX.Element;
59 …{ (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: Hyph…
63 export function MainButton(hyphenProps: HyphenProps): JSX.Element;
64 …{ (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: Hyph…
68 export function MainButton(props: ButtonProps | LinkProps | HyphenProps): JSX.Element {
69 …{ (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: Hyph…
101 >b0 : JSX.Element
102 ><MainButton to='/some/path'>GO</MainButton> : JSX.Element
[all …]
DtsxStatelessFunctionComponentOverload4.types5 declare function OneThing(): JSX.Element;
6 >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; }
9 declare function OneThing(l: {yy: number, yy1: string}): JSX.Element;
10 >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string;}): JSX.Element; }
33 >c0 : JSX.Element
34 ><OneThing extraProp /> : JSX.Element
35 >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; }
39 >c1 : JSX.Element
40 ><OneThing yy={10}/> : JSX.Element
41 >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; }
[all …]
DjsxFactoryAndReactNamespace.symbols1 === tests/cases/compiler/Element.ts ===
3 >JSX : Symbol(JSX, Decl(Element.ts, 0, 0))
5 interface Element {
6 >Element : Symbol(Element, Decl(Element.ts, 0, 23))
9 >name : Symbol(Element.name, Decl(Element.ts, 1, 23))
12 >isIntrinsic : Symbol(Element.isIntrinsic, Decl(Element.ts, 2, 21))
15 >isCustomElement : Symbol(Element.isCustomElement, Decl(Element.ts, 3, 29))
18 >toString : Symbol(Element.toString, Decl(Element.ts, 4, 33))
19 >renderId : Symbol(renderId, Decl(Element.ts, 5, 17))
22 >bindDOM : Symbol(Element.bindDOM, Decl(Element.ts, 5, 44))
[all …]
DjsxEmitWithAttributes.symbols1 === tests/cases/compiler/Element.ts ===
3 >JSX : Symbol(JSX, Decl(Element.ts, 0, 0))
5 interface Element {
6 >Element : Symbol(Element, Decl(Element.ts, 0, 23))
9 >name : Symbol(Element.name, Decl(Element.ts, 1, 23))
12 >isIntrinsic : Symbol(Element.isIntrinsic, Decl(Element.ts, 2, 21))
15 >isCustomElement : Symbol(Element.isCustomElement, Decl(Element.ts, 3, 29))
18 >toString : Symbol(Element.toString, Decl(Element.ts, 4, 33))
19 >renderId : Symbol(renderId, Decl(Element.ts, 5, 17))
22 >bindDOM : Symbol(Element.bindDOM, Decl(Element.ts, 5, 44))
[all …]
DjsxFactoryNotIdentifierOrQualifiedName2.symbols1 === tests/cases/compiler/Element.ts ===
3 >JSX : Symbol(JSX, Decl(Element.ts, 0, 0))
5 interface Element {
6 >Element : Symbol(Element, Decl(Element.ts, 0, 23))
9 >name : Symbol(Element.name, Decl(Element.ts, 1, 23))
12 >isIntrinsic : Symbol(Element.isIntrinsic, Decl(Element.ts, 2, 21))
15 >isCustomElement : Symbol(Element.isCustomElement, Decl(Element.ts, 3, 29))
18 >toString : Symbol(Element.toString, Decl(Element.ts, 4, 33))
19 >renderId : Symbol(renderId, Decl(Element.ts, 5, 17))
22 >bindDOM : Symbol(Element.bindDOM, Decl(Element.ts, 5, 44))
[all …]
DjsxFactoryQualifiedName.symbols1 === tests/cases/compiler/Element.ts ===
3 >JSX : Symbol(JSX, Decl(Element.ts, 0, 0))
5 interface Element {
6 >Element : Symbol(Element, Decl(Element.ts, 0, 23))
9 >name : Symbol(Element.name, Decl(Element.ts, 1, 23))
12 >isIntrinsic : Symbol(Element.isIntrinsic, Decl(Element.ts, 2, 21))
15 >isCustomElement : Symbol(Element.isCustomElement, Decl(Element.ts, 3, 29))
18 >toString : Symbol(Element.toString, Decl(Element.ts, 4, 33))
19 >renderId : Symbol(renderId, Decl(Element.ts, 5, 17))
22 >bindDOM : Symbol(Element.bindDOM, Decl(Element.ts, 5, 44))
[all …]
DjsxFactoryNotIdentifierOrQualifiedName.symbols1 === tests/cases/compiler/Element.ts ===
3 >JSX : Symbol(JSX, Decl(Element.ts, 0, 0))
5 interface Element {
6 >Element : Symbol(Element, Decl(Element.ts, 0, 23))
9 >name : Symbol(Element.name, Decl(Element.ts, 1, 23))
12 >isIntrinsic : Symbol(Element.isIntrinsic, Decl(Element.ts, 2, 21))
15 >isCustomElement : Symbol(Element.isCustomElement, Decl(Element.ts, 3, 29))
18 >toString : Symbol(Element.toString, Decl(Element.ts, 4, 33))
19 >renderId : Symbol(renderId, Decl(Element.ts, 5, 17))
22 >bindDOM : Symbol(Element.bindDOM, Decl(Element.ts, 5, 44))
[all …]
DinlineJsxFactoryDeclarationsLocalTypes.types8 interface Element {
13 >props : { children?: Element[]; }
15 children?: Element[];
16 >children : Element[]
20 interface ElementClass extends Element {
21 render(): Element;
22 >render : () => Element
31 export function dom(): dom.JSX.Element;
32 >dom : () => dom.JSX.Element
43 interface Element {
[all …]
DtsxStatelessFunctionComponents1.types3 >EmptyPropSFC : () => JSX.Element
6 ><div> Default Greeting </div> : JSX.Element
12 >Greet : (x: { name: string;}) => JSX.Element
17 ><div>Hello, {x}</div> : JSX.Element
23 >Meet : ({ name }: { name?: string; }) => JSX.Element
28 ><div>Hello, {name}</div> : JSX.Element
34 >MeetAndGreet : (k: { "prop-name": string;}) => JSX.Element
39 ><div>Hi Hi</div> : JSX.Element
46 >a : JSX.Element
47 ><Greet name='world' /> : JSX.Element
[all …]
DcheckJsxChildrenProperty14.types12 children: JSX.Element | JSX.Element[];
13 >children : JSX.Element | JSX.Element[]
25 >render : () => JSX.Element
28 >(<div>My Button</div>) : JSX.Element
29 ><div>My Button</div> : JSX.Element
36 >AnotherButton : (p: any) => JSX.Element
40 ><h1>Just Another Button</h1> : JSX.Element
46 >Comp : (p: Prop) => JSX.Element
50 ><div>{p.b}</div> : JSX.Element
60 >k1 : JSX.Element
[all …]
DtsxStatelessFunctionComponentOverload3.types6 declare function ZeroThingOrTwoThing(): JSX.Element;
7 >ZeroThingOrTwoThing : { (): JSX.Element; (l: { yy: number; yy1: string; }, context: Context): JSX.
10 declare function ZeroThingOrTwoThing(l: {yy: number, yy1: string}, context: Context): JSX.Element;
11 >ZeroThingOrTwoThing : { (): JSX.Element; (l: { yy: number; yy1: string;}, context: Context):…
23 >two1 : JSX.Element
24 ><ZeroThingOrTwoThing /> : JSX.Element
25 >ZeroThingOrTwoThing : { (): JSX.Element; (l: { yy: number; yy1: string; }, context: Context): JSX.
28 >two2 : JSX.Element
29 ><ZeroThingOrTwoThing yy={100} yy1="hello"/> : JSX.Element
30 >ZeroThingOrTwoThing : { (): JSX.Element; (l: { yy: number; yy1: string; }, context: Context): JSX.
[all …]
DtsxStatelessFunctionComponentOverload5.types64 export function MainButton(buttonProps: ButtonProps): JSX.Element;
65 …{ (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: Hyph…
69 export function MainButton(linkProps: LinkProps): JSX.Element;
70 …{ (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: Hyph…
74 export function MainButton(hyphenProps: HyphenProps): JSX.Element;
75 …{ (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: Hyph…
79 export function MainButton(props: ButtonProps | LinkProps | HyphenProps): JSX.Element {
80 …{ (buttonProps: ButtonProps): JSX.Element; (linkProps: LinkProps): JSX.Element; (hyphenProps: Hyph…
112 >b0 : JSX.Element
113 ><MainButton to='/some/path' onClick={(e)=>{}}>GO</MainButton> : JSX.Element
[all …]
DtsxStatelessFunctionComponentsWithTypeArguments3.types5 declare function OverloadComponent<U>(): JSX.Element;
6 …: { <U>(): JSX.Element; <U>(attr: { b: U; a?: string; "ignore-prop": boolean; }): JSX.Element; <T,…
9 …clare function OverloadComponent<U>(attr: {b: U, a?: string, "ignore-prop": boolean}): JSX.Element;
10 …<U>(): JSX.Element; <U>(attr: { b: U; a?: string; "ignore-prop": boolean;}): JSX.Element;…
17 declare function OverloadComponent<T, U>(attr: {b: U, a: T}): JSX.Element;
18 …{ <U>(): JSX.Element; <U>(attr: { b: U; a?: string; "ignore-prop": boolean; }): JSX.Element; <T, U…
34 >a0 : JSX.Element
35 ><OverloadComponent {...arg1} a="hello" ignore-prop /> : JSX.Element
36 …: { <U>(): JSX.Element; <U>(attr: { b: U; a?: string; "ignore-prop": boolean; }): JSX.Element; <T,…
42 >a1 : JSX.Element
[all …]
DtsxStatelessFunctionComponentOverload2.types5 declare function OneThing(): JSX.Element;
6 >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; }
9 declare function OneThing(l: {yy: number, yy1: string}): JSX.Element;
10 >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string;}): JSX.Element; }
56 >c1 : JSX.Element
57 ><OneThing /> : JSX.Element
58 >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; }
61 >c2 : JSX.Element
62 ><OneThing {...obj}/> : JSX.Element
63 >OneThing : { (): JSX.Element; (l: { yy: number; yy1: string; }): JSX.Element; }
[all …]
DcheckJsxChildrenProperty6.types12 children: JSX.Element | JSX.Element[];
13 >children : JSX.Element | JSX.Element[]
25 >render : () => JSX.Element
28 >(<div>My Button</div>) : JSX.Element
29 ><div>My Button</div> : JSX.Element
36 >AnotherButton : (p: any) => JSX.Element
40 ><h1>Just Another Button</h1> : JSX.Element
46 >Comp : (p: Prop) => JSX.Element
50 ><div>{p.b}</div> : JSX.Element
60 >k1 : JSX.Element
[all …]
DcheckJsxChildrenProperty8.types12 children: string | JSX.Element | (string | JSX.Element)[];
13 >children : string | JSX.Element | (string | JSX.Element)[]
25 >render : () => JSX.Element
28 >(<div>My Button</div>) : JSX.Element
29 ><div>My Button</div> : JSX.Element
36 >AnotherButton : (p: any) => JSX.Element
40 ><h1>Just Another Button</h1> : JSX.Element
46 >Comp : (p: Prop) => JSX.Element
50 ><div>{p.b}</div> : JSX.Element
60 >k1 : JSX.Element
[all …]
DtsxEmit1.types3 interface Element { }
14 >selfClosed1 : JSX.Element
15 ><div /> : JSX.Element
19 >selfClosed2 : JSX.Element
20 ><div x="1" /> : JSX.Element
25 >selfClosed3 : JSX.Element
26 ><div x='1' /> : JSX.Element
31 >selfClosed4 : JSX.Element
32 ><div x="1" y='0' /> : JSX.Element
38 >selfClosed5 : JSX.Element
[all …]
DcheckJsxChildrenProperty7.types12 children: JSX.Element | JSX.Element[];
13 >children : JSX.Element | JSX.Element[]
25 >render : () => JSX.Element
28 >(<div>My Button</div>) : JSX.Element
29 ><div>My Button</div> : JSX.Element
36 >AnotherButton : (p: any) => JSX.Element
40 ><h1>Just Another Button</h1> : JSX.Element
46 >Comp : (p: Prop) => JSX.Element
50 ><div>{p.b}</div> : JSX.Element
60 >k1 : JSX.Element
[all …]
DjsxChildrenIndividualErrorElaborations.types13 >Blah : (props: Props) => JSX.Element
17 ><></> : JSX.Element
22 >a : JSX.Element
23 ><Blah> {x => x}</Blah> : JSX.Element
24 >Blah : (props: Props) => JSX.Element
32 >Blah : (props: Props) => JSX.Element
36 >a : JSX.Element
37 ><Blah> Hello unexpected text!</Blah> : JSX.Element
38 >Blah : (props: Props) => JSX.Element
42 >Blah : (props: Props) => JSX.Element
[all …]
DtsxReactEmit1.types3 interface Element { }
16 >selfClosed1 : JSX.Element
17 ><div /> : JSX.Element
21 >selfClosed2 : JSX.Element
22 ><div x="1" /> : JSX.Element
27 >selfClosed3 : JSX.Element
28 ><div x='1' /> : JSX.Element
33 >selfClosed4 : JSX.Element
34 ><div x="1" y='0' /> : JSX.Element
40 >selfClosed5 : JSX.Element
[all …]
DcheckJsxChildrenProperty15.types6 >Tag : (x: {}) => JSX.Element
7 >(x: {}) => <div></div> : (x: {}) => JSX.Element
9 ><div></div> : JSX.Element
15 >k1 : JSX.Element
16 ><Tag /> : JSX.Element
17 >Tag : (x: {}) => JSX.Element
20 >k2 : JSX.Element
21 ><Tag></Tag> : JSX.Element
22 >Tag : (x: {}) => JSX.Element
23 >Tag : (x: {}) => JSX.Element
[all …]
DtsxUnionElementType6.types6 >EmptySFC1 : () => JSX.Element
9 ><div>Hi</div> : JSX.Element
15 >EmptySFC2 : () => JSX.Element
18 ><div>Hello</div> : JSX.Element
24 >SFC2 : (prop: { x: boolean;}) => JSX.Element
29 ><h1>World</h1> : JSX.Element
35 >EmptySFCComp : () => JSX.Element
36 >EmptySFC1 || EmptySFC2 : () => JSX.Element
37 >EmptySFC1 : () => JSX.Element
38 >EmptySFC2 : () => JSX.Element
[all …]
/third_party/protobuf/src/google/protobuf/
Drepeated_field.h165 template <typename Element>
168 alignof(Arena) >= alignof(Element),
187 const Element& Get(int index) const;
188 Element* Mutable(int index);
190 const Element& operator[](int index) const { return Get(index); }
191 Element& operator[](int index) { return *Mutable(index); }
193 const Element& at(int index) const;
194 Element& at(int index);
196 void Set(int index, const Element& value);
197 void Add(const Element& value);
[all …]

12345678910>>...49