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
SymbolKey Class Reference
Inheritance diagram for SymbolKey:
Collaboration diagram for SymbolKey:

Public Member Functions

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

Static Public Member Functions

static uint32_t StringHash (Object *obj)
 

Data Fields

Stringstring_
 

Detailed Description

Definition at line 11032 of file objects.cc.

Constructor & Destructor Documentation

SymbolKey ( String string)
inlineexplicit

Definition at line 11034 of file objects.cc.

Member Function Documentation

MaybeObject* AsObject ( )
inlinevirtual
uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 11041 of file objects.cc.

uint32_t HashForObject ( Object other)
inlinevirtual

Implements HashTableKey.

Definition at line 11043 of file objects.cc.

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

bool IsMatch ( Object string)
inlinevirtual

Implements HashTableKey.

Definition at line 11037 of file objects.cc.

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

static uint32_t StringHash ( Object obj)
inlinestatic

Definition at line 11066 of file objects.cc.

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

Field Documentation

String* string_

Definition at line 11070 of file objects.cc.


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