Changeset 15468 in webkit for trunk/JavaScriptCore/kjs/object.h
- Timestamp:
- Jul 16, 2006, 2:06:28 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/kjs/object.h
r15385 r15468 39 39 class ListImp; 40 40 class InternalFunctionImp; 41 class PropertyNameArray; 41 42 42 43 // ECMA 262-3 8.6.1 … … 441 442 void setScope(const ScopeChain &s) { _scope = s; } 442 443 443 /** 444 * Returns a List of References to all the properties of the object. Used 445 * in "for x in y" statements. The list is created new, so it can be freely 446 * modified without affecting the object's properties. It should be deleted 447 * by the caller. 448 * 449 * Subclasses can override this method in ObjectImpl to provide the 450 * appearance of 451 * having extra properties other than those set specifically with put(). 452 * 453 * @param exec The current execution state 454 * @param recursive Whether or not properties in the object's prototype 455 * chain should be 456 * included in the list. 457 * @return A List of References to properties of the object. 458 **/ 459 virtual void getPropertyList(ReferenceList& propertyList, bool recursive = true); 444 virtual void getPropertyNames(ExecState*, PropertyNameArray&); 460 445 461 446 /**
Note:
See TracChangeset
for help on using the changeset viewer.