class Cryox::Interpreter
Included Modules
Defined in:
cryox/interpreter.cr
Constructors
Instance Method Summary
visit_block_stmt(stmt : Block)
visit_block_stmt,
visit_expression_stmt(stmt : Expression)
visit_expression_stmt,
visit_if_stmt(stmt : If)
visit_if_stmt,
visit_print_stmt(stmt : Print)
visit_print_stmt,
visit_var_stmt(stmt : Var)
visit_var_stmt,
visit_while_stmt(stmt : While)
visit_while_stmt
visit_assign_expr(expr : Assign)
visit_assign_expr,
visit_binary_expr(expr : Binary)
visit_binary_expr,
visit_grouping_expr(expr : Grouping)
visit_grouping_expr,
visit_literal_expr(expr : Literal)
visit_literal_expr,
visit_logical_expr(expr : Logical)
visit_logical_expr,
visit_unary_expr(expr : Unary)
visit_unary_expr,
visit_variable_expr(expr : Variable)
visit_variable_expr
Constructor Detail
Instance Method Detail
def
interpret(statements : Array(
Stmt)) : Nil
#