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:
beder
2008-07-01 01:17:10 +00:00
parent d41503da5a
commit 104da5c244
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;
};
}