ExceptHandler

/**
* @brief A single except clause.
*/

Inherit from ExceptHandlerDO

Primary key: element_oid: int

schema ExceptHandler extends ExceptHandlerDO {
  @primary element_oid: int,
  element_index: int,
  parent_oid: int,
  location_oid: int,
  printable_text: string
}

ExceptHandler::getLocationOid

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

ExceptHandler::getElementIndex

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

ExceptHandler::getParentOid

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

ExceptHandler::getTryStatement

/**
* @brief gets the try statement of the except clause
* @return TryStatement 
*/
pub fn getTryStatement(self: ExceptHandler) -> TryStatement;

ExceptHandler::getParent

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

ExceptHandler::__all__

Data constraint method.

pub fn __all__(db: PythonDB) -> *ExceptHandler;

ExceptHandler::getAnAncestor

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

ExceptHandler::getPrintableText

/**
* @brief gets the printable text of this element.
* @return string
*/
pub fn getPrintableText(self: ExceptHandler) -> string;