Home
last modified time | relevance | path

Searched refs:Component (Results 1 – 25 of 877) sorted by relevance

12345678910>>...36

/third_party/typescript/tests/baselines/reference/
DtsxGenericAttributesType1.types5 const decorator = function <T>(Component: React.StatelessComponent<T>): React.StatelessComponent<T>…
6 >decorator : <T>(Component: React.StatelessComponent<T>) => React.StatelessComponent<T>
7 … <T>(Component: React.StatelessComponent<T>): React.StatelessComponent<T> { return (props) => <
8 >Component : React.StatelessComponent<T>
12 return (props) => <Component {...props}></Component>
13 >(props) => <Component {...props}></Component> : (props: T & { children?: React.ReactNode; }) => JS…
15 ><Component {...props}></Component> : JSX.Element
16 >Component : React.StatelessComponent<T>
18 >Component : React.StatelessComponent<T>
22 const decorator2 = function <T extends { x: number }>(Component: React.StatelessComponent<T>): Reac…
[all …]
DjsxReactTestSuite.js3 declare var Component:any;
23 <Component>{foo}<br />{bar}</Component>
85 <Component constructor="foo" />;
87 <Namespace.Component />;
89 <Namespace.DeepNamespace.Component />;
91 <Component { ... x } y
94 <Component
99 <Component x={y} />;
103 <Component {...x} />;
105 <Component { ...x } y={2} />;
[all …]
DtsxGenericAttributesType1.js4 const decorator = function <T>(Component: React.StatelessComponent<T>): React.StatelessComponent<T>…
5 return (props) => <Component {...props}></Component>
8 const decorator2 = function <T extends { x: number }>(Component: React.StatelessComponent<T>): Reac…
9 return (props) => <Component {...props} x={2} ></Component>
12 const decorator3 = function <T extends { x: number }, U extends { x: number } >(Component: React.St…
13 return (props) => <Component x={2} {...props} ></Component>
20 var decorator = function (Component) { argument
21 return function (props) { return <Component {...props}></Component>; };
23 var decorator2 = function (Component) { argument
24 return function (props) { return <Component {...props} x={2}></Component>; };
[all …]
DjsxReactTestSuite.symbols5 declare var Component:any;
6 >Component : Symbol(Component, Decl(jsxReactTestSuite.tsx, 1, 11))
48 <Component>{foo}<br />{bar}</Component>
49 >Component : Symbol(Component, Decl(jsxReactTestSuite.tsx, 1, 11))
52 >Component : Symbol(Component, Decl(jsxReactTestSuite.tsx, 1, 11))
139 <Component constructor="foo" />;
140 >Component : Symbol(Component, Decl(jsxReactTestSuite.tsx, 1, 11))
143 <Namespace.Component />;
146 <Namespace.DeepNamespace.Component />;
149 <Component { ... x } y
[all …]
DjsxReactTestSuite.types5 declare var Component:any;
6 >Component : any
58 ><div> <div><br /></div> <Component>{foo}<br />{bar}</Component> <br /></div> : error
68 <Component>{foo}<br />{bar}</Component>
69 ><Component>{foo}<br />{bar}</Component> : error
70 >Component : any
75 >Component : any
230 <Component constructor="foo" />;
231 ><Component constructor="foo" /> : error
232 >Component : any
[all …]
DtsxGenericAttributesType1.symbols5 const decorator = function <T>(Component: React.StatelessComponent<T>): React.StatelessComponent<T>…
8 >Component : Symbol(Component, Decl(file.tsx, 2, 31))
16 return (props) => <Component {...props}></Component>
18 >Component : Symbol(Component, Decl(file.tsx, 2, 31))
20 >Component : Symbol(Component, Decl(file.tsx, 2, 31))
24 const decorator2 = function <T extends { x: number }>(Component: React.StatelessComponent<T>): Reac…
28 >Component : Symbol(Component, Decl(file.tsx, 6, 54))
36 return (props) => <Component {...props} x={2} ></Component>
38 >Component : Symbol(Component, Decl(file.tsx, 6, 54))
41 >Component : Symbol(Component, Decl(file.tsx, 6, 54))
[all …]
DtsxUnionElementType4.types5 class RC1 extends React.Component<{x : number}, {}> {
7 >React.Component : React.Component<{ x: number; }, {}>
9 >Component : typeof React.Component
20 class RC2 extends React.Component<{ x: string }, {}> {
22 >React.Component : React.Component<{ x: string; }, {}>
24 >Component : typeof React.Component
37 class RC3 extends React.Component<{}, {}> {
39 >React.Component : React.Component<{}, {}>
41 >Component : typeof React.Component
51 class RC4 extends React.Component<{}, {}> {
[all …]
DnonNullReferenceMatching.symbols27 class Component {
28 >Component : Symbol(Component, Decl(nonNullReferenceMatching.ts, 9, 1))
31 >props : Symbol(Component.props, Decl(nonNullReferenceMatching.ts, 11, 17))
35 >thumbYElementRef : Symbol(Component.thumbYElementRef, Decl(nonNullReferenceMatching.ts, 12, 27))
42 >this.props : Symbol(Component.props, Decl(nonNullReferenceMatching.ts, 11, 17))
43 >this : Symbol(Component, Decl(nonNullReferenceMatching.ts, 9, 1))
44 >props : Symbol(Component.props, Decl(nonNullReferenceMatching.ts, 11, 17))
49 >this.props : Symbol(Component.props, Decl(nonNullReferenceMatching.ts, 11, 17))
50 >this : Symbol(Component, Decl(nonNullReferenceMatching.ts, 9, 1))
51 >props : Symbol(Component.props, Decl(nonNullReferenceMatching.ts, 11, 17))
[all …]
DtsxGenericAttributesType2.types5 const decorator4 = function <T extends { x: number }>(Component: React.StatelessComponent<T>): Reac…
6 >decorator4 : <T extends { x: number; }>(Component: React.StatelessComponent<T>) => React.Stateless…
7Component: React.StatelessComponent<T>): React.StatelessComponent<T> { return (props) => <Compo…
9 >Component : React.StatelessComponent<T>
13 return (props) => <Component {...props} y={"blah"} ></Component>
14 >(props) => <Component {...props} y={"blah"} ></Component> : (props: T & { children?: React.ReactNo…
16 ><Component {...props} y={"blah"} ></Component> : JSX.Element
17 >Component : React.StatelessComponent<T>
21 >Component : React.StatelessComponent<T>
DtsxUnionElementType3.types5 class RC1 extends React.Component<{x : number}, {}> {
7 >React.Component : React.Component<{ x: number; }, {}>
9 >Component : typeof React.Component
20 class RC2 extends React.Component<{ x: string }, {}> {
22 >React.Component : React.Component<{ x: string; }, {}>
24 >Component : typeof React.Component
37 class RC3 extends React.Component<{}, {}> {
39 >React.Component : React.Component<{}, {}>
41 >Component : typeof React.Component
51 class RC4 extends React.Component<{}, {}> {
[all …]
DjsxViaImport.2.types6 class TestComponent extends React.Component<any, {}> {
8 >React.Component : React.Component<any, {}>
10 >Component : typeof React.Component
29 class Component<T, U> { }
30 >Component : Component<T, U>
35 export default class extends React.Component<any, {}> {
36 >React.Component : React.Component<any, {}>
38 >Component : typeof React.Component
DjsxViaImport.types4 >BaseComponent : React.Component<any, {}>
6 class TestComponent extends React.Component<any, {}> {
8 >React.Component : React.Component<any, {}>
10 >Component : typeof React.Component
17 >BaseComponent : React.Component<any, {}>
29 class Component<T, U> { }
30 >Component : Component<T, U>
35 var base: React.Component<any, {}>;
36 >base : React.Component<any, {}>
40 >base : React.Component<any, {}>
DdeclarationEmitExportAssignedNamespaceNoTripleSlashTypesReference.types6 export type Component<T = any, U = {}, V = {}> = { x: T, y: U, z: V };
7 >Component : Component<T, U, V>
16 Component
17 >Component : any
32 import {Component} from 'react';
33 >Component : any
35 export function getComp(): Component {
36 >getComp : () => Component
38 return {} as any as Component
39 >{} as any as Component : Component<any, {}, {}>
[all …]
DtsxExternalModuleEmit1.types5 class Component<T, U> { }
6 >Component : Component<T, U>
17 export class App extends React.Component<any, any> {
19 >React.Component : React.Component<any, any>
21 >Component : typeof React.Component
37 export class Button extends React.Component<any, any> {
39 >React.Component : React.Component<any, any>
41 >Component : typeof React.Component
DjsxInExtendsClause.types6 interface ComponentClass<P> { new (): Component<P, {}>; }
7 class Component<A, B> {}
8 >Component : Component<A, B>
16 class Foo extends createComponentClass(() => class extends React.Component<{}, {}> {
18 …ass(() => class extends React.Component<{}, {}> { render() { return <span>Hello, world!</span>…
20 >() => class extends React.Component<{}, {}> { render() { return <span>Hello, world!</span>; }…
21 >class extends React.Component<{}, {}> { render() { return <span>Hello, world!</span>; }} : ty…
22 >React.Component : React.Component<{}, {}>
24 >Component : typeof React.Component
DimplementsClause.symbols2 export interface Component {}
3 >Component : Symbol(Component, Decl(types.ts, 0, 0))
19 class C implements types.Component {}
21 >types.Component : Symbol(types.Component, Decl(types.ts, 0, 0))
23 >Component : Symbol(types.Component, Decl(types.ts, 0, 0))
25 class D implements nestedNamespace.types.Component {}
27 >nestedNamespace.types.Component : Symbol(types.Component, Decl(types.ts, 0, 0))
31 >Component : Symbol(types.Component, Decl(types.ts, 0, 0))
DtsxUnionElementType4.symbols5 class RC1 extends React.Component<{x : number}, {}> {
7 >React.Component : Symbol(React.Component, Decl(react.d.ts, 158, 55), Decl(react.d.ts, 161, 66))
9 >Component : Symbol(React.Component, Decl(react.d.ts, 158, 55), Decl(react.d.ts, 161, 66))
19 class RC2 extends React.Component<{ x: string }, {}> {
21 >React.Component : Symbol(React.Component, Decl(react.d.ts, 158, 55), Decl(react.d.ts, 161, 66))
23 >Component : Symbol(React.Component, Decl(react.d.ts, 158, 55), Decl(react.d.ts, 161, 66))
35 class RC3 extends React.Component<{}, {}> {
37 >React.Component : Symbol(React.Component, Decl(react.d.ts, 158, 55), Decl(react.d.ts, 161, 66))
39 >Component : Symbol(React.Component, Decl(react.d.ts, 158, 55), Decl(react.d.ts, 161, 66))
48 class RC4 extends React.Component<{}, {}> {
[all …]
/third_party/typescript_eslint/packages/shared-fixtures/fixtures/comments/
Djsx-generic-with-comment-in-tag.src.js3 <Component<number> /* comment1 */></Component>
4 <Component<number> foo /* comment2 */></Component>
5 <Component<number> /* comment3 */ bar></Component>
6 <Component<number> foo /* comment4 */ bar></Component>
8 <Component<number>
10 ></Component>
11 <Component<number>
14 ></Component>
15 <Component<number>
18 ></Component>
[all …]
/third_party/boost/boost/spirit/home/x3/support/traits/
Dattribute_of.hpp24 template <typename Component, typename Context, typename Enable = void>
29 template <typename Component, typename Context, typename Enable = void>
32 template <typename Component, typename Context>
33 struct default_attribute_of<Component, Context,
35 typename Component::attribute_type>::type>
36 : mpl::identity<typename Component::attribute_type> {};
38 template <typename Component, typename Context>
39 struct default_attribute_of<Component, Context,
41 typename Component::template attribute<Context>::type>::type>
42 : Component::template attribute<Context> {};
[all …]
Dhas_attribute.hpp32 template <typename Component, typename Context, typename Enable = void>
37 template <typename Component, typename Context, typename Enable = void>
40 typename attribute_of<Component, Context>::type>> {};
42 template <typename Component, typename Context>
43 struct default_has_attribute<Component, Context,
45 mpl::bool_<Component::has_attribute>>::type>
46 : mpl::bool_<Component::has_attribute> {};
48 template <typename Component, typename Context>
49 struct default_has_attribute<Component, Context,
50 typename enable_if_c<Component::is_pass_through_unary>::type>
[all …]
/third_party/boost/boost/iostreams/
Dpipeline.hpp26 BOOST_PP_COMMA_IF(arity) typename Component> \
31 Component \
33 const Component& c ) \
38 return ::boost::iostreams::pipeline<segment, Component> \
45 template<typename Pipeline, typename Component>
54 template<typename Pipeline, typename Component>
55 struct is_pipeline< pipeline<Pipeline, Component> > : mpl::true_ { };
58 template<typename Component>
62 pipeline_segment(const Component& component) in pipeline_segment()
71 const Component& component_;
[all …]
/third_party/boost/boost/spirit/home/karma/detail/
Dalternative_function.hpp35 template <typename Component, typename Attribute, typename Expected
41 call(Component const&, OutputIterator&, Context&, Delimiter const& in call()
49 template <typename Component>
50 struct alternative_generate<Component, unused_type, unused_type>
54 call(Component const& component, OutputIterator& sink, Context& ctx in call()
67 template <typename Component, typename Expected>
68 struct alternative_generate<Component, unused_type, Expected>
69 : alternative_generate<Component, unused_type, unused_type> {};
73 template <typename Component, typename Attribute>
74 struct alternative_generate<Component, Attribute, unused_type>
[all …]
/third_party/boost/boost/spirit/home/qi/detail/
Dalternative_function.hpp64 template <typename Component>
65 bool call(Component const& component, mpl::true_) const in call()
71 template <typename Component>
72 bool call_optional_or_variant(Component const& component, mpl::true_) const in call_optional_or_variant()
78 traits::attribute_of<Component, Context, Iterator>::type in call_optional_or_variant()
95 template <typename Component>
96 bool call_variant(Component const& component, mpl::false_) const in call_variant()
103 typename traits::attribute_of<Component, Context, Iterator>::type in call_variant()
115 template <typename Component>
116 bool call_variant(Component const& component, mpl::true_) const in call_variant()
[all …]
/third_party/typescript/tests/cases/conformance/jsx/
DjsxReactTestSuite.tsx4 declare var Component:any;
24 <Component>{foo}<br />{bar}</Component>
86 <Component constructor="foo" />;
88 <Namespace.Component />;
90 <Namespace.DeepNamespace.Component />;
92 <Component { ... x } y
95 <Component
100 <Component x={y} />;
104 <Component {...x} />;
106 <Component { ...x } y={2} />;
[all …]
/third_party/typescript/tests/dets/baselines/reference/
DstatusManagementOfPageLevelVariables.d.ets6 @Component
10 @Component
21 @Component
27 @Component
35 @Component
41 @Component
48 @Component
54 @Component
61 @Component
67 @Component
[all …]

12345678910>>...36