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 */ 
pub fn getSize(self: IfExpression) -> NumberOfLines; 

IfExpression::getLocation

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

IfExpression::getAnAncestor

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

IfExpression::getParent

/** * @brief gets the parent of the expression. * @return CombineElement */ 
pub fn getParent(self: IfExpression) -> CombineElement; 

IfExpression::getLocationOid

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

IfExpression::getType

/** * @brief gets the type of this element. * @return string */ 
pub fn getType(self: IfExpression) -> string; 

IfExpression::__all__

Data constraint method.

pub fn __all__(db: PythonDB) -> *IfExpression; 

IfExpression::getPrintableText

/** * @brief gets the printable text of this element. * @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 */ 
pub fn getEnclosingScope(self: IfExpression) -> Scope; 

IfExpression::getParentOid

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

IfExpression::getElementIndex

/** * @brief gets the element index of this element. * @return int */ 
pub fn getElementIndex(self: IfExpression) -> int;