IfStatement

/** * @brief A if statement. */ 

Inherit from Statement

Primary key: element_hash_id: int

schema IfStatement extends Statement { @primary element_hash_id: int, parent_hash_id: int, index_order: int, location_hash_id: int, printable_text: string, type: string } 

IfStatement::getAEnclosingStatement

/** * @brief gets the transitive statement containing this statement. * @return Statement */ 
pub fn getAEnclosingStatement(self: IfStatement) -> *Statement; 

IfStatement::getType

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

IfStatement::getEnclosingStatement

/** * @brief gets the statement containing this statement. * @return Statement */ 
pub fn getEnclosingStatement(self: IfStatement) -> Statement; 

IfStatement::getParentHashId

/** * @brief gets the parent hash id of this element. * @return int */ 
pub fn getParentHashId(self: IfStatement) -> int; 

IfStatement::getAChild

/** * @brief gets a child of this statement. * @return Statement */ 
pub fn getAChild(self: IfStatement) -> *Statement; 

IfStatement::getIndex

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

IfStatement::getConsequent

/** * @brief get the statement that is executed whenever the condition of this branch evaluates to true. * @return Statement */ 
pub fn getConsequent(self: IfStatement) -> Statement; 

IfStatement::getAlternate

/** * @brief gets the else branch of this if statement. * @return Statement */ 
pub fn getAlternate(self: IfStatement) -> Statement; 

IfStatement::getCondition

/** * @brief gets the boolean condition of this if statement. * @return Expression */ 
pub fn getCondition(self: IfStatement) -> Expression; 

IfStatement::getParent

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

IfStatement::getLocationHashId

/** * @brief gets the location hash id of this element. * @return int */ 
pub fn getLocationHashId(self: IfStatement) -> int; 

IfStatement::getSize

/** * @brief gets the size information for the element. * @return NumberOfLines */ 
pub fn getSize(self: IfStatement) -> NumberOfLines; 

IfStatement::getAnAncestor

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

IfStatement::getEnclosingCallable

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

IfStatement::__all__

Data constraint method.

pub fn __all__(db: JavaDB) -> *IfStatement; 

IfStatement::getLocation

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

IfStatement::getPrintableText

/** * @brief gets a printed representation of this element, including its structure where applicable. * @return string. */ 
pub fn getPrintableText(self: IfStatement) -> string;