mirror of
https://github.com/github/codeql.git
synced 2026-02-23 18:33:42 +01:00
24 lines
681 B
Plaintext
Generated
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()
|
|
}
|