Identifier

/**
* @brief An identifier.
*/

Inherit from IdentifierDO

Primary key: element_hash_id: int

schema Identifier extends IdentifierDO {
  @primary element_hash_id: int,
  location_hash_id: int,
  name: string,
  parent_hash_id: int
}

Identifier::__all__

Data constraint method.

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

Identifier::getLocation

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

Identifier::getAnAncestor

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

Identifier::getLocationHashId

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

Identifier::getParent

/**
* @brief gets the ast element parent of the element.
* @return ElementParent 
*/
pub fn getParent(self: Identifier) -> ElementParent;

Identifier::getName

/**
* @brief gets the name of this element.
* @return string
*/
pub fn getName(self: Identifier) -> string;

Identifier::getParentHashId

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