LogicExpression
/**
* @brief A logic expression.
*/
Inherit from Expression
Primary key: element_hash_id: int
schema LogicExpression extends Expression {
@primary element_hash_id: int,
name: string,
parent_hash_id: int,
index_order: int,
location_hash_id: int,
printable_text: string
}
LogicExpression::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:LogicExpression
- Return
int
pub fn getParentHashId(self: LogicExpression) -> int;
LogicExpression::getEnclosingStatement
/**
* @brief gets the statement which encloses the expression.
* @return Statement
*/
- Parameter
self
:LogicExpression
- Return
Statement
pub fn getEnclosingStatement(self: LogicExpression) -> Statement;
LogicExpression::getIndex
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:LogicExpression
- Return
int
pub fn getIndex(self: LogicExpression) -> int;
LogicExpression::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:LogicExpression
- Return
*ElementParent
pub fn getAnAncestor(self: LogicExpression) -> *ElementParent;
LogicExpression::getType
/**
* @brief gets the type of this element.
* @return string
*/
- Parameter
self
:LogicExpression
- Return
string
pub fn getType(self: LogicExpression) -> string;
LogicExpression::getAnOperand
/**
* @brief description
* @return Expression
*/
- Parameter
self
:LogicExpression
- Return
*Expression
pub fn getAnOperand(self: LogicExpression) -> *Expression;
LogicExpression::getParent
/**
* @brief gets the parent of the expression.
* @return ElementParent
*/
- Parameter
self
:LogicExpression
- Return
ElementParent
pub fn getParent(self: LogicExpression) -> ElementParent;
LogicExpression::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:LogicExpression
- Return
int
pub fn getLocationHashId(self: LogicExpression) -> int;
LogicExpression::getSize
/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
- Parameter
self
:LogicExpression
- Return
NumberOfLines
pub fn getSize(self: LogicExpression) -> NumberOfLines;
LogicExpression::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*LogicExpression
pub fn __all__(db: JavaDB) -> *LogicExpression;
LogicExpression::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:LogicExpression
- Return
Location
pub fn getLocation(self: LogicExpression) -> Location;
LogicExpression::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:LogicExpression
- Return
string
pub fn getPrintableText(self: LogicExpression) -> string;
LogicExpression::getEnclosingCallable
/**
* @brief gets the callable in which this expression occurs.
* @return Callable
*/
- Parameter
self
:LogicExpression
- Return
Callable
pub fn getEnclosingCallable(self: LogicExpression) -> Callable;