Changeset 12911 in webkit for trunk/JavaScriptCore/kjs/function.h
- Timestamp:
- Feb 20, 2006, 11:54:55 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function.h
r12523 r12911 25 25 #define KJS_FUNCTION_H 26 26 27 #include "array_instance.h"28 27 #include "internal.h" 29 28 #include <kxmlcore/OwnPtr.h> … … 57 56 58 57 virtual Completion execute(ExecState *exec) = 0; 59 Identifier name() const { return ident; }60 58 61 59 virtual const ClassInfo *classInfo() const { return &info; } … … 63 61 protected: 64 62 OwnPtr<Parameter> param; 65 Identifier ident;66 63 67 64 private: … … 99 96 Identifier& operator[](const Identifier &indexIdentifier); 100 97 bool isMapped(const Identifier &index) const; 101 void IndexToNameMap::unMap(const Identifier &index);98 void unMap(const Identifier &index); 102 99 103 100 private: … … 149 146 class GlobalFuncImp : public InternalFunctionImp { 150 147 public: 151 GlobalFuncImp(ExecState *exec, FunctionPrototype *funcProto, int i, int len);148 GlobalFuncImp(ExecState*, FunctionPrototype*, int i, int len, const Identifier&); 152 149 virtual bool implementsCall() const; 153 150 virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args);
Note:
See TracChangeset
for help on using the changeset viewer.