API reference
python:astx:astx.classes_ext.StaticMethodCall
class StaticMethodCall
StaticMethodCall(class_name: str, method_name: str, args: Iterable[astx.DataType], *, keywords: tuple[astx.KeywordArgument, ...] = ())
Source: packages/astx/src/astx/classes_ext.py:366
Class-scoped static method call expression.
Attributes
-
class_name — Name of class.; Type: str
-
method_name — Name of method.; Type: str
-
args — Declared or supplied call arguments.; Type: tuple[astx.DataType, ...]
-
keywords — Keywords.; Type: tuple[astx.KeywordArgument, ...]
-
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 method call expression.
-
__str__ — Render one static method call expression as text.
-
get_struct — Build one repr structure for a static method call.