#include "third_party/blink/renderer/core/editing/text_segments.h"
#include "third_party/blink/renderer/core/editing/position.h"
#include "third_party/blink/renderer/core/editing/text_offset_mapping.h"
namespace blink {
TextSegments::Finder::Position::Position() = default;
TextSegments::Finder::Position::Position(unsigned offset, Type type)
: … { … }
TextSegments::Finder::Position TextSegments::Finder::Position::Before(
unsigned offset) { … }
TextSegments::Finder::Position TextSegments::Finder::Position::After(
unsigned offset) { … }
unsigned TextSegments::Finder::Position::Offset() const { … }
PositionInFlatTree TextSegments::FindBoundaryForward(
const PositionInFlatTree& position,
Finder* finder) { … }
PositionInFlatTree TextSegments::FindBoundaryBackward(
const PositionInFlatTree& position,
Finder* finder) { … }
}