CodeQL library for Python
Search

Member predicate AstNode::containsInScope

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

predicate containsInScope(AstNode inner)