001    /* Generated By:JJTree&JavaCC: Do not edit this line. ParserConstants.java */
002    package org.apache.commons.jexl2.parser;
003    
004    
005    /**
006     * Token literal values and constants.
007     * Generated by org.javacc.parser.OtherFilesGen#start()
008     */
009    public interface ParserConstants {
010    
011      /** End of File. */
012      int EOF = 0;
013      /** RegularExpression Id. */
014      int IF = 9;
015      /** RegularExpression Id. */
016      int ELSE = 10;
017      /** RegularExpression Id. */
018      int FOR = 11;
019      /** RegularExpression Id. */
020      int FOREACH = 12;
021      /** RegularExpression Id. */
022      int WHILE = 13;
023      /** RegularExpression Id. */
024      int NEW = 14;
025      /** RegularExpression Id. */
026      int EMPTY = 15;
027      /** RegularExpression Id. */
028      int SIZE = 16;
029      /** RegularExpression Id. */
030      int NULL = 17;
031      /** RegularExpression Id. */
032      int TRUE = 18;
033      /** RegularExpression Id. */
034      int FALSE = 19;
035      /** RegularExpression Id. */
036      int IN = 20;
037      /** RegularExpression Id. */
038      int LPAREN = 21;
039      /** RegularExpression Id. */
040      int RPAREN = 22;
041      /** RegularExpression Id. */
042      int LCURLY = 23;
043      /** RegularExpression Id. */
044      int RCURLY = 24;
045      /** RegularExpression Id. */
046      int LBRACKET = 25;
047      /** RegularExpression Id. */
048      int RBRACKET = 26;
049      /** RegularExpression Id. */
050      int SEMICOL = 27;
051      /** RegularExpression Id. */
052      int COLON = 28;
053      /** RegularExpression Id. */
054      int COMMA = 29;
055      /** RegularExpression Id. */
056      int DOT = 30;
057      /** RegularExpression Id. */
058      int QMARK = 31;
059      /** RegularExpression Id. */
060      int ELVIS = 32;
061      /** RegularExpression Id. */
062      int AND = 33;
063      /** RegularExpression Id. */
064      int OR = 34;
065      /** RegularExpression Id. */
066      int eq = 35;
067      /** RegularExpression Id. */
068      int ne = 36;
069      /** RegularExpression Id. */
070      int req = 37;
071      /** RegularExpression Id. */
072      int rne = 38;
073      /** RegularExpression Id. */
074      int gt = 39;
075      /** RegularExpression Id. */
076      int ge = 40;
077      /** RegularExpression Id. */
078      int lt = 41;
079      /** RegularExpression Id. */
080      int le = 42;
081      /** RegularExpression Id. */
082      int assign = 43;
083      /** RegularExpression Id. */
084      int mod = 44;
085      /** RegularExpression Id. */
086      int div = 45;
087      /** RegularExpression Id. */
088      int not = 46;
089      /** RegularExpression Id. */
090      int plus = 47;
091      /** RegularExpression Id. */
092      int minus = 48;
093      /** RegularExpression Id. */
094      int mult = 49;
095      /** RegularExpression Id. */
096      int tilda = 50;
097      /** RegularExpression Id. */
098      int and = 51;
099      /** RegularExpression Id. */
100      int or = 52;
101      /** RegularExpression Id. */
102      int xor = 53;
103      /** RegularExpression Id. */
104      int IDENTIFIER = 54;
105      /** RegularExpression Id. */
106      int LETTER = 55;
107      /** RegularExpression Id. */
108      int DIGIT = 56;
109      /** RegularExpression Id. */
110      int REGISTER = 57;
111      /** RegularExpression Id. */
112      int INTEGER_LITERAL = 58;
113      /** RegularExpression Id. */
114      int FLOAT_LITERAL = 59;
115      /** RegularExpression Id. */
116      int STRING_LITERAL = 60;
117    
118      /** Lexical state. */
119      int REGISTERS = 0;
120      /** Lexical state. */
121      int FOR_EACH_IN = 1;
122      /** Lexical state. */
123      int DEFAULT = 2;
124    
125      /** Literal token values. */
126      String[] tokenImage = {
127        "<EOF>",
128        "<token of kind 1>",
129        "<token of kind 2>",
130        "<token of kind 3>",
131        "\" \"",
132        "\"\\t\"",
133        "\"\\n\"",
134        "\"\\r\"",
135        "\"\\f\"",
136        "\"if\"",
137        "\"else\"",
138        "\"for\"",
139        "\"foreach\"",
140        "\"while\"",
141        "\"new\"",
142        "\"empty\"",
143        "\"size\"",
144        "\"null\"",
145        "\"true\"",
146        "\"false\"",
147        "\"in\"",
148        "\"(\"",
149        "\")\"",
150        "\"{\"",
151        "\"}\"",
152        "\"[\"",
153        "\"]\"",
154        "\";\"",
155        "\":\"",
156        "\",\"",
157        "\".\"",
158        "\"?\"",
159        "\"?:\"",
160        "<AND>",
161        "<OR>",
162        "<eq>",
163        "<ne>",
164        "\"=~\"",
165        "\"!~\"",
166        "<gt>",
167        "<ge>",
168        "<lt>",
169        "<le>",
170        "\"=\"",
171        "<mod>",
172        "<div>",
173        "<not>",
174        "\"+\"",
175        "\"-\"",
176        "\"*\"",
177        "\"~\"",
178        "\"&\"",
179        "\"|\"",
180        "\"^\"",
181        "<IDENTIFIER>",
182        "<LETTER>",
183        "<DIGIT>",
184        "<REGISTER>",
185        "<INTEGER_LITERAL>",
186        "<FLOAT_LITERAL>",
187        "<STRING_LITERAL>",
188      };
189    
190    }