struct

Ast::WhileLoop

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

Constructors

new(location : Location, condition : Cell(Expr), body : Cell(Expr))
Source
new(location : Location, condition : Expr, body : Expr)
Source

Instance methods

body
Source
body=(body : Cell(Expr))
Source
branching?
Source
condition
Source
condition=(condition : Cell(Expr))
Source
location
Source
location=(location : Location)
Source
to_s(io : IO)

Same as #inspect(io).

Source