Refactoring 'AlphaLexer'