Classes | Functions
google::protobuf::compiler::ruby Namespace Reference

Classes

class  Generator
 

Functions

std::string DefaultValueForField (const FieldDescriptor *field)
 
void EndPackageModules (int levels, io::Printer *printer)
 
void GenerateEnum (const EnumDescriptor *en, io::Printer *printer)
 
void GenerateEnumAssignment (const std::string &prefix, const EnumDescriptor *en, io::Printer *printer)
 
void GenerateField (const FieldDescriptor *field, io::Printer *printer)
 
bool GenerateFile (const FileDescriptor *file, io::Printer *printer, string *error)
 
bool GenerateMessage (const Descriptor *message, io::Printer *printer, std::string *error)
 
void GenerateMessageAssignment (const std::string &prefix, const Descriptor *message, io::Printer *printer)
 
void GenerateOneof (const OneofDescriptor *oneof, io::Printer *printer)
 
int GeneratePackageModules (const FileDescriptor *file, io::Printer *printer)
 
std::string GetOutputFilename (const std::string &proto_file)
 
std::string GetRequireName (const std::string &proto_file)
 
bool IsAlpha (char ch)
 
bool IsLower (char ch)
 
bool IsUpper (char ch)
 
std::string LabelForField (const FieldDescriptor *field)
 
std::string LabelForField (FieldDescriptor *field)
 
bool MaybeEmitDependency (const FileDescriptor *import, const FileDescriptor *from, io::Printer *printer, string *error)
 
template<class numeric_type >
std::string NumberToString (numeric_type value)
 
std::string PackageToModule (const std::string &name)
 
std::string RubifyConstant (const std::string &name)
 
string StringifySyntax (FileDescriptor::Syntax syntax)
 
std::string TypeName (const FieldDescriptor *field)
 
std::string TypeName (FieldDescriptor *field)
 
char UpperChar (char ch)
 
bool UsesTypeFromFile (const Descriptor *message, const FileDescriptor *file, string *error)
 

Function Documentation

◆ DefaultValueForField()

std::string google::protobuf::compiler::ruby::DefaultValueForField ( const FieldDescriptor field)

Definition at line 126 of file ruby_generator.cc.

◆ EndPackageModules()

void google::protobuf::compiler::ruby::EndPackageModules ( int  levels,
io::Printer printer 
)

Definition at line 451 of file ruby_generator.cc.

◆ GenerateEnum()

void google::protobuf::compiler::ruby::GenerateEnum ( const EnumDescriptor en,
io::Printer printer 
)

Definition at line 283 of file ruby_generator.cc.

◆ GenerateEnumAssignment()

void google::protobuf::compiler::ruby::GenerateEnumAssignment ( const std::string prefix,
const EnumDescriptor en,
io::Printer printer 
)

Definition at line 387 of file ruby_generator.cc.

◆ GenerateField()

void google::protobuf::compiler::ruby::GenerateField ( const FieldDescriptor field,
io::Printer printer 
)

Definition at line 168 of file ruby_generator.cc.

◆ GenerateFile()

bool google::protobuf::compiler::ruby::GenerateFile ( const FileDescriptor file,
io::Printer printer,
string error 
)

Definition at line 522 of file ruby_generator.cc.

◆ GenerateMessage()

bool google::protobuf::compiler::ruby::GenerateMessage ( const Descriptor message,
io::Printer printer,
std::string error 
)

Definition at line 238 of file ruby_generator.cc.

◆ GenerateMessageAssignment()

void google::protobuf::compiler::ruby::GenerateMessageAssignment ( const std::string prefix,
const Descriptor message,
io::Printer printer 
)

Definition at line 360 of file ruby_generator.cc.

◆ GenerateOneof()

void google::protobuf::compiler::ruby::GenerateOneof ( const OneofDescriptor oneof,
io::Printer printer 
)

Definition at line 223 of file ruby_generator.cc.

◆ GeneratePackageModules()

int google::protobuf::compiler::ruby::GeneratePackageModules ( const FileDescriptor file,
io::Printer printer 
)

Definition at line 399 of file ruby_generator.cc.

◆ GetOutputFilename()

std::string google::protobuf::compiler::ruby::GetOutputFilename ( const std::string proto_file)

Definition at line 75 of file ruby_generator.cc.

◆ GetRequireName()

std::string google::protobuf::compiler::ruby::GetRequireName ( const std::string proto_file)

Definition at line 70 of file ruby_generator.cc.

◆ IsAlpha()

bool google::protobuf::compiler::ruby::IsAlpha ( char  ch)

Definition at line 307 of file ruby_generator.cc.

◆ IsLower()

bool google::protobuf::compiler::ruby::IsLower ( char  ch)

Definition at line 303 of file ruby_generator.cc.

◆ IsUpper()

bool google::protobuf::compiler::ruby::IsUpper ( char  ch)

Definition at line 305 of file ruby_generator.cc.

◆ LabelForField() [1/2]

std::string google::protobuf::compiler::ruby::LabelForField ( const FieldDescriptor field)

Definition at line 79 of file ruby_generator.cc.

◆ LabelForField() [2/2]

std::string google::protobuf::compiler::ruby::LabelForField ( FieldDescriptor field)

◆ MaybeEmitDependency()

bool google::protobuf::compiler::ruby::MaybeEmitDependency ( const FileDescriptor import,
const FileDescriptor from,
io::Printer printer,
string error 
)

Definition at line 495 of file ruby_generator.cc.

◆ NumberToString()

template<class numeric_type >
std::string google::protobuf::compiler::ruby::NumberToString ( numeric_type  value)

Definition at line 64 of file ruby_generator.cc.

◆ PackageToModule()

std::string google::protobuf::compiler::ruby::PackageToModule ( const std::string name)

Definition at line 316 of file ruby_generator.cc.

◆ RubifyConstant()

std::string google::protobuf::compiler::ruby::RubifyConstant ( const std::string name)

Definition at line 341 of file ruby_generator.cc.

◆ StringifySyntax()

string google::protobuf::compiler::ruby::StringifySyntax ( FileDescriptor::Syntax  syntax)

Definition at line 112 of file ruby_generator.cc.

◆ TypeName() [1/2]

std::string google::protobuf::compiler::ruby::TypeName ( const FieldDescriptor field)

Definition at line 88 of file ruby_generator.cc.

◆ TypeName() [2/2]

std::string google::protobuf::compiler::ruby::TypeName ( FieldDescriptor field)

◆ UpperChar()

char google::protobuf::compiler::ruby::UpperChar ( char  ch)

Definition at line 309 of file ruby_generator.cc.

◆ UsesTypeFromFile()

bool google::protobuf::compiler::ruby::UsesTypeFromFile ( const Descriptor message,
const FileDescriptor file,
string error 
)

Definition at line 460 of file ruby_generator.cc.



libaditof
Author(s):
autogenerated on Wed May 21 2025 02:07:09