v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
Public Member Functions | |
SourceResource (const char *data) | |
virtual void | Dispose () |
const char * | data () const |
size_t | length () const |
bool | IsDisposed () |
Public Member Functions inherited from String::ExternalAsciiStringResource | |
virtual | ~ExternalAsciiStringResource () |
Public Member Functions inherited from String::ExternalStringResourceBase | |
virtual | ~ExternalStringResourceBase () |
Additional Inherited Members | |
Protected Member Functions inherited from String::ExternalAsciiStringResource | |
ExternalAsciiStringResource () | |
Protected Member Functions inherited from String::ExternalStringResourceBase | |
ExternalStringResourceBase () | |
Definition at line 3046 of file test-heap.cc.
|
inlineexplicit |
Definition at line 3048 of file test-heap.cc.
|
inlinevirtual |
The string data from the underlying buffer.
Implements String::ExternalAsciiStringResource.
Definition at line 3056 of file test-heap.cc.
|
inlinevirtual |
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.
Reimplemented from String::ExternalStringResourceBase.
Definition at line 3051 of file test-heap.cc.
References v8::internal::DeleteArray(), and v8::internal::NULL.
|
inline |
Definition at line 3060 of file test-heap.cc.
References v8::internal::NULL.
Referenced by ReleaseStackTraceDataTest().
|
inlinevirtual |
The number of ASCII characters in the string.
Implements String::ExternalAsciiStringResource.
Definition at line 3058 of file test-heap.cc.