concepts.dsl.dsl_types.SequenceValueType#
- class SequenceValueType[source]#
Bases:
ValueType
The SequenceValueType corresponds to a sequence of values of a certain type.
Methods
Return the value type for assignment.
downcast_compatible
(other[, ...])Check if the type is downcast-compatible with the other type; that is, if this type is a subtype of the other type.
long_str
()Return the long string representation of the type.
Return the short string representation of the type.
Attributes
An optional alias of the type.
Return whether the type is a list type.
The parent type of the type.
Return the typename of the parent type.
The (full) typename of the type.
The value type of the sequence.
- __new__(**kwargs)#
- downcast_compatible(other, allow_self_list=False, allow_list=False)#
Check if the type is downcast-compatible with the other type; that is, if this type is a subtype of the other type.
- property is_list_type#
Return whether the type is a list type.
- property parent_typename#
Return the typename of the parent type.