Changeset 10076 in webkit for trunk/JavaScriptCore/kjs/string_object.h
- Timestamp:
- Aug 6, 2005, 11:17:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/string_object.h
r9889 r10076 33 33 StringInstanceImp(ObjectImp *proto, const UString &string); 34 34 35 virtual bool getOwnProperty (ExecState *exec, const Identifier& propertyName, Value& result) const;35 virtual bool getOwnPropertySlot(ExecState *, const Identifier&, PropertySlot&); 36 36 virtual void put(ExecState *exec, const Identifier &propertyName, const Value &value, int attr = None); 37 virtual bool hasOwnProperty(ExecState *exec, const Identifier &propertyName) const;38 37 virtual bool deleteProperty(ExecState *exec, const Identifier &propertyName); 39 38 40 39 virtual const ClassInfo *classInfo() const { return &info; } 41 40 static const ClassInfo info; 41 private: 42 static Value lengthGetter(ExecState *exec, const Identifier&, const PropertySlot &slot); 43 static Value indexGetter(ExecState *exec, const Identifier&, const PropertySlot &slot); 42 44 }; 43 45 … … 52 54 StringPrototypeImp(ExecState *exec, 53 55 ObjectPrototypeImp *objProto); 54 virtual bool getOwnProperty (ExecState *exec, const Identifier& propertyName, Value& result) const;56 virtual bool getOwnPropertySlot(ExecState *, const Identifier&, PropertySlot&); 55 57 virtual const ClassInfo *classInfo() const { return &info; } 56 58 static const ClassInfo info;
Note:
See TracChangeset
for help on using the changeset viewer.