Home
last modified time | relevance | path

Searched refs:children (Results 1 – 25 of 2021) sorted by relevance

12345678910>>...81

/third_party/typescript/tests/baselines/reference/
DconditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.types8 children: BigUnion[];
9 >children : BigUnion[]
16 children: BigUnion[];
17 >children : BigUnion[]
24 children: BigUnion[];
25 >children : BigUnion[]
32 children: BigUnion[];
33 >children : BigUnion[]
40 children: BigUnion[];
41 >children : BigUnion[]
[all …]
DconditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.js5 children: BigUnion[];
9 children: BigUnion[];
13 children: BigUnion[];
17 children: BigUnion[];
21 children: BigUnion[];
25 children: BigUnion[];
29 children: BigUnion[];
33 children: BigUnion[];
37 children: BigUnion[];
41 children: BigUnion[];
[all …]
DconditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.symbols8 children: BigUnion[];
9 >children : Symbol(children, Decl(conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedRe…
17 children: BigUnion[];
18 >children : Symbol(children, Decl(conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedRe…
26 children: BigUnion[];
27 >children : Symbol(children, Decl(conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedRe…
35 children: BigUnion[];
36 >children : Symbol(children, Decl(conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedRe…
44 children: BigUnion[];
45 >children : Symbol(children, Decl(conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedRe…
[all …]
DlambdaPropSelf.types8 children: string[];
9 >children : string[]
11 constructor (public name: string, children: string[]) {
13 >children : string[]
15 this.children = ko.observableArray(children);
16 >this.children = ko.observableArray(children) : any
17 >this.children : string[]
19 >children : string[]
20 >ko.observableArray(children) : any
24 >children : string[]
[all …]
DinlineJsxFactoryDeclarationsLocalTypes.types13 >props : { children?: Element[]; }
15 children?: Element[];
16 >children : Element[]
27 interface ElementChildrenAttribute { children: any; }
28 >children : any
48 >props : { children?: Element[]; }
50 children?: Element[];
51 >children : Element[]
62 interface ElementChildrenAttribute { children: any; }
63 >children : any
[all …]
DlambdaPropSelf.symbols8 children: string[];
9 >children : Symbol(Person.children, Decl(lambdaPropSelf.ts, 2, 14))
11 constructor (public name: string, children: string[]) {
13 >children : Symbol(children, Decl(lambdaPropSelf.ts, 5, 37))
15 this.children = ko.observableArray(children);
16 >this.children : Symbol(Person.children, Decl(lambdaPropSelf.ts, 2, 14))
18 >children : Symbol(Person.children, Decl(lambdaPropSelf.ts, 2, 14))
20 >children : Symbol(children, Decl(lambdaPropSelf.ts, 5, 37))
23 addChild = () => this.children.push("New child");
25 >this.children.push : Symbol(Array.push, Decl(lib.es5.d.ts, --, --))
[all …]
DcheckJsxChildrenProperty2.errors.txt1 tests/cases/conformance/jsx/file.tsx(14,10): error TS2741: Property 'children' is missing in type '…
2 …nformance/jsx/file.tsx(17,11): error TS2710: 'children' are specified twice. The attribute named '
3 …): error TS2746: This JSX tag's 'children' prop expects a single child of type 'string | Element',…
4 …): error TS2746: This JSX tag's 'children' prop expects a single child of type 'string | Element',…
5 …): error TS2746: This JSX tag's 'children' prop expects a single child of type 'string | Element',…
6 …): error TS2746: This JSX tag's 'children' prop expects a single child of type 'string | Element',…
15 children: string | JSX.Element
22 // Error: missing children
25 !!! error TS2741: Property 'children' is missing in type '{ a: number; b: string; }' but required i…
26 !!! related TS2728 tests/cases/conformance/jsx/file.tsx:6:5: 'children' is declared here.
[all …]
DintersectionOfTypeVariableHasApparentSignatures.types3 props: Readonly<P> & Readonly<{ children?: {} }>;
4 >props : Readonly<P> & Readonly<{ children?: {} | undefined; }>
5 >children : {} | undefined
9 children?: (items: {x: number}) => void
10 >children : ((items: { x: number;}) => void) | undefined
20 >f({ props: { children: (({ x }) => { }) }}) : void
22 >{ props: { children: (({ x }) => { }) }} : { props: { children: ({ x }: { x: number; …
25 >props : { children: ({ x }: { x: number; }) => void; }
26 >{ children: (({ x }) => { }) } : { children: ({ x }: { x: number; }) => void; }
28 children: (({ x }) => { })
[all …]
DjsxNamespaceGlobalReexportMissingAliasTarget.types38 children: any;
39 >children : any
93 …ring, any> & { children?: ComponentChild;}, key?: string | undefined): VNode<any>; <P>(type: Co…
99 …ttributes<{}> & JSXInternal.SVGAttributes<{}> & Record<string, any> & { children?: ComponentChild …
105 Record<string, any> & { children?: ComponentChild },
106 >children : ComponentChild | undefined
113 … { children?: ComponentChild | undefined; }, key?: string | undefined): VNode<any>; <P>(type: Comp…
118 props: Attributes & P & { children?: ComponentChild },
119 >props : P & { children?: ComponentChild | undefined; }
120 >children : ComponentChild | undefined
[all …]
DjsxNamespaceImplicitImportJSXNamespace.types38 children: any;
39 >children : any
93 …ring, any> & { children?: ComponentChild;}, key?: string | undefined): VNode<any>; <P>(type: Co…
99 …ttributes<{}> & JSXInternal.SVGAttributes<{}> & Record<string, any> & { children?: ComponentChild …
105 Record<string, any> & { children?: ComponentChild },
106 >children : ComponentChild | undefined
113 … { children?: ComponentChild | undefined; }, key?: string | undefined): VNode<any>; <P>(type: Comp…
118 props: Attributes & P & { children?: ComponentChild },
119 >props : P & { children?: ComponentChild | undefined; }
120 >children : ComponentChild | undefined
[all …]
DjsxChildrenGenericContextualTypes.js5 export interface ElementChildrenAttribute { children: {}; }
9 const Elem = <T,U=never>(p: { prop: T, children: (t: T) => T }) => <div></div>;
10 Elem({prop: {a: "x"}, children: i => ({a: "z"})});
11 const q = <Elem prop={{a: "x"}} children={i => ({a: "z"})} />
14 interface LitProps<T> { prop: T, children: (x: this) => T }
16 ElemLit({prop: "x", children: () => "x"});
17 const j = <ElemLit prop="x" children={() => "x"} />
21 const arg = <ElemLit prop="x" children={p => "y"} />
28 Elem({ prop: { a: "x" }, children: function (i) { return ({ a: "z" }); } }); method
29 var q = <Elem prop={{ a: "x" }} children={function (i) { return ({ a: "z" }); }}/>;
[all …]
DjsxChildrenGenericContextualTypes.types7 export interface ElementChildrenAttribute { children: {}; }
8 >children : {}
14 const Elem = <T,U=never>(p: { prop: T, children: (t: T) => T }) => <div></div>;
15 >Elem : <T, U = never>(p: { prop: T; children: (t: T) => T; }) => JSX.Element
16 ><T,U=never>(p: { prop: T, children: (t: T) => T }) => <div></div> : <T, U = never>(p: { prop: T; c…
17 >p : { prop: T; children: (t: T) => T; }
19 >children : (t: T) => T
25 Elem({prop: {a: "x"}, children: i => ({a: "z"})});
26 >Elem({prop: {a: "x"}, children: i => ({a: "z"})}) : JSX.Element
27 >Elem : <T, U = never>(p: { prop: T; children: (t: T) => T; }) => JSX.Element
[all …]
/third_party/typescript/tests/cases/compiler/
DconditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.ts4 children: BigUnion[];
8 children: BigUnion[];
12 children: BigUnion[];
16 children: BigUnion[];
20 children: BigUnion[];
24 children: BigUnion[];
28 children: BigUnion[];
32 children: BigUnion[];
36 children: BigUnion[];
40 children: BigUnion[];
[all …]
/third_party/cef/tools/yapf/yapf/yapflib/
Dsplit_penalty.py68 for child in node.children:
78 _SetUnbreakable(node.children[1])
79 if len(node.children) > 4:
81 _SetUnbreakable(node.children[2])
83 _SetUnbreakable(node.children[-2])
92 while pytree_utils.NodeName(node.children[colon_idx]) == 'simple_stmt':
94 _SetUnbreakable(node.children[colon_idx])
96 while colon_idx < len(node.children):
97 if isinstance(node.children[colon_idx], pytree.Leaf):
98 if node.children[colon_idx].value == ':':
[all …]
Dblank_line_calculator.py68 if pytree_utils.NodeName(node.children[0]) == 'COMMENT':
69 self.last_comment_lineno = node.children[0].lineno
73 self.last_comment_lineno == node.children[0].lineno - 1):
74 self._SetNumNewlines(node.children[0], _NO_BLANK_LINES)
76 self._SetNumNewlines(node.children[0], self._GetNumNewlines(node))
77 for child in node.children:
86 for child in node.children[index:]:
97 self._SetNumNewlines(node.children[0], None)
102 for child in node.children[index:]:
136 while pytree_utils.IsCommentStatement(node.children[index]):
[all …]
/third_party/python/Lib/lib2to3/fixes/
Dfix_metaclass.py32 for node in parent.children:
35 elif node.type == syms.simple_stmt and node.children:
36 expr_node = node.children[0]
37 if expr_node.type == syms.expr_stmt and expr_node.children:
38 left_side = expr_node.children[0]
49 for node in cls_node.children:
55 for i, node in enumerate(cls_node.children):
63 while cls_node.children[i+1:]:
64 move_node = cls_node.children[i+1]
76 for semi_ind, node in enumerate(stmt_node.children):
[all …]
Dfix_itertools_imports.py16 if imports.type == syms.import_as_name or not imports.children:
17 children = [imports]
19 children = imports.children
20 for child in children[::2]:
29 name_node = child.children[0]
40 children = imports.children[:] or [imports]
42 for child in children:
48 while children and children[-1].type == token.COMMA:
49 children.pop().remove()
52 if (not (imports.children or getattr(imports, 'value', None)) or
/third_party/flutter/flutter/packages/flutter/test/cupertino/
Dsegmented_control_test.dart20 final Map<int, Widget> children = <int, Widget>{};
21 children[0] = const Text('Child 1');
22 children[1] = const Text('Child 2');
29 children: children,
55 final Map<int, Widget> children = <int, Widget>{};
56 children[0] = const Text('Child 1');
57 children[1] = const Text('Child 2');
58 children[2] = const Text('Child 3');
68 children: children,
88 testWidgets('Need at least 2 children', (WidgetTester tester) async {
[all …]
/third_party/python/Lib/lib2to3/
Dbtm_utils.py24 self.children = []
42 if len(node.alternatives) == len(node.children):
56 if len(node.group) == len(node.children):
98 for child in self.children:
100 if not self.children:
115 node = node.children[0]
119 if len(node.children) <= 2:
121 new_node = reduce_tree(node.children[0], parent)
126 for child in node.children:
127 if node.children.index(child)%2:
[all …]
Dfixer_util.py123 children = [Leaf(token.NAME, "from"),
127 imp = Node(syms.import_from, children)
160 if isinstance(node, Node) and node.children == [LParen(), RParen()]:
163 and len(node.children) == 3
164 and isinstance(node.children[0], Leaf)
165 and isinstance(node.children[1], Node)
166 and isinstance(node.children[2], Leaf)
167 and node.children[0].value == "("
168 and node.children[2].value == ")")
173 and len(node.children) > 1
[all …]
/third_party/parse5/packages/parse5-htmlparser2-tree-adapter/lib/
Dindex.js32 const children = this.children;
34 return (children && children[0]) || null;
38 const children = this.children;
40 return (children && children[children.length - 1]) || null;
70 children: [], property
82 children: [] property
106 children: [], property
135 const prev = parentNode.children[parentNode.children.length - 1];
142 parentNode.children.push(newNode);
147 const insertionIdx = parentNode.children.indexOf(referenceNode);
[all …]
/third_party/flutter/flutter/packages/flutter/test/foundation/
Ddiagnostics_json_test.dart38 children: <TestTree>[
46 children: <TestTree>[
73 expect(result.containsKey('children'), isFalse);
79 final List<Map<String, Object>> children = result['children'];
80 expect(children[0].containsKey('children'), isFalse);
81 expect(children[1].containsKey('children'), isFalse);
82 expect(children[2].containsKey('children'), isFalse);
88 final List<Map<String, Object>> children = result['children'];
89 expect(children[0]['children'], hasLength(0));
90 expect(children[1]['children'], hasLength(3));
[all …]
/third_party/typescript/src/services/
DsmartSelection.ts10 const children = getSelectionChildren(parentNode); constant
11 if (!children.length) break;
12 for (let i = 0; i < children.length; i++) {
13 const prevNode: Node | undefined = children[i - 1];
14 const node: Node = children[i];
15 const nextNode: Node | undefined = children[i + 1];
32 … || isVariableDeclaration(node) && isSyntaxList(parentNode) && children.length === 1
70 if (i === children.length - 1) {
145 const [openBraceToken, ...children] = node.getChildren();
146 const closeBraceToken = Debug.checkDefined(children.pop());
[all …]
/third_party/flutter/flutter/packages/flutter/test/rendering/
Dsliver_cache_test.dart13 final List<RenderSliver> children = List<RenderSliver>.generate(30, (int index) {
19 // Viewport is 800x600, can show 6 children at a time.
26 children: children,
30 RenderSliver firstVisible = children[0];
45 RenderSliver lastVisible = children[5];
60 RenderSliver firstInCache = children[6];
75 RenderSliver lastInCache = children[8];
90 RenderSliver outsideCache = children[9];
109 firstVisible = children[0];
124 lastVisible = children[6];
[all …]
/third_party/boost/libs/spirit/classic/example/fundamental/
Dast_calc.cpp54 " i->children.size() = " << i->children.size() << endl; in eval_expression()
58 BOOST_ASSERT(i->children.size() == 0); in eval_expression()
69 return - eval_expression(i->children.begin()); in eval_expression()
75 BOOST_ASSERT(i->children.size() == 2); in eval_expression()
76 return eval_expression(i->children.begin()) * in eval_expression()
77 eval_expression(i->children.begin()+1); in eval_expression()
81 BOOST_ASSERT(i->children.size() == 2); in eval_expression()
82 return eval_expression(i->children.begin()) / in eval_expression()
83 eval_expression(i->children.begin()+1); in eval_expression()
92 BOOST_ASSERT(i->children.size() == 2); in eval_expression()
[all …]

12345678910>>...81