Changeset 11527 in webkit for trunk/JavaScriptCore/kjs/function_object.h
- Timestamp:
- Dec 10, 2005, 6:06:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/function_object.h
r10084 r11527 35 35 * with the Function constructor) 36 36 */ 37 class FunctionPrototype Imp: public InternalFunctionImp {37 class FunctionPrototype : public InternalFunctionImp { 38 38 public: 39 FunctionPrototype Imp(ExecState *exec);40 virtual ~FunctionPrototype Imp();39 FunctionPrototype(ExecState *exec); 40 virtual ~FunctionPrototype(); 41 41 42 42 virtual bool implementsCall() const; 43 virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp*thisObj, const List &args);43 virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args); 44 44 }; 45 45 … … 50 50 * Function.prototype object 51 51 */ 52 class FunctionProtoFunc Imp: public InternalFunctionImp {52 class FunctionProtoFunc : public InternalFunctionImp { 53 53 public: 54 FunctionProtoFunc Imp(ExecState *exec,55 FunctionPrototype Imp*funcProto, int i, int len);54 FunctionProtoFunc(ExecState *exec, 55 FunctionPrototype *funcProto, int i, int len); 56 56 57 57 virtual bool implementsCall() const; 58 virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp*thisObj, const List &args);58 virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args); 59 59 60 60 enum { ToString, Apply, Call }; … … 70 70 class FunctionObjectImp : public InternalFunctionImp { 71 71 public: 72 FunctionObjectImp(ExecState *exec, FunctionPrototype Imp*funcProto);72 FunctionObjectImp(ExecState *exec, FunctionPrototype *funcProto); 73 73 virtual ~FunctionObjectImp(); 74 74 75 75 virtual bool implementsConstruct() const; 76 virtual ObjectImp*construct(ExecState *exec, const List &args, const UString &sourceURL, int lineNumber);77 virtual ObjectImp*construct(ExecState *exec, const List &args);76 virtual JSObject *construct(ExecState *exec, const List &args, const UString &sourceURL, int lineNumber); 77 virtual JSObject *construct(ExecState *exec, const List &args); 78 78 virtual bool implementsCall() const; 79 virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp*thisObj, const List &args);79 virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args); 80 80 }; 81 81
Note:
See TracChangeset
for help on using the changeset viewer.