#include <parser.h>
Public Member Functions | |
bool | GetNextDocument (Node &document) |
bool | HandleNextDocument (EventHandler &eventHandler) |
void | Load (std::istream &in) |
operator bool () const | |
Parser () | |
Parser (std::istream &in) | |
void | PrintTokens (std::ostream &out) |
~Parser () | |
Private Member Functions | |
void | HandleDirective (const Token &token) |
void | HandleTagDirective (const Token &token) |
void | HandleYamlDirective (const Token &token) |
void | ParseDirectives () |
Private Attributes | |
std::auto_ptr< Directives > | m_pDirectives |
std::auto_ptr< Scanner > | m_pScanner |
Definition at line 16 of file parser.cpp.
YAML_PM::Parser::Parser | ( | std::istream & | in | ) |
Definition at line 20 of file parser.cpp.
Definition at line 25 of file parser.cpp.
bool YAML_PM::Parser::GetNextDocument | ( | Node & | document | ) |
Definition at line 61 of file parser.cpp.
void YAML_PM::Parser::HandleDirective | ( | const Token & | token | ) | [private] |
Definition at line 92 of file parser.cpp.
bool YAML_PM::Parser::HandleNextDocument | ( | EventHandler & | eventHandler | ) |
Definition at line 44 of file parser.cpp.
void YAML_PM::Parser::HandleTagDirective | ( | const Token & | token | ) | [private] |
Definition at line 126 of file parser.cpp.
void YAML_PM::Parser::HandleYamlDirective | ( | const Token & | token | ) | [private] |
Definition at line 102 of file parser.cpp.
void YAML_PM::Parser::Load | ( | std::istream & | in | ) |
Definition at line 34 of file parser.cpp.
YAML_PM::Parser::operator bool | ( | ) | const |
Definition at line 29 of file parser.cpp.
void YAML_PM::Parser::ParseDirectives | ( | ) | [private] |
Definition at line 69 of file parser.cpp.
void YAML_PM::Parser::PrintTokens | ( | std::ostream & | out | ) |
Definition at line 139 of file parser.cpp.
std::auto_ptr<Directives> YAML_PM::Parser::m_pDirectives [private] |
std::auto_ptr<Scanner> YAML_PM::Parser::m_pScanner [private] |