Example #1
0
 public string VisitUnaryExpr(Unary expr)
 {
     return(Parenthesize(expr.Operator.Lexeme, expr.Right));
 }
Example #2
0
        public object VisitUnaryExpr(Unary expr)
        {
            Resolve(expr.Right);

            return(null);
        }