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