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
PrintExtension Class Reference
Inheritance diagram for PrintExtension:
Collaboration diagram for PrintExtension:

Public Member Functions

 PrintExtension ()
 
virtual v8::Handle
< v8::FunctionTemplate
GetNativeFunction (v8::Handle< v8::String > name)
 
- Public Member Functions inherited from Extension
 Extension (const char *name, const char *source=0, int dep_count=0, const char **deps=0, int source_length=-1)
 
virtual ~Extension ()
 
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 ()
 

Static Public Member Functions

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

Detailed Description

Definition at line 47 of file test-compiler.cc.

Constructor & Destructor Documentation

PrintExtension ( )
inline

Definition at line 49 of file test-compiler.cc.

Member Function Documentation

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

Reimplemented from Extension.

Definition at line 61 of file test-compiler.cc.

References FunctionTemplate::New(), and Print().

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

Definition at line 67 of file test-compiler.cc.

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

Referenced by GetNativeFunction().


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