v8  3.11.10(node0.8.26)
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::InvocationCallback fun=&Echo)
 
virtual v8::Handle
< v8::FunctionTemplate
GetNativeFunction (v8::Handle< v8::String > name)
 

Static Public Member Functions

static v8::Handle< v8::ValueEcho (const v8::Arguments &args)
 

Detailed Description

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

Constructor & Destructor Documentation

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

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

Member Function Documentation

static v8::Handle<v8::Value> Echo ( const v8::Arguments args)
inlinestatic

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

References Arguments::Length(), and v8::Undefined().

virtual v8::Handle<v8::FunctionTemplate> GetNativeFunction ( v8::Handle< v8::String name)
inlinevirtual

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

References FunctionTemplate::New().


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