abstract class Myst::ContainerType
- Myst::ContainerType
- Myst::MutableValue
- Reference
- Object
Direct Known Subclasses
Defined in:
myst/interpreter/value.crInstance Method Summary
- #ancestors : Array(ContainerType)
-
#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::MutableValue
ivars : Scope
ivars,
ivars=(ivars : Scope)
ivars=,
truthy?
truthy?,
type_name
type_name
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).