QL: Merge remote-tracking branch 'origin/main' into ast

This commit is contained in:
Erik Krogh Kristensen
2021-05-26 15:02:23 +00:00
committed by GitHub

View File

@@ -18,7 +18,10 @@ class PrintAstConfiguration extends string {
/**
* Holds if the given node should be printed.
*/
predicate shouldPrintNode(AstNode n) { not n instanceof LineComment }
predicate shouldPrintNode(AstNode n) {
not n instanceof LineComment and
not n instanceof ReservedWord
}
}
/**