ExpressionListElement

/**
* @brief A element in a expression list.
*/

Inherit from Expression

Primary key: element_hash_id: int

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

ExpressionListElement::getParentHashId

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

ExpressionListElement::getEnclosingStatement

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

ExpressionListElement::getType

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

ExpressionListElement::getIndex

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

ExpressionListElement::getAnAncestor

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

ExpressionListElement::getParent

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

ExpressionListElement::getExpressionList

/**
* @brief gets the parent of the expression list element.
* @return ExpressionList 
*/
pub fn getExpressionList(self: ExpressionListElement) -> ExpressionList;

ExpressionListElement::getLocationHashId

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

ExpressionListElement::getSize

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

ExpressionListElement::__all__

Data constraint method.

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

ExpressionListElement::getLocation

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

ExpressionListElement::getEnclosingCallable

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

ExpressionListElement::getPrintableText

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