mirror of
https://github.com/github/codeql.git
synced 2025-12-18 01:33:15 +01:00
18 lines
585 B
Plaintext
Generated
18 lines
585 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(FieldExpr x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getAttr(FieldExpr x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getContainer(FieldExpr x, Expr getContainer) {
|
|
toBeTested(x) and not x.isUnknown() and getContainer = x.getContainer()
|
|
}
|
|
|
|
query predicate getIdentifier(FieldExpr x, NameRef getIdentifier) {
|
|
toBeTested(x) and not x.isUnknown() and getIdentifier = x.getIdentifier()
|
|
}
|