class Crystal::GenericModuleInstanceMetaclassType
inherits Crystal::Type
¶
The metaclass of a generic module instance type, like Enumerable(Int32).class
Included modules
Crystal::DefInstanceContainer
Class methods¶
Methods¶
#class_var_owner
¶
Returns the type that owns class vars for a type.
This method returns self, but subclasses might override. For example, a metaclass' class_var_owner is the instance type.
#replace_type_parameters(instance_type)
¶
(instance_type)
Replace type parameters in this type with the type parameters of the given instance type.