class RuboCop::Cop::Style::Not

def requires_parens?(child)

def requires_parens?(child)
  child.and_type? || child.or_type? ||
    child.send_type? && child.binary_operation? ||
    child.if_type? && child.ternary?
end