Public Member Functions | Private Member Functions | List of all members
google::protobuf::compiler::js::Generator Class Reference

#include <js_generator.h>

Inheritance diagram for google::protobuf::compiler::js::Generator:
Inheritance graph
[legend]

Public Member Functions

virtual bool Generate (const FileDescriptor *file, const std::string &parameter, GeneratorContext *context, std::string *error) const
 
bool Generate (const FileDescriptor *file, const std::string &parameter, GeneratorContext *context, std::string *error) const override
 
virtual bool GenerateAll (const std::vector< const FileDescriptor * > &files, const std::string &parameter, GeneratorContext *context, std::string *error) const
 
bool GenerateAll (const std::vector< const FileDescriptor * > &files, const std::string &parameter, GeneratorContext *context, std::string *error) const override
 
 Generator ()
 
 Generator ()
 
uint64 GetSupportedFeatures () const override
 
virtual bool HasGenerateAll () const
 
bool HasGenerateAll () const override
 
virtual ~Generator ()
 
virtual ~Generator ()
 
- Public Member Functions inherited from google::protobuf::compiler::CodeGenerator
 CodeGenerator ()
 
 CodeGenerator ()
 
virtual ~CodeGenerator ()
 
virtual ~CodeGenerator ()
 

Private Member Functions

void FindProvides (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FileDescriptor * > &file, std::set< std::string > *provided) const
 
void FindProvides (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FileDescriptor * > &file, std::set< std::string > *provided) const
 
void FindProvidesForEnum (const GeneratorOptions &options, io::Printer *printer, const EnumDescriptor *enumdesc, std::set< std::string > *provided) const
 
void FindProvidesForEnum (const GeneratorOptions &options, io::Printer *printer, const EnumDescriptor *enumdesc, std::set< std::string > *provided) const
 
void FindProvidesForFields (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FieldDescriptor * > &fields, std::set< std::string > *provided) const
 
void FindProvidesForFields (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FieldDescriptor * > &fields, std::set< std::string > *provided) const
 
void FindProvidesForFile (const GeneratorOptions &options, io::Printer *printer, const FileDescriptor *file, std::set< std::string > *provided) const
 
void FindProvidesForFile (const GeneratorOptions &options, io::Printer *printer, const FileDescriptor *file, std::set< std::string > *provided) const
 
void FindProvidesForMessage (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc, std::set< std::string > *provided) const
 
void FindProvidesForMessage (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc, std::set< std::string > *provided) const
 
void FindRequiresForExtension (const GeneratorOptions &options, const FieldDescriptor *field, std::set< std::string > *required, std::set< std::string > *forwards) const
 
void FindRequiresForExtension (const GeneratorOptions &options, const FieldDescriptor *field, std::set< std::string > *required, std::set< std::string > *forwards) const
 
void FindRequiresForField (const GeneratorOptions &options, const FieldDescriptor *field, std::set< std::string > *required, std::set< std::string > *forwards) const
 
void FindRequiresForField (const GeneratorOptions &options, const FieldDescriptor *field, std::set< std::string > *required, std::set< std::string > *forwards) const
 
void FindRequiresForMessage (const GeneratorOptions &options, const Descriptor *desc, std::set< std::string > *required, std::set< std::string > *forwards, bool *have_message) const
 
void FindRequiresForMessage (const GeneratorOptions &options, const Descriptor *desc, std::set< std::string > *required, std::set< std::string > *forwards, bool *have_message) const
 
void GenerateClass (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClass (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassConstructor (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassConstructor (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassConstructorAndDeclareExtensionFieldInfo (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassConstructorAndDeclareExtensionFieldInfo (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassDeserialize (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassDeserialize (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassDeserializeBinary (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassDeserializeBinary (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassDeserializeBinaryField (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateClassDeserializeBinaryField (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateClassesAndEnums (const GeneratorOptions &options, io::Printer *printer, const FileDescriptor *file) const
 
void GenerateClassesAndEnums (const GeneratorOptions &options, io::Printer *printer, const FileDescriptor *file) const
 
void GenerateClassExtensionFieldInfo (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassExtensionFieldInfo (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassField (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *desc) const
 
void GenerateClassField (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *desc) const
 
void GenerateClassFieldFromObject (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateClassFieldFromObject (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateClassFieldInfo (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassFieldInfo (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassFields (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassFields (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassFieldToObject (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateClassFieldToObject (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateClassFromObject (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassFromObject (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassRegistration (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassRegistration (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassSerializeBinary (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassSerializeBinary (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassSerializeBinaryField (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateClassSerializeBinaryField (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateClassToObject (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassToObject (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassXid (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateClassXid (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateEnum (const GeneratorOptions &options, io::Printer *printer, const EnumDescriptor *enumdesc) const
 
void GenerateEnum (const GeneratorOptions &options, io::Printer *printer, const EnumDescriptor *enumdesc) const
 
void GenerateExtension (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateExtension (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateFieldValueExpression (io::Printer *printer, const char *obj_reference, const FieldDescriptor *field, bool use_default) const
 
void GenerateFieldValueExpression (io::Printer *printer, const char *obj_reference, const FieldDescriptor *field, bool use_default) const
 
bool GenerateFile (const FileDescriptor *file, const GeneratorOptions &options, GeneratorContext *context, bool use_short_name) const
 
bool GenerateFile (const FileDescriptor *file, const GeneratorOptions &options, GeneratorContext *context, bool use_short_name) const
 
void GenerateFile (const GeneratorOptions &options, io::Printer *printer, const FileDescriptor *file) const
 
void GenerateFile (const GeneratorOptions &options, io::Printer *printer, const FileDescriptor *file) const
 
void GenerateFileAndDeps (const GeneratorOptions &options, io::Printer *printer, const FileDescriptor *root, std::set< const FileDescriptor * > *all_files, std::set< const FileDescriptor * > *generated) const
 
void GenerateFileAndDeps (const GeneratorOptions &options, io::Printer *printer, const FileDescriptor *root, std::set< const FileDescriptor * > *all_files, std::set< const FileDescriptor * > *generated) const
 
void GenerateFilesInDepOrder (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FileDescriptor * > &file) const
 
void GenerateFilesInDepOrder (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FileDescriptor * > &file) const
 
void GenerateHeader (const GeneratorOptions &options, const FileDescriptor *file, io::Printer *printer) const
 
void GenerateHeader (const GeneratorOptions &options, const FileDescriptor *file, io::Printer *printer) const
 
void GenerateObjectTypedef (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateObjectTypedef (const GeneratorOptions &options, io::Printer *printer, const Descriptor *desc) const
 
void GenerateOneofCaseDefinition (const GeneratorOptions &options, io::Printer *printer, const OneofDescriptor *oneof) const
 
void GenerateOneofCaseDefinition (const GeneratorOptions &options, io::Printer *printer, const OneofDescriptor *oneof) const
 
void GenerateProvides (const GeneratorOptions &options, io::Printer *printer, std::set< std::string > *provided) const
 
void GenerateProvides (const GeneratorOptions &options, io::Printer *printer, std::set< std::string > *provided) const
 
void GenerateRepeatedMessageHelperMethods (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateRepeatedMessageHelperMethods (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field) const
 
void GenerateRepeatedPrimitiveHelperMethods (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field, bool untyped) const
 
void GenerateRepeatedPrimitiveHelperMethods (const GeneratorOptions &options, io::Printer *printer, const FieldDescriptor *field, bool untyped) const
 
void GenerateRequiresForExtensions (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FieldDescriptor * > &fields, std::set< std::string > *provided) const
 
void GenerateRequiresForExtensions (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FieldDescriptor * > &fields, std::set< std::string > *provided) const
 
void GenerateRequiresForLibrary (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FileDescriptor * > &files, std::set< std::string > *provided) const
 
void GenerateRequiresForLibrary (const GeneratorOptions &options, io::Printer *printer, const std::vector< const FileDescriptor * > &files, std::set< std::string > *provided) const
 
void GenerateRequiresForSCC (const GeneratorOptions &options, io::Printer *printer, const SCC *scc, std::set< std::string > *provided) const
 
void GenerateRequiresForSCC (const GeneratorOptions &options, io::Printer *printer, const SCC *scc, std::set< std::string > *provided) const
 
void GenerateRequiresImpl (const GeneratorOptions &options, io::Printer *printer, std::set< std::string > *required, std::set< std::string > *forwards, std::set< std::string > *provided, bool require_jspb, bool require_extension, bool require_map) const
 
void GenerateRequiresImpl (const GeneratorOptions &options, io::Printer *printer, std::set< std::string > *required, std::set< std::string > *forwards, std::set< std::string > *provided, bool require_jspb, bool require_extension, bool require_map) const
 
void GenerateTestOnly (const GeneratorOptions &options, io::Printer *printer) const
 
void GenerateTestOnly (const GeneratorOptions &options, io::Printer *printer) const
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (Generator)
 
 GOOGLE_DISALLOW_EVIL_CONSTRUCTORS (Generator)
 

Additional Inherited Members

- Public Types inherited from google::protobuf::compiler::CodeGenerator
enum  Feature { FEATURE_PROTO3_OPTIONAL = 1 }
 

Detailed Description

Definition at line 140 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/js/js_generator.h.

Constructor & Destructor Documentation

◆ Generator() [1/2]

google::protobuf::compiler::js::Generator::Generator ( )
inline

◆ ~Generator() [1/2]

virtual google::protobuf::compiler::js::Generator::~Generator ( )
inlinevirtual

◆ Generator() [2/2]

google::protobuf::compiler::js::Generator::Generator ( )
inline

◆ ~Generator() [2/2]

virtual google::protobuf::compiler::js::Generator::~Generator ( )
inlinevirtual

Member Function Documentation

◆ FindProvides() [1/2]

void google::protobuf::compiler::js::Generator::FindProvides ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FileDescriptor * > &  file,
std::set< std::string > *  provided 
) const
private

◆ FindProvides() [2/2]

void google::protobuf::compiler::js::Generator::FindProvides ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FileDescriptor * > &  file,
std::set< std::string > *  provided 
) const
private

◆ FindProvidesForEnum() [1/2]

void google::protobuf::compiler::js::Generator::FindProvidesForEnum ( const GeneratorOptions options,
io::Printer printer,
const EnumDescriptor enumdesc,
std::set< std::string > *  provided 
) const
private

◆ FindProvidesForEnum() [2/2]

void google::protobuf::compiler::js::Generator::FindProvidesForEnum ( const GeneratorOptions options,
io::Printer printer,
const EnumDescriptor enumdesc,
std::set< std::string > *  provided 
) const
private

◆ FindProvidesForFields() [1/2]

void google::protobuf::compiler::js::Generator::FindProvidesForFields ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FieldDescriptor * > &  fields,
std::set< std::string > *  provided 
) const
private

◆ FindProvidesForFields() [2/2]

void google::protobuf::compiler::js::Generator::FindProvidesForFields ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FieldDescriptor * > &  fields,
std::set< std::string > *  provided 
) const
private

◆ FindProvidesForFile() [1/2]

void google::protobuf::compiler::js::Generator::FindProvidesForFile ( const GeneratorOptions options,
io::Printer printer,
const FileDescriptor file,
std::set< std::string > *  provided 
) const
private

◆ FindProvidesForFile() [2/2]

void google::protobuf::compiler::js::Generator::FindProvidesForFile ( const GeneratorOptions options,
io::Printer printer,
const FileDescriptor file,
std::set< std::string > *  provided 
) const
private

◆ FindProvidesForMessage() [1/2]

void google::protobuf::compiler::js::Generator::FindProvidesForMessage ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc,
std::set< std::string > *  provided 
) const
private

◆ FindProvidesForMessage() [2/2]

void google::protobuf::compiler::js::Generator::FindProvidesForMessage ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc,
std::set< std::string > *  provided 
) const
private

◆ FindRequiresForExtension() [1/2]

void google::protobuf::compiler::js::Generator::FindRequiresForExtension ( const GeneratorOptions options,
const FieldDescriptor field,
std::set< std::string > *  required,
std::set< std::string > *  forwards 
) const
private

◆ FindRequiresForExtension() [2/2]

void google::protobuf::compiler::js::Generator::FindRequiresForExtension ( const GeneratorOptions options,
const FieldDescriptor field,
std::set< std::string > *  required,
std::set< std::string > *  forwards 
) const
private

◆ FindRequiresForField() [1/2]

void google::protobuf::compiler::js::Generator::FindRequiresForField ( const GeneratorOptions options,
const FieldDescriptor field,
std::set< std::string > *  required,
std::set< std::string > *  forwards 
) const
private

◆ FindRequiresForField() [2/2]

void google::protobuf::compiler::js::Generator::FindRequiresForField ( const GeneratorOptions options,
const FieldDescriptor field,
std::set< std::string > *  required,
std::set< std::string > *  forwards 
) const
private

◆ FindRequiresForMessage() [1/2]

void google::protobuf::compiler::js::Generator::FindRequiresForMessage ( const GeneratorOptions options,
const Descriptor desc,
std::set< std::string > *  required,
std::set< std::string > *  forwards,
bool have_message 
) const
private

◆ FindRequiresForMessage() [2/2]

void google::protobuf::compiler::js::Generator::FindRequiresForMessage ( const GeneratorOptions options,
const Descriptor desc,
std::set< std::string > *  required,
std::set< std::string > *  forwards,
bool have_message 
) const
private

◆ Generate() [1/2]

virtual bool google::protobuf::compiler::js::Generator::Generate ( const FileDescriptor file,
const std::string &  parameter,
GeneratorContext context,
std::string *  error 
) const
inlinevirtual

◆ Generate() [2/2]

bool google::protobuf::compiler::js::Generator::Generate ( const FileDescriptor file,
const std::string &  parameter,
GeneratorContext context,
std::string *  error 
) const
inlineoverridevirtual

◆ GenerateAll() [1/2]

bool google::protobuf::compiler::js::Generator::GenerateAll ( const std::vector< const FileDescriptor * > &  files,
const std::string &  parameter,
GeneratorContext context,
std::string *  error 
) const
virtual

◆ GenerateAll() [2/2]

bool google::protobuf::compiler::js::Generator::GenerateAll ( const std::vector< const FileDescriptor * > &  files,
const std::string &  parameter,
GeneratorContext context,
std::string *  error 
) const
overridevirtual

◆ GenerateClass() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClass ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClass() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClass ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassConstructor() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassConstructor ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassConstructor() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassConstructor ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassConstructorAndDeclareExtensionFieldInfo() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassConstructorAndDeclareExtensionFieldInfo ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassConstructorAndDeclareExtensionFieldInfo() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassConstructorAndDeclareExtensionFieldInfo ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassDeserialize() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassDeserialize ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassDeserialize() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassDeserialize ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassDeserializeBinary() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassDeserializeBinary ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassDeserializeBinary() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassDeserializeBinary ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassDeserializeBinaryField() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassDeserializeBinaryField ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateClassDeserializeBinaryField() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassDeserializeBinaryField ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateClassesAndEnums() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassesAndEnums ( const GeneratorOptions options,
io::Printer printer,
const FileDescriptor file 
) const
private

◆ GenerateClassesAndEnums() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassesAndEnums ( const GeneratorOptions options,
io::Printer printer,
const FileDescriptor file 
) const
private

◆ GenerateClassExtensionFieldInfo() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassExtensionFieldInfo ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassExtensionFieldInfo() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassExtensionFieldInfo ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassField() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassField ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor desc 
) const
private

◆ GenerateClassField() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassField ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor desc 
) const
private

◆ GenerateClassFieldFromObject() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassFieldFromObject ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateClassFieldFromObject() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassFieldFromObject ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateClassFieldInfo() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassFieldInfo ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassFieldInfo() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassFieldInfo ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassFields() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassFields ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassFields() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassFields ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassFieldToObject() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassFieldToObject ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateClassFieldToObject() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassFieldToObject ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateClassFromObject() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassFromObject ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassFromObject() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassFromObject ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassRegistration() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassRegistration ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassRegistration() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassRegistration ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassSerializeBinary() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassSerializeBinary ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassSerializeBinary() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassSerializeBinary ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassSerializeBinaryField() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassSerializeBinaryField ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateClassSerializeBinaryField() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassSerializeBinaryField ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateClassToObject() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassToObject ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassToObject() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassToObject ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassXid() [1/2]

void google::protobuf::compiler::js::Generator::GenerateClassXid ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateClassXid() [2/2]

void google::protobuf::compiler::js::Generator::GenerateClassXid ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateEnum() [1/2]

void google::protobuf::compiler::js::Generator::GenerateEnum ( const GeneratorOptions options,
io::Printer printer,
const EnumDescriptor enumdesc 
) const
private

◆ GenerateEnum() [2/2]

void google::protobuf::compiler::js::Generator::GenerateEnum ( const GeneratorOptions options,
io::Printer printer,
const EnumDescriptor enumdesc 
) const
private

◆ GenerateExtension() [1/2]

void google::protobuf::compiler::js::Generator::GenerateExtension ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateExtension() [2/2]

void google::protobuf::compiler::js::Generator::GenerateExtension ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateFieldValueExpression() [1/2]

void google::protobuf::compiler::js::Generator::GenerateFieldValueExpression ( io::Printer printer,
const char *  obj_reference,
const FieldDescriptor field,
bool  use_default 
) const
private

◆ GenerateFieldValueExpression() [2/2]

void google::protobuf::compiler::js::Generator::GenerateFieldValueExpression ( io::Printer printer,
const char *  obj_reference,
const FieldDescriptor field,
bool  use_default 
) const
private

◆ GenerateFile() [1/4]

bool google::protobuf::compiler::js::Generator::GenerateFile ( const FileDescriptor file,
const GeneratorOptions options,
GeneratorContext context,
bool  use_short_name 
) const
private

◆ GenerateFile() [2/4]

bool google::protobuf::compiler::js::Generator::GenerateFile ( const FileDescriptor file,
const GeneratorOptions options,
GeneratorContext context,
bool  use_short_name 
) const
private

◆ GenerateFile() [3/4]

void google::protobuf::compiler::js::Generator::GenerateFile ( const GeneratorOptions options,
io::Printer printer,
const FileDescriptor file 
) const
private

◆ GenerateFile() [4/4]

void google::protobuf::compiler::js::Generator::GenerateFile ( const GeneratorOptions options,
io::Printer printer,
const FileDescriptor file 
) const
private

◆ GenerateFileAndDeps() [1/2]

void google::protobuf::compiler::js::Generator::GenerateFileAndDeps ( const GeneratorOptions options,
io::Printer printer,
const FileDescriptor root,
std::set< const FileDescriptor * > *  all_files,
std::set< const FileDescriptor * > *  generated 
) const
private

◆ GenerateFileAndDeps() [2/2]

void google::protobuf::compiler::js::Generator::GenerateFileAndDeps ( const GeneratorOptions options,
io::Printer printer,
const FileDescriptor root,
std::set< const FileDescriptor * > *  all_files,
std::set< const FileDescriptor * > *  generated 
) const
private

◆ GenerateFilesInDepOrder() [1/2]

void google::protobuf::compiler::js::Generator::GenerateFilesInDepOrder ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FileDescriptor * > &  file 
) const
private

◆ GenerateFilesInDepOrder() [2/2]

void google::protobuf::compiler::js::Generator::GenerateFilesInDepOrder ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FileDescriptor * > &  file 
) const
private

◆ GenerateHeader() [1/2]

void google::protobuf::compiler::js::Generator::GenerateHeader ( const GeneratorOptions options,
const FileDescriptor file,
io::Printer printer 
) const
private

◆ GenerateHeader() [2/2]

void google::protobuf::compiler::js::Generator::GenerateHeader ( const GeneratorOptions options,
const FileDescriptor file,
io::Printer printer 
) const
private

◆ GenerateObjectTypedef() [1/2]

void google::protobuf::compiler::js::Generator::GenerateObjectTypedef ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateObjectTypedef() [2/2]

void google::protobuf::compiler::js::Generator::GenerateObjectTypedef ( const GeneratorOptions options,
io::Printer printer,
const Descriptor desc 
) const
private

◆ GenerateOneofCaseDefinition() [1/2]

void google::protobuf::compiler::js::Generator::GenerateOneofCaseDefinition ( const GeneratorOptions options,
io::Printer printer,
const OneofDescriptor oneof 
) const
private

◆ GenerateOneofCaseDefinition() [2/2]

void google::protobuf::compiler::js::Generator::GenerateOneofCaseDefinition ( const GeneratorOptions options,
io::Printer printer,
const OneofDescriptor oneof 
) const
private

◆ GenerateProvides() [1/2]

void google::protobuf::compiler::js::Generator::GenerateProvides ( const GeneratorOptions options,
io::Printer printer,
std::set< std::string > *  provided 
) const
private

◆ GenerateProvides() [2/2]

void google::protobuf::compiler::js::Generator::GenerateProvides ( const GeneratorOptions options,
io::Printer printer,
std::set< std::string > *  provided 
) const
private

◆ GenerateRepeatedMessageHelperMethods() [1/2]

void google::protobuf::compiler::js::Generator::GenerateRepeatedMessageHelperMethods ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateRepeatedMessageHelperMethods() [2/2]

void google::protobuf::compiler::js::Generator::GenerateRepeatedMessageHelperMethods ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field 
) const
private

◆ GenerateRepeatedPrimitiveHelperMethods() [1/2]

void google::protobuf::compiler::js::Generator::GenerateRepeatedPrimitiveHelperMethods ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field,
bool  untyped 
) const
private

◆ GenerateRepeatedPrimitiveHelperMethods() [2/2]

void google::protobuf::compiler::js::Generator::GenerateRepeatedPrimitiveHelperMethods ( const GeneratorOptions options,
io::Printer printer,
const FieldDescriptor field,
bool  untyped 
) const
private

◆ GenerateRequiresForExtensions() [1/2]

void google::protobuf::compiler::js::Generator::GenerateRequiresForExtensions ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FieldDescriptor * > &  fields,
std::set< std::string > *  provided 
) const
private

◆ GenerateRequiresForExtensions() [2/2]

void google::protobuf::compiler::js::Generator::GenerateRequiresForExtensions ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FieldDescriptor * > &  fields,
std::set< std::string > *  provided 
) const
private

◆ GenerateRequiresForLibrary() [1/2]

void google::protobuf::compiler::js::Generator::GenerateRequiresForLibrary ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FileDescriptor * > &  files,
std::set< std::string > *  provided 
) const
private

◆ GenerateRequiresForLibrary() [2/2]

void google::protobuf::compiler::js::Generator::GenerateRequiresForLibrary ( const GeneratorOptions options,
io::Printer printer,
const std::vector< const FileDescriptor * > &  files,
std::set< std::string > *  provided 
) const
private

◆ GenerateRequiresForSCC() [1/2]

void google::protobuf::compiler::js::Generator::GenerateRequiresForSCC ( const GeneratorOptions options,
io::Printer printer,
const SCC scc,
std::set< std::string > *  provided 
) const
private

◆ GenerateRequiresForSCC() [2/2]

void google::protobuf::compiler::js::Generator::GenerateRequiresForSCC ( const GeneratorOptions options,
io::Printer printer,
const SCC scc,
std::set< std::string > *  provided 
) const
private

◆ GenerateRequiresImpl() [1/2]

void google::protobuf::compiler::js::Generator::GenerateRequiresImpl ( const GeneratorOptions options,
io::Printer printer,
std::set< std::string > *  required,
std::set< std::string > *  forwards,
std::set< std::string > *  provided,
bool  require_jspb,
bool  require_extension,
bool  require_map 
) const
private

◆ GenerateRequiresImpl() [2/2]

void google::protobuf::compiler::js::Generator::GenerateRequiresImpl ( const GeneratorOptions options,
io::Printer printer,
std::set< std::string > *  required,
std::set< std::string > *  forwards,
std::set< std::string > *  provided,
bool  require_jspb,
bool  require_extension,
bool  require_map 
) const
private

◆ GenerateTestOnly() [1/2]

void google::protobuf::compiler::js::Generator::GenerateTestOnly ( const GeneratorOptions options,
io::Printer printer 
) const
private

◆ GenerateTestOnly() [2/2]

void google::protobuf::compiler::js::Generator::GenerateTestOnly ( const GeneratorOptions options,
io::Printer printer 
) const
private

◆ GetSupportedFeatures()

uint64 google::protobuf::compiler::js::Generator::GetSupportedFeatures ( ) const
inlineoverridevirtual

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [1/2]

google::protobuf::compiler::js::Generator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( Generator  )
private

◆ GOOGLE_DISALLOW_EVIL_CONSTRUCTORS() [2/2]

google::protobuf::compiler::js::Generator::GOOGLE_DISALLOW_EVIL_CONSTRUCTORS ( Generator  )
private

◆ HasGenerateAll() [1/2]

virtual bool google::protobuf::compiler::js::Generator::HasGenerateAll ( ) const
inlinevirtual

◆ HasGenerateAll() [2/2]

bool google::protobuf::compiler::js::Generator::HasGenerateAll ( ) const
inlineoverridevirtual

The documentation for this class was generated from the following files:


grpc
Author(s):
autogenerated on Fri May 16 2025 03:03:23