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

Class TcbExpressionOp

packages/compiler/src/typecheck/ops/expression.ts:54–72  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52 * Executing this operation returns nothing.
53 */
54export class TcbExpressionOp extends TcbOp {
55 constructor(
56 private tcb: Context,
57 private scope: Scope,
58 private expression: AST,
59 ) {
60 super();
61 }
62
63 override get optional() {
64 return false;
65 }
66
67 override execute(): null {
68 const expr = tcbExpression(this.expression, this.tcb, this.scope);
69 this.scope.addStatement(expr);
70 return null;
71 }
72}
73
74/**
75 * A `TcbOp` which renders an Angular expression inside a conditional context.

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…