Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::BasicVisitor#visit
visit(node)
lib/prism/visitor.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/visitor.rb, line 16
def visit(node)
node&.accept(self)
end
Calls accept on the given node if it is not nil, which in turn should call back into this visitor by calling the appropriate visit_* method.