00001
00002
00003 #include "lookup.h"
00004
00005 using namespace KJS;
00006
00007 namespace KJS {
00008
00009 static const char stringTableStrings[] = {
00010 "\0"
00011 "lastIndexOf\0"
00012 "toLowerCase\0"
00013 "toUpperCase\0"
00014 "charCodeAt\0"
00015 "fontcolor\0"
00016 "substring\0"
00017 "fontsize\0"
00018 "toString\0"
00019 "indexOf\0"
00020 "italics\0"
00021 "replace\0"
00022 "valueOf\0"
00023 "anchor\0"
00024 "charAt\0"
00025 "concat\0"
00026 "search\0"
00027 "strike\0"
00028 "substr\0"
00029 "blink\0"
00030 "fixed\0"
00031 "match\0"
00032 "slice\0"
00033 "small\0"
00034 "split\0"
00035 "bold\0"
00036 "big\0"
00037 "sub\0"
00038 "sup\0"
00039 };
00040
00041
00042 static const struct HashEntry stringTableEntries[] = {
00043 { 0, 0, 0, 0, -1 },
00044 { 1, StringProtoFuncImp::LastIndexOf, DontEnum|Function, 2, -1 },
00045 { 48, StringProtoFuncImp::Fontcolor, DontEnum|Function, 1, -1 },
00046 { 153, StringProtoFuncImp::Substr, DontEnum|Function, 2, -1 },
00047 { 102, StringProtoFuncImp::Replace, DontEnum|Function, 2, -1 },
00048 { 184, StringProtoFuncImp::Small, DontEnum|Function, 0, -1 },
00049 { 0, 0, 0, 0, -1 },
00050 { 125, StringProtoFuncImp::CharAt, DontEnum|Function, 1, -1 },
00051 { 13, StringProtoFuncImp::ToLowerCase, DontEnum|Function, 0, 35 },
00052 { 0, 0, 0, 0, -1 },
00053 { 161, StringProtoFuncImp::Link, DontEnum|Function, 1, -1 },
00054 { 25, StringProtoFuncImp::ToUpperCase, DontEnum|Function, 0, -1 },
00055 { 0, 0, 0, 0, -1 },
00056 { 58, StringProtoFuncImp::Substring, DontEnum|Function, 2, -1 },
00057 { 139, StringProtoFuncImp::Search, DontEnum|Function, 1, 33 },
00058 { 0, 0, 0, 0, -1 },
00059 { 132, StringProtoFuncImp::Concat, DontEnum|Function, 0, -1 },
00060 { 86, StringProtoFuncImp::IndexOf, DontEnum|Function, 2, 32 },
00061 { 77, StringProtoFuncImp::ToString, DontEnum|Function, 0, -1 },
00062 { 118, StringProtoFuncImp::Anchor, DontEnum|Function, 1, -1 },
00063 { 0, 0, 0, 0, -1 },
00064 { 172, StringProtoFuncImp::Match, DontEnum|Function, 1, -1 },
00065 { 110, StringProtoFuncImp::ValueOf, DontEnum|Function, 0, 28 },
00066 { 0, 0, 0, 0, -1 },
00067 { 178, StringProtoFuncImp::Slice, DontEnum|Function, 2, 29 },
00068 { 196, StringProtoFuncImp::Bold, DontEnum|Function, 0, -1 },
00069 { 201, StringProtoFuncImp::Big, DontEnum|Function, 0, -1 },
00070 { 0, 0, 0, 0, -1 },
00071 { 37, StringProtoFuncImp::CharCodeAt, DontEnum|Function, 1, 34 },
00072 { 190, StringProtoFuncImp::Split, DontEnum|Function, 2, 30 },
00073 { 160, StringProtoFuncImp::Blink, DontEnum|Function, 0, 31 },
00074 { 166, StringProtoFuncImp::Fixed, DontEnum|Function, 0, -1 },
00075 { 94, StringProtoFuncImp::Italics, DontEnum|Function, 0, -1 },
00076 { 146, StringProtoFuncImp::Strike, DontEnum|Function, 0, 36 },
00077 { 205, StringProtoFuncImp::Sub, DontEnum|Function, 0, -1 },
00078 { 209, StringProtoFuncImp::Sup, DontEnum|Function, 0, -1 },
00079 { 68, StringProtoFuncImp::Fontsize, DontEnum|Function, 1, -1 }
00080 };
00081
00082 const struct HashTable stringTable = { 2, 37, stringTableEntries, 28, stringTableStrings};
00083
00084 }