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
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 (Heap *heap)
 
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 13715 of file objects.cc.

Constructor & Destructor Documentation

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

Definition at line 13717 of file objects.cc.

Member Function Documentation

Object* AsObject ( Heap heap)
inlinevirtual

Implements HashTableKey.

Definition at line 13733 of file objects.cc.

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

uint32_t Hash ( )
inlinevirtual

Implements HashTableKey.

Definition at line 13731 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 13746 of file objects.cc.

References Smi::value().

Field Documentation

Smi* flags_

Definition at line 13751 of file objects.cc.

String* string_

Definition at line 13750 of file objects.cc.


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