ArrayAccessExpression
/**
* @brief An array access expression.
*/
Inherit from Expression
Primary key: element_hash_id: int
schema ArrayAccessExpression extends Expression {
@primary element_hash_id: int,
name: string,
parent_hash_id: int,
index_order: int,
location_hash_id: int,
printable_text: string
}
ArrayAccessExpression::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:ArrayAccessExpression
- Return
int
pub fn getParentHashId(self: ArrayAccessExpression) -> int;
ArrayAccessExpression::getEnclosingStatement
/**
* @brief gets the statement which encloses the expression.
* @return Statement
*/
- Parameter
self
:ArrayAccessExpression
- Return
Statement
pub fn getEnclosingStatement(self: ArrayAccessExpression) -> Statement;
ArrayAccessExpression::getIndexExpression
/**
* @brief gets the index expression of the array access expression.
* @return Expression
*/
- Parameter
self
:ArrayAccessExpression
- Return
Expression
pub fn getIndexExpression(self: ArrayAccessExpression) -> Expression;
ArrayAccessExpression::getIndex
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:ArrayAccessExpression
- Return
int
pub fn getIndex(self: ArrayAccessExpression) -> int;
ArrayAccessExpression::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:ArrayAccessExpression
- Return
*ElementParent
pub fn getAnAncestor(self: ArrayAccessExpression) -> *ElementParent;
ArrayAccessExpression::getType
/**
* @brief gets the type of this element.
* @return string
*/
- Parameter
self
:ArrayAccessExpression
- Return
string
pub fn getType(self: ArrayAccessExpression) -> string;
ArrayAccessExpression::getArrayExpression
/**
* @brief gets the array that is accessed in the array access
* @return Expression
*/
- Parameter
self
:ArrayAccessExpression
- Return
Expression
pub fn getArrayExpression(self: ArrayAccessExpression) -> Expression;
ArrayAccessExpression::getSize
/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
- Parameter
self
:ArrayAccessExpression
- Return
NumberOfLines
pub fn getSize(self: ArrayAccessExpression) -> NumberOfLines;
ArrayAccessExpression::getParent
/**
* @brief gets the parent of the expression.
* @return ElementParent
*/
- Parameter
self
:ArrayAccessExpression
- Return
ElementParent
pub fn getParent(self: ArrayAccessExpression) -> ElementParent;
ArrayAccessExpression::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:ArrayAccessExpression
- Return
int
pub fn getLocationHashId(self: ArrayAccessExpression) -> int;
ArrayAccessExpression::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:ArrayAccessExpression
- Return
string
pub fn getPrintableText(self: ArrayAccessExpression) -> string;
ArrayAccessExpression::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:ArrayAccessExpression
- Return
Location
pub fn getLocation(self: ArrayAccessExpression) -> Location;
ArrayAccessExpression::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*ArrayAccessExpression
pub fn __all__(db: JavaDB) -> *ArrayAccessExpression;
ArrayAccessExpression::getEnclosingCallable
/**
* @brief gets the callable in which this expression occurs.
* @return Callable
*/
- Parameter
self
:ArrayAccessExpression
- Return
Callable
pub fn getEnclosingCallable(self: ArrayAccessExpression) -> Callable;