StatementParent

/** * @brief A ast parent of a statement. */ 

Inherit from ElementParent

Primary key: id: int

schema StatementParent extends ElementParent { @primary id: int } 

StatementParent::getAnAncestorForIndex

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

StatementParent::getAnAncestor

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

StatementParent::getLocation

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

StatementParent::print

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

StatementParent::__all__

Data constraint method.

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

StatementParent::getType

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

StatementParent::getChild

/** * @brief get a child statement of the element. * @return Statement */ 
pub fn getChild(self: StatementParent) -> *Statement; 

StatementParent::getElementParent

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