![]() |
v8
3.14.5(node0.10.28)
V8 is Google's open source JavaScript engine
|


Public Member Functions | |
| RegExpKey (String *string, JSRegExp::Flags flags) | |
| bool | IsMatch (Object *obj) |
| uint32_t | Hash () |
| Object * | AsObject () |
| 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 | |
| String * | string_ |
| Smi * | flags_ |
Definition at line 11045 of file objects.cc.
|
inline |
Definition at line 11047 of file objects.cc.
|
inlinevirtual |
Implements HashTableKey.
Definition at line 11063 of file objects.cc.
References v8::internal::NULL, and UNREACHABLE.
|
inlinevirtual |
Implements HashTableKey.
Definition at line 11061 of file objects.cc.
References RegExpKey::flags_, RegExpKey::RegExpHash(), and RegExpKey::string_.
Referenced by CompilationCacheTable::PutRegExp().
|
inlinevirtual |
Implements HashTableKey.
Definition at line 11070 of file objects.cc.
References Smi::cast(), FixedArray::cast(), String::cast(), FixedArray::get(), JSRegExp::kFlagsIndex, JSRegExp::kSourceIndex, and RegExpKey::RegExpHash().
|
inlinevirtual |
Implements HashTableKey.
Definition at line 11055 of file objects.cc.
References FixedArray::cast(), String::cast(), String::Equals(), RegExpKey::flags_, FixedArray::get(), JSRegExp::kFlagsIndex, JSRegExp::kSourceIndex, and RegExpKey::string_.
Definition at line 11076 of file objects.cc.
References Smi::value().
Referenced by RegExpKey::Hash(), and RegExpKey::HashForObject().
| Smi* flags_ |
Definition at line 11081 of file objects.cc.
Referenced by RegExpKey::Hash(), and RegExpKey::IsMatch().
| String* string_ |
Definition at line 11080 of file objects.cc.
Referenced by RegExpKey::Hash(), and RegExpKey::IsMatch().