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