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

Method visit

packages/compiler/test/ml_parser/html_parser_spec.ts:1609–1611  ·  view source on GitHub ↗
(node: html.Node, context: any)

Source from the content-addressed store, hash-verified

1607 const accumulator: html.Node[] = [];
1608 const visitor = new (class implements html.Visitor {
1609 visit(node: html.Node, context: any) {
1610 accumulator.push(node);
1611 }
1612 visitElement(element: html.Element, context: any): any {
1613 html.visitAll(this, element.attrs);
1614 html.visitAll(this, element.children);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected