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

Function call

packages/compiler/src/template/pipeline/src/instruction.ts:1019–1026  ·  view source on GitHub ↗
(
  instruction: o.ExternalReference,
  args: o.Expression[],
  sourceSpan: ParseSourceSpan | null,
)

Source from the content-addressed store, hash-verified

1017}
1018
1019function call<OpT extends ir.CreateOp | ir.UpdateOp>(
1020 instruction: o.ExternalReference,
1021 args: o.Expression[],
1022 sourceSpan: ParseSourceSpan | null,
1023): OpT {
1024 const expr = o.importExpr(instruction).callFn(args, sourceSpan);
1025 return ir.createStatementOp(new o.ExpressionStatement(expr, sourceSpan)) as OpT;
1026}
1027
1028export function conditional(
1029 condition: o.Expression,

Callers 15

foreignComponentFunction · 0.85
elementOrContainerBaseFunction · 0.85
templateBaseFunction · 0.85
propertyBaseFunction · 0.85
elementEndFunction · 0.85
elementContainerEndFunction · 0.85
disableBindingsFunction · 0.85
enableBindingsFunction · 0.85
listenerFunction · 0.85
twoWayListenerFunction · 0.85
pipeFunction · 0.85
namespaceHTMLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected