API reference
python:astx:astx.types.collections.SetType
class SetType
SetType(element_type: ExprType)
Source: packages/astx/src/astx/types/collections.py:135
Set data type expression.
Attributes
-
element_type — Type of each element.; Type: ExprType
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
type_ — Type: ExprType
-
name — Type: str
-
_tmp_id — Type: int
Methods
-
__init__ — Initialize SetType with an element type.
-
__str__ — Return string representation of SetType.