Class DbLocation
A location as given by a file, a start line, a start column, an end line, and an end column.
This class is restricted to locations created by the extractor.
For more information about locations see Locations.
Import path
import javascript
Direct supertypes
Predicates
contains | Holds if this location contains location |
endsAfter | Holds if this location ends after location |
getEndColumn | Gets the 1-based column number (inclusive) where this location ends. |
getEndLine | Gets the 1-based line number (inclusive) where this location ends. |
getFile | Gets the file for this location. |
getNumLines | Gets the number of lines covered by this location. |
getStartColumn | Gets the 1-based column number (inclusive) where this location starts. |
getStartLine | Gets the 1-based line number (inclusive) where this location starts. |
hasLocationInfo | Holds if this element is at the specified location. The location spans column |
isEmpty | Holds if this location is empty. |
startsBefore | Holds if this location starts before location |
toString | Gets a textual representation of this element. |