1
2 package org.apache.commons.ognl;
3
4
5
6
7
8
9 public interface OgnlParserConstants {
10
11
12 int EOF = 0;
13
14 int IDENT = 64;
15
16 int LETTER = 65;
17
18 int DIGIT = 66;
19
20 int DYNAMIC_SUBSCRIPT = 67;
21
22 int ESC = 71;
23
24 int CHAR_LITERAL = 73;
25
26 int BACK_CHAR_ESC = 74;
27
28 int BACK_CHAR_LITERAL = 76;
29
30 int STRING_ESC = 77;
31
32 int STRING_LITERAL = 79;
33
34 int INT_LITERAL = 80;
35
36 int FLT_LITERAL = 81;
37
38 int DEC_FLT = 82;
39
40 int DEC_DIGITS = 83;
41
42 int EXPONENT = 84;
43
44 int FLT_SUFF = 85;
45
46
47 int DEFAULT = 0;
48
49 int WithinCharLiteral = 1;
50
51 int WithinBackCharLiteral = 2;
52
53 int WithinStringLiteral = 3;
54
55
56 String[] tokenImage = {
57 "<EOF>",
58 "\",\"",
59 "\"=\"",
60 "\"?\"",
61 "\":\"",
62 "\"||\"",
63 "\"or\"",
64 "\"&&\"",
65 "\"and\"",
66 "\"|\"",
67 "\"bor\"",
68 "\"^\"",
69 "\"xor\"",
70 "\"&\"",
71 "\"band\"",
72 "\"==\"",
73 "\"eq\"",
74 "\"!=\"",
75 "\"neq\"",
76 "\"<\"",
77 "\"lt\"",
78 "\">\"",
79 "\"gt\"",
80 "\"<=\"",
81 "\"lte\"",
82 "\">=\"",
83 "\"gte\"",
84 "\"in\"",
85 "\"not\"",
86 "\"<<\"",
87 "\"shl\"",
88 "\">>\"",
89 "\"shr\"",
90 "\">>>\"",
91 "\"ushr\"",
92 "\"+\"",
93 "\"-\"",
94 "\"*\"",
95 "\"/\"",
96 "\"%\"",
97 "\"~\"",
98 "\"!\"",
99 "\"instanceof\"",
100 "\".\"",
101 "\"(\"",
102 "\")\"",
103 "\"true\"",
104 "\"false\"",
105 "\"null\"",
106 "\"#this\"",
107 "\"#root\"",
108 "\"#\"",
109 "\"[\"",
110 "\"]\"",
111 "\"{\"",
112 "\"}\"",
113 "\"@\"",
114 "\"new\"",
115 "\"$\"",
116 "\" \"",
117 "\"\\t\"",
118 "\"\\f\"",
119 "\"\\r\"",
120 "\"\\n\"",
121 "<IDENT>",
122 "<LETTER>",
123 "<DIGIT>",
124 "<DYNAMIC_SUBSCRIPT>",
125 "\"`\"",
126 "\"\\\'\"",
127 "\"\\\"\"",
128 "<ESC>",
129 "<token of kind 72>",
130 "\"\\\'\"",
131 "<BACK_CHAR_ESC>",
132 "<token of kind 75>",
133 "\"`\"",
134 "<STRING_ESC>",
135 "<token of kind 78>",
136 "\"\\\"\"",
137 "<INT_LITERAL>",
138 "<FLT_LITERAL>",
139 "<DEC_FLT>",
140 "<DEC_DIGITS>",
141 "<EXPONENT>",
142 "<FLT_SUFF>",
143 };
144
145 }