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

Function template

packages/compiler/src/template/pipeline/src/instruction.ts:189–210  ·  view source on GitHub ↗
(
  slot: number,
  templateFnRef: o.Expression,
  decls: number,
  vars: number,
  tag: string | null,
  constIndex: number | null,
  localRefs: number | null,
  sourceSpan: ParseSourceSpan,
)

Source from the content-addressed store, hash-verified

187}
188
189export function template(
190 slot: number,
191 templateFnRef: o.Expression,
192 decls: number,
193 vars: number,
194 tag: string | null,
195 constIndex: number | null,
196 localRefs: number | null,
197 sourceSpan: ParseSourceSpan,
198): ir.CreateOp {
199 return templateBase(
200 Identifiers.templateCreate,
201 slot,
202 templateFnRef,
203 decls,
204 vars,
205 tag,
206 constIndex,
207 localRefs,
208 sourceSpan,
209 );
210}
211
212export function disableBindings(): ir.CreateOp {
213 return call(Identifiers.disableBindings, [], null);

Callers 2

renderEmbeddedTemplateFunction · 0.50

Calls 1

templateBaseFunction · 0.85

Tested by

no test coverage detected