mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
Will need subsequent PRs fixing up test failures (due to deprecated methods moving around), but other than that everything should be straight-forward.
14 lines
286 B
Plaintext
14 lines
286 B
Plaintext
/**
|
|
* @name Definitions
|
|
* @description Jump to definition helper query.
|
|
* @kind definitions
|
|
* @id py/jump-to-definition
|
|
*/
|
|
|
|
import python
|
|
import DefinitionTracking
|
|
|
|
from NiceLocationExpr use, Definition defn, string kind
|
|
where defn = definitionOf(use, kind)
|
|
select use, defn, kind
|