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
*/
- Parameter
self
:DoWhileStatement
- Return
*Statement
pub fn getAEnclosingStatement(self: DoWhileStatement) -> *Statement;
DoWhileStatement::getType
/**
* @brief gets the type of this element.
* @return string
*/
- Parameter
self
:DoWhileStatement
- Return
string
pub fn getType(self: DoWhileStatement) -> string;
DoWhileStatement::getEnclosingStatement
/**
* @brief gets the statement containing this statement.
* @return Statement
*/
- Parameter
self
:DoWhileStatement
- Return
Statement
pub fn getEnclosingStatement(self: DoWhileStatement) -> Statement;
DoWhileStatement::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getParentHashId(self: DoWhileStatement) -> int;
DoWhileStatement::getAChild
/**
* @brief gets a child of this statement.
* @return Statement
*/
- Parameter
self
:DoWhileStatement
- Return
*Statement
pub fn getAChild(self: DoWhileStatement) -> *Statement;
DoWhileStatement::getIndex
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getIndex(self: DoWhileStatement) -> int;
DoWhileStatement::getParent
/**
* @brief gets the parent element of the statement
* @return StatementParent
*/
- Parameter
self
:DoWhileStatement
- Return
ElementParent
pub fn getParent(self: DoWhileStatement) -> ElementParent;
DoWhileStatement::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:DoWhileStatement
- Return
int
pub fn getLocationHashId(self: DoWhileStatement) -> int;
DoWhileStatement::getBody
/**
* @brief gets the body of this while loop.
* @return Statement
*/
- Parameter
self
:DoWhileStatement
- Return
Statement
pub fn getBody(self: DoWhileStatement) -> Statement;
DoWhileStatement::getCondition
/**
* @brief gets the boolean condition of this do-while loop.
* @return Expression
*/
- Parameter
self
:DoWhileStatement
- Return
Expression
pub fn getCondition(self: DoWhileStatement) -> Expression;
DoWhileStatement::getSize
/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
- Parameter
self
:DoWhileStatement
- Return
NumberOfLines
pub fn getSize(self: DoWhileStatement) -> NumberOfLines;
DoWhileStatement::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:DoWhileStatement
- Return
*ElementParent
pub fn getAnAncestor(self: DoWhileStatement) -> *ElementParent;
DoWhileStatement::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*DoWhileStatement
pub fn __all__(db: JavaDB) -> *DoWhileStatement;
DoWhileStatement::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:DoWhileStatement
- 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.
*/
- Parameter
self
:DoWhileStatement
- 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
*/
- Parameter
self
:DoWhileStatement
- Return
Callable
pub fn getEnclosingCallable(self: DoWhileStatement) -> Callable;