#ifndef V8_INTL_SUPPORT
#error Internationalization is expected to be enabled.
#endif
#include "src/objects/js-segment-iterator.h"
#include <map>
#include <memory>
#include <string>
#include "src/execution/isolate.h"
#include "src/heap/factory.h"
#include "src/objects/intl-objects.h"
#include "src/objects/js-segment-iterator-inl.h"
#include "src/objects/js-segments.h"
#include "src/objects/managed-inl.h"
#include "src/objects/objects-inl.h"
#include "unicode/brkiter.h"
namespace v8 {
namespace internal {
Handle<String> JSSegmentIterator::GranularityAsString(Isolate* isolate) const { … }
MaybeHandle<JSSegmentIterator> JSSegmentIterator::Create(
Isolate* isolate, DirectHandle<String> input_string,
icu::BreakIterator* incoming_break_iterator,
JSSegmenter::Granularity granularity) { … }
MaybeHandle<JSReceiver> JSSegmentIterator::Next(
Isolate* isolate, DirectHandle<JSSegmentIterator> segment_iterator) { … }
}
}