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 "lastIndexOf\0"
00014 "toLowerCase\0"
00015 "toUpperCase\0"
00016 "charCodeAt\0"
00017 "fontcolor\0"
00018 "substring\0"
00019 "fontsize\0"
00020 "toString\0"
00021 "indexOf\0"
00022 "italics\0"
00023 "replace\0"
00024 "valueOf\0"
00025 "anchor\0"
00026 "charAt\0"
00027 "concat\0"
00028 "search\0"
00029 "strike\0"
00030 "substr\0"
00031 "blink\0"
00032 "fixed\0"
00033 "match\0"
00034 "slice\0"
00035 "small\0"
00036 "split\0"
00037 "bold\0"
00038 "big\0"
00039 "sub\0"
00040 "sup\0"
00041 };
00042
00043
00044 static const struct HashEntry stringTableEntries[] = {
00045 { 0, 0, 0, 0, -1 },
00046 { 37, StringProtoFuncImp::LastIndexOf, DontEnum|Function, 1, -1 },
00047 { 84, StringProtoFuncImp::Fontcolor, DontEnum|Function, 1, -1 },
00048 { 189, StringProtoFuncImp::Substr, DontEnum|Function, 2, -1 },
00049 { 138, StringProtoFuncImp::Replace, DontEnum|Function, 2, -1 },
00050 { 220, StringProtoFuncImp::Small, DontEnum|Function, 0, -1 },
00051 { 0, 0, 0, 0, -1 },
00052 { 161, StringProtoFuncImp::CharAt, DontEnum|Function, 1, -1 },
00053 { 49, StringProtoFuncImp::ToLowerCase, DontEnum|Function, 0, 35 },
00054 { 0, 0, 0, 0, -1 },
00055 { 197, StringProtoFuncImp::Link, DontEnum|Function, 1, -1 },
00056 { 61, StringProtoFuncImp::ToUpperCase, DontEnum|Function, 0, -1 },
00057 { 1, StringProtoFuncImp::ToLocaleLowerCase, DontEnum|Function, 0, -1 },
00058 { 94, StringProtoFuncImp::Substring, DontEnum|Function, 2, -1 },
00059 { 175, StringProtoFuncImp::Search, DontEnum|Function, 1, 33 },
00060 { 19, StringProtoFuncImp::ToLocaleUpperCase, DontEnum|Function, 0, -1 },
00061 { 168, StringProtoFuncImp::Concat, DontEnum|Function, 1, -1 },
00062 { 122, StringProtoFuncImp::IndexOf, DontEnum|Function, 1, 32 },
00063 { 113, StringProtoFuncImp::ToString, DontEnum|Function, 0, -1 },
00064 { 154, StringProtoFuncImp::Anchor, DontEnum|Function, 1, -1 },
00065 { 0, 0, 0, 0, -1 },
00066 { 208, StringProtoFuncImp::Match, DontEnum|Function, 1, -1 },
00067 { 146, StringProtoFuncImp::ValueOf, DontEnum|Function, 0, 28 },
00068 { 0, 0, 0, 0, -1 },
00069 { 214, StringProtoFuncImp::Slice, DontEnum|Function, 2, 29 },
00070 { 232, StringProtoFuncImp::Bold, DontEnum|Function, 0, -1 },
00071 { 237, StringProtoFuncImp::Big, DontEnum|Function, 0, -1 },
00072 { 0, 0, 0, 0, -1 },
00073 { 73, StringProtoFuncImp::CharCodeAt, DontEnum|Function, 1, 34 },
00074 { 226, StringProtoFuncImp::Split, DontEnum|Function, 2, 30 },
00075 { 196, StringProtoFuncImp::Blink, DontEnum|Function, 0, 31 },
00076 { 202, StringProtoFuncImp::Fixed, DontEnum|Function, 0, -1 },
00077 { 130, StringProtoFuncImp::Italics, DontEnum|Function, 0, -1 },
00078 { 182, StringProtoFuncImp::Strike, DontEnum|Function, 0, 36 },
00079 { 241, StringProtoFuncImp::Sub, DontEnum|Function, 0, -1 },
00080 { 245, StringProtoFuncImp::Sup, DontEnum|Function, 0, -1 },
00081 { 104, StringProtoFuncImp::Fontsize, DontEnum|Function, 1, -1 }
00082 };
00083
00084 const struct HashTable stringTable = { 2, 37, stringTableEntries, 28, stringTableStrings};
00085
00086 }