Location

Inherit from LocationDO

Primary key: oid: int

schema Location extends 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
}

Location::getEndColumnNumber

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

Location::getTokenEndOffset

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

Location::getEndLineNumber

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

Location::getTokenStartOffset

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

Location::getStartLineNumber

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

Location::__all__

Data constraint method.

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

Location::getStartColumnNumber

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