Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::BasicVisitor#visit_child_nodes
visit_child_nodes(node)
lib/prism/visitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/visitor.rb, line 26
def visit_child_nodes(node)
node.compact_child_nodes.each { |node| node.accept(self) }
end
Visits the child nodes of node by calling accept on each one.