Tags, anchors, and aliases are all parsed now.

This commit is contained in:
beder
2008-07-01 06:28:10 +00:00
parent 104da5c244
commit 8eb50fe9d0
19 changed files with 303 additions and 93 deletions

20
parserstate.h Normal file
View File

@@ -0,0 +1,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;
};
}