class Mint::Ast::TypeDefinition

Defined in:

ast/type_definition.cr

Constructors

Instance Method Summary

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) #

[View source]

Instance Method Detail

def comment : Mint::Ast::Comment? #

[View source]
def end_comment : Mint::Ast::Comment? #

[View source]

[View source]
def name : Mint::Ast::Id #

[View source]
def parameters : Array(Mint::Ast::TypeVariable) #

[View source]