Class Location::SourceLocation

A location in source code, comprising of a source file and a segment of text within the file.

Direct supertypes

Indirect supertypes

Predicates

getFile

Gets the file of the location.

hasLocationInfo

Holds if this element is at the specified location. The location spans column startcolumn of line startline to column endcolumn of line endline in file filepath. For more information, see LGTM locations.

toString

Gets a textual representation of this location.

Inherited predicates

getEndColumn

Gets the end column of this location.

from Location
getEndLine

Gets the end line of this location.

from Location
getStartColumn

Gets the start column of this location.

from Location
getStartLine

Gets the start line of this location.

from Location