abstract class Myst::ContainerType

Direct Known Subclasses

Defined in:

myst/interpreter/value.cr

Instance Method Summary

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

Instance Method Detail

def ancestors : Array(TModule) #

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

Ancestors are the modules that have been included inside of a Type. For example, if a module includes Enumerable, then the ancestors for that module will contain Enumerable. The order of ancestors is from most to least recent (the last include will be first in this list).


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

Ancestors are the modules that have been included inside of a Type. For example, if a module includes Enumerable, then the ancestors for that module will contain Enumerable. The order of ancestors is from most to least recent (the last include will be first in this list).


[View source]
def insert_ancestor(anc : TModule) #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]