class Mint::Ast::TypeDefinition
- Mint::Ast::TypeDefinition
- Mint::Ast::Node
- Reference
- Object
Defined in:
ast/type_definition.crConstructors
Instance Method Summary
- #comment : Mint::Ast::Comment?
- #end_comment : Mint::Ast::Comment?
- #fields : Array(Mint::Ast::TypeDefinitionField) | Array(Mint::Ast::TypeVariant)
- #name : Mint::Ast::Id
- #parameters : Array(Mint::Ast::TypeVariable)
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(fields : Array(TypeDefinitionField) | Array(TypeVariant), parameters : Array(TypeVariable), from : Parser::Location, end_comment : Comment | Nil, to : Parser::Location, file : Parser::File, comment : Comment | Nil, name : Id)
#