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 */ 
pub fn getKindName(self: BlockExpression) -> string; 

BlockExpression::getParent

/** * @brief gets the parent element of the statement * @return ElementParent */ 
pub fn getParent(self: BlockExpression) -> ElementParent; 

BlockExpression::getEnclosingCallable

/** * @brief gets the immediately enclosing callable whose body contains this statement. * @return Callable */ 
pub fn getEnclosingCallable(self: BlockExpression) -> *Callable; 

BlockExpression::getLocationOid

/** * @brief gets the location oid of this element. * @return int */ 
pub fn getLocationOid(self: BlockExpression) -> int; 

BlockExpression::getAnAncestor

/** * @brief gets an ancestor of the element. * @return ElementParent */ 
pub fn getAnAncestor(self: BlockExpression) -> *ElementParent; 

BlockExpression::getLocation

/** * @brief gets the location for the element. * @return Location */ 
pub fn getLocation(self: BlockExpression) -> Location; 

BlockExpression::getBlockDeclaration

/** * @brief gets the block declaration of this expression. * @return Declaration */ 
pub fn getBlockDeclaration(self: BlockExpression) -> BlockDeclaration; 

BlockExpression::__all__

Data constraint method.

pub fn __all__(db: CfamilyDB) -> *BlockExpression; 

BlockExpression::getIndexOrder

/** * @brief gets the index order of this element. * @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. */ 
pub fn getPrintableText(self: BlockExpression) -> string; 

BlockExpression::getParentOid

/** * @brief gets the parent oid of this element. * @return int */ 
pub fn getParentOid(self: BlockExpression) -> int;