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

Function tcbExpression

packages/compiler/src/typecheck/ops/expression.ts:36–39  ·  view source on GitHub ↗
(ast: AST, tcb: Context, scope: Scope)

Source from the content-addressed store, hash-verified

34 * correct identifiers in the current scope.
35 */
36export function tcbExpression(ast: AST, tcb: Context, scope: Scope): TcbExpr {
37 const translator = new TcbExpressionTranslator(tcb, scope);
38 return translator.translate(ast);
39}
40
41/**
42 * Wraps an expression in an `unwrapSignal` call which extracts the signal's value.

Callers 15

generateBranchMethod · 0.90
generateBranchGuardMethod · 0.90
executeMethod · 0.90
generateGuardMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
executeMethod · 0.90
extractFieldValueFunction · 0.90
extractFieldValueSignalFunction · 0.90
executeMethod · 0.90
generateCatchBranchMethod · 0.90
translateInputFunction · 0.90

Calls 1

translateMethod · 0.95

Tested by

no test coverage detected