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

Method visit

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

Source from the content-addressed store, hash-verified

301 }
302
303 override visit(ast: AST, unparsedList: UnparsedWithSpan[]) {
304 this.recordUnparsed(ast, 'span', unparsedList);
305 if (Object.hasOwn(ast, 'nameSpan')) {
306 this.recordUnparsed(ast, 'nameSpan', unparsedList);
307 }
308 if (Object.hasOwn(ast, 'argumentSpan')) {
309 this.recordUnparsed(ast, 'argumentSpan', unparsedList);
310 }
311 ast.visit(this, unparsedList);
312 }
313 })();
314 recursiveSpanUnparser.visitAll([ast.ast], unparsed);
315 return unparsed;

Callers

nothing calls this directly

Calls 2

recordUnparsedMethod · 0.80
visitMethod · 0.65

Tested by

no test coverage detected