예제 #1
0
 static public void AppendEx(this StringBuilder builder, YOperator op)
 {
     if (op == YOperator.EqualsEquals)
     {
         builder.Append("==");
     }
     else if (op == YOperator.Minus)
     {
         builder.Append("-");
     }
 }
예제 #2
0
 public YPrefixUnaryExpr(YOperator @operator, YExpr operand)
 {
     Operator = @operator;
     Operand  = operand;
 }
예제 #3
0
 public YBinaryExpr(YExpr left, YExpr right, YOperator operation)
 {
     Left     = left;
     Right    = right;
     Operator = operation;
 }