Available on crate feature
visit
only.Expand description
Syntax tree traversal to walk a shared borrow of a syntax tree.
Each method of the Visit
trait is a hook that can be overridden to
customize the behavior when visiting the corresponding type of node. By
default, every method recursively visits the substructure of the input by
invoking the right visitor method of each of its fields.
Traits§
- Visit
- Syntax tree traversal to walk a shared borrow of a syntax tree.
Functions§
- visit_
block - visit_
expr - visit_
expr_ array - visit_
expr_ binary - visit_
expr_ call - visit_
expr_ call_ options - visit_
expr_ delete - visit_
expr_ index - visit_
expr_ member - visit_
expr_ new - visit_
expr_ payable - visit_
expr_ postfix - visit_
expr_ ternary - visit_
expr_ tuple - visit_
expr_ type_ call - visit_
expr_ unary - visit_
field_ list - visit_
file - visit_
ident - visit_
import_ directive - visit_
item - visit_
item_ contract - visit_
item_ enum - visit_
item_ error - visit_
item_ event - visit_
item_ function - visit_
item_ struct - visit_
item_ udt - visit_
lit - visit_
lit_ denominated - visit_
lit_ str - visit_
parameter_ list - visit_
path - visit_
pragma_ directive - visit_
stmt - visit_
stmt_ asm - visit_
stmt_ break - visit_
stmt_ continue - visit_
stmt_ dowhile - visit_
stmt_ emit - visit_
stmt_ for - visit_
stmt_ if - visit_
stmt_ return - visit_
stmt_ revert - visit_
stmt_ try - visit_
stmt_ var_ decl - visit_
stmt_ while - visit_
type - visit_
unchecked_ block - visit_
using_ directive - visit_
variable_ declaration - visit_
variable_ definition