API reference
python:astx:astx.LiteralSet.__init__
method __init__
__init__(elements: set[Literal], loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/literals/collections.py:110
Declared as: python:astx:astx.literals.collections.LiteralSet.__init__
Initialize LiteralSet.
Parameters
-
elements — Type: set[Literal]
-
loc — Type: SourceLocation