1
2 package org.apache.commons.el.parser;
3
4 public interface ELParserConstants {
5
6 int EOF = 0;
7 int NON_EXPRESSION_TEXT = 1;
8 int START_EXPRESSION = 2;
9 int INTEGER_LITERAL = 7;
10 int FLOATING_POINT_LITERAL = 8;
11 int EXPONENT = 9;
12 int STRING_LITERAL = 10;
13 int BADLY_ESCAPED_STRING_LITERAL = 11;
14 int TRUE = 12;
15 int FALSE = 13;
16 int NULL = 14;
17 int END_EXPRESSION = 15;
18 int DOT = 16;
19 int GT1 = 17;
20 int GT2 = 18;
21 int LT1 = 19;
22 int LT2 = 20;
23 int EQ1 = 21;
24 int EQ2 = 22;
25 int LE1 = 23;
26 int LE2 = 24;
27 int GE1 = 25;
28 int GE2 = 26;
29 int NE1 = 27;
30 int NE2 = 28;
31 int LPAREN = 29;
32 int RPAREN = 30;
33 int COMMA = 31;
34 int COLON = 32;
35 int LBRACKET = 33;
36 int RBRACKET = 34;
37 int PLUS = 35;
38 int MINUS = 36;
39 int MULTIPLY = 37;
40 int DIVIDE1 = 38;
41 int DIVIDE2 = 39;
42 int MODULUS1 = 40;
43 int MODULUS2 = 41;
44 int NOT1 = 42;
45 int NOT2 = 43;
46 int AND1 = 44;
47 int AND2 = 45;
48 int OR1 = 46;
49 int OR2 = 47;
50 int EMPTY = 48;
51 int COND = 49;
52 int IDENTIFIER = 50;
53 int IMPL_OBJ_START = 51;
54 int LETTER = 52;
55 int DIGIT = 53;
56 int ILLEGAL_CHARACTER = 54;
57
58 int DEFAULT = 0;
59 int IN_EXPRESSION = 1;
60
61 String[] tokenImage = {
62 "<EOF>",
63 "<NON_EXPRESSION_TEXT>",
64 "\"${\"",
65 "\" \"",
66 "\"\\t\"",
67 "\"\\n\"",
68 "\"\\r\"",
69 "<INTEGER_LITERAL>",
70 "<FLOATING_POINT_LITERAL>",
71 "<EXPONENT>",
72 "<STRING_LITERAL>",
73 "<BADLY_ESCAPED_STRING_LITERAL>",
74 "\"true\"",
75 "\"false\"",
76 "\"null\"",
77 "\"}\"",
78 "\".\"",
79 "\">\"",
80 "\"gt\"",
81 "\"<\"",
82 "\"lt\"",
83 "\"==\"",
84 "\"eq\"",
85 "\"<=\"",
86 "\"le\"",
87 "\">=\"",
88 "\"ge\"",
89 "\"!=\"",
90 "\"ne\"",
91 "\"(\"",
92 "\")\"",
93 "\",\"",
94 "\":\"",
95 "\"[\"",
96 "\"]\"",
97 "\"+\"",
98 "\"-\"",
99 "\"*\"",
100 "\"/\"",
101 "\"div\"",
102 "\"%\"",
103 "\"mod\"",
104 "\"not\"",
105 "\"!\"",
106 "\"and\"",
107 "\"&&\"",
108 "\"or\"",
109 "\"||\"",
110 "\"empty\"",
111 "\"?\"",
112 "<IDENTIFIER>",
113 "\"#\"",
114 "<LETTER>",
115 "<DIGIT>",
116 "<ILLEGAL_CHARACTER>",
117 };
118
119 }