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