API reference
python:irx:irx.analysis.api
module api
irx.analysis.api
Source: packages/irx/src/irx/analysis/api.py:1
Public semantic-analysis API entry points.
Expose the stable semantic-analysis entry points that hosts and backend lowering call before code generation begins, while keeping the concrete analyzer implementation in smaller internal modules.
Classes
- SemanticAnalyzer — Concrete semantic analyzer.
Functions
-
analyze — Analyze one AST root and attach semantic sidecars.
-
analyze_module — Analyze an AST module.
-
analyze_modules — Analyze a reachable graph of host-provided parsed modules.