API reference
python:astx:astx.classes_ext.BaseMethodCall
class BaseMethodCall
BaseMethodCall(receiver: astx.AST, base_class_name: str, method_name: str, args: Iterable[astx.DataType], *, keywords: tuple[astx.KeywordArgument, ...] = ())
Source: packages/astx/src/astx/classes_ext.py:552
Explicit base-qualified instance method call expression.
Attributes
-
receiver — Receiver.; Type: astx.AST
-
base_class_name — Name of base 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 base-qualified method call expression.
-
__str__ — Render one base-qualified method call expression as text.
-
get_struct — Build one repr structure for a base-qualified method call.