Module visitor

Source

Structsยง

HeapVisitor ๐Ÿ”’
HeapVisitor visits every item in an Ast recursively using constant stack size and a heap size proportional to the size of the Ast.

Enumsยง

ClassFrame ๐Ÿ”’
Represents a single stack frame while performing structural induction over a character class.
ClassInduct ๐Ÿ”’
A representation of the inductive step when performing structural induction over a character class.
Frame ๐Ÿ”’
Represents a single stack frame while performing structural induction over an Ast.

Traitsยง

Visitor
A trait for visiting an abstract syntax tree (AST) in depth first order.

Functionsยง

visit
Executes an implementation of Visitor in constant stack space.