Class LocationImpl::Location
A location as given by a file, a start line, a start column, an end line, and an end column.
For more information about locations see Locations.
Import path
import codeql.rust.elements.internal.LocationImplDirect supertypes
Known direct subtypes
Predicates
| contains | Holds if this location contains location |
| endsAfter | Holds if this location ends after location |
| endsStrictlyAfter | Holds if this location ends strictly after location |
| fromSource | Holds if this location is from source code. |
| 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. |
| hasLocationFileInfo | Holds if this element is at the specified location. The location spans column |
| hasLocationInfo | Holds if this element is at the specified location. The location spans column |
| startsBefore | Holds if this location starts before location |
| startsStrictlyBefore | Holds if this location starts strictly before location |
| strictlyContains | Holds if this location strictlycontains location |
| toString | Gets a textual representation of this element. |