Changeset 798 in webkit for trunk/JavaScriptCore/kjs/lexer.lut.h


Ignore:
Timestamp:
Mar 21, 2002, 4:31:57 PM (23 years ago)
Author:
mjs
Message:

Merged changes from LABYRINTH_KDE_3_MERGE branch.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/JavaScriptCore/kjs/lexer.lut.h

    r6 r798  
    1 /* automatically generated from keywords.table. DO NOT EDIT ! */
     1/* Automatically generated from keywords.table using ./create_hash_table. DO NOT EDIT ! */
     2
     3#include "lookup.h"
    24
    35namespace KJS {
    46
    5 const struct HashEntry2 mainTableEntries[] = {
    6    { "instanceof", INSTANCEOF, 0, &mainTableEntries[63] },
    7    { "var", VAR, 0, &mainTableEntries[47] },
    8    { "case", CASE, 0, &mainTableEntries[41] },
    9    { "default", DEFAULT, 0, &mainTableEntries[54] },
    10    { "while", WHILE, 0, &mainTableEntries[46] },
    11    { 0, 0, 0, 0 },
    12    { "do", DO, 0, 0 },
    13    { "typeof", TYPEOF, 0, 0 },
    14    { "continue", CONTINUE, 0, 0 },
    15    { "function", FUNCTION, 0, 0 },
    16    { "in", IN, 0, 0 },
    17    { "import", RESERVED, 0, 0 },
    18    { "delete", DELETE, 0, 0 },
    19    { "finally", FINALLY, 0, 0 },
    20    { 0, 0, 0, 0 },
    21    { "else", ELSE, 0, 0 },
    22    { "return", RETURN, 0, 0 },
    23    { "debugger", RESERVED, 0, 0 },
    24    { "const", RESERVED, 0, &mainTableEntries[48] },
    25    { "package", RESERVED, 0, 0 },
    26    { "double", RESERVED, 0, &mainTableEntries[53] },
    27    { 0, 0, 0, 0 },
    28    { "long", RESERVED, 0, 0 },
    29    { "catch", CATCH, 0, &mainTableEntries[45] },
    30    { "void", VOID, 0, &mainTableEntries[59] },
    31    { "break", BREAK, 0, &mainTableEntries[49] },
    32    { "byte", RESERVED, 0, &mainTableEntries[62] },
    33    { "enum", RESERVED, 0, &mainTableEntries[58] },
    34    { 0, 0, 0, 0 },
    35    { 0, 0, 0, 0 },
    36    { "this", THIS, 0, &mainTableEntries[50] },
    37    { "false", FALSETOKEN, 0, &mainTableEntries[44] },
    38    { "abstract", RESERVED, 0, &mainTableEntries[56] },
    39    { "null", NULLTOKEN, 0, &mainTableEntries[61] },
    40    { "with", WITH, 0, 0 },
    41    { 0, 0, 0, 0 },
    42    { 0, 0, 0, 0 },
    43    { 0, 0, 0, 0 },
    44    { "true", TRUETOKEN, 0, 0 },
    45    { "boolean", RESERVED, 0, 0 },
    46    { "for", FOR, 0, 0 },
    47    { "new", NEW, 0, &mainTableEntries[42] },
    48    { "if", IF, 0, &mainTableEntries[43] },
    49    { "switch", SWITCH, 0, &mainTableEntries[55] },
    50    { "throw", THROW, 0, &mainTableEntries[52] },
    51    { "try", TRY, 0, &mainTableEntries[64] },
    52    { "char", RESERVED, 0, 0 },
    53    { "class", RESERVED, 0, &mainTableEntries[51] },
    54    { "export", RESERVED, 0, 0 },
    55    { "extends", RESERVED, 0, &mainTableEntries[57] },
    56    { "final", RESERVED, 0, 0 },
    57    { "float", RESERVED, 0, 0 },
    58    { "goto", RESERVED, 0, 0 },
    59    { "implements", RESERVED, 0, 0 },
    60    { "int", RESERVED, 0, &mainTableEntries[66] },
    61    { "interface", RESERVED, 0, 0 },
    62    { "native", RESERVED, 0, 0 },
    63    { "private", RESERVED, 0, 0 },
    64    { "protected", RESERVED, 0, &mainTableEntries[60] },
    65    { "public", RESERVED, 0, 0 },
    66    { "short", RESERVED, 0, 0 },
    67    { "static", RESERVED, 0, 0 },
    68    { "super", RESERVED, 0, 0 },
    69    { "synchronized", RESERVED, 0, &mainTableEntries[65] },
    70    { "throws", RESERVED, 0, 0 },
    71    { "transient", RESERVED, 0, 0 },
    72    { "volatile", RESERVED, 0, 0 }
     7const struct HashEntry mainTableEntries[] = {
     8   { "instanceof", INSTANCEOF, 0, 0, &mainTableEntries[63] },
     9   { "var", VAR, 0, 0, &mainTableEntries[47] },
     10   { "case", CASE, 0, 0, &mainTableEntries[41] },
     11   { "default", DEFAULT, 0, 0, &mainTableEntries[54] },
     12   { "while", WHILE, 0, 0, &mainTableEntries[46] },
     13   { 0, 0, 0, 0, 0 },
     14   { "do", DO, 0, 0, 0 },
     15   { "typeof", TYPEOF, 0, 0, 0 },
     16   { "continue", CONTINUE, 0, 0, 0 },
     17   { "function", FUNCTION, 0, 0, 0 },
     18   { "in", IN, 0, 0, 0 },
     19   { "import", RESERVED, 0, 0, 0 },
     20   { "delete", DELETE, 0, 0, 0 },
     21   { "finally", FINALLY, 0, 0, 0 },
     22   { 0, 0, 0, 0, 0 },
     23   { "else", ELSE, 0, 0, 0 },
     24   { "return", RETURN, 0, 0, 0 },
     25   { "debugger", RESERVED, 0, 0, 0 },
     26   { "const", RESERVED, 0, 0, &mainTableEntries[48] },
     27   { "package", RESERVED, 0, 0, 0 },
     28   { "double", RESERVED, 0, 0, &mainTableEntries[53] },
     29   { 0, 0, 0, 0, 0 },
     30   { "long", RESERVED, 0, 0, 0 },
     31   { "catch", CATCH, 0, 0, &mainTableEntries[45] },
     32   { "void", VOID, 0, 0, &mainTableEntries[59] },
     33   { "break", BREAK, 0, 0, &mainTableEntries[49] },
     34   { "byte", RESERVED, 0, 0, &mainTableEntries[62] },
     35   { "enum", RESERVED, 0, 0, &mainTableEntries[58] },
     36   { 0, 0, 0, 0, 0 },
     37   { 0, 0, 0, 0, 0 },
     38   { "this", THIS, 0, 0, &mainTableEntries[50] },
     39   { "false", FALSETOKEN, 0, 0, &mainTableEntries[44] },
     40   { "abstract", RESERVED, 0, 0, &mainTableEntries[56] },
     41   { "null", NULLTOKEN, 0, 0, &mainTableEntries[61] },
     42   { "with", WITH, 0, 0, 0 },
     43   { 0, 0, 0, 0, 0 },
     44   { 0, 0, 0, 0, 0 },
     45   { 0, 0, 0, 0, 0 },
     46   { "true", TRUETOKEN, 0, 0, 0 },
     47   { "boolean", RESERVED, 0, 0, 0 },
     48   { "for", FOR, 0, 0, 0 },
     49   { "new", NEW, 0, 0, &mainTableEntries[42] },
     50   { "if", IF, 0, 0, &mainTableEntries[43] },
     51   { "switch", SWITCH, 0, 0, &mainTableEntries[55] },
     52   { "throw", THROW, 0, 0, &mainTableEntries[52] },
     53   { "try", TRY, 0, 0, &mainTableEntries[64] },
     54   { "char", RESERVED, 0, 0, 0 },
     55   { "class", RESERVED, 0, 0, &mainTableEntries[51] },
     56   { "export", RESERVED, 0, 0, 0 },
     57   { "extends", RESERVED, 0, 0, &mainTableEntries[57] },
     58   { "final", RESERVED, 0, 0, 0 },
     59   { "float", RESERVED, 0, 0, 0 },
     60   { "goto", RESERVED, 0, 0, 0 },
     61   { "implements", RESERVED, 0, 0, 0 },
     62   { "int", RESERVED, 0, 0, &mainTableEntries[66] },
     63   { "interface", RESERVED, 0, 0, 0 },
     64   { "native", RESERVED, 0, 0, 0 },
     65   { "private", RESERVED, 0, 0, 0 },
     66   { "protected", RESERVED, 0, 0, &mainTableEntries[60] },
     67   { "public", RESERVED, 0, 0, 0 },
     68   { "short", RESERVED, 0, 0, 0 },
     69   { "static", RESERVED, 0, 0, 0 },
     70   { "super", RESERVED, 0, 0, 0 },
     71   { "synchronized", RESERVED, 0, 0, &mainTableEntries[65] },
     72   { "throws", RESERVED, 0, 0, 0 },
     73   { "transient", RESERVED, 0, 0, 0 },
     74   { "volatile", RESERVED, 0, 0, 0 }
    7375};
    7476
    75 const struct HashTable2 mainTable = { 2, 67, mainTableEntries, 41 };
     77const struct HashTable mainTable = { 2, 67, mainTableEntries, 41 };
    7678
    7779}; // namespace
Note: See TracChangeset for help on using the changeset viewer.