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