Пример #1
0
 public string VisitUnaryExpr(Unary expr)
 {
     return(Parenthesize(expr.Operator.Lexeme, expr.Right));
 }
Пример #2
0
        public object VisitUnaryExpr(Unary expr)
        {
            Resolve(expr.Right);

            return(null);
        }