|
rapidyaml
0.10.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... | |
| size_t | transform (csubstr tag, substr output, Callbacks const &callbacks, bool with_brackets=true) 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 203 of file tag.cpp.
References handle, next_node_id, c4::yml::NONE, c4::yml::npos, and prefix.
Referenced by c4::yml::extra::EventHandlerInts::add_directive().
| size_t c4::yml::TagDirective::transform | ( | csubstr | tag, |
| substr | output, | ||
| Callbacks const & | callbacks, | ||
| bool | with_brackets = true |
||
| ) | const |
Definition at line 224 of file tag.cpp.
References handle, next_node_id, c4::yml::npos, prefix, and c4::read_hex().
Referenced by c4::yml::extra::EventHandlerInts::_transform_directive(), and 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::extra::EventHandlerInts::_transform_directive(), c4::yml::extra::EventHandlerInts::add_directive(), c4::yml::Tree::add_tag_directive(), create_from_str(), c4::yml::Tree::resolve_tag(), 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::extra::EventHandlerInts::_transform_directive(), c4::yml::extra::EventHandlerInts::add_directive(), 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 c4::yml::extra::EventHandlerInts::add_directive(), create_from_str(), c4::yml::Tree::resolve_tag(), and transform().