LoopStatement
/**
* @brief A loop statement.
*/
Inherit from Statement
Primary key: element_hash_id: int
schema LoopStatement extends Statement {
@primary element_hash_id: int,
parent_hash_id: int,
index_order: int,
location_hash_id: int,
printable_text: string,
type: string
}
LoopStatement::getAEnclosingStatement
/**
* @brief gets the transitive statement containing this statement.
* @return Statement
*/
- Parameter
self
:LoopStatement
- Return
*Statement
pub fn getAEnclosingStatement(self: LoopStatement) -> *Statement;
LoopStatement::getType
/**
* @brief gets the type of this element.
* @return string
*/
- Parameter
self
:LoopStatement
- Return
string
pub fn getType(self: LoopStatement) -> string;
LoopStatement::getSize
/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
- Parameter
self
:LoopStatement
- Return
NumberOfLines
pub fn getSize(self: LoopStatement) -> NumberOfLines;
LoopStatement::getParent
/**
* @brief gets the parent element of the statement
* @return StatementParent
*/
- Parameter
self
:LoopStatement
- Return
ElementParent
pub fn getParent(self: LoopStatement) -> ElementParent;
LoopStatement::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:LoopStatement
- Return
int
pub fn getLocationHashId(self: LoopStatement) -> int;
LoopStatement::getIndex
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:LoopStatement
- Return
int
pub fn getIndex(self: LoopStatement) -> int;
LoopStatement::getEnclosingStatement
/**
* @brief gets the statement containing this statement.
* @return Statement
*/
- Parameter
self
:LoopStatement
- Return
Statement
pub fn getEnclosingStatement(self: LoopStatement) -> Statement;
LoopStatement::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:LoopStatement
- Return
int
pub fn getParentHashId(self: LoopStatement) -> int;
LoopStatement::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:LoopStatement
- Return
*ElementParent
pub fn getAnAncestor(self: LoopStatement) -> *ElementParent;
LoopStatement::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*LoopStatement
pub fn __all__(db: JavaDB) -> *LoopStatement;
LoopStatement::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:LoopStatement
- Return
Location
pub fn getLocation(self: LoopStatement) -> Location;
LoopStatement::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:LoopStatement
- Return
string
pub fn getPrintableText(self: LoopStatement) -> string;
LoopStatement::getEnclosingCallable
/**
* @brief gets the immediately enclosing callable (method or constructor) whose body contains this statement.
* @return Callable
*/
- Parameter
self
:LoopStatement
- Return
Callable
pub fn getEnclosingCallable(self: LoopStatement) -> Callable;
LoopStatement::getAChild
/**
* @brief gets a child of this statement.
* @return Statement
*/
- Parameter
self
:LoopStatement
- Return
*Statement
pub fn getAChild(self: LoopStatement) -> *Statement;