Files
codeql/rust/ql/test/extractor-tests/generated/CallExpr/CallExpr.ql
2025-12-01 20:59:28 +01:00

18 lines
565 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 getFunction(CallExpr x, Expr getFunction) {
toBeTested(x) and not x.isUnknown() and getFunction = x.getFunction()
}