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