Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::Dispatcher#visit_post_execution_node
visit_post_execution_node(node)
lib/prism/dispatcher.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/dispatcher.rb, line 998
def visit_post_execution_node(node)
listeners[:on_post_execution_node_enter]&.each { |listener| listener.on_post_execution_node_enter(node) }
super
listeners[:on_post_execution_node_leave]&.each { |listener| listener.on_post_execution_node_leave(node) }
end
Dispatch enter and leave events for PostExecutionNode nodes and continue walking the tree.