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
*/
pub fn getParentHashId(self: BinaryExpression) -> int;

BinaryExpression::getEnclosingStatement

/**
* @brief gets the statement which encloses the expression.
* @return Statement 
*/
pub fn getEnclosingStatement(self: BinaryExpression) -> Statement;

BinaryExpression::getOpcode

/**
* @brief gets the opcode of the binary expression
* @return string 
*/
pub fn getOpcode(self: BinaryExpression) -> string;

BinaryExpression::getOperand

/**
* @brief gets an operand of the binary expression.
* @return Expression 
*/
pub fn getOperand(self: BinaryExpression) -> *Expression;

BinaryExpression::getParent

/**
* @brief gets the parent of the expression.
* @return ElementParent 
*/
pub fn getParent(self: BinaryExpression) -> ElementParent;

BinaryExpression::getLocationHashId

/**
* @brief gets the location hash id of this element.
* @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.
*/
pub fn getPrintableText(self: BinaryExpression) -> string;

BinaryExpression::getLocation

/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: BinaryExpression) -> Location;

BinaryExpression::getEnclosingCallable

/**
* @brief gets the callable in which this expression occurs.
* @return Callable 
*/
pub fn getEnclosingCallable(self: BinaryExpression) -> Callable;

BinaryExpression::__all__

Data constraint method.

pub fn __all__(db: JavaDB) -> *BinaryExpression;

BinaryExpression::getType

/**
* @brief gets the type of this element.
* @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 
*/
pub fn getLeftOperandExpression(self: BinaryExpression) -> Expression;

BinaryExpression::getIndex

/**
* @brief gets the index order of this element.
* @return int
*/
pub fn getIndex(self: BinaryExpression) -> int;

BinaryExpression::getAnAncestor

/**
* @brief gets an ancestor of the element.
* @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 
*/
pub fn getRightOperandExpression(self: BinaryExpression) -> Expression;

BinaryExpression::getSize

/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
pub fn getSize(self: BinaryExpression) -> NumberOfLines;