High-level API to get information out of typed trees, designed to be used by IDEs.
Filter for names that should appear when looking for completions.
Get possible completions from tree at
Possible completions of members of
prefix which are accessible when called inside
The first tree in the path that is a definition.
The source symbol of the closest enclosing tree with a symbol containing position
The type of the closest enclosing tree with a type containing position
Does this tree define a symbol ?
This is the case if
sym is the symbol of
tree or, if
is true, if
sym is overriden by
Find named trees with a non-empty position whose symbol match
Note that nothing will be found for symbols not defined in source code,
sourceSymbol to get a symbol related to
sym that is defined in
Find named trees with a non-empty position whose name contains
Find named trees with a non-empty position satisfying
The reverse path to the node that closest encloses position
Nil if no such path exists. If a non-empty path is returned it starts with
the tree closest enclosing
pos and ends with an element of