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

Member predicate SelectorExpr::declares

Holds if this selector is a definition of e

predicate declares(Entity e)