class FayrantLang::AST::WhileStatement

Defined in:

ast/statement.cr

Constructors

Instance Method Summary

Instance methods inherited from class FayrantLang::AST::Statement

==(other) ==, exec(ctx : Context) : Tuple(ExecResult, AnyValue) exec

Constructor Detail

def self.new(cond : Expr, body : Array(Statement)) #

[View source]

Instance Method Detail

def ==(other : WhileStatement) #

[View source]
def body : Array(FayrantLang::AST::Statement) #

[View source]

[View source]
def exec(ctx : Context) : Tuple(ExecResult, AnyValue) #

[View source]