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

Predicate getUniqueDefinition

Gets the unique definition for ‘use’, if one can be found. Helper for the jump-to-definition query.

Import path

import analysis.DefinitionTracking
Definition getUniqueDefinition(Expr use)