DoStatement

/**
* @brief A do-while statement.
*/

Inherit from Statement

Primary key: oid: int

schema DoStatement extends Statement {
  @primary oid: int,
  parent_oid: int,
  index_order: int,
  location_oid: int,
  kind_name: string,
  printable_text: string
}

DoStatement::getIndexOrder

/**
* @brief gets the index order of this element.
* @return int
*/
pub fn getIndexOrder(self: DoStatement) -> int;

DoStatement::getLocationOid

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

DoStatement::getParentOid

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

DoStatement::getEnclosingCallable

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

DoStatement::__all__

Data constraint method.

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

DoStatement::getPrintableText

/**
* @brief gets a printed representation of this element, including its structure where applicable.
* @return string.
*/
pub fn getPrintableText(self: DoStatement) -> string;

DoStatement::getLocation

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

DoStatement::getAnAncestor

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

DoStatement::getKindName

/**
* @brief Statement kind name
* @return string
*/
pub fn getKindName(self: DoStatement) -> string;

DoStatement::getBodyStatement

/**
* @brief gets the body of this while loop.
* @return Statement 
*/
pub fn getBodyStatement(self: DoStatement) -> Statement;

DoStatement::getConditionExpression

/**
* @brief gets the boolean condition of this dowhile loop.
* @return Expression 
*/
pub fn getConditionExpression(self: DoStatement) -> Expression;

DoStatement::getParent

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