class SyntaxTree::StringLiteral

def copy(parts: nil, quote: nil, location: nil)

def copy(parts: nil, quote: nil, location: nil)
  node =
    StringLiteral.new(
      parts: parts || self.parts,
      quote: quote || self.quote,
      location: location || self.location
    )
  node.comments.concat(comments.map(&:copy))
  node
end