public object visitAssignExpr(Expr.Assign expr) { object value = evaluate(expr.value); environment.assign(expr.name, value); return(value); }
public string visitAssignExpr(Expr.Assign expr) => parenthesize(expr.name.lexeme, expr.value);