API reference

python:irx:irx.analysis.analyze_modules

function analyze_modules

analyze_modules(root: ParsedModule, resolver: ImportResolver) -> CompilationSession

Source: packages/irx/src/irx/analysis/api.py:65

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

Returns

Result of this operation: analyze a reachable graph of host-provided parsed modules.; Type: CompilationSession

Search documentation

Type to search.