Mostly finished refactoring the scalar scanning.

This commit is contained in:
beder
2008-06-30 01:31:23 +00:00
parent 4de9cb48a5
commit 67250833b8
6 changed files with 192 additions and 378 deletions

View File

@@ -19,19 +19,20 @@ namespace YAML
~Scanner();
Token *GetNextToken();
void Scan();
private:
// scanning
void ScanNextToken();
void ScanToNextToken();
Token *PushIndentTo(int column, bool sequence);
void PopIndentTo(int column);
// checking input
void InsertSimpleKey();
bool VerifySimpleKey();
void VerifyAllSimpleKeys();
void Scan();
private:
bool IsWhitespaceToBeEaten(char ch);
bool IsDocumentStart();
bool IsDocumentEnd();