class Magiika::Node::DefFn
- Magiika::Node::DefFn
- Magiika::Node
- Reference
- Object
Defined in:
node/stmt/define/define_fn.crConstructors
Class Method Summary
Instance Method Summary
Instance methods inherited from class Magiika::Node
eval(scope : Scope) : Node
eval,
eval_bool(scope : Scope) : ::Bool
eval_bool,
position : Position
position,
position! : Position
position!,
position? : Position | ::Nil
position?,
to_s : String
to_s,
to_s_internal : String
to_s_internal,
type_name : String
type_name
Constructor methods inherited from class Magiika::Node
new(position : Position | ::Nil = nil)
new
Class methods inherited from class Magiika::Node
to_s : String
to_s,
to_s_internal : String
to_s_internal,
type_name : String
type_name
Constructor Detail
def self.new(static : ::Bool, name : String, params : FnParams, statements : Array(Node), returns : FnRet | ::Nil = nil, access : Access = Access::Public, position : Position | ::Nil = nil)
#