class Z::Ast::Printer

Defined in:

ast/printer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new #

[View source]

Instance Method Detail

def visit(node : Program, io : IO) #

[View source]
def visit(node : Block, io : IO) #

[View source]
def visit(node : Stmt, io : IO) #

[View source]
def visit(node : Cond, io : IO) #

[View source]
def visit(node : Clause, io : IO) #

[View source]
def visit(node : While, io : IO) #

[View source]
def visit(node : Fn, io : IO) #

[View source]
def visit(node : FnParam, io : IO) #

[View source]
def visit(node : FnCall, io : IO) #

[View source]
def visit(node : Expr, io : IO) #

def visit(node : Return, io : IO) #

def visit(node : FnArg, io : IO) #

[View source]
def visit(node : Lvar, io : IO) #

[View source]
def visit(node : Ident, io : IO) #

[View source]
def visit(node : NumberLiteral, io : IO) #

[View source]
def visit(node : Assignment, io : IO) #

[View source]
def visit(node : BinOp, io : IO) #

[View source]
def visit(node : Nop, io : IO) #

[View source]
def visit(node : Neg, io : IO) #

[View source]
def visit(node : Asm, io : IO) #

def visit(node : AsmInstructionList, io : IO) #

def visit(node : AsmIdent, io : IO) #

def visit(node : AsmImm, io : IO) #

def visit(node : AsmLabel, io : IO) #

[View source]