![]() |
Argo
1.0
A C++ library for handling JSON.
|
A lexical analyser for JSON messages. More...
#include <lexer.hpp>
Public Member Functions | |
| lexer (reader &r, size_t max_token_length) | |
| virtual | ~lexer () |
| const token & | next () |
| void | put_back_last () |
A lexical analyser for JSON messages.
A lexical analyser for JSON messages. Lexemes are generated from source that matches the RFC but note that doesn't mean those lexemes can always be represented as basic C++ types.
| lexer::lexer | ( | reader & | r, |
| size_t | max_token_length | ||
| ) |
| const token & lexer::next | ( | ) |
Read the next token.
| json_parser_exception | if a syntax error is encountered or if the token length exceeds the maximum. |
| json_io_exception | in the event of a IO error error of some type when reading the message. |
| void lexer::put_back_last | ( | ) |
1.8.11