1 #ifndef _C4_YML_TAG_HPP_
2 #define _C4_YML_TAG_HPP_
17 #ifndef RYML_MAX_TAG_DIRECTIVES
19 #define RYML_MAX_TAG_DIRECTIVES 4
66 bool create_from_str(csubstr directive_);
67 size_t transform(csubstr tag, substr output,
Callbacks const& callbacks,
bool with_brackets=
true)
const;
Common utilities and infrastructure used by ryml.
csubstr from_tag_long(YamlTag_e tag)
bool is_custom_tag(csubstr tag)
csubstr normalize_tag_long(csubstr tag)
YamlTag_e
a bit mask for marking tags for types
csubstr normalize_tag(csubstr tag)
uint16_t tag_bits
the integral type necessary to cover all the bits marking node tags
csubstr from_tag(YamlTag_e tag)
YamlTag_e to_tag(csubstr tag)
@ TAG_SET
!!set Unordered set of non-equal values.
@ TAG_MERGE
!!merge Specify one or more mapping to be merged with the current one.
@ TAG_INT
!!float Mathematical integers.
@ TAG_SEQ
!!seq Sequence of arbitrary values.
@ TAG_NULL
!!null Devoid of value.
@ TAG_YAML
!!yaml Specify the default value of a mapping https://yaml.org/type/yaml.html
@ TAG_TIMESTAMP
!!timestamp A point in time https://yaml.org/type/timestamp.html
@ TAG_STR
!!str A sequence of zero or more Unicode characters.
@ TAG_BOOL
!!bool Mathematical Booleans.
@ TAG_MAP
!!map Unordered set of key: value pairs without duplicates.
@ TAG_BINARY
!!binary A sequence of zero or more octets (8 bit values).
@ TAG_PAIRS
!!pairs Ordered sequence of key: value pairs allowing duplicates.
@ TAG_VALUE
!!value Specify the default value of a mapping https://yaml.org/type/value.html
@ TAG_OMAP
!!omap Ordered sequence of key: value pairs without duplicates.
@ TAG_FLOAT
!!float Floating-point approximation to real numbers.
RYML_ID_TYPE id_type
The type of a node id in the YAML tree; to override the default type, define the macro RYML_ID_TYPE t...
a c-style callbacks class.
TagDirective const * begin() const noexcept
TagDirective const * end() const noexcept
id_type next_node_id
The next node to which this tag directive applies.