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

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()
}