WhileStatement

/** * @brief A while statement. */ 

Inherit from Statement

Primary key: element_hash_id: int

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

WhileStatement::getAEnclosingStatement

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

WhileStatement::getType

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

WhileStatement::getEnclosingStatement

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

WhileStatement::getParentHashId

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

WhileStatement::getAChild

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

WhileStatement::getIndex

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

WhileStatement::getParent

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

WhileStatement::getLocationHashId

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

WhileStatement::getBody

/** * @brief gets the body of this while loop. * @return Statement */ 
pub fn getBody(self: WhileStatement) -> Statement; 

WhileStatement::getCondition

/** * @brief gets the boolean condition of this while loop. * @return Expression */ 
pub fn getCondition(self: WhileStatement) -> Expression; 

WhileStatement::getSize

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

WhileStatement::getAnAncestor

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

WhileStatement::__all__

Data constraint method.

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

WhileStatement::getLocation

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

WhileStatement::getPrintableText

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

WhileStatement::getEnclosingCallable

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