V8 API Reference Guide for node.js v0.12.18
|
#include <v8.h>
Static Public Member Functions | |
static Local< Int8Array > | New (Handle< ArrayBuffer > array_buffer, size_t byte_offset, size_t length) |
static V8_INLINE Int8Array * | Cast (Value *obj) |
![]() | |
static V8_INLINE TypedArray * | Cast (Value *obj) |
![]() | |
static V8_INLINE ArrayBufferView * | Cast (Value *obj) |
![]() | |
static V8_INLINE int | InternalFieldCount (const PersistentBase< Object > &object) |
static V8_INLINE void * | GetAlignedPointerFromInternalField (const PersistentBase< Object > &object, int index) |
static Local< Object > | New (Isolate *isolate) |
static V8_INLINE Object * | Cast (Value *obj) |
![]() | |
template<class T > | |
static V8_INLINE Value * | Cast (T *value) |
Additional Inherited Members | |
![]() | |
size_t | Length () |
![]() | |
Local< ArrayBuffer > | Buffer () |
size_t | ByteOffset () |
size_t | ByteLength () |
![]() | |
bool | Set (Handle< Value > key, Handle< Value > value) |
bool | Set (uint32_t index, Handle< Value > value) |
bool | ForceSet (Handle< Value > key, Handle< Value > value, PropertyAttribute attribs=None) |
Local< Value > | Get (Handle< Value > key) |
Local< Value > | Get (uint32_t index) |
PropertyAttribute | GetPropertyAttributes (Handle< Value > key) |
Local< Value > | GetOwnPropertyDescriptor (Local< String > key) |
bool | Has (Handle< Value > key) |
bool | Delete (Handle< Value > key) |
bool | ForceDelete (Handle< Value > key) |
bool | Has (uint32_t index) |
bool | Delete (uint32_t index) |
bool | SetAccessor (Handle< String > name, AccessorGetterCallback getter, AccessorSetterCallback setter=0, Handle< Value > data=Handle< Value >(), AccessControl settings=DEFAULT, PropertyAttribute attribute=None) |
bool | SetDeclaredAccessor (Local< String > name, Local< DeclaredAccessorDescriptor > descriptor, PropertyAttribute attribute=None, AccessControl settings=DEFAULT) |
void | SetAccessorProperty (Local< String > name, Local< Function > getter, Handle< Function > setter=Handle< Function >(), PropertyAttribute attribute=None, AccessControl settings=DEFAULT) |
bool | HasPrivate (Handle< Private > key) |
bool | SetPrivate (Handle< Private > key, Handle< Value > value) |
bool | DeletePrivate (Handle< Private > key) |
Local< Value > | GetPrivate (Handle< Private > key) |
Local< Array > | GetPropertyNames () |
Local< Array > | GetOwnPropertyNames () |
Local< Value > | GetPrototype () |
bool | SetPrototype (Handle< Value > prototype) |
Local< Object > | FindInstanceInPrototypeChain (Handle< FunctionTemplate > tmpl) |
Local< String > | ObjectProtoToString () |
Local< String > | GetConstructorName () |
int | InternalFieldCount () |
V8_INLINE Local< Value > | GetInternalField (int index) |
void | SetInternalField (int index, Handle< Value > value) |
V8_INLINE void * | GetAlignedPointerFromInternalField (int index) |
void | SetAlignedPointerInInternalField (int index, void *value) |
bool | HasOwnProperty (Handle< String > key) |
bool | HasRealNamedProperty (Handle< String > key) |
bool | HasRealIndexedProperty (uint32_t index) |
bool | HasRealNamedCallbackProperty (Handle< String > key) |
Local< Value > | GetRealNamedPropertyInPrototypeChain (Handle< String > key) |
Local< Value > | GetRealNamedProperty (Handle< String > key) |
bool | HasNamedLookupInterceptor () |
bool | HasIndexedLookupInterceptor () |
void | TurnOnAccessCheck () |
int | GetIdentityHash () |
bool | SetHiddenValue (Handle< String > key, Handle< Value > value) |
Local< Value > | GetHiddenValue (Handle< String > key) |
bool | DeleteHiddenValue (Handle< String > key) |
bool | IsDirty () |
Local< Object > | Clone () |
Local< Context > | CreationContext () |
void | SetIndexedPropertiesToPixelData (uint8_t *data, int length) |
bool | HasIndexedPropertiesInPixelData () |
uint8_t * | GetIndexedPropertiesPixelData () |
int | GetIndexedPropertiesPixelDataLength () |
void | SetIndexedPropertiesToExternalArrayData (void *data, ExternalArrayType array_type, int number_of_elements) |
bool | HasIndexedPropertiesInExternalArrayData () |
void * | GetIndexedPropertiesExternalArrayData () |
ExternalArrayType | GetIndexedPropertiesExternalArrayDataType () |
int | GetIndexedPropertiesExternalArrayDataLength () |
bool | IsCallable () |
Local< Value > | CallAsFunction (Handle< Value > recv, int argc, Handle< Value > argv[]) |
Local< Value > | CallAsConstructor (int argc, Handle< Value > argv[]) |
![]() | |
V8_INLINE bool | IsUndefined () const |
V8_INLINE bool | IsNull () const |
bool | IsTrue () const |
bool | IsFalse () const |
V8_INLINE bool | IsString () const |
bool | IsSymbol () const |
bool | IsFunction () const |
bool | IsArray () const |
bool | IsObject () const |
bool | IsBoolean () const |
bool | IsNumber () const |
bool | IsExternal () const |
bool | IsInt32 () const |
bool | IsUint32 () const |
bool | IsDate () const |
bool | IsBooleanObject () const |
bool | IsNumberObject () const |
bool | IsStringObject () const |
bool | IsSymbolObject () const |
bool | IsNativeError () const |
bool | IsRegExp () const |
bool | IsPromise () const |
bool | IsArrayBuffer () const |
bool | IsArrayBufferView () const |
bool | IsTypedArray () const |
bool | IsUint8Array () const |
bool | IsUint8ClampedArray () const |
bool | IsInt8Array () const |
bool | IsUint16Array () const |
bool | IsInt16Array () const |
bool | IsUint32Array () const |
bool | IsInt32Array () const |
bool | IsFloat32Array () const |
bool | IsFloat64Array () const |
bool | IsDataView () const |
Local< Boolean > | ToBoolean () const |
Local< Number > | ToNumber () const |
Local< String > | ToString () const |
Local< String > | ToDetailString () const |
Local< Object > | ToObject () const |
Local< Integer > | ToInteger () const |
Local< Uint32 > | ToUint32 () const |
Local< Int32 > | ToInt32 () const |
Local< Uint32 > | ToArrayIndex () const |
bool | BooleanValue () const |
double | NumberValue () const |
int64_t | IntegerValue () const |
uint32_t | Uint32Value () const |
int32_t | Int32Value () const |
bool | Equals (Handle< Value > that) const |
bool | StrictEquals (Handle< Value > that) const |
bool | SameValue (Handle< Value > that) const |
template<class T > | |
Value * | Cast (T *value) |
![]() | |
static const int | kInternalFieldCount |
An instance of Int8Array constructor (ES6 draft 15.13.6). This API is experimental and may change significantly.