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

Predicate FindModel::pathToScope

Holds if (type,path) identifies scope.

Import path

import modeling.Util
predicate pathToScope(RelevantScope scope, string type, string path)