Changeset 34372 in webkit for trunk/JavaScriptCore/VM/JSPropertyNameIterator.h
- Timestamp:
- Jun 4, 2008, 10:36:55 PM (17 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/JavaScriptCore/VM/JSPropertyNameIterator.h
r33979 r34372 33 33 34 34 namespace KJS { 35 36 class Identifier; 35 37 class JSObject; 36 class Identifier;37 38 38 39 class JSPropertyNameIterator : public JSCell { 39 40 public: 41 static JSPropertyNameIterator* create(ExecState*, JSValue*); 42 43 virtual ~JSPropertyNameIterator(); 44 40 45 virtual JSType type() const; 41 virtual JSValue *toPrimitive(ExecState*, JSType) const;46 virtual JSValue* toPrimitive(ExecState*, JSType) const; 42 47 virtual bool getPrimitiveNumber(ExecState*, double&, JSValue*&); 43 virtual bool toBoolean(ExecState 44 virtual double toNumber(ExecState 45 virtual UString toString(ExecState 46 virtual JSObject *toObject(ExecState*) const;47 48 virtual bool toBoolean(ExecState*) const; 49 virtual double toNumber(ExecState*) const; 50 virtual UString toString(ExecState*) const; 51 virtual JSObject* toObject(ExecState*) const; 52 48 53 virtual void mark(); 49 50 JSValue* next(ExecState* exec);54 55 JSValue* next(ExecState*); 51 56 void invalidate(); 52 53 virtual ~JSPropertyNameIterator(); 54 55 static JSPropertyNameIterator* create(ExecState*, JSValue*); 57 56 58 private: 57 JSPropertyNameIterator(JSObject* object, Identifier* propertyNames, size_t numProperties); 59 JSPropertyNameIterator(JSObject*, Identifier* propertyNames, size_t numProperties); 60 58 61 JSObject* m_object; 59 62 Identifier* m_propertyNames; … … 61 64 Identifier* m_end; 62 65 }; 63 }64 66 65 #endif 67 } // namespace KJS 68 69 #endif // JSPropertyNameIterator_h
Note:
See TracChangeset
for help on using the changeset viewer.