1 #ifndef PARSER_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 2 #define PARSER_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM 4 #if defined(_MSC_VER) || (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 30 operator bool()
const;
32 void Load(std::istream& in);
35 bool GetNextDocument(
Node& document);
37 void PrintTokens(std::ostream&
out);
40 void ParseDirectives();
41 void HandleDirective(
const Token& token);
42 void HandleYamlDirective(
const Token& token);
43 void HandleTagDirective(
const Token& token);
51 #endif // PARSER_H_62B23520_7C8E_11DE_8A39_0800200C9A66_PM
std::auto_ptr< Scanner > m_pScanner
std::auto_ptr< Directives > m_pDirectives