ReferenceExpression

/**
* @brief A reference in code (either an identifier or a sequence of identifiers separated by periods, optionally with generic type arguments)
*/

Inherit from Expression

Primary key: element_hash_id: int

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

ReferenceExpression::getParentHashId

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

ReferenceExpression::getEnclosingStatement

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

ReferenceExpression::getIndex

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

ReferenceExpression::getIdentifier

/**
* @brief gets the Identifier of the reference expression Right.
* @return Identifier 
*/
pub fn getIdentifier(self: ReferenceExpression) -> Identifier;

ReferenceExpression::getAnAncestor

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

ReferenceExpression::getMethodAccessExpression

/**
* @brief gets the MethodAccessExpression of the reference expression left.
* @return MethodAccessExpression 
*/
pub fn getMethodAccessExpression(self: ReferenceExpression) -> MethodAccessExpression;

ReferenceExpression::getType

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

ReferenceExpression::getDefinition

/**
* @brief gets the definition of the reference expression.
* @return ElementParent 
*/
pub fn getDefinition(self: ReferenceExpression) -> ElementParent;

ReferenceExpression::getPrintableText

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

ReferenceExpression::getLocation

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

ReferenceExpression::__all__

Data constraint method.

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

ReferenceExpression::getEnclosingCallable

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

ReferenceExpression::getParent

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

ReferenceExpression::getLocationHashId

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

ReferenceExpression::getSize

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