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:78
Initialize the AST instance.
Parameters
-
name — Name identifying the declaration or operation.; Type: str
-
loc — Source coordinates associated with the node.; Type: SourceLocation
Returns
Type: None