v8  3.11.10(node0.8.26)
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 10691 of file objects.cc.

Constructor & Destructor Documentation

StringKey ( String string)
inlineexplicit

Definition at line 10693 of file objects.cc.

Member Function Documentation

Object* AsObject ( )
inlinevirtual

Implements HashTableKey.

Definition at line 10710 of file objects.cc.

uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 10706 of file objects.cc.

Referenced by CompilationCacheTable::Put().

uint32_t HashForObject ( Object other)
inlinevirtual

Implements HashTableKey.

Definition at line 10708 of file objects.cc.

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

bool IsMatch ( Object string)
inlinevirtual

Implements HashTableKey.

Definition at line 10697 of file objects.cc.

References String::cast().

Field Documentation

uint32_t hash_

Definition at line 10713 of file objects.cc.

String* string_

Definition at line 10712 of file objects.cc.


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