v8
3.14.5(node0.10.28)
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 2202 of file test-heap.cc.
|
inlineexplicit |
Definition at line 2204 of file test-heap.cc.
|
inlinevirtual |
The string data from the underlying buffer.
Implements String::ExternalAsciiStringResource.
Definition at line 2212 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 2207 of file test-heap.cc.
References v8::internal::DeleteArray(), and v8::internal::NULL.
|
inline |
|
inlinevirtual |
The number of ASCII characters in the string.
Implements String::ExternalAsciiStringResource.
Definition at line 2214 of file test-heap.cc.