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

Function call

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

Source from the content-addressed store, hash-verified

1021}
1022
1023function call<OpT extends ir.CreateOp | ir.UpdateOp>(
1024 instruction: o.ExternalReference,
1025 args: o.Expression[],
1026 sourceSpan: ParseSourceSpan | null,
1027): OpT {
1028 const expr = o.importExpr(instruction).callFn(args, sourceSpan);
1029 return ir.createStatementOp(new o.ExpressionStatement(expr, sourceSpan)) as OpT;
1030}
1031
1032export function conditional(
1033 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