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

Function addCreateNodeAndAppend

packages/core/src/render3/i18n/i18n_parse.ts:961–976  ·  view source on GitHub ↗
(
  create: IcuCreateOpCodes,
  marker: null | ICU_MARKER | ELEMENT_MARKER,
  text: string,
  appendToParentIdx: number,
  createAtIdx: number,
)

Source from the content-addressed store, hash-verified

959}
960
961function addCreateNodeAndAppend(
962 create: IcuCreateOpCodes,
963 marker: null | ICU_MARKER | ELEMENT_MARKER,
964 text: string,
965 appendToParentIdx: number,
966 createAtIdx: number,
967) {
968 if (marker !== null) {
969 create.push(marker);
970 }
971 create.push(
972 text,
973 createAtIdx,
974 icuCreateOpCode(IcuCreateOpCode.AppendChild, appendToParentIdx, createAtIdx),
975 );
976}
977
978function addCreateAttribute(
979 create: IcuCreateOpCodes,

Callers 1

walkIcuTreeFunction · 0.85

Calls 2

icuCreateOpCodeFunction · 0.90
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…