Implement iterator protocol by Lexer class