seek method
Search for a token type, return the token next to it.
Implementation
Token seek(String type) {
late Token current;
var distance = 0;
do {
current = peek(distance);
++distance;
} while (current.lexeme != type && current.lexeme != Token.endOfFile);
return peek(distance);
}