|
rcbench
Servo and ESC test bench: panel, IOmcu and shared C
|
State of one lexer run over a JSON text. More...
#include <esc_json_int.h>
Data Fields | |
| const char * | s |
| uint32_t | len |
| uint32_t | pos |
| tok_t * | tok |
| uint32_t | n |
| uint32_t | cap |
| lex_why_t | why |
State of one lexer run over a JSON text.
| uint32_t lex_t::cap |
capacity of tok, in tokens
| uint32_t lex_t::len |
length of the text, bytes
| uint32_t lex_t::n |
tokens counted or stored
| uint32_t lex_t::pos |
where the lexer stopped
| const char* lex_t::s |
the text
| tok_t* lex_t::tok |
NULL: count only
| lex_why_t lex_t::why |
what stopped the read, past a syntax error