webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Classes | Enumerations | Functions
google::protobuf::compiler::objectivec Namespace Reference

Classes

class  EnumFieldGenerator
 
class  EnumGenerator
 
class  ExtensionGenerator
 
class  FieldGenerator
 
class  FieldGeneratorMap
 
class  FileGenerator
 
class  MapFieldGenerator
 
class  MessageFieldGenerator
 
class  MessageGenerator
 
class  ObjCObjFieldGenerator
 
class  ObjectiveCGenerator
 
class  OneofGenerator
 
struct  Options
 
class  PrimitiveFieldGenerator
 
class  PrimitiveObjFieldGenerator
 
class  RepeatedEnumFieldGenerator
 
class  RepeatedFieldGenerator
 
class  RepeatedMessageFieldGenerator
 
class  RepeatedPrimitiveFieldGenerator
 
class  SingleFieldGenerator
 
class  TextFormatDecodeData
 

Enumerations

enum  ObjectiveCType {
  OBJECTIVECTYPE_INT32, OBJECTIVECTYPE_UINT32, OBJECTIVECTYPE_INT64, OBJECTIVECTYPE_UINT64,
  OBJECTIVECTYPE_FLOAT, OBJECTIVECTYPE_DOUBLE, OBJECTIVECTYPE_BOOLEAN, OBJECTIVECTYPE_STRING,
  OBJECTIVECTYPE_DATA, OBJECTIVECTYPE_ENUM, OBJECTIVECTYPE_MESSAGE
}
 

Functions

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

Enumeration Type Documentation

◆ ObjectiveCType

Enumerator
OBJECTIVECTYPE_INT32 
OBJECTIVECTYPE_UINT32 
OBJECTIVECTYPE_INT64 
OBJECTIVECTYPE_UINT64 
OBJECTIVECTYPE_FLOAT 
OBJECTIVECTYPE_DOUBLE 
OBJECTIVECTYPE_BOOLEAN 
OBJECTIVECTYPE_STRING 
OBJECTIVECTYPE_DATA 
OBJECTIVECTYPE_ENUM 
OBJECTIVECTYPE_MESSAGE 

Function Documentation

◆ BaseFileName()

string google::protobuf::compiler::objectivec::BaseFileName ( const FileDescriptor file)

◆ BuildCommentsString()

string google::protobuf::compiler::objectivec::BuildCommentsString ( const SourceLocation location)

◆ BuildFlagsString()

string google::protobuf::compiler::objectivec::BuildFlagsString ( const vector< string > &  strings)

◆ ClassName()

string google::protobuf::compiler::objectivec::ClassName ( const Descriptor descriptor)

◆ ClassNameWorker() [1/2]

string google::protobuf::compiler::objectivec::ClassNameWorker ( const Descriptor descriptor)

◆ ClassNameWorker() [2/2]

string google::protobuf::compiler::objectivec::ClassNameWorker ( const EnumDescriptor descriptor)

◆ DefaultValue()

string google::protobuf::compiler::objectivec::DefaultValue ( const FieldDescriptor field)

◆ EnumName()

string google::protobuf::compiler::objectivec::EnumName ( const EnumDescriptor descriptor)

◆ EnumValueName()

string google::protobuf::compiler::objectivec::EnumValueName ( const EnumValueDescriptor descriptor)

◆ EnumValueShortName()

string google::protobuf::compiler::objectivec::EnumValueShortName ( const EnumValueDescriptor descriptor)

◆ EscapeTrigraphs()

string google::protobuf::compiler::objectivec::EscapeTrigraphs ( const string to_escape)

◆ ExtensionMethodName()

string google::protobuf::compiler::objectivec::ExtensionMethodName ( const FieldDescriptor descriptor)

◆ FieldName()

string google::protobuf::compiler::objectivec::FieldName ( const FieldDescriptor field)

◆ FieldNameCapitalized()

string google::protobuf::compiler::objectivec::FieldNameCapitalized ( const FieldDescriptor field)

◆ FileClassName()

string google::protobuf::compiler::objectivec::FileClassName ( const FileDescriptor file)

◆ FileClassPrefix()

string google::protobuf::compiler::objectivec::FileClassPrefix ( const FileDescriptor file)

◆ FileName()

string google::protobuf::compiler::objectivec::FileName ( const FileDescriptor file)

◆ FilePath()

string google::protobuf::compiler::objectivec::FilePath ( const FileDescriptor file)

◆ GetCapitalizedType()

string google::protobuf::compiler::objectivec::GetCapitalizedType ( const FieldDescriptor field)

◆ GetObjectiveCType() [1/2]

ObjectiveCType google::protobuf::compiler::objectivec::GetObjectiveCType ( const FieldDescriptor field)
inline

◆ GetObjectiveCType() [2/2]

ObjectiveCType google::protobuf::compiler::objectivec::GetObjectiveCType ( FieldDescriptor::Type  field_type)

◆ GetOptionalDeprecatedAttribute()

template<class TDescriptor >
string google::protobuf::compiler::objectivec::GetOptionalDeprecatedAttribute ( const TDescriptor *  descriptor,
bool  preSpace = true,
bool  postNewline = false 
)

◆ GPBGenericValueFieldName()

string google::protobuf::compiler::objectivec::GPBGenericValueFieldName ( const FieldDescriptor field)

◆ HasFieldPresence()

bool google::protobuf::compiler::objectivec::HasFieldPresence ( const FileDescriptor file)
inline

◆ HasNonZeroDefaultValue()

bool google::protobuf::compiler::objectivec::HasNonZeroDefaultValue ( const FieldDescriptor field)

◆ HasPreservingUnknownEnumSemantics()

bool google::protobuf::compiler::objectivec::HasPreservingUnknownEnumSemantics ( const FileDescriptor file)
inline

◆ IsInitName()

bool google::protobuf::compiler::objectivec::IsInitName ( const string name)

◆ IsMapEntryMessage()

bool google::protobuf::compiler::objectivec::IsMapEntryMessage ( const Descriptor descriptor)
inline

◆ IsPrimitiveType()

bool google::protobuf::compiler::objectivec::IsPrimitiveType ( const FieldDescriptor field)

◆ IsReferenceType()

bool google::protobuf::compiler::objectivec::IsReferenceType ( const FieldDescriptor field)

◆ IsRetainedName()

bool google::protobuf::compiler::objectivec::IsRetainedName ( const string name)

◆ OneofEnumName()

string google::protobuf::compiler::objectivec::OneofEnumName ( const OneofDescriptor descriptor)

◆ OneofName()

string google::protobuf::compiler::objectivec::OneofName ( const OneofDescriptor descriptor)

◆ OneofNameCapitalized()

string google::protobuf::compiler::objectivec::OneofNameCapitalized ( const OneofDescriptor descriptor)

◆ StripProto()

string google::protobuf::compiler::objectivec::StripProto ( const string filename)

◆ UnCamelCaseEnumShortName()

string google::protobuf::compiler::objectivec::UnCamelCaseEnumShortName ( const string name)

◆ UnCamelCaseFieldName()

string google::protobuf::compiler::objectivec::UnCamelCaseFieldName ( const string name,
const FieldDescriptor field 
)

◆ ValidateObjCClassPrefix()

bool google::protobuf::compiler::objectivec::ValidateObjCClassPrefix ( const FileDescriptor file,
const Options generation_options,
string out_error 
)