mirror of
https://github.com/github/codeql.git
synced 2025-12-17 17:23:36 +01:00
22 lines
808 B
Plaintext
Generated
22 lines
808 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(StructPat x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getResolvedPath(StructPat x, string getResolvedPath) {
|
|
toBeTested(x) and not x.isUnknown() and getResolvedPath = x.getResolvedPath()
|
|
}
|
|
|
|
query predicate getResolvedCrateOrigin(StructPat x, string getResolvedCrateOrigin) {
|
|
toBeTested(x) and not x.isUnknown() and getResolvedCrateOrigin = x.getResolvedCrateOrigin()
|
|
}
|
|
|
|
query predicate getPath(StructPat x, Path getPath) {
|
|
toBeTested(x) and not x.isUnknown() and getPath = x.getPath()
|
|
}
|
|
|
|
query predicate getStructPatFieldList(StructPat x, StructPatFieldList getStructPatFieldList) {
|
|
toBeTested(x) and not x.isUnknown() and getStructPatFieldList = x.getStructPatFieldList()
|
|
}
|