mirror of
https://github.com/github/codeql.git
synced 2026-05-03 12:45:27 +02:00
57 lines
2.5 KiB
Plaintext
Generated
57 lines
2.5 KiB
Plaintext
Generated
// generated by codegen/codegen.py, do not edit
|
|
import codeql.swift.elements
|
|
import TestUtils
|
|
|
|
from
|
|
ConcreteVarDecl x, ModuleDecl getModule, int getNumberOfMembers, Type getInterfaceType,
|
|
int getNumberOfAccessors, string getName, Type getType, string hasAttachedPropertyWrapperType,
|
|
string hasParentPattern, string hasParentInitializer, string hasPropertyWrapperBackingVarBinding,
|
|
string hasPropertyWrapperBackingVar, string hasPropertyWrapperProjectionVarBinding,
|
|
string hasPropertyWrapperProjectionVar, int getIntroducerInt
|
|
where
|
|
toBeTested(x) and
|
|
not x.isUnknown() and
|
|
getModule = x.getModule() and
|
|
getNumberOfMembers = x.getNumberOfMembers() and
|
|
getInterfaceType = x.getInterfaceType() and
|
|
getNumberOfAccessors = x.getNumberOfAccessors() and
|
|
getName = x.getName() and
|
|
getType = x.getType() and
|
|
(
|
|
if x.hasAttachedPropertyWrapperType()
|
|
then hasAttachedPropertyWrapperType = "yes"
|
|
else hasAttachedPropertyWrapperType = "no"
|
|
) and
|
|
(if x.hasParentPattern() then hasParentPattern = "yes" else hasParentPattern = "no") and
|
|
(if x.hasParentInitializer() then hasParentInitializer = "yes" else hasParentInitializer = "no") and
|
|
(
|
|
if x.hasPropertyWrapperBackingVarBinding()
|
|
then hasPropertyWrapperBackingVarBinding = "yes"
|
|
else hasPropertyWrapperBackingVarBinding = "no"
|
|
) and
|
|
(
|
|
if x.hasPropertyWrapperBackingVar()
|
|
then hasPropertyWrapperBackingVar = "yes"
|
|
else hasPropertyWrapperBackingVar = "no"
|
|
) and
|
|
(
|
|
if x.hasPropertyWrapperProjectionVarBinding()
|
|
then hasPropertyWrapperProjectionVarBinding = "yes"
|
|
else hasPropertyWrapperProjectionVarBinding = "no"
|
|
) and
|
|
(
|
|
if x.hasPropertyWrapperProjectionVar()
|
|
then hasPropertyWrapperProjectionVar = "yes"
|
|
else hasPropertyWrapperProjectionVar = "no"
|
|
) and
|
|
getIntroducerInt = x.getIntroducerInt()
|
|
select x, "getModule:", getModule, "getNumberOfMembers:", getNumberOfMembers, "getInterfaceType:",
|
|
getInterfaceType, "getNumberOfAccessors:", getNumberOfAccessors, "getName:", getName, "getType:",
|
|
getType, "hasAttachedPropertyWrapperType:", hasAttachedPropertyWrapperType, "hasParentPattern:",
|
|
hasParentPattern, "hasParentInitializer:", hasParentInitializer,
|
|
"hasPropertyWrapperBackingVarBinding:", hasPropertyWrapperBackingVarBinding,
|
|
"hasPropertyWrapperBackingVar:", hasPropertyWrapperBackingVar,
|
|
"hasPropertyWrapperProjectionVarBinding:", hasPropertyWrapperProjectionVarBinding,
|
|
"hasPropertyWrapperProjectionVar:", hasPropertyWrapperProjectionVar, "getIntroducerInt:",
|
|
getIntroducerInt
|