Example #1
0
        public override string ToString()
        {
            var buf = new StringBuilder();

            buf.Append("(");
            buf.Append(Lhs.ToString());
            foreach (var t in Terms)
            {
                buf.Append(" ");
                buf.Append(t.Op.ToString());
                buf.Append(" ");
                buf.Append(t.Rhs.ToString());
            }
            buf.Append(")");
            return(buf.ToString());
        }
Example #2
0
 public override string ToString()
 {
     return(String.Format("({1})-postfix-{0}", Op.ToString(), Lhs.ToString()));
 }
Example #3
0
 public override string ToString()
 {
     return(String.Format("{0}({1})", Op.ToString(), Rhs.ToString()));
 }
Example #4
0
 public override string ToString()
 {
     return(String.Format("({0})-postfix-{0}", Inner.ToString()));
 }