class Magiika::Node::AbstFn

Defined in:

node/fn/abst_fn.cr

Constructors

Class Method Summary

Instance Method Summary

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) #

[View source]

Class Method Detail

def self.type_base? : ::Bool #

[View source]
def self.type_meta : TypeMeta #

[View source]
def self.type_meta? : TypeMeta | ::Nil #

[View source]
def self.type_name : String #

[View source]

Instance Method Detail

def raise_uncallable_error #

[View source]
def to_s_internal : String #

[View source]
def type_meta : TypeMeta #

[View source]
def type_meta? : TypeMeta | ::Nil #

[View source]