API reference
python:irx:irx.analysis.SemanticStruct
class SemanticStruct
SemanticStruct(symbol_id: str, name: str, module_key: ModuleKey, qualified_name: str, declaration: astx.StructDefStmt, fields: tuple['SemanticStructField', ...] = (), field_indices: dict[str, int] = dict())
Source: packages/irx/src/irx/analysis/resolved_nodes.py:155
Declared as: python:irx:irx.analysis.resolved_nodes.SemanticStruct
Resolved struct information.
Describe one top-level struct declaration with module-aware identity.
Attributes
-
symbol_id — Type: str
-
name — Type: str
-
module_key — Type: ModuleKey
-
qualified_name — Type: str
-
declaration — Type: astx.StructDefStmt
-
fields — Type: tuple[SemanticStructField, Ellipsis]
-
field_indices — Type: dict[str, int]
Methods
- __init__ —