Changeset 9441 in webkit for trunk/JavaScriptCore/kjs/object.h
- Timestamp:
- Jun 20, 2005, 2:59:39 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.h
r9145 r9441 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.5 188 * 189 * @param exec The current execution state 190 * @param propertyName The name of the property to check for 191 * @return true if the object has the property, otherwise false 192 */ 193 bool hasOwnProperty(ExecState *exec, const Identifier &propertyName) const; 194 bool hasOwnProperty(ExecState *exec, unsigned propertyName) const; 195 196 /** 185 197 * Removes the specified property from the object. 186 198 * … … 514 526 * @see Object::hasProperty() 515 527 */ 516 virtualbool hasProperty(ExecState *exec,528 bool hasProperty(ExecState *exec, 517 529 const Identifier &propertyName) const; 518 virtual bool hasProperty(ExecState *exec, unsigned 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; 519 535 520 536 /** … … 694 710 { return imp()->hasProperty(exec, propertyName); } 695 711 712 inline bool Object::hasOwnProperty(ExecState *exec, const Identifier &propertyName) const 713 { return imp()->hasOwnProperty(exec, propertyName); } 714 715 inline bool Object::hasOwnProperty(ExecState *exec, unsigned propertyName) const 716 { return imp()->hasOwnProperty(exec, propertyName); } 717 696 718 inline bool Object::deleteProperty(ExecState *exec, const Identifier &propertyName) 697 719 { return imp()->deleteProperty(exec,propertyName); }
Note:
See TracChangeset
for help on using the changeset viewer.