1 #ifndef _C4_YML_REFERENCE_RESOLVER_HPP_
2 #define _C4_YML_REFERENCE_RESOLVER_HPP_
5 #include "c4/yml/detail/stack.hpp"
36 void resolve(
Tree *t_);
52 void reset_(
Tree *t_);
53 void gather_anchors_and_refs_();
54 void gather_anchors_and_refs__(
id_type n);
57 id_type lookup_(RefData *C4_RESTRICT ra);
61 Tree *C4_RESTRICT m_tree;
63 detail::stack<RefData> m_refs;
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...
wraps a NodeType_e element with some syntactic sugar and predicates
Reusable object to resolve references/aliases in the tree.
ReferenceResolver()=default