Files
codeql/rust/ql/test/extractor-tests/generated/Path/PathExpr.ql
Geoffrey White 152ae1d29b Rust: Codegen.
2025-08-27 10:42:42 +01:00

14 lines
415 B
Plaintext
Generated

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