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