00001
00002
00003 #include "lookup.h"
00004
00005 using namespace KJS;
00006
00007 namespace KJS {
00008
00009 const struct HashEntry stringTableEntries[] = {
00010 { "toString", StringProtoFuncImp::ToString, DontEnum|Function, 0, 0 },
00011 { "bold", StringProtoFuncImp::Bold, DontEnum|Function, 0, 0 },
00012 { 0, 0, 0, 0, 0 },
00013 { "lastIndexOf", StringProtoFuncImp::LastIndexOf, DontEnum|Function, 2, 0 },
00014 { "replace", StringProtoFuncImp::Replace, DontEnum|Function, 2, 0 },
00015 { "match", StringProtoFuncImp::Match, DontEnum|Function, 1, &stringTableEntries[27] },
00016 { "search", StringProtoFuncImp::Search, DontEnum|Function, 1, &stringTableEntries[34] },
00017 { 0, 0, 0, 0, 0 },
00018 { "concat", StringProtoFuncImp::Concat, DontEnum|Function, 1, &stringTableEntries[26] },
00019 { 0, 0, 0, 0, 0 },
00020 { "split", StringProtoFuncImp::Split, DontEnum|Function, 2, &stringTableEntries[28] },
00021 { "anchor", StringProtoFuncImp::Anchor, DontEnum|Function, 1, 0 },
00022 { "charCodeAt", StringProtoFuncImp::CharCodeAt, DontEnum|Function, 1, 0 },
00023 { "toUpperCase", StringProtoFuncImp::ToUpperCase, DontEnum|Function, 0, 0 },
00024 { "link", StringProtoFuncImp::Link, DontEnum|Function, 1, 0 },
00025 { "indexOf", StringProtoFuncImp::IndexOf, DontEnum|Function, 2, 0 },
00026 { 0, 0, 0, 0, 0 },
00027 { "small", StringProtoFuncImp::Small, DontEnum|Function, 0, &stringTableEntries[32] },
00028 { "sub", StringProtoFuncImp::Sub, DontEnum|Function, 0, 0 },
00029 { 0, 0, 0, 0, 0 },
00030 { "valueOf", StringProtoFuncImp::ValueOf, DontEnum|Function, 0, &stringTableEntries[29] },
00031 { 0, 0, 0, 0, 0 },
00032 { 0, 0, 0, 0, 0 },
00033 { "charAt", StringProtoFuncImp::CharAt, DontEnum|Function, 1, 0 },
00034 { "fontsize", StringProtoFuncImp::Fontsize, DontEnum|Function, 1, 0 },
00035 { "substr", StringProtoFuncImp::Substr, DontEnum|Function, 2, 0 },
00036 { "slice", StringProtoFuncImp::Slice, DontEnum|Function, 2, &stringTableEntries[30] },
00037 { "substring", StringProtoFuncImp::Substring, DontEnum|Function, 2, 0 },
00038 { "toLowerCase", StringProtoFuncImp::ToLowerCase, DontEnum|Function, 0, 0 },
00039 { "big", StringProtoFuncImp::Big, DontEnum|Function, 0, &stringTableEntries[35] },
00040 { "blink", StringProtoFuncImp::Blink, DontEnum|Function, 0, &stringTableEntries[31] },
00041 { "fixed", StringProtoFuncImp::Fixed, DontEnum|Function, 0, &stringTableEntries[33] },
00042 { "italics", StringProtoFuncImp::Italics, DontEnum|Function, 0, 0 },
00043 { "strike", StringProtoFuncImp::Strike, DontEnum|Function, 0, 0 },
00044 { "sup", StringProtoFuncImp::Sup, DontEnum|Function, 0, 0 },
00045 { "fontcolor", StringProtoFuncImp::Fontcolor, DontEnum|Function, 1, 0 }
00046 };
00047
00048 const struct HashTable stringTable = { 2, 36, stringTableEntries, 26 };
00049
00050 }