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

Public Member Functions

 StringKey (String *string)
 
bool IsMatch (Object *string)
 
uint32_t Hash ()
 
uint32_t HashForObject (Object *other)
 
ObjectAsObject ()
 
- Public Member Functions inherited from HashTableKey
virtual ~HashTableKey ()
 

Data Fields

Stringstring_
 
uint32_t hash_
 

Detailed Description

Definition at line 10929 of file objects.cc.

Constructor & Destructor Documentation

StringKey ( String string)
inlineexplicit

Definition at line 10931 of file objects.cc.

Member Function Documentation

Object* AsObject ( )
inlinevirtual

Implements HashTableKey.

Definition at line 10948 of file objects.cc.

References StringKey::string_.

uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 10944 of file objects.cc.

References StringKey::hash_.

uint32_t HashForObject ( Object other)
inlinevirtual

Implements HashTableKey.

Definition at line 10946 of file objects.cc.

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

Referenced by StringKey::IsMatch().

bool IsMatch ( Object string)
inlinevirtual

Field Documentation

uint32_t hash_

Definition at line 10951 of file objects.cc.

Referenced by StringKey::Hash(), and StringKey::IsMatch().

String* string_

Definition at line 10950 of file objects.cc.

Referenced by StringKey::AsObject(), and StringKey::IsMatch().


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