v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
Loading...
Searching...
No Matches
v8::internal::JSSegments Class Reference

#include <js-segments.h>

Inheritance diagram for v8::internal::JSSegments:
Collaboration diagram for v8::internal::JSSegments:

Public Member Functions

Handle< StringGranularityAsString (Isolate *isolate) const
 
void set_granularity (JSSegmenter::Granularity granularity)
 
JSSegmenter::Granularity granularity () const
 

Static Public Member Functions

static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSSegmentsCreate (Isolate *isolate, DirectHandle< JSSegmenter > segmenter, DirectHandle< String > string)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< ObjectContaining (Isolate *isolate, DirectHandle< JSSegments > segments_holder, double n)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSSegmentDataObjectCreateSegmentDataObject (Isolate *isolate, JSSegmenter::Granularity granularity, icu::BreakIterator *break_iterator, DirectHandle< String > input_string, const icu::UnicodeString &unicode_string, int32_t start_index, int32_t end_index)
 

Detailed Description

Definition at line 33 of file js-segments.h.

Member Function Documentation

◆ Containing()

MaybeDirectHandle< Object > v8::internal::JSSegments::Containing ( Isolate * isolate,
DirectHandle< JSSegments > segments_holder,
double n )
static

Definition at line 63 of file js-segments.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Create()

MaybeDirectHandle< JSSegments > v8::internal::JSSegments::Create ( Isolate * isolate,
DirectHandle< JSSegmenter > segmenter,
DirectHandle< String > string )
static

Definition at line 29 of file js-segments.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ CreateSegmentDataObject()

MaybeDirectHandle< JSSegmentDataObject > v8::internal::JSSegments::CreateSegmentDataObject ( Isolate * isolate,
JSSegmenter::Granularity granularity,
icu::BreakIterator * break_iterator,
DirectHandle< String > input_string,
const icu::UnicodeString & unicode_string,
int32_t start_index,
int32_t end_index )
static

Definition at line 109 of file js-segments.cc.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ granularity()

JSSegmenter::Granularity v8::internal::JSSegments::granularity ( ) const
inline

Definition at line 41 of file js-segments-inl.h.

Here is the caller graph for this function:

◆ GranularityAsString()

Handle< String > v8::internal::JSSegments::GranularityAsString ( Isolate * isolate) const

Definition at line 165 of file js-segments.cc.

Here is the call graph for this function:

◆ set_granularity()

kUnicodeStringOffset void v8::internal::JSSegments::set_granularity ( JSSegmenter::Granularity granularity)
inline

Definition at line 34 of file js-segments-inl.h.


The documentation for this class was generated from the following files: