struct TcParseTableBase
Defined at line 272 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
Base class for message-level table with info for the tail-call parser.
Public Members
uint16_t has_bits_offset
uint16_t extension_offset
uint32_t max_field_number
uint8_t fast_idx_mask
uint8_t has_post_loop_handler
uint16_t lookup_table_offset
uint32_t skipmap32
uint32_t field_entries_offset
uint16_t num_field_entries
uint16_t num_aux_entries
uint32_t aux_offset
const ClassData * class_data
PostLoopHandler post_loop_handler
TailCallParseFunc fallback
Public Methods
void TcParseTableBase (uint16_t has_bits_offset, uint16_t extension_offset, uint32_t max_field_number, uint8_t fast_idx_mask, uint16_t lookup_table_offset, uint32_t skipmap32, uint32_t field_entries_offset, uint16_t num_field_entries, uint16_t num_aux_entries, uint32_t aux_offset, const ClassData * class_data, PostLoopHandler post_loop_handler, TailCallParseFunc fallback)
This constructor exactly follows the field layout, so it's technically
not necessary. However, it makes it much much easier to add or re-arrange
fields, because it can be overloaded with an additional constructor,
temporarily allowing both old and new protocol buffer headers to be
compiled.
Defined at line 308 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
const FastFieldEntry * fast_entry (size_t idx)
There is always at least one table entry.
Defined at line 378 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
FastFieldEntry * fast_entry (size_t idx)
Defined at line 381 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
const uint16_t * field_lookup_begin ()
Returns a begin iterator (pointer) to the start of the field lookup table.
Defined at line 386 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
uint16_t * field_lookup_begin ()
Defined at line 390 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
const FieldEntry * field_entries_begin ()
Returns a begin iterator (pointer) to the start of the field entries array.
Defined at line 406 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
absl::Span<const FieldEntry> field_entries ()
Defined at line 410 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
FieldEntry * field_entries_begin ()
Defined at line 413 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
const FieldAux * field_aux (uint32_t idx)
Defined at line 451 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
FieldAux * field_aux (uint32_t idx)
Defined at line 456 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
const FieldAux * field_aux (const FieldEntry * entry)
Defined at line 461 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
const char * name_data ()
Field name data
Defined at line 466 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
char * name_data ()
Defined at line 471 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h
const MessageLite * default_instance ()
Defined at line 477 of file ../../third_party/protobuf/src/google/protobuf/generated_message_tctable_decl.h