![]() |
v8 14.1.146 (node 25.0.0)
V8 is Google's open source JavaScript engine
|
#include <v8-function-callback.h>
Public Member Functions | |
| V8_INLINE Isolate * | GetIsolate () const |
| V8_INLINE Local< Value > | Data () const |
| V8_INLINE Local< Object > | This () const |
| V8_DEPRECATED ("V8 will stop providing access to hidden prototype (i.e. " "JSGlobalObject). Use HolderV2() instead. \n" "DO NOT try to workaround this by accessing JSGlobalObject via " "v8::Object::GetPrototype() - it'll be deprecated soon too. \n" "See http://crbug.com/333672197. ") V8_INLINE Local< Object > Holder() const | |
| V8_INLINE Local< Object > | HolderV2 () const |
| V8_INLINE ReturnValue< T > | GetReturnValue () const |
| V8_INLINE bool | ShouldThrowOnError () const |
Friends | |
| template<typename U > | |
| class | PropertyCallbackInfo |
| class | MacroAssembler |
| class | internal::PropertyCallbackArguments |
| class | internal::CustomArguments< PropertyCallbackInfo > |
| void | internal::PrintPropertyCallbackInfo (void *) |
The information passed to a property callback about the context of the property access.
Definition at line 187 of file v8-function-callback.h.
NamedPropertyHandlerConfiguration or IndexedPropertyHandlerConfiguration. Definition at line 670 of file v8-function-callback.h.
| Isolate * GetIsolate | ( | ) | const |
Definition at line 665 of file v8-function-callback.h.
Referenced by PropertyCallbackInfo< T >::ShouldThrowOnError().
| ReturnValue< T > GetReturnValue | ( | ) | const |
Definition at line 702 of file v8-function-callback.h.
x and its prototype is y, and y has an interceptor. Then info.This() is x and info.Holder() is y. In case the property is installed on the global object the Holder() would return the global proxy. Definition at line 692 of file v8-function-callback.h.
References Internals::HasHeapObjectTag().
| bool ShouldThrowOnError | ( | ) | const |
true corresponds to ‘'use strict’`.false when intercepting Reflect.set() independent of the language mode. Definition at line 707 of file v8-function-callback.h.
References PropertyCallbackInfo< T >::GetIsolate(), Internals::kDontThrow, Internals::kInferShouldThrowMode, and v8::internal::ShouldThrowOnError().
Reflect.get, Function.prototype.call, or similar functions, it is the object passed in as receiver or thisArg.Definition at line 675 of file v8-function-callback.h.
| V8_DEPRECATED | ( | "V8 will stop providing access to hidden prototype (i.e. " "JSGlobalObject). Use HolderV2() instead. \n" "DO NOT try to workaround this by accessing JSGlobalObject via " "v8::Object::GetPrototype() - it'll be deprecated soon too. \n" "See http://crbug.com/333672197. " | ) | 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).
|
friend |
Definition at line 293 of file v8-function-callback.h.
|
friend |
|
friend |
Definition at line 293 of file v8-function-callback.h.
|
friend |
Definition at line 292 of file v8-function-callback.h.
Definition at line 291 of file v8-function-callback.h.