class SyntaxTree::StringDVar

def copy(variable: nil, location: nil)

def copy(variable: nil, location: nil)
  node =
    StringDVar.new(
      variable: variable || self.variable,
      location: location || self.location
    )
  node.comments.concat(comments.map(&:copy))
  node
end