abstract class Myst::ContainerType
- Myst::ContainerType
- Myst::Value
- Reference
- Object
Direct Known Subclasses
Defined in:
myst/interpreter/value.crInstance Method Summary
- #ancestors : Array(TModule)
-
#included_modules : Array(Myst::TModule)
Ancestors are the modules that have been included inside of a Type.
-
#included_modules=(included_modules : Array(Myst::TModule))
Ancestors are the modules that have been included inside of a Type.
- #insert_ancestor(anc : TModule)
- #name : String
- #name=(name : String)
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 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).
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).