![]() |
v8
V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++.
|
#include <prototype.h>
Public Types | |
enum | WhereToEnd { END_AT_NULL , END_AT_NON_HIDDEN } |
Static Public Member Functions | |
template<typename T = JSPrototype> | |
static DirectHandle< T > | GetCurrent (const PrototypeIterator &iterator) |
Private Attributes | |
Isolate * | isolate_ |
Tagged< JSPrototype > | object_ = {} |
IndirectHandle< JSPrototype > | handle_ |
WhereToEnd | where_to_end_ |
bool | is_at_end_ |
int | seen_proxies_ |
A class to uniformly access the prototype of any Object and walk its prototype chain.
The PrototypeIterator can either start at the prototype (default), or include the receiver itself. If a PrototypeIterator is constructed for a Map, it will always start at the prototype.
The PrototypeIterator can either run to the null_value(), the first non-hidden prototype, or a given object.
Definition at line 26 of file prototype.h.
Enumerator | |
---|---|
END_AT_NULL | |
END_AT_NON_HIDDEN |
Definition at line 28 of file prototype.h.
|
inline |
|
inline |
|
inlineexplicit |
|
inlineexplicit |
|
default |
|
delete |
|
inline |
Definition at line 84 of file prototype-inl.h.
|
inline |
Definition at line 112 of file prototype-inl.h.
|
inline |
Definition at line 124 of file prototype-inl.h.
|
inline |
Definition at line 97 of file prototype-inl.h.
|
inline |
Definition at line 52 of file prototype.h.
|
inlinestatic |
|
inline |
Definition at line 73 of file prototype-inl.h.
|
inline |
|
inline |
Definition at line 75 of file prototype.h.
|
delete |
|
private |
Definition at line 83 of file prototype.h.
|
private |
Definition at line 85 of file prototype.h.
|
private |
Definition at line 78 of file prototype.h.
|
private |
Definition at line 79 of file prototype.h.
|
private |
Definition at line 86 of file prototype.h.
|
private |
Definition at line 84 of file prototype.h.