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

Predicate getADefinition

Gets a definition for ‘use’. This exists primarily for testing use getPreferredDefinition() instead.

Import path

import analysis.DefinitionTracking
Definition getADefinition(Expr use)