Module gluon_base::ast

source ·
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

Type Aliases