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

18 lines
558 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
query predicate instances(BreakExpr x) { toBeTested(x) and not x.isUnknown() }
query predicate getAttr(BreakExpr x, int index, Attr getAttr) {
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
}
query predicate getExpr(BreakExpr x, Expr getExpr) {
toBeTested(x) and not x.isUnknown() and getExpr = x.getExpr()
}
query predicate getLifetime(BreakExpr x, Lifetime getLifetime) {
toBeTested(x) and not x.isUnknown() and getLifetime = x.getLifetime()
}