Finished parsing of basic data types (scalar, sequence, map).

This commit is contained in:
beder
2008-06-30 23:57:58 +00:00
parent 146122f455
commit d41503da5a
20 changed files with 434 additions and 221 deletions

View File

@@ -28,6 +28,20 @@ namespace YAML
return pToken;
}
// PopNextToken
// . Simply removes the next token on the queue.
void Scanner::PopNextToken()
{
GetNextToken();
}
// EatNextToken
// . Removes and deletes the next token on the queue
void Scanner::EatNextToken()
{
delete GetNextToken();
}
// PeekNextToken
// . Returns (but does not remove) the next token on the queue, and scans if only we need to.
Token *Scanner::PeekNextToken()