class Kaze::Stmt::If

Defined in:

stmt.cr

Constructors

Instance Method Summary

Instance methods inherited from class Kaze::Stmt

accept(visitor : Visitor) accept

Constructor Detail

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

[View source]

Instance Method Detail

def accept(visitor : Visitor) #

[View source]
def condition : Kaze::Expr #

[View source]
def else_branch : Kaze::Stmt? #

[View source]
def then_branch : Kaze::Stmt #

[View source]