v8  3.14.5 (node 0.10.48)
V8 is Google's open source JavaScript engine
Extension Class Reference

#include <v8.h>

Public Member Functions

 Extension (const char *name, const char *source=0, int dep_count=0, const char **deps=0, int source_length=-1)
 
virtual ~Extension ()
 
virtual v8::Handle< v8::FunctionTemplateGetNativeFunction (v8::Handle< v8::String > name)
 
const char * name () const
 
size_t source_length () const
 
const String::ExternalAsciiStringResourcesource () const
 
int dependency_count ()
 
const char ** dependencies ()
 
void set_auto_enable (bool value)
 
bool auto_enable ()
 

Detailed Description

Ignore

Definition at line 2559 of file v8.h.

Constructor & Destructor Documentation

◆ Extension()

Extension ( const char *  name,
const char *  source = 0,
int  dep_count = 0,
const char **  deps = 0,
int  source_length = -1 
)

◆ ~Extension()

virtual ~Extension ( )
inlinevirtual

Definition at line 2568 of file v8.h.

Member Function Documentation

◆ auto_enable()

bool auto_enable ( )
inline

Definition at line 2581 of file v8.h.

◆ dependencies()

const char** dependencies ( )
inline

Definition at line 2579 of file v8.h.

◆ dependency_count()

int dependency_count ( )
inline

Definition at line 2578 of file v8.h.

◆ GetNativeFunction()

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

Definition at line 2570 of file v8.h.

References Handle< T >::Handle(), and V8::Handle.

◆ name()

const char* name ( ) const
inline

Definition at line 2574 of file v8.h.

◆ set_auto_enable()

void set_auto_enable ( bool  value)
inline

Definition at line 2580 of file v8.h.

◆ source()

const String::ExternalAsciiStringResource* source ( ) const
inline

Definition at line 2576 of file v8.h.

◆ source_length()

size_t source_length ( ) const
inline

Definition at line 2575 of file v8.h.


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