LocalVariable
/**
* @brief A local variable.
*/
Inherit from LocalVariableDO
Primary key: element_hash_id: int
schema LocalVariable extends LocalVariableDO {
@primary element_hash_id: int,
parent_hash_id: int,
location_hash_id: int,
printable_text: string,
name: string,
index_order: int
}
LocalVariable::getName
/**
* @brief gets the name of this element.
* @return string
*/
- Parameter
self
:LocalVariable
- Return
string
pub fn getName(self: LocalVariable) -> string;
LocalVariable::getParentHashId
/**
* @brief gets the parent hash id of this element.
* @return int
*/
- Parameter
self
:LocalVariable
- Return
int
pub fn getParentHashId(self: LocalVariable) -> int;
LocalVariable::getIndex
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:LocalVariable
- Return
int
pub fn getIndex(self: LocalVariable) -> int;
LocalVariable::getParent
/**
* @brief gets the parent of the element.
* @return ElementParent
*/
- Parameter
self
:LocalVariable
- Return
ElementParent
pub fn getParent(self: LocalVariable) -> ElementParent;
LocalVariable::getLocationHashId
/**
* @brief gets the location hash id of this element.
* @return int
*/
- Parameter
self
:LocalVariable
- Return
int
pub fn getLocationHashId(self: LocalVariable) -> int;
LocalVariable::getExpression
/**
* @brief gets the expression of the local variable.
* @return Expression
*/
- Parameter
self
:LocalVariable
- Return
Expression
pub fn getExpression(self: LocalVariable) -> Expression;
LocalVariable::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:LocalVariable
- Return
*ElementParent
pub fn getAnAncestor(self: LocalVariable) -> *ElementParent;
LocalVariable::getIdentifier
/**
* @brief gets the identifier of the local variable.
* @return Identifier
*/
- Parameter
self
:LocalVariable
- Return
Identifier
pub fn getIdentifier(self: LocalVariable) -> Identifier;
LocalVariable::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:LocalVariable
- Return
string
pub fn getPrintableText(self: LocalVariable) -> string;
LocalVariable::getLocation
/**
* @brief gets the location of the local variable.
* @return Location
*/
- Parameter
self
:LocalVariable
- Return
Location
pub fn getLocation(self: LocalVariable) -> Location;
LocalVariable::__all__
Data constraint method.
- Parameter
db
:JavaDB
- Return
*LocalVariable
pub fn __all__(db: JavaDB) -> *LocalVariable;
LocalVariable::getType
/**
* @brief gets the type for the element.
* @return Type
*/
- Parameter
self
:LocalVariable
- Return
Type
pub fn getType(self: LocalVariable) -> Type;
LocalVariable::getReferenced
/**
* @brief gets the reference expression of the local variable.
* @return Expression
*/
- Parameter
self
:LocalVariable
- Return
Expression
pub fn getReferenced(self: LocalVariable) -> Expression;
LocalVariable::getTypeElement
/**
* @brief gets the type element for the element.
* @return TypeElement
*/
- Parameter
self
:LocalVariable
- Return
TypeElement
pub fn getTypeElement(self: LocalVariable) -> TypeElement;
LocalVariable::getAnnotation
/**
* @brief gets the annotation of the class, if any.
* @return Annotation
*/
- Parameter
self
:LocalVariable
- Return
Annotation
pub fn getAnnotation(self: LocalVariable) -> Annotation;