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

Member predicate DeclParent::getDecl

Gets the ith child declaration of this node.

Note that the precise indices of declarations are considered an implementation detail and are subject to change without notice.

Decl getDecl(int i)