KJS::InternalFunctionImp Class Reference
Base class for all function objects. More...
#include <function.h>
Inheritance diagram for KJS::InternalFunctionImp:

Public Methods | |
InternalFunctionImp (FunctionPrototypeImp *funcProto) | |
void | setName (Identifier _ident) |
Detailed Description
Base class for all function objects.It implements the hasInstance method (for instanceof, which only applies to function objects) and allows to give the function a name, used in toString().
Constructors and prototypes of internal objects (implemented in C++) directly inherit from this. FunctionImp also does, for functions implemented in JS.
Definition at line 41 of file function.h.
Constructor & Destructor Documentation
|
Constructor.
For C++-implemented functions, Definition at line 967 of file internal.cpp. |
Member Function Documentation
|
You might want to use the helper function ObjectImp::setFunctionName for this.
Definition at line 57 of file function.h. |
The documentation for this class was generated from the following files: