API reference

python:irx:irx.analysis.contract.get_semantic_contract

function get_semantic_contract

get_semantic_contract() -> SemanticContract

Source: packages/irx/src/irx/analysis/contract.py:268

Return the stable public semantic contract.

Expose the semantic contract that hosts and backend lowering may rely on before code generation begins.

Returns

Type: SemanticContract

Search documentation

Type to search.