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

Function interpolation4

packages/core/src/render3/instructions/interpolation.ts:113–140  ·  view source on GitHub ↗
(
  lView: LView,
  prefix: string,
  v0: any,
  i0: string,
  v1: any,
  i1: string,
  v2: any,
  i2: string,
  v3: any,
  suffix = '',
)

Source from the content-addressed store, hash-verified

111 * Create an interpolation binding with 4 expressions.
112 */
113export function interpolation4(
114 lView: LView,
115 prefix: string,
116 v0: any,
117 i0: string,
118 v1: any,
119 i1: string,
120 v2: any,
121 i2: string,
122 v3: any,
123 suffix = '',
124): string | NO_CHANGE {
125 const bindingIndex = getBindingIndex();
126 const different = bindingUpdated4(lView, bindingIndex, v0, v1, v2, v3);
127 incrementBindingIndex(4);
128
129 return different
130 ? prefix +
131 renderStringify(v0) +
132 i0 +
133 renderStringify(v1) +
134 i1 +
135 renderStringify(v2) +
136 i2 +
137 renderStringify(v3) +
138 suffix
139 : NO_CHANGE;
140}
141
142/**
143 * Creates an interpolation binding with 5 expressions.

Callers 2

ɵɵinterpolate4Function · 0.90
ɵɵtextInterpolate4Function · 0.90

Calls 4

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