Definition at line 10 of file map_parser.hpp.
Inheritance diagram for formats::json::parser::MapParser< Map, ValueParser >:Public Types | |
| using | Value = typename Map::mapped_type |
| using | ResultType |
Public Member Functions | |
| MapParser (ValueParser &value_parser) | |
| void | Reset () override |
| void | StartObject () override |
| void | Key (std::string_view key) override |
| void | EndObject () override |
| std::string | Expected () const override |
| void | Subscribe (Subscriber< Map > &subscriber) |
| TypedParser< Map > & | GetParser () |
| 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 | EndObject (size_t) |
| virtual void | StartArray () |
| virtual void | EndArray () |
| virtual void | EndArray (size_t) |
| void | SetState (ParserState &state) |
Protected Member Functions | |
| void | SetResult (Map &&value) |
| void | Throw (const std::string &found) |
Protected Attributes | |
| ParserState * | parser_state_ |
|
inherited |
Definition at line 133 of file typed_parser.hpp.
| using formats::json::parser::MapParser< Map, ValueParser >::Value = typename Map::mapped_type |
Definition at line 12 of file map_parser.hpp.
|
inlineexplicit |
Definition at line 14 of file map_parser.hpp.
|
inlinevirtualinherited |
Definition at line 17 of file base_parser.hpp.
|
inlinevirtualinherited |
Definition at line 20 of file base_parser.hpp.
|
inlinevirtualinherited |
Definition at line 26 of file base_parser.hpp.
|
inlinevirtualinherited |
Definition at line 30 of file base_parser.hpp.
|
inlineoverridevirtual |
Reimplemented from formats::json::parser::BaseParser.
Definition at line 38 of file map_parser.hpp.
|
inlinevirtualinherited |
Definition at line 29 of file base_parser.hpp.
|
inlineoverridevirtual |
Implements formats::json::parser::BaseParser.
Definition at line 47 of file map_parser.hpp.
|
inlineinherited |
Returns an actual parser. It is commonly used in PushParser() to identify typed parser of a proxy parser.
Definition at line 144 of file typed_parser.hpp.
|
inlinevirtualinherited |
Definition at line 18 of file base_parser.hpp.
|
inlineoverridevirtual |
Reimplemented from formats::json::parser::BaseParser.
Definition at line 29 of file map_parser.hpp.
|
inlinevirtualinherited |
Definition at line 16 of file base_parser.hpp.
|
inlineoverridevirtual |
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.
Reimplemented from formats::json::parser::TypedParser< Map >.
Definition at line 16 of file map_parser.hpp.
|
inlineprotectedinherited |
Definition at line 147 of file typed_parser.hpp.
|
inlineinherited |
Definition at line 32 of file base_parser.hpp.
|
inlinevirtualinherited |
Definition at line 25 of file base_parser.hpp.
|
inlineoverridevirtual |
Reimplemented from formats::json::parser::BaseParser.
Definition at line 18 of file map_parser.hpp.
|
inlinevirtualinherited |
Definition at line 21 of file base_parser.hpp.
|
inlineinherited |
Definition at line 131 of file typed_parser.hpp.
|
inlineprotectedinherited |
Definition at line 37 of file base_parser.hpp.
|
inlinevirtualinherited |
Definition at line 19 of file base_parser.hpp.
|
protectedinherited |
Definition at line 44 of file base_parser.hpp.