abstract class Magiika::TypeNode

Overview

A Node that is a type. Each class is given a TypeMeta.

Included Modules

Extended Modules

Direct Known Subclasses

Defined in:

typing/type_node.cr

Class Method Summary

Instance Method Summary

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

Class Method Detail

def self.eval_type(scope : Scope) : TypeMeta #

[View source]
def self.type_base? : ::Bool #

[View source]
def self.type_name : String #

A Node that is a type. Each class is given a TypeMeta.


[View source]

Instance Method Detail

def eval_type(scope : Scope) : TypeMeta #

[View source]
abstract def type_meta : TypeMeta #

[View source]