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