v8
3.28.71 (node 0.12.18)
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_ |
bool | 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 6065 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::is_construct_call_, FunctionCallbackInfo< T >::length_, and FunctionCallbackInfo< T >::values_.
Definition at line 6083 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kCalleeIndex, and Handle< T >::Local.
Definition at line 6103 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kDataIndex, and Handle< T >::Local.
Isolate * GetIsolate |
Definition at line 6109 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, and FunctionCallbackInfo< T >::kIsolateIndex.
Referenced by FunctionCallbackInfo< T >::operator[]().
ReturnValue< T > GetReturnValue |
Definition at line 6115 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kReturnValueIndex, and PersistentBase< T >::ReturnValue.
Definition at line 6096 of file v8.h.
References FunctionCallbackInfo< T >::implicit_args_, FunctionCallbackInfo< T >::kHolderIndex, and Handle< T >::Local.
bool IsConstructCall |
Definition at line 6121 of file v8.h.
References FunctionCallbackInfo< T >::is_construct_call_.
int Length |
Definition at line 6127 of file v8.h.
References FunctionCallbackInfo< T >::length_.
Definition at line 6076 of file v8.h.
References FunctionCallbackInfo< T >::GetIsolate(), FunctionCallbackInfo< T >::length_, Handle< T >::Local, and FunctionCallbackInfo< T >::values_.
Definition at line 6090 of file v8.h.
References Handle< T >::Local, and FunctionCallbackInfo< T >::values_.
|
friend |
|
protected |
Definition at line 2500 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 2503 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), and FunctionCallbackInfo< T >::IsConstructCall().
|
staticprotected |
Definition at line 2493 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Callee().
|
staticprotected |
Definition at line 2492 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Data().
|
staticprotected |
Definition at line 2488 of file v8.h.
Referenced by FunctionCallbackInfo< T >::Holder().
|
staticprotected |
Definition at line 2489 of file v8.h.
Referenced by FunctionCallbackInfo< T >::GetIsolate().
|
staticprotected |
Definition at line 2491 of file v8.h.
Referenced by FunctionCallbackInfo< T >::GetReturnValue().
|
protected |
Definition at line 2502 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::Length(), and FunctionCallbackInfo< T >::operator[]().
|
protected |
Definition at line 2501 of file v8.h.
Referenced by FunctionCallbackInfo< T >::FunctionCallbackInfo(), FunctionCallbackInfo< T >::operator[](), and FunctionCallbackInfo< T >::This().