|
Wireshark 4.7.0
The Wireshark network protocol analyzer
|
Holds the full mutable state of the protobuf language parser across a single parse run. More...
#include <protobuf_lang_tree.h>
Public Attributes | |
| pbl_descriptor_pool_t * | pool |
| pbl_file_descriptor_t * | file |
| GSList * | lex_string_tokens |
| GSList * | lex_struct_tokens |
| void * | scanner |
| void * | pParser |
| bool | grammar_error |
| protobuf_lang_token_t * | tmp_token |
Holds the full mutable state of the protobuf language parser across a single parse run.
| pbl_file_descriptor_t* _protobuf_lang_state_t::file |
Descriptor for the .proto file currently being parsed.
| bool _protobuf_lang_state_t::grammar_error |
Set to true if a grammar error was encountered during parsing.
| GSList* _protobuf_lang_state_t::lex_string_tokens |
List of string tokens allocated by the lexer, tracked for cleanup.
| GSList* _protobuf_lang_state_t::lex_struct_tokens |
List of struct tokens allocated by the lexer, tracked for cleanup.
| pbl_descriptor_pool_t* _protobuf_lang_state_t::pool |
Descriptor pool that accumulates all results from the parse.
| void* _protobuf_lang_state_t::pParser |
Opaque handle to the Lemon parser instance.
| void* _protobuf_lang_state_t::scanner |
Opaque handle to the reentrant lexer (scanner) instance.
| protobuf_lang_token_t* _protobuf_lang_state_t::tmp_token |
Temporary token used to pass values from protobuf_lang_lex() to ProtobufLangParser().