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

18 lines
560 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
query predicate instances(LoopExpr x) { toBeTested(x) and not x.isUnknown() }
query predicate getLabel(LoopExpr x, Label getLabel) {
toBeTested(x) and not x.isUnknown() and getLabel = x.getLabel()
}
query predicate getLoopBody(LoopExpr x, BlockExpr getLoopBody) {
toBeTested(x) and not x.isUnknown() and getLoopBody = x.getLoopBody()
}
query predicate getAttr(LoopExpr x, int index, Attr getAttr) {
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
}