Changeset 11527 in webkit for trunk/JavaScriptCore/bindings/runtime_array.h
- Timestamp:
- Dec 10, 2005, 6:06:17 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/bindings/runtime_array.h
r10084 r11527 33 33 namespace KJS { 34 34 35 class RuntimeArray Imp : public ArrayInstanceImp{35 class RuntimeArray : public ArrayInstance { 36 36 public: 37 RuntimeArray Imp(ExecState *exec, Bindings::Array *i);38 ~RuntimeArray Imp();37 RuntimeArray(ExecState *exec, Bindings::Array *i); 38 ~RuntimeArray(); 39 39 40 40 virtual bool getOwnPropertySlot(ExecState *, const Identifier&, PropertySlot&); 41 41 virtual bool getOwnPropertySlot(ExecState *, unsigned, PropertySlot&); 42 virtual void put(ExecState *exec, const Identifier &propertyName, ValueImp*value, int attr = None);43 virtual void put(ExecState *exec, unsigned propertyName, ValueImp*value, int attr = None);42 virtual void put(ExecState *exec, const Identifier &propertyName, JSValue *value, int attr = None); 43 virtual void put(ExecState *exec, unsigned propertyName, JSValue *value, int attr = None); 44 44 45 45 virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName); … … 55 55 56 56 private: 57 static ValueImp*lengthGetter(ExecState *, const Identifier&, const PropertySlot&);58 static ValueImp*indexGetter(ExecState *, const Identifier&, const PropertySlot&);57 static JSValue *lengthGetter(ExecState *, const Identifier&, const PropertySlot&); 58 static JSValue *indexGetter(ExecState *, const Identifier&, const PropertySlot&); 59 59 60 60 Bindings::Array *_array;
Note:
See TracChangeset
for help on using the changeset viewer.