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

Member predicate Expr::refersTo

NOTE: refersTo will be deprecated in 2019. Use pointsTo instead. Holds if this expression might “refer-to” to value which is from origin Unlike this.refersTo(value, _, origin), this predicate includes results where the class cannot be inferred.

predicate refersTo(Object obj, AstNode origin)