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