TokenDO

/**
* @brief DO class: A single token in a Java file (the lowest-level element in the Java Ast tree).
*/

Primary key: element_hash_id: int

schema TokenDO {
  @primary element_hash_id: int,
  value: string,
  location_hash_id: int,
  parent_hash_id: int
}

TokenDO::getParentHashId

/**
* @brief gets the parent hash id of this element.
* @return int
*/
  • Parameter self: TokenDO
  • Return int
pub fn getParentHashId(self: TokenDO) -> int;

TokenDO::getLocationHashId

/**
* @brief gets the location hash id of this element.
* @return int
*/
  • Parameter self: TokenDO
  • Return int
pub fn getLocationHashId(self: TokenDO) -> int;

TokenDO::__all__

Data constraint method.

pub fn __all__(db: JavaDB) -> *TokenDO;

TokenDO::getValue

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