LocationDO

/**
* @brief DO class: A location.
*/

Primary key: oid: int

schema LocationDO {
  @primary oid: int,
  start_line_number: int,
  start_column_number: int,
  end_line_number: int,
  end_column_number: int,
  token_start_offset: int,
  token_end_offset: int
}

LocationDO::getTokenStartOffset

/**
* @brief gets the token start offset of this element.
* @return int
*/
pub fn getTokenStartOffset(self: LocationDO) -> int;

LocationDO::getStartLineNumber

/**
* @brief gets the start line number of this element.
* @return int
*/
pub fn getStartLineNumber(self: LocationDO) -> int;

LocationDO::getEndLineNumber

/**
* @brief gets the end line number of this element.
* @return int
*/
pub fn getEndLineNumber(self: LocationDO) -> int;

LocationDO::__all__

Data constraint method.

pub fn __all__(db: GoDB) -> *LocationDO;

LocationDO::getStartColumnNumber

/**
* @brief gets the start column number of this element.
* @return int
*/
pub fn getStartColumnNumber(self: LocationDO) -> int;

LocationDO::getTokenEndOffset

/**
* @brief gets the token end offset of this element.
* @return int
*/
pub fn getTokenEndOffset(self: LocationDO) -> int;

LocationDO::getEndColumnNumber

/**
* @brief gets the end column number of this element.
* @return int
*/
pub fn getEndColumnNumber(self: LocationDO) -> int;