MCPcopy Index your code
hub / github.com/angular/angular / visitChain

Method visitChain

packages/compiler/src/typecheck/expression.ts:97–103  ·  view source on GitHub ↗
(ast: Chain)

Source from the content-addressed store, hash-verified

95 }
96
97 visitChain(ast: Chain): TcbExpr {
98 const elements = ast.expressions.map((expr) => this.translate(expr).print());
99 const node = new TcbExpr(elements.join(', '));
100 node.wrapForTypeChecker();
101 node.addParseSpanInfo(ast.sourceSpan);
102 return node;
103 }
104
105 visitConditional(ast: Conditional): TcbExpr {
106 const condExpr = this.translate(ast.condition);

Callers

nothing calls this directly

Calls 6

translateMethod · 0.95
wrapForTypeCheckerMethod · 0.95
addParseSpanInfoMethod · 0.95
mapMethod · 0.80
joinMethod · 0.65
printMethod · 0.45

Tested by

no test coverage detected