API reference
python:astx:astx.FunctionAsyncDef.__init__
method __init__
__init__(prototype: FunctionPrototype, body: Block, loc: SourceLocation = NO_SOURCE_LOCATION, parent: Optional[ASTNodes] = None) -> None
Source: packages/astx/src/astx/callables.py:652
Declared as: python:astx:astx.callables.FunctionAsyncDef.__init__
Initialize the FunctionAsync instance.
Parameters
-
prototype — Type: FunctionPrototype
-
body — Type: Block
-
loc — Type: SourceLocation
-
parent — Type: Optional[ASTNodes]