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

Method visitElement

packages/compiler/src/ml_parser/ast.ts:219–225  ·  view source on GitHub ↗
(ast: Element, context: any)

Source from the content-addressed store, hash-verified

217 constructor() {}
218
219 visitElement(ast: Element, context: any): any {
220 this.visitChildren(context, (visit) => {
221 visit(ast.attrs);
222 visit(ast.comments);
223 visit(ast.children);
224 });
225 }
226
227 visitAttribute(ast: Attribute, context: any): any {}
228 visitStartTagComment(ast: StartTagComment, context: any): any {}

Callers

nothing calls this directly

Calls 2

visitChildrenMethod · 0.95
visitFunction · 0.50

Tested by

no test coverage detected