v8
4.5.103 (node 4.8.7)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
V8_INLINE int | Length () const |
V8_INLINE Local< Value > | operator[] (int i) const |
V8_INLINE Local< Function > | Callee () const |
V8_INLINE Local< Object > | This () const |
V8_INLINE Local< Object > | Holder () const |
V8_INLINE bool | IsConstructCall () const |
V8_INLINE Local< Value > | Data () const |
V8_INLINE Isolate * | GetIsolate () const |
V8_INLINE ReturnValue< T > | GetReturnValue () const |
Static Public Attributes | |
static const int | kArgsLength = 7 |
Protected Member Functions | |
V8_INLINE | FunctionCallbackInfo (internal::Object **implicit_args, internal::Object **values, int length, bool is_construct_call) |
Protected Attributes | |
internal::Object ** | implicit_args_ |
internal::Object ** | values_ |
int | length_ |
int | is_construct_call_ |
Static Protected Attributes | |
static const int | kHolderIndex = 0 |
static const int | kIsolateIndex = 1 |
static const int | kReturnValueDefaultValueIndex = 2 |
static const int | kReturnValueIndex = 3 |
static const int | kDataIndex = 4 |
static const int | kCalleeIndex = 5 |
static const int | kContextSaveIndex = 6 |
Friends | |
class | internal::FunctionCallbackArguments |
class | internal::CustomArguments< FunctionCallbackInfo > |
The argument information given to function call callbacks. This class provides access to information about the context of the call, including the receiver, the number and values of arguments, and the holder of the function.
|
protected |
Definition at line 7440 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::is_construct_call_, FunctionCallbackInfo< T >::length_, and FunctionCallbackInfo< T >::values_.
Definition at line 7458 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kCalleeIndex, and Local< T >::Local.
Definition at line 7478 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kDataIndex, and Local< T >::Local.
Isolate * GetIsolate |
Definition at line 7484 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, and FunctionCallbackInfo< T >::kIsolateIndex.
Referenced by FunctionCallbackInfo< T >::operator[]().
ReturnValue< T > GetReturnValue |
Definition at line 7490 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kReturnValueIndex, and PersistentBase< T >::ReturnValue.
Definition at line 7471 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kHolderIndex, and Local< T >::Local.
bool IsConstructCall |
Definition at line 7496 of file v8.h.
References FunctionCallbackInfo< T >::is_construct_call_.
int Length |
Definition at line 7502 of file v8.h.
References FunctionCallbackInfo< T >::length_.
Definition at line 7451 of file v8.h.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::length_, Local< T >::Local, and FunctionCallbackInfo< T >::values_.
Definition at line 7465 of file v8.h.
References Local< T >::Local, and FunctionCallbackInfo< T >::values_.
|
friend |
|
protected |
Definition at line 3137 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Callee(), FunctionCallbackInfo< T >::Data(), FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), and FunctionCallbackInfo< T >::Holder().
|
protected |
Definition at line 3140 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), and FunctionCallbackInfo< T >::IsConstructCall().
|
staticprotected |
Definition at line 3130 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Callee().
|
staticprotected |
Definition at line 3129 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Data().
|
staticprotected |
Definition at line 3125 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Holder().
|
staticprotected |
Definition at line 3126 of file v8.h.
Referenced by FunctionCallbackInfo< T >::GetIsolate().
|
staticprotected |
Definition at line 3128 of file v8.h.
Referenced by FunctionCallbackInfo< T >::GetReturnValue().
|
protected |
Definition at line 3139 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::Length(), and FunctionCallbackInfo< T >::operator[]().
|
protected |
Definition at line 3138 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::operator[](), and FunctionCallbackInfo< T >::This().