()
| 43 | } |
| 44 | |
| 45 | *walk(): Generator<Node, void, unknown> { |
| 46 | for (const child of [...Object.values(this.slots), ...this.children]) { |
| 47 | yield child; |
| 48 | yield* child.walk(); |
| 49 | } |
| 50 | } |
| 51 | |
| 52 | push(node: Node) { |
| 53 | this.children.push(node); |
no outgoing calls
no test coverage detected