API reference
python:astx:astx.classes_ext.BaseFieldAccess
class BaseFieldAccess
BaseFieldAccess(receiver: astx.AST, base_class_name: str, field_name: str)
Source: packages/astx/src/astx/classes_ext.py:492
Explicit base-qualified instance field access expression.
Attributes
-
receiver — Receiver.; Type: astx.AST
-
base_class_name — Name of base class.; Type: str
-
field_name — Name of field.; Type: str
-
type_ — Type associated with this expression.; Type: AnyType
-
loc — Type: SourceLocation
-
kind — Type: ASTKind
-
comment — Type: str
-
parent — Type: Optional[ASTNodes]
-
ref — Type: str
-
nbytes — Type: int
-
name — Type: str
-
_tmp_id — Type: int
Methods
-
__init__ — Initialize one base-qualified field access expression.
-
__str__ — Render one base-qualified field access expression as text.
-
get_struct — Build one repr structure for a base-qualified field access.