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
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 11270 of file objects.cc.

Constructor & Destructor Documentation

SymbolKey ( String string)
inlineexplicit

Definition at line 11272 of file objects.cc.

Member Function Documentation

uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 11279 of file objects.cc.

References String::Hash(), and SymbolKey::string_.

uint32_t HashForObject ( Object other)
inlinevirtual

Implements HashTableKey.

Definition at line 11281 of file objects.cc.

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

bool IsMatch ( Object string)
inlinevirtual

Implements HashTableKey.

Definition at line 11275 of file objects.cc.

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

static uint32_t StringHash ( Object obj)
inlinestatic

Definition at line 11304 of file objects.cc.

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

Field Documentation

String* string_

Definition at line 11308 of file objects.cc.

Referenced by SymbolKey::AsObject(), SymbolKey::Hash(), and SymbolKey::IsMatch().


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