An abstraction that represents a Type. Handles both generic and non-generic types. Once instantiated as a Type, a generic type is "closed" (as opposed to "open").

Hierarchy (view full)

Constructors

Properties

cardinality: TypeCardinality
name: string
typeParameters: Type[]
ClassName: string = "Type"

Methods

  • Gets the fully qualified name of the type, to allow for better (efficient and non-ambiguous) type comparison within the custom typesystem.

    Returns string