chromium/third_party/blink/renderer/platform/wtf/text/text_offset_map.cc

// Copyright 2019 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "third_party/blink/renderer/platform/wtf/text/text_offset_map.h"

#include "third_party/blink/renderer/platform/wtf/text/wtf_string.h"

namespace WTF {

namespace {

// Returns a negative value:
//     The specified entry represents a removal of characters.
// Returns a positive value:
//     The specified entry represents an addition of characters.
// Returns zero:
//     The specified entry is redundant.
int ChunkLengthDifference(const Vector<TextOffsetMap::Entry>& entries,
                          wtf_size_t index) {}

}  // namespace

std::ostream& operator<<(std::ostream& stream,
                         const TextOffsetMap::Entry& entry) {}

std::ostream& operator<<(std::ostream& stream,
                         const Vector<TextOffsetMap::Entry>& entries) {}

TextOffsetMap::TextOffsetMap(const TextOffsetMap& map12,
                             const TextOffsetMap& map23) {}

void TextOffsetMap::Append(wtf_size_t source, wtf_size_t target) {}

void TextOffsetMap::Append(const icu::Edits& edits) {}

}  // namespace WTF