parserstate.h 493 Bytes
Newer Older
1
2
#pragma once

jbeder's avatar
jbeder committed
3
4
5
6
#ifndef PARSERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66
#define PARSERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66


7
8
9
10
11
12
#include <string>
#include <map>

namespace YAML
{
	struct Version {
13
		bool isDefault;
14
15
		int major, minor;
	};
16
	
17
18
	struct ParserState
	{
19
20
21
		ParserState();
		const std::string TranslateTagHandle(const std::string& handle) const;
	
22
23
24
25
		Version version;
		std::map <std::string, std::string> tags;
	};
}
jbeder's avatar
jbeder committed
26
27

#endif // PARSERSTATE_H_62B23520_7C8E_11DE_8A39_0800200C9A66