Documentation ¶ Index ¶ func Filter(node *uast.Node, xpath string) ([]*uast.Node, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Filter ¶ func Filter(node *uast.Node, xpath string) ([]*uast.Node, error) Filter takes a `*uast.Node` and a xpath query and filters the tree, returning the list of nodes that satisfy the given query. Filter is thread-safe but not current by an internal global lock. Types ¶ This section is empty. Source Files ¶ View all Source files cstring_pool.go filter.go Click to show internal directories. Click to hide internal directories.