class Myst::TType

Defined in:

myst/interpreter/value.cr

Constructors

Instance Method Summary

Instance methods inherited from class Myst::ContainerType

ancestors : Array(TModule) ancestors, included_modules : Array(Myst::TModule) included_modules, included_modules=(included_modules : Array(Myst::TModule)) included_modules=, insert_ancestor(anc : TModule) insert_ancestor, name : String name, name=(name : String) name=

Instance methods inherited from class Myst::Value

ivars : Scope ivars, ivars=(ivars : Scope) ivars=, truthy? truthy?, type_name type_name

Class methods inherited from class Myst::Value

from_literal(literal : Node) from_literal

Constructor Detail

def self.new(name : String, parent : Scope | Nil = nil) #

[View source]

Instance Method Detail

def ==(other : self) #
Description copied from class Reference

Returns true if this reference is the same as other. Invokes same?.


def extend_module(mod : TModule) #

[View source]
def extended_ancestors #

[View source]
def extended_modules : Array(Myst::TModule) #

[View source]
def extended_modules=(extended_modules : Array(Myst::TModule)) #

[View source]
def hash(hasher) #
Description copied from class Reference

See Object#hash(hasher)


def instance_scope : Scope #

[View source]
def instance_scope=(instance_scope : Scope) #

[View source]
def scope : Scope #

[View source]
def scope=(scope : Scope) #

[View source]
def ttype_to_s(_a, _b, _c) #

[View source]
def type_name #

[View source]