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

Member predicate Decl::getKind

Gets the kind of this declaration, which is an integer value representing the declaration’s node type.

Note that the mapping from node types to integer kinds is considered an implementation detail and subject to change without notice.

int getKind()