webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Namespaces | Enumerations | Functions
javanano_helpers.h File Reference
#include <string>
#include <google/protobuf/compiler/javanano/javanano_params.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/io/printer.h>

Go to the source code of this file.

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::javanano
 

Enumerations

enum  google::protobuf::compiler::javanano::JavaType {
  google::protobuf::compiler::javanano::JAVATYPE_INT, google::protobuf::compiler::javanano::JAVATYPE_LONG, google::protobuf::compiler::javanano::JAVATYPE_FLOAT, google::protobuf::compiler::javanano::JAVATYPE_DOUBLE,
  google::protobuf::compiler::javanano::JAVATYPE_BOOLEAN, google::protobuf::compiler::javanano::JAVATYPE_STRING, google::protobuf::compiler::javanano::JAVATYPE_BYTES, google::protobuf::compiler::javanano::JAVATYPE_ENUM,
  google::protobuf::compiler::javanano::JAVATYPE_MESSAGE
}
 

Functions

string google::protobuf::compiler::javanano::UnderscoresToCamelCase (const FieldDescriptor *field)
 
string google::protobuf::compiler::javanano::UnderscoresToCamelCase (const OneofDescriptor *oneof)
 
string google::protobuf::compiler::javanano::UnderscoresToCapitalizedCamelCase (const FieldDescriptor *field)
 
string google::protobuf::compiler::javanano::UnderscoresToCapitalizedCamelCase (const OneofDescriptor *oneof)
 
string google::protobuf::compiler::javanano::RenameJavaKeywords (const string &input)
 
string google::protobuf::compiler::javanano::UnderscoresToCamelCase (const MethodDescriptor *method)
 
string google::protobuf::compiler::javanano::StripProto (const string &filename)
 
string google::protobuf::compiler::javanano::FileClassName (const Params &params, const FileDescriptor *file)
 
string google::protobuf::compiler::javanano::FileJavaPackage (const Params &params, const FileDescriptor *file)
 
bool google::protobuf::compiler::javanano::IsOuterClassNeeded (const Params &params, const FileDescriptor *file)
 
string google::protobuf::compiler::javanano::ToJavaName (const Params &params, const string &name, bool is_class, const Descriptor *parent, const FileDescriptor *file)
 
string google::protobuf::compiler::javanano::ClassName (const Params &params, const Descriptor *descriptor)
 
string google::protobuf::compiler::javanano::ClassName (const Params &params, const EnumDescriptor *descriptor)
 
string google::protobuf::compiler::javanano::ClassName (const Params &params, const ServiceDescriptor *descriptor)
 
string google::protobuf::compiler::javanano::ExtensionIdentifierName (const Params &params, const FieldDescriptor *descriptor)
 
string google::protobuf::compiler::javanano::ClassName (const Params &params, const FileDescriptor *descriptor)
 
string google::protobuf::compiler::javanano::FieldConstantName (const FieldDescriptor *field)
 
string google::protobuf::compiler::javanano::FieldDefaultConstantName (const FieldDescriptor *field)
 
void google::protobuf::compiler::javanano::PrintFieldComment (io::Printer *printer, const FieldDescriptor *field)
 
JavaType google::protobuf::compiler::javanano::GetJavaType (FieldDescriptor::Type field_type)
 
JavaType google::protobuf::compiler::javanano::GetJavaType (const FieldDescriptor *field)
 
string google::protobuf::compiler::javanano::PrimitiveTypeName (JavaType type)
 
string google::protobuf::compiler::javanano::BoxedPrimitiveTypeName (JavaType type)
 
string google::protobuf::compiler::javanano::EmptyArrayName (const Params &params, const FieldDescriptor *field)
 
string google::protobuf::compiler::javanano::DefaultValue (const Params &params, const FieldDescriptor *field)
 
string google::protobuf::compiler::javanano::GetBitFieldName (int index)
 
string google::protobuf::compiler::javanano::GetBitFieldNameForBit (int bit_index)
 
string google::protobuf::compiler::javanano::GenerateGetBit (int bit_index)
 
string google::protobuf::compiler::javanano::GenerateSetBit (int bit_index)
 
string google::protobuf::compiler::javanano::GenerateClearBit (int bit_index)
 
string google::protobuf::compiler::javanano::GenerateDifferentBit (int bit_index)
 
void google::protobuf::compiler::javanano::SetBitOperationVariables (const string name, int bitIndex, map< string, string > *variables)
 
bool google::protobuf::compiler::javanano::IsMapEntry (const Descriptor *descriptor)
 
bool google::protobuf::compiler::javanano::HasMapField (const Descriptor *descriptor)