mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
22 lines
749 B
Plaintext
Generated
22 lines
749 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 getResolvedPath(PathExpr x, string getResolvedPath) {
|
|
toBeTested(x) and not x.isUnknown() and getResolvedPath = x.getResolvedPath()
|
|
}
|
|
|
|
query predicate getResolvedCrateOrigin(PathExpr x, string getResolvedCrateOrigin) {
|
|
toBeTested(x) and not x.isUnknown() and getResolvedCrateOrigin = x.getResolvedCrateOrigin()
|
|
}
|
|
|
|
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)
|
|
}
|