Documentation ¶
Overview ¶
Package goast provides a useful visitor for the Go AST.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Visit ¶
func Visit(node Node, v VisitorFunc) error
Visit all nodes in the Go AST rooted at node, in depth-first order.
The visitor function can call next() to continue traversal.
Note that this is based on a direct copy of ast.Walk.
Types ¶
type VisitorFunc ¶
Click to show internal directories.
Click to hide internal directories.