class Myst::Printer

Defined in:

myst/tools/printer.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(output : IO = STDOUT) #

[View source]

Instance Method Detail

def output : IO #

[View source]
def output=(output : IO) #

[View source]
def print(node) #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Catch all for unimplemented nodes


[View source]