FunctionDeclarationDO
/**
* @brief DO class: Represents a function declaration or definition.
*/
Primary key: oid: int
schema FunctionDeclarationDO {
@primary oid: int,
return_type_oid: int,
is_definition: int,
printable_text: string
}
FunctionDeclarationDO::getPrintableText
/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
- Parameter
self
:FunctionDeclarationDO
- Return
string
pub fn getPrintableText(self: FunctionDeclarationDO) -> string;
FunctionDeclarationDO::getIsDefinition
/**
* @brief Returns whether this specific declaration of the function is also a definition that does not contain uninstantiated body. This does not determine whether the function has been defined (e.g., in a previous definition); for that information, use isDefined. Note: the function declaration does not become a definition until the parser reaches the definition, if called before, this function will return `false`.
* @return int
*/
- Parameter
self
:FunctionDeclarationDO
- Return
int
pub fn getIsDefinition(self: FunctionDeclarationDO) -> int;
FunctionDeclarationDO::__all__
Data constraint method.
- Parameter
db
:CfamilyDB
- Return
*FunctionDeclarationDO
pub fn __all__(db: CfamilyDB) -> *FunctionDeclarationDO;
FunctionDeclarationDO::getReturnTypeOid
/**
* @brief gets the return type oid of this element.
* @return int
*/
- Parameter
self
:FunctionDeclarationDO
- Return
int
pub fn getReturnTypeOid(self: FunctionDeclarationDO) -> int;