class Mint::Ast::Function

Defined in:

ast/function.cr

Constructors

Instance Method Summary

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(head_comments : Array(Comment), tail_comments : Array(Comment), arguments : Array(Argument), type : TypeOrVariable | Nil, comment : Comment | Nil, body : Expression, name : Variable, where : Where | Nil, input : Data, from : Int32, to : Int32) #

[View source]

Instance Method Detail

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

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

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

[View source]
def head_comments : Array(Mint::Ast::Comment) #

[View source]
def keep_name=(keep_name : Bool) #

[View source]
def keep_name? : Bool #

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

[View source]
def tail_comments : Array(Mint::Ast::Comment) #

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

[View source]
def where : Mint::Ast::Where? #

[View source]