Files
codeql/javascript/ql/src/definitions.ql
2022-07-15 11:48:15 -07:00

14 lines
338 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 js/jump-to-definition
*/
import definitions
from Locatable e, AstNode def, string kind
where def = definitionOf(e, kind)
select e, def, kind