// ParenthesizedExpression private void DefaultWalk(ParenthesizedExpression node) { if (Walk(node)) { WalkNode(node.Expression); } PostWalk(node); }
// ParenthesizedExpression private Expression Rewrite(ParenthesizedExpression node) { Expression expression = RewriteExpression(node.Expression); if ((object)expression != (object)node.Expression) { return(Ast.Parenthesize(expression)); } else { return(node); } }
// ParenthesizedExpression private void Dump(ParenthesizedExpression node) { Out("("); WalkNode(node.Expression); Out(")"); }