00001
00002
00003 #include "lookup.h"
00004
00005 using namespace KJS;
00006
00007 namespace KJS {
00008
00009 static const char mainTableStrings[] = {
00010 "\0"
00011 "instanceof\0"
00012 "continue\0"
00013 "debugger\0"
00014 "function\0"
00015 "default\0"
00016 "extends\0"
00017 "finally\0"
00018 "delete\0"
00019 "export\0"
00020 "import\0"
00021 "return\0"
00022 "switch\0"
00023 "typeof\0"
00024 "break\0"
00025 "catch\0"
00026 "const\0"
00027 "false\0"
00028 "super\0"
00029 "throw\0"
00030 "while\0"
00031 "case\0"
00032 "else\0"
00033 "enum\0"
00034 "null\0"
00035 "this\0"
00036 "true\0"
00037 "void\0"
00038 "with\0"
00039 "for\0"
00040 "new\0"
00041 "try\0"
00042 "var\0"
00043 "do\0"
00044 "if\0"
00045 "in\0"
00046 };
00047
00048
00049 static const struct HashEntry mainTableEntries[] = {
00050 { 167, THIS, 0, 0, -1 },
00051 { 21, DEBUGGER, 0, 0, -1 },
00052 { 0, 0, 0, 0, -1 },
00053 { 162, NULLTOKEN, 0, 0, 44 },
00054 { 182, WITH, 0, 0, -1 },
00055 { 0, 0, 0, 0, -1 },
00056 { 0, 0, 0, 0, -1 },
00057 { 77, RESERVED, 0, 0, -1 },
00058 { 172, TRUETOKEN, 0, 0, -1 },
00059 { 141, WHILE, 0, 0, -1 },
00060 { 1, INSTANCEOF, 0, 0, -1 },
00061 { 63, DELETE, 0, 0, -1 },
00062 { 84, RETURN, 0, 0, -1 },
00063 { 0, 0, 0, 0, -1 },
00064 { 70, RESERVED, 0, 0, -1 },
00065 { 47, RESERVED, 0, 0, -1 },
00066 { 147, CASE, 0, 0, -1 },
00067 { 0, 0, 0, 0, -1 },
00068 { 0, 0, 0, 0, -1 },
00069 { 187, FOR, 0, 0, -1 },
00070 { 0, 0, 0, 0, -1 },
00071 { 199, VAR, 0, 0, -1 },
00072 { 191, NEW, 0, 0, -1 },
00073 { 117, CONST, 0, 0, -1 },
00074 { 0, 0, 0, 0, -1 },
00075 { 0, 0, 0, 0, -1 },
00076 { 0, 0, 0, 0, -1 },
00077 { 0, 0, 0, 0, -1 },
00078 { 0, 0, 0, 0, -1 },
00079 { 152, ELSE, 0, 0, -1 },
00080 { 0, 0, 0, 0, -1 },
00081 { 111, CATCH, 0, 0, 46 },
00082 { 0, 0, 0, 0, -1 },
00083 { 105, BREAK, 0, 0, 45 },
00084 { 30, FUNCTION, 0, 0, -1 },
00085 { 203, DO, 0, 0, -1 },
00086 { 135, THROW, 0, 0, -1 },
00087 { 39, DEFAULT, 0, 0, -1 },
00088 { 177, VOID, 0, 0, -1 },
00089 { 123, FALSETOKEN, 0, 0, 47 },
00090 { 0, 0, 0, 0, -1 },
00091 { 157, RESERVED, 0, 0, -1 },
00092 { 91, SWITCH, 0, 0, -1 },
00093 { 195, TRY, 0, 0, -1 },
00094 { 55, FINALLY, 0, 0, 48 },
00095 { 12, CONTINUE, 0, 0, -1 },
00096 { 206, IF, 0, 0, 49 },
00097 { 209, IN, 0, 0, -1 },
00098 { 98, TYPEOF, 0, 0, -1 },
00099 { 129, RESERVED, 0, 0, -1 }
00100 };
00101
00102 const struct HashTable mainTable = { 2, 50, mainTableEntries, 44, mainTableStrings};
00103
00104 }