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 ()
 
Isolateisolate () const
 
State state () const
 
Handle< Namename () const
 
Handle< NameGetName ()
 
uint32_t index () const
 
bool IsElement () const
 
bool IsFound () const
 
void Next ()
 
void NotFound ()
 
Heapheap () const
 
Factoryfactory () const
 
Handle< ObjectGetReceiver () const
 
template<class T >
Handle< TGetStoreTarget () const
 
bool is_dictionary_holder () const
 
Handle< Maptransition_map () const
 
Handle< PropertyCelltransition_cell () const
 
template<class T >
Handle< TGetHolder () 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< MapGetFieldOwnerMap () const
 
FieldIndex GetFieldIndex () const
 
Handle< FieldTypeGetFieldType () const
 
int GetFieldDescriptorIndex () const
 
int GetAccessorIndex () const
 
int GetConstantIndex () const
 
Handle< PropertyCellGetPropertyCell () const
 
Handle< ObjectGetAccessors () const
 
Handle< InterceptorInfoGetInterceptor () const
 
Handle< InterceptorInfoGetInterceptorForFailedAccessCheck () const
 
Handle< ObjectGetDataValue () 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: