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

Member predicate AccessPath::AccessPathToken::getName

Gets the name of the token, such as Member from Member[x]

string getName()