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
Extension Class Reference

#include <v8.h>

Inheritance diagram for Extension:

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::FunctionTemplate
GetNativeFunctionTemplate (v8::Isolate *isolate, v8::Handle< v8::String > name)
 
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 ()
 

Detailed Description

Ignore

Definition at line 3876 of file v8.h.

Constructor & Destructor Documentation

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

Definition at line 445 of file api.cc.

References CHECK, and NULL.

virtual ~Extension ( )
inlinevirtual

Definition at line 3885 of file v8.h.

Member Function Documentation

bool auto_enable ( )
inline

Definition at line 3898 of file v8.h.

const char** dependencies ( )
inline

Definition at line 3896 of file v8.h.

int dependency_count ( )
inline

Definition at line 3895 of file v8.h.

virtual v8::Handle<v8::FunctionTemplate> GetNativeFunctionTemplate ( v8::Isolate isolate,
v8::Handle< v8::String name 
)
inlinevirtual
const char* name ( ) const
inline

Definition at line 3891 of file v8.h.

void set_auto_enable ( bool  value)
inline

Definition at line 3897 of file v8.h.

const String::ExternalAsciiStringResource* source ( ) const
inline

Definition at line 3893 of file v8.h.

size_t source_length ( ) const
inline

Definition at line 3892 of file v8.h.


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