VariableDeclaration
Inherit from DeclaratorDeclaration
Primary key: oid: int
schema VariableDeclaration extends DeclaratorDeclaration {
@primary oid: int,
parent_oid: int,
index_order: int,
location_oid: int,
kind_name: string,
printable_text: string
}
VariableDeclaration::getName
/**
* @brief gets the name of the named declaration.
* @return string
*/
- Parameter
self
:VariableDeclaration
- Return
string
pub fn getName(self: VariableDeclaration) -> string;
VariableDeclaration::getLocationOid
/**
* @brief gets the location oid of this element.
* @return int
*/
- Parameter
self
:VariableDeclaration
- Return
int
pub fn getLocationOid(self: VariableDeclaration) -> int;
VariableDeclaration::getIndexOrder
/**
* @brief gets the index order of this element.
* @return int
*/
- Parameter
self
:VariableDeclaration
- Return
int
pub fn getIndexOrder(self: VariableDeclaration) -> int;
VariableDeclaration::getParentOid
/**
* @brief gets the parent oid of this element.
* @return int
*/
- Parameter
self
:VariableDeclaration
- Return
int
pub fn getParentOid(self: VariableDeclaration) -> int;
VariableDeclaration::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:VariableDeclaration
- Return
string
pub fn getPrintableText(self: VariableDeclaration) -> string;
VariableDeclaration::__all__
Data constraint method.
- Parameter
db
:CfamilyDB
- Return
*VariableDeclaration
pub fn __all__(db: CfamilyDB) -> *VariableDeclaration;
VariableDeclaration::getLocation
/**
* @brief gets the location for the element.
* @return Location
*/
- Parameter
self
:VariableDeclaration
- Return
Location
pub fn getLocation(self: VariableDeclaration) -> Location;
VariableDeclaration::getAnAncestor
/**
* @brief gets an ancestor of the element.
* @return ElementParent
*/
- Parameter
self
:VariableDeclaration
- Return
*ElementParent
pub fn getAnAncestor(self: VariableDeclaration) -> *ElementParent;
VariableDeclaration::getKindName
/**
* @brief Declaration kind name
* @return string
*/
- Parameter
self
:VariableDeclaration
- Return
string
pub fn getKindName(self: VariableDeclaration) -> string;
VariableDeclaration::getParent
/**
* @brief gets the parent element of the declaration
* @return ElementParent
*/
- Parameter
self
:VariableDeclaration
- Return
ElementParent
pub fn getParent(self: VariableDeclaration) -> ElementParent;