public void TransferToChinese(ref MoneyContext context, MoneyExpression prior = null)
 {
     if (context.GetNumIntList().Count == 0)
         return;
     MoneyExpression expression = new NumericExpression((NumericExpression)prior);
     expression.Interpret(context);
     context.GetNumIntList().RemoveFirst();
     if (context.GetNumIntList().Count > 0)
     {
         this.TransferToChinese(ref context, expression);
     }
 }
        public void TransferToChinese(ref MoneyContext context, MoneyExpression prior = null)
        {
            if (context.GetNumIntList().Count == 0)
            {
                return;
            }
            MoneyExpression expression = new NumericExpression((NumericExpression)prior);

            expression.Interpret(context);
            context.GetNumIntList().RemoveFirst();
            if (context.GetNumIntList().Count > 0)
            {
                this.TransferToChinese(ref context, expression);
            }
        }
 public NumericExpression(NumericExpression prior)
 {
     this.prior = prior;
     number     = new NumberExpression(prior == null ? null : prior.GetNE());
     unit       = new UnitExpression(number);
 }
 public NumericExpression(NumericExpression prior)
 {
     this.prior = prior;
     number = new NumberExpression(prior == null ? null : prior.GetNE());
     unit = new UnitExpression(number);
 }