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

Member predicate SelectorExpr::declares

Holds if this selector is a definition of e

predicate declares(Entity e)