#ifndef V8_INTL_SUPPORT
#error Internationalization is expected to be enabled.
#endif
#include "src/objects/js-break-iterator.h"
#include "src/objects/intl-objects.h"
#include "src/objects/js-break-iterator-inl.h"
#include "src/objects/managed-inl.h"
#include "src/objects/option-utils.h"
#include "unicode/brkiter.h"
namespace v8 {
namespace internal {
namespace {
enum class Type { … };
}
MaybeHandle<JSV8BreakIterator> JSV8BreakIterator::New(
Isolate* isolate, DirectHandle<Map> map, Handle<Object> locales,
Handle<Object> options_obj, const char* service) { … }
namespace {
Type GetType(icu::BreakIterator* break_iterator) { … }
Handle<String> TypeAsString(Isolate* isolate, Type type) { … }
}
Handle<JSObject> JSV8BreakIterator::ResolvedOptions(
Isolate* isolate, DirectHandle<JSV8BreakIterator> break_iterator) { … }
void JSV8BreakIterator::AdoptText(
Isolate* isolate, DirectHandle<JSV8BreakIterator> break_iterator_holder,
Handle<String> text) { … }
Handle<Object> JSV8BreakIterator::Current(
Isolate* isolate, DirectHandle<JSV8BreakIterator> break_iterator) { … }
Handle<Object> JSV8BreakIterator::First(
Isolate* isolate, DirectHandle<JSV8BreakIterator> break_iterator) { … }
Handle<Object> JSV8BreakIterator::Next(
Isolate* isolate, DirectHandle<JSV8BreakIterator> break_iterator) { … }
Tagged<String> JSV8BreakIterator::BreakType(
Isolate* isolate, DirectHandle<JSV8BreakIterator> break_iterator) { … }
const std::set<std::string>& JSV8BreakIterator::GetAvailableLocales() { … }
}
}