AjRools.Expert.Compiler.Lexer.NextInteger C# (CSharp) Метод

NextInteger() приватный Метод

private NextInteger ( char ch ) : Token
ch char
Результат Token
        private Token NextInteger(char ch)
        {
            string value = ch.ToString();
            int ich;

            for (ich = this.NextChar(); ich != -1 && char.IsDigit((char)ich); ich = this.reader.Read())
                value += (char)ich;

            if (ich != -1)
                this.PushChar(ich);

            return new Token(value, TokenType.Integer);
        }