class SyntaxTree::CallChainFormatter

def attach_directly?(node)

format it separately here.
want to indent the first call. So we'll pop off the first children and
For certain nodes, we want to attach directly to the end and don't
def attach_directly?(node)
  case node.receiver
  when ArrayLiteral, HashLiteral, Heredoc, IfNode, UnlessNode,
       XStringLiteral
    true
  else
    false
  end
end