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