webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Namespaces | Functions
ruby_generator.cc File Reference
#include <sstream>
#include <google/protobuf/compiler/code_generator.h>
#include <google/protobuf/compiler/plugin.h>
#include <google/protobuf/descriptor.h>
#include <google/protobuf/descriptor.pb.h>
#include <google/protobuf/io/printer.h>
#include <google/protobuf/io/zero_copy_stream.h>
#include <google/protobuf/compiler/ruby/ruby_generator.h>

Namespaces

 google
 
 google::protobuf
 
 google::protobuf::compiler
 
 google::protobuf::compiler::ruby
 

Functions

std::string google::protobuf::compiler::ruby::IntToString (int32 value)
 
std::string google::protobuf::compiler::ruby::StripDotProto (const std::string &proto_file)
 
std::string google::protobuf::compiler::ruby::LabelForField (google::protobuf::FieldDescriptor *field)
 
std::string google::protobuf::compiler::ruby::TypeName (google::protobuf::FieldDescriptor *field)
 
void google::protobuf::compiler::ruby::GenerateMessage (const google::protobuf::Descriptor *message, google::protobuf::io::Printer *printer)
 
void google::protobuf::compiler::ruby::GenerateEnum (const google::protobuf::EnumDescriptor *en, google::protobuf::io::Printer *printer)
 
void google::protobuf::compiler::ruby::GenerateMessageAssignment (const std::string &prefix, const google::protobuf::Descriptor *message, google::protobuf::io::Printer *printer)
 
void google::protobuf::compiler::ruby::GenerateEnumAssignment (const std::string &prefix, const google::protobuf::EnumDescriptor *en, google::protobuf::io::Printer *printer)
 
std::string google::protobuf::compiler::ruby::GetOutputFilename (const std::string &proto_file)
 
std::string google::protobuf::compiler::ruby::LabelForField (const google::protobuf::FieldDescriptor *field)
 
std::string google::protobuf::compiler::ruby::TypeName (const google::protobuf::FieldDescriptor *field)
 
void google::protobuf::compiler::ruby::GenerateField (const google::protobuf::FieldDescriptor *field, google::protobuf::io::Printer *printer)
 
void google::protobuf::compiler::ruby::GenerateOneof (const google::protobuf::OneofDescriptor *oneof, google::protobuf::io::Printer *printer)
 
std::string google::protobuf::compiler::ruby::RubifyConstant (const std::string &name)
 
int google::protobuf::compiler::ruby::GeneratePackageModules (std::string package_name, google::protobuf::io::Printer *printer)
 
void google::protobuf::compiler::ruby::EndPackageModules (int levels, google::protobuf::io::Printer *printer)
 
bool google::protobuf::compiler::ruby::UsesTypeFromFile (const Descriptor *message, const FileDescriptor *file, string *error)
 
bool google::protobuf::compiler::ruby::MaybeEmitDependency (const FileDescriptor *import, const FileDescriptor *from, io::Printer *printer, string *error)
 
bool google::protobuf::compiler::ruby::GenerateFile (const FileDescriptor *file, io::Printer *printer, string *error)