mirror of
https://github.com/github/codeql.git
synced 2025-12-25 05:06:34 +01:00
14 lines
295 B
Plaintext
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
|