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
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 (Heap *heap)
 
- Public Member Functions inherited from HashTableKey
virtual ~HashTableKey ()
 

Data Fields

Stringstring_
 
uint32_t hash_
 

Detailed Description

Definition at line 13604 of file objects.cc.

Constructor & Destructor Documentation

StringKey ( String string)
inlineexplicit

Definition at line 13606 of file objects.cc.

Member Function Documentation

Object* AsObject ( Heap heap)
inlinevirtual

Implements HashTableKey.

Definition at line 13623 of file objects.cc.

uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 13619 of file objects.cc.

uint32_t HashForObject ( Object other)
inlinevirtual

Implements HashTableKey.

Definition at line 13621 of file objects.cc.

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

bool IsMatch ( Object string)
inlinevirtual

Implements HashTableKey.

Definition at line 13610 of file objects.cc.

References String::cast().

Field Documentation

uint32_t hash_

Definition at line 13626 of file objects.cc.

String* string_

Definition at line 13625 of file objects.cc.


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