A synchronous lexer: undefined indicates the end of its token stream.
Produce the next token, or undefined at EOF.
A synchronous lexer: undefined indicates the end of its token stream.