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

Function interpolation8

packages/core/src/render3/instructions/interpolation.ts:268–312  ·  view source on GitHub ↗
(
  lView: LView,
  prefix: string,
  v0: any,
  i0: string,
  v1: any,
  i1: string,
  v2: any,
  i2: string,
  v3: any,
  i3: string,
  v4: any,
  i4: string,
  v5: any,
  i5: string,
  v6: any,
  i6: string,
  v7: any,
  suffix = '',
)

Source from the content-addressed store, hash-verified

266 * Creates an interpolation binding with 8 expressions.
267 */
268export function interpolation8(
269 lView: LView,
270 prefix: string,
271 v0: any,
272 i0: string,
273 v1: any,
274 i1: string,
275 v2: any,
276 i2: string,
277 v3: any,
278 i3: string,
279 v4: any,
280 i4: string,
281 v5: any,
282 i5: string,
283 v6: any,
284 i6: string,
285 v7: any,
286 suffix = '',
287): string | NO_CHANGE {
288 const bindingIndex = getBindingIndex();
289 let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
290 different = bindingUpdated4(lView, bindingIndex + 4, v4, v5, v6, v7) || different;
291 incrementBindingIndex(8);
292
293 return different
294 ? prefix +
295 renderStringify(v0) +
296 i0 +
297 renderStringify(v1) +
298 i1 +
299 renderStringify(v2) +
300 i2 +
301 renderStringify(v3) +
302 i3 +
303 renderStringify(v4) +
304 i4 +
305 renderStringify(v5) +
306 i5 +
307 renderStringify(v6) +
308 i6 +
309 renderStringify(v7) +
310 suffix
311 : NO_CHANGE;
312}

Callers 2

ɵɵinterpolate8Function · 0.90
ɵɵtextInterpolate8Function · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…