00001
00002
00003 #include "lookup.h"
00004
00005 using namespace KJS;
00006
00007 namespace KJS {
00008
00009 const struct HashEntry dateTableEntries[] = {
00010 { "setMilliseconds", DateProtoFuncImp::SetMilliSeconds, DontEnum|Function, 1, 0 },
00011 { "setYear", DateProtoFuncImp::SetYear, DontEnum|Function, 1, 0 },
00012 { "toLocaleDateString", DateProtoFuncImp::ToLocaleDateString, DontEnum|Function, 0, &dateTableEntries[64] },
00013 { 0, 0, 0, 0, 0 },
00014 { "toString", DateProtoFuncImp::ToString, DontEnum|Function, 0, 0 },
00015 { 0, 0, 0, 0, 0 },
00016 { "setUTCSeconds", -DateProtoFuncImp::SetSeconds, DontEnum|Function, 2, 0 },
00017 { "setHours", DateProtoFuncImp::SetHours, DontEnum|Function, 4, 0 },
00018 { 0, 0, 0, 0, 0 },
00019 { "getTimezoneOffset", DateProtoFuncImp::GetTimezoneOffset, DontEnum|Function, 0, 0 },
00020 { 0, 0, 0, 0, 0 },
00021 { 0, 0, 0, 0, 0 },
00022 { 0, 0, 0, 0, 0 },
00023 { 0, 0, 0, 0, 0 },
00024 { "setSeconds", DateProtoFuncImp::SetSeconds, DontEnum|Function, 2, 0 },
00025 { 0, 0, 0, 0, 0 },
00026 { "getUTCMinutes", -DateProtoFuncImp::GetMinutes, DontEnum|Function, 0, 0 },
00027 { 0, 0, 0, 0, 0 },
00028 { "getUTCFullYear", -DateProtoFuncImp::GetFullYear, DontEnum|Function, 0, 0 },
00029 { "toLocaleTimeString", DateProtoFuncImp::ToLocaleTimeString, DontEnum|Function, 0, 0 },
00030 { "toDateString", DateProtoFuncImp::ToDateString, DontEnum|Function, 0, 0 },
00031 { 0, 0, 0, 0, 0 },
00032 { 0, 0, 0, 0, 0 },
00033 { "getUTCDate", -DateProtoFuncImp::GetDate, DontEnum|Function, 0, 0 },
00034 { "getMinutes", DateProtoFuncImp::GetMinutes, DontEnum|Function, 0, 0 },
00035 { 0, 0, 0, 0, 0 },
00036 { "getFullYear", DateProtoFuncImp::GetFullYear, DontEnum|Function, 0, 0 },
00037 { 0, 0, 0, 0, 0 },
00038 { "setUTCMinutes", -DateProtoFuncImp::SetMinutes, DontEnum|Function, 3, 0 },
00039 { 0, 0, 0, 0, 0 },
00040 { "setUTCFullYear", -DateProtoFuncImp::SetFullYear, DontEnum|Function, 3, 0 },
00041 { "getDate", DateProtoFuncImp::GetDate, DontEnum|Function, 0, 0 },
00042 { 0, 0, 0, 0, 0 },
00043 { 0, 0, 0, 0, 0 },
00044 { 0, 0, 0, 0, 0 },
00045 { "setUTCDate", -DateProtoFuncImp::SetDate, DontEnum|Function, 1, 0 },
00046 { "setMinutes", DateProtoFuncImp::SetMinutes, DontEnum|Function, 3, 0 },
00047 { "toTimeString", DateProtoFuncImp::ToTimeString, DontEnum|Function, 0, &dateTableEntries[61] },
00048 { "setFullYear", DateProtoFuncImp::SetFullYear, DontEnum|Function, 3, 0 },
00049 { 0, 0, 0, 0, 0 },
00050 { 0, 0, 0, 0, 0 },
00051 { "getUTCMilliseconds", -DateProtoFuncImp::GetMilliSeconds, DontEnum|Function, 0, 0 },
00052 { 0, 0, 0, 0, 0 },
00053 { "setDate", DateProtoFuncImp::SetDate, DontEnum|Function, 1, 0 },
00054 { 0, 0, 0, 0, 0 },
00055 { "getMonth", DateProtoFuncImp::GetMonth, DontEnum|Function, 0, 0 },
00056 { 0, 0, 0, 0, 0 },
00057 { "toLocaleString", DateProtoFuncImp::ToLocaleString, DontEnum|Function, 0, 0 },
00058 { "getTime", DateProtoFuncImp::GetTime, DontEnum|Function, 0, &dateTableEntries[63] },
00059 { "getUTCDay", -DateProtoFuncImp::GetDay, DontEnum|Function, 0, &dateTableEntries[65] },
00060 { "getYear", DateProtoFuncImp::GetYear, DontEnum|Function, 0, 0 },
00061 { "valueOf", DateProtoFuncImp::ValueOf, DontEnum|Function, 0, 0 },
00062 { 0, 0, 0, 0, 0 },
00063 { "toGMTString", DateProtoFuncImp::ToGMTString, DontEnum|Function, 0, &dateTableEntries[66] },
00064 { 0, 0, 0, 0, 0 },
00065 { "getUTCSeconds", -DateProtoFuncImp::GetSeconds, DontEnum|Function, 0, 0 },
00066 { "getHours", DateProtoFuncImp::GetHours, DontEnum|Function, 0, 0 },
00067 { "toUTCString", DateProtoFuncImp::ToUTCString, DontEnum|Function, 0, &dateTableEntries[62] },
00068 { 0, 0, 0, 0, 0 },
00069 { 0, 0, 0, 0, 0 },
00070 { "setTime", DateProtoFuncImp::SetTime, DontEnum|Function, 1, &dateTableEntries[67] },
00071 { "getUTCMonth", -DateProtoFuncImp::GetMonth, DontEnum|Function, 0, 0 },
00072 { "getDay", DateProtoFuncImp::GetDay, DontEnum|Function, 0, &dateTableEntries[68] },
00073 { "getUTCHours", -DateProtoFuncImp::GetHours, DontEnum|Function, 0, 0 },
00074 { "getSeconds", DateProtoFuncImp::GetSeconds, DontEnum|Function, 0, 0 },
00075 { "getMilliseconds", DateProtoFuncImp::GetMilliSeconds, DontEnum|Function, 0, &dateTableEntries[69] },
00076 { "setUTCMilliseconds", -DateProtoFuncImp::SetMilliSeconds, DontEnum|Function, 1, &dateTableEntries[70] },
00077 { "setUTCHours", -DateProtoFuncImp::SetHours, DontEnum|Function, 4, 0 },
00078 { "setMonth", DateProtoFuncImp::SetMonth, DontEnum|Function, 2, 0 },
00079 { "setUTCMonth", -DateProtoFuncImp::SetMonth, DontEnum|Function, 2, 0 },
00080 { "toGMTString", DateProtoFuncImp::ToGMTString, DontEnum|Function, 0, 0 }
00081 };
00082
00083 const struct HashTable dateTable = { 2, 71, dateTableEntries, 61 };
00084
00085 }