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

Member predicate AccessPath::AccessPathToken::getAnArgument

Gets an argument to this name token, such as x or y from Member[x,y].

string getAnArgument(string name)