Home
last modified time | relevance | path

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

123456789

/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 : () => any
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;
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;
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 …]
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 …]
/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 …]
/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/typescript_eslint/packages/eslint-plugin/src/rules/
Dexplicit-member-accessibility.ts94 nodeType: string,
103 type: nodeType,
117 let nodeType = 'method definition';
129 nodeType = `${methodDefinition.kind} property accessor`;
145 nodeType,
153 nodeType,
208 const nodeType = 'class property'; constant
217 nodeType,
225 nodeType,
239 const nodeType = 'parameter property'; constant
[all …]
/third_party/libxml2/python/
Ddrv_libxml2.py187 nodeType = reader.NodeType()
189 if nodeType == 1:
235 elif nodeType == 15:
245 elif nodeType == 3:
248 elif nodeType == 13:
251 elif nodeType == 14:
254 elif nodeType == 4:
261 elif nodeType == 5:
266 elif nodeType == 16:
270 elif nodeType == 7:
[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)
189 if child.nodeType == Node.CDATA_SECTION_NODE:
196 if child.nodeType == Node.ELEMENT_NODE:
/third_party/mindspore/mindspore/lite/test/ut/tools/optimizer/fusion/
Dconv_bn_fusion_test.cc100 input0->nodeType = lite::NodeType_ValueNode; in BuildCaffeGraph()
109 input1->nodeType = lite::NodeType_ValueNode; in BuildCaffeGraph()
118 conv_output->nodeType = lite::NodeType_Parameter; in BuildCaffeGraph()
126 input2->nodeType = lite::NodeType_ValueNode; in BuildCaffeGraph()
135 input3->nodeType = lite::NodeType_ValueNode; in BuildCaffeGraph()
144 output->nodeType = lite::NodeType_Parameter; in BuildCaffeGraph()
181 input0->nodeType = lite::NodeType_ValueNode; in BuildTFGraph()
190 input11->nodeType = lite::NodeType_ValueNode; in BuildTFGraph()
199 input1->nodeType = lite::NodeType_ValueNode; in BuildTFGraph()
208 conv_output->nodeType = lite::NodeType_Parameter; in BuildTFGraph()
[all …]
/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/typescript_eslint/packages/scope-manager/src/referencer/
DPatternVisitor.ts24 const nodeType = node.type; constant
27 nodeType === AST_NODE_TYPES.Identifier ||
28 nodeType === AST_NODE_TYPES.ObjectPattern ||
29 nodeType === AST_NODE_TYPES.ArrayPattern ||
30 nodeType === AST_NODE_TYPES.SpreadElement ||
31 nodeType === AST_NODE_TYPES.RestElement ||
32 nodeType === AST_NODE_TYPES.AssignmentPattern
/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/mindspore/mindspore/lite/test/st/
Dsub_graph_test.cc52 tensor_0->nodeType = lite::NodeType_ValueNode; in TEST_F()
57 tensor_1->nodeType = lite::NodeType_ValueNode; in TEST_F()
66 tensor_2->nodeType = lite::NodeType_Parameter; in TEST_F()
85 tensor_3->nodeType = lite::NodeType_ValueNode; in TEST_F()
94 tensor_4->nodeType = lite::NodeType_Parameter; in TEST_F()
124 tensor_13->nodeType = lite::NodeType_ValueNode; in TEST_F()
133 tensor_14->nodeType = lite::NodeType_Parameter; in TEST_F()
160 tensor_5->nodeType = lite::NodeType_ValueNode; in TEST_F()
169 tensor_6->nodeType = lite::NodeType_Parameter; in TEST_F()
186 tensor_15->nodeType = lite::NodeType_ValueNode; in TEST_F()
[all …]
/third_party/mindspore/mindspore/lite/test/ut/src/
Dscheduler_test.cc99 tensor0->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
105 tensor1->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
111 tensor2->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
117 tensor3->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
123 tensor4->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
129 tensor5->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
135 tensor6->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
141 tensor7->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
260 tensor0->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
266 tensor1->nodeType = mindspore::lite::NodeType_ValueNode; in TEST_F()
[all …]
/third_party/typescript_eslint/tests/integration/fixtures/markdown/
Dtest.js.snap18 "nodeType": "MemberExpression",
29 "nodeType": "TSAnyKeyword",
64 "nodeType": "MemberExpression",
75 "nodeType": "MemberExpression",
86 "nodeType": "TSAnyKeyword",
121 "nodeType": "MemberExpression",
132 "nodeType": "TSAnyKeyword",
167 "nodeType": "MemberExpression",
178 "nodeType": "TSAnyKeyword",
213 "nodeType": "MemberExpression",

123456789