API reference
python:astx:astx.packages.Module.__init__
method __init__
__init__(name: str = 'main', loc: SourceLocation = NO_SOURCE_LOCATION) -> None
Source: packages/astx/src/astx/packages.py:85
Initialize the AST instance.
Parameters
-
name — Type: str
-
loc — Type: SourceLocation