#include <lookup.h>
|
enum | Configuration {
kInterceptor = 1 << 0
, kPrototypeChain = 1 << 1
, OWN_SKIP_INTERCEPTOR = 0
, OWN = kInterceptor
,
PROTOTYPE_CHAIN_SKIP_INTERCEPTOR = kPrototypeChain
, PROTOTYPE_CHAIN = kPrototypeChain | kInterceptor
, DEFAULT = PROTOTYPE_CHAIN
} |
|
enum | State {
NOT_FOUND
, TYPED_ARRAY_INDEX_NOT_FOUND
, ACCESS_CHECK
, INTERCEPTOR
,
JSPROXY
, ACCESSOR
, DATA
, WASM_OBJECT
,
TRANSITION
, BEFORE_PROPERTY = INTERCEPTOR
} |
|
|
| LookupIterator (Isolate *isolate, DirectHandle< JSAny > receiver, DirectHandle< Name > name, Configuration configuration=DEFAULT) |
|
| LookupIterator (Isolate *isolate, DirectHandle< JSAny > receiver, DirectHandle< Name > name, DirectHandle< JSAny > lookup_start_object, Configuration configuration=DEFAULT) |
|
| LookupIterator (Isolate *isolate, DirectHandle< JSAny > receiver, size_t index, Configuration configuration=DEFAULT) |
|
| LookupIterator (Isolate *isolate, DirectHandle< JSAny > receiver, size_t index, DirectHandle< JSAny > lookup_start_object, Configuration configuration=DEFAULT) |
|
| LookupIterator (Isolate *isolate, DirectHandle< JSAny > receiver, const PropertyKey &key, Configuration configuration=DEFAULT) |
|
| LookupIterator (Isolate *isolate, DirectHandle< JSAny > receiver, const PropertyKey &key, DirectHandle< JSAny > lookup_start_object, Configuration configuration=DEFAULT) |
|
| LookupIterator (Isolate *isolate, Configuration configuration, DirectHandle< JSAny > receiver, DirectHandle< Symbol > name) |
|
void | Restart () |
|
void | RecheckTypedArrayBounds () |
|
Isolate * | isolate () const |
|
State | state () const |
|
DirectHandle< Name > | name () const |
|
DirectHandle< Name > | GetName () |
|
size_t | index () const |
|
uint32_t | array_index () const |
|
PropertyKey | GetKey () const |
|
bool | IsElement () const |
|
bool | IsElement (Tagged< JSReceiver > object) const |
|
bool | IsPrivateName () const |
|
bool | IsFound () const |
|
void | Next () |
|
void | NotFound () |
|
Heap * | heap () const |
|
Factory * | factory () const |
|
DirectHandle< JSAny > | GetReceiver () const |
|
template<class T > |
DirectHandle< T > | GetStoreTarget () const |
|
bool | is_dictionary_holder () const |
|
DirectHandle< Map > | transition_map () const |
|
DirectHandle< PropertyCell > | transition_cell () const |
|
template<class T > |
DirectHandle< T > | GetHolder () const |
|
DirectHandle< JSAny > | lookup_start_object () const |
|
bool | HolderIsReceiver () const |
|
bool | HolderIsReceiverOrHiddenPrototype () const |
|
bool | check_prototype_chain () const |
|
bool | HasAccess () const |
|
bool | ExtendingNonExtensible (DirectHandle< JSReceiver > receiver) |
|
void | PrepareForDataProperty (DirectHandle< Object > value) |
|
void | PrepareTransitionToDataProperty (DirectHandle< JSReceiver > receiver, DirectHandle< Object > value, PropertyAttributes attributes, StoreOrigin store_origin) |
|
bool | IsCacheableTransition () |
|
void | ApplyTransitionToDataProperty (DirectHandle< JSReceiver > receiver) |
|
void | ReconfigureDataProperty (DirectHandle< Object > value, PropertyAttributes attributes) |
|
void | Delete () |
|
void | TransitionToAccessorProperty (DirectHandle< Object > getter, DirectHandle< Object > setter, PropertyAttributes attributes) |
|
void | TransitionToAccessorPair (DirectHandle< Object > pair, PropertyAttributes attributes) |
|
PropertyDetails | property_details () const |
|
PropertyAttributes | property_attributes () const |
|
bool | IsConfigurable () const |
|
bool | IsReadOnly () const |
|
bool | IsEnumerable () const |
|
Representation | representation () const |
|
PropertyLocation | location () const |
|
PropertyConstness | constness () const |
|
FieldIndex | GetFieldIndex () const |
|
int | GetFieldDescriptorIndex () const |
|
int | GetAccessorIndex () const |
|
DirectHandle< PropertyCell > | GetPropertyCell () const |
|
DirectHandle< Object > | GetAccessors () const |
|
DirectHandle< InterceptorInfo > | GetInterceptor () const |
|
DirectHandle< InterceptorInfo > | GetInterceptorForFailedAccessCheck () const |
|
Handle< Object > | GetDataValue (AllocationPolicy allocation_policy=AllocationPolicy::kAllocationAllowed) const |
|
void | WriteDataValue (DirectHandle< Object > value, bool initializing_store) |
|
DirectHandle< Object > | GetDataValue (SeqCstAccessTag tag) const |
|
void | WriteDataValue (DirectHandle< Object > value, SeqCstAccessTag tag) |
|
DirectHandle< Object > | SwapDataValue (DirectHandle< Object > value, SeqCstAccessTag tag) |
|
DirectHandle< Object > | CompareAndSwapDataValue (DirectHandle< Object > expected, DirectHandle< Object > value, SeqCstAccessTag tag) |
|
void | UpdateProtector () |
|
bool | TryLookupCachedProperty (DirectHandle< AccessorPair > accessor) |
|
bool | TryLookupCachedProperty () |
|
template<bool is_element> |
void | Start () |
|
|
bool | LookupCachedProperty (DirectHandle< AccessorPair > accessor) |
|
| LookupIterator (Isolate *isolate, DirectHandle< JSAny > receiver, DirectHandle< Name > name, size_t index, DirectHandle< JSAny > lookup_start_object, Configuration configuration) |
|
| LookupIterator (Isolate *isolate, Configuration configuration, DirectHandle< JSAny > receiver, DirectHandle< Symbol > name, DirectHandle< JSAny > lookup_start_object) |
|
DirectHandle< Map > | GetReceiverMap () const |
|
V8_WARN_UNUSED_RESULT Tagged< JSReceiver > | NextHolder (Tagged< Map > map) |
|
bool | is_js_array_element (bool is_element) const |
|
template<bool is_element> |
V8_EXPORT_PRIVATE void | Start () |
|
template<bool is_element> |
void | NextInternal (Tagged< Map > map, Tagged< JSReceiver > holder) |
|
template<bool is_element> |
State | LookupInHolder (Tagged< Map > map, Tagged< JSReceiver > holder) |
|
template<bool is_element> |
State | LookupInRegularHolder (Tagged< Map > map, Tagged< JSReceiver > holder) |
|
template<bool is_element> |
State | LookupInSpecialHolder (Tagged< Map > map, Tagged< JSReceiver > holder) |
|
template<bool is_element> |
void | RestartLookupForNonMaskingInterceptors () |
|
template<bool is_element> |
void | RestartInternal (InterceptorState interceptor_state) |
|
DirectHandle< Object > | FetchValue (AllocationPolicy allocation_policy=AllocationPolicy::kAllocationAllowed) const |
|
bool | CanStayConst (Tagged< Object > value) const |
|
bool | DictCanStayConst (Tagged< Object > value) const |
|
template<bool is_element> |
void | ReloadPropertyInformation () |
|
template<bool is_element> |
bool | SkipInterceptor (Tagged< JSObject > holder) |
|
template<bool is_element> |
Tagged< InterceptorInfo > | GetInterceptor (Tagged< JSObject > holder) const |
|
bool | check_interceptor () const |
|
InternalIndex | descriptor_number () const |
|
InternalIndex | dictionary_entry () const |
|
State | NotFound (Tagged< JSReceiver > const holder) const |
|
|
static void | InternalUpdateProtector (Isolate *isolate, DirectHandle< JSAny > receiver, DirectHandle< Name > name) |
|
static Configuration | ComputeConfiguration (Isolate *isolate, Configuration configuration, DirectHandle< Name > name) |
|
static MaybeDirectHandle< JSReceiver > | GetRootForNonJSReceiver (Isolate *isolate, DirectHandle< JSPrimitive > lookup_start_object, size_t index, Configuration configuration) |
|
static MaybeDirectHandle< JSReceiver > | GetRoot (Isolate *isolate, DirectHandle< JSAny > lookup_start_object, size_t index, Configuration configuration) |
|
Definition at line 57 of file lookup.h.
◆ Configuration
Enumerator |
---|
kInterceptor | |
kPrototypeChain | |
OWN_SKIP_INTERCEPTOR | |
OWN | |
PROTOTYPE_CHAIN_SKIP_INTERCEPTOR | |
PROTOTYPE_CHAIN | |
DEFAULT | |
Definition at line 59 of file lookup.h.
◆ InterceptorState
Enumerator |
---|
kUninitialized | |
kSkipNonMasking | |
kProcessNonMasking | |
Definition at line 297 of file lookup.h.
◆ State
Enumerator |
---|
NOT_FOUND | |
TYPED_ARRAY_INDEX_NOT_FOUND | |
ACCESS_CHECK | |
INTERCEPTOR | |
JSPROXY | |
ACCESSOR | |
DATA | |
WASM_OBJECT | |
TRANSITION | |
BEFORE_PROPERTY | |
Definition at line 72 of file lookup.h.
◆ LookupIterator() [1/9]
◆ LookupIterator() [2/9]
◆ LookupIterator() [3/9]
◆ LookupIterator() [4/9]
◆ LookupIterator() [5/9]
◆ LookupIterator() [6/9]
◆ LookupIterator() [7/9]
◆ LookupIterator() [8/9]
◆ LookupIterator() [9/9]
◆ ApplyTransitionToDataProperty()
◆ array_index()
uint32_t v8::internal::LookupIterator::array_index |
( |
| ) |
const |
|
inline |
◆ CanStayConst()
◆ check_interceptor()
bool v8::internal::LookupIterator::check_interceptor |
( |
| ) |
const |
|
inlineprivate |
◆ check_prototype_chain()
bool v8::internal::LookupIterator::check_prototype_chain |
( |
| ) |
const |
|
inline |
◆ CompareAndSwapDataValue()
◆ ComputeConfiguration()
◆ constness()
◆ Delete()
void v8::internal::LookupIterator::Delete |
( |
| ) |
|
◆ descriptor_number()
InternalIndex v8::internal::LookupIterator::descriptor_number |
( |
| ) |
const |
|
inlineprivate |
◆ DictCanStayConst()
bool v8::internal::LookupIterator::DictCanStayConst |
( |
Tagged< Object > | value | ) |
const |
|
private |
◆ dictionary_entry()
InternalIndex v8::internal::LookupIterator::dictionary_entry |
( |
| ) |
const |
|
inlineprivate |
◆ ExtendingNonExtensible()
◆ factory()
Factory * v8::internal::LookupIterator::factory |
( |
| ) |
const |
|
inline |
◆ FetchValue()
◆ GetAccessorIndex()
int v8::internal::LookupIterator::GetAccessorIndex |
( |
| ) |
const |
◆ GetAccessors()
◆ GetDataValue() [1/2]
◆ GetDataValue() [2/2]
◆ GetFieldDescriptorIndex()
int v8::internal::LookupIterator::GetFieldDescriptorIndex |
( |
| ) |
const |
◆ GetFieldIndex()
FieldIndex v8::internal::LookupIterator::GetFieldIndex |
( |
| ) |
const |
◆ GetHolder()
DirectHandle< T > v8::internal::LookupIterator::GetHolder |
( |
| ) |
const |
|
inline |
◆ GetInterceptor() [1/2]
◆ GetInterceptor() [2/2]
template<
bool is_element>
◆ GetInterceptorForFailedAccessCheck()
◆ GetKey()
PropertyKey v8::internal::LookupIterator::GetKey |
( |
| ) |
const |
|
inline |
◆ GetName()
◆ GetPropertyCell()
◆ GetReceiver()
◆ GetReceiverMap()
◆ GetRoot()
◆ GetRootForNonJSReceiver()
◆ GetStoreTarget()
DirectHandle< T > v8::internal::LookupIterator::GetStoreTarget |
( |
| ) |
const |
|
inline |
◆ HasAccess()
bool v8::internal::LookupIterator::HasAccess |
( |
| ) |
const |
◆ HasInternalMarkerProperty()
◆ heap()
Heap * v8::internal::LookupIterator::heap |
( |
| ) |
const |
|
inline |
◆ HolderIsReceiver()
bool v8::internal::LookupIterator::HolderIsReceiver |
( |
| ) |
const |
◆ HolderIsReceiverOrHiddenPrototype()
bool v8::internal::LookupIterator::HolderIsReceiverOrHiddenPrototype |
( |
| ) |
const |
◆ index()
size_t v8::internal::LookupIterator::index |
( |
| ) |
const |
|
inline |
◆ InternalUpdateProtector()
◆ is_dictionary_holder()
bool v8::internal::LookupIterator::is_dictionary_holder |
( |
| ) |
const |
|
inline |
◆ is_js_array_element()
bool v8::internal::LookupIterator::is_js_array_element |
( |
bool | is_element | ) |
const |
|
inlineprivate |
◆ IsCacheableTransition()
bool v8::internal::LookupIterator::IsCacheableTransition |
( |
| ) |
|
|
inline |
◆ IsConfigurable()
bool v8::internal::LookupIterator::IsConfigurable |
( |
| ) |
const |
|
inline |
◆ IsElement() [1/2]
bool v8::internal::LookupIterator::IsElement |
( |
| ) |
const |
|
inline |
◆ IsElement() [2/2]
◆ IsEnumerable()
bool v8::internal::LookupIterator::IsEnumerable |
( |
| ) |
const |
|
inline |
◆ IsFound()
bool v8::internal::LookupIterator::IsFound |
( |
| ) |
const |
|
inline |
◆ isolate()
Isolate * v8::internal::LookupIterator::isolate |
( |
| ) |
const |
|
inline |
◆ IsPrivateName()
bool v8::internal::LookupIterator::IsPrivateName |
( |
| ) |
const |
|
inline |
◆ IsReadOnly()
bool v8::internal::LookupIterator::IsReadOnly |
( |
| ) |
const |
|
inline |
◆ location()
◆ lookup_start_object()
◆ LookupCachedProperty()
◆ LookupInHolder()
template<
bool is_element>
◆ LookupInRegularHolder()
template<
bool is_element>
◆ LookupInSpecialHolder()
template<
bool is_element>
◆ name()
◆ Next()
void v8::internal::LookupIterator::Next |
( |
| ) |
|
◆ NextHolder()
◆ NextInternal()
template<
bool is_element>
◆ NotFound() [1/2]
void v8::internal::LookupIterator::NotFound |
( |
| ) |
|
|
inline |
◆ NotFound() [2/2]
◆ PrepareForDataProperty()
◆ PrepareTransitionToDataProperty()
◆ property_attributes()
◆ property_details()
◆ RecheckTypedArrayBounds()
void v8::internal::LookupIterator::RecheckTypedArrayBounds |
( |
| ) |
|
◆ ReconfigureDataProperty()
◆ ReloadPropertyInformation()
template<
bool is_element>
void v8::internal::LookupIterator::ReloadPropertyInformation |
( |
| ) |
|
|
private |
◆ representation()
◆ Restart()
void v8::internal::LookupIterator::Restart |
( |
| ) |
|
|
inline |
◆ RestartInternal()
template<
bool is_element>
template void v8::internal::LookupIterator::RestartInternal< false > |
( |
InterceptorState | interceptor_state | ) |
|
|
private |
◆ RestartLookupForNonMaskingInterceptors()
template<
bool is_element>
void v8::internal::LookupIterator::RestartLookupForNonMaskingInterceptors |
( |
| ) |
|
|
inlineprivate |
◆ SkipInterceptor()
template<
bool is_element>
◆ Start() [1/2]
template<
bool is_element>
template void v8::internal::LookupIterator::Start< false > |
( |
| ) |
|
◆ Start() [2/2]
template<
bool is_element>
◆ state()
State v8::internal::LookupIterator::state |
( |
| ) |
const |
|
inline |
◆ SwapDataValue()
◆ transition_cell()
◆ transition_map()
◆ TransitionToAccessorPair()
◆ TransitionToAccessorProperty()
◆ TryLookupCachedProperty() [1/2]
bool v8::internal::LookupIterator::TryLookupCachedProperty |
( |
| ) |
|
◆ TryLookupCachedProperty() [2/2]
◆ UpdateProtector() [1/2]
void v8::internal::LookupIterator::UpdateProtector |
( |
| ) |
|
|
inline |
◆ UpdateProtector() [2/2]
◆ WriteDataValue() [1/2]
◆ WriteDataValue() [2/2]
◆ configuration_
◆ has_property_
bool v8::internal::LookupIterator::has_property_ = false |
|
private |
◆ holder_
◆ index_
const size_t v8::internal::LookupIterator::index_ |
|
private |
◆ interceptor_state_
◆ isolate_
Isolate* const v8::internal::LookupIterator::isolate_ |
|
private |
◆ kInvalidIndex
const size_t v8::internal::LookupIterator::kInvalidIndex = std::numeric_limits<size_t>::max() |
|
staticprivate |
◆ lookup_start_object_
◆ name_
◆ number_
◆ property_details_
◆ PropertyKey
friend v8::internal::LookupIterator::PropertyKey |
|
private |
◆ receiver_
◆ state_
◆ transition_
The documentation for this class was generated from the following files: