class Axal::AST::FunctionDefinition
- Axal::AST::FunctionDefinition
- Axal::AST::Expression
- Reference
- Object
Defined in:
lang/ast/function_definition.crConstructors
Instance Method Summary
- #==(other : Expression)
- #body : Block | ::Nil
- #body=(body : Block | ::Nil)
- #children
- #function_name_as_str
- #module_name : Identifier | ::Nil
- #module_name=(module_name : Identifier | ::Nil)
- #name : Identifier
- #params : Array(Identifier)
- #params=(params : Array(Identifier))
Instance methods inherited from class Axal::AST::Expression
==(other)
==,
children
children,
type
type,
value : Expression | ::Nil | String | ::Nil | Float64 | ::Nil | Bool | ::Nil
value
Constructor methods inherited from class Axal::AST::Expression
new(value : Axal::AST::Expression | Bool | Float64 | String | ::Nil = nil)
new
Constructor Detail
def self.new(name : Axal::AST::Identifier, params : Array(Axal::AST::Identifier) = [] of Identifier, body : ::Nil | Axal::AST::Block = nil)
#