Esempio n. 1
0
 public string VisitUnaryExpr(Unary expr)
 {
     return(this.Parenthesize(expr.operation.Lexeme, expr.right));
 }
Esempio n. 2
0
 public object visit_Unary_Expr(Unary expr)
 {
     resolve(expr.right);
     return(null);
 }
Esempio n. 3
0
 public string VisitUnaryExpr(Unary expr)
 {
     return(Paren(expr.Op.Lexeme, expr.Right));
 }
Esempio n. 4
0
 public object VisitUnaryExpr(Unary expr)
 {
     Resolve(expr.Right);
     return(null);
 }
Esempio n. 5
0
 public string Visit(Unary unary)
 {
     return(Parenthesize(unary.op.Lexeme, unary.right));
 }
Esempio n. 6
0
 public string VisitUnaryExpr(Unary expr) => Parenthesize(expr.Operator.Lexeme, expr.Right);