mirror of
https://github.com/github/codeql.git
synced 2025-12-22 19:56:32 +01:00
16 lines
331 B
Plaintext
16 lines
331 B
Plaintext
/**
|
|
* @name Jump-to-definition links
|
|
* @description Generates use-definition pairs that provide the data
|
|
* for jump-to-definition in the code viewer.
|
|
* @kind definitions
|
|
* @id go/jump-to-definition
|
|
*/
|
|
|
|
import go
|
|
|
|
from Ident def, Ident use, Entity e
|
|
where
|
|
use.uses(e) and
|
|
def.declares(e)
|
|
select use, def, "V"
|