Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 20c3182 + 90c2b6e commit 298f4abCopy full SHA for 298f4ab
2 files changed
javascript/downgrades/c0664d5721c90dd32a5b167efea24f9cc6f57cfb/ast_node_symbol.ql
@@ -0,0 +1,11 @@
1
+class AstNodeWithSymbol extends @ast_node_with_symbol {
2
+ string toString() { none() }
3
+}
4
+
5
+class Symbol extends @symbol {
6
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
javascript/downgrades/c0664d5721c90dd32a5b167efea24f9cc6f57cfb/upgrade.properties
@@ -1,2 +1,4 @@
description: Associate symbols with external module declarations
compatibility: backwards
+ast_node_symbol.rel: run ast_node_symbol.qlo
0 commit comments