/third_party/typescript/tests/baselines/reference/ |
D | conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.types | 3 …children: BigUnion[]; } | { name: '1'; children: BigUnion[]; } | { name: '2'; children: BigUnion[]… 8 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[]; [all …]
|
D | conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.js | 5 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 …]
|
D | conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.symbols | 8 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 …]
|
D | inlineJsxFactoryDeclarationsLocalTypes.types | 13 >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 …]
|
D | lambdaPropSelf.types | 8 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 …]
|
D | lambdaPropSelf.symbols | 8 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 …]
|
D | checkJsxChildrenProperty2.errors.txt | 1 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 …]
|
D | jsxNamespaceGlobalReexport.types | 38 children: any; 39 >children : any 93 …ord<string, any> & { children?: ComponentChild;}, key?: string): VNode<any>; <P>(type: Componen… 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 …]
|
D | jsxNamespaceGlobalReexportMissingAliasTarget.types | 38 children: any; 39 >children : any 93 …ord<string, any> & { children?: ComponentChild;}, key?: string): VNode<any>; <P>(type: Componen… 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 …]
|
D | jsxNamespaceImplicitImportJSXNamespace.types | 38 children: any; 39 >children : any 93 …ord<string, any> & { children?: ComponentChild;}, key?: string): VNode<any>; <P>(type: Componen… 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 …]
|
D | jsxChildrenGenericContextualTypes.types | 7 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 …]
|
D | intersectionOfTypeVariableHasApparentSignatures.types | 3 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 …]
|
D | jsxChildrenGenericContextualTypes.js | 5 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 …]
|
/third_party/typescript/tests/cases/compiler/ |
D | conditionalTypeDiscriminatingLargeUnionRegularTypeFetchingSpeedReasonable.ts | 4 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/ |
D | split_penalty.py | 68 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 …]
|
D | blank_line_calculator.py | 68 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 …]
|
D | subtype_assigner.py | 67 for child in node.children: 73 for child in node.children: 83 for child in node.children: 109 for child in node.children: 116 for child in node.children: 123 for child in node.children: 130 for child in node.children: 138 for child in node.children: 144 for grandchild in child.children: 149 for child in node.children: [all …]
|
/third_party/python/Lib/lib2to3/fixes/ |
D | fix_metaclass.py | 32 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 …]
|
D | fix_itertools_imports.py | 16 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/python/Lib/lib2to3/ |
D | btm_utils.py | 24 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 …]
|
D | fixer_util.py | 123 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 …]
|
D | pytree.py | 45 children = () # Tuple of subnodes variable in Base 109 for ch in self.parent.children: 111 assert not found, (self.parent.children, self, new) 117 assert found, (self.children, self, new) 119 self.parent.children = l_children 128 if not node.children: 130 node = node.children[0] 144 for i, node in enumerate(self.parent.children): 147 del self.parent.children[i] 161 for i, child in enumerate(self.parent.children): [all …]
|
/third_party/typescript/src/services/ |
D | smartSelection.ts | 10 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]; 43 … || isVariableDeclaration(node) && isSyntaxList(parentNode) && children.length === 1 92 if (i === children.length - 1) { 177 const [openBraceToken, ...children] = node.getChildren(); 178 const closeBraceToken = Debug.checkDefined(children.pop()); [all …]
|
/third_party/elfutils/tests/ |
D | run-show-abbrev.sh | 24 abbrev[0]: code = 1, tag = 17, children = 1 32 abbrev[19]: code = 2, tag = 46, children = 1 43 abbrev[44]: code = 3, tag = 46, children = 1 51 abbrev[63]: code = 4, tag = 24, children = 0 52 abbrev[68]: code = 5, tag = 46, children = 1 59 abbrev[85]: code = 6, tag = 36, children = 0 63 abbrev[96]: code = 7, tag = 52, children = 0 70 abbrev[0]: code = 1, tag = 17, children = 1 78 abbrev[19]: code = 2, tag = 46, children = 0 88 abbrev[42]: code = 3, tag = 36, children = 0 [all …]
|
/third_party/skia/third_party/externals/freetype/src/tools/ |
D | glnames.py | 5065 self.children = {} 5078 if self.children.has_key( letter ): 5079 child = self.children[letter] 5082 self.children[letter] = child 5088 children = self.children.values() 5089 self.children = {} 5091 for child in children: 5092 self.children[child.letter[0]] = child.optimize() 5097 if ( self.value != 0 ) or ( not children ) or len( children ) > 1: 5100 child = children[0] [all …]
|