package
3.2.1+incompatible
Repository: https://github.com/bblfsh/go-client.git
Documentation: pkg.go.dev
# Functions
Filter filters the tree and returns the iterator of nodes that satisfy the given query.
FilterNode evaluates a query and returns a results as a boolean value.
FilterInt evaluates a query and returns a results as an int value.
FilterNode filters the tree and returns a single node that satisfy the given query.
FilterNumber evaluates a query and returns a results as a float64 value.
FilterString evaluates a query and returns a results as a string value.
FilterValue evaluates a query and returns a results as a value.
Iterate function is similar to Next() but returns the `Node`s in a channel.
NewContext creates a new query context.
NewIterator constructs a new Iterator starting from the given `Node` and iterating with the traversal strategy given by the `order` parameter.
# Constants
LevelOrder (aka breadth-first) traversal.
PositionOrder by node position in the source file.
PostOrder traversal.
PreOrder traversal.