BlockExpression
/** * * @brief DO class: Adaptor class for mixing a BlockDecl with expressions. */ Inherit from Expression
Primary key: oid: int
schema BlockExpression extends Expression { @primary oid: int, parent_oid: int, index_order: int, location_oid: int, kind_name: string, printable_text: string } BlockExpression::getKindName
/** * @brief Statement kind name * @return string */ - Parameter
self:BlockExpression - Return
string
pub fn getKindName(self: BlockExpression) -> string; BlockExpression::getParent
/** * @brief gets the parent element of the statement * @return ElementParent */ - Parameter
self:BlockExpression - Return
ElementParent
pub fn getParent(self: BlockExpression) -> ElementParent; BlockExpression::getEnclosingCallable
/** * @brief gets the immediately enclosing callable whose body contains this statement. * @return Callable */ - Parameter
self:BlockExpression - Return
*Callable
pub fn getEnclosingCallable(self: BlockExpression) -> *Callable; BlockExpression::getLocationOid
/** * @brief gets the location oid of this element. * @return int */ - Parameter
self:BlockExpression - Return
int
pub fn getLocationOid(self: BlockExpression) -> int; BlockExpression::getAnAncestor
/** * @brief gets an ancestor of the element. * @return ElementParent */ - Parameter
self:BlockExpression - Return
*ElementParent
pub fn getAnAncestor(self: BlockExpression) -> *ElementParent; BlockExpression::getLocation
/** * @brief gets the location for the element. * @return Location */ - Parameter
self:BlockExpression - Return
Location
pub fn getLocation(self: BlockExpression) -> Location; BlockExpression::getBlockDeclaration
/** * @brief gets the block declaration of this expression. * @return Declaration */ - Parameter
self:BlockExpression - Return
BlockDeclaration
pub fn getBlockDeclaration(self: BlockExpression) -> BlockDeclaration; BlockExpression::__all__
Data constraint method.
- Parameter
db:CfamilyDB - Return
*BlockExpression
pub fn __all__(db: CfamilyDB) -> *BlockExpression; BlockExpression::getIndexOrder
/** * @brief gets the index order of this element. * @return int */ - Parameter
self:BlockExpression - Return
int
pub fn getIndexOrder(self: BlockExpression) -> int; BlockExpression::getPrintableText
/** * @brief gets a printed representation of this element, including its structure where applicable. * @return string. */ - Parameter
self:BlockExpression - Return
string
pub fn getPrintableText(self: BlockExpression) -> string; BlockExpression::getParentOid
/** * @brief gets the parent oid of this element. * @return int */ - Parameter
self:BlockExpression - Return
int
pub fn getParentOid(self: BlockExpression) -> int;