class Magiika::Node::ClsInst

Included Modules

Defined in:

node/cls/cls_inst.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Magiika::SubscopingFeat

scope : Scope scope

Instance methods inherited from class Magiika::InstTypeNode

reference_type(position : Position | ::Nil = nil, scope : Scope | ::Nil = nil) : TypeMeta reference_type, type_meta : TypeMeta type_meta, type_meta? : TypeMeta | ::Nil type_meta?, unreference_type : ::Bool unreference_type

Class methods inherited from class Magiika::InstTypeNode

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 module Magiika::HasTypeMeta

type_meta : TypeMeta type_meta, type_meta? : TypeMeta | Nil type_meta?

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(cls : Node::Cls, args : FnArgs = FnArgs.new, position : Position | ::Nil = nil) #

[View source]

Class Method Detail

def self.type_base? : ::Bool #

[View source]
def self.type_meta : TypeMeta #
Description copied from class Magiika::InstTypeNode

TypeNode where each instance can have its own TypeMeta in addition to the class-level TypeMeta that comes with TypeNode.


[View source]
def self.type_meta? : TypeMeta | ::Nil #
Description copied from class Magiika::InstTypeNode

TypeNode where each instance can have its own TypeMeta in addition to the class-level TypeMeta that comes with TypeNode.


[View source]
def self.type_name : String #

[View source]

Instance Method Detail

def []?(ident : String) : Node | ::Nil #

[View source]
def name(*args, **options) #

[View source]
def name(*args, **options, &) #

[View source]
def reference_type(*args, **kwargs) : TypeMeta #

[View source]
def scope : Scope::Cls #

[View source]
def superclass : Node::Cls #

[View source]
def type_meta : TypeMeta #
Description copied from class Magiika::InstTypeNode

TypeNode where each instance can have its own TypeMeta in addition to the class-level TypeMeta that comes with TypeNode.


[View source]
def type_meta? : TypeMeta | ::Nil #
Description copied from class Magiika::InstTypeNode

TypeNode where each instance can have its own TypeMeta in addition to the class-level TypeMeta that comes with TypeNode.


[View source]
def type_name : String #

[View source]
def unreference_type : ::Bool #

[View source]