Location

/**
* @brief The location information of a locatable elements.
*/

Inherit from LocationDO

Primary key: element_oid: int

schema Location extends LocationDO {
  @primary element_oid: int,
  file_oid: int,
  start_line_number: int,
  start_column_number: int,
  end_line_number: int,
  end_column_number: int
}

Location::getStartLineNumber

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

Location::getFileOid

/**
* @brief gets the file oid of this element.
* @return int
*/
pub fn getFileOid(self: Location) -> int;

Location::getFile

/**
* @brief gets the file information for the location
* @return File 
*/
pub fn getFile(self: Location) -> File;

Location::getEndLineNumber

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

Location::getEndColumnNumber

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

Location::__all__

Data constraint method.

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

Location::getStartColumnNumber

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