Files
codeql/swift/ql/test/library-tests/ast/PrintAst.ql
2022-12-08 17:31:48 +01:00

17 lines
359 B
Plaintext

/**
* @kind graph
*/
import swift
import codeql.swift.printast.PrintAst
import TestUtils
/**
* The hook to customize the entities printed by this query.
*/
class PrintAstConfigurationOverride extends PrintAstConfiguration {
override predicate shouldPrint(Locatable e) {
super.shouldPrint(e) and toBeTested(e) and not e instanceof ModuleDecl
}
}