V8 Project
|
#include <arguments.h>
Public Types | |
typedef FunctionCallbackInfo< Value > | T |
typedef CustomArguments< T > | Super |
![]() | |
typedef CustomArgumentsBase< T::kArgsLength > | Super |
Public Member Functions | |
FunctionCallbackArguments (internal::Isolate *isolate, internal::Object *data, internal::JSFunction *callee, internal::Object *holder, internal::Object **argv, int argc, bool is_construct_call) | |
v8::Handle< v8::Value > | Call (FunctionCallback f) |
![]() | |
~CustomArguments () | |
![]() | |
virtual void | IterateInstance (ObjectVisitor *v) |
Static Public Attributes | |
static const int | kArgsLength = T::kArgsLength |
static const int | kHolderIndex = T::kHolderIndex |
static const int | kDataIndex = T::kDataIndex |
static const int | kReturnValueDefaultValueIndex |
static const int | kIsolateIndex = T::kIsolateIndex |
static const int | kCalleeIndex = T::kCalleeIndex |
static const int | kContextSaveIndex = T::kContextSaveIndex |
![]() | |
static const int | kReturnValueOffset |
Private Attributes | |
internal::Object ** | argv_ |
int | argc_ |
bool | is_construct_call_ |
Additional Inherited Members | |
![]() | |
CustomArguments (Isolate *isolate) | |
v8::Handle< V > | GetReturnValue (Isolate *isolate) |
Isolate * | isolate () |
![]() | |
Object ** | begin () |
CustomArgumentsBase (Isolate *isolate) | |
![]() | |
Object * | values_ [kArrayLength] |
Definition at line 215 of file arguments.h.
Definition at line 219 of file arguments.h.
Definition at line 218 of file arguments.h.
|
inline |
Definition at line 229 of file arguments.h.
References v8::internal::CustomArgumentsBase< T::kArgsLength >::begin(), DCHECK, v8::internal::Isolate::heap(), v8::internal::CustomArguments< FunctionCallbackInfo< Value > >::isolate(), v8::FunctionCallbackInfo< T >::kCalleeIndex, v8::FunctionCallbackInfo< T >::kContextSaveIndex, v8::FunctionCallbackInfo< T >::kDataIndex, v8::FunctionCallbackInfo< T >::kHolderIndex, v8::FunctionCallbackInfo< T >::kIsolateIndex, v8::FunctionCallbackInfo< T >::kReturnValueDefaultValueIndex, and v8::FunctionCallbackInfo< T >::kReturnValueIndex.
v8::Handle< v8::Value > v8::internal::FunctionCallbackArguments::Call | ( | FunctionCallback | f | ) |
Definition at line 25 of file arguments.cc.
References argc_, argv_, v8::internal::CustomArgumentsBase< T::kArgsLength >::begin(), FUNCTION_ADDR, is_construct_call_, and v8::internal::CustomArguments< FunctionCallbackInfo< Value > >::isolate().
Referenced by v8::internal::HandleApiCallAsFunctionOrConstructor(), and v8::internal::HandleApiCallHelper().
|
private |
Definition at line 268 of file arguments.h.
Referenced by Call().
|
private |
Definition at line 267 of file arguments.h.
Referenced by Call().
|
private |
Definition at line 269 of file arguments.h.
Referenced by Call().
|
static |
Definition at line 220 of file arguments.h.
|
static |
Definition at line 226 of file arguments.h.
|
static |
Definition at line 227 of file arguments.h.
|
static |
Definition at line 222 of file arguments.h.
|
static |
Definition at line 221 of file arguments.h.
|
static |
Definition at line 225 of file arguments.h.
|
static |
Definition at line 223 of file arguments.h.