/** * Visits the AST nodes, then the comment nodes. * This method is equivalent to calling {@link #visit}, then * {@link #visitComments}. The return value * is ignored while visiting comment nodes. * @param visitor the callback object. */ public void visitAll(NodeVisitor visitor) { visit(visitor); visitComments(visitor); }
/** * Visits the AST nodes, then the comment nodes. * This method is equivalent to calling {@link #visit}, then * {@link #visitComments}. The return value * is ignored while visiting comment nodes. * @param visitor the callback object. */ public void visitAll(NodeVisitor visitor) { visit(visitor); visitComments(visitor); }
/** * Visits the AST nodes, then the comment nodes. * This method is equivalent to calling {@link #visit}, then * {@link #visitComments}. The return value * is ignored while visiting comment nodes. * @param visitor the callback object. */ public void visitAll(NodeVisitor visitor) { visit(visitor); visitComments(visitor); }
/** * Visits the AST nodes, then the comment nodes. * This method is equivalent to calling {@link #visit}, then * {@link #visitComments}. The return value * is ignored while visiting comment nodes. * @param visitor the callback object. */ public void visitAll(NodeVisitor visitor) { visit(visitor); visitComments(visitor); }