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

Function interpolation7

packages/core/src/render3/instructions/interpolation.ts:223–263  ·  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,
  suffix = '',
)

Source from the content-addressed store, hash-verified

221 * Creates an interpolation binding with 7 expressions.
222 */
223export function interpolation7(
224 lView: LView,
225 prefix: string,
226 v0: any,
227 i0: string,
228 v1: any,
229 i1: string,
230 v2: any,
231 i2: string,
232 v3: any,
233 i3: string,
234 v4: any,
235 i4: string,
236 v5: any,
237 i5: string,
238 v6: any,
239 suffix = '',
240): string | NO_CHANGE {
241 const bindingIndex = getBindingIndex();
242 let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
243 different = bindingUpdated3(lView, bindingIndex + 4, v4, v5, v6) || different;
244 incrementBindingIndex(7);
245
246 return different
247 ? prefix +
248 renderStringify(v0) +
249 i0 +
250 renderStringify(v1) +
251 i1 +
252 renderStringify(v2) +
253 i2 +
254 renderStringify(v3) +
255 i3 +
256 renderStringify(v4) +
257 i4 +
258 renderStringify(v5) +
259 i5 +
260 renderStringify(v6) +
261 suffix
262 : NO_CHANGE;
263}
264
265/**
266 * Creates an interpolation binding with 8 expressions.

Callers 2

ɵɵinterpolate7Function · 0.90
ɵɵtextInterpolate7Function · 0.90

Calls 5

getBindingIndexFunction · 0.90
bindingUpdated4Function · 0.90
bindingUpdated3Function · 0.90
incrementBindingIndexFunction · 0.90
renderStringifyFunction · 0.90

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…