class FayrantLang::AST::ForStatement

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(init : Statement, cond : Expr, step : Statement, body : Array(Statement)) #

[View source]

Instance Method Detail

def ==(other : ForStatement) #

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

[View source]

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

[View source]

[View source]

[View source]