mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
JS: Downgrade ast_node_symbol relation
This commit is contained in:
@@ -0,0 +1,11 @@
|
|||||||
|
class AstNodeWithSymbol extends @ast_node_with_symbol {
|
||||||
|
string toString() { none() }
|
||||||
|
}
|
||||||
|
|
||||||
|
class Symbol extends @symbol {
|
||||||
|
string toString() { none() }
|
||||||
|
}
|
||||||
|
|
||||||
|
from AstNodeWithSymbol node, Symbol symbol
|
||||||
|
where ast_node_symbol(node, symbol) and not node instanceof @external_module_declaration
|
||||||
|
select node, symbol
|
||||||
@@ -1,2 +1,4 @@
|
|||||||
description: Associate symbols with external module declarations
|
description: Associate symbols with external module declarations
|
||||||
compatibility: backwards
|
compatibility: backwards
|
||||||
|
|
||||||
|
ast_node_symbol.rel: run ast_node_symbol.qlo
|
||||||
|
|||||||
Reference in New Issue
Block a user