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

Member predicate AccessPath::AccessPathToken::getNumArgument

Gets the number of arguments to this token, such as 2 for Member[x,y] or zero for ReturnValue.

int getNumArgument()