#ifndef V8_INTL_SUPPORT
#error Internationalization is expected to be enabled.
#endif
#include "src/objects/js-segmenter.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-segmenter-inl.h"
#include "src/objects/managed-inl.h"
#include "src/objects/objects-inl.h"
#include "src/objects/option-utils.h"
#include "unicode/brkiter.h"
namespace v8 {
namespace internal {
MaybeHandle<JSSegmenter> JSSegmenter::New(Isolate* isolate,
DirectHandle<Map> map,
Handle<Object> locales,
Handle<Object> input_options) { … }
Handle<JSObject> JSSegmenter::ResolvedOptions(
Isolate* isolate, DirectHandle<JSSegmenter> segmenter) { … }
Handle<String> JSSegmenter::GranularityAsString(Isolate* isolate) const { … }
Handle<String> JSSegmenter::GetGranularityString(Isolate* isolate,
Granularity granularity) { … }
const std::set<std::string>& JSSegmenter::GetAvailableLocales() { … }
}
}