Refactoring 'DigitLexer' and 'DigitToken'