struct

Ast::Block

Inherits Ast::Expr < IrNode < Struct < Value < Object

Constructors

new(location : Location, statements : ::Array(Expr))
Source
new(statements : ::Array(Expr))
Source

Class methods

empty(loc = Location.zero)
Source

Instance methods

location
Source
location=(location : Location)
Source
statements
Source
statements=(statements : ::Array(Expr))
Source
to_s(io : IO)

Same as #inspect(io).

Source