mirror of
https://github.com/github/codeql.git
synced 2025-12-21 19:26:31 +01:00
With this change, users are now able to run View AST command in vscode within vscode workspaces that do not include the core libraries. The relevant core library only needs to be installed in the package cache.
14 lines
338 B
Plaintext
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
|