Attributes
AnyType dataclass
AnyType()
Bases: TypeAttribute
Top of any type lattice.
AttributeMeta
Bases: ABCMeta
Metaclass for attributes.
BottomType dataclass
BottomType()
Bases: TypeAttribute
Bottom of any type lattice.
SingletonTypeMeta
SingletonTypeMeta(name, bases, attrs)
Bases: TypeAttributeMeta, SingletonMeta
Metaclass for singleton type attributes.
Singleton type attributes are attributes that have only one instance.
Examples: - AnyType - BottomType
Source code in src/kirin/lattice.py
68 69 70 | |
TypeAttributeMeta
Bases: AttributeMeta, LatticeMeta
Metaclass for type attributes.