v8
5.5.372 (node 7.10.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 Local< Value > | NewTarget () 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 = 8 |
Protected Member Functions | |
V8_INLINE | FunctionCallbackInfo (internal::Object **implicit_args, internal::Object **values, int length) |
Protected Attributes | |
internal::Object ** | implicit_args_ |
internal::Object ** | values_ |
int | length_ |
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 |
static const int | kNewTargetIndex = 7 |
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 8751 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::length_, and FunctionCallbackInfo< T >::values_.
Definition at line 8789 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kDataIndex, and Local< T >::Local.
Isolate * GetIsolate |
Definition at line 8795 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, and FunctionCallbackInfo< T >::kIsolateIndex.
Referenced by FunctionCallbackInfo< T >::operator[]().
ReturnValue< T > GetReturnValue |
Definition at line 8801 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kReturnValueIndex, and Local< T >::ReturnValue.
Definition at line 8777 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kHolderIndex, and Local< T >::Local.
bool IsConstructCall |
Definition at line 8807 of file v8.h.
References FunctionCallbackInfo< T >::NewTarget().
int Length |
Definition at line 8813 of file v8.h.
References FunctionCallbackInfo< T >::length_.
Definition at line 8783 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kNewTargetIndex, and Local< T >::Local.
Referenced by FunctionCallbackInfo< T >::IsConstructCall().
Definition at line 8757 of file v8.h.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::length_, Local< T >::Local, and FunctionCallbackInfo< T >::values_.
Definition at line 8771 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 3517 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Data(), FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::GetReturnValue(), FunctionCallbackInfo< T >::Holder(), and FunctionCallbackInfo< T >::NewTarget().
|
staticprotected |
Definition at line 3510 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Data().
|
staticprotected |
Definition at line 3506 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Holder().
|
staticprotected |
Definition at line 3507 of file v8.h.
Referenced by FunctionCallbackInfo< T >::GetIsolate().
|
staticprotected |
Definition at line 3513 of file v8.h.
Referenced by FunctionCallbackInfo< T >::NewTarget().
|
staticprotected |
Definition at line 3509 of file v8.h.
Referenced by FunctionCallbackInfo< T >::GetReturnValue().
|
protected |
Definition at line 3519 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::Length(), and FunctionCallbackInfo< T >::operator[]().
|
protected |
Definition at line 3518 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::operator[](), and FunctionCallbackInfo< T >::This().