API reference
python:arxpy:arxpy.compiler.ParsedProgram
class ParsedProgram
ParsedProgram(module: astx.Module, source: str, filename: str, module_name: str, origin: Path | None = None, has_source_imports: bool = False)
Source: packages/arxpy/src/arxpy/compiler.py:55
Parsed Arx source plus stable source attribution.
Attributes
-
module — Type: astx.Module
-
source — Type: str
-
filename — Type: str
-
module_name — Type: str
-
origin — Type: Path | None
-
has_source_imports — Type: bool
Methods
- __init__ — Initialize an attributed parsed program.