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
*/
- Parameter
self
:Location
- Return
int
pub fn getStartLineNumber(self: Location) -> int;
Location::getFileOid
/**
* @brief gets the file oid of this element.
* @return int
*/
- Parameter
self
:Location
- 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
*/
- Parameter
self
:Location
- Return
int
pub fn getEndLineNumber(self: Location) -> int;
Location::getEndColumnNumber
/**
* @brief gets the end column number of this element.
* @return int
*/
- Parameter
self
:Location
- Return
int
pub fn getEndColumnNumber(self: Location) -> int;
Location::__all__
Data constraint method.
- Parameter
db
:PropertiesDB
- Return
*Location
pub fn __all__(db: PropertiesDB) -> *Location;
Location::getStartColumnNumber
/**
* @brief gets the start column number of this element.
* @return int
*/
- Parameter
self
:Location
- Return
int
pub fn getStartColumnNumber(self: Location) -> int;