NodeVisitor is a callback to be called when traversing the syntax tree. Called twice for every node: once with entering=true when the branch is first visited, then with entering=false after all the children are done.
func(node *Node, entering bool) WalkStatus
| 281 | // Called twice for every node: once with entering=true when the branch is |
| 282 | // first visited, then with entering=false after all the children are done. |
| 283 | type NodeVisitor func(node *Node, entering bool) WalkStatus |
| 284 | |
| 285 | // Walk is a convenience method that instantiates a walker and starts a |
| 286 | // traversal of subtree rooted at n. |
nothing calls this directly
no outgoing calls
no test coverage detected
searching dependent graphs…