5#ifndef V8_OBJECTS_JS_SEGMENTER_H_
6#define V8_OBJECTS_JS_SEGMENTER_H_
9#error Internationalization is expected to be enabled.
20#include "unicode/uversion.h"
32#include "torque-generated/src/objects/js-segmenter-tq.inc"
34class JSSegmenter :
public TorqueGeneratedJSSegmenter<JSSegmenter, JSObject> {
67 DEFINE_TORQUE_GENERATED_JS_SEGMENTER_FLAGS()
81#include "src/objects/object-macros-undef.h"
static Handle< String > GetGranularityString(Isolate *isolate, Granularity granularity)
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSSegmenter > New(Isolate *isolate, DirectHandle< Map > map, DirectHandle< Object > locales, DirectHandle< Object > options)
void set_granularity(Granularity granularity)
static V8_EXPORT_PRIVATE const std::set< std::string > & GetAvailableLocales()
Granularity granularity() const
Handle< String > GranularityAsString(Isolate *isolate) const
static V8_WARN_UNUSED_RESULT DirectHandle< JSObject > ResolvedOptions(Isolate *isolate, DirectHandle< JSSegmenter > segmenter_holder)
#define DECL_ACCESSORS(name,...)
#define DECL_PRINTER(Name)
#define TQ_OBJECT_CONSTRUCTORS(Type)
#define V8_EXPORT_PRIVATE
#define V8_WARN_UNUSED_RESULT