(deferBlockIndex: number)
| 27 | * instance-specific), given an index of a defer instruction. |
| 28 | */ |
| 29 | export function getDeferBlockDataIndex(deferBlockIndex: number) { |
| 30 | // Instance state is located at the *next* position |
| 31 | // after the defer block slot in an LView or TView.data. |
| 32 | return deferBlockIndex + 1; |
| 33 | } |
| 34 | |
| 35 | /** Retrieves a defer block state from an LView, given a TNode that represents a block. */ |
| 36 | export function getLDeferBlockDetails(lView: LView, tNode: TNode): LDeferBlockDetails { |
no outgoing calls
no test coverage detected
searching dependent graphs…