| 1 | // Automatically generated from /home/ubuntu/webkit/Source/JavaScriptCore/parser/Keywords.table using /home/ubuntu/webkit/Source/JavaScriptCore/create_hash_table. DO NOT EDIT! |
| 2 | |
| 3 | #include "Lookup.h" |
| 4 | |
| 5 | namespace JSC { |
| 6 | |
| 7 | static const struct CompactHashIndex mainTableIndex[134] = { |
| 8 | { -1, -1 }, |
| 9 | { -1, -1 }, |
| 10 | { -1, -1 }, |
| 11 | { -1, -1 }, |
| 12 | { 41, -1 }, |
| 13 | { 38, -1 }, |
| 14 | { 31, -1 }, |
| 15 | { 14, -1 }, |
| 16 | { 0, -1 }, |
| 17 | { -1, -1 }, |
| 18 | { 16, -1 }, |
| 19 | { -1, -1 }, |
| 20 | { 12, -1 }, |
| 21 | { 15, -1 }, |
| 22 | { -1, -1 }, |
| 23 | { 21, -1 }, |
| 24 | { -1, -1 }, |
| 25 | { 44, -1 }, |
| 26 | { 40, -1 }, |
| 27 | { -1, -1 }, |
| 28 | { -1, -1 }, |
| 29 | { -1, -1 }, |
| 30 | { -1, -1 }, |
| 31 | { 32, -1 }, |
| 32 | { -1, -1 }, |
| 33 | { 8, -1 }, |
| 34 | { -1, -1 }, |
| 35 | { -1, -1 }, |
| 36 | { -1, -1 }, |
| 37 | { -1, -1 }, |
| 38 | { 25, -1 }, |
| 39 | { -1, -1 }, |
| 40 | { -1, -1 }, |
| 41 | { -1, -1 }, |
| 42 | { -1, -1 }, |
| 43 | { -1, -1 }, |
| 44 | { -1, -1 }, |
| 45 | { -1, -1 }, |
| 46 | { -1, -1 }, |
| 47 | { -1, -1 }, |
| 48 | { -1, -1 }, |
| 49 | { -1, -1 }, |
| 50 | { -1, -1 }, |
| 51 | { 43, -1 }, |
| 52 | { -1, -1 }, |
| 53 | { -1, -1 }, |
| 54 | { -1, -1 }, |
| 55 | { -1, -1 }, |
| 56 | { 10, -1 }, |
| 57 | { -1, -1 }, |
| 58 | { -1, -1 }, |
| 59 | { -1, -1 }, |
| 60 | { -1, -1 }, |
| 61 | { -1, -1 }, |
| 62 | { -1, -1 }, |
| 63 | { 35, -1 }, |
| 64 | { 36, -1 }, |
| 65 | { 24, -1 }, |
| 66 | { -1, -1 }, |
| 67 | { 27, -1 }, |
| 68 | { -1, -1 }, |
| 69 | { 20, -1 }, |
| 70 | { -1, -1 }, |
| 71 | { 11, 130 }, |
| 72 | { -1, -1 }, |
| 73 | { 4, 132 }, |
| 74 | { -1, -1 }, |
| 75 | { 13, -1 }, |
| 76 | { -1, -1 }, |
| 77 | { 33, -1 }, |
| 78 | { 30, -1 }, |
| 79 | { -1, -1 }, |
| 80 | { -1, -1 }, |
| 81 | { -1, -1 }, |
| 82 | { 1, 128 }, |
| 83 | { 42, -1 }, |
| 84 | { 18, -1 }, |
| 85 | { -1, -1 }, |
| 86 | { 29, -1 }, |
| 87 | { 3, 129 }, |
| 88 | { -1, -1 }, |
| 89 | { -1, -1 }, |
| 90 | { -1, -1 }, |
| 91 | { 6, -1 }, |
| 92 | { -1, -1 }, |
| 93 | { -1, -1 }, |
| 94 | { -1, -1 }, |
| 95 | { -1, -1 }, |
| 96 | { 28, -1 }, |
| 97 | { -1, -1 }, |
| 98 | { -1, -1 }, |
| 99 | { -1, -1 }, |
| 100 | { -1, -1 }, |
| 101 | { -1, -1 }, |
| 102 | { 23, -1 }, |
| 103 | { -1, -1 }, |
| 104 | { 45, -1 }, |
| 105 | { -1, -1 }, |
| 106 | { -1, -1 }, |
| 107 | { 39, -1 }, |
| 108 | { -1, -1 }, |
| 109 | { -1, -1 }, |
| 110 | { -1, -1 }, |
| 111 | { -1, -1 }, |
| 112 | { -1, -1 }, |
| 113 | { -1, -1 }, |
| 114 | { -1, -1 }, |
| 115 | { -1, -1 }, |
| 116 | { -1, -1 }, |
| 117 | { 5, -1 }, |
| 118 | { -1, -1 }, |
| 119 | { -1, -1 }, |
| 120 | { -1, -1 }, |
| 121 | { 17, -1 }, |
| 122 | { 26, -1 }, |
| 123 | { -1, -1 }, |
| 124 | { -1, -1 }, |
| 125 | { -1, -1 }, |
| 126 | { -1, -1 }, |
| 127 | { -1, -1 }, |
| 128 | { -1, -1 }, |
| 129 | { -1, -1 }, |
| 130 | { -1, -1 }, |
| 131 | { -1, -1 }, |
| 132 | { -1, -1 }, |
| 133 | { 7, 131 }, |
| 134 | { -1, -1 }, |
| 135 | { -1, -1 }, |
| 136 | { 2, -1 }, |
| 137 | { 9, -1 }, |
| 138 | { 19, -1 }, |
| 139 | { 22, -1 }, |
| 140 | { 34, 133 }, |
| 141 | { 37, -1 }, |
| 142 | }; |
| 143 | |
| 144 | static const struct HashTableValue mainTableValues[46] = { |
| 145 | { "null" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(NULLTOKEN), (intptr_t)(0) } }, |
| 146 | { "true" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(TRUETOKEN), (intptr_t)(0) } }, |
| 147 | { "false" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(FALSETOKEN), (intptr_t)(0) } }, |
| 148 | { "await" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(AWAIT), (intptr_t)(0) } }, |
| 149 | { "break" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(BREAK), (intptr_t)(0) } }, |
| 150 | { "case" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CASE), (intptr_t)(0) } }, |
| 151 | { "catch" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CATCH), (intptr_t)(0) } }, |
| 152 | { "class" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CLASSTOKEN), (intptr_t)(0) } }, |
| 153 | { "const" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CONSTTOKEN), (intptr_t)(0) } }, |
| 154 | { "default" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(DEFAULT), (intptr_t)(0) } }, |
| 155 | { "extends" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(EXTENDS), (intptr_t)(0) } }, |
| 156 | { "finally" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(FINALLY), (intptr_t)(0) } }, |
| 157 | { "for" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(FOR), (intptr_t)(0) } }, |
| 158 | { "instanceof" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(INSTANCEOF), (intptr_t)(0) } }, |
| 159 | { "new" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(NEW), (intptr_t)(0) } }, |
| 160 | { "var" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(VAR), (intptr_t)(0) } }, |
| 161 | { "let" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(LET), (intptr_t)(0) } }, |
| 162 | { "continue" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(CONTINUE), (intptr_t)(0) } }, |
| 163 | { "function" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(FUNCTION), (intptr_t)(0) } }, |
| 164 | { "return" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RETURN), (intptr_t)(0) } }, |
| 165 | { "void" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(VOIDTOKEN), (intptr_t)(0) } }, |
| 166 | { "delete" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(DELETETOKEN), (intptr_t)(0) } }, |
| 167 | { "if" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(IF), (intptr_t)(0) } }, |
| 168 | { "this" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(THISTOKEN), (intptr_t)(0) } }, |
| 169 | { "do" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(DO), (intptr_t)(0) } }, |
| 170 | { "while" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(WHILE), (intptr_t)(0) } }, |
| 171 | { "else" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(ELSE), (intptr_t)(0) } }, |
| 172 | { "in" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(INTOKEN), (intptr_t)(0) } }, |
| 173 | { "super" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(SUPER), (intptr_t)(0) } }, |
| 174 | { "switch" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(SWITCH), (intptr_t)(0) } }, |
| 175 | { "throw" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(THROW), (intptr_t)(0) } }, |
| 176 | { "try" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(TRY), (intptr_t)(0) } }, |
| 177 | { "typeof" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(TYPEOF), (intptr_t)(0) } }, |
| 178 | { "with" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(WITH), (intptr_t)(0) } }, |
| 179 | { "debugger" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(DEBUGGER), (intptr_t)(0) } }, |
| 180 | { "yield" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(YIELD), (intptr_t)(0) } }, |
| 181 | { "enum" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED), (intptr_t)(0) } }, |
| 182 | { "export" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(EXPORT), (intptr_t)(0) } }, |
| 183 | { "import" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(IMPORT), (intptr_t)(0) } }, |
| 184 | { "implements" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } }, |
| 185 | { "interface" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } }, |
| 186 | { "package" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } }, |
| 187 | { "private" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } }, |
| 188 | { "protected" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } }, |
| 189 | { "public" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } }, |
| 190 | { "static" , static_cast<unsigned>(PropertyAttribute::None), NoIntrinsic, { (intptr_t)(RESERVED_IF_STRICT), (intptr_t)(0) } }, |
| 191 | }; |
| 192 | |
| 193 | static const struct HashTable mainTable = |
| 194 | { 46, 127, false, nullptr, mainTableValues, mainTableIndex }; |
| 195 | |
| 196 | } // namespace JSC |
| 197 | |