CodeQL library for Go
codeql/go-all 3.0.1-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()