MCPcopy Index your code
hub / github.com/angular/angular / template

Function template

packages/compiler/src/template/pipeline/src/instruction.ts:166–187  ·  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

164}
165
166export function template(
167 slot: number,
168 templateFnRef: o.Expression,
169 decls: number,
170 vars: number,
171 tag: string | null,
172 constIndex: number | null,
173 localRefs: number | null,
174 sourceSpan: ParseSourceSpan,
175): ir.CreateOp {
176 return templateBase(
177 Identifiers.templateCreate,
178 slot,
179 templateFnRef,
180 decls,
181 vars,
182 tag,
183 constIndex,
184 localRefs,
185 sourceSpan,
186 );
187}
188
189export function disableBindings(): ir.CreateOp {
190 return call(Identifiers.disableBindings, [], null);

Callers 2

renderEmbeddedTemplateFunction · 0.50

Calls 1

templateBaseFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…