public object VisitGroupingExpression(Grouping expression) { // Evaluate the expression before returning it. return(Evaluate(expression.expr)); }
public string VisitGroupingExpression(Grouping expression) { return(Parenthesize("Group", expression.expr)); }