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