Files
codeql/python/ql/src/analysis/Definitions.ql
2022-06-29 10:22:45 -07:00

14 lines
295 B
Plaintext

/**
* @name Definitions
* @description Jump to definition helper query.
* @kind definitions
* @id py/jump-to-definition
*/
import python
import analysis.DefinitionTracking
from NiceLocationExpr use, Definition defn, string kind
where defn = definitionOf(use, kind)
select use, defn, kind