We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents df4fb23 + e82c21d commit a2115f4Copy full SHA for a2115f4
ql/src/ide-contextual-queries/printAst.ql
@@ -21,6 +21,7 @@ external string selectedSourceFile();
21
*/
22
class Cfg extends PrintAstConfiguration {
23
override predicate shouldPrintNode(AstNode n) {
24
+ super.shouldPrintNode(n) and
25
n.getLocation().getFile() = getFileBySourceArchiveName(selectedSourceFile())
26
}
27
0 commit comments