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

Function call

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

Source from the content-addressed store, hash-verified

1000}
1001
1002function call<OpT extends ir.CreateOp | ir.UpdateOp>(
1003 instruction: o.ExternalReference,
1004 args: o.Expression[],
1005 sourceSpan: ParseSourceSpan | null,
1006): OpT {
1007 const expr = o.importExpr(instruction).callFn(args, sourceSpan);
1008 return ir.createStatementOp(new o.ExpressionStatement(expr, sourceSpan)) as OpT;
1009}
1010
1011export function conditional(
1012 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