Wireshark 4.7.0
The Wireshark network protocol analyzer
Loading...
Searching...
No Matches
Public Attributes | List of all members
_protobuf_lang_state_t Struct Reference

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_tpool
 
pbl_file_descriptor_tfile
 
GSList * lex_string_tokens
 
GSList * lex_struct_tokens
 
void * scanner
 
void * pParser
 
bool grammar_error
 
protobuf_lang_token_ttmp_token
 

Detailed Description

Holds the full mutable state of the protobuf language parser across a single parse run.

Member Data Documentation

◆ file

pbl_file_descriptor_t* _protobuf_lang_state_t::file

Descriptor for the .proto file currently being parsed.

◆ grammar_error

bool _protobuf_lang_state_t::grammar_error

Set to true if a grammar error was encountered during parsing.

◆ lex_string_tokens

GSList* _protobuf_lang_state_t::lex_string_tokens

List of string tokens allocated by the lexer, tracked for cleanup.

◆ lex_struct_tokens

GSList* _protobuf_lang_state_t::lex_struct_tokens

List of struct tokens allocated by the lexer, tracked for cleanup.

◆ pool

pbl_descriptor_pool_t* _protobuf_lang_state_t::pool

Descriptor pool that accumulates all results from the parse.

◆ pParser

void* _protobuf_lang_state_t::pParser

Opaque handle to the Lemon parser instance.

◆ scanner

void* _protobuf_lang_state_t::scanner

Opaque handle to the reentrant lexer (scanner) instance.

◆ tmp_token

protobuf_lang_token_t* _protobuf_lang_state_t::tmp_token

Temporary token used to pass values from protobuf_lang_lex() to ProtobufLangParser().


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