116 eventHandler.
OnNull(mark, anchor);
118 eventHandler.
OnScalar(mark, tag, anchor,
"");
375 Anchors::const_iterator it =
m_anchors.find(name);
void HandleFlowSequence(EventHandler &eventHandler)
const char *const UNKNOWN_ANCHOR
const char *const END_OF_SEQ_FLOW
void ParseTag(std::string &tag)
SingleDocParser(Scanner &scanner, const Directives &directives)
std::auto_ptr< CollectionStack > m_pCollectionStack
void HandleSequence(EventHandler &eventHandler)
virtual void OnSequenceEnd()=0
void HandleDocument(EventHandler &eventHandler)
virtual void OnSequenceStart(const Mark &mark, const std::string &tag, anchor_t anchor)=0
void ParseProperties(std::string &tag, anchor_t &anchor)
virtual void OnDocumentEnd()=0
anchor_t LookupAnchor(const Mark &mark, const std::string &name) const
virtual void OnNull(const Mark &mark, anchor_t anchor)=0
void HandleBlockMap(EventHandler &eventHandler)
void HandleFlowMap(EventHandler &eventHandler)
virtual void OnMapEnd()=0
const char *const MULTIPLE_ANCHORS
void HandleNode(EventHandler &eventHandler)
void ParseAnchor(anchor_t &anchor)
virtual void OnMapStart(const Mark &mark, const std::string &tag, anchor_t anchor)=0
virtual void OnDocumentStart(const Mark &mark)=0
virtual void OnAlias(const Mark &mark, anchor_t anchor)=0
const anchor_t NullAnchor
const char *const END_OF_SEQ
void HandleMap(EventHandler &eventHandler)
const Directives & m_directives
const char *const END_OF_MAP_FLOW
const char *const END_OF_MAP
const char *const MULTIPLE_TAGS
const std::string Translate(const Directives &directives)
void HandleCompactMap(EventHandler &eventHandler)
void HandleCompactMapWithNoKey(EventHandler &eventHandler)
void HandleBlockSequence(EventHandler &eventHandler)
virtual void OnScalar(const Mark &mark, const std::string &tag, anchor_t anchor, const std::string &value)=0
anchor_t RegisterAnchor(const std::string &name)