API reference
python:astx:astx.literals.collections.LiteralSet
class LiteralSet
LiteralSet(elements: set[Literal], loc: SourceLocation = NO_SOURCE_LOCATION)
Source: packages/astx/src/astx/literals/collections.py:91
Literal representation of a Set.
Attributes
-
type_ — Type: SetType
-
loc — Type: SourceLocation
-
elements — Type: set[Literal]
Methods
- __init__ — Initialize LiteralSet.