API reference
python:irx:irx.analysis.resolved_nodes.SemanticStructField
class SemanticStructField
SemanticStructField(name: str, index: int, type_: astx.DataType, declaration: astx.VariableDeclaration)
Source: packages/irx/src/irx/analysis/resolved_nodes.py:198
Resolved struct field information.
Describe one ordered field within a semantic struct, including its stable index and resolved field type.
Attributes
-
name — Name identifying this declaration.; Type: str
-
index — Index selecting the item.; Type: int
-
type_ — Type associated with this expression.; Type: astx.DataType
-
declaration — Declaration being processed.; Type: astx.VariableDeclaration
Methods
- __init__ —