V8 API Reference, 7.2.502.16 (for Deno 0.2.4)
v8::internal::LookupIterator Class Referencefinal

Public Types

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 {
  ACCESS_CHECK, INTEGER_INDEXED_EXOTIC, INTERCEPTOR, JSPROXY,
  NOT_FOUND, ACCESSOR, DATA, TRANSITION,
  BEFORE_PROPERTY = INTERCEPTOR
}
 

Public Member Functions

 LookupIterator (Isolate *isolate, Handle< Object > receiver, Handle< Name > name, Configuration configuration=DEFAULT)
 
 LookupIterator (Handle< Object > receiver, Handle< Name > name, Handle< JSReceiver > holder, Configuration configuration=DEFAULT)
 
 LookupIterator (Isolate *isolate, Handle< Object > receiver, Handle< Name > name, Handle< JSReceiver > holder, Configuration configuration=DEFAULT)
 
 LookupIterator (Isolate *isolate, Handle< Object > receiver, uint32_t index, Configuration configuration=DEFAULT)
 
 LookupIterator (Isolate *isolate, Handle< Object > receiver, uint32_t index, Handle< JSReceiver > holder, Configuration configuration=DEFAULT)
 
void Restart ()
 
Isolate * isolate () const
 
State state () const
 
Handle< Name > name () const
 
Handle< Name > GetName ()
 
uint32_t index () const
 
bool IsElement () const
 
bool IsFound () const
 
void Next ()
 
void NotFound ()
 
Heap * heap () const
 
Factory * factory () const
 
Handle< Object > GetReceiver () const
 
template<class T >
Handle< T > GetStoreTarget () const
 
bool is_dictionary_holder () const
 
Handle< Map > transition_map () const
 
Handle< PropertyCell > transition_cell () const
 
template<class T >
Handle< T > GetHolder () const
 
bool HolderIsReceiver () const
 
bool HolderIsReceiverOrHiddenPrototype () const
 
bool check_prototype_chain () const
 
bool HasAccess () const
 
bool ExtendingNonExtensible (Handle< JSReceiver > receiver)
 
void PrepareForDataProperty (Handle< Object > value)
 
void PrepareTransitionToDataProperty (Handle< JSReceiver > receiver, Handle< Object > value, PropertyAttributes attributes, StoreOrigin store_origin)
 
bool IsCacheableTransition ()
 
void ApplyTransitionToDataProperty (Handle< JSReceiver > receiver)
 
void ReconfigureDataProperty (Handle< Object > value, PropertyAttributes attributes)
 
void Delete ()
 
void TransitionToAccessorProperty (Handle< Object > getter, Handle< Object > setter, PropertyAttributes attributes)
 
void TransitionToAccessorPair (Handle< 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
 
Handle< Map > GetFieldOwnerMap () const
 
FieldIndex GetFieldIndex () const
 
Handle< FieldType > GetFieldType () const
 
int GetFieldDescriptorIndex () const
 
int GetAccessorIndex () const
 
int GetConstantIndex () const
 
Handle< PropertyCell > GetPropertyCell () const
 
Handle< Object > GetAccessors () const
 
Handle< InterceptorInfo > GetInterceptor () const
 
Handle< InterceptorInfo > GetInterceptorForFailedAccessCheck () const
 
Handle< Object > GetDataValue () const
 
void WriteDataValue (Handle< Object > value, bool initializing_store)
 
void UpdateProtector ()
 
bool TryLookupCachedProperty ()
 
bool LookupCachedProperty ()
 
template<bool is_element>
void Start ()
 

Static Public Member Functions

static LookupIterator PropertyOrElement (Isolate *isolate, Handle< Object > receiver, Handle< Name > name, Configuration configuration=DEFAULT)
 
static LookupIterator PropertyOrElement (Isolate *isolate, Handle< Object > receiver, Handle< Name > name, Handle< JSReceiver > holder, Configuration configuration=DEFAULT)
 
static LookupIterator PropertyOrElement (Isolate *isolate, Handle< Object > receiver, Handle< Object > key, bool *success, Handle< JSReceiver > holder, Configuration configuration=DEFAULT)
 
static LookupIterator PropertyOrElement (Isolate *isolate, Handle< Object > receiver, Handle< Object > key, bool *success, Configuration configuration=DEFAULT)
 
static LookupIterator ForTransitionHandler (Isolate *isolate, Handle< Object > receiver, Handle< Name > name, Handle< Object > value, MaybeHandle< Map > maybe_transition_map)
 

Detailed Description

Definition at line 18 of file lookup.h.


The documentation for this class was generated from the following files: