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