class SyntaxTree::CallNode
def format_contents(q)
def format_contents(q) call_operator = CallOperatorFormatter.new(operator) q.group do q.format(receiver) # If there are trailing comments on the call operator, then we need to # use the trailing form as opposed to the leading form. q.format(call_operator) if call_operator.comments.any? q.group do q.indent do if receiver.comments.any? || call_operator.comments.any? q.breakable_force end if call_operator.comments.empty? q.format(call_operator, stackable: false) end q.format(message) if message != :call end format_arguments(q) end end end