v8  7.0.276(node11.14.0)
V8 is Google's open source JavaScript engine
String::ExternalStringResourceBase Class Reference

#include <v8.h>

Inheritance diagram for String::ExternalStringResourceBase:

Public Member Functions

virtual ~ExternalStringResourceBase ()
virtual bool IsCompressible () const

Protected Member Functions

 ExternalStringResourceBase ()
virtual void Dispose ()
 ExternalStringResourceBase (const ExternalStringResourceBase &)=delete
void operator= (const ExternalStringResourceBase &)=delete


class internal::Heap
class v8::String

Detailed Description

Definition at line 2740 of file v8.h.

Constructor & Destructor Documentation

◆ ~ExternalStringResourceBase()

virtual ~ExternalStringResourceBase ( )

Definition at line 2742 of file v8.h.

◆ ExternalStringResourceBase() [1/2]

ExternalStringResourceBase ( )

Definition at line 2747 of file v8.h.

◆ ExternalStringResourceBase() [2/2]

Member Function Documentation

◆ Dispose()

virtual void Dispose ( )

Internally V8 will call this Dispose method when the external string resource is no longer needed. The default implementation will use the delete operator. This method can be overridden in subclasses to control how allocated external string resources are disposed.

Definition at line 2755 of file v8.h.

◆ IsCompressible()

virtual bool IsCompressible ( ) const

Definition at line 2744 of file v8.h.

◆ operator=()

void operator= ( const ExternalStringResourceBase )

Friends And Related Function Documentation

◆ internal::Heap

friend class internal::Heap

Definition at line 2762 of file v8.h.

◆ v8::String

friend class v8::String

Definition at line 2763 of file v8.h.

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