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

#include <js-segment-iterator.h>

Inheritance diagram for v8::internal::JSSegmentIterator:
Collaboration diagram for v8::internal::JSSegmentIterator:

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< JSSegmentIteratorCreate (Isolate *isolate, DirectHandle< String > input_string, icu::BreakIterator *icu_break_iterator, JSSegmenter::Granularity granularity)
 
static V8_WARN_UNUSED_RESULT MaybeDirectHandle< JSReceiverNext (Isolate *isolate, DirectHandle< JSSegmentIterator > segment_iterator_holder)
 

Detailed Description

Definition at line 33 of file js-segment-iterator.h.

Member Function Documentation

◆ Create()

MaybeDirectHandle< JSSegmentIterator > v8::internal::JSSegmentIterator::Create ( Isolate * isolate,
DirectHandle< String > input_string,
icu::BreakIterator * icu_break_iterator,
JSSegmenter::Granularity granularity )
static

Definition at line 32 of file js-segment-iterator.cc.

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

◆ granularity()

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

Definition at line 44 of file js-segment-iterator-inl.h.

Here is the caller graph for this function:

◆ GranularityAsString()

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

Definition at line 27 of file js-segment-iterator.cc.

Here is the call graph for this function:

◆ Next()

MaybeDirectHandle< JSReceiver > v8::internal::JSSegmentIterator::Next ( Isolate * isolate,
DirectHandle< JSSegmentIterator > segment_iterator_holder )
static

Definition at line 75 of file js-segment-iterator.cc.

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

◆ set_granularity()

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

Definition at line 36 of file js-segment-iterator-inl.h.


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