mirror of
https://github.com/github/codeql.git
synced 2026-04-30 11:15:13 +02:00
Move definitions.ql back to src
This commit is contained in:
13
javascript/ql/src/definitions.ql
Normal file
13
javascript/ql/src/definitions.ql
Normal file
@@ -0,0 +1,13 @@
|
||||
/**
|
||||
* @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
|
||||
Reference in New Issue
Block a user