Mostly finished refactoring the scalar scanning.

This commit is contained in:
Jesse Beder
2008-06-30 01:31:23 +00:00
parent 5f8252ee6f
commit 0683cbf859
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();