TypeLiteral

/**
* @brief A type literal, for example, "String.class".
*/

Inherit from Expression

Primary key: element_hash_id: int

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

TypeLiteral::getParentHashId

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

TypeLiteral::getEnclosingStatement

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

TypeLiteral::getIndex

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

TypeLiteral::getValue

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

TypeLiteral::getType

/**
* @brief gets the reference type of the element.
* @return Type 
*/
pub fn getType(self: TypeLiteral) -> Type;

TypeLiteral::getTypeElement

/**
* @brief gets the type element of the element.
* @return TypeElement 
*/
pub fn getTypeElement(self: TypeLiteral) -> TypeElement;

TypeLiteral::getAnAncestor

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

TypeLiteral::getPrintableText

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

TypeLiteral::getEnclosingCallable

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

TypeLiteral::__all__

Data constraint method.

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

TypeLiteral::getLocation

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

TypeLiteral::getParent

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

TypeLiteral::getLocationHashId

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

TypeLiteral::getSize

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