(node, ancestor)
| 50 | } |
| 51 | |
| 52 | function isNodeWithin(node, ancestor) { |
| 53 | return node.range[0] >= ancestor.range[0] && |
| 54 | node.range[1] <= ancestor.range[1]; |
| 55 | } |
| 56 | |
| 57 | function exits(statement) { |
| 58 | if (!statement) return false; |
no outgoing calls
no test coverage detected