Files
codeql/swift/ql/test/extractor-tests/generated/decl/IfConfigDecl/IfConfigDecl.ql
2025-06-25 12:02:13 +02:00

19 lines
623 B
Plaintext
Generated

// generated by codegen/codegen.py, do not edit
import codeql.swift.elements
import TestUtils
query predicate instances(IfConfigDecl x, string getModule__label, ModuleDecl getModule) {
toBeTested(x) and
not x.isUnknown() and
getModule__label = "getModule:" and
getModule = x.getModule()
}
query predicate getMember(IfConfigDecl x, int index, Decl getMember) {
toBeTested(x) and not x.isUnknown() and getMember = x.getMember(index)
}
query predicate getActiveElement(IfConfigDecl x, int index, AstNode getActiveElement) {
toBeTested(x) and not x.isUnknown() and getActiveElement = x.getActiveElement(index)
}