DoWhileStatement

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

Inherit from Statement

Primary key: element_hash_id: int

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

DoWhileStatement::getAEnclosingStatement

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

DoWhileStatement::getType

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

DoWhileStatement::getEnclosingStatement

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

DoWhileStatement::getParentHashId

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

DoWhileStatement::getAChild

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

DoWhileStatement::getIndex

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

DoWhileStatement::getParent

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

DoWhileStatement::getLocationHashId

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

DoWhileStatement::getBody

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

DoWhileStatement::getCondition

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

DoWhileStatement::getSize

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

DoWhileStatement::getAnAncestor

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

DoWhileStatement::__all__

Data constraint method.

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

DoWhileStatement::getLocation

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

DoWhileStatement::getPrintableText

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

DoWhileStatement::getEnclosingCallable

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