API reference
python:astx:astx.structs.FieldAccess
class FieldAccess
FieldAccess(value: astx.AST, field_name: str)
Source: packages/astx/src/astx/structs.py:81
Field access expression.
Attributes
-
value — Type: astx.AST
-
field_name — Type: str
-
type_ — Type: AnyType
Methods
-
__init__ — Initialize one field access expression.
-
__str__ — Render one field access expression as text.
-
get_struct — Build one repr structure for a field access expression.