class Ast::BlockStatement

Included Modules

Defined in:

ast.cr

Constructors

Instance Method Summary

Instance methods inherited from module Ast::TokenHolder

token token, token_literal : String token_literal

Instance methods inherited from class Ast::Node

to_s(io) to_s, token_literal : String token_literal

Instance methods inherited from class Object

also(& : self | Nil -> _) : self also, or_else(alternative) or_else

Constructor Detail

def self.new(token : Token, statements : Array(Statement | Nil) | Nil) #

[View source]

Instance Method Detail

def statements? : Array(Ast::Statement?)? #

[View source]
def to_s(io) #

[View source]