#include <singledocparser.h>
Public Member Functions | |
void | HandleDocument (EventHandler &eventHandler) |
SingleDocParser (Scanner &scanner, const Directives &directives) | |
~SingleDocParser () | |
Private Types | |
typedef std::map< std::string, anchor_t > | Anchors |
Private Member Functions | |
void | HandleBlockMap (EventHandler &eventHandler) |
void | HandleBlockSequence (EventHandler &eventHandler) |
void | HandleCompactMap (EventHandler &eventHandler) |
void | HandleCompactMapWithNoKey (EventHandler &eventHandler) |
void | HandleFlowMap (EventHandler &eventHandler) |
void | HandleFlowSequence (EventHandler &eventHandler) |
void | HandleMap (EventHandler &eventHandler) |
void | HandleNode (EventHandler &eventHandler) |
void | HandleSequence (EventHandler &eventHandler) |
anchor_t | LookupAnchor (const Mark &mark, const std::string &name) const |
void | ParseAnchor (anchor_t &anchor) |
void | ParseProperties (std::string &tag, anchor_t &anchor) |
void | ParseTag (std::string &tag) |
anchor_t | RegisterAnchor (const std::string &name) |
Private Attributes | |
Anchors | m_anchors |
anchor_t | m_curAnchor |
const Directives & | m_directives |
std::auto_ptr< CollectionStack > | m_pCollectionStack |
Scanner & | m_scanner |
Definition at line 25 of file singledocparser.h.
typedef std::map<std::string, anchor_t> YAML_PM::SingleDocParser::Anchors [private] |
Definition at line 58 of file singledocparser.h.
YAML_PM::SingleDocParser::SingleDocParser | ( | Scanner & | scanner, |
const Directives & | directives | ||
) |
Definition at line 15 of file singledocparser.cpp.
Definition at line 19 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleBlockMap | ( | EventHandler & | eventHandler | ) | [private] |
Definition at line 206 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleBlockSequence | ( | EventHandler & | eventHandler | ) | [private] |
Definition at line 131 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleCompactMap | ( | EventHandler & | eventHandler | ) | [private] |
Definition at line 290 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleCompactMapWithNoKey | ( | EventHandler & | eventHandler | ) | [private] |
Definition at line 311 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleDocument | ( | EventHandler & | eventHandler | ) |
Definition at line 26 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleFlowMap | ( | EventHandler & | eventHandler | ) | [private] |
Definition at line 245 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleFlowSequence | ( | EventHandler & | eventHandler | ) | [private] |
Definition at line 164 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleMap | ( | EventHandler & | eventHandler | ) | [private] |
Definition at line 194 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleNode | ( | EventHandler & | eventHandler | ) | [private] |
Definition at line 47 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::HandleSequence | ( | EventHandler & | eventHandler | ) | [private] |
Definition at line 121 of file singledocparser.cpp.
anchor_t YAML_PM::SingleDocParser::LookupAnchor | ( | const Mark & | mark, |
const std::string & | name | ||
) | const [private] |
Definition at line 373 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::ParseAnchor | ( | anchor_t & | anchor | ) | [private] |
Definition at line 355 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::ParseProperties | ( | std::string & | tag, |
anchor_t & | anchor | ||
) | [private] |
Definition at line 327 of file singledocparser.cpp.
void YAML_PM::SingleDocParser::ParseTag | ( | std::string & | tag | ) | [private] |
Definition at line 344 of file singledocparser.cpp.
anchor_t YAML_PM::SingleDocParser::RegisterAnchor | ( | const std::string & | name | ) | [private] |
Definition at line 365 of file singledocparser.cpp.
Anchors YAML_PM::SingleDocParser::m_anchors [private] |
Definition at line 59 of file singledocparser.h.
Definition at line 61 of file singledocparser.h.
const Directives& YAML_PM::SingleDocParser::m_directives [private] |
Definition at line 55 of file singledocparser.h.
std::auto_ptr<CollectionStack> YAML_PM::SingleDocParser::m_pCollectionStack [private] |
Definition at line 56 of file singledocparser.h.
Scanner& YAML_PM::SingleDocParser::m_scanner [private] |
Definition at line 54 of file singledocparser.h.