class

FayrantLang::AST::IfStatement

Inherits FayrantLang::AST::Statement / Reference / Object

Constructors

new(cond : Expr, true_body : Array(Statement), false_body : Array(Statement))
Source

Instance methods

==(other : IfStatement)
Source
cond
Source
exec(ctx : Context) : Tuple(ExecResult, AnyValue)
Source
false_body
Source
true_body
Source