Module traverse

Source

Enums§

SymbolFilter
Determine the depth of traversal functions

Functions§

filter_symbols
Traverse the AST and filter the symbols based on the given predicate.
find_symbol
Look for a symbol inside the AST based on the given predicate.
find_symbol_at_line_col
Look for a symbol at a given position.
walk_args
Traverse the AST and provide the method arguments to the given closure
walk_methods
Traverse the AST and provide the methods to the given closure
walk_symbols
Traverse the AST and provide the symbols to the given closure
walk_types
Traverse the AST and provide the types to the given closure