KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > sablecc > sablecc > syntax3 > parser > TokenIndex


1 /* This file was generated by SableCC (http://www.sablecc.org/). */
2
3 package org.sablecc.sablecc.syntax3.parser;
4
5 import org.sablecc.sablecc.syntax3.node.*;
6 import org.sablecc.sablecc.syntax3.analysis.*;
7
8 class TokenIndex extends AnalysisAdapter
9 {
10     int index;
11
12     @Override JavaDoc
13     public void caseTAllKeyword(@SuppressWarnings JavaDoc("unused") TAllKeyword node)
14     {
15         this.index = 0;
16     }
17
18     @Override JavaDoc
19     public void caseTAnyKeyword(@SuppressWarnings JavaDoc("unused") TAnyKeyword node)
20     {
21         this.index = 1;
22     }
23
24     @Override JavaDoc
25     public void caseTBackKeyword(@SuppressWarnings JavaDoc("unused") TBackKeyword node)
26     {
27         this.index = 2;
28     }
29
30     @Override JavaDoc
31     public void caseTExceptKeyword(@SuppressWarnings JavaDoc("unused") TExceptKeyword node)
32     {
33         this.index = 3;
34     }
35
36     @Override JavaDoc
37     public void caseTGroupKeyword(@SuppressWarnings JavaDoc("unused") TGroupKeyword node)
38     {
39         this.index = 4;
40     }
41
42     @Override JavaDoc
43     public void caseTHelpersKeyword(@SuppressWarnings JavaDoc("unused") THelpersKeyword node)
44     {
45         this.index = 5;
46     }
47
48     @Override JavaDoc
49     public void caseTIgnoredKeyword(@SuppressWarnings JavaDoc("unused") TIgnoredKeyword node)
50     {
51         this.index = 6;
52     }
53
54     @Override JavaDoc
55     public void caseTInfiniteKeyword(@SuppressWarnings JavaDoc("unused") TInfiniteKeyword node)
56     {
57         this.index = 7;
58     }
59
60     @Override JavaDoc
61     public void caseTInternalKeyword(@SuppressWarnings JavaDoc("unused") TInternalKeyword node)
62     {
63         this.index = 8;
64     }
65
66     @Override JavaDoc
67     public void caseTIntersectionKeyword(@SuppressWarnings JavaDoc("unused") TIntersectionKeyword node)
68     {
69         this.index = 9;
70     }
71
72     @Override JavaDoc
73     public void caseTInvestigatorsKeyword(@SuppressWarnings JavaDoc("unused") TInvestigatorsKeyword node)
74     {
75         this.index = 10;
76     }
77
78     @Override JavaDoc
79     public void caseTLanguageKeyword(@SuppressWarnings JavaDoc("unused") TLanguageKeyword node)
80     {
81         this.index = 11;
82     }
83
84     @Override JavaDoc
85     public void caseTLookaheadKeyword(@SuppressWarnings JavaDoc("unused") TLookaheadKeyword node)
86     {
87         this.index = 12;
88     }
89
90     @Override JavaDoc
91     public void caseTLexerKeyword(@SuppressWarnings JavaDoc("unused") TLexerKeyword node)
92     {
93         this.index = 13;
94     }
95
96     @Override JavaDoc
97     public void caseTNoneKeyword(@SuppressWarnings JavaDoc("unused") TNoneKeyword node)
98     {
99         this.index = 14;
100     }
101
102     @Override JavaDoc
103     public void caseTOverKeyword(@SuppressWarnings JavaDoc("unused") TOverKeyword node)
104     {
105         this.index = 15;
106     }
107
108     @Override JavaDoc
109     public void caseTPrioritiesKeyword(@SuppressWarnings JavaDoc("unused") TPrioritiesKeyword node)
110     {
111         this.index = 16;
112     }
113
114     @Override JavaDoc
115     public void caseTShortestKeyword(@SuppressWarnings JavaDoc("unused") TShortestKeyword node)
116     {
117         this.index = 17;
118     }
119
120     @Override JavaDoc
121     public void caseTStateKeyword(@SuppressWarnings JavaDoc("unused") TStateKeyword node)
122     {
123         this.index = 18;
124     }
125
126     @Override JavaDoc
127     public void caseTStatesKeyword(@SuppressWarnings JavaDoc("unused") TStatesKeyword node)
128     {
129         this.index = 19;
130     }
131
132     @Override JavaDoc
133     public void caseTSyntaxKeyword(@SuppressWarnings JavaDoc("unused") TSyntaxKeyword node)
134     {
135         this.index = 20;
136     }
137
138     @Override JavaDoc
139     public void caseTTokensKeyword(@SuppressWarnings JavaDoc("unused") TTokensKeyword node)
140     {
141         this.index = 21;
142     }
143
144     @Override JavaDoc
145     public void caseTTransitionsKeyword(@SuppressWarnings JavaDoc("unused") TTransitionsKeyword node)
146     {
147         this.index = 22;
148     }
149
150     @Override JavaDoc
151     public void caseTArrow(@SuppressWarnings JavaDoc("unused") TArrow node)
152     {
153         this.index = 23;
154     }
155
156     @Override JavaDoc
157     public void caseTColon(@SuppressWarnings JavaDoc("unused") TColon node)
158     {
159         this.index = 24;
160     }
161
162     @Override JavaDoc
163     public void caseTComma(@SuppressWarnings JavaDoc("unused") TComma node)
164     {
165         this.index = 25;
166     }
167
168     @Override JavaDoc
169     public void caseTSemicolon(@SuppressWarnings JavaDoc("unused") TSemicolon node)
170     {
171         this.index = 26;
172     }
173
174     @Override JavaDoc
175     public void caseTThreeDots(@SuppressWarnings JavaDoc("unused") TThreeDots node)
176     {
177         this.index = 27;
178     }
179
180     @Override JavaDoc
181     public void caseTTwoDots(@SuppressWarnings JavaDoc("unused") TTwoDots node)
182     {
183         this.index = 28;
184     }
185
186     @Override JavaDoc
187     public void caseTLeftParenthesis(@SuppressWarnings JavaDoc("unused") TLeftParenthesis node)
188     {
189         this.index = 29;
190     }
191
192     @Override JavaDoc
193     public void caseTRightParenthesis(@SuppressWarnings JavaDoc("unused") TRightParenthesis node)
194     {
195         this.index = 30;
196     }
197
198     @Override JavaDoc
199     public void caseTAssign(@SuppressWarnings JavaDoc("unused") TAssign node)
200     {
201         this.index = 31;
202     }
203
204     @Override JavaDoc
205     public void caseTBar(@SuppressWarnings JavaDoc("unused") TBar node)
206     {
207         this.index = 32;
208     }
209
210     @Override JavaDoc
211     public void caseTCaret(@SuppressWarnings JavaDoc("unused") TCaret node)
212     {
213         this.index = 33;
214     }
215
216     @Override JavaDoc
217     public void caseTMinus(@SuppressWarnings JavaDoc("unused") TMinus node)
218     {
219         this.index = 34;
220     }
221
222     @Override JavaDoc
223     public void caseTPlus(@SuppressWarnings JavaDoc("unused") TPlus node)
224     {
225         this.index = 35;
226     }
227
228     @Override JavaDoc
229     public void caseTQuestionMark(@SuppressWarnings JavaDoc("unused") TQuestionMark node)
230     {
231         this.index = 36;
232     }
233
234     @Override JavaDoc
235     public void caseTStar(@SuppressWarnings JavaDoc("unused") TStar node)
236     {
237         this.index = 37;
238     }
239
240     @Override JavaDoc
241     public void caseTIdentifier(@SuppressWarnings JavaDoc("unused") TIdentifier node)
242     {
243         this.index = 38;
244     }
245
246     @Override JavaDoc
247     public void caseTErroneousIdentifier(@SuppressWarnings JavaDoc("unused") TErroneousIdentifier node)
248     {
249         this.index = 39;
250     }
251
252     @Override JavaDoc
253     public void caseTNumber(@SuppressWarnings JavaDoc("unused") TNumber node)
254     {
255         this.index = 40;
256     }
257
258     @Override JavaDoc
259     public void caseTDecimalCharacter(@SuppressWarnings JavaDoc("unused") TDecimalCharacter node)
260     {
261         this.index = 41;
262     }
263
264     @Override JavaDoc
265     public void caseTHexadecimalCharacter(@SuppressWarnings JavaDoc("unused") THexadecimalCharacter node)
266     {
267         this.index = 42;
268     }
269
270     @Override JavaDoc
271     public void caseTEmptyString(@SuppressWarnings JavaDoc("unused") TEmptyString node)
272     {
273         this.index = 43;
274     }
275
276     @Override JavaDoc
277     public void caseTCharacterToken(@SuppressWarnings JavaDoc("unused") TCharacterToken node)
278     {
279         this.index = 44;
280     }
281
282     @Override JavaDoc
283     public void caseTString(@SuppressWarnings JavaDoc("unused") TString node)
284     {
285         this.index = 45;
286     }
287
288     @Override JavaDoc
289     public void caseEOF(@SuppressWarnings JavaDoc("unused") EOF node)
290     {
291         this.index = 46;
292     }
293 }
294
Popular Tags