Class Locatable
A program element with a location.
Import path
import semmle.go.LocationsDirect supertypes
Known direct subtypes
Predicates
| getFile | Gets the file this program element comes from. |
| getLocation | Gets this element’s location. |
| getNumLines | Gets the number of lines covered by this element. |
| hasLocationInfo | Holds if this element is at the specified location. The location spans column |
| toString | Gets a textual representation of this element. |