113 switch(curTop.
Type()) {
virtual void OnDocumentEnd()
virtual void OnAlias(const Mark &mark, anchor_t anchor)
virtual void OnSequenceStart(const Mark &mark, const std::string &tag, anchor_t anchor)
virtual void OnNull(const Mark &mark, anchor_t anchor)
void SetScalarData(const std::string &data)
virtual void OnDocumentStart(const Mark &mark)
void Insert(Node &key, Node &value)
virtual void OnSequenceEnd()
void RegisterAnchor(anchor_t anchor, Node &node)
NodeType::value Type() const
virtual void OnScalar(const Mark &mark, const std::string &tag, anchor_t anchor, const std::string &value)
virtual void OnMapStart(const Mark &mark, const std::string &tag, anchor_t anchor)
std::stack< Node * > m_stack
std::stack< Node * > m_pendingKeys
void Init(NodeType::value type, const Mark &mark, const std::string &tag)
std::stack< bool > m_didPushKey