public override void ToString(StringBuilder sb)
        {
            sb.Append("(");
            set1.ToString(sb);
            switch (op)
            {
            case MonaBinarySetOperator.Intersection:
                sb.Append(" inters "); break;

            case MonaBinarySetOperator.Union:
                sb.Append(" U "); break;

            default: throw new MonaException("undefined operator");
            }
            set2.ToString(sb);
            sb.Append(")");
        }
Example #2
0
 public override void ToString(StringBuilder sb)
 {
     set1.ToString(sb); sb.Append(" = "); set2.ToString(sb);
 }
Example #3
0
 public override void ToString(StringBuilder sb)
 {
     pos.ToString(sb);
     sb.Append(" in ");
     set.ToString(sb);
 }