MethodAccessExpression
/**
* @brief A call of a method.
*/
Inherit from Expression
Primary key: element_hash_id: int
schema MethodAccessExpression extends Expression {
@primary element_hash_id: int,
name: string,
parent_hash_id: int,
index_order: int,
location_hash_id: int,
printable_text: string
}
MethodAccessExpression::getParent
/**
* @brief gets the parent of the expression.
* @return ElementParent
*/
- Parameter
self
:MethodAccessExpression
- Return
ElementParent
pub fn getParent(self: MethodAccessExpression) -> ElementParent;
MethodAccessExpression::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:MethodAccessExpression
- Return
*ElementParent
pub fn getAnAncestor(self: MethodAccessExpression) -> *ElementParent;
MethodAccessExpression::getMethod
/**
* @brief gets the method of the call.
* @return Method
*/
- Parameter
self
:MethodAccessExpression
- Return
Method
pub fn getMethod(self: MethodAccessExpression) -> Method;
MethodAccessExpression::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:MethodAccessExpression
- Return
int
pub fn getParentHashId(self: MethodAccessExpression) -> int;
MethodAccessExpression::getEnclosingStatement
/**
* @brief gets the statement which encloses the expression.
* @return Statement
*/
- Parameter
self
:MethodAccessExpression
- Return
Statement
pub fn getEnclosingStatement(self: MethodAccessExpression) -> Statement;
MethodAccessExpression::getReference
/**
* @brief gets the reference expression of the element.
* @return ReferenceExpression
*/
- Parameter
self
:MethodAccessExpression
- Return
ReferenceExpression
pub fn getReference(self: MethodAccessExpression) -> ReferenceExpression;
MethodAccessExpression::getNpMethod
/**
* @brief gets the np-method of the call.
* @return NpMethod
*/
- Parameter
self
:MethodAccessExpression
- Return
NpMethod
pub fn getNpMethod(self: MethodAccessExpression) -> NpMethod;
MethodAccessExpression::getType
/**
* @brief gets the type for the element.
* @return Type
*/
- Parameter
self
:MethodAccessExpression
- Return
Type
pub fn getType(self: MethodAccessExpression) -> Type;
MethodAccessExpression::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:MethodAccessExpression
- Return
string
pub fn getPrintableText(self: MethodAccessExpression) -> string;
MethodAccessExpression::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:MethodAccessExpression
- Return
Location
pub fn getLocation(self: MethodAccessExpression) -> Location;
MethodAccessExpression::getEnclosingCallable
/**
* @brief gets the callable in which this expression occurs.
* @return Callable
*/
- Parameter
self
:MethodAccessExpression
- Return
Callable
pub fn getEnclosingCallable(self: MethodAccessExpression) -> Callable;
MethodAccessExpression::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*MethodAccessExpression
pub fn __all__(db: JavaDB) -> *MethodAccessExpression;
MethodAccessExpression::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:MethodAccessExpression
- Return
int
pub fn getLocationHashId(self: MethodAccessExpression) -> int;
MethodAccessExpression::getExpressionList
- Parameter
self
:MethodAccessExpression
- Return
ExpressionList
pub fn getExpressionList(self: MethodAccessExpression) -> ExpressionList;
MethodAccessExpression::getSize
/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
- Parameter
self
:MethodAccessExpression
- Return
NumberOfLines
pub fn getSize(self: MethodAccessExpression) -> NumberOfLines;
MethodAccessExpression::getConstructor
/**
* @brief gets the constructor of the call.
* @return Constructor
*/
- Parameter
self
:MethodAccessExpression
- Return
Constructor
pub fn getConstructor(self: MethodAccessExpression) -> Constructor;
MethodAccessExpression::getArgument
/**
* @brief gets the call site of the call.
* @return ReferenceExpression
*/
- Parameter
self
:MethodAccessExpression
- Parameter
idx
:int
- Return
Expression
pub fn getArgument(self: MethodAccessExpression, idx: int) -> Expression;
MethodAccessExpression::getIndex
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:MethodAccessExpression
- Return
int
pub fn getIndex(self: MethodAccessExpression) -> int;
MethodAccessExpression::getCallSite
/**
* @brief gets the call site of the call.
* @return ReferenceExpression
*/
- Parameter
self
:MethodAccessExpression
- Return
ReferenceExpression
pub fn getCallSite(self: MethodAccessExpression) -> ReferenceExpression;
MethodAccessExpression::getCallable
/**
* @brief gets the callable of the call.
* @return Callable
*/
- Parameter
self
:MethodAccessExpression
- Return
Callable
pub fn getCallable(self: MethodAccessExpression) -> Callable;