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:124
Require one semantic sidecar field during lowering.
Parameters
-
value — Value to process.; Type: T | None
-
node — Syntax node to process.; Type: astx.AST
-
metadata — Metadata associated with the operation.; Type: str
-
context — Context for the operation.; Type: str
Returns
Result of this operation: require one semantic sidecar field during lowering.; Type: T