concepts.dsl.dsl_types.ObjectConstant#
- class ObjectConstant[source]#
Bases:
_Placeholder
The class representing a constant object in a DSL.
Methods
Attributes
- __init__(name, dtype)#
- Parameters:
name (str | StateObjectReference)
dtype (ObjectType | ValueType | FunctionType)
- __new__(**kwargs)#
- dtype: ObjectType | ValueType#
The data type of the constant.
- name: str | StateObjectReference#
The name of the constant.
- property typename#