MCPcopy Index your code
hub / github.com/codeaashu/claude-code / visitNodes

Function visitNodes

src/utils/bash/ParsedCommand.ts:106–111  ·  view source on GitHub ↗
(node: Node, visitor: (node: Node) => void)

Source from the content-addressed store, hash-verified

104}
105
106function visitNodes(node: Node, visitor: (node: Node) => void): void {
107 visitor(node)
108 for (const child of node.children) {
109 visitNodes(child, visitor)
110 }
111}
112
113function extractPipePositions(rootNode: Node): number[] {
114 const pipePositions: number[] = []

Callers 2

extractPipePositionsFunction · 0.85
extractRedirectionNodesFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected