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