V8 API Reference Guide generated from the header files
|
#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::Object **args) |
Protected Attributes | |
internal::Object ** | args_ |
Friends | |
class | MacroAssembler |
class | internal::PropertyCallbackArguments |
class | internal::CustomArguments< PropertyCallbackInfo > |
The information passed to a property callback about the context of the property access.
Local< Value > v8::PropertyCallbackInfo< T >::Data | ( | ) | const |
NamedPropertyHandlerConfiguration
or IndexedPropertyHandlerConfiguration.
Isolate * v8::PropertyCallbackInfo< T >::GetIsolate | ( | ) | const |
ReturnValue< T > v8::PropertyCallbackInfo< T >::GetReturnValue | ( | ) | const |
Local< Object > v8::PropertyCallbackInfo< T >::Holder | ( | ) | 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 v8::PropertyCallbackInfo< T >::ShouldThrowOnError | ( | ) | const |
true
corresponds to ‘'use strict’`.false
when intercepting Reflect.set()
independent of the language mode. Local< Object > v8::PropertyCallbackInfo< T >::This | ( | ) | const |
Reflect.get
, Function.prototype.call
, or similar functions, it is the object passed in as receiver or thisArg.