class Taro::Compiler::Ast::ASTViewer

Defined in:

compiler/parser/ast/ast_viewer.cr

Constant Summary

COLORS = [:light_green, :light_blue, :light_magenta, :light_cyan, :light_gray, :dark_gray]

Constructors

Instance Method Summary

Constructor Detail

def self.new(io : IO) #

[View source]

Instance Method Detail

def io : IO #

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

[View source]
def visit(node : Node) #

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

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

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

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

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

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

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

[View source]