API reference
python:arxpy:arxpy.ParsedProgram.__init__
method __init__
__init__(module: astx.Module, source: str, filename: str, module_name: str, origin: Path | None = None, has_source_imports: bool = False) -> None
Source: packages/arxpy/src/arxpy/compiler.py:83
Declared as: python:arxpy:arxpy.compiler.ParsedProgram.__init__
Initialize an attributed parsed program.
Parameters
-
module — Type: astx.Module
-
source — Type: str
-
filename — Type: str
-
module_name — Type: str
-
origin — Type: Path | None
-
has_source_imports — Type: bool