#include <userver/formats/json/parser/base_parser.hpp>
Base class for SAX parser.
Definition at line 12 of file base_parser.hpp.
Public Member Functions | |
virtual void | Null () |
virtual void | Bool (bool) |
virtual void | Int64 (int64_t) |
virtual void | Uint64 (uint64_t) |
virtual void | Double (double) |
virtual void | String (std::string_view) |
virtual void | StartObject () |
virtual void | Key (std::string_view key) |
virtual void | EndObject () |
virtual void | StartArray () |
virtual void | EndArray () |
virtual void | EndObject (size_t) |
virtual void | EndArray (size_t) |
void | SetState (ParserState &state) |
virtual std::string | GetPathItem () const =0 |
Protected Member Functions | |
void | Throw (const std::string &found) |
virtual std::string | Expected () const =0 |
Protected Attributes | |
ParserState * | parser_state_ {nullptr} |
Definition at line 17 of file base_parser.hpp.
Definition at line 20 of file base_parser.hpp.
Definition at line 28 of file base_parser.hpp.
Definition at line 32 of file base_parser.hpp.
Definition at line 26 of file base_parser.hpp.
Definition at line 31 of file base_parser.hpp.
Definition at line 18 of file base_parser.hpp.
Definition at line 23 of file base_parser.hpp.
Definition at line 16 of file base_parser.hpp.
|
inline |
Definition at line 34 of file base_parser.hpp.
Definition at line 27 of file base_parser.hpp.
Definition at line 22 of file base_parser.hpp.
Definition at line 21 of file base_parser.hpp.
Definition at line 39 of file base_parser.hpp.
Definition at line 19 of file base_parser.hpp.
|
protected |
Definition at line 47 of file base_parser.hpp.