class SyntaxTree::Unary

def copy(operator: nil, statement: nil, location: nil)

def copy(operator: nil, statement: nil, location: nil)
  node =
    Unary.new(
      operator: operator || self.operator,
      statement: statement || self.statement,
      location: location || self.location
    )
  node.comments.concat(comments.map(&:copy))
  node
end