class SyntaxTree::ARefField
def copy(collection: nil, index: nil, location: nil)
def copy(collection: nil, index: nil, location: nil) node = ARefField.new( collection: collection || self.collection, index: index || self.index, location: location || self.location ) node.comments.concat(comments.map(&:copy)) node end