Files
codeql/swift/ql/test/extractor-tests/generated/expr/MethodLookupExpr/MethodLookupExpr.ql
2025-06-25 12:02:13 +02:00

24 lines
681 B
Plaintext
Generated

// generated by codegen/codegen.py, do not edit
import codeql.swift.elements
import TestUtils
query predicate instances(
MethodLookupExpr x, string getBase__label, Expr getBase, string getMethodRef__label,
Expr getMethodRef
) {
toBeTested(x) and
not x.isUnknown() and
getBase__label = "getBase:" and
getBase = x.getBase() and
getMethodRef__label = "getMethodRef:" and
getMethodRef = x.getMethodRef()
}
query predicate getType(MethodLookupExpr x, Type getType) {
toBeTested(x) and not x.isUnknown() and getType = x.getType()
}
query predicate getMember(MethodLookupExpr x, Decl getMember) {
toBeTested(x) and not x.isUnknown() and getMember = x.getMember()
}