MCPcopy Create free account
hub / github.com/angular/angular / addRemoveNestedIcu

Function addRemoveNestedIcu

packages/core/src/render3/i18n/i18n_parse.ts:936–941  ·  view source on GitHub ↗
(remove: I18nRemoveOpCodes, index: number, depth: number)

Source from the content-addressed store, hash-verified

934}
935
936function addRemoveNestedIcu(remove: I18nRemoveOpCodes, index: number, depth: number) {
937 if (depth === 0) {
938 remove.push(~index); // remove ICU at `index`
939 remove.push(index); // remove ICU comment at `index`
940 }
941}
942
943function addUpdateIcuSwitch(
944 update: I18nUpdateOpCodes,

Callers 1

walkIcuTreeFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected