MCPcopy Index your code
hub / github.com/angular/angular / ɵɵpureFunction8

Function ɵɵpureFunction8

packages/core/src/render3/pure_function.ts:272–290  ·  view source on GitHub ↗
(
  slotOffset: number,
  pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any, v8: any) => any,
  exp1: any,
  exp2: any,
  exp3: any,
  exp4: any,
  exp5: any,
  exp6: any,
  exp7: any,
  exp8: any,
)

Source from the content-addressed store, hash-verified

270 * @codeGenApi
271 */
272export function ɵɵpureFunction8(
273 slotOffset: number,
274 pureFn: (v1: any, v2: any, v3: any, v4: any, v5: any, v6: any, v7: any, v8: any) => any,
275 exp1: any,
276 exp2: any,
277 exp3: any,
278 exp4: any,
279 exp5: any,
280 exp6: any,
281 exp7: any,
282 exp8: any,
283): any {
284 const bindingIndex = getBindingRoot() + slotOffset;
285 const lView = getLView();
286 const different = bindingUpdated4(lView, bindingIndex, exp1, exp2, exp3, exp4);
287 return bindingUpdated4(lView, bindingIndex + 4, exp5, exp6, exp7, exp8) || different
288 ? updateBinding(lView, bindingIndex + 8, pureFn(exp1, exp2, exp3, exp4, exp5, exp6, exp7, exp8))
289 : getBinding(lView, bindingIndex + 8);
290}
291
292/**
293 * pureFunction instruction that can support any number of bindings.

Callers

nothing calls this directly

Calls 5

getBindingRootFunction · 0.90
getLViewFunction · 0.90
bindingUpdated4Function · 0.90
updateBindingFunction · 0.90
getBindingFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…