ElementParent

/**
* @brief A ast parent of a coref element.
*/

Primary key: id: int

schema ElementParent {
  @primary id: int
}

ElementParent::print

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

ElementParent::getElementParent

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

ElementParent::getType

/**
* @brief gets the type of the element for printing AST.
* @return string 
*/
pub fn getType(self: ElementParent) -> string;

ElementParent::__all__

Data constraint method.

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

ElementParent::getLocation

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

ElementParent::getAnAncestor

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

ElementParent::getAnAncestorForIndex

/**
* @brief gets the index for printing AST.
* @return int 
*/
pub fn getAnAncestorForIndex(self: ElementParent, index: int) -> ElementParent;