Files
codeql/rust/ql/test/extractor-tests/generated/WherePred/WherePred.ql
2025-06-25 12:02:13 +02:00

22 lines
787 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
query predicate instances(WherePred x) { toBeTested(x) and not x.isUnknown() }
query predicate getGenericParamList(WherePred x, GenericParamList getGenericParamList) {
toBeTested(x) and not x.isUnknown() and getGenericParamList = x.getGenericParamList()
}
query predicate getLifetime(WherePred x, Lifetime getLifetime) {
toBeTested(x) and not x.isUnknown() and getLifetime = x.getLifetime()
}
query predicate getTypeRepr(WherePred x, TypeRepr getTypeRepr) {
toBeTested(x) and not x.isUnknown() and getTypeRepr = x.getTypeRepr()
}
query predicate getTypeBoundList(WherePred x, TypeBoundList getTypeBoundList) {
toBeTested(x) and not x.isUnknown() and getTypeBoundList = x.getTypeBoundList()
}