LocalClass
/**
* @brief A local class declaration statement.
*/
Inherit from LocalClassDO
Primary key: element_hash_id: int
schema LocalClass extends LocalClassDO {
@primary element_hash_id: int,
name: string,
printable_text: string,
location_hash_id: int,
parent_hash_id: int
}
LocalClass::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:LocalClass
- Return
string
pub fn getPrintableText(self: LocalClass) -> string;
LocalClass::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*LocalClass
pub fn __all__(db: JavaDB) -> *LocalClass;
LocalClass::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:LocalClass
- Return
Location
pub fn getLocation(self: LocalClass) -> Location;
LocalClass::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:LocalClass
- Return
*ElementParent
pub fn getAnAncestor(self: LocalClass) -> *ElementParent;
LocalClass::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:LocalClass
- Return
int
pub fn getLocationHashId(self: LocalClass) -> int;
LocalClass::getParent
/**
* @brief gets the declaration statement of the element
* @return Statement
*/
- Parameter
self
:LocalClass
- Return
ElementParent
pub fn getParent(self: LocalClass) -> ElementParent;
LocalClass::getName
/**
* @brief gets the name of this element.
* @return string
*/
- Parameter
self
:LocalClass
- Return
string
pub fn getName(self: LocalClass) -> string;
LocalClass::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:LocalClass
- Return
int
pub fn getParentHashId(self: LocalClass) -> int;