|
rapidyaml
0.16.0
parseandemitYAML,anddoitfast
|
#include "c4/yml/parse.hpp"#include "c4/yml/node.hpp"#include "c4/yml/parse_engine.hpp"#include "c4/yml/parse_engine.def.hpp"#include "c4/yml/event_handler_tree.hpp"Go to the source code of this file.
Namespaces | |
| c4 | |
| c4::yml | |
Functions | |
| void | c4::yml::parse_in_place (Parser *parser, csubstr filename, substr yaml, Tree *t, id_type node_id) |
| (1) parse YAML into an existing tree node. More... | |
| void | c4::yml::parse_in_place (Parser *parser, substr yaml, Tree *t, id_type node_id) |
| (2) like (1) but no filename will be reported More... | |
| void | c4::yml::parse_in_place (Parser *parser, csubstr filename, substr yaml, Tree *t) |
| (3) parse YAML into the root node of an existing tree. More... | |
| void | c4::yml::parse_in_place (Parser *parser, substr yaml, Tree *t) |
| (4) like (3) but no filename will be reported More... | |
| void | c4::yml::parse_in_place (Parser *parser, csubstr filename, substr yaml, NodeRef node) |
| (5) like (1) but the node is given as a NodeRef More... | |
| void | c4::yml::parse_in_place (Parser *parser, substr yaml, NodeRef node) |
| (6) like (5) but no filename will be reported More... | |
| Tree | c4::yml::parse_in_place (Parser *parser, csubstr filename, substr yaml) |
| (7) create a new tree, and parse YAML into its root node. More... | |
| Tree | c4::yml::parse_in_place (Parser *parser, substr yaml) |
| (8) like (7) but no filename will be reported More... | |
| void | c4::yml::parse_in_place (csubstr filename, substr yaml, Tree *t, id_type node_id, ParserOptions const &opts={}) |
| (1) parse YAML into an existing tree node. The filename will be used in any error messages arising during the parse. More... | |
| void | c4::yml::parse_in_place (substr yaml, Tree *t, id_type node_id, ParserOptions const &opts={}) |
| (2) like (1) but no filename will be reported More... | |
| void | c4::yml::parse_in_place (csubstr filename, substr yaml, Tree *t, ParserOptions const &opts={}) |
| (3) parse YAML into an existing tree, into its root node. More... | |
| void | c4::yml::parse_in_place (substr yaml, Tree *t, ParserOptions const &opts={}) |
| (4) like (3) but no filename will be reported More... | |
| void | c4::yml::parse_in_place (csubstr filename, substr yaml, NodeRef node, ParserOptions const &opts={}) |
| (5) like (1) but the node is given as a NodeRef More... | |
| void | c4::yml::parse_in_place (substr yaml, NodeRef node, ParserOptions const &opts={}) |
| (6) like (5) but no filename will be reported More... | |
| Tree | c4::yml::parse_in_place (csubstr filename, substr yaml, ParserOptions const &opts={}) |
| (7) create a new tree, and parse YAML into its root node. More... | |
| Tree | c4::yml::parse_in_place (substr yaml, ParserOptions const &opts={}) |
| (8) like (7) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_place (Parser *parser, csubstr filename, substr json, Tree *t, id_type node_id) |
| (1) parse JSON into an existing tree node. The filename will be used in any error messages arising during the parse. More... | |
| void | c4::yml::parse_json_in_place (Parser *parser, substr json, Tree *t, id_type node_id) |
| (2) like (1) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_place (Parser *parser, csubstr filename, substr json, Tree *t) |
| (3) parse JSON into an existing tree, into its root node. More... | |
| void | c4::yml::parse_json_in_place (Parser *parser, substr json, Tree *t) |
| (4) like (3) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_place (Parser *parser, csubstr filename, substr json, NodeRef node) |
| (5) like (1) but the node is given as a NodeRef More... | |
| void | c4::yml::parse_json_in_place (Parser *parser, substr json, NodeRef node) |
| (6) like (5) but no filename will be reported More... | |
| Tree | c4::yml::parse_json_in_place (Parser *parser, csubstr filename, substr json) |
| (7) create a new tree, and parse JSON into its root node. More... | |
| Tree | c4::yml::parse_json_in_place (Parser *parser, substr json) |
| (8) like (7) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_place (csubstr filename, substr json, Tree *t, id_type node_id, ParserOptions const &opts={}) |
| (1) parse JSON into an existing tree node. The filename will be used in any error messages arising during the parse. More... | |
| void | c4::yml::parse_json_in_place (substr json, Tree *t, id_type node_id, ParserOptions const &opts={}) |
| (2) like (1) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_place (csubstr filename, substr json, Tree *t, ParserOptions const &opts={}) |
| (3) parse JSON into an existing tree, into its root node. More... | |
| void | c4::yml::parse_json_in_place (substr json, Tree *t, ParserOptions const &opts={}) |
| (4) like (3) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_place (csubstr filename, substr json, NodeRef node, ParserOptions const &opts={}) |
| (5) like (1) but the node is given as a NodeRef More... | |
| void | c4::yml::parse_json_in_place (substr json, NodeRef node, ParserOptions const &opts={}) |
| (6) like (5) but no filename will be reported More... | |
| Tree | c4::yml::parse_json_in_place (csubstr filename, substr json, ParserOptions const &opts={}) |
| (7) create a new tree, and parse JSON into its root node. More... | |
| Tree | c4::yml::parse_json_in_place (substr json, ParserOptions const &opts={}) |
| (8) like (7) but no filename will be reported More... | |
| void | c4::yml::parse_in_arena (Parser *parser, csubstr filename, csubstr yaml, Tree *t, id_type node_id) |
| (1) parse YAML into an existing tree node. The filename will be used in any error messages arising during the parse. More... | |
| void | c4::yml::parse_in_arena (Parser *parser, csubstr yaml, Tree *t, id_type node_id) |
| (2) like (1) but no filename will be reported More... | |
| void | c4::yml::parse_in_arena (Parser *parser, csubstr filename, csubstr yaml, Tree *t) |
| (3) parse YAML into an existing tree, into its root node. More... | |
| void | c4::yml::parse_in_arena (Parser *parser, csubstr yaml, Tree *t) |
| (4) like (3) but no filename will be reported More... | |
| void | c4::yml::parse_in_arena (Parser *parser, csubstr filename, csubstr yaml, NodeRef node) |
| (5) like (1) but the node is given as a NodeRef More... | |
| void | c4::yml::parse_in_arena (Parser *parser, csubstr yaml, NodeRef node) |
| (6) like (5) but no filename will be reported More... | |
| Tree | c4::yml::parse_in_arena (Parser *parser, csubstr filename, csubstr yaml) |
| (7) create a new tree, and parse YAML into its root node. More... | |
| Tree | c4::yml::parse_in_arena (Parser *parser, csubstr yaml) |
| (8) like (7) but no filename will be reported More... | |
| void | c4::yml::parse_in_arena (csubstr filename, csubstr yaml, Tree *t, id_type node_id, ParserOptions const &opts={}) |
| (1) parse YAML into an existing tree node. The filename will be used in any error messages arising during the parse. More... | |
| void | c4::yml::parse_in_arena (csubstr yaml, Tree *t, id_type node_id, ParserOptions const &opts={}) |
| (2) like (1) but no filename will be reported More... | |
| void | c4::yml::parse_in_arena (csubstr filename, csubstr yaml, Tree *t, ParserOptions const &opts={}) |
| (3) parse YAML into an existing tree, into its root node. More... | |
| void | c4::yml::parse_in_arena (csubstr yaml, Tree *t, ParserOptions const &opts={}) |
| (4) like (3) but no filename will be reported More... | |
| void | c4::yml::parse_in_arena (csubstr filename, csubstr yaml, NodeRef node, ParserOptions const &opts={}) |
| (5) like (1) but the node is given as a NodeRef More... | |
| void | c4::yml::parse_in_arena (csubstr yaml, NodeRef node, ParserOptions const &opts={}) |
| (6) like (5) but no filename will be reported More... | |
| Tree | c4::yml::parse_in_arena (csubstr filename, csubstr yaml, ParserOptions const &opts={}) |
| (7) create a new tree, and parse YAML into its root node. More... | |
| Tree | c4::yml::parse_in_arena (csubstr yaml, ParserOptions const &opts={}) |
| (8) like (7) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_arena (Parser *parser, csubstr filename, csubstr json, Tree *t, id_type node_id) |
| (1) parse JSON into an existing tree node. The filename will be used in any error messages arising during the parse. More... | |
| void | c4::yml::parse_json_in_arena (Parser *parser, csubstr json, Tree *t, id_type node_id) |
| (2) like (1) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_arena (Parser *parser, csubstr filename, csubstr json, Tree *t) |
| (3) parse JSON into an existing tree, into its root node. More... | |
| void | c4::yml::parse_json_in_arena (Parser *parser, csubstr json, Tree *t) |
| (4) like (3) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_arena (Parser *parser, csubstr filename, csubstr json, NodeRef node) |
| (5) like (1) but the node is given as a NodeRef More... | |
| void | c4::yml::parse_json_in_arena (Parser *parser, csubstr json, NodeRef node) |
| (6) like (5) but no filename will be reported More... | |
| Tree | c4::yml::parse_json_in_arena (Parser *parser, csubstr filename, csubstr json) |
| (7) create a new tree, and parse JSON into its root node. More... | |
| Tree | c4::yml::parse_json_in_arena (Parser *parser, csubstr json) |
| (8) like (7) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_arena (csubstr filename, csubstr json, Tree *t, id_type node_id, ParserOptions const &opts={}) |
| (1) parse JSON into an existing tree node. The filename will be used in any error messages arising during the parse. More... | |
| void | c4::yml::parse_json_in_arena (csubstr json, Tree *t, id_type node_id, ParserOptions const &opts={}) |
| (2) like (1) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_arena (csubstr filename, csubstr json, Tree *t, ParserOptions const &opts={}) |
| (3) parse JSON into an existing tree, into its root node. More... | |
| void | c4::yml::parse_json_in_arena (csubstr json, Tree *t, ParserOptions const &opts={}) |
| (4) like (3) but no filename will be reported More... | |
| void | c4::yml::parse_json_in_arena (csubstr filename, csubstr json, NodeRef node, ParserOptions const &opts={}) |
| (5) like (1) but the node is given as a NodeRef More... | |
| void | c4::yml::parse_json_in_arena (csubstr json, NodeRef node, ParserOptions const &opts={}) |
| (6) like (5) but no filename will be reported More... | |
| Tree | c4::yml::parse_json_in_arena (csubstr filename, csubstr json, ParserOptions const &opts={}) |
| (7) create a new tree, and parse JSON into its root node. More... | |
| Tree | c4::yml::parse_json_in_arena (csubstr json, ParserOptions const &opts={}) |
| (8) like (7) but no filename will be reported More... | |
| id_type | c4::yml::estimate_tree_capacity (csubstr src) |
| Quickly inspect the source to estimate the number of nodes the resulting tree is likely to have. More... | |
| Parser parser |
Definition at line 117 of file parse.cpp.
Referenced by main(), sample_deserialize_error(), sample_error_visit_location(), sample_global_allocator(), sample_location_tracking(), sample_parse_reuse_parser(), sample_parse_reuse_tree_and_parser(), sample_per_tree_allocator(), and sample_quick_overview().