class Mint::Ast::If
- Mint::Ast::If
- Mint::Ast::Node
- Reference
- Object
Defined in:
ast/if.crConstructors
Instance Method Summary
- #branches : {Array(Mint::Ast::CssDefinition) | Mint::Ast::Node, Array(Mint::Ast::CssDefinition) | Mint::Ast::Node | Nil}
- #condition : Mint::Ast::Node
- #falsy_head_comments : Array(Mint::Ast::Comment)
- #falsy_tail_comments : Array(Mint::Ast::Comment)
- #truthy_head_comments : Array(Mint::Ast::Comment)
- #truthy_tail_comments : Array(Mint::Ast::Comment)
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)
#
Instance Method Detail
def branches : {Array(Mint::Ast::CssDefinition) | Mint::Ast::Node, Array(Mint::Ast::CssDefinition) | Mint::Ast::Node | Nil}
#