v8
3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
|
#include <api.h>
Public Member Functions | |
NeanderArray (v8::internal::Isolate *isolate) | |
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) |
|
explicit |
Definition at line 770 of file api.cc.
References Smi::FromInt(), and NeanderObject::set().
|
inlineexplicit |
void add | ( | v8::internal::Handle< v8::internal::Object > | value | ) |
Definition at line 792 of file api.cc.
References Smi::FromInt(), NeanderArray::length(), Factory::NewFixedArray(), NeanderObject::set(), NeanderObject::size(), size, and NeanderObject::value().
i::Object * get | ( | int | index | ) |
Definition at line 780 of file api.cc.
References ASSERT, NeanderObject::get(), and NeanderArray::length().
int length | ( | ) |
Definition at line 775 of file api.cc.
References Smi::cast(), NeanderObject::get(), and NeanderArray::value().
Referenced by NeanderArray::add(), AccessorInfo::AppendUnique(), Factory::CreateApiFunction(), NeanderArray::get(), MessageHandler::ReportMessage(), and NeanderArray::set().
void set | ( | int | index, |
v8::internal::Object * | value | ||
) |
Definition at line 807 of file api.cc.
References NeanderArray::length(), and NeanderObject::set().
|
inline |
Definition at line 76 of file api.h.
References NeanderObject::value().
Referenced by NeanderArray::length().