v8  3.25.30(node0.11.13)
V8 is Google's open source JavaScript engine
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
DictionaryElementsAccessor Class Reference
Inheritance diagram for DictionaryElementsAccessor:
Collaboration diagram for DictionaryElementsAccessor:

Public Member Functions

 DictionaryElementsAccessor (const char *name)
 
- Public Member Functions inherited from ElementsAccessor
 ElementsAccessor (const char *name)
 
virtual ~ElementsAccessor ()
 
const char * name () const
 
void CopyElements (Handle< JSObject > from_holder, Handle< FixedArrayBase > to, ElementsKind from_kind, Handle< FixedArrayBase > from=Handle< FixedArrayBase >::null())
 

Static Public Member Functions

static MUST_USE_RESULT
MaybeObject * 
SetLengthWithoutNormalize (FixedArrayBase *store, JSArray *array, Object *length_object, uint32_t length)
 
static MUST_USE_RESULT Handle
< Object
SetLengthWithoutNormalize (Handle< FixedArrayBase > store, Handle< JSArray > array, Handle< Object > length_object, uint32_t length)
 
static MUST_USE_RESULT
MaybeObject * 
DeleteCommon (JSObject *obj, uint32_t key, JSReceiver::DeleteMode mode)
 
static MUST_USE_RESULT Handle
< Object
DeleteCommon (Handle< JSObject > obj, uint32_t key, JSReceiver::DeleteMode mode)
 
static void CopyElementsImpl (Handle< FixedArrayBase > from, uint32_t from_start, Handle< FixedArrayBase > to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size)
 
- Static Public Member Functions inherited from ElementsAccessor
static ElementsAccessorForKind (ElementsKind elements_kind)
 
static ElementsAccessorForArray (FixedArrayBase *array)
 
static void InitializeOncePerProcess ()
 
static void TearDown ()
 

Protected Member Functions

virtual MUST_USE_RESULT Handle
< Object
Delete (Handle< JSObject > obj, uint32_t key, JSReceiver::DeleteMode mode) V8_FINAL V8_OVERRIDE
 
- Protected Member Functions inherited from ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >
 ElementsAccessorBase (const char *name)
 
virtual ElementsKind kind () const V8_FINAL V8_OVERRIDE
 
virtual void Validate (JSObject *holder) V8_FINAL V8_OVERRIDE
 
virtual bool HasElement (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT Handle
< Object
Get (Handle< Object > receiver, Handle< JSObject > holder, uint32_t key, Handle< FixedArrayBase > backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
MaybeObject * 
Get (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
PropertyAttributes 
GetAttributes (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
PropertyType 
GetType (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
AccessorPair
GetAccessorPair (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT Handle
< Object
SetLength (Handle< JSArray > array, Handle< Object > length) V8_FINAL V8_OVERRIDE
 
virtual void SetCapacityAndLength (Handle< JSArray > array, int capacity, int length) V8_FINAL V8_OVERRIDE
 
virtual void CopyElements (Handle< JSObject > from_holder, uint32_t from_start, ElementsKind from_kind, Handle< FixedArrayBase > to, uint32_t to_start, int copy_size, Handle< FixedArrayBase > from) V8_FINAL V8_OVERRIDE
 
virtual MUST_USE_RESULT
MaybeObject * 
AddElementsToFixedArray (Object *receiver, JSObject *holder, FixedArray *to, FixedArrayBase *from) V8_FINAL V8_OVERRIDE
 
virtual uint32_t GetCapacity (FixedArrayBase *backing_store) V8_FINAL V8_OVERRIDE
 
virtual uint32_t GetKeyForIndex (FixedArrayBase *backing_store, uint32_t index) V8_FINAL V8_OVERRIDE
 

Static Protected Member Functions

static MUST_USE_RESULT
MaybeObject * 
GetImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *store)
 
static MUST_USE_RESULT
PropertyAttributes 
GetAttributesImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store)
 
static MUST_USE_RESULT PropertyType GetTypeImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *store)
 
static MUST_USE_RESULT
AccessorPair
GetAccessorPairImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *store)
 
static bool HasElementImpl (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store)
 
static uint32_t GetKeyForIndexImpl (FixedArrayBase *store, uint32_t index)
 
- Static Protected Member Functions inherited from ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >
static void ValidateContents (JSObject *holder, int length)
 
static void ValidateImpl (JSObject *holder)
 
static bool HasElementImpl (Object *receiver, JSObject *holder, uint32_t key, FixedArrayBase *backing_store)
 
static MUST_USE_RESULT
MaybeObject * 
GetImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store)
 
static MUST_USE_RESULT
PropertyAttributes 
GetAttributesImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store)
 
static MUST_USE_RESULT PropertyType GetTypeImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store)
 
static MUST_USE_RESULT
AccessorPair
GetAccessorPairImpl (Object *receiver, JSObject *obj, uint32_t key, FixedArrayBase *backing_store)
 
static MUST_USE_RESULT Handle
< Object
SetLengthImpl (Handle< JSObject > obj, Handle< Object > length, Handle< FixedArrayBase > backing_store)
 
static void SetFastElementsCapacityAndLength (Handle< JSObject > obj, int capacity, int length)
 
static void CopyElementsImpl (Handle< FixedArrayBase > from, uint32_t from_start, Handle< FixedArrayBase > to, ElementsKind from_kind, uint32_t to_start, int packed_size, int copy_size)
 
static uint32_t GetCapacityImpl (FixedArrayBase *backing_store)
 
static uint32_t GetKeyForIndexImpl (FixedArrayBase *backing_store, uint32_t index)
 

Friends

class ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >
 

Additional Inherited Members

- Static Public Attributes inherited from ElementsAccessor
static const int kCopyToEnd = -1
 
static const int kCopyToEndAndInitializeToHole = -2
 
- Protected Types inherited from ElementsAccessorBase< DictionaryElementsAccessor, ElementsKindTraits< DICTIONARY_ELEMENTS > >
typedef ElementsKindTraits
< DICTIONARY_ELEMENTS > 
ElementsTraits
 
typedef ElementsKindTraits
< DICTIONARY_ELEMENTS >
::BackingStore 
BackingStore
 

Detailed Description

Definition at line 1423 of file elements.cc.

Constructor & Destructor Documentation

DictionaryElementsAccessor ( const char *  name)
inlineexplicit

Definition at line 1427 of file elements.cc.

Member Function Documentation

static void CopyElementsImpl ( Handle< FixedArrayBase from,
uint32_t  from_start,
Handle< FixedArrayBase to,
ElementsKind  from_kind,
uint32_t  to_start,
int  packed_size,
int  copy_size 
)
inlinestatic

Definition at line 1557 of file elements.cc.

References UNREACHABLE.

static MUST_USE_RESULT Handle<Object> DeleteCommon ( Handle< JSObject obj,
uint32_t  key,
JSReceiver::DeleteMode  mode 
)
inlinestatic
static MUST_USE_RESULT PropertyAttributes GetAttributesImpl ( Object receiver,
JSObject obj,
uint32_t  key,
FixedArrayBase backing_store 
)
inlinestaticprotected
static uint32_t GetKeyForIndexImpl ( FixedArrayBase store,
uint32_t  index 
)
inlinestaticprotected
static bool HasElementImpl ( Object receiver,
JSObject holder,
uint32_t  key,
FixedArrayBase backing_store 
)
inlinestaticprotected
static MUST_USE_RESULT Handle<Object> SetLengthWithoutNormalize ( Handle< FixedArrayBase store,
Handle< JSArray array,
Handle< Object length_object,
uint32_t  length 
)
inlinestatic

Friends And Related Function Documentation


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