CodeQL library for Go
codeql/go-all 2.1.3 (changelog, source)
Search

Member predicate FieldContent::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 Locations.

predicate hasLocationInfo(string path, int sl, int sc, int el, int ec)