![]() |
v8 13.6.233 (node 24.1.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_DEPRECATE_SOON ("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 ReturnValue< T >::Get(), ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::Set(), ReturnValue< T >::SetEmptyString(), ReturnValue< T >::SetFalse(), ReturnValue< T >::SetNull(), ReturnValue< T >::SetUndefined(), and 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 v8::api_internal::ConvertToJSGlobalProxyIfNecessary().
| 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 GetIsolate(), 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_DEPRECATE_SOON | ( | "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).References V8_INLINE.
|
friend |
Definition at line 293 of file v8-function-callback.h.
References internal::PropertyCallbackArguments, and PropertyCallbackInfo.
|
friend |
References internal::PrintPropertyCallbackInfo, and PropertyCallbackInfo.
Referenced by internal::PrintPropertyCallbackInfo.
|
friend |
Definition at line 293 of file v8-function-callback.h.
Referenced by internal::CustomArguments< PropertyCallbackInfo >.
|
friend |
Definition at line 292 of file v8-function-callback.h.
References MacroAssembler.
Referenced by MacroAssembler.
Definition at line 291 of file v8-function-callback.h.
References PropertyCallbackInfo.
Referenced by internal::CustomArguments< PropertyCallbackInfo >, internal::PrintPropertyCallbackInfo, and PropertyCallbackInfo.