00001
00002
00003 #include "lookup.h"
00004
00005 using namespace KJS;
00006
00007 namespace KJS {
00008
00009 static const char arrayTableStrings[] = {
00010 "\0"
00011 "toLocaleString\0"
00012 "toString\0"
00013 "reverse\0"
00014 "unshift\0"
00015 "concat\0"
00016 "splice\0"
00017 "slice\0"
00018 "join\0"
00019 "push\0"
00020 "sort\0"
00021 "pop\0"
00022 };
00023
00024
00025 static const struct HashEntry arrayTableEntries[] = {
00026 { 0, 0, 0, 0, -1 },
00027 { 55, ArrayProtoFuncImp::Slice, DontEnum|Function, 2, -1 },
00028 { 0, 0, 0, 0, -1 },
00029 { 41, ArrayProtoFuncImp::Concat, DontEnum|Function, 1, -1 },
00030 { 33, ArrayProtoFuncImp::UnShift, DontEnum|Function, 1, -1 },
00031 { 1, ArrayProtoFuncImp::ToLocaleString, DontEnum|Function, 0, -1 },
00032 { 66, ArrayProtoFuncImp::Push, DontEnum|Function, 1, -1 },
00033 { 61, ArrayProtoFuncImp::Join, DontEnum|Function, 1, -1 },
00034 { 16, ArrayProtoFuncImp::ToString, DontEnum|Function, 0, -1 },
00035 { 0, 0, 0, 0, -1 },
00036 { 0, 0, 0, 0, -1 },
00037 { 48, ArrayProtoFuncImp::Splice, DontEnum|Function, 2, -1 },
00038 { 76, ArrayProtoFuncImp::Pop, DontEnum|Function, 0, -1 },
00039 { 0, 0, 0, 0, -1 },
00040 { 71, ArrayProtoFuncImp::Sort, DontEnum|Function, 1, -1 },
00041 { 35, ArrayProtoFuncImp::Shift, DontEnum|Function, 0, -1 },
00042 { 25, ArrayProtoFuncImp::Reverse, DontEnum|Function, 0, -1 }
00043 };
00044
00045 const struct HashTable arrayTable = { 2, 17, arrayTableEntries, 17, arrayTableStrings};
00046
00047 }