v8  6.8.275 (node 10.15.3)
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
 

Friends

class internal::Heap
 
class v8::String
 

Detailed Description

Definition at line 2759 of file v8.h.

Constructor & Destructor Documentation

◆ ~ExternalStringResourceBase()

virtual ~ExternalStringResourceBase ( )
inlinevirtual

Definition at line 2761 of file v8.h.

◆ ExternalStringResourceBase() [1/2]

ExternalStringResourceBase ( )
inlineprotected

Definition at line 2766 of file v8.h.

◆ ExternalStringResourceBase() [2/2]

Member Function Documentation

◆ Dispose()

virtual void Dispose ( )
inlineprotectedvirtual

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 2774 of file v8.h.

◆ IsCompressible()

virtual bool IsCompressible ( ) const
inlinevirtual

Definition at line 2763 of file v8.h.

◆ operator=()

void operator= ( const ExternalStringResourceBase )
protecteddelete

Friends And Related Function Documentation

◆ internal::Heap

friend class internal::Heap
friend

Definition at line 2781 of file v8.h.

◆ v8::String

friend class v8::String
friend

Definition at line 2782 of file v8.h.


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