|
| 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.
|
| 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
|
| 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.
|
| void | c4::yml::parse_in_arena (csubstr yaml, Tree *t, ParserOptions const &opts={}) |
| | (4) like (3) but no filename will be reported
|
| 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
|
| void | c4::yml::parse_in_arena (csubstr yaml, NodeRef node, ParserOptions const &opts={}) |
| | (6) like (5) but no filename will be reported
|
| 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.
|
| Tree | c4::yml::parse_in_arena (csubstr yaml, ParserOptions const &opts={}) |
| | (8) like (7) but no filename will be reported
|
| 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.
|
| 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
|
| 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.
|
| void | c4::yml::parse_json_in_arena (csubstr json, Tree *t, ParserOptions const &opts={}) |
| | (4) like (3) but no filename will be reported
|
| 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
|
| void | c4::yml::parse_json_in_arena (csubstr json, NodeRef node, ParserOptions const &opts={}) |
| | (6) like (5) but no filename will be reported
|
| 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.
|
| Tree | c4::yml::parse_json_in_arena (csubstr json, ParserOptions const &opts={}) |
| | (8) like (7) but no filename will be reported
|
parse a read-only (immutable) YAML source buffer.
This is achieved by first copying the contents of the buffer to the tree's arena, and then calling parse_in_arena() .