v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|
#include <api.h>
Public Member Functions | |
NeanderArray () | |
NeanderArray (v8::internal::Handle< v8::internal::Object > obj) | |
v8::internal::Handle < v8::internal::JSObject > | value () |
void | add (v8::internal::Handle< v8::internal::Object > value) |
int | length () |
v8::internal::Object * | get (int index) |
void | set (int index, v8::internal::Object *value) |
NeanderArray | ( | ) |
Definition at line 852 of file api.cc.
References Smi::FromInt(), and NeanderObject::set().
|
inlineexplicit |
void add | ( | v8::internal::Handle< v8::internal::Object > | value | ) |
Definition at line 874 of file api.cc.
References FACTORY, Smi::FromInt(), NeanderArray::length(), NeanderObject::set(), NeanderObject::size(), and NeanderObject::value().
Referenced by V8::AddMessageListener(), and Template::Set().
i::Object * get | ( | int | index | ) |
Definition at line 862 of file api.cc.
References ASSERT, NeanderObject::get(), and NeanderArray::length().
int length | ( | ) |
Definition at line 857 of file api.cc.
References Smi::cast(), NeanderObject::get(), and NeanderArray::value().
Referenced by NeanderArray::add(), Factory::CreateApiFunction(), NeanderArray::get(), MessageHandler::ReportMessage(), and NeanderArray::set().
void set | ( | int | index, |
v8::internal::Object * | value | ||
) |
Definition at line 888 of file api.cc.
References NeanderArray::length(), and NeanderObject::set().
|
inline |
Definition at line 77 of file api.h.
References NeanderObject::value().
Referenced by NeanderArray::length(), and Template::Set().