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

Member predicate AstNode::containsInScope

Whether this contains inner syntactically and inner has the same scope as this

predicate containsInScope(AstNode inner)