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_
array_ type_ name - visit_
assignment - visit_
binary_ operation - visit_
block - visit_
break - visit_
conditional - visit_
continue - visit_
contract_ definition - visit_
contract_ definition_ node_ item - visit_
do_ while - visit_
elementary_ type_ name - visit_
elementary_ type_ name_ expression - visit_
emit - visit_
enum_ definition - visit_
enum_ value - visit_
error_ definition - visit_
event_ definition - visit_
expression - visit_
expression_ statement - visit_
for - visit_
function_ call - visit_
function_ call_ options - visit_
function_ definition - visit_
function_ type_ name - visit_
identifier - visit_
identifier_ path - visit_
if - visit_
import_ directive - visit_
import_ directive_ symbol_ aliases_ item - visit_
index_ access - visit_
index_ range_ access - visit_
inheritance_ specifier - visit_
inline_ assembly - visit_
literal - visit_
mapping - visit_
member_ access - visit_
modifier_ definition - visit_
modifier_ invocation - visit_
new - visit_
parameter_ list - visit_
placeholder - visit_
pragma_ directive - visit_
return - visit_
revert - visit_
source_ unit - visit_
source_ unit_ nodes_ item - visit_
statement - visit_
struct_ definition - visit_
structured_ documentation - visit_
try - visit_
try_ catch_ clause - visit_
tuple - visit_
type_ descriptions - visit_
type_ name - visit_
udt - visit_
unary_ operation - visit_
unchecked - visit_
user_ defined_ type_ name - visit_
using_ for_ directive - visit_
using_ for_ directive_ function_ list_ item - visit_
variable_ declaration - visit_
variable_ declaration_ statement - visit_
while - visit_
yul_ assignment - visit_
yul_ block - visit_
yul_ break - visit_
yul_ case - visit_
yul_ continue - visit_
yul_ expression - visit_
yul_ expression_ statement - visit_
yul_ for - visit_
yul_ function_ call - visit_
yul_ function_ definition - visit_
yul_ identifier - visit_
yul_ if - visit_
yul_ leave - visit_
yul_ literal - visit_
yul_ statement - visit_
yul_ switch - visit_
yul_ typed_ name - visit_
yul_ variable_ declaration