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

Member predicate PrintAstNode::getEnclosingFunction

Gets the FuncDef that contains this node.

FuncDef getEnclosingFunction()