API reference
python:astx:astx.StaticFieldAccess
class StaticFieldAccess
StaticFieldAccess(class_name: str, field_name: str)
Source: packages/astx/src/astx/classes_ext.py:440
Declared as: python:astx:astx.classes_ext.StaticFieldAccess
Class-scoped static field access expression.
Attributes
-
class_name — Name of 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 static field access expression.
-
__str__ — Render one static field access expression as text.
-
get_struct — Build one repr structure for a static field access.
Attributes
-
type_ —