#include <yaml_parser.hpp>
Blank handler class for yaml_parser. One can sub-class this and overwrite callback functions one needs to handle.
◆ begin_document()
void orcus::yaml_handler::begin_document |
( |
| ) |
|
|
inline |
Called when a new document is encountered.
◆ begin_map()
void orcus::yaml_handler::begin_map |
( |
| ) |
|
|
inline |
Called when a map begins.
◆ begin_map_key()
void orcus::yaml_handler::begin_map_key |
( |
| ) |
|
|
inline |
Called when the parser starts parsing a map key.
◆ begin_parse()
void orcus::yaml_handler::begin_parse |
( |
| ) |
|
|
inline |
Called when the parser starts parsing a content.
◆ begin_sequence()
void orcus::yaml_handler::begin_sequence |
( |
| ) |
|
|
inline |
Called when a sequence begins.
◆ boolean_false()
void orcus::yaml_handler::boolean_false |
( |
| ) |
|
|
inline |
Called when a boolean 'false' keyword is encountered.
◆ boolean_true()
void orcus::yaml_handler::boolean_true |
( |
| ) |
|
|
inline |
Called when a boolean 'true' keyword is encountered.
◆ end_document()
void orcus::yaml_handler::end_document |
( |
| ) |
|
|
inline |
Called when the parser has finished parsing a document.
◆ end_map()
void orcus::yaml_handler::end_map |
( |
| ) |
|
|
inline |
Called when the parser finishes parsing an entire map.
◆ end_map_key()
void orcus::yaml_handler::end_map_key |
( |
| ) |
|
|
inline |
Called when the parser finishes parsing a map key.
◆ end_parse()
void orcus::yaml_handler::end_parse |
( |
| ) |
|
|
inline |
Called when the parser finishes parsing an entire content.
◆ end_sequence()
void orcus::yaml_handler::end_sequence |
( |
| ) |
|
|
inline |
Called when a sequence ends.
◆ null()
void orcus::yaml_handler::null |
( |
| ) |
|
|
inline |
Called when a 'null' keyword is encountered.
◆ number()
void orcus::yaml_handler::number |
( |
double |
val | ) |
|
|
inline |
Called when a numeric value is encountered.
- Parameters
-
◆ string()
void orcus::yaml_handler::string |
( |
std::string_view |
value | ) |
|
|
inline |
Called when a string value is encountered.
- Parameters
-