MCPcopy Create free account
hub / github.com/angular/angular / visit

Method visit

packages/compiler/src/expression_parser/ast.ts:726–726  ·  view source on GitHub ↗

* This function is optionally defined to allow classes that implement this * interface to selectively decide if the specified `ast` should be visited. * @param ast node to visit * @param context context that gets passed to the node and all its children

(ast: AST, context?: any)

Source from the content-addressed store, hash-verified

724 * @param context context that gets passed to the node and all its children
725 */
726 visit?(ast: AST, context?: any): any;
727}
728
729export class RecursiveAstVisitor implements AstVisitor {

Callers 15

checkSimpleExpressionMethod · 0.65
visitMethod · 0.65
visitMethod · 0.65
serializeFunction · 0.65
visitUnaryMethod · 0.65
visitBinaryMethod · 0.65
visitChainMethod · 0.65
visitConditionalMethod · 0.65
visitInterpolationMethod · 0.65
visitKeyedReadMethod · 0.65
visitLiteralArrayMethod · 0.65
visitLiteralMapMethod · 0.65

Implementers 4

Unparserpackages/compiler/test/expression_pars
RecursiveAstVisitorpackages/compiler/src/expression_parse
TcbExprTranslatorpackages/compiler/src/typecheck/expres
VeSafeLhsInferenceBugDetectorpackages/compiler/src/typecheck/expres

Calls

no outgoing calls

Tested by

no test coverage detected