mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
22 lines
658 B
Plaintext
Generated
22 lines
658 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(MatchArm x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getAttr(MatchArm x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getExpr(MatchArm x, Expr getExpr) {
|
|
toBeTested(x) and not x.isUnknown() and getExpr = x.getExpr()
|
|
}
|
|
|
|
query predicate getGuard(MatchArm x, MatchGuard getGuard) {
|
|
toBeTested(x) and not x.isUnknown() and getGuard = x.getGuard()
|
|
}
|
|
|
|
query predicate getPat(MatchArm x, Pat getPat) {
|
|
toBeTested(x) and not x.isUnknown() and getPat = x.getPat()
|
|
}
|