class Rufo::Formatter

def visit_call_args(node)

def visit_call_args(node)
  # [:args_add_block, args, block]
  _, args, block_arg = node
  if !args.empty? && args[0] == :args_add_star
    # arg1, ..., *star
    visit args
  else
    visit_comma_separated_list args
  end
  # block_arg will be...
  #  - named => node
  #  - anonymous => nil
  #  - no arg => false
  if block_arg || block_arg.nil?
    skip_space_or_newline
    if comma?
      indent(next_indent) do
        write_params_comma
      end
    end
    consume_op "&"
    skip_space_or_newline
    if block_arg
      visit block_arg
    end
  end
end