Changeset 9455 in webkit for trunk/JavaScriptCore/kjs/object.h
- Timestamp:
- Jun 21, 2005, 5:48:49 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.h
r9441 r9455 183 183 184 184 /** 185 * Checks to see whether the object has a property with the specified name.186 *187 * See ECMA 15.2.4.5188 *189 * @param exec The current execution state190 * @param propertyName The name of the property to check for191 * @return true if the object has the property, otherwise false192 */193 bool hasOwnProperty(ExecState *exec, const Identifier &propertyName) const;194 bool hasOwnProperty(ExecState *exec, unsigned propertyName) const;195 196 /**197 185 * Removes the specified property from the object. 198 186 * … … 526 514 * @see Object::hasProperty() 527 515 */ 528 bool hasProperty(ExecState *exec,516 virtual bool hasProperty(ExecState *exec, 529 517 const Identifier &propertyName) const; 530 bool hasProperty(ExecState *exec, unsigned propertyName) const; 531 532 virtual bool hasOwnProperty(ExecState *exec, 533 const Identifier &propertyName) const; 534 virtual bool hasOwnProperty(ExecState *exec, unsigned propertyName) const; 518 virtual bool hasProperty(ExecState *exec, unsigned propertyName) const; 535 519 536 520 /** … … 710 694 { return imp()->hasProperty(exec, propertyName); } 711 695 712 inline bool Object::hasOwnProperty(ExecState *exec, const Identifier &propertyName) const713 { return imp()->hasOwnProperty(exec, propertyName); }714 715 inline bool Object::hasOwnProperty(ExecState *exec, unsigned propertyName) const716 { return imp()->hasOwnProperty(exec, propertyName); }717 718 696 inline bool Object::deleteProperty(ExecState *exec, const Identifier &propertyName) 719 697 { return imp()->deleteProperty(exec,propertyName); }
Note:
See TracChangeset
for help on using the changeset viewer.