Builds an Abstract Syntax Tree (AST) from tokens
Instance methods
append(token : Token) : Nil
Append a token and build AST node
Sourceappend(node : AST::Node) : Nil
Append an AST node directly
Sourcenode_stack
Stack of AST nodes being built
Sourcenode_stack=(node_stack :
Array(
AST::Node))
Stack of AST nodes being built
Source