00001
00002
00003 #include "lookup.h"
00004
00005 using namespace KJS;
00006
00007 namespace KJS {
00008
00009 static const char dateTableStrings[] = {
00010 "\0"
00011 "getUTCMilliseconds\0"
00012 "setUTCMilliseconds\0"
00013 "toLocaleDateString\0"
00014 "toLocaleTimeString\0"
00015 "getTimezoneOffset\0"
00016 "getMilliseconds\0"
00017 "setMilliseconds\0"
00018 "getUTCFullYear\0"
00019 "setUTCFullYear\0"
00020 "toLocaleString\0"
00021 "getUTCMinutes\0"
00022 "getUTCSeconds\0"
00023 "setUTCMinutes\0"
00024 "setUTCSeconds\0"
00025 "toDateString\0"
00026 "toTimeString\0"
00027 "getFullYear\0"
00028 "getUTCHours\0"
00029 "getUTCMonth\0"
00030 "setFullYear\0"
00031 "setUTCHours\0"
00032 "setUTCMonth\0"
00033 "toGMTString\0"
00034 "toUTCString\0"
00035 "getMinutes\0"
00036 "getSeconds\0"
00037 "getUTCDate\0"
00038 "setMinutes\0"
00039 "setSeconds\0"
00040 "setUTCDate\0"
00041 "getUTCDay\0"
00042 "getHours\0"
00043 "getMonth\0"
00044 "setHours\0"
00045 "setMonth\0"
00046 "toString\0"
00047 "getDate\0"
00048 "getTime\0"
00049 "getYear\0"
00050 "setDate\0"
00051 "setTime\0"
00052 "setYear\0"
00053 "valueOf\0"
00054 "getDay\0"
00055 };
00056
00057
00058 static const struct HashEntry dateTableEntries[] = {
00059 { 111, DateProtoFuncImp::SetMilliSeconds, DontEnum|Function, 1, -1 },
00060 { 511, DateProtoFuncImp::SetYear, DontEnum|Function, 1, -1 },
00061 { 39, DateProtoFuncImp::ToLocaleDateString, DontEnum|Function, 0, 64 },
00062 { 0, 0, 0, 0, -1 },
00063 { 462, DateProtoFuncImp::ToString, DontEnum|Function, 0, -1 },
00064 { 0, 0, 0, 0, -1 },
00065 { 214, -DateProtoFuncImp::SetSeconds, DontEnum|Function, 2, -1 },
00066 { 444, DateProtoFuncImp::SetHours, DontEnum|Function, 4, -1 },
00067 { 0, 0, 0, 0, -1 },
00068 { 77, DateProtoFuncImp::GetTimezoneOffset, DontEnum|Function, 0, -1 },
00069 { 0, 0, 0, 0, -1 },
00070 { 0, 0, 0, 0, -1 },
00071 { 0, 0, 0, 0, -1 },
00072 { 0, 0, 0, 0, -1 },
00073 { 394, DateProtoFuncImp::SetSeconds, DontEnum|Function, 2, -1 },
00074 { 0, 0, 0, 0, -1 },
00075 { 172, -DateProtoFuncImp::GetMinutes, DontEnum|Function, 0, -1 },
00076 { 0, 0, 0, 0, -1 },
00077 { 127, -DateProtoFuncImp::GetFullYear, DontEnum|Function, 0, -1 },
00078 { 58, DateProtoFuncImp::ToLocaleTimeString, DontEnum|Function, 0, -1 },
00079 { 228, DateProtoFuncImp::ToDateString, DontEnum|Function, 0, -1 },
00080 { 0, 0, 0, 0, -1 },
00081 { 0, 0, 0, 0, -1 },
00082 { 372, -DateProtoFuncImp::GetDate, DontEnum|Function, 0, -1 },
00083 { 350, DateProtoFuncImp::GetMinutes, DontEnum|Function, 0, -1 },
00084 { 0, 0, 0, 0, -1 },
00085 { 254, DateProtoFuncImp::GetFullYear, DontEnum|Function, 0, -1 },
00086 { 0, 0, 0, 0, -1 },
00087 { 200, -DateProtoFuncImp::SetMinutes, DontEnum|Function, 3, -1 },
00088 { 0, 0, 0, 0, -1 },
00089 { 142, -DateProtoFuncImp::SetFullYear, DontEnum|Function, 3, -1 },
00090 { 471, DateProtoFuncImp::GetDate, DontEnum|Function, 0, -1 },
00091 { 0, 0, 0, 0, -1 },
00092 { 0, 0, 0, 0, -1 },
00093 { 0, 0, 0, 0, -1 },
00094 { 405, -DateProtoFuncImp::SetDate, DontEnum|Function, 1, -1 },
00095 { 383, DateProtoFuncImp::SetMinutes, DontEnum|Function, 3, -1 },
00096 { 241, DateProtoFuncImp::ToTimeString, DontEnum|Function, 0, 61 },
00097 { 290, DateProtoFuncImp::SetFullYear, DontEnum|Function, 3, -1 },
00098 { 0, 0, 0, 0, -1 },
00099 { 0, 0, 0, 0, -1 },
00100 { 1, -DateProtoFuncImp::GetMilliSeconds, DontEnum|Function, 0, -1 },
00101 { 0, 0, 0, 0, -1 },
00102 { 495, DateProtoFuncImp::SetDate, DontEnum|Function, 1, -1 },
00103 { 0, 0, 0, 0, -1 },
00104 { 435, DateProtoFuncImp::GetMonth, DontEnum|Function, 0, -1 },
00105 { 0, 0, 0, 0, -1 },
00106 { 157, DateProtoFuncImp::ToLocaleString, DontEnum|Function, 0, -1 },
00107 { 479, DateProtoFuncImp::GetTime, DontEnum|Function, 0, 63 },
00108 { 416, -DateProtoFuncImp::GetDay, DontEnum|Function, 0, 65 },
00109 { 487, DateProtoFuncImp::GetYear, DontEnum|Function, 0, -1 },
00110 { 519, DateProtoFuncImp::ValueOf, DontEnum|Function, 0, -1 },
00111 { 0, 0, 0, 0, -1 },
00112 { 326, DateProtoFuncImp::ToGMTString, DontEnum|Function, 0, 66 },
00113 { 0, 0, 0, 0, -1 },
00114 { 186, -DateProtoFuncImp::GetSeconds, DontEnum|Function, 0, -1 },
00115 { 426, DateProtoFuncImp::GetHours, DontEnum|Function, 0, -1 },
00116 { 338, DateProtoFuncImp::ToUTCString, DontEnum|Function, 0, 62 },
00117 { 0, 0, 0, 0, -1 },
00118 { 0, 0, 0, 0, -1 },
00119 { 503, DateProtoFuncImp::SetTime, DontEnum|Function, 1, 67 },
00120 { 278, -DateProtoFuncImp::GetMonth, DontEnum|Function, 0, -1 },
00121 { 527, DateProtoFuncImp::GetDay, DontEnum|Function, 0, 68 },
00122 { 266, -DateProtoFuncImp::GetHours, DontEnum|Function, 0, -1 },
00123 { 361, DateProtoFuncImp::GetSeconds, DontEnum|Function, 0, -1 },
00124 { 95, DateProtoFuncImp::GetMilliSeconds, DontEnum|Function, 0, 69 },
00125 { 20, -DateProtoFuncImp::SetMilliSeconds, DontEnum|Function, 1, 70 },
00126 { 302, -DateProtoFuncImp::SetHours, DontEnum|Function, 4, -1 },
00127 { 453, DateProtoFuncImp::SetMonth, DontEnum|Function, 2, -1 },
00128 { 314, -DateProtoFuncImp::SetMonth, DontEnum|Function, 2, -1 },
00129 { 326, DateProtoFuncImp::ToGMTString, DontEnum|Function, 0, -1 }
00130 };
00131
00132 const struct HashTable dateTable = { 2, 71, dateTableEntries, 61, dateTableStrings};
00133
00134 }