abstract class Myst::ContainerType

Direct Known Subclasses

Defined in:

myst/interpreter/value.cr

Instance Method Summary

Instance methods inherited from class Myst::MutableValue

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

Instance Method Detail

def ancestors : Array(ContainerType) #

[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]