Files
codeql/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr.ql
2025-06-25 12:02:13 +02:00

22 lines
696 B
Plaintext
Generated

// generated by codegen, do not edit
import codeql.rust.elements
import TestUtils
query predicate instances(CallExpr x) { toBeTested(x) and not x.isUnknown() }
query predicate getArgList(CallExpr x, ArgList getArgList) {
toBeTested(x) and not x.isUnknown() and getArgList = x.getArgList()
}
query predicate getAttr(CallExpr x, int index, Attr getAttr) {
toBeTested(x) and not x.isUnknown() and getAttr = x.getAttr(index)
}
query predicate getArg(CallExpr x, int index, Expr getArg) {
toBeTested(x) and not x.isUnknown() and getArg = x.getArg(index)
}
query predicate getFunction(CallExpr x, Expr getFunction) {
toBeTested(x) and not x.isUnknown() and getFunction = x.getFunction()
}