LongLiteral

/**
* @brief A long literal, for example, "15l".
*/

Inherit from Literal

Primary key: element_hash_id: int

schema LongLiteral extends Literal {
  @primary element_hash_id: int,
  name: string,
  parent_hash_id: int,
  index_order: int,
  location_hash_id: int,
  printable_text: string
}

LongLiteral::getSize

/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
pub fn getSize(self: LongLiteral) -> NumberOfLines;

LongLiteral::getLocationHashId

/**
* @brief gets the location hash id of this element.
* @return int
*/
pub fn getLocationHashId(self: LongLiteral) -> int;

LongLiteral::getParent

/**
* @brief gets the parent of the expression.
* @return ElementParent 
*/
pub fn getParent(self: LongLiteral) -> ElementParent;

LongLiteral::getIndex

/**
* @brief gets the index order of this element.
* @return int
*/
pub fn getIndex(self: LongLiteral) -> int;

LongLiteral::getParentHashId

/**
* @brief gets the parent hash id of this element.
* @return int
*/
pub fn getParentHashId(self: LongLiteral) -> int;

LongLiteral::getEnclosingStatement

/**
* @brief gets the statement which encloses the expression.
* @return Statement 
*/
pub fn getEnclosingStatement(self: LongLiteral) -> Statement;

LongLiteral::getAnAncestor

/**
* @brief gets an ancestor of the element.
* @return ElementParent 
*/
pub fn getAnAncestor(self: LongLiteral) -> *ElementParent;

LongLiteral::getType

/**
* @brief gets the type of this element.
* @return string
*/
pub fn getType(self: LongLiteral) -> string;

LongLiteral::getValue

/**
* @brief gets the value of the Literal.
* @return string
*/
pub fn getValue(self: LongLiteral) -> string;

LongLiteral::getLocation

/**
* @brief gets the location for the element.
* @return Location
*/
pub fn getLocation(self: LongLiteral) -> Location;

LongLiteral::__all__

Data constraint method.

pub fn __all__(db: JavaDB) -> *LongLiteral;

LongLiteral::getEnclosingCallable

/**
* @brief gets the callable in which this expression occurs.
* @return Callable 
*/
pub fn getEnclosingCallable(self: LongLiteral) -> Callable;

LongLiteral::getPrintableText

/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
pub fn getPrintableText(self: LongLiteral) -> string;

LongLiteral::getValueType

/**
* @brief gets the type of the Literal value.
* @return string
*/
pub fn getValueType(self: LongLiteral) -> Type;