Public Member Functions | Private Types | Private Member Functions | Static Private Member Functions | Private Attributes | List of all members
google::protobuf::compiler::cpp::ParseLoopGenerator Class Reference

Public Member Functions

void GenerateParserLoop (const Descriptor *descriptor)
 
 ParseLoopGenerator (int num_hasbits, const Options &options, MessageSCCAnalyzer *scc_analyzer, io::Printer *printer)
 

Private Types

using WireFormat = internal::WireFormat
 
using WireFormatLite = internal::WireFormatLite
 

Private Member Functions

void GenerateArenaString (const FieldDescriptor *field, const std::string &utf8, std::string field_name)
 
void GenerateFieldBody (internal::WireFormatLite::WireType wiretype, const FieldDescriptor *field)
 
void GenerateLengthDelim (const FieldDescriptor *field)
 
void GenerateParseLoop (const Descriptor *descriptor, const std::vector< const FieldDescriptor * > &ordered_fields)
 
void GenerateStrings (const FieldDescriptor *field, bool check_utf8)
 

Static Private Member Functions

static uint32 ExpectedTag (const FieldDescriptor *field, uint32 *fallback_tag_ptr)
 
static bool ShouldRepeat (const FieldDescriptor *descriptor, internal::WireFormatLite::WireType wiretype)
 
static uint32 SmallVarintValue (uint32 x)
 

Private Attributes

Formatter format_
 
int num_hasbits_
 
const Optionsoptions_
 
MessageSCCAnalyzerscc_analyzer_
 

Detailed Description

Definition at line 1350 of file bloaty/third_party/protobuf/src/google/protobuf/compiler/cpp/cpp_helpers.cc.

Member Typedef Documentation

◆ WireFormat

◆ WireFormatLite

Constructor & Destructor Documentation

◆ ParseLoopGenerator()

google::protobuf::compiler::cpp::ParseLoopGenerator::ParseLoopGenerator ( int  num_hasbits,
const Options options,
MessageSCCAnalyzer scc_analyzer,
io::Printer printer 
)
inline

Member Function Documentation

◆ ExpectedTag()

static uint32 google::protobuf::compiler::cpp::ParseLoopGenerator::ExpectedTag ( const FieldDescriptor field,
uint32 fallback_tag_ptr 
)
inlinestaticprivate

◆ GenerateArenaString()

void google::protobuf::compiler::cpp::ParseLoopGenerator::GenerateArenaString ( const FieldDescriptor field,
const std::string &  utf8,
std::string  field_name 
)
inlineprivate

◆ GenerateFieldBody()

void google::protobuf::compiler::cpp::ParseLoopGenerator::GenerateFieldBody ( internal::WireFormatLite::WireType  wiretype,
const FieldDescriptor field 
)
inlineprivate

◆ GenerateLengthDelim()

void google::protobuf::compiler::cpp::ParseLoopGenerator::GenerateLengthDelim ( const FieldDescriptor field)
inlineprivate

◆ GenerateParseLoop()

void google::protobuf::compiler::cpp::ParseLoopGenerator::GenerateParseLoop ( const Descriptor descriptor,
const std::vector< const FieldDescriptor * > &  ordered_fields 
)
inlineprivate

◆ GenerateParserLoop()

void google::protobuf::compiler::cpp::ParseLoopGenerator::GenerateParserLoop ( const Descriptor descriptor)
inline

◆ GenerateStrings()

void google::protobuf::compiler::cpp::ParseLoopGenerator::GenerateStrings ( const FieldDescriptor field,
bool  check_utf8 
)
inlineprivate

◆ ShouldRepeat()

static bool google::protobuf::compiler::cpp::ParseLoopGenerator::ShouldRepeat ( const FieldDescriptor descriptor,
internal::WireFormatLite::WireType  wiretype 
)
inlinestaticprivate

◆ SmallVarintValue()

static uint32 google::protobuf::compiler::cpp::ParseLoopGenerator::SmallVarintValue ( uint32  x)
inlinestaticprivate

Member Data Documentation

◆ format_

Formatter google::protobuf::compiler::cpp::ParseLoopGenerator::format_
private

◆ num_hasbits_

int google::protobuf::compiler::cpp::ParseLoopGenerator::num_hasbits_
private

◆ options_

const Options& google::protobuf::compiler::cpp::ParseLoopGenerator::options_
private

◆ scc_analyzer_

MessageSCCAnalyzer* google::protobuf::compiler::cpp::ParseLoopGenerator::scc_analyzer_
private

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


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