CodeQL library for Python
codeql/python-all 3.0.1-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)