00001
00002
00003 #include "lookup.h"
00004
00005 using namespace KJS;
00006
00007 namespace KJS {
00008
00009 static const char stringTableStrings[] = {
00010 "\0"
00011 "toLocaleLowerCase\0"
00012 "toLocaleUpperCase\0"
00013 "localeCompare\0"
00014 "lastIndexOf\0"
00015 "toLowerCase\0"
00016 "toUpperCase\0"
00017 "charCodeAt\0"
00018 "fontcolor\0"
00019 "substring\0"
00020 "fontsize\0"
00021 "toString\0"
00022 "indexOf\0"
00023 "italics\0"
00024 "replace\0"
00025 "valueOf\0"
00026 "anchor\0"
00027 "charAt\0"
00028 "concat\0"
00029 "search\0"
00030 "strike\0"
00031 "substr\0"
00032 "blink\0"
00033 "fixed\0"
00034 "match\0"
00035 "slice\0"
00036 "small\0"
00037 "split\0"
00038 "bold\0"
00039 "big\0"
00040 "sub\0"
00041 "sup\0"
00042 };
00043
00044
00045 static const struct HashEntry stringTableEntries[] = {
00046 { 0, 0, 0, 0, -1 },
00047 { 51, StringProtoFuncImp::LastIndexOf, DontEnum|Function, 1, -1 },
00048 { 98, StringProtoFuncImp::Fontcolor, DontEnum|Function, 1, -1 },
00049 { 203, StringProtoFuncImp::Substr, DontEnum|Function, 2, -1 },
00050 { 152, StringProtoFuncImp::Replace, DontEnum|Function, 2, -1 },
00051 { 234, StringProtoFuncImp::Small, DontEnum|Function, 0, -1 },
00052 { 0, 0, 0, 0, -1 },
00053 { 175, StringProtoFuncImp::CharAt, DontEnum|Function, 1, -1 },
00054 { 63, StringProtoFuncImp::ToLowerCase, DontEnum|Function, 0, 35 },
00055 { 0, 0, 0, 0, -1 },
00056 { 211, StringProtoFuncImp::Link, DontEnum|Function, 1, -1 },
00057 { 75, StringProtoFuncImp::ToUpperCase, DontEnum|Function, 0, -1 },
00058 { 1, StringProtoFuncImp::ToLocaleLowerCase, DontEnum|Function, 0, -1 },
00059 { 108, StringProtoFuncImp::Substring, DontEnum|Function, 2, -1 },
00060 { 189, StringProtoFuncImp::Search, DontEnum|Function, 1, 33 },
00061 { 19, StringProtoFuncImp::ToLocaleUpperCase, DontEnum|Function, 0, -1 },
00062 { 182, StringProtoFuncImp::Concat, DontEnum|Function, 1, -1 },
00063 { 136, StringProtoFuncImp::IndexOf, DontEnum|Function, 1, 32 },
00064 { 127, StringProtoFuncImp::ToString, DontEnum|Function, 0, -1 },
00065 { 37, StringProtoFuncImp::LocaleCompare, DontEnum|Function, 1, 37 },
00066 { 0, 0, 0, 0, -1 },
00067 { 222, StringProtoFuncImp::Match, DontEnum|Function, 1, -1 },
00068 { 160, StringProtoFuncImp::ValueOf, DontEnum|Function, 0, 28 },
00069 { 0, 0, 0, 0, -1 },
00070 { 228, StringProtoFuncImp::Slice, DontEnum|Function, 2, 29 },
00071 { 246, StringProtoFuncImp::Bold, DontEnum|Function, 0, -1 },
00072 { 251, StringProtoFuncImp::Big, DontEnum|Function, 0, -1 },
00073 { 0, 0, 0, 0, -1 },
00074 { 87, StringProtoFuncImp::CharCodeAt, DontEnum|Function, 1, 34 },
00075 { 240, StringProtoFuncImp::Split, DontEnum|Function, 2, 30 },
00076 { 210, StringProtoFuncImp::Blink, DontEnum|Function, 0, 31 },
00077 { 216, StringProtoFuncImp::Fixed, DontEnum|Function, 0, -1 },
00078 { 144, StringProtoFuncImp::Italics, DontEnum|Function, 0, -1 },
00079 { 196, StringProtoFuncImp::Strike, DontEnum|Function, 0, 36 },
00080 { 255, StringProtoFuncImp::Sub, DontEnum|Function, 0, -1 },
00081 { 259, StringProtoFuncImp::Sup, DontEnum|Function, 0, -1 },
00082 { 118, StringProtoFuncImp::Fontsize, DontEnum|Function, 1, -1 },
00083 { 168, StringProtoFuncImp::Anchor, DontEnum|Function, 1, -1 }
00084 };
00085
00086 const struct HashTable stringTable = { 2, 38, stringTableEntries, 28, stringTableStrings};
00087
00088 }