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