Maintenance Ruby 3.4 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.4.1/lib/prism/visitor.rb, line 29
def visit_child_nodes(node)
# @type self: _Visitor
node.compact_child_nodes.each { |node| node.accept(self) }
end
Visits the child nodes of node by calling accept on each one.