Home
last modified time | relevance | path

Searched refs:nodeType (Results 1 – 25 of 132) sorted by relevance

123456

/third_party/typescript/tests/baselines/reference/
DparserRealSource14.js69 public nodeType(): TypeScript.NodeType {
72 return this.ast().nodeType;
95 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
96 (this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) &&
104 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
105 (this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) &&
113 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
114 (this.parent().nodeType === TypeScript.NodeType.ArgDecl) &&
122 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
123 (this.parent().nodeType === TypeScript.NodeType.VarDecl) &&
[all …]
DparserRealSource14.types284 public nodeType(): TypeScript.NodeType {
285 >nodeType : () => TypeScript.NodeType
303 return this.ast().nodeType;
304 >this.ast().nodeType : any
309 >nodeType : any
408 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
409 >(this.ast().nodeType === TypeScript.NodeType.Name) && (this.parent().nodeType === T…
410 >(this.ast().nodeType === TypeScript.NodeType.Name) && (this.parent().nodeType === T…
411 >(this.ast().nodeType === TypeScript.NodeType.Name) : boolean
412 >this.ast().nodeType === TypeScript.NodeType.Name : boolean
[all …]
DintersectionsOfLargeUnions.js5 let nodeType = node === null ? null : node.nodeType; variable
6 return nodeType === 1;
35 var nodeType = node === null ? null : node.nodeType;
36 return nodeType === 1;
DparserRealSource11.js25 constructor (public nodeType: NodeType) {
38 switch (this.nodeType) {
67 switch (this.nodeType) {
138 if (nodeTypeTable[this.nodeType] !== undefined) {
139 return nodeTypeTable[this.nodeType];
142 return (<any>NodeType)._map[this.nodeType];
156 return (<any>NodeType)._map[this.nodeType];
220 if (ast.nodeType == NodeType.List) {
351 constructor (nodeType: NodeType) {
352 super(nodeType);
[all …]
DintersectionsOfLargeUnions2.js15 let nodeType = node === null ? null : node.nodeType; variable
16 return nodeType === 1;
45 var nodeType = node === null ? null : node.nodeType;
46 return nodeType === 1;
DintersectionsOfLargeUnions.symbols11 let nodeType = node === null ? null : node.nodeType;
12 >nodeType : Symbol(nodeType, Decl(intersectionsOfLargeUnions.ts, 3, 7))
14 >node.nodeType : Symbol(Node.nodeType, Decl(lib.dom.d.ts, --, --))
16 >nodeType : Symbol(Node.nodeType, Decl(lib.dom.d.ts, --, --))
18 return nodeType === 1;
19 >nodeType : Symbol(nodeType, Decl(intersectionsOfLargeUnions.ts, 3, 7))
DparserRealSource8.js211 … context.scopeChain.previous.scope.container.declAST.nodeType == NodeType.FuncDecl &&
257 container.declAST.nodeType == NodeType.FuncDecl &&
287 … ((!fgSym || fgSym.declAST.nodeType != NodeType.FuncDecl) && funcDecl.isAccessor()) ||
395 if (ast.nodeType == NodeType.List) {
399 else if (ast.nodeType == NodeType.ModuleDeclaration) {
402 else if (ast.nodeType == NodeType.ClassDeclaration) {
405 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
408 else if (ast.nodeType == NodeType.With) {
411 else if (ast.nodeType == NodeType.FuncDecl) {
414 else if (ast.nodeType == NodeType.Catch) {
[all …]
DintersectionsOfLargeUnions2.symbols31 let nodeType = node === null ? null : node.nodeType;
32 >nodeType : Symbol(nodeType, Decl(intersectionsOfLargeUnions2.ts, 13, 7))
34 >node.nodeType : Symbol(Node.nodeType, Decl(lib.dom.d.ts, --, --))
36 >nodeType : Symbol(Node.nodeType, Decl(lib.dom.d.ts, --, --))
38 return nodeType === 1;
39 >nodeType : Symbol(nodeType, Decl(intersectionsOfLargeUnions2.ts, 13, 7))
DintersectionsOfLargeUnions.types9 let nodeType = node === null ? null : node.nodeType;
10 >nodeType : number | null
11 >node === null ? null : node.nodeType : number | null
16 >node.nodeType : number
18 >nodeType : number
20 return nodeType === 1;
21 >nodeType === 1 : boolean
22 >nodeType : number | null
DintersectionsOfLargeUnions2.types23 let nodeType = node === null ? null : node.nodeType;
24 >nodeType : number | null
25 >node === null ? null : node.nodeType : number | null
30 >node.nodeType : number
32 >nodeType : number
34 return nodeType === 1;
35 >nodeType === 1 : boolean
36 >nodeType : number | null
DparserRealSource8.types979 … context.scopeChain.previous.scope.container.declAST.nodeType == NodeType.FuncD…
980 … context.scopeChain.previous.scope.container.declAST.nodeType == NodeType.FuncD…
1005 … context.scopeChain.previous.scope.container.declAST.nodeType == NodeType.FuncDecl &&
1006 >context.scopeChain.previous.scope.container.declAST.nodeType == NodeType.FuncDecl : boolean
1007 >context.scopeChain.previous.scope.container.declAST.nodeType : any
1019 >nodeType : any
1258 … container.declAST && container.declAST.nodeType == NodeType.FuncD…
1259 … container.declAST && container.declAST.nodeType == NodeType.FuncD…
1260 … container.declAST && container.declAST.nodeType == NodeType.FuncD…
1276 container.declAST.nodeType == NodeType.FuncDecl &&
[all …]
DparserRealSource14.errors.txt239 public nodeType(): TypeScript.NodeType {
246 return this.ast().nodeType;
275 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
278 (this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) &&
290 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
293 (this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) &&
305 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
308 (this.parent().nodeType === TypeScript.NodeType.ArgDecl) &&
320 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
323 (this.parent().nodeType === TypeScript.NodeType.VarDecl) &&
[all …]
DparserRealSource7.js101 switch (alias.nodeType) {
232 if (symbol && symbol.declAST && symbol.declAST.nodeType != NodeType.ModuleDeclaration) {
315 valTypeSymbol.declAST.nodeType == NodeType.FuncDecl &&
614 containerSym.declAST.nodeType == NodeType.FuncDecl &&
711 …if (!isConstructor && fgSym.declAST.nodeType == NodeType.FuncDecl && !(<FuncDecl>fgSym.declAST).is…
737 …if (((!fgSym || fgSym.declAST.nodeType != NodeType.FuncDecl) && funcDecl.isAccessor()) || (fgSym &…
773 if (ast.nodeType == NodeType.Script) {
778 else if (ast.nodeType == NodeType.List) {
781 else if (ast.nodeType == NodeType.ImportDeclaration) {
784 else if (ast.nodeType == NodeType.With) {
[all …]
DparserRealSource11.types57 constructor (public nodeType: NodeType) {
58 >nodeType : NodeType
95 switch (this.nodeType) {
96 >this.nodeType : NodeType
98 >nodeType : NodeType
228 switch (this.nodeType) {
229 >this.nodeType : NodeType
231 >nodeType : NodeType
608 if (nodeTypeTable[this.nodeType] !== undefined) {
609 >nodeTypeTable[this.nodeType] !== undefined : boolean
[all …]
DparserRealSource11.symbols46 constructor (public nodeType: NodeType) {
47 >nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21))
77 switch (this.nodeType) {
78 >this.nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21))
80 >nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21))
148 switch (this.nodeType) {
149 >this.nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21))
151 >nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21))
341 if (nodeTypeTable[this.nodeType] !== undefined) {
342 >this.nodeType : Symbol(AST.nodeType, Decl(parserRealSource11.ts, 23, 21))
[all …]
/third_party/typescript/tests/cases/conformance/parser/ecmascript5/
DparserRealSource14.ts68 public nodeType(): TypeScript.NodeType { method in AstPath
71 return this.ast().nodeType;
94 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
95 (this.parent().nodeType === TypeScript.NodeType.ClassDeclaration) &&
103 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
104 (this.parent().nodeType === TypeScript.NodeType.InterfaceDeclaration) &&
112 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
113 (this.parent().nodeType === TypeScript.NodeType.ArgDecl) &&
121 return (this.ast().nodeType === TypeScript.NodeType.Name) &&
122 (this.parent().nodeType === TypeScript.NodeType.VarDecl) &&
[all …]
DparserRealSource11.ts24 constructor (public nodeType: NodeType) { property in AST
37 switch (this.nodeType) {
66 switch (this.nodeType) {
137 if (nodeTypeTable[this.nodeType] !== undefined) {
138 return nodeTypeTable[this.nodeType];
141 return (<any>NodeType)._map[this.nodeType];
155 return (<any>NodeType)._map[this.nodeType];
219 if (ast.nodeType == NodeType.List) {
350 constructor (nodeType: NodeType) {
351 super(nodeType);
[all …]
DparserRealSource8.ts210 … context.scopeChain.previous.scope.container.declAST.nodeType == NodeType.FuncDecl &&
256 container.declAST.nodeType == NodeType.FuncDecl &&
286 … ((!fgSym || fgSym.declAST.nodeType != NodeType.FuncDecl) && funcDecl.isAccessor()) ||
394 if (ast.nodeType == NodeType.List) {
398 else if (ast.nodeType == NodeType.ModuleDeclaration) {
401 else if (ast.nodeType == NodeType.ClassDeclaration) {
404 else if (ast.nodeType == NodeType.InterfaceDeclaration) {
407 else if (ast.nodeType == NodeType.With) {
410 else if (ast.nodeType == NodeType.FuncDecl) {
413 else if (ast.nodeType == NodeType.Catch) {
[all …]
DparserRealSource7.ts100 switch (alias.nodeType) {
231 if (symbol && symbol.declAST && symbol.declAST.nodeType != NodeType.ModuleDeclaration) {
314 valTypeSymbol.declAST.nodeType == NodeType.FuncDecl &&
613 containerSym.declAST.nodeType == NodeType.FuncDecl &&
710 …if (!isConstructor && fgSym.declAST.nodeType == NodeType.FuncDecl && !(<FuncDecl>fgSym.declAST).is…
736 …if (((!fgSym || fgSym.declAST.nodeType != NodeType.FuncDecl) && funcDecl.isAccessor()) || (fgSym &…
772 if (ast.nodeType == NodeType.Script) {
777 else if (ast.nodeType == NodeType.List) {
780 else if (ast.nodeType == NodeType.ImportDeclaration) {
783 else if (ast.nodeType == NodeType.With) {
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DNodeType.h42 NodeType nodeType; variable
50 return nodeType; in operator()
54 void visitSymbol(TIntermSymbol *) override { nodeType = NodeType::Symbol; } in visitSymbol()
56 void visitConstantUnion(TIntermConstantUnion *) override { nodeType = NodeType::ConstantUnion; } in visitConstantUnion()
60 nodeType = NodeType::FunctionPrototype; in visitFunctionPrototype()
65 nodeType = NodeType::PreprocessorDirective; in visitPreprocessorDirective()
70 nodeType = NodeType::Swizzle; in visitSwizzle()
76 nodeType = NodeType::Binary; in visitBinary()
82 nodeType = NodeType::Unary; in visitUnary()
88 nodeType = NodeType::Ternary; in visitTernary()
[all …]
/third_party/googletest/googletest/test/
Dgtest_xml_test_utils.py63 if expected_node.nodeType == Node.CDATA_SECTION_NODE:
64 self.assertEquals(Node.CDATA_SECTION_NODE, actual_node.nodeType)
68 self.assertEquals(Node.ELEMENT_NODE, actual_node.nodeType)
69 self.assertEquals(Node.ELEMENT_NODE, expected_node.nodeType)
129 if child.nodeType == Node.ELEMENT_NODE:
141 elif child.nodeType in [Node.TEXT_NODE, Node.CDATA_SECTION_NODE]:
143 if (child.nodeType == Node.CDATA_SECTION_NODE or
150 self.fail('Encountered unexpected node type %d' % child.nodeType)
193 if child.nodeType == Node.CDATA_SECTION_NODE:
200 if child.nodeType == Node.ELEMENT_NODE:
/third_party/vk-gl-cts/framework/common/
DtcuTestCase.cpp46 TestNode::TestNode (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* desc… in TestNode() argument
50 , m_nodeType (nodeType) in TestNode()
55 TestNode::TestNode (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* desc… in TestNode() argument
59 , m_nodeType (nodeType) in TestNode()
140 TestCase::TestCase (TestContext& testCtx, TestNodeType nodeType, const char* name, const char* desc… in TestCase() argument
141 : TestNode(testCtx, nodeType, name, description) in TestCase()
143 DE_ASSERT(isTestNodeTypeExecutable(nodeType)); in TestCase()
/third_party/python/Lib/xml/dom/
Dminidom.py58 if self.nodeType == Node.DOCUMENT_NODE:
83 if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
88 if newChild.nodeType not in self._child_node_types:
100 if newChild.nodeType in _nodeTypes_with_children:
115 if node.nodeType == self.DOCUMENT_FRAGMENT_NODE:
120 if node.nodeType not in self._child_node_types:
123 elif node.nodeType in _nodeTypes_with_children:
132 if newChild.nodeType == self.DOCUMENT_FRAGMENT_NODE:
136 if newChild.nodeType not in self._child_node_types:
150 if (newChild.nodeType in _nodeTypes_with_children
[all …]
/third_party/typescript/tests/cases/compiler/
DintersectionsOfLargeUnions.ts6 let nodeType = node === null ? null : node.nodeType;
7 return nodeType === 1;
/third_party/gstreamer/gstplugins_bad/ext/onnx/
Dgstonnxclient.h77 void setOutputNodeIndex(GstMlOutputNodeFunction nodeType, gint index);
78 gint getOutputNodeIndex(GstMlOutputNodeFunction nodeType);
79 void setOutputNodeType(GstMlOutputNodeFunction nodeType,
82 std::string getOutputNodeName(GstMlOutputNodeFunction nodeType);

123456