class Cryox::Stmt::If

Defined in:

cryox/stmt.cr

Constructors

Instance Method Summary

Instance methods inherited from class Cryox::Stmt

accept(visitor : Visitor) accept

Constructor Detail

def self.new(condition : Cryox::Expr, then_branch : Cryox::Stmt, else_branch : Cryox::Stmt | Nil) #

[View source]

Instance Method Detail

def accept(visitor : Visitor) #

[View source]
def condition : Expr #

[View source]
def else_branch : Stmt | Nil #

[View source]
def then_branch : Stmt #

[View source]