Lines Matching refs:Property

202 struct Property {  struct
213 typedef std::vector<Property> PropertiesSeq;
216 LLVM_YAML_IS_SEQUENCE_VECTOR(Property)
220 template <> struct MappingTraits<Property> {
221 static void mapping(IO &IO, Property &P) { in mapping()
825 for (const auto &Property : C.Properties) { in convertContext() local
827 if ((!Property.Kind || *Property.Kind == MethodKind::Instance) && in convertContext()
828 !KnownInstanceProperties.insert(Property.Name).second) { in convertContext()
830 C.Name + "." + Property.Name + "'"); in convertContext()
834 if ((!Property.Kind || *Property.Kind == MethodKind::Class) && in convertContext()
835 !KnownClassProperties.insert(Property.Name).second) { in convertContext()
837 C.Name + "." + Property.Name + "'"); in convertContext()
843 convertAvailability(Property.Availability, PI, Property.Name); in convertContext()
844 PI.setSwiftPrivate(Property.SwiftPrivate); in convertContext()
845 PI.SwiftName = std::string(Property.SwiftName); in convertContext()
846 if (Property.Nullability) in convertContext()
847 PI.setNullabilityAudited(*Property.Nullability); in convertContext()
848 if (Property.SwiftImportAsAccessors) in convertContext()
849 PI.setSwiftImportAsAccessors(*Property.SwiftImportAsAccessors); in convertContext()
850 PI.setType(std::string(Property.Type)); in convertContext()
853 if (Property.Kind) { in convertContext()
854 Writer.addObjCProperty(CtxID, Property.Name, in convertContext()
855 *Property.Kind == MethodKind::Instance, PI, in convertContext()
858 Writer.addObjCProperty(CtxID, Property.Name, true, PI, SwiftVersion); in convertContext()
859 Writer.addObjCProperty(CtxID, Property.Name, false, PI, SwiftVersion); in convertContext()