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 */
- Parameter
self
:ListCompExpression
- Return
NumberOfLines
pub fn getSize(self: ListCompExpression) -> NumberOfLines;
ListCompExpression::getLocation
/** * @brief gets the location for the element. * @return Location */
- Parameter
self
:ListCompExpression
- Return
Location
pub fn getLocation(self: ListCompExpression) -> Location;
ListCompExpression::getAnAncestor
/** * @brief gets an ancestor of the element. * @return CombineElement */
- Parameter
self
:ListCompExpression
- Return
*CombineElement
pub fn getAnAncestor(self: ListCompExpression) -> *CombineElement;
ListCompExpression::getParent
/** * @brief gets the parent of the expression. * @return CombineElement */
- Parameter
self
:ListCompExpression
- Return
CombineElement
pub fn getParent(self: ListCompExpression) -> CombineElement;
ListCompExpression::getLocationOid
/** * @brief gets the location oid of this element. * @return int */
- Parameter
self
:ListCompExpression
- Return
int
pub fn getLocationOid(self: ListCompExpression) -> int;
ListCompExpression::getType
/** * @brief gets the type of this element. * @return string */
- Parameter
self
:ListCompExpression
- Return
string
pub fn getType(self: ListCompExpression) -> string;
ListCompExpression::__all__
Data constraint method.
- Parameter
db
:PythonDB
- Return
*ListCompExpression
pub fn __all__(db: PythonDB) -> *ListCompExpression;
ListCompExpression::getPrintableText
/** * @brief gets the printable text of this element. * @return string */
- Parameter
self
:ListCompExpression
- 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 */
- Parameter
self
:ListCompExpression
- Return
Scope
pub fn getEnclosingScope(self: ListCompExpression) -> Scope;
ListCompExpression::getParentOid
/** * @brief gets the parent oid of this element. * @return int */
- Parameter
self
:ListCompExpression
- Return
int
pub fn getParentOid(self: ListCompExpression) -> int;
ListCompExpression::getElementIndex
/** * @brief gets the element index of this element. * @return int */
- Parameter
self
:ListCompExpression
- Return
int
pub fn getElementIndex(self: ListCompExpression) -> int;