parserstate.h 298 Bytes
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <string>
#include <map>

namespace YAML
{
	struct Version {
		int major, minor;
	};

	struct ParserState
	{
		Version version;
		std::map <std::string, std::string> tags;

		void Reset();
		std::string TranslateTag(const std::string& handle) const;
	};
}