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

Member predicate Parameter::getIndex

Gets the index of this parameter among all parameters of the function.

The receiver is considered to have index -1.

int getIndex()