Refactoring 'LWspLexer'