MCPcopy
hub / github.com/angular/angular / visit

Method visit

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

Source from the content-addressed store, hash-verified

1881 const accumulator: html.Node[] = [];
1882 const visitor = new (class implements html.Visitor {
1883 visit(node: html.Node, context: any) {
1884 accumulator.push(node);
1885 }
1886 visitElement(element: html.Element, context: any): any {
1887 html.visitAll(this, element.attrs);
1888 html.visitAll(this, element.directives);

Callers

nothing calls this directly

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected