API reference

python:irx:irx.analysis.analyze

function analyze

analyze(node: astx.AST, *, configuration: HandlerConfiguration | None = None) -> astx.AST

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

Declared as: python:irx:irx.analysis.api.analyze

Analyze one AST root and attach semantic sidecars.

Run the stable single-root semantic-validation path, attach node.semantic sidecars to analyzed nodes, and raise SemanticError before lowering when diagnostics exist.

Parameters

Returns

Type: astx.AST

Search documentation

Type to search.