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

Method execute

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

tcbExpressionFunction · 0.85
addStatementMethod · 0.80
printMethod · 0.45

Tested by

no test coverage detected