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

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()
}