class Mint::Ast::Case
- Mint::Ast::Case
- Mint::Ast::Node
- Reference
- Object
Defined in:
ast/case.crConstructors
Instance Method Summary
- #branches : Array(Mint::Ast::CaseBranch)
- #comments : Array(Mint::Ast::Comment)
- #condition : Mint::Ast::Node
Instance methods inherited from class Mint::Ast::Node
contains?(line : Int64, column : Int64)contains?(line : Int64) contains?, file : Parser::File file, from : Parser::Location from, from=(from : Parser::Location) from=, new_line? new_line?, parent : Node | Nil parent, parent=(parent : Node | Nil) parent=, source : String source, to : Parser::Location to
Constructor methods inherited from class Mint::Ast::Node
new(file : Mint::Parser::File, from : Mint::Parser::Location, to : Mint::Parser::Location)
new
Constructor Detail
def self.new(branches : Array(CaseBranch), comments : Array(Comment), from : Parser::Location, to : Parser::Location, file : Parser::File, condition : Node)
#