public static string ToFriendlyString(this UnoOpType me) { switch (me) { case UnoOpType.Minus: return("-"); case UnoOpType.Not: return("!"); default: return("ErrorUnoOpType"); } }
public UnoExprNode(ExprNode expr, UnoOpType type) { Expr = expr; OpType = type; }