Beispiel #1
0
 public string CheapPrettyString()
 {
     return(target.CheapPrettyString() + " = " + expr.CheapPrettyString());
 }
Beispiel #2
0
            public override string CheapPrettyString()
            {
                string operation = op == OperationT.ADDITION ? "+" : "-";

                return("(" + leftExp.CheapPrettyString() + " " + operation + " " + rightExp.CheapPrettyString() + ")");
            }