#include <v8-function-callback.h>
Public Member Functions | |
int | Length () const |
Local< Value > | operator[] (int i) const |
Local< Object > | This () const |
Local< Object > | Holder () const |
Local< Value > | NewTarget () const |
bool | IsConstructCall () const |
Local< Value > | Data () const |
Isolate * | GetIsolate () const |
ReturnValue< T > | GetReturnValue () const |
Local< Object > | HolderSoonToBeDeprecated () const |
Friends | |
class | internal::FunctionCallbackArguments |
class | internal::CustomArguments< FunctionCallbackInfo > |
class | debug::ConsoleCallArguments |
void | internal::PrintFunctionCallbackInfo (void *) |
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.
|
inline |
The data argument specified when creating the callback.
|
inline |
The current Isolate.
|
inline |
The ReturnValue for the call.
|
inline |
If the callback was created without a Signature, this is the same value as This(). If there is a signature, and the signature didn't match This() but one of its hidden prototypes, this will be the respective hidden prototype.
Note that this is not the prototype of This() on which the accessor referencing this callback was found (which in V8 internally is often referred to as holder [sic]).
|
inline |
|
inline |
Indicates whether this is a regular call or a construct call.
|
inline |
The number of available arguments.
|
inline |
For construct calls, this returns the "new.target" value.
|
inline |
Accessor for the available arguments. Returns undefined
if the index is out of bounds.
|
inline |
Returns the receiver. This corresponds to the "this" value.
|
friend |
|
friend |
|
friend |
|
friend |