Arg

/**
* @brief A single argument in a list.
*/

Inherit from ArgDO

Primary key: element_oid: int

schema Arg extends ArgDO {
  @primary element_oid: int,
  annotation: int,
  element_index: int,
  parent_oid: int,
  location_oid: int,
  printable_text: string
}

Arg::getParentOid

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

Arg::getElementIndex

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

Arg::getLocationOid

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

Arg::getPrintableText

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

Arg::getAnnotationOid

/**
* @brief gets the annotation of this element.
* @return int
*/
  • Parameter self: Arg
  • Return int
pub fn getAnnotationOid(self: Arg) -> int;

Arg::getAnnotation

/**
* @brief gets the annotation element of the element, if any.
* @return Expression 
*/
pub fn getAnnotation(self: Arg) -> Expression;

Arg::__all__

Data constraint method.

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

Arg::getLocation

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

Arg::getAnAncestor

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

Arg::getParent

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