class Stacklang::AST::While

Defined in:

stacklang/ast.cr

Constructors

Instance Method Summary

Instance methods inherited from class Stacklang::AST

character character, dump(io, indent = 0) dump, line line, to_s(io : IO) to_s, token : Tokenizer::Token | Nil token, token=(token : Tokenizer::Token | Nil) token=

Constructor Detail

def self.new(token, condition : Expression, body : Array(Statement)) #

[View source]

Instance Method Detail

def body : Array(Stacklang::AST::Statement) #

[View source]
def condition : Stacklang::AST::Expression #

[View source]
def dump(io, indent = 0) #

[View source]