Exemple #1
0
 public override void WriteTo(System.IO.TextWriter w)
 {
     if (Operator.Has(OperatorRequirement.FunctionCall))
     {
         w.Write(Operator);
         w.Write("(");
         Lhs.WriteTo(w);
         w.Write(", ");
         Rhs.WriteTo(w);
         w.Write(")");
     }
     else if (Operator.Has(OperatorRequirement.StringLengthLimit))
     {
         w.Write(GlobalFunction.STRL);
         w.Write("(");
         Lhs.WriteTo(w);
         w.Write(Operator);
         Rhs.WriteTo(w);
         w.Write(")");
     }
     else
     {
         w.Write("(");
         Lhs.WriteTo(w);
         w.Write(Operator);
         Rhs.WriteTo(w);
         w.Write(")");
     }
 }
 public override void WriteTo(System.IO.TextWriter w)
 {
     w.Write("(");
     Lhs.WriteTo(w);
     w.Write("||");
     Rhs.WriteTo(w);
     w.Write(")");
 }