webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Namespaces | Enumerations | Functions
objectivec_helpers.h File Reference
#include <string>
#include <vector>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor.pb.h>

Go to the source code of this file.

Classes

struct  google::protobuf::compiler::objectivec::Options
 
class  google::protobuf::compiler::objectivec::TextFormatDecodeData
 

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::objectivec
 

Enumerations

enum  google::protobuf::compiler::objectivec::ObjectiveCType {
  google::protobuf::compiler::objectivec::OBJECTIVECTYPE_INT32, google::protobuf::compiler::objectivec::OBJECTIVECTYPE_UINT32, google::protobuf::compiler::objectivec::OBJECTIVECTYPE_INT64, google::protobuf::compiler::objectivec::OBJECTIVECTYPE_UINT64,
  google::protobuf::compiler::objectivec::OBJECTIVECTYPE_FLOAT, google::protobuf::compiler::objectivec::OBJECTIVECTYPE_DOUBLE, google::protobuf::compiler::objectivec::OBJECTIVECTYPE_BOOLEAN, google::protobuf::compiler::objectivec::OBJECTIVECTYPE_STRING,
  google::protobuf::compiler::objectivec::OBJECTIVECTYPE_DATA, google::protobuf::compiler::objectivec::OBJECTIVECTYPE_ENUM, google::protobuf::compiler::objectivec::OBJECTIVECTYPE_MESSAGE
}
 

Functions

string google::protobuf::compiler::objectivec::EscapeTrigraphs (const string &to_escape)
 
string google::protobuf::compiler::objectivec::StripProto (const string &filename)
 
bool google::protobuf::compiler::objectivec::IsRetainedName (const string &name)
 
bool google::protobuf::compiler::objectivec::IsInitName (const string &name)
 
string google::protobuf::compiler::objectivec::FileName (const FileDescriptor *file)
 
string google::protobuf::compiler::objectivec::FilePath (const FileDescriptor *file)
 
string google::protobuf::compiler::objectivec::FileClassName (const FileDescriptor *file)
 
string google::protobuf::compiler::objectivec::ClassName (const Descriptor *descriptor)
 
string google::protobuf::compiler::objectivec::EnumName (const EnumDescriptor *descriptor)
 
string google::protobuf::compiler::objectivec::EnumValueName (const EnumValueDescriptor *descriptor)
 
string google::protobuf::compiler::objectivec::EnumValueShortName (const EnumValueDescriptor *descriptor)
 
string google::protobuf::compiler::objectivec::UnCamelCaseEnumShortName (const string &name)
 
string google::protobuf::compiler::objectivec::ExtensionMethodName (const FieldDescriptor *descriptor)
 
string google::protobuf::compiler::objectivec::FieldName (const FieldDescriptor *field)
 
string google::protobuf::compiler::objectivec::FieldNameCapitalized (const FieldDescriptor *field)
 
string google::protobuf::compiler::objectivec::OneofEnumName (const OneofDescriptor *descriptor)
 
string google::protobuf::compiler::objectivec::OneofName (const OneofDescriptor *descriptor)
 
string google::protobuf::compiler::objectivec::OneofNameCapitalized (const OneofDescriptor *descriptor)
 
bool google::protobuf::compiler::objectivec::HasFieldPresence (const FileDescriptor *file)
 
bool google::protobuf::compiler::objectivec::HasPreservingUnknownEnumSemantics (const FileDescriptor *file)
 
bool google::protobuf::compiler::objectivec::IsMapEntryMessage (const Descriptor *descriptor)
 
string google::protobuf::compiler::objectivec::UnCamelCaseFieldName (const string &name, const FieldDescriptor *field)
 
template<class TDescriptor >
string google::protobuf::compiler::objectivec::GetOptionalDeprecatedAttribute (const TDescriptor *descriptor, bool preSpace=true, bool postNewline=false)
 
string google::protobuf::compiler::objectivec::GetCapitalizedType (const FieldDescriptor *field)
 
ObjectiveCType google::protobuf::compiler::objectivec::GetObjectiveCType (FieldDescriptor::Type field_type)
 
ObjectiveCType google::protobuf::compiler::objectivec::GetObjectiveCType (const FieldDescriptor *field)
 
bool google::protobuf::compiler::objectivec::IsPrimitiveType (const FieldDescriptor *field)
 
bool google::protobuf::compiler::objectivec::IsReferenceType (const FieldDescriptor *field)
 
string google::protobuf::compiler::objectivec::GPBGenericValueFieldName (const FieldDescriptor *field)
 
string google::protobuf::compiler::objectivec::DefaultValue (const FieldDescriptor *field)
 
bool google::protobuf::compiler::objectivec::HasNonZeroDefaultValue (const FieldDescriptor *field)
 
string google::protobuf::compiler::objectivec::BuildFlagsString (const vector< string > &strings)
 
string google::protobuf::compiler::objectivec::BuildCommentsString (const SourceLocation &location)
 
bool google::protobuf::compiler::objectivec::ValidateObjCClassPrefix (const FileDescriptor *file, const Options &generation_options, string *out_error)