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.cpp

    r14206 r14821  
    2222#include "config.h"
    2323#include "date_object.h"
     24#include "date_object.lut.h"
    2425
    2526#if HAVE(ERRNO_H)
     
    5051
    5152#include "error_object.h"
    52 #include "lookup.h"
    5353#include "operations.h"
    5454
     
    7676
    7777namespace KJS {
    78 
    79 /**
    80  * @internal
    81  *
    82  * Class to implement all methods that are properties of the
    83  * Date.prototype object
    84  */
    85 class DateProtoFunc : public InternalFunctionImp {
    86 public:
    87     DateProtoFunc(ExecState *, int i, int len, const Identifier& date);
    88 
    89     virtual JSValue *callAsFunction(ExecState *, JSObject *thisObj, const List &args);
    90 
    91     enum { ToString, ToDateString, ToTimeString, ToLocaleString,
    92            ToLocaleDateString, ToLocaleTimeString, ValueOf, GetTime,
    93            GetFullYear, GetMonth, GetDate, GetDay, GetHours, GetMinutes,
    94            GetSeconds, GetMilliSeconds, GetTimezoneOffset, SetTime,
    95            SetMilliSeconds, SetSeconds, SetMinutes, SetHours, SetDate,
    96            SetMonth, SetFullYear, ToUTCString,
    97            // non-normative properties (Appendix B)
    98            GetYear, SetYear, ToGMTString };
    99 private:
    100     int id;
    101     bool utc;
    102 };
    10378
    10479/**
     
    11994    int id;
    12095};
    121 
    122 }
    123 
    124 #include "date_object.lut.h"
    125 
    126 namespace KJS {
    12796
    12897// some constants
Note: See TracChangeset for help on using the changeset viewer.