Example #1
0
 public string VisitGroupingExpr(Expr.Grouping expr)
 {
     return($"({expr.Expression.Accept(this)})");
 }
Example #2
0
 public object VisitGroupingExpr(Expr.Grouping expr)
 {
     return(Evaluate(expr.Expression));
 }
Example #3
0
 public string VisitGroupingExpr(Expr.Grouping expr)
 {
     return(Parenthesize("group", expr.Expression));
 }