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