class Funk::IfExpression

Defined in:

funk/syntax/ast.cr

Constructors

Instance Method Summary

Instance methods inherited from class Funk::Ast

token : Token token, token=(token : Token) token=

Constructor methods inherited from class Funk::Ast

new(token : Token) new

Constructor Detail

def self.new(token : Token, cond : Funk::Ast, consequence : Funk::Block, alternative : Funk::Ast) #

[View source]

Instance Method Detail

def accept(visitor : Visitor) #

[View source]
def alternative : Ast #

def alternative=(alternative : Ast) #

def cond : Ast #

def cond=(cond : Ast) #

def consequence : Block #

def consequence=(consequence : Block) #