Skip to content

Commit 298f4ab

Browse files
authored
Merge pull request #9679 from asgerf/js/fix-downgrade-script
JS: Downgrade ast_node_symbol relation
2 parents 20c3182 + 90c2b6e commit 298f4ab

File tree

2 files changed

+13
-0
lines changed

2 files changed

+13
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
class AstNodeWithSymbol extends @ast_node_with_symbol {
2+
string toString() { none() }
3+
}
4+
5+
class Symbol extends @symbol {
6+
string toString() { none() }
7+
}
8+
9+
from AstNodeWithSymbol node, Symbol symbol
10+
where ast_node_symbol(node, symbol) and not node instanceof @external_module_declaration
11+
select node, symbol
Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,4 @@
11
description: Associate symbols with external module declarations
22
compatibility: backwards
3+
4+
ast_node_symbol.rel: run ast_node_symbol.qlo

0 commit comments

Comments
 (0)