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