class Mint::Ast::Function

Defined in:

ast/function.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(arguments : Array(Argument), from : Parser::Location, to : Parser::Location, file : Parser::File, comment : Comment | Nil, name : Variable, type : Node | Nil, body : Block) #

[View source]

Instance Method Detail

def arguments : Array(Mint::Ast::Argument) #

[View source]
def body : Mint::Ast::Block #

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

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

[View source]
def type : Mint::Ast::Node? #

[View source]