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
SubStringKey< Char > Class Template Reference

#include <objects-inl.h>

Inheritance diagram for SubStringKey< Char >:
Collaboration diagram for SubStringKey< Char >:

Public Member Functions

 SubStringKey (Handle< String > string, int from, int length)
 
virtual uint32_t Hash ()
 
virtual uint32_t HashForObject (Object *other)
 
virtual bool IsMatch (Object *string)
 
virtual MaybeObject * AsObject (Heap *heap)
 
template<>
MaybeObject * AsObject (Heap *heap)
 
template<>
MaybeObject * AsObject (Heap *heap)
 
template<>
bool IsMatch (Object *string)
 
template<>
bool IsMatch (Object *string)
 
- Public Member Functions inherited from HashTableKey
virtual ~HashTableKey ()
 

Detailed Description

template<class Char>
class v8::internal::SubStringKey< Char >

Definition at line 502 of file objects-inl.h.

Constructor & Destructor Documentation

SubStringKey ( Handle< String string,
int  from,
int  length 
)
inline

Definition at line 504 of file objects-inl.h.

References ASSERT.

Member Function Documentation

virtual MaybeObject* AsObject ( Heap heap)
virtual

Implements HashTableKey.

MaybeObject * AsObject ( Heap heap)
virtual

Implements HashTableKey.

Definition at line 13784 of file objects.cc.

References Heap::AllocateOneByteInternalizedString().

MaybeObject * AsObject ( Heap heap)
virtual

Implements HashTableKey.

Definition at line 13792 of file objects.cc.

References Heap::AllocateTwoByteInternalizedString().

virtual uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 512 of file objects-inl.h.

References ASSERT, StringHasher::HashSequentialString(), and Name::kHashShift.

virtual uint32_t HashForObject ( Object other)
inlinevirtual

Implements HashTableKey.

Definition at line 523 of file objects-inl.h.

References String::cast(), and Name::Hash().

virtual bool IsMatch ( Object string)
virtual

Implements HashTableKey.

bool IsMatch ( Object string)
virtual

Implements HashTableKey.

Definition at line 13801 of file objects.cc.

References String::cast(), and String::IsOneByteEqualTo().

bool IsMatch ( Object string)
virtual

Implements HashTableKey.

Definition at line 13808 of file objects.cc.

References String::cast(), and String::IsTwoByteEqualTo().


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