mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
14 lines
412 B
Plaintext
Generated
14 lines
412 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(TryExpr x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getAttr(TryExpr x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getExpr(TryExpr x, Expr getExpr) {
|
|
toBeTested(x) and not x.isUnknown() and getExpr = x.getExpr()
|
|
}
|