v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
NativeFunctionExtension Class Reference
Inheritance diagram for NativeFunctionExtension:
Collaboration diagram for NativeFunctionExtension:

Public Member Functions

 NativeFunctionExtension (const char *name, const char *source, v8::FunctionCallback fun=&Echo)
 
virtual v8::Handle
< v8::FunctionTemplate
GetNativeFunctionTemplate (v8::Isolate *isolate, v8::Handle< v8::String > name)
 

Static Public Member Functions

static void Echo (const v8::FunctionCallbackInfo< v8::Value > &args)
 

Detailed Description

Definition at line 6851 of file test-api.cc.

Constructor & Destructor Documentation

NativeFunctionExtension ( const char *  name,
const char *  source,
v8::FunctionCallback  fun = &Echo 
)
inline

Definition at line 6853 of file test-api.cc.

Member Function Documentation

static void Echo ( const v8::FunctionCallbackInfo< v8::Value > &  args)
inlinestatic
virtual v8::Handle<v8::FunctionTemplate> GetNativeFunctionTemplate ( v8::Isolate isolate,
v8::Handle< v8::String name 
)
inlinevirtual

Definition at line 6859 of file test-api.cc.

References FunctionTemplate::New().


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