class Unparser::Writer::Send::Unary

Writer for unary sends

def dispatch # rubocop:disable Metrics/AbcSize

rubocop:disable Metrics/AbcSize
def dispatch # rubocop:disable Metrics/AbcSize
  name = selector
  first_child = children.fetch(0)
  if n_flipflop?(first_child) || n_and?(first_child) || n_or?(first_child)
    write 'not '
  else
    write(MAP.fetch(name, name).to_s)
    if n_int?(receiver) && selector.equal?(:+@)
      write('+')
    end
  end
  visit(receiver)
end