API reference
python:irx:irx.analysis.analyze_modules
function analyze_modules
analyze_modules(root: ParsedModule, resolver: ImportResolver, *, configuration: HandlerConfiguration | None = None) -> CompilationSession
Source: packages/irx/src/irx/analysis/api.py:81
Declared as: python:irx:irx.analysis.api.analyze_modules
Analyze a reachable graph of host-provided parsed modules.
Run the stable multi-module semantic pipeline: expand the reachable module graph, predeclare top-level members, resolve top-level imports, attach semantic sidecars, and raise SemanticError before lowering when diagnostics exist.
Parameters
-
root โ Type: ParsedModule
-
resolver โ Type: ImportResolver
-
configuration โ Type: HandlerConfiguration | None
Returns
Type: CompilationSession