concepts.dsl.dsl_types.ObjectConstant#

class ObjectConstant[source]#

Bases: _Placeholder

The class representing a constant object in a DSL.

Methods

clone(dtype)

Attributes

typename

name

The name of the constant.

dtype

The data type of the constant.

__init__(name, dtype)#
Parameters:
__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#