struct ASTNode

Defined in:

ast.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(type : String, children : Array(ASTNode) = [] of ASTNode, value : Char | Int32 | String | Nil = nil) #

[View source]

Instance Method Detail

def children : Array(ASTNode) #

[View source]
def children=(children : Array(ASTNode)) #

[View source]
def type : String #

[View source]
def type=(type : String) #

[View source]
def value : Char | Int32 | String | Nil #

[View source]
def value=(value : Char | Int32 | String | Nil) #

[View source]