v8
8.1.307(node14.1.0)
V8 is Google's open source JavaScript engine
|
#include <v8.h>
Public Member Functions | |
V8_INLINE Isolate * | GetIsolate () const |
V8_INLINE Local< Value > | Data () const |
V8_INLINE Local< Object > | This () const |
V8_INLINE Local< Object > | Holder () const |
V8_INLINE ReturnValue< T > | GetReturnValue () const |
V8_INLINE bool | ShouldThrowOnError () const |
Static Public Attributes | |
static const int | kArgsLength = 7 |
Protected Member Functions | |
V8_INLINE | PropertyCallbackInfo (internal::Address *args) |
Protected Attributes | |
internal::Address * | args_ |
Static Protected Attributes | |
static const int | kShouldThrowOnErrorIndex = 0 |
static const int | kHolderIndex = 1 |
static const int | kIsolateIndex = 2 |
static const int | kReturnValueDefaultValueIndex = 3 |
static const int | kReturnValueIndex = 4 |
static const int | kDataIndex = 5 |
static const int | kThisIndex = 6 |
Friends | |
class | MacroAssembler |
class | internal::PropertyCallbackArguments |
class | internal::CustomArguments< PropertyCallbackInfo > |
The information passed to a property callback about the context of the property access.
|
inlineprotected |
NamedPropertyHandlerConfiguration
or IndexedPropertyHandlerConfiguration.
Isolate * GetIsolate | ( | ) | const |
Definition at line 11750 of file v8.h.
Referenced by PropertyCallbackInfo< Value >::ShouldThrowOnError().
ReturnValue< T > GetReturnValue | ( | ) | const |
x
and its prototype is y
, and y
has an interceptor. Then info.This()
is x
and info.Holder()
is y
. The Holder() could be a hidden object (the global object, rather than the global proxy).bool ShouldThrowOnError | ( | ) | const |
Reflect.get
, Function.prototype.call
, or similar functions, it is the object passed in as receiver or thisArg.
|
friend |
|
protected |
Definition at line 4419 of file v8.h.
Referenced by PropertyCallbackInfo< Value >::Data(), PropertyCallbackInfo< Value >::GetIsolate(), PropertyCallbackInfo< Value >::GetReturnValue(), PropertyCallbackInfo< Value >::Holder(), PropertyCallbackInfo< Value >::PropertyCallbackInfo(), PropertyCallbackInfo< Value >::ShouldThrowOnError(), and PropertyCallbackInfo< Value >::This().
|
staticprotected |
Definition at line 4415 of file v8.h.
Referenced by PropertyCallbackInfo< Value >::Data().
|
staticprotected |
Definition at line 4411 of file v8.h.
Referenced by PropertyCallbackInfo< Value >::Holder().
|
staticprotected |
Definition at line 4412 of file v8.h.
Referenced by PropertyCallbackInfo< Value >::GetIsolate().
|
staticprotected |
Definition at line 4414 of file v8.h.
Referenced by PropertyCallbackInfo< Value >::GetReturnValue().
|
staticprotected |
Definition at line 4410 of file v8.h.
Referenced by PropertyCallbackInfo< Value >::ShouldThrowOnError().
|
staticprotected |
Definition at line 4416 of file v8.h.
Referenced by PropertyCallbackInfo< Value >::This().