Changeset 11527 in webkit for trunk/JavaScriptCore/kjs/array_object.h
- Timestamp:
- Dec 10, 2005, 6:06:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/array_object.h
r10084 r11527 28 28 namespace KJS { 29 29 30 class ArrayPrototype Imp : public ArrayInstanceImp{30 class ArrayPrototype : public ArrayInstance { 31 31 public: 32 ArrayPrototype Imp(ExecState *exec,33 ObjectPrototype Imp*objProto);32 ArrayPrototype(ExecState *exec, 33 ObjectPrototype *objProto); 34 34 bool getOwnPropertySlot(ExecState *, const Identifier&, PropertySlot&); 35 35 virtual const ClassInfo *classInfo() const { return &info; } … … 37 37 }; 38 38 39 class ArrayProtoFunc Imp: public InternalFunctionImp {39 class ArrayProtoFunc : public InternalFunctionImp { 40 40 public: 41 ArrayProtoFunc Imp(ExecState *exec, int i, int len);41 ArrayProtoFunc(ExecState *exec, int i, int len); 42 42 43 43 virtual bool implementsCall() const; 44 virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp*thisObj, const List &args);44 virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args); 45 45 46 46 enum { ToString, ToLocaleString, Concat, Join, Pop, Push, … … 54 54 public: 55 55 ArrayObjectImp(ExecState *exec, 56 FunctionPrototype Imp*funcProto,57 ArrayPrototype Imp*arrayProto);56 FunctionPrototype *funcProto, 57 ArrayPrototype *arrayProto); 58 58 59 59 virtual bool implementsConstruct() const; 60 virtual ObjectImp*construct(ExecState *exec, const List &args);60 virtual JSObject *construct(ExecState *exec, const List &args); 61 61 virtual bool implementsCall() const; 62 virtual ValueImp *callAsFunction(ExecState *exec, ObjectImp*thisObj, const List &args);62 virtual JSValue *callAsFunction(ExecState *exec, JSObject *thisObj, const List &args); 63 63 64 64 };
Note:
See TracChangeset
for help on using the changeset viewer.