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

Member predicate SelectorExpr::refersTo

Holds if this selector refers to (that is, uses, defines or declares) e.

predicate refersTo(Entity e)