mirror of
https://github.com/github/codeql.git
synced 2025-12-16 16:53:25 +01:00
26 lines
916 B
Plaintext
Generated
26 lines
916 B
Plaintext
Generated
// generated by codegen, do not edit
|
|
import codeql.rust.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(MethodCallExpr x) { toBeTested(x) and not x.isUnknown() }
|
|
|
|
query predicate getArgList(MethodCallExpr x, ArgList getArgList) {
|
|
toBeTested(x) and not x.isUnknown() and getArgList = x.getArgList()
|
|
}
|
|
|
|
query predicate getAttr(MethodCallExpr x, int index, Attr getAttr) {
|
|
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
|
|
}
|
|
|
|
query predicate getGenericArgList(MethodCallExpr x, GenericArgList getGenericArgList) {
|
|
toBeTested(x) and not x.isUnknown() and getGenericArgList = x.getGenericArgList()
|
|
}
|
|
|
|
query predicate getIdentifier(MethodCallExpr x, NameRef getIdentifier) {
|
|
toBeTested(x) and not x.isUnknown() and getIdentifier = x.getIdentifier()
|
|
}
|
|
|
|
query predicate getReceiver(MethodCallExpr x, Expr getReceiver) {
|
|
toBeTested(x) and not x.isUnknown() and getReceiver = x.getReceiver()
|
|
}
|