KJS::RegExpObjectImp Class Reference
Inheritance diagram for KJS::RegExpObjectImp:

Public Member Functions | |
RegExpObjectImp (ExecState *exec, FunctionPrototypeImp *funcProto, RegExpPrototypeImp *regProto) | |
virtual | ~RegExpObjectImp () |
virtual bool | implementsConstruct () const |
virtual Object | construct (ExecState *exec, const List &args) |
virtual bool | implementsCall () const |
virtual Value | call (ExecState *exec, Object &thisObj, const List &args) |
Value | get (ExecState *exec, const Identifier &p) const |
int ** | registerRegexp (const RegExp *re, const UString &s) |
void | setSubPatterns (int num) |
Object | arrayOfMatches (ExecState *exec, const UString &result) const |
Detailed Description
Definition at line 64 of file regexp_object.h.
Member Function Documentation
|
Implementation of the [[Construct]] internal property.
Reimplemented from KJS::ObjectImp. Definition at line 228 of file regexp_object.cpp. References KJS::Interpreter::builtinRegExpPrototype(), KJS::Error::create(), KJS::Object::dynamicCast(), KJS::UString::find(), KJS::Object::imp(), KJS::Object::inherits(), KJS::ExecState::interpreter(), KJS::Value::isA(), KJS::List::isEmpty(), KJS::RegExp::isValid(), KJS::RegExp::pattern(), KJS::ObjectImp::putDirect(), KJS::RegExpImp::regExp(), KJS::ExecState::setException(), KJS::RegExpImp::setRegExp(), KJS::List::size(), KJS::BooleanImp::staticFalse, KJS::BooleanImp::staticTrue, KJS::Value::toObject(), KJS::Value::toString(), and KJS::NumberImp::zero(). Referenced by call(). |
|
Implementation of the [[Call]] internal property.
Reimplemented from KJS::ObjectImp. Definition at line 291 of file regexp_object.cpp. References construct(). |
|
Implementation of the [[Get]] internal property (implemented by all Objects).
Reimplemented from KJS::ObjectImp. Definition at line 202 of file regexp_object.cpp. References KJS::ObjectImp::get(), KJS::UString::substr(), KJS::UString::toULong(), and KJS::Identifier::ustring(). |
The documentation for this class was generated from the following files: