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