i18n_icu_container_visitor.ts (angular-11.0.1) | : | i18n_icu_container_visitor.ts (angular-11.0.2) | ||
---|---|---|---|---|
skipping to change at line 15 | skipping to change at line 15 | |||
* Use of this source code is governed by an MIT-style license that can be | * Use of this source code is governed by an MIT-style license that can be | |||
* found in the LICENSE file at https://angular.io/license | * found in the LICENSE file at https://angular.io/license | |||
*/ | */ | |||
import {assertDomNode, assertNumber, assertNumberInRange} from '../../util/asser t'; | import {assertDomNode, assertNumber, assertNumberInRange} from '../../util/asser t'; | |||
import {assertTIcu, assertTNodeForLView} from '../assert'; | import {assertTIcu, assertTNodeForLView} from '../assert'; | |||
import {EMPTY_ARRAY} from '../empty'; | import {EMPTY_ARRAY} from '../empty'; | |||
import {getCurrentICUCaseIndex} from '../i18n/i18n_util'; | import {getCurrentICUCaseIndex} from '../i18n/i18n_util'; | |||
import {I18nRemoveOpCodes, TIcu} from '../interfaces/i18n'; | import {I18nRemoveOpCodes, TIcu} from '../interfaces/i18n'; | |||
import {TIcuContainerNode} from '../interfaces/node'; | import {TIcuContainerNode} from '../interfaces/node'; | |||
import {RNode} from '../interfaces/renderer'; | import {RNode} from '../interfaces/renderer_dom'; | |||
import {LView, TVIEW} from '../interfaces/view'; | import {LView, TVIEW} from '../interfaces/view'; | |||
export function loadIcuContainerVisitor() { | export function loadIcuContainerVisitor() { | |||
const _stack: any[] = []; | const _stack: any[] = []; | |||
let _index: number = -1; | let _index: number = -1; | |||
let _lView: LView; | let _lView: LView; | |||
let _removes: I18nRemoveOpCodes; | let _removes: I18nRemoveOpCodes; | |||
/** | /** | |||
* Retrieves a set of root nodes from `TIcu.remove`. Used by `TNodeType.ICUCon tainer` | * Retrieves a set of root nodes from `TIcu.remove`. Used by `TNodeType.ICUCon tainer` | |||
End of changes. 1 change blocks. | ||||
1 lines changed or deleted | 1 lines changed or added |