(state: IcuIteratorState, tIcu: TIcu, lView: LView)
| 25 | type IcuIterator = () => RNode | null; |
| 26 | |
| 27 | function enterIcu(state: IcuIteratorState, tIcu: TIcu, lView: LView) { |
| 28 | state.index = 0; |
| 29 | const currentCase = getCurrentICUCaseIndex(tIcu, lView); |
| 30 | if (currentCase !== null) { |
| 31 | ngDevMode && assertNumberInRange(currentCase, 0, tIcu.cases.length - 1); |
| 32 | state.removes = tIcu.remove[currentCase]; |
| 33 | } else { |
| 34 | state.removes = EMPTY_ARRAY as any; |
| 35 | } |
| 36 | } |
| 37 | |
| 38 | export function icuContainerIteratorNext(state: IcuIteratorState): RNode | null { |
| 39 | if (state.index < state.removes!.length) { |
no test coverage detected
searching dependent graphs…