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

Member predicate FunctionScope::getEnclosingFunctionScope

Gets the function scope in which this scope is nested.

For function scopes, this is the scope itself.

FunctionScope getEnclosingFunctionScope()