mirror of
https://github.com/github/codeql.git
synced 2026-04-29 10:45:15 +02:00
Merge pull request #9862 from github/adityasharad/codeql-cli-2.10.1-mergeback
Merge codeql-cli-2.10.1 into main
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