The visitor can decide to skip child nodes by returning false in isVisit. @param visitor to visit each node and each child node.
238239240241242243244245246247248
} private static ExprNode copyVisitExpression(ExprNode expression, ExprNodeSubselectDeclaredDotVisitor visitor) { try { ExprNode node = (ExprNode) SerializableObjectCopier.copy(expression); node.accept(visitor); return node; } catch (Exception e) { throw new RuntimeException("Internal error providing expression tree: " + e.getMessage(), e); } }