Home
last modified time | relevance | path

Searched refs:visitNode (Results 1 – 25 of 43) sorted by relevance

12

/third_party/typescript/src/testRunner/unittests/
Dtransform.ts27 return (file: SourceFile) => visitNode(file, visitor);
50 return (node: SourceFile) => visitNode(node, visitor);
104 context => file => visitNode(file, function visitor(node: Node): VisitResult<Node> {
112 context => file => visitNode(file, function visitor(node: Node): VisitResult<Node> {
246 return visitNode(sourceFile);
248 function visitNode<T extends Node>(node: T): T {
254 return visitEachChild(node, visitNode, context);
272 return visitNode(sourceFile);
274 function visitNode<T extends Node>(node: T): T {
284 return visitEachChild(node, visitNode, context);
[all …]
DcustomTransforms.ts89 context => node => visitNode(node, function visitor(node: Node): Node {
112 context => node => visitNode(node, function visitor(node: Node): Node {
144 …const transformSourceFile: Transformer<SourceFile> = node => visitNode(node, function visitor(node…
/third_party/typescript/src/compiler/
Dparser.ts38 function visitNode<T>(cbNode: (node: Node) => T, node: Node | undefined): T | undefined { enumerator
102 return visitNode(cbNode, node.left) ||
103 visitNode(cbNode, node.right);
107 visitNode(cbNode, node.name) ||
108 visitNode(cbNode, node.constraint) ||
109 visitNode(cbNode, node.default) ||
110 visitNode(cbNode, node.expression);
115 visitNode(cbNode, node.name) ||
116 visitNode(cbNode, node.questionToken) ||
117 visitNode(cbNode, node.exclamationToken) ||
[all …]
/third_party/typescript/src/compiler/transformers/
Dgenerators.ts696 …cacheExpression(visitNode((left as PropertyAccessExpression).expression, visitor, isLeftHandSideEx…
714 …cacheExpression(visitNode((left as ElementAccessExpression).expression, visitor, isLeftHandSideExp…
715 …cacheExpression(visitNode((left as ElementAccessExpression).argumentExpression, visitor, isExpress…
720 target = visitNode(left, visitor, isExpression);
733 visitNode(right, visitor, isExpression)
742 …return factory.updateBinaryExpression(node, target, node.operatorToken, visitNode(right, visitor, …
768 cacheExpression(visitNode(node.left, visitor, isExpression)),
770 visitNode(node.right, visitor, isExpression));
807 pendingExpressions.push(visitNode(node, visitor, isExpression));
829 pendingExpressions.push(visitNode(elem, visitor, isExpression));
[all …]
Des2020.ts76 let expression: Expression = visitNode(node.expression, visitor, isExpression);
91 …? factory.updatePropertyAccessExpression(node, expression, visitNode(node.name, visitor, isIdentif…
92 …: factory.updateElementAccessExpression(node, expression, visitNode(node.argumentExpression, visit…
119 default: return visitNode(node, visitor, isExpression);
150 …? factory.createPropertyAccessExpression(rightExpression, visitNode(segment.name, visitor, isIdent…
151 …: factory.createElementAccessExpression(rightExpression, visitNode(segment.argumentExpression, vis…
201 let left = visitNode(node.left, visitor, isExpression);
212 visitNode(node.right, visitor, isExpression),
219 … : factory.updateDeleteExpression(node, visitNode(node.expression, visitor, isExpression));
DclassFields.ts389 const receiver = visitNode(node.right, visitor, isExpression);
415 let expression = visitNode(node.expression, visitor, isExpression);
523 const expression = visitNode(name.expression, visitor, isExpression);
630 … return createPrivateIdentifierAccessHelper(info, visitNode(receiver, visitor, isExpression));
714 visitNode(node.argumentExpression, visitor, isExpression),
733 const receiver = visitNode(operand.expression, visitor, isExpression);
787 …setterName = factory.createAssignment(getterName, visitNode(operand.argumentExpression, visitor, i…
814 visitNode(node.initializer, discardedValueVisitor, isForInitializer),
815 visitNode(node.condition, visitor, isExpression),
816 visitNode(node.incrementor, discardedValueVisitor, isExpression),
[all …]
DlegacyDecorators.ts307 visitNode(node.body, visitor, isBlock));
325 visitNode(node.name, visitor, isPropertyName),
330 visitNode(node.body, visitor, isBlock)
338 visitNode(node.name, visitor, isPropertyName),
341 visitNode(node.body, visitor, isBlock)
349 visitNode(node.name, visitor, isPropertyName),
351 visitNode(node.body, visitor, isBlock)
363 visitNode(node.name, visitor, isPropertyName),
366 visitNode(node.initializer, visitor, isExpression)
375 visitNode(node.name, visitor, isBindingName),
[all …]
Des2018.ts274 …Expression(/*asteriskToken*/ undefined, emitHelpers().createAwaitHelper(visitNode(node.expression,…
286 … const expression = visitNode(Debug.checkDefined(node.expression), visitor, isExpression);
320 ? visitNode(node.expression, visitor, isExpression)
336 … node.expression ? visitNode(node.expression, visitor, isExpression) : factory.createVoidZero()
349 …return factory.restoreEnclosingLabel(visitNode(statement, visitor, isStatement, factory.liftToBloc…
364 objects.push(visitNode(target, visitor, isExpression));
368 … ? factory.createPropertyAssignment(e.name, visitNode(e.initializer, visitor, isExpression))
369 : visitNode(e, visitor, isObjectLiteralElementLike));
480 visitNode(node.left, visitorWithUnusedExpressionResult, isExpression),
482visitNode(node.right, expressionResultIsUnused ? visitorWithUnusedExpressionResult : visitor, isEx…
[all …]
Des2016.ts45 const left = visitNode(node.left, visitor, isExpression);
46 const right = visitNode(node.right, visitor, isExpression);
100 const left = visitNode(node.left, visitor, isExpression);
101 const right = visitNode(node.right, visitor, isExpression);
Dts.ts820 … const expression = visitNode(parameterDecorator.expression, visitor, isExpression);
971 const expression = visitNode(name.expression, visitor, isExpression);
979 return visitNode(name, visitor, isPropertyName);
1010 visitNode(node.expression, visitor, isLeftHandSideExpression),
1039 visitNode(node.name, visitor, isPropertyName),
1052 visitNode(node.initializer, visitor)
1313 visitNode(node.name, visitor, isBindingName),
1316 visitNode(node.initializer, visitor, isExpression)
1367 visitNode(node.initializer, visitor, isExpression)
1377 visitNode(node.name, visitor, isBindingName),
[all …]
Des2017.ts229 : visitNode(node.initializer, visitor, isForInitializer),
230 visitNode(node.expression, visitor, isExpression),
238 visitNode(node.awaitModifier, visitor, isToken),
241 : visitNode(node.initializer, visitor, isForInitializer),
242 visitNode(node.expression, visitor, isExpression),
253 : visitNode(node.initializer, visitor, isForInitializer),
254 visitNode(node.condition, visitor, isExpression),
255 visitNode(node.incrementor, visitor, isExpression),
276 visitNode(node.expression, visitor, isExpression)
432 …return visitNode(factory.converters.convertToAssignmentElementTarget(node.declarations[0].name), v…
[all …]
Des2015.ts613 ? visitNode(node.expression, visitor, isExpression)
852 ? [visitNode(extendsClauseElement.expression, visitor, isExpression)]
1362 visitNode(initializer, visitor, isExpression)
1382 initializer = visitNode(initializer, visitor, isExpression);
1722 const propertyName = visitNode(member.name, visitor, isPropertyName);
1778 const visitedAccessorName = visitNode(firstAccessor.name, visitor, isPropertyName);
2017 const expression = visitNode(body, visitor, isExpression);
2111 visitNode(node.left, visitorWithUnusedExpressionResult, isExpression),
2113visitNode(node.right, expressionResultIsUnused ? visitorWithUnusedExpressionResult : visitor, isEx…
2130 …const visited = visitNode(element, i < node.elements.length - 1 ? visitorWithUnusedExpressionResul…
[all …]
Ddestructuring.ts50 return visitNode(value, visitor, isExpression);
70 value = visitNode(value, visitor, isExpression);
119 … context.factory.createAssignment(visitNode(target as Expression, visitor, isExpression), value),
202 …initializer = ensureIdentifier(flattenContext, visitNode(initializer, flattenContext.visitor), /*r…
271 …const initializer = visitNode(getInitializerOfBindingOrAssignmentElement(element), flattenContext.…
331 … bindingElements = append(bindingElements, visitNode(element, flattenContext.visitor));
478 …const argumentExpression = ensureIdentifier(flattenContext, visitNode(propertyName.expression, fla…
Des2021.ts37 … let left = skipParentheses(visitNode(binaryExpression.left, visitor, isLeftHandSideExpression));
39 const right = skipParentheses(visitNode(binaryExpression.right, visitor, isExpression));
DtaggedTemplate.ts17 const tag = visitNode(node.tag, visitor, isExpression);
41 templateArguments.push(visitNode(templateSpan.expression, visitor, isExpression));
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DValidateAST.cpp54 void visitNode(Visit visit, TIntermNode *node);
159 void ValidateAST::visitNode(Visit visit, TIntermNode *node) in visitNode() function in sh::__anon15b7bedd0111::ValidateAST
599 visitNode(PreVisit, node); in visitSymbol()
633 visitNode(PreVisit, node); in visitConstantUnion()
638 visitNode(visit, node); in visitSwizzle()
644 visitNode(visit, node); in visitBinary()
656 visitNode(visit, node); in visitUnary()
668 visitNode(visit, node); in visitTernary()
674 visitNode(visit, node); in visitIfElse()
680 visitNode(visit, node); in visitSwitch()
[all …]
/third_party/typescript/src/compiler/transformers/module/
Dsystem.ts247 visitNode(moduleInfo.externalHelpersImportDeclaration, topLevelVisitor, isStatement);
661 const expression = visitNode(node.expression, visitor, isExpression);
689 visitNode(node.body, visitor, isBlock)));
761 return visitNode(node, visitor, isStatement);
840 …: node.initializer ? createAssignment(node.name, visitNode(node.initializer, visitor, isExpression…
1240visitNode(node.initializer, isTopLevel ? visitForInitializer : discardedValueVisitor, isForInitial…
1241 visitNode(node.condition, visitor, isExpression),
1242 visitNode(node.incrementor, discardedValueVisitor, isExpression),
1262 visitNode(node.expression, visitor, isExpression),
1283 visitNode(node.expression, visitor, isExpression),
[all …]
Dmodule.ts118 …append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, …
441 …append(statements, visitNode(currentModuleInfo.externalHelpersImportDeclaration, topLevelVisitor, …
472 … const expressionResult = visitNode(currentModuleInfo.exportEquals.expression, visitor);
639 visitNode(node.initializer, discardedValueVisitor, isForInitializer),
640 visitNode(node.condition, visitor, isExpression),
641 visitNode(node.incrementor, discardedValueVisitor, isExpression),
649 visitNode(node.expression, discardedValueVisitor, isExpression)
654 …return factory.updateParenthesizedExpression(node, visitNode(node.expression, valueIsDiscarded ? d…
658 …return factory.updatePartiallyEmittedExpression(node, visitNode(node.expression, valueIsDiscarded …
679 let expression: Expression = visitNode(node.operand, visitor, isExpression);
[all …]
/third_party/glslang/glslang/MachineIndependent/
Dreflection.cpp269 TIntermBinary* visitNode = *deref; in blowUpActiveAggregate() local
270 terminalType = &visitNode->getType(); in blowUpActiveAggregate()
272 switch (visitNode->getOp()) { in blowUpActiveAggregate()
274 int stride = getArrayStride(baseType, visitNode->getLeft()->getType()); in blowUpActiveAggregate()
280 … for (int i = 0; i < std::max(visitNode->getLeft()->getType().getOuterArraySize(), 1); ++i) { in blowUpActiveAggregate()
300 int stride = getArrayStride(baseType, visitNode->getLeft()->getType()); in blowUpActiveAggregate()
302 index = visitNode->getRight()->getAsConstantUnion()->getConstArray()[0].getIConst(); in blowUpActiveAggregate()
317 if (topLevelArrayStride != 0 && visitNode->getLeft()->getType().isArray()) { in blowUpActiveAggregate()
323 index = visitNode->getRight()->getAsConstantUnion()->getConstArray()[0].getIConst(); in blowUpActiveAggregate()
325 offset += intermediate.getOffset(visitNode->getLeft()->getType(), index); in blowUpActiveAggregate()
[all …]
/third_party/typescript/src/services/codefixes/
DannotateWithTypeFromJSDoc.ts101 …return factory.createUnionTypeNode([visitNode(node.type, transformJSDocType), factory.createTypeRe…
105 …return factory.createUnionTypeNode([visitNode(node.type, transformJSDocType), factory.createTypeRe…
109 return factory.createArrayTypeNode(visitNode(node.type, transformJSDocType));
123 …rameterDeclaration(node.modifiers, dotdotdot, name, node.questionToken, visitNode(node.type, trans…
/third_party/node/deps/npm/node_modules/treeverse/lib/
Ddepth-descent.js44 const res = visitNode(node)
52 const visitNode = (visitTree) => { function
Dbreadth.js23 const res = visitNode(node)
31 const visitNode = (visitTree) => { function
Ddepth.js36 const visitNode = () => {
71 return visitNode()
/third_party/typescript/src/harness/
DtypeWriter.ts53 const gen = this.visitNode(sourceFile, /*isSymbolWalk*/ true);
62 const gen = this.visitNode(sourceFile, /*isSymbolWalk*/ false);
68 … private *visitNode(node: ts.Node, isSymbolWalk: boolean): IterableIterator<TypeWriterResult> {
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsOptimizePICCall.cpp93 bool visitNode(MBBInfo &MBBI);
219 Changed |= visitNode(MBBI); in runOnMachineFunction()
228 bool OptimizePICCall::visitNode(MBBInfo &MBBI) { in visitNode() function in OptimizePICCall

12