API reference
python:irx:irx.analysis.ffi.normalize_runtime_features
function normalize_runtime_features
normalize_runtime_features(prototype: astx.FunctionPrototype, *, diagnostics: DiagnosticBag, available_features: tuple[str, ...] = (), bound_features: tuple[str, ...] = ()) -> tuple[str, ...]
Source: packages/irx/src/irx/analysis/ffi.py:39
Normalize runtime-feature metadata from one prototype.
Parameters
-
prototype — Prototype.; Type: astx.FunctionPrototype
-
diagnostics — Collected structured diagnostics.; Type: DiagnosticBag
-
available_features — Available features.; Type: tuple[str, ...]
-
bound_features — Bound features.; Type: tuple[str, ...]
Returns
Normalized runtime-feature metadata from one prototype.; Type: tuple[str, ...]