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

Method visit

packages/compiler/test/expression_parser/utils/unparser.ts:293–302  ·  view source on GitHub ↗
(ast: AST, unparsedList: UnparsedWithSpan[])

Source from the content-addressed store, hash-verified

291 }
292
293 override visit(ast: AST, unparsedList: UnparsedWithSpan[]) {
294 this.recordUnparsed(ast, 'span', unparsedList);
295 if (ast.hasOwnProperty('nameSpan')) {
296 this.recordUnparsed(ast, 'nameSpan', unparsedList);
297 }
298 if (ast.hasOwnProperty('argumentSpan')) {
299 this.recordUnparsed(ast, 'argumentSpan', unparsedList);
300 }
301 ast.visit(this, unparsedList);
302 }
303 })();
304 recursiveSpanUnparser.visitAll([ast.ast], unparsed);
305 return unparsed;

Callers

nothing calls this directly

Calls 2

recordUnparsedMethod · 0.80
visitMethod · 0.65

Tested by

no test coverage detected