CPPMyth
Library to interoperate with MythTV server
sajson::parser Class Reference
Collaboration diagram for sajson::parser:

Data Structures

struct  error_result
 
struct  parse_result
 

Public Member Functions

 parser (const mutable_string_view &msv, size_t *structure)
 
document get_document ()
 

Private Member Functions

bool at_eof ()
 
char peek_structure ()
 
error_result error (const char *format,...)
 
bool parse ()
 
bool has_remaining_characters (ptrdiff_t remaining)
 
parse_result parse_null ()
 
parse_result parse_false ()
 
parse_result parse_true ()
 
parse_result parse_number ()
 
parse_result install_array (size_t *array_base)
 
parse_result install_object (size_t *object_base)
 
parse_result parse_string (size_t *tag=0)
 
parse_result read_hex (unsigned &u)
 
void write_utf8 (unsigned codepoint, char *&end)
 
parse_result parse_string_slow (size_t *tag, size_t start)
 

Static Private Member Functions

static double pow10 (int exponent)
 

Private Attributes

mutable_string_view input
 
char *const input_end
 
size_t *const structure
 
char * p
 
size_t * temp
 
type root_type
 
size_t * out
 
size_t error_line
 
size_t error_column
 
std::string error_message
 

Detailed Description

Definition at line 481 of file sajson.h.


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