View Javadoc
1   /* Generated By:JJTree&JavaCC: Do not edit this line. VmParserConstants.java */
2   package net.sourceforge.pmd.lang.vm.ast;
3   
4   
5   /**
6    * Token literal values and constants.
7    * Generated by org.javacc.parser.OtherFilesGen#start()
8    */
9   public interface VmParserConstants {
10  
11    /** End of File. */
12    int EOF = 0;
13    /** RegularExpression Id. */
14    int INDEX_LBRACKET = 1;
15    /** RegularExpression Id. */
16    int INDEX_RBRACKET = 2;
17    /** RegularExpression Id. */
18    int LBRACKET = 3;
19    /** RegularExpression Id. */
20    int RBRACKET = 4;
21    /** RegularExpression Id. */
22    int COMMA = 5;
23    /** RegularExpression Id. */
24    int DOUBLEDOT = 6;
25    /** RegularExpression Id. */
26    int IN = 7;
27    /** RegularExpression Id. */
28    int COLON = 8;
29    /** RegularExpression Id. */
30    int LEFT_CURLEY = 9;
31    /** RegularExpression Id. */
32    int RIGHT_CURLEY = 10;
33    /** RegularExpression Id. */
34    int LPAREN = 11;
35    /** RegularExpression Id. */
36    int RPAREN = 12;
37    /** RegularExpression Id. */
38    int REFMOD2_RPAREN = 13;
39    /** RegularExpression Id. */
40    int ESCAPE_DIRECTIVE = 14;
41    /** RegularExpression Id. */
42    int SET_DIRECTIVE = 15;
43    /** RegularExpression Id. */
44    int DOLLAR = 16;
45    /** RegularExpression Id. */
46    int DOLLARBANG = 17;
47    /** RegularExpression Id. */
48    int HASH = 21;
49    /** RegularExpression Id. */
50    int SINGLE_LINE_COMMENT_START = 22;
51    /** RegularExpression Id. */
52    int DOUBLE_ESCAPE = 23;
53    /** RegularExpression Id. */
54    int ESCAPE = 24;
55    /** RegularExpression Id. */
56    int TEXT = 25;
57    /** RegularExpression Id. */
58    int SINGLE_LINE_COMMENT = 26;
59    /** RegularExpression Id. */
60    int FORMAL_COMMENT = 27;
61    /** RegularExpression Id. */
62    int MULTI_LINE_COMMENT = 28;
63    /** RegularExpression Id. */
64    int TEXTBLOCK = 29;
65    /** RegularExpression Id. */
66    int WHITESPACE = 32;
67    /** RegularExpression Id. */
68    int STRING_LITERAL = 33;
69    /** RegularExpression Id. */
70    int TRUE = 34;
71    /** RegularExpression Id. */
72    int FALSE = 35;
73    /** RegularExpression Id. */
74    int NEWLINE = 36;
75    /** RegularExpression Id. */
76    int MINUS = 37;
77    /** RegularExpression Id. */
78    int PLUS = 38;
79    /** RegularExpression Id. */
80    int MULTIPLY = 39;
81    /** RegularExpression Id. */
82    int DIVIDE = 40;
83    /** RegularExpression Id. */
84    int MODULUS = 41;
85    /** RegularExpression Id. */
86    int LOGICAL_AND = 42;
87    /** RegularExpression Id. */
88    int LOGICAL_OR = 43;
89    /** RegularExpression Id. */
90    int LOGICAL_LT = 44;
91    /** RegularExpression Id. */
92    int LOGICAL_LE = 45;
93    /** RegularExpression Id. */
94    int LOGICAL_GT = 46;
95    /** RegularExpression Id. */
96    int LOGICAL_GE = 47;
97    /** RegularExpression Id. */
98    int LOGICAL_EQUALS = 48;
99    /** RegularExpression Id. */
100   int LOGICAL_NOT_EQUALS = 49;
101   /** RegularExpression Id. */
102   int LOGICAL_NOT = 50;
103   /** RegularExpression Id. */
104   int EQUALS = 51;
105   /** RegularExpression Id. */
106   int END = 52;
107   /** RegularExpression Id. */
108   int FOREACH_DIRECTIVE = 53;
109   /** RegularExpression Id. */
110   int IF_DIRECTIVE = 54;
111   /** RegularExpression Id. */
112   int ELSEIF_DIRECTIVE = 55;
113   /** RegularExpression Id. */
114   int ELSE_DIRECTIVE = 56;
115   /** RegularExpression Id. */
116   int DIGIT = 57;
117   /** RegularExpression Id. */
118   int INTEGER_LITERAL = 58;
119   /** RegularExpression Id. */
120   int FLOATING_POINT_LITERAL = 59;
121   /** RegularExpression Id. */
122   int EXPONENT = 60;
123   /** RegularExpression Id. */
124   int LETTER = 61;
125   /** RegularExpression Id. */
126   int DIRECTIVE_CHAR = 62;
127   /** RegularExpression Id. */
128   int WORD = 63;
129   /** RegularExpression Id. */
130   int BRACKETED_WORD = 64;
131   /** RegularExpression Id. */
132   int ALPHA_CHAR = 65;
133   /** RegularExpression Id. */
134   int ALPHANUM_CHAR = 66;
135   /** RegularExpression Id. */
136   int IDENTIFIER_CHAR = 67;
137   /** RegularExpression Id. */
138   int IDENTIFIER = 68;
139   /** RegularExpression Id. */
140   int DOT = 69;
141   /** RegularExpression Id. */
142   int LCURLY = 70;
143   /** RegularExpression Id. */
144   int RCURLY = 71;
145   /** RegularExpression Id. */
146   int REFERENCE_TERMINATOR = 72;
147   /** RegularExpression Id. */
148   int DIRECTIVE_TERMINATOR = 73;
149   /** RegularExpression Id. */
150   int EMPTY_INDEX = 74;
151 
152   /** Lexical state. */
153   int REFERENCE = 0;
154   /** Lexical state. */
155   int REFMODIFIER = 1;
156   /** Lexical state. */
157   int REFINDEX = 2;
158   /** Lexical state. */
159   int DIRECTIVE = 3;
160   /** Lexical state. */
161   int REFMOD2 = 4;
162   /** Lexical state. */
163   int DEFAULT = 5;
164   /** Lexical state. */
165   int REFMOD = 6;
166   /** Lexical state. */
167   int IN_TEXTBLOCK = 7;
168   /** Lexical state. */
169   int IN_MULTI_LINE_COMMENT = 8;
170   /** Lexical state. */
171   int IN_FORMAL_COMMENT = 9;
172   /** Lexical state. */
173   int IN_SINGLE_LINE_COMMENT = 10;
174   /** Lexical state. */
175   int PRE_DIRECTIVE = 11;
176 
177   /** Literal token values. */
178   String[] tokenImage = {
179     "<EOF>",
180     "\"[\"",
181     "\"]\"",
182     "\"[\"",
183     "\"]\"",
184     "\",\"",
185     "\"..\"",
186     "\"in\"",
187     "\":\"",
188     "\"{\"",
189     "\"}\"",
190     "\"(\"",
191     "<RPAREN>",
192     "\")\"",
193     "<ESCAPE_DIRECTIVE>",
194     "<SET_DIRECTIVE>",
195     "<DOLLAR>",
196     "<DOLLARBANG>",
197     "\"#[[\"",
198     "<token of kind 19>",
199     "\"#*\"",
200     "\"#\"",
201     "\"##\"",
202     "\"\\\\\\\\\"",
203     "\"\\\\\"",
204     "<TEXT>",
205     "<SINGLE_LINE_COMMENT>",
206     "\"*#\"",
207     "\"*#\"",
208     "\"]]#\"",
209     "<token of kind 30>",
210     "<token of kind 31>",
211     "<WHITESPACE>",
212     "<STRING_LITERAL>",
213     "\"true\"",
214     "\"false\"",
215     "<NEWLINE>",
216     "\"-\"",
217     "\"+\"",
218     "\"*\"",
219     "\"/\"",
220     "\"%\"",
221     "<LOGICAL_AND>",
222     "<LOGICAL_OR>",
223     "<LOGICAL_LT>",
224     "<LOGICAL_LE>",
225     "<LOGICAL_GT>",
226     "<LOGICAL_GE>",
227     "<LOGICAL_EQUALS>",
228     "<LOGICAL_NOT_EQUALS>",
229     "<LOGICAL_NOT>",
230     "\"=\"",
231     "<END>",
232     "<FOREACH_DIRECTIVE>",
233     "<IF_DIRECTIVE>",
234     "<ELSEIF_DIRECTIVE>",
235     "<ELSE_DIRECTIVE>",
236     "<DIGIT>",
237     "<INTEGER_LITERAL>",
238     "<FLOATING_POINT_LITERAL>",
239     "<EXPONENT>",
240     "<LETTER>",
241     "<DIRECTIVE_CHAR>",
242     "<WORD>",
243     "<BRACKETED_WORD>",
244     "<ALPHA_CHAR>",
245     "<ALPHANUM_CHAR>",
246     "<IDENTIFIER_CHAR>",
247     "<IDENTIFIER>",
248     "<DOT>",
249     "\"{\"",
250     "\"}\"",
251     "<REFERENCE_TERMINATOR>",
252     "<DIRECTIVE_TERMINATOR>",
253     "<EMPTY_INDEX>",
254   };
255 
256 }