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

Function interpolation6

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

Source from the content-addressed store, hash-verified

180 * Creates an interpolation binding with 6 expressions.
181 */
182export function interpolation6(
183 lView: LView,
184 prefix: string,
185 v0: any,
186 i0: string,
187 v1: any,
188 i1: string,
189 v2: any,
190 i2: string,
191 v3: any,
192 i3: string,
193 v4: any,
194 i4: string,
195 v5: any,
196 suffix = '',
197): string | NO_CHANGE {
198 const bindingIndex = getBindingIndex();
199 let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
200 different = bindingUpdated2(lView, bindingIndex + 4, v4, v5) || different;
201 incrementBindingIndex(6);
202
203 return different
204 ? prefix +
205 renderStringify(v0) +
206 i0 +
207 renderStringify(v1) +
208 i1 +
209 renderStringify(v2) +
210 i2 +
211 renderStringify(v3) +
212 i3 +
213 renderStringify(v4) +
214 i4 +
215 renderStringify(v5) +
216 suffix
217 : NO_CHANGE;
218}
219
220/**
221 * Creates an interpolation binding with 7 expressions.

Callers 2

ɵɵinterpolate6Function · 0.90
ɵɵtextInterpolate6Function · 0.90

Calls 5

getBindingIndexFunction · 0.90
bindingUpdated4Function · 0.90
bindingUpdated2Function · 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…