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

Member predicate Entity::getScope

Gets the scope in which this entity is declared, if any.

Entities corresponding to fields and methods do not have a scope.

Scope getScope()