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

14 lines
418 B
Plaintext
Generated

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