Module gluon_base::ast 
source · Expand description
Module containing the types which make up gluon’s AST (Abstract Syntax Tree)
Structs
Enums
- The representation of gluon’s expression syntax
Traits
- Visitor trait which walks over expressions callingvisit_*on all encountered elements. By default thevisit_*functions just walk the tree. If they are overridden the user will need to callwalk_*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 callingvisit_*on all encountered elements. By default thevisit_*functions just walk the tree. If they are overridden the user will need to callwalk_*to continue traversing the tree.
Functions
- Walks a pattern, callingvisit_*on all relevant elements
- Walks a pattern, callingvisit_*on all relevant elements
Type Aliases
- Pattern which contains a location