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

Method visit

packages/compiler/src/expression_parser/ast.ts:730–735  ·  view source on GitHub ↗
(ast: AST, context?: any)

Source from the content-addressed store, hash-verified

728
729export class RecursiveAstVisitor implements AstVisitor {
730 visit(ast: AST, context?: any): any {
731 // The default implementation just visits every node.
732 // Classes that extend RecursiveAstVisitor should override this function
733 // to selectively visit the specified node.
734 ast.visit(this, context);
735 }
736 visitUnary(ast: Unary, context: any): any {
737 this.visit(ast.expr, context);
738 }

Callers 15

visitUnaryMethod · 0.95
visitBinaryMethod · 0.95
visitConditionalMethod · 0.95
visitPipeMethod · 0.95
visitKeyedReadMethod · 0.95
visitPrefixNotMethod · 0.95
visitTypeofExpressionMethod · 0.95
visitVoidExpressionMethod · 0.95
visitNonNullAssertMethod · 0.95
visitPropertyReadMethod · 0.95
visitSafePropertyReadMethod · 0.95
visitSafeKeyedReadMethod · 0.95

Calls 1

visitMethod · 0.65

Tested by

no test coverage detected