Definition at line 9 of file string_parser.hpp.
Public Types | |
using | ResultType |
Public Member Functions | |
void | Subscribe (Subscriber< std::string > &subscriber) |
virtual void | Reset () |
TypedParser< std::string > & | GetParser () |
virtual void | Null () |
virtual void | Bool (bool) |
virtual void | Int64 (int64_t) |
virtual void | Uint64 (uint64_t) |
virtual void | Double (double) |
virtual void | StartObject () |
virtual void | Key (std::string_view key) |
virtual void | EndObject () |
virtual void | EndObject (size_t) |
virtual void | StartArray () |
virtual void | EndArray () |
virtual void | EndArray (size_t) |
void | SetState (ParserState &state) |
Protected Member Functions | |
void | String (std::string_view sw) override |
std::string | GetPathItem () const override |
std::string | Expected () const override |
void | SetResult (std::string &&value) |
void | Throw (const std::string &found) |
Protected Attributes | |
ParserState * | parser_state_ {nullptr} |
|
inherited |
Definition at line 134 of file typed_parser.hpp.
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.
|
overrideprotectedvirtual |
Implements formats::json::parser::BaseParser.
|
inlineinherited |
Returns an actual parser. It is commonly used in PushParser() to identify typed parser of a proxy parser.
Definition at line 145 of file typed_parser.hpp.
|
inlineoverrideprotectedvirtual |
Implements formats::json::parser::BaseParser.
Definition at line 16 of file string_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.
|
inlinevirtualinherited |
Resets parser's internal state. It should not call Reset() of subparsers (if any). Subparsers' Reset() should be called just before pushing it onto the stack.
Definition at line 140 of file typed_parser.hpp.
|
inlineprotectedinherited |
Definition at line 148 of file typed_parser.hpp.
|
inlineinherited |
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.
|
overrideprotectedvirtual |
Reimplemented from formats::json::parser::BaseParser.
|
inlineinherited |
Definition at line 132 of file typed_parser.hpp.
Definition at line 39 of file base_parser.hpp.
Definition at line 19 of file base_parser.hpp.
|
protectedinherited |
Definition at line 47 of file base_parser.hpp.