1 #ifndef PARSER_H_62B23520_7C8E_11DE_8A39_0800200C9A66 2 #define PARSER_H_62B23520_7C8E_11DE_8A39_0800200C9A66 4 #if defined(_MSC_VER) || \ 5 (defined(__GNUC__) && (__GNUC__ == 3 && __GNUC_MINOR__ >= 4) || \ 6 (__GNUC__ >= 4)) // GCC supports "pragma once" correctly since 3.4 13 #include "yaml-cpp/dll.h" 14 #include "yaml-cpp/noncopyable.h" 36 explicit Parser(std::istream& in);
41 explicit operator bool()
const;
47 void Load(std::istream& in);
57 void PrintTokens(std::ostream& out);
64 void ParseDirectives();
66 void HandleDirective(
const Token& token);
72 void HandleYamlDirective(
const Token& token);
78 void HandleTagDirective(
const Token& token);
81 std::unique_ptr<Scanner> m_pScanner;
82 std::unique_ptr<Directives> m_pDirectives;
86 #endif // PARSER_H_62B23520_7C8E_11DE_8A39_0800200C9A66 Definition: eventhandler.h:18
A parser turns a stream of bytes into one stream of "events" per YAML document in the input stream...
Definition: parser.h:27
Definition: noncopyable.h:14
Definition: DrawableObjectLoader.h:10