AssignmentExpression

/**
* @brief An assignment expression.
*/

Inherit from Expression

Primary key: element_hash_id: int

schema AssignmentExpression extends Expression {
  @primary element_hash_id: int,
  name: string,
  parent_hash_id: int,
  index_order: int,
  location_hash_id: int,
  printable_text: string
}

AssignmentExpression::getSource

/**
* @brief gets the operand on the right-hand side of the binary expression.
* @return Expression 
*/
pub fn getSource(self: AssignmentExpression) -> Expression;

AssignmentExpression::getPrintableText

/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
pub fn getPrintableText(self: AssignmentExpression) -> string;

AssignmentExpression::getLocation

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

AssignmentExpression::getEnclosingCallable

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

AssignmentExpression::__all__

Data constraint method.

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

AssignmentExpression::getParentHashId

/**
* @brief gets the parent hash id of this element.
* @return int
*/
pub fn getParentHashId(self: AssignmentExpression) -> int;

AssignmentExpression::getEnclosingStatement

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

AssignmentExpression::getOpcode

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

AssignmentExpression::getDestination

/**
* @brief gets the operand on the left-hand side of the binary expression.
* @return Expression 
*/
pub fn getDestination(self: AssignmentExpression) -> Expression;

AssignmentExpression::getType

/**
* @brief gets the type of this element.
* @return string
*/
pub fn getType(self: AssignmentExpression) -> string;

AssignmentExpression::getIndex

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

AssignmentExpression::getAnAncestor

/**
* @brief gets an ancestor of the element.
* @return ElementParent 
*/
pub fn getAnAncestor(self: AssignmentExpression) -> *ElementParent;

AssignmentExpression::getParent

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

AssignmentExpression::getLocationHashId

/**
* @brief gets the location hash id of this element.
* @return int
*/
pub fn getLocationHashId(self: AssignmentExpression) -> int;

AssignmentExpression::getSize

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