v8  3.14.5(node0.10.28)
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 4966 of file test-api.cc.

Constructor & Destructor Documentation

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

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

Member Function Documentation

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

Definition at line 4979 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 4974 of file test-api.cc.

References FunctionTemplate::New().


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