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