AsyncFunctionDefStatement
/**
* @brief An async function definition.
*/
Inherit from Statement
Primary key: element_oid: int
schema AsyncFunctionDefStatement extends Statement {
@primary element_oid: int,
type: string,
element_index: int,
parent_oid: int,
location_oid: int,
printable_text: string
}
AsyncFunctionDefStatement::getLocationOid
/**
* @brief gets the location oid of this element.
* @return int
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
int
pub fn getLocationOid(self: AsyncFunctionDefStatement) -> int;
AsyncFunctionDefStatement::getParent
/**
* @brief gets the parent element of the statement
* @return CombineElement
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
CombineElement
pub fn getParent(self: AsyncFunctionDefStatement) -> CombineElement;
AsyncFunctionDefStatement::getElementIndex
/**
* @brief gets the element index of this element.
* @return int
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
int
pub fn getElementIndex(self: AsyncFunctionDefStatement) -> int;
AsyncFunctionDefStatement::getParentOid
/**
* @brief gets the parent oid of this element.
* @return int
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
int
pub fn getParentOid(self: AsyncFunctionDefStatement) -> int;
AsyncFunctionDefStatement::getEnclosingStatement
/**
* @brief gets the statement containing this statement.
* @return Statement
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
Statement
pub fn getEnclosingStatement(self: AsyncFunctionDefStatement) -> Statement;
AsyncFunctionDefStatement::getPrintableText
/**
* @brief gets the printable text of this element.
* @return string
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
string
pub fn getPrintableText(self: AsyncFunctionDefStatement) -> string;
AsyncFunctionDefStatement::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
Location
pub fn getLocation(self: AsyncFunctionDefStatement) -> Location;
AsyncFunctionDefStatement::__all__
Data constraint method.
- Parameter
db
:PythonDB
- Return
*AsyncFunctionDefStatement
pub fn __all__(db: PythonDB) -> *AsyncFunctionDefStatement;
AsyncFunctionDefStatement::getType
/**
* @brief gets the type of this element.
* @return string
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
string
pub fn getType(self: AsyncFunctionDefStatement) -> string;
AsyncFunctionDefStatement::getName
/**
* @brief gets the name of the function.
* @return string
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
string
pub fn getName(self: AsyncFunctionDefStatement) -> string;
AsyncFunctionDefStatement::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return CombineElement
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
*CombineElement
pub fn getAnAncestor(self: AsyncFunctionDefStatement) -> *CombineElement;
AsyncFunctionDefStatement::getEnclosingScope
/**
* @brief gets the immediately enclosing scope (module, function or class) whose body contains this statement.
* @return Scope
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
Scope
pub fn getEnclosingScope(self: AsyncFunctionDefStatement) -> Scope;
AsyncFunctionDefStatement::getSize
/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
NumberOfLines
pub fn getSize(self: AsyncFunctionDefStatement) -> NumberOfLines;
AsyncFunctionDefStatement::getAChild
/**
* @brief gets a child of this statement.
* @return Statement
*/
- Parameter
self
:AsyncFunctionDefStatement
- Return
*Statement
pub fn getAChild(self: AsyncFunctionDefStatement) -> *Statement;