Variable
/**
* @brief A variable is a field (or an enum constant), a local variable or a parameter.
*/
Primary key: id: int
schema Variable {
@primary id: int
}
Variable::getDirectUsage
/**
* @brief gets the directly usage of the element.
* @return ReferenceExpression
*/
- Parameter
self
:Variable
- Return
*ReferenceExpression
pub fn getDirectUsage(self: Variable) -> *ReferenceExpression;
Variable::getLocation
/**
* @brief gets the location of the element.
* @return Location
*/
pub fn getLocation(self: Variable) -> Location;
Variable::getType
/**
* @brief gets the type of the element.
* @return Type
*/
pub fn getType(self: Variable) -> Type;
Variable::__all__
Data constraint method.
pub fn __all__(db: JavaDB) -> *Variable;
Variable::getName
/**
* @brief gets the name of the element.
* @return string
*/
- Parameter
self
:Variable
- Return
string
pub fn getName(self: Variable) -> string;