Skip to content

class Crystal::NamedTupleType
inherits Crystal::GenericClassType

The non-instantiated NamedTuple(**T) type.

Methods

#each_instantiated_type

View source

#instantiate(type_vars)

View source

#instantiate_named_args(entries : Array(NamedArgumentType))

View source

#instantiated_types

Returns an array of all instantiations of this generic type. NamedTupleType overrides this because it doesn't use positional type arguments.

View source

#new_generic_instance(program, generic_type, type_vars)

View source

#type_desc

View source