mirror of
https://github.com/github/codeql.git
synced 2025-12-17 01:03:14 +01:00
22 lines
689 B
Plaintext
Generated
22 lines
689 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(BinaryExpr x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getAttr(BinaryExpr x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getLhs(BinaryExpr x, Expr getLhs) {
|
|
toBeTested(x) and not x.isUnknown() and getLhs = x.getLhs()
|
|
}
|
|
|
|
query predicate getOperatorName(BinaryExpr x, string getOperatorName) {
|
|
toBeTested(x) and not x.isUnknown() and getOperatorName = x.getOperatorName()
|
|
}
|
|
|
|
query predicate getRhs(BinaryExpr x, Expr getRhs) {
|
|
toBeTested(x) and not x.isUnknown() and getRhs = x.getRhs()
|
|
}
|