class Magiika::Node::Meta
- Magiika::Node::Meta
- Magiika::TypeNode
- Magiika::Node
- Reference
- Object
Overview
Metadata for a stored Node
Defined in:
node/meta/meta.crConstructors
- .new(value : TypeNode, resolved_type : TypeMeta | ::Nil = nil, descriptors : Set(Node::Desc) | ::Nil = nil, access : Access = Access::Public)
- .new(value : TypeNode, unresolved_type : EvalType | ::Nil = nil, descriptors : Set(Node::Desc) | ::Nil = nil, access : Access = Access::Public)
Class Method Summary
-
.type_base? : ::Bool
Metadata for a stored Node
-
.type_meta : TypeMeta
Metadata for a stored Node
-
.type_meta? : TypeMeta | ::Nil
Metadata for a stored Node
-
.type_name : String
Metadata for a stored Node
Instance Method Summary
- #access : Access
- #access=(access : Access)
- #const? : ::Bool
- #descriptors : Set(Node::Desc) | ::Nil
- #descriptors=(descriptors : Set(Node::Desc) | ::Nil)
- #eval(scope : Scope) : TypeNode
- #magic? : ::Bool
- #nilable? : ::Bool
- #resolve_type(scope : Scope) : EvalType
- #set_type(new_type : TypeMeta | ::Nil, scope : Scope) : ::Nil
- #set_value(value : TypeNode, scope : Scope) : ::Nil
- #type : EvalType | ::Nil
-
#type_meta : TypeMeta
Metadata for a stored Node
-
#type_meta? : TypeMeta | ::Nil
Metadata for a stored Node
- #value : TypeNode
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(value : TypeNode, resolved_type : TypeMeta | ::Nil = nil, descriptors : Set(Node::Desc) | ::Nil = nil, access : Access = Access::Public)
#
def self.new(value : TypeNode, unresolved_type : EvalType | ::Nil = nil, descriptors : Set(Node::Desc) | ::Nil = nil, access : Access = Access::Public)
#