class Mint::Ast::If

Defined in:

ast/if.cr

Constructors

Instance Method Summary

Instance methods inherited from class Mint::Ast::Node

from : Int32 from, input : Data input, location : Location location, new_line? new_line?, owns?(node) owns?, source source, static? static?, static_value static_value, to : Int32 to, to_tuple to_tuple

Constructor methods inherited from class Mint::Ast::Node

new(input : Mint::Ast::Data, from : Int32, to : Int32) new

Constructor Detail

def self.new(truthy_head_comments : Array(Comment), truthy_tail_comments : Array(Comment), falsy_head_comments : Array(Comment), falsy_tail_comments : Array(Comment), branches : Branches, condition : Node, input : Data, from : Int32, to : Int32) #

[View source]

Instance Method Detail


[View source]
def condition : Mint::Ast::Node #

[View source]
def falsy_head_comments : Array(Mint::Ast::Comment) #

[View source]
def falsy_tail_comments : Array(Mint::Ast::Comment) #

[View source]
def truthy_head_comments : Array(Mint::Ast::Comment) #

[View source]
def truthy_tail_comments : Array(Mint::Ast::Comment) #

[View source]