Changeset 11527 in webkit for trunk/JavaScriptCore/kjs/bool_object.h
- Timestamp:
- Dec 10, 2005, 6:06:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/bool_object.h
r10084 r11527 28 28 namespace KJS { 29 29 30 class BooleanInstance Imp : public ObjectImp{30 class BooleanInstance : public JSObject { 31 31 public: 32 BooleanInstance Imp(ObjectImp*proto);32 BooleanInstance(JSObject *proto); 33 33 34 34 virtual const ClassInfo *classInfo() const { return &info; } … … 42 42 * with the Boolean constructor 43 43 */ 44 class BooleanPrototype Imp : public BooleanInstanceImp{44 class BooleanPrototype : public BooleanInstance { 45 45 public: 46 BooleanPrototype Imp(ExecState *exec,47 ObjectPrototype Imp*objectProto,48 FunctionPrototype Imp*funcProto);46 BooleanPrototype(ExecState *exec, 47 ObjectPrototype *objectProto, 48 FunctionPrototype *funcProto); 49 49 }; 50 50 … … 55 55 * Boolean.prototype object 56 56 */ 57 class BooleanProtoFunc Imp: public InternalFunctionImp {57 class BooleanProtoFunc : public InternalFunctionImp { 58 58 public: 59 BooleanProtoFunc Imp(ExecState *exec,60 FunctionPrototype Imp*funcProto, int i, int len);59 BooleanProtoFunc(ExecState *exec, 60 FunctionPrototype *funcProto, int i, int len); 61 61 62 62 virtual bool implementsCall() const; 63 virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp*thisObj, const List &args);63 virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args); 64 64 65 65 enum { ToString, ValueOf }; … … 74 74 */ 75 75 class BooleanObjectImp : public InternalFunctionImp { 76 friend class BooleanProtoFunc Imp;76 friend class BooleanProtoFunc; 77 77 public: 78 BooleanObjectImp(ExecState *exec, FunctionPrototype Imp*funcProto,79 BooleanPrototype Imp*booleanProto);78 BooleanObjectImp(ExecState *exec, FunctionPrototype *funcProto, 79 BooleanPrototype *booleanProto); 80 80 81 81 virtual bool implementsConstruct() const; 82 virtual ObjectImp*construct(ExecState *exec, const List &args);82 virtual JSObject *construct(ExecState *exec, const List &args); 83 83 84 84 virtual bool implementsCall() const; 85 virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp*thisObj, const List &args);85 virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args); 86 86 }; 87 87
Note:
See TracChangeset
for help on using the changeset viewer.