kjs Library API Documentation

KJS::RegExpObjectImp Class Reference

Inheritance diagram for KJS::RegExpObjectImp:

Inheritance graph
[legend]
Collaboration diagram for KJS::RegExpObjectImp:

Collaboration graph
[legend]
List of all members.

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

Object RegExpObjectImp::construct ExecState exec,
const List args
[virtual]
 

Implementation of the [[Construct]] internal property.

See also:
Object::construct()

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().

Value RegExpObjectImp::call ExecState exec,
Object thisObj,
const List args
[virtual]
 

Implementation of the [[Call]] internal property.

See also:
Object::call()

Reimplemented from KJS::ObjectImp.

Definition at line 291 of file regexp_object.cpp.

References construct().

Value RegExpObjectImp::get ExecState exec,
const Identifier p
const [virtual]
 

Implementation of the [[Get]] internal property (implemented by all Objects).

See also:
Object::get()

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:
KDE Logo
This file is part of the documentation for kjs Library Version 3.4.2.
Documentation copyright © 1996-2004 the KDE developers.
Generated on Thu Jul 20 13:54:39 2006 by doxygen 1.4.4 written by Dimitri van Heesch, © 1997-2003