mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-04 14:01:25 +12:00
Finished parsing of basic data types (scalar, sequence, map).
This commit is contained in:
parent
c1966ba3fc
commit
121c2e577f
20 changed files with 434 additions and 221 deletions
14
scanner.cpp
14
scanner.cpp
|
@ -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()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue