struct

Ast::RTerm

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

this struct is used both as the rhs of a binary test, and also as a complete unary test

Constructors

new(location : Location, term : Ast::Expr, consequent_or_additional_conditions : ::Array(Ast::Condition) | Ast::Expr)
Source

Instance methods

consequent
Source
location
Source
location=(location : Location)
Source
term
Source
term=(term : Expr)
Source
to_s(io : IO)

Same as #inspect(io).

Source