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