Ignore:
Timestamp:
Jun 4, 2008, 10:36:55 PM (17 years ago)
Author:
[email protected]
Message:

2008-06-04 Sam Weinig <[email protected]>

Reviewed by Maciej Stachowiak.

Big cleanup of formatting and whitespace.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/VM/JSPropertyNameIterator.h

    r33979 r34372  
    3333
    3434namespace KJS {
     35
     36    class Identifier;
    3537    class JSObject;
    36     class Identifier;
    3738
    3839    class JSPropertyNameIterator : public JSCell {
    3940    public:
     41        static JSPropertyNameIterator* create(ExecState*, JSValue*);
     42
     43        virtual ~JSPropertyNameIterator();
     44
    4045        virtual JSType type() const;
    41         virtual JSValue *toPrimitive(ExecState *, JSType) const;
     46        virtual JSValue* toPrimitive(ExecState*, JSType) const;
    4247        virtual bool getPrimitiveNumber(ExecState*, double&, JSValue*&);
    43         virtual bool toBoolean(ExecState *) const;
    44         virtual double toNumber(ExecState *) const;
    45         virtual UString toString(ExecState *) const;
    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
    4853        virtual void mark();
    49        
    50         JSValue* next(ExecState* exec);       
     54
     55        JSValue* next(ExecState*);
    5156        void invalidate();
    52        
    53         virtual ~JSPropertyNameIterator();
    54        
    55         static JSPropertyNameIterator* create(ExecState*, JSValue*);
     57
    5658    private:
    57         JSPropertyNameIterator(JSObject* object, Identifier* propertyNames, size_t numProperties);
     59        JSPropertyNameIterator(JSObject*, Identifier* propertyNames, size_t numProperties);
     60
    5861        JSObject* m_object;
    5962        Identifier* m_propertyNames;
     
    6164        Identifier* m_end;
    6265    };
    63 }
    6466
    65 #endif
     67} // namespace KJS
     68
     69#endif // JSPropertyNameIterator_h
Note: See TracChangeset for help on using the changeset viewer.