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

Member predicate SelectorExpr::declares

Holds if this selector is a definition of e

predicate declares(Entity e)