mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
26 lines
824 B
Plaintext
Generated
26 lines
824 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(LetStmt x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getAttr(LetStmt x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getInitializer(LetStmt x, Expr getInitializer) {
|
|
toBeTested(x) and not x.isUnknown() and getInitializer = x.getInitializer()
|
|
}
|
|
|
|
query predicate getLetElse(LetStmt x, LetElse getLetElse) {
|
|
toBeTested(x) and not x.isUnknown() and getLetElse = x.getLetElse()
|
|
}
|
|
|
|
query predicate getPat(LetStmt x, Pat getPat) {
|
|
toBeTested(x) and not x.isUnknown() and getPat = x.getPat()
|
|
}
|
|
|
|
query predicate getTypeRepr(LetStmt x, TypeRepr getTypeRepr) {
|
|
toBeTested(x) and not x.isUnknown() and getTypeRepr = x.getTypeRepr()
|
|
}
|