Exemple #1
0
 public bool Next()
 {
     PassWhiteSpace();
     if (EndOfInput)
         return false;
     _currentToken = ParseOperator() ?? ParseNumber();
     PassWhiteSpace();
     return true;
 }
Exemple #2
0
 char? Read()
 {
     var c = _input.Read();
     if (c != null)
     {
         Column++;
     }
     if (c == null)
         _currentToken = new Token(TokenType.End);
     return c;
 }