KJS::NativeErrorImp Class Reference
Inheritance diagram for KJS::NativeErrorImp:

Public Member Functions | |
NativeErrorImp (ExecState *exec, FunctionPrototypeImp *funcProto, const Object &prot) | |
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) |
virtual void | mark () |
virtual const ClassInfo * | classInfo () const |
Static Public Attributes | |
static const ClassInfo | info = {"Function", &InternalFunctionImp::info, 0, 0} |
Detailed Description
Definition at line 76 of file error_object.h.
Member Function Documentation
|
Implementation of the [[Construct]] internal property.
Reimplemented from KJS::ObjectImp. Definition at line 168 of file error_object.cpp. References KJS::messagePropertyName, KJS::ObjectImp::putDirect(), KJS::ObjectImp::toString(), and KJS::ObjectImp::type(). Referenced by call(). |
|
Implementation of the [[Call]] internal property.
Reimplemented from KJS::ObjectImp. Definition at line 182 of file error_object.cpp. References construct(). |
|
A pointer to a ClassInfo struct for this class. This provides a basic facility for run-time type information, and can be used to check an object's class an inheritance (see inherits()). This should always return a statically declared pointer, or 0 to indicate that there is no class information. This is primarily useful if you have application-defined classes that you wish to check against for casting purposes. For example, to specify the class info for classes FooImp and BarImp, where FooImp inherits from BarImp, you would add the following in your class declarations:
class BarImp : public ObjectImp { virtual const ClassInfo *classInfo() const { return &info; } static const ClassInfo info; // ... }; class FooImp : public ObjectImp { virtual const ClassInfo *classInfo() const { return &info; } static const ClassInfo info; // ... }; And in your source file:
const ClassInfo BarImp::info = {0, 0, 0}; // no parent class const ClassInfo FooImp::info = {&BarImp::info, 0, 0};
Reimplemented from KJS::InternalFunctionImp. Definition at line 88 of file error_object.h. References info. |
The documentation for this class was generated from the following files: