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

Public Member Functions

 RegExpKey (String *string, JSRegExp::Flags flags)
 
bool IsMatch (Object *obj)
 
uint32_t Hash ()
 
ObjectAsObject ()
 
uint32_t HashForObject (Object *obj)
 
- Public Member Functions inherited from HashTableKey
virtual ~HashTableKey ()
 

Static Public Member Functions

static uint32_t RegExpHash (String *string, Smi *flags)
 

Data Fields

Stringstring_
 
Smiflags_
 

Detailed Description

Definition at line 10807 of file objects.cc.

Constructor & Destructor Documentation

RegExpKey ( String string,
JSRegExp::Flags  flags 
)
inline

Definition at line 10809 of file objects.cc.

Member Function Documentation

Object* AsObject ( )
inlinevirtual

Implements HashTableKey.

Definition at line 10825 of file objects.cc.

References v8::internal::NULL, and UNREACHABLE.

uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 10823 of file objects.cc.

Referenced by CompilationCacheTable::PutRegExp().

uint32_t HashForObject ( Object obj)
inlinevirtual
bool IsMatch ( Object obj)
inlinevirtual
static uint32_t RegExpHash ( String string,
Smi flags 
)
inlinestatic

Definition at line 10838 of file objects.cc.

References Smi::value().

Field Documentation

Smi* flags_

Definition at line 10843 of file objects.cc.

String* string_

Definition at line 10842 of file objects.cc.


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