ListCompExpression

/**
* @brief A list compare expression.
*/

Inherit from Expression

Primary key: element_oid: int

schema ListCompExpression extends Expression {
  @primary element_oid: int,
  type: string,
  element_index: int,
  parent_oid: int,
  location_oid: int,
  printable_text: string
}

ListCompExpression::getSize

/**
* @brief gets the size information for the element.
* @return NumberOfLines
*/
pub fn getSize(self: ListCompExpression) -> NumberOfLines;

ListCompExpression::getLocation

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

ListCompExpression::getAnAncestor

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

ListCompExpression::getParent

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

ListCompExpression::getLocationOid

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

ListCompExpression::getType

/**
* @brief gets the type of this element.
* @return string
*/
pub fn getType(self: ListCompExpression) -> string;

ListCompExpression::__all__

Data constraint method.

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

ListCompExpression::getPrintableText

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

ListCompExpression::getEnclosingScope

/**
* @brief gets the immediately enclosing scope (module, function or class) whose body contains this statement.
* @return Scope 
*/
pub fn getEnclosingScope(self: ListCompExpression) -> Scope;

ListCompExpression::getParentOid

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

ListCompExpression::getElementIndex

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