class Drizzle::AST::BlockStatement


Node defining a block. A block is a set of statements contained within braces.

Defined in:



Instance Method Summary

Instance methods inherited from class Drizzle::AST::Node

literal : String literal, to_s : String to_s

Constructor Detail

def : Token, statements : Array(Statement)) #

[View source]

Instance Method Detail

def literal : String #

[View source]
def statements : Array(Drizzle::AST::Statement) #

The array of statements contained within the block

[View source]
def to_s : String #

[View source]
def token : Drizzle::Token #

The token that led to the creation of the node

[View source]