Ignore:
Timestamp:
Jun 12, 2006, 12:02:59 PM (19 years ago)
Author:
ggaren
Message:

Reviewed by Maciej.


  • Have *.lut.h files #include lookup.h to eliminate surprising header include order dependency.
  • DerivedSources.make:
  • kjs/array_object.cpp:
  • kjs/date_object.cpp:
  • kjs/date_object.h: (KJS::DateProtoFunc::):
  • kjs/lexer.cpp:
  • kjs/math_object.cpp:
  • kjs/number_object.cpp:
  • kjs/regexp_object.cpp:
  • kjs/string_object.cpp:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/date_object.h

    r12921 r14821  
    5757
    5858    /**
     59        * @internal
     60     *
     61     * Class to implement all methods that are properties of the
     62     * Date.prototype object
     63     */
     64    class DateProtoFunc : public InternalFunctionImp {
     65    public:
     66        DateProtoFunc(ExecState *, int i, int len, const Identifier& date);
     67       
     68        virtual JSValue *callAsFunction(ExecState *, JSObject *thisObj, const List &args);
     69       
     70        enum { ToString, ToDateString, ToTimeString, ToLocaleString,
     71            ToLocaleDateString, ToLocaleTimeString, ValueOf, GetTime,
     72            GetFullYear, GetMonth, GetDate, GetDay, GetHours, GetMinutes,
     73            GetSeconds, GetMilliSeconds, GetTimezoneOffset, SetTime,
     74            SetMilliSeconds, SetSeconds, SetMinutes, SetHours, SetDate,
     75            SetMonth, SetFullYear, ToUTCString,
     76            // non-normative properties (Appendix B)
     77            GetYear, SetYear, ToGMTString };
     78    private:
     79        int id;
     80        bool utc;
     81    };
     82   
     83    /**
    5984     * @internal
    6085     *
Note: See TracChangeset for help on using the changeset viewer.