protected override Token ExtractToken() { Token token; char currentChar = CurrentChar(); // Construct the next token. The current character determines the // token type. if (currentChar == Source.EOF) { token = new EofToken(source); } else { token = new Token(source); } return token; }
public Token NextToken() { currentToken = ExtractToken (); return currentToken; }