зеркало из https://github.com/github/codeql.git
JS: Downgrade ast_node_symbol relation
This commit is contained in:
Родитель
5dfa5fb877
Коммит
90c2b6e47f
|
@ -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
|
||||
compatibility: backwards
|
||||
|
||||
ast_node_symbol.rel: run ast_node_symbol.qlo
|
||||
|
|
Загрузка…
Ссылка в новой задаче