class Mint::Ast::Function
- Mint::Ast::Function
- Mint::Ast::Node
- Reference
- Object
Defined in:
ast/function.crConstructors
Instance Method Summary
- #arguments : Array(Mint::Ast::Argument)
- #body : Mint::Ast::Node
- #comment : Mint::Ast::Comment?
- #head_comments : Array(Mint::Ast::Comment)
- #keep_name=(keep_name : Bool)
- #keep_name? : Bool
- #name : Mint::Ast::Variable
- #tail_comments : Array(Mint::Ast::Comment)
- #type : Mint::Ast::Node?
- #where : Mint::Ast::Where?
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)
#