00001
00002
00003 #include "lookup.h"
00004
00005 using namespace KJS;
00006
00007 namespace KJS {
00008
00009 const struct HashEntry arrayTableEntries[] = {
00010 { "toString", ArrayProtoFuncImp::ToString, DontEnum|Function, 0, 0 },
00011 { "sort", ArrayProtoFuncImp::Sort, DontEnum|Function, 1, 0 },
00012 { "unshift", ArrayProtoFuncImp::UnShift, DontEnum|Function, 1, 0 },
00013 { "join", ArrayProtoFuncImp::Join, DontEnum|Function, 1, &arrayTableEntries[15] },
00014 { 0, 0, 0, 0, 0 },
00015 { 0, 0, 0, 0, 0 },
00016 { "push", ArrayProtoFuncImp::Push, DontEnum|Function, 1, 0 },
00017 { "toLocaleString", ArrayProtoFuncImp::ToLocaleString, DontEnum|Function, 0, 0 },
00018 { "concat", ArrayProtoFuncImp::Concat, DontEnum|Function, 0, &arrayTableEntries[14] },
00019 { "shift", ArrayProtoFuncImp::Shift, DontEnum|Function, 0, 0 },
00020 { "pop", ArrayProtoFuncImp::Pop, DontEnum|Function, 0, &arrayTableEntries[13] },
00021 { 0, 0, 0, 0, 0 },
00022 { 0, 0, 0, 0, 0 },
00023 { "reverse", ArrayProtoFuncImp::Reverse, DontEnum|Function, 0, 0 },
00024 { "slice", ArrayProtoFuncImp::Slice, DontEnum|Function, 2, 0 },
00025 { "splice", ArrayProtoFuncImp::Splice, DontEnum|Function, 2, 0 }
00026 };
00027
00028 const struct HashTable arrayTable = { 2, 16, arrayTableEntries, 13 };
00029
00030 };