v8
5.1.281 (node 6.17.1)
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 | V8_DEPRECATED ("Use Data() to explicitly pass Callee instead", 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 7837 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::is_construct_call_, FunctionCallbackInfo< T >::length_, and FunctionCallbackInfo< T >::values_.
Definition at line 7875 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kDataIndex, and Local< T >::Local.
Isolate * GetIsolate |
Definition at line 7881 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, and FunctionCallbackInfo< T >::kIsolateIndex.
Referenced by FunctionCallbackInfo< T >::operator[]().
ReturnValue< T > GetReturnValue |
Definition at line 7887 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kReturnValueIndex, and PersistentBase< T >::ReturnValue.
Definition at line 7868 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kHolderIndex, and Local< T >::Local.
bool IsConstructCall |
Definition at line 7893 of file v8.h.
References FunctionCallbackInfo< T >::is_construct_call_.
int Length |
Definition at line 7899 of file v8.h.
References FunctionCallbackInfo< T >::length_.
Definition at line 7848 of file v8.h.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::length_, Local< T >::Local, and FunctionCallbackInfo< T >::values_.
Definition at line 7862 of file v8.h.
References Local< T >::Local, and FunctionCallbackInfo< T >::values_.
V8_INLINE V8_DEPRECATED | ( | "Use Data() to explicitly pass Callee instead" | , |
Local< Function > Callee() const | |||
) |
|
friend |
|
protected |
Definition at line 3186 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Data(), FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), and FunctionCallbackInfo< T >::Holder().
|
protected |
Definition at line 3189 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), and FunctionCallbackInfo< T >::IsConstructCall().
|
staticprotected |
Definition at line 3178 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Data().
|
staticprotected |
Definition at line 3174 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Holder().
|
staticprotected |
Definition at line 3175 of file v8.h.
Referenced by FunctionCallbackInfo< T >::GetIsolate().
|
staticprotected |
Definition at line 3177 of file v8.h.
Referenced by FunctionCallbackInfo< T >::GetReturnValue().
|
protected |
Definition at line 3188 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::Length(), and FunctionCallbackInfo< T >::operator[]().
|
protected |
Definition at line 3187 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::operator[](), and FunctionCallbackInfo< T >::This().