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

Predicate definitionOf

Gets the definition (of kind kind) for the expression use, if one can be found.

Import path

import analysis.DefinitionTracking
Definition definitionOf(NiceLocationExpr use, string kind)