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:
Jesse Beder 2008-06-26 06:49:50 +00:00
parent 4ed7f62431
commit bcbca461de
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;