(node: Node, visitor: (node: Node) => void)
| 106 | } |
| 107 | |
| 108 | function visitNodes(node: Node, visitor: (node: Node) => void): void { |
| 109 | visitor(node) |
| 110 | for (const child of node.children) { |
| 111 | visitNodes(child, visitor) |
| 112 | } |
| 113 | } |
| 114 | |
| 115 | function extractPipePositions(rootNode: Node): number[] { |
| 116 | const pipePositions: number[] = [] |
no outgoing calls
no test coverage detected