CallExpression
/**
*
* @brief DO class: Represents a function call.
*/
Inherit from Expression
Primary key: oid: int
schema CallExpression extends Expression {
@primary oid: int,
parent_oid: int,
index_order: int,
location_oid: int,
kind_name: string,
printable_text: string
}
CallExpression::getKindName
/**
* @brief Statement kind name
* @return string
*/
- Parameter
self
:CallExpression
- Return
string
pub fn getKindName(self: CallExpression) -> string;
CallExpression::getParent
/**
* @brief gets the parent element of the statement
* @return ElementParent
*/
- Parameter
self
:CallExpression
- Return
ElementParent
pub fn getParent(self: CallExpression) -> ElementParent;
CallExpression::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:CallExpression
- Return
*ElementParent
pub fn getAnAncestor(self: CallExpression) -> *ElementParent;
CallExpression::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:CallExpression
- Return
Location
pub fn getLocation(self: CallExpression) -> Location;
CallExpression::getEnclosingCallable
/**
* @brief gets the immediately enclosing callable whose body contains this statement.
* @return Callable
*/
- Parameter
self
:CallExpression
- Return
*Callable
pub fn getEnclosingCallable(self: CallExpression) -> *Callable;
CallExpression::getLocationOid
/**
* @brief gets the location oid of this element.
* @return int
*/
- Parameter
self
:CallExpression
- Return
int
pub fn getLocationOid(self: CallExpression) -> int;
CallExpression::getCalleeDeclaration
/**
* @brief gets the callee declaration of this call expression.
* @return Declaration
*/
- Parameter
self
:CallExpression
- Return
Declaration
pub fn getCalleeDeclaration(self: CallExpression) -> Declaration;
CallExpression::__all__
Data constraint method.
- Parameter
db
:CfamilyDB
- Return
*CallExpression
pub fn __all__(db: CfamilyDB) -> *CallExpression;
CallExpression::getIndexOrder
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:CallExpression
- Return
int
pub fn getIndexOrder(self: CallExpression) -> int;
CallExpression::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:CallExpression
- Return
string
pub fn getPrintableText(self: CallExpression) -> string;
CallExpression::getParentOid
/**
* @brief gets the parent oid of this element.
* @return int
*/
- Parameter
self
:CallExpression
- Return
int
pub fn getParentOid(self: CallExpression) -> int;