mirror of
https://github.com/github/codeql.git
synced 2026-04-19 05:54:00 +02:00
17 lines
359 B
Plaintext
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
|
|
}
|
|
}
|