Companion

object Companion

Functions

Link copied to clipboard
fun enumerationWith(instancesSet: A_Set): A_Type

Answer a new object instance of this descriptor based on the set of objects that will be considered instances of that type. Normalize the cases where the set has zero or one elements to use BottomTypeDescriptor and InstanceTypeDescriptor, respectively.

Link copied to clipboard
fun instanceTypeOrMetaOn(instance: A_BasicObject): A_Type

Answer a new object instance of this descriptor based on the single object that will be considered an instance of that type. If a type is specified, all subtypes will also be considered instances of that type.

Properties

Link copied to clipboard