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

Function interpolation5

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

Source from the content-addressed store, hash-verified

143 * Creates an interpolation binding with 5 expressions.
144 */
145export function interpolation5(
146 lView: LView,
147 prefix: string,
148 v0: any,
149 i0: string,
150 v1: any,
151 i1: string,
152 v2: any,
153 i2: string,
154 v3: any,
155 i3: string,
156 v4: any,
157 suffix = '',
158): string | NO_CHANGE {
159 const bindingIndex = getBindingIndex();
160 let different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
161 different = bindingUpdated(lView, bindingIndex + 4, v4) || different;
162 incrementBindingIndex(5);
163
164 return different
165 ? prefix +
166 renderStringify(v0) +
167 i0 +
168 renderStringify(v1) +
169 i1 +
170 renderStringify(v2) +
171 i2 +
172 renderStringify(v3) +
173 i3 +
174 renderStringify(v4) +
175 suffix
176 : NO_CHANGE;
177}
178
179/**
180 * Creates an interpolation binding with 6 expressions.

Callers 2

ɵɵinterpolate5Function · 0.90
ɵɵtextInterpolate5Function · 0.90

Calls 5

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