Location

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

Inherit from LocationDO

Primary key: id: int

schema Location extends LocationDO {
  @primary id: int,
  start_line_number: int,
  start_column_number: int,
  end_line_number: int,
  end_column_number: int,
  file_id: int
}

Location::getEndColumnNumber

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

Location::getFile

/**
* @brief gets the file of the location.
* @return XmlFile 
*/
pub fn getFile(self: Location) -> XmlFile;

Location::getFileId

/**
* @brief gets the file id of the location element.
* @return int
*/
pub fn getFileId(self: Location) -> int;

Location::getStartLineNumber

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

Location::getStartColumnNumber

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

Location::__all__

Data constraint method.

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

Location::getEndLineNumber

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