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
*/
pub fn getKindName(self: CallExpression) -> string;

CallExpression::getParent

/**
* @brief gets the parent element of the statement
* @return ElementParent
*/
pub fn getParent(self: CallExpression) -> ElementParent;

CallExpression::getAnAncestor

/**
* @brief gets an ancestor of the element.
* @return ElementParent 
*/
pub fn getAnAncestor(self: CallExpression) -> *ElementParent;

CallExpression::getLocation

/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: CallExpression) -> Location;

CallExpression::getEnclosingCallable

/**
* @brief gets the immediately enclosing callable whose body contains this statement.
* @return Callable 
*/
pub fn getEnclosingCallable(self: CallExpression) -> *Callable;

CallExpression::getLocationOid

/**
* @brief gets the location oid of this element.
* @return int
*/
pub fn getLocationOid(self: CallExpression) -> int;

CallExpression::getCalleeDeclaration

/**
* @brief gets the callee declaration of this call expression.
* @return Declaration
*/
pub fn getCalleeDeclaration(self: CallExpression) -> Declaration;

CallExpression::__all__

Data constraint method.

pub fn __all__(db: CfamilyDB) -> *CallExpression;

CallExpression::getIndexOrder

/**
* @brief gets the index order of this element.
* @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.
*/
pub fn getPrintableText(self: CallExpression) -> string;

CallExpression::getParentOid

/**
* @brief gets the parent oid of this element.
* @return int
*/
pub fn getParentOid(self: CallExpression) -> int;