CodeQL library for Python
codeql/python-all 2.1.2-dev (changelog, source)
Search

Member predicate Node::getEnclosingCallable

Gets the enclosing callable of this node.

DataFlowCallable getEnclosingCallable()