mirror of
https://github.com/github/codeql.git
synced 2026-04-14 11:34:00 +02:00
22 lines
651 B
Plaintext
Generated
22 lines
651 B
Plaintext
Generated
// generated by codegen/codegen.py, do not edit
|
|
import codeql.swift.elements
|
|
import TestUtils
|
|
|
|
query predicate instances(
|
|
AppliedPropertyWrapperExpr x, string getKind__label, int getKind, string getValue__label,
|
|
Expr getValue, string getParam__label, ParamDecl getParam
|
|
) {
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getKind__label = "getKind:" and
|
|
getKind = x.getKind() and
|
|
getValue__label = "getValue:" and
|
|
getValue = x.getValue() and
|
|
getParam__label = "getParam:" and
|
|
getParam = x.getParam()
|
|
}
|
|
|
|
query predicate getType(AppliedPropertyWrapperExpr x, Type getType) {
|
|
toBeTested(x) and not x.isUnknown() and getType = x.getType()
|
|
}
|