Comprehension

/** * @brief One for clause in a comprehension. */ 

Inherit from ComprehensionDO

Primary key: element_oid: int

schema Comprehension extends ComprehensionDO { @primary element_oid: int, target_expr_oid: int, iter_expr_oid: int, element_index: int, parent_oid: int, printable_text: string } 

Comprehension::getParentOid

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

Comprehension::getElementIndex

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

Comprehension::getIterExprOid

/** * @brief gets the iter expr oid of this element. * @return int */ 
pub fn getIterExprOid(self: Comprehension) -> int; 

Comprehension::getParent

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

Comprehension::getTargetExprOid

/** * @brief gets the target expr oid of this element. * @return int */ 
pub fn getTargetExprOid(self: Comprehension) -> int; 

Comprehension::__all__

Data constraint method.

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

Comprehension::getAnAncestor

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

Comprehension::getLocation

/** * @brief gets the location for the element's parent since this type has no location info. * @return Location */ 
pub fn getLocation(self: Comprehension) -> Location; 

Comprehension::getPrintableText

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