instance method
Prism::Translation::RubyParser::Compiler#visit_assoc_splat_node
visit_assoc_splat_node(node)
lib/prism/translation/ruby_parser.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/prism/translation/ruby_parser.rb, line 147
def visit_assoc_splat_node(node)
if node.value.nil?
[s(node, :kwsplat)]
else
[s(node, :kwsplat, visit(node.value))]
end
end
def foo(**); bar(**); end
^^
{ **foo }
^^^^^