API reference
python:astx:astx.callables.FunctionCall
class FunctionCall
FunctionCall(fn: FunctionDef | str, args: Iterable[DataType], type_: DataType = AnyType(), loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None, *, keywords: tuple[KeywordArgument, ...] = ())
Source: packages/astx/src/astx/callables.py:226
AST class for function call.
Attributes
-
kind — Type: ASTKind
-
keywords — Type: tuple[KeywordArgument, Ellipsis]
-
fn — Type: str
-
args — Type: Iterable[DataType]
-
type_ — Type: DataType
Methods
-
__init__ — Initialize the Call instance.
-
__str__ — Return a string representation of the object.
-
get_struct — Return the AST structure of the object.