Use the given visitor to visit each of the nodes in this list.
visitor
R accept<R>(AstVisitor<R> visitor);