class Drizzle::AST::BlockStatement
Overview
Node defining a block. A block is a set of statements contained within braces.
Defined in:
drizzle/ast/block.crConstructors
Instance Method Summary
- #literal : String
-
#statements : Array(Drizzle::AST::Statement)
The array of statements contained within the block
- #to_s : String
-
#token : Drizzle::Token
The token that led to the creation of the node
Instance methods inherited from class Drizzle::AST::Node
literal : String
literal,
to_s : String
to_s
Constructor Detail
Instance Method Detail
def statements : Array(Drizzle::AST::Statement)
#
The array of statements contained within the block