Maintenance Ruby 3.3 gets fixes, but no new features. Switch to Ruby 4.0 →
instance method
Prism::Compiler#visit_if_node
visit_if_node(node)
lib/prism/compiler.rb
View on GitHub ↗
# File tmp/rubies/ruby-3.3.0/lib/prism/compiler.rb, line 38
def visit_child_nodes(node)
node.compact_child_nodes.map { |node| node.accept(self) }
end
Alias of #visit_child_nodes
Compile a IfNode node
See also
#visit_child_nodes
#visit_hash_pattern_node
#visit_imaginary_node
#visit_hash_node
also in
4.0 · 3.4