class Prism::BasicVisitor

continues walking the tree, see the Visitor class.
implement each one that they need. For a default implementation that
methods are implemented on this visitor, so it forces the consumer to
A class that knows how to walk down the tree. None of the individual visit

def visit(node)

def visit(node)
  node&.accept(self)
end

def visit_all(nodes)

def visit_all(nodes)
  nodes.each { |node| node&.accept(self) }
end

def visit_child_nodes(node)

def visit_child_nodes(node)
  node.compact_child_nodes.each { |node| node.accept(self) }
end