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

Method execute

packages/compiler/src/typecheck/ops/expression.ts:94–99  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

92 }
93
94 override execute(): null {
95 const expr = tcbExpression(this.expression, this.tcb, this.scope);
96 // Wrap in an if-statement to enable TS2774 for uninvoked signals/functions.
97 this.scope.addStatement(new TcbExpr(`if (${expr.print()}) {}`));
98 return null;
99 }
100}
101
102export class TcbExpressionTranslator {

Callers

nothing calls this directly

Calls 3

tcbExpressionFunction · 0.85
addStatementMethod · 0.80
printMethod · 0.45

Tested by

no test coverage detected