Keyword

/**
* @brief A keyword argument to a function call or class definition. 
*/

Inherit from KeywordDO

Primary key: element_oid: int

schema Keyword extends KeywordDO {
  @primary element_oid: int,
  arg_value: string,
  value_oid: int,
  element_index: int,
  parent_oid: int,
  location_oid: int,
  printable_text: string
}

Keyword::getParentOid

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

Keyword::getArgName

/**
* @brief gets the parameter name of the keyword.
* @return string 
*/
  • Parameter self: Keyword
  • Return string
pub fn getArgName(self: Keyword) -> string;

Keyword::getAnAncestor

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

Keyword::getParent

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

Keyword::getValue

/**
* @brief gets the value of the keyword.
* @return Expression 
*/
pub fn getValue(self: Keyword) -> Expression;

Keyword::__all__

Data constraint method.

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

Keyword::getLocation

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

Keyword::getPrintableText

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

Keyword::getLocationOid

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

Keyword::getArgValue

/**
* @brief gets the arg value of this element.
* @return string
*/
  • Parameter self: Keyword
  • Return string
pub fn getArgValue(self: Keyword) -> string;

Keyword::getValueOid

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

Keyword::getElementIndex

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