class Cryox::AstPrinter

Included Modules

Defined in:

cryox/ast_printer.cr

Instance Method Summary

Instance methods inherited from module Cryox::Expr::Visitor

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

Instance Method Detail

def print(expr : Expr) : String #

[View source]
def visit_assign_expr(expr : Expr::Assign) #

[View source]
def visit_binary_expr(expr : Expr::Binary) #

[View source]
def visit_grouping_expr(expr : Expr::Grouping) #

[View source]
def visit_literal_expr(expr : Expr::Literal) #

[View source]
def visit_logical_expr(expr : Expr::Logical) #

[View source]
def visit_unary_expr(expr : Expr::Unary) #

[View source]
def visit_variable_expr(expr : Expr::Variable) #

[View source]