class Ast::If

Defined in:

ast/ast.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(cond : Expression, then_branch : Statement, else_branch : Statement | Nil) #

[View source]

Instance Method Detail

def cond : Expression #

def display #

[View source]
def else_branch : Statement | Nil #

def then_branch : Statement #