v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
void | Set (Handle< String > name, Handle< Data > value, PropertyAttribute attributes=None) |
void | Set (const char *name, Handle< Data > value) |
Friends | |
class | ObjectTemplate |
class | FunctionTemplate |
void Set | ( | v8::Handle< String > | name, |
v8::Handle< Data > | value, | ||
v8::PropertyAttribute | attribute = None |
||
) |
Adds a property to each instance created by this template.
Definition at line 902 of file api.cc.
References NeanderArray::add(), ENTER_V8, Integer::New(), and NeanderArray::value().
Referenced by Shell::AddOSMethods(), CreateGlobalTemplate(), CreateShellContext(), JsHttpRequestProcessor::Initialize(), RunMain(), Template::Set(), TEST(), and THREADED_TEST().
|
inline |
Definition at line 4350 of file v8.h.
References String::New(), and Template::Set().
|
friend |
|
friend |