v8
3.11.10(node0.8.26)
V8 is Google's open source JavaScript engine
|
#include <externalize-string-extension.h>
Public Member Functions | |
ExternalizeStringExtension () | |
virtual v8::Handle < v8::FunctionTemplate > | GetNativeFunction (v8::Handle< v8::String > name) |
Public Member Functions inherited from Extension | |
Extension (const char *name, const char *source=0, int dep_count=0, const char **deps=0, int source_length=-1) | |
virtual | ~Extension () |
const char * | name () const |
size_t | source_length () const |
const String::ExternalAsciiStringResource * | source () const |
int | dependency_count () |
const char ** | dependencies () |
void | set_auto_enable (bool value) |
bool | auto_enable () |
Static Public Member Functions | |
static v8::Handle< v8::Value > | Externalize (const v8::Arguments &args) |
static v8::Handle< v8::Value > | IsAscii (const v8::Arguments &args) |
static void | Register () |
Definition at line 36 of file externalize-string-extension.h.
|
inline |
Definition at line 38 of file externalize-string-extension.h.
|
static |
Definition at line 75 of file externalize-string-extension.cc.
References HEAP, Arguments::Length(), String::New(), Utils::OpenHandle(), v8::ThrowException(), v8::Undefined(), and String::WriteToFlat().
Referenced by ExternalizeStringExtension::GetNativeFunction().
|
virtual |
Reimplemented from Extension.
Definition at line 64 of file externalize-string-extension.cc.
References ASSERT, ExternalizeStringExtension::Externalize(), ExternalizeStringExtension::IsAscii(), and FunctionTemplate::New().
|
static |
Definition at line 124 of file externalize-string-extension.cc.
References v8::False(), Arguments::Length(), String::New(), Utils::OpenHandle(), v8::ThrowException(), and v8::True().
Referenced by ExternalizeStringExtension::GetNativeFunction().
|
static |
Definition at line 135 of file externalize-string-extension.cc.
Referenced by Bootstrapper::Initialize().