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

Member predicate FuncTypeExpr::getAParameterDecl

Gets a parameter declaration of this function type.

For example, for func(a int, b, c float32) (float32, bool) the result is a int or b, c float32.

ParameterDecl getAParameterDecl()