API reference
python:astx:astx.Identifier.__init__
method __init__
__init__(name: str, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/data.py:236
Declared as: python:astx:astx.data.Identifier.__init__
Initialize the Identifier instance.
Parameters
-
name โ Type: str
-
loc โ Type: SourceLocation
-
parent โ Type: Optional[ASTNodes]