ElementParent

/**
* @brief An AST parent of a coref element.
*/

Primary key: id: int

schema ElementParent {
  @primary id: int
}

ElementParent::getAnAncestor

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

ElementParent::__all__

Data constraint method.

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

ElementParent::getPrintableText

/**
* @brief gets the printable text for printing AST
* @return string
*/
pub fn getPrintableText(self: ElementParent) -> *string;

ElementParent::getLocation

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

ElementParent::getElementParent

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