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

#include <string.h>

Inheritance diagram for v8::internal::FlatStringReader:
Collaboration diagram for v8::internal::FlatStringReader:

Public Member Functions

 FlatStringReader (Isolate *isolate, DirectHandle< String > str)
 
void PostGarbageCollection () override
 
base::uc32 Get (uint32_t index) const
 
template<typename Char >
Char Get (uint32_t index) const
 
uint32_t length () const
 
- Public Member Functions inherited from v8::internal::Relocatable
 Relocatable (Isolate *isolate)
 
virtual ~Relocatable ()
 
virtual void IterateInstance (RootVisitor *v)
 

Private Attributes

DirectHandle< Stringstr_
 
bool is_one_byte_
 
uint32_t const length_
 
const void * start_
 

Additional Inherited Members

- Static Public Member Functions inherited from v8::internal::Relocatable
static void PostGarbageCollectionProcessing (Isolate *isolate)
 
static int ArchiveSpacePerThread ()
 
static char * ArchiveState (Isolate *isolate, char *to)
 
static char * RestoreState (Isolate *isolate, char *from)
 
static void Iterate (Isolate *isolate, RootVisitor *v)
 
static void Iterate (RootVisitor *v, Relocatable *top)
 
static char * Iterate (RootVisitor *v, char *t)
 

Detailed Description

Definition at line 1301 of file string.h.

Constructor & Destructor Documentation

◆ FlatStringReader()

v8::internal::FlatStringReader::FlatStringReader ( Isolate * isolate,
DirectHandle< String > str )

Definition at line 2050 of file string.cc.

Here is the call graph for this function:

Member Function Documentation

◆ Get() [1/2]

base::uc32 v8::internal::FlatStringReader::Get ( uint32_t index) const
inline

Definition at line 390 of file string-inl.h.

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

◆ Get() [2/2]

template<typename Char >
Char v8::internal::FlatStringReader::Get ( uint32_t index) const
inline

Definition at line 399 of file string-inl.h.

◆ length()

uint32_t v8::internal::FlatStringReader::length ( ) const
inline

Definition at line 1308 of file string.h.

◆ PostGarbageCollection()

void v8::internal::FlatStringReader::PostGarbageCollection ( )
overridevirtual

Reimplemented from v8::internal::Relocatable.

Definition at line 2059 of file string.cc.

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

Member Data Documentation

◆ is_one_byte_

bool v8::internal::FlatStringReader::is_one_byte_
private

Definition at line 1312 of file string.h.

◆ length_

uint32_t const v8::internal::FlatStringReader::length_
private

Definition at line 1313 of file string.h.

◆ start_

const void* v8::internal::FlatStringReader::start_
private

Definition at line 1314 of file string.h.

◆ str_

DirectHandle<String> v8::internal::FlatStringReader::str_
private

Definition at line 1311 of file string.h.


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