API reference
python:irx:irx.builder.diagnostics.require_semantic_metadata
function require_semantic_metadata
require_semantic_metadata(value: T | None, *, node: astx.AST, metadata: str, context: str) -> T
Source: packages/irx/src/irx/builder/diagnostics.py:145
Require one semantic sidecar field during lowering.
Parameters
-
value — Type: T | None
-
node — Type: astx.AST
-
metadata — Type: str
-
context — Type: str
Returns
Type: T