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