Module gluon_base::ast [−][src]
Expand description
Module containing the types which make up gluon
’s AST (Abstract Syntax Tree)
Structs
Enums
Traits
Visitor trait which walks over expressions calling visit_*
on all encountered elements. By
default the visit_*
functions just walk the tree. If they are overridden the user will need to
call walk_*
to continue traversing the tree.
Trait which abstracts over things that have a type. It is not guaranteed that the correct type is returned until after typechecking
Visitor trait which walks over expressions calling visit_*
on all encountered elements. By
default the visit_*
functions just walk the tree. If they are overridden the user will need to
call walk_*
to continue traversing the tree.
Functions
Walks a pattern, calling visit_*
on all relevant elements
Walks a pattern, calling visit_*
on all relevant elements
Type Definitions
Pattern which contains a location