Added parsing of anchors, aliases, and tags (still no semantics yet).

Fixed a silly bug in the simple key pushing (queues are FIFO!).
This commit is contained in:
Jesse Beder 2008-07-01 01:17:10 +00:00
parent 121c2e577f
commit 8180a85a3b
10 changed files with 167 additions and 34 deletions

6
node.h
View file

@ -24,9 +24,13 @@ namespace YAML
private:
void ParseHeader(Scanner *pScanner);
void ParseTag(Scanner *pScanner);
void ParseAnchor(Scanner *pScanner);
void ParseAlias(Scanner *pScanner);
private:
std::string m_tag;
bool m_alias;
std::string m_anchor, m_tag;
Content *m_pContent;
};
}