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 VAR = 15;
027      /** RegularExpression Id. */
028      int EMPTY = 16;
029      /** RegularExpression Id. */
030      int SIZE = 17;
031      /** RegularExpression Id. */
032      int NULL = 18;
033      /** RegularExpression Id. */
034      int TRUE = 19;
035      /** RegularExpression Id. */
036      int FALSE = 20;
037      /** RegularExpression Id. */
038      int RETURN = 21;
039      /** RegularExpression Id. */
040      int IN = 22;
041      /** RegularExpression Id. */
042      int LPAREN = 23;
043      /** RegularExpression Id. */
044      int RPAREN = 24;
045      /** RegularExpression Id. */
046      int LCURLY = 25;
047      /** RegularExpression Id. */
048      int RCURLY = 26;
049      /** RegularExpression Id. */
050      int LBRACKET = 27;
051      /** RegularExpression Id. */
052      int RBRACKET = 28;
053      /** RegularExpression Id. */
054      int SEMICOL = 29;
055      /** RegularExpression Id. */
056      int COLON = 30;
057      /** RegularExpression Id. */
058      int COMMA = 31;
059      /** RegularExpression Id. */
060      int DOT = 32;
061      /** RegularExpression Id. */
062      int QMARK = 33;
063      /** RegularExpression Id. */
064      int ELVIS = 34;
065      /** RegularExpression Id. */
066      int AND = 35;
067      /** RegularExpression Id. */
068      int OR = 36;
069      /** RegularExpression Id. */
070      int eq = 37;
071      /** RegularExpression Id. */
072      int ne = 38;
073      /** RegularExpression Id. */
074      int req = 39;
075      /** RegularExpression Id. */
076      int rne = 40;
077      /** RegularExpression Id. */
078      int gt = 41;
079      /** RegularExpression Id. */
080      int ge = 42;
081      /** RegularExpression Id. */
082      int lt = 43;
083      /** RegularExpression Id. */
084      int le = 44;
085      /** RegularExpression Id. */
086      int assign = 45;
087      /** RegularExpression Id. */
088      int mod = 46;
089      /** RegularExpression Id. */
090      int div = 47;
091      /** RegularExpression Id. */
092      int not = 48;
093      /** RegularExpression Id. */
094      int plus = 49;
095      /** RegularExpression Id. */
096      int minus = 50;
097      /** RegularExpression Id. */
098      int mult = 51;
099      /** RegularExpression Id. */
100      int tilda = 52;
101      /** RegularExpression Id. */
102      int and = 53;
103      /** RegularExpression Id. */
104      int or = 54;
105      /** RegularExpression Id. */
106      int xor = 55;
107      /** RegularExpression Id. */
108      int IDENTIFIER = 56;
109      /** RegularExpression Id. */
110      int LETTER = 57;
111      /** RegularExpression Id. */
112      int DIGIT = 58;
113      /** RegularExpression Id. */
114      int REGISTER = 59;
115      /** RegularExpression Id. */
116      int INTEGER_LITERAL = 60;
117      /** RegularExpression Id. */
118      int FLOAT_LITERAL = 61;
119      /** RegularExpression Id. */
120      int STRING_LITERAL = 62;
121    
122      /** Lexical state. */
123      int REGISTERS = 0;
124      /** Lexical state. */
125      int FOR_EACH_IN = 1;
126      /** Lexical state. */
127      int DEFAULT = 2;
128    
129      /** Literal token values. */
130      String[] tokenImage = {
131        "<EOF>",
132        "<token of kind 1>",
133        "<token of kind 2>",
134        "<token of kind 3>",
135        "\" \"",
136        "\"\\t\"",
137        "\"\\n\"",
138        "\"\\r\"",
139        "\"\\f\"",
140        "\"if\"",
141        "\"else\"",
142        "\"for\"",
143        "\"foreach\"",
144        "\"while\"",
145        "\"new\"",
146        "\"var\"",
147        "\"empty\"",
148        "\"size\"",
149        "\"null\"",
150        "\"true\"",
151        "\"false\"",
152        "\"return\"",
153        "\"in\"",
154        "\"(\"",
155        "\")\"",
156        "\"{\"",
157        "\"}\"",
158        "\"[\"",
159        "\"]\"",
160        "\";\"",
161        "\":\"",
162        "\",\"",
163        "\".\"",
164        "\"?\"",
165        "\"?:\"",
166        "<AND>",
167        "<OR>",
168        "<eq>",
169        "<ne>",
170        "\"=~\"",
171        "\"!~\"",
172        "<gt>",
173        "<ge>",
174        "<lt>",
175        "<le>",
176        "\"=\"",
177        "<mod>",
178        "<div>",
179        "<not>",
180        "\"+\"",
181        "\"-\"",
182        "\"*\"",
183        "\"~\"",
184        "\"&\"",
185        "\"|\"",
186        "\"^\"",
187        "<IDENTIFIER>",
188        "<LETTER>",
189        "<DIGIT>",
190        "<REGISTER>",
191        "<INTEGER_LITERAL>",
192        "<FLOAT_LITERAL>",
193        "<STRING_LITERAL>",
194      };
195    
196    }