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
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
GetNativeFunction (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 2529 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 531 of file api.cc.

virtual ~Extension ( )
inlinevirtual

Definition at line 2538 of file v8.h.

Member Function Documentation

bool auto_enable ( )
inline

Definition at line 2551 of file v8.h.

const char** dependencies ( )
inline

Definition at line 2549 of file v8.h.

int dependency_count ( )
inline

Definition at line 2548 of file v8.h.

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

Reimplemented in ProfilerExtension, TraceExtension, PrintExtension, ExternalizeStringExtension, and GCExtension.

Definition at line 2540 of file v8.h.

const char* name ( ) const
inline

Definition at line 2544 of file v8.h.

References v8::internal::name_.

void set_auto_enable ( bool  value)
inline

Definition at line 2550 of file v8.h.

const String::ExternalAsciiStringResource* source ( ) const
inline

Definition at line 2546 of file v8.h.

size_t source_length ( ) const
inline

Definition at line 2545 of file v8.h.


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