![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#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 |
Private Member Functions | |
| PropertyCallbackInfo ()=default | |
Private Attributes | |
| internal::Address | args_ [kArgsLength] |
Static Private Attributes | |
| static constexpr int | kPropertyKeyIndex = 0 |
| static constexpr int | kShouldThrowOnErrorIndex = 1 |
| static constexpr int | kHolderIndex = 2 |
| static constexpr int | kIsolateIndex = 3 |
| static constexpr int | kHolderV2Index = 4 |
| static constexpr int | kReturnValueIndex = 5 |
| static constexpr int | kDataIndex = 6 |
| static constexpr int | kThisIndex = 7 |
| static constexpr int | kArgsLength = 8 |
| static constexpr int | kSize = kArgsLength * internal::kApiSystemPointerSize |
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 24 of file v8-object.h.
|
privatedefault |
| Local< Value > v8::PropertyCallbackInfo< T >::Data | ( | ) | const |
NamedPropertyHandlerConfiguration or IndexedPropertyHandlerConfiguration. Definition at line 670 of file v8-function-callback.h.
| Isolate * v8::PropertyCallbackInfo< T >::GetIsolate | ( | ) | const |
Definition at line 665 of file v8-function-callback.h.
| ReturnValue< T > v8::PropertyCallbackInfo< T >::GetReturnValue | ( | ) | const |
Definition at line 702 of file v8-function-callback.h.
| Local< Object > v8::PropertyCallbackInfo< T >::HolderV2 | ( | ) | const |
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.
| bool v8::PropertyCallbackInfo< T >::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.
| 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.Definition at line 675 of file v8-function-callback.h.
| v8::PropertyCallbackInfo< T >::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).
|
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.
|
mutableprivate |
Definition at line 311 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 305 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 303 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 299 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 301 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 300 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 297 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 302 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 298 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 307 of file v8-function-callback.h.
|
staticconstexprprivate |
Definition at line 304 of file v8-function-callback.h.