class Magiika::Node::AbstFn
Defined in:
node/fn/abst_fn.crConstructors
Class Method Summary
Instance Method Summary
- #raise_uncallable_error
- #to_s_internal : String
- #type_meta : TypeMeta
- #type_meta? : TypeMeta | ::Nil
Instance methods inherited from class Magiika::Node::Fn
call(args : Hash(String, TypeNode)) : TypeNode
call,
call_safe(args : FnArgs, arg_scope : Scope, deep_analysis : ::Bool = false) : MatchResult | TypeNode
call_safe,
call_safe_raise(args : FnArgs, arg_scope : Scope, deep_analysis : ::Bool = false) : TypeNode
call_safe_raise,
eval(scope : Scope) : self
eval,
match_args(args : FnArgs, deep_analysis : ::Bool = false) : Tuple(MatchResult, Hash(String, Node) | ::Nil)
match_args,
name : String
name,
params : FnParams
params,
pretty_sig
pretty_sig,
returns : FnRet | ::Nil
returns,
to_s_internal : String
to_s_internal,
type_meta : TypeMeta
type_meta,
type_meta? : TypeMeta | ::Nil
type_meta?
Constructor methods inherited from class Magiika::Node::Fn
new(defining_scope : Scope, static : ::Bool, name : String, params : FnParams, returns : FnRet | ::Nil = nil, position : Position | ::Nil = nil)
new
Class methods inherited from class Magiika::Node::Fn
type_base? : ::Bool
type_base?,
type_meta : TypeMeta
type_meta,
type_meta? : TypeMeta | ::Nil
type_meta?,
type_name : String
type_name
Instance methods inherited from class Magiika::TypeNode
eval_type(scope : Scope) : TypeMeta
eval_type,
type_meta : TypeMeta
type_meta
Class methods inherited from class Magiika::TypeNode
eval_type(scope : Scope) : TypeMeta
eval_type,
type_base? : ::Bool
type_base?,
type_name : String
type_name
Instance methods inherited from module Magiika::EvalType
eval_type(scope : Scope) : TypeMeta
eval_type
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(position : Position, defining_scope : Scope, name : String, params : FnParams, returns : FnRet | ::Nil = nil)
#