|
rapidyaml
0.9.0
parse and emit YAML, and do it fast
|
#include <tag.hpp>
Public Member Functions | |
| bool | create_from_str (csubstr directive_) |
| leaves next_node_id unfilled More... | |
| bool | create_from_str (csubstr directive_, Tree *tree) |
| size_t | transform (csubstr tag, substr output, Callbacks const &callbacks) const |
Public Attributes | |
| csubstr | handle |
| Eg. More... | |
| csubstr | prefix |
| Eg. More... | |
| id_type | next_node_id |
| The next node to which this tag directive applies. More... | |
| bool c4::yml::TagDirective::create_from_str | ( | csubstr | directive_ | ) |
leaves next_node_id unfilled
Definition at line 204 of file tag.cpp.
References handle, next_node_id, c4::yml::NONE, c4::yml::npos, and prefix.
Referenced by c4::yml::Tree::add_tag_directive(), and create_from_str().
| bool c4::yml::TagDirective::create_from_str | ( | csubstr | directive_, |
| Tree * | tree | ||
| ) |
Definition at line 225 of file tag.cpp.
References c4::yml::Tree::callbacks(), create_from_str(), c4::yml::Tree::empty(), handle, c4::yml::Tree::is_root(), c4::yml::Tree::is_stream(), next_node_id, c4::yml::NOTYPE, prefix, c4::yml::Tree::size(), and c4::yml::Tree::type().
| size_t c4::yml::TagDirective::transform | ( | csubstr | tag, |
| substr | output, | ||
| Callbacks const & | callbacks | ||
| ) | const |
Definition at line 243 of file tag.cpp.
References handle, next_node_id, c4::yml::npos, prefix, and c4::read_hex().
Referenced by c4::yml::Tree::resolve_tag().
| csubstr c4::yml::TagDirective::handle |
Eg.
!e!
in
TAG !e! tag:example.com,2000:app/
Definition at line 60 of file tag.hpp.
Referenced by c4::yml::Tree::add_tag_directive(), create_from_str(), and transform().
| csubstr c4::yml::TagDirective::prefix |
Eg.
tag:example.com,2000:app/
in
TAG !e! tag:example.com,2000:app/
Definition at line 62 of file tag.hpp.
Referenced by c4::yml::Tree::add_tag_directive(), create_from_str(), and transform().
| id_type c4::yml::TagDirective::next_node_id |
The next node to which this tag directive applies.
Definition at line 64 of file tag.hpp.
Referenced by create_from_str(), and transform().