(node: Node)
| 50 | * @param node Node in which to look for control flow blocks. |
| 51 | */ |
| 52 | export function getControlFlowBlocks(node: Node): ControlFlowBlock[] { |
| 53 | const lView = getLContext(node)?.lView; |
| 54 | |
| 55 | if (lView) { |
| 56 | return findControlFlowBlocks(node, lView); |
| 57 | } |
| 58 | |
| 59 | return []; |
| 60 | } |
| 61 | |
| 62 | /** |
| 63 | * Finds and returns all `@defer` blocks in a LView. |
no test coverage detected
searching dependent graphs…