Пример #1
0
        protected Expr ParseNumber(string s)
        {
            int n = 0;

            while (pos < s.Length && (s[pos] >= '0' && s[pos] <= '9'))
            {
                n = n * 10 + (s[pos] - '0');
                pos++;
            }
            return(nf.Number(n));
        }