class Magiika::Node::Meta

Overview

Metadata for a stored Node

Defined in:

node/meta/meta.cr

Constructors

Class Method Summary

Instance Method Summary

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

[View source]
def self.new(value : TypeNode, unresolved_type : EvalType | ::Nil = nil, descriptors : Set(Node::Desc) | ::Nil = nil, access : Access = Access::Public) #

[View source]

Class Method Detail

def self.type_base? : ::Bool #

Metadata for a stored Node


[View source]
def self.type_meta : TypeMeta #

Metadata for a stored Node


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

Metadata for a stored Node


[View source]
def self.type_name : String #

Metadata for a stored Node


[View source]

Instance Method Detail

def access : Access #

[View source]
def access=(access : Access) #

[View source]
def const? : ::Bool #

[View source]
def descriptors : Set(Node::Desc) | ::Nil #

[View source]
def descriptors=(descriptors : Set(Node::Desc) | ::Nil) #

[View source]
def eval(scope : Scope) : TypeNode #

[View source]
def magic? : ::Bool #

[View source]
def nilable? : ::Bool #

[View source]
def resolve_type(scope : Scope) : EvalType #

[View source]
def set_type(new_type : TypeMeta | ::Nil, scope : Scope) : ::Nil #

[View source]
def set_value(value : TypeNode, scope : Scope) : ::Nil #

[View source]
def type : EvalType | ::Nil #

[View source]
def type_meta : TypeMeta #

Metadata for a stored Node


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

Metadata for a stored Node


[View source]
def value : TypeNode #

[View source]