View Javadoc

1   /* Generated By:JavaCC: Do not edit this line. OgnlParserConstants.java */
2   package org.apache.commons.ognl;
3   
4   
5   /**
6    * Token literal values and constants.
7    * Generated by org.javacc.parser.OtherFilesGen#start()
8    */
9   public interface OgnlParserConstants {
10  
11    /** End of File. */
12    int EOF = 0;
13    /** RegularExpression Id. */
14    int IDENT = 64;
15    /** RegularExpression Id. */
16    int LETTER = 65;
17    /** RegularExpression Id. */
18    int DIGIT = 66;
19    /** RegularExpression Id. */
20    int DYNAMIC_SUBSCRIPT = 67;
21    /** RegularExpression Id. */
22    int ESC = 71;
23    /** RegularExpression Id. */
24    int CHAR_LITERAL = 73;
25    /** RegularExpression Id. */
26    int BACK_CHAR_ESC = 74;
27    /** RegularExpression Id. */
28    int BACK_CHAR_LITERAL = 76;
29    /** RegularExpression Id. */
30    int STRING_ESC = 77;
31    /** RegularExpression Id. */
32    int STRING_LITERAL = 79;
33    /** RegularExpression Id. */
34    int INT_LITERAL = 80;
35    /** RegularExpression Id. */
36    int FLT_LITERAL = 81;
37    /** RegularExpression Id. */
38    int DEC_FLT = 82;
39    /** RegularExpression Id. */
40    int DEC_DIGITS = 83;
41    /** RegularExpression Id. */
42    int EXPONENT = 84;
43    /** RegularExpression Id. */
44    int FLT_SUFF = 85;
45  
46    /** Lexical state. */
47    int DEFAULT = 0;
48    /** Lexical state. */
49    int WithinCharLiteral = 1;
50    /** Lexical state. */
51    int WithinBackCharLiteral = 2;
52    /** Lexical state. */
53    int WithinStringLiteral = 3;
54  
55    /** Literal token values. */
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 }