Beginning of first attempt to parse.

Will be completely wiped, I think, in favor of a Scanner (to tokens), then Parser mechanism.
This commit is contained in:
beder
2008-06-26 06:49:50 +00:00
parent 2d0f324529
commit e6977cbe4e
11 changed files with 247 additions and 9 deletions

3
node.h
View File

@@ -10,6 +10,7 @@ namespace YAML
const std::string MapTag = "!!map";
class Content;
class Parser;
class Node
{
@@ -18,7 +19,7 @@ namespace YAML
~Node();
void Clear();
void Read(std::istream& in);
void Read(Parser *pParser, const std::string& token);
private:
std::string m_tag;