1 |
| |
2 |
| |
3 |
| package org.drools.semantics.java.parser; |
4 |
| |
5 |
| import java.util.List; |
6 |
| import java.util.ArrayList; |
7 |
| |
8 |
| import antlr.TreeParser; |
9 |
| import antlr.Token; |
10 |
| import antlr.collections.AST; |
11 |
| import antlr.RecognitionException; |
12 |
| import antlr.ANTLRException; |
13 |
| import antlr.NoViableAltException; |
14 |
| import antlr.MismatchedTokenException; |
15 |
| import antlr.SemanticException; |
16 |
| import antlr.collections.impl.BitSet; |
17 |
| import antlr.ASTPair; |
18 |
| import antlr.collections.impl.ASTArray; |
19 |
| |
20 |
| |
21 |
| |
22 |
| |
23 |
| |
24 |
| |
25 |
| |
26 |
| |
27 |
| |
28 |
| |
29 |
| |
30 |
| |
31 |
| |
32 |
| |
33 |
| |
34 |
| |
35 |
| public class JavaTreeParser extends antlr.TreeParser implements JavaTreeParserTokenTypes |
36 |
| { |
37 |
| |
38 |
| private List variableRefs; |
39 |
| |
40 |
126
| public void init()
|
41 |
| { |
42 |
126
| this.variableRefs = new ArrayList();
|
43 |
| } |
44 |
| |
45 |
126
| public List getVariableReferences()
|
46 |
| { |
47 |
126
| return this.variableRefs;
|
48 |
| } |
49 |
126
| public JavaTreeParser() {
|
50 |
126
| tokenNames = _tokenNames;
|
51 |
| } |
52 |
| |
53 |
0
| public final void compilationUnit(AST _t) throws RecognitionException {
|
54 |
| |
55 |
0
| AST compilationUnit_AST_in = (AST)_t;
|
56 |
| |
57 |
0
| try {
|
58 |
| { |
59 |
0
| if (_t==null) _t=ASTNULL;
|
60 |
0
| switch ( _t.getType()) {
|
61 |
0
| case PACKAGE_DEF:
|
62 |
| { |
63 |
0
| packageDefinition(_t);
|
64 |
0
| _t = _retTree;
|
65 |
0
| break;
|
66 |
| } |
67 |
0
| case 3:
|
68 |
0
| case CLASS_DEF:
|
69 |
0
| case INTERFACE_DEF:
|
70 |
0
| case IMPORT:
|
71 |
| { |
72 |
0
| break;
|
73 |
| } |
74 |
0
| default:
|
75 |
| { |
76 |
0
| throw new NoViableAltException(_t);
|
77 |
| } |
78 |
| } |
79 |
| } |
80 |
| { |
81 |
0
| _loop325:
|
82 |
| do { |
83 |
0
| if (_t==null) _t=ASTNULL;
|
84 |
0
| if ((_t.getType()==IMPORT)) {
|
85 |
0
| importDefinition(_t);
|
86 |
0
| _t = _retTree;
|
87 |
| } |
88 |
| else { |
89 |
0
| break _loop325;
|
90 |
| } |
91 |
| |
92 |
| } while (true); |
93 |
| } |
94 |
| { |
95 |
0
| _loop327:
|
96 |
| do { |
97 |
0
| if (_t==null) _t=ASTNULL;
|
98 |
0
| if ((_t.getType()==CLASS_DEF||_t.getType()==INTERFACE_DEF)) {
|
99 |
0
| typeDefinition(_t);
|
100 |
0
| _t = _retTree;
|
101 |
| } |
102 |
| else { |
103 |
0
| break _loop327;
|
104 |
| } |
105 |
| |
106 |
| } while (true); |
107 |
| } |
108 |
| } |
109 |
| catch (RecognitionException ex) { |
110 |
0
| reportError(ex);
|
111 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
112 |
| } |
113 |
0
| _retTree = _t;
|
114 |
| } |
115 |
| |
116 |
0
| public final void packageDefinition(AST _t) throws RecognitionException {
|
117 |
| |
118 |
0
| AST packageDefinition_AST_in = (AST)_t;
|
119 |
| |
120 |
0
| try {
|
121 |
0
| AST __t347 = _t;
|
122 |
0
| AST tmp1_AST_in = (AST)_t;
|
123 |
0
| match(_t,PACKAGE_DEF);
|
124 |
0
| _t = _t.getFirstChild();
|
125 |
0
| identifier(_t);
|
126 |
0
| _t = _retTree;
|
127 |
0
| _t = __t347;
|
128 |
0
| _t = _t.getNextSibling();
|
129 |
| } |
130 |
| catch (RecognitionException ex) { |
131 |
0
| reportError(ex);
|
132 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
133 |
| } |
134 |
0
| _retTree = _t;
|
135 |
| } |
136 |
| |
137 |
0
| public final void importDefinition(AST _t) throws RecognitionException {
|
138 |
| |
139 |
0
| AST importDefinition_AST_in = (AST)_t;
|
140 |
| |
141 |
0
| try {
|
142 |
0
| AST __t349 = _t;
|
143 |
0
| AST tmp2_AST_in = (AST)_t;
|
144 |
0
| match(_t,IMPORT);
|
145 |
0
| _t = _t.getFirstChild();
|
146 |
0
| identifierStar(_t);
|
147 |
0
| _t = _retTree;
|
148 |
0
| _t = __t349;
|
149 |
0
| _t = _t.getNextSibling();
|
150 |
| } |
151 |
| catch (RecognitionException ex) { |
152 |
0
| reportError(ex);
|
153 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
154 |
| } |
155 |
0
| _retTree = _t;
|
156 |
| } |
157 |
| |
158 |
0
| public final void typeDefinition(AST _t) throws RecognitionException {
|
159 |
| |
160 |
0
| AST typeDefinition_AST_in = (AST)_t;
|
161 |
| |
162 |
0
| try {
|
163 |
0
| if (_t==null) _t=ASTNULL;
|
164 |
0
| switch ( _t.getType()) {
|
165 |
0
| case CLASS_DEF:
|
166 |
| { |
167 |
0
| AST __t351 = _t;
|
168 |
0
| AST tmp3_AST_in = (AST)_t;
|
169 |
0
| match(_t,CLASS_DEF);
|
170 |
0
| _t = _t.getFirstChild();
|
171 |
0
| modifiers(_t);
|
172 |
0
| _t = _retTree;
|
173 |
0
| AST tmp4_AST_in = (AST)_t;
|
174 |
0
| match(_t,IDENT);
|
175 |
0
| _t = _t.getNextSibling();
|
176 |
0
| extendsClause(_t);
|
177 |
0
| _t = _retTree;
|
178 |
0
| implementsClause(_t);
|
179 |
0
| _t = _retTree;
|
180 |
0
| objBlock(_t);
|
181 |
0
| _t = _retTree;
|
182 |
0
| _t = __t351;
|
183 |
0
| _t = _t.getNextSibling();
|
184 |
0
| break;
|
185 |
| } |
186 |
0
| case INTERFACE_DEF:
|
187 |
| { |
188 |
0
| AST __t352 = _t;
|
189 |
0
| AST tmp5_AST_in = (AST)_t;
|
190 |
0
| match(_t,INTERFACE_DEF);
|
191 |
0
| _t = _t.getFirstChild();
|
192 |
0
| modifiers(_t);
|
193 |
0
| _t = _retTree;
|
194 |
0
| AST tmp6_AST_in = (AST)_t;
|
195 |
0
| match(_t,IDENT);
|
196 |
0
| _t = _t.getNextSibling();
|
197 |
0
| extendsClause(_t);
|
198 |
0
| _t = _retTree;
|
199 |
0
| interfaceBlock(_t);
|
200 |
0
| _t = _retTree;
|
201 |
0
| _t = __t352;
|
202 |
0
| _t = _t.getNextSibling();
|
203 |
0
| break;
|
204 |
| } |
205 |
0
| default:
|
206 |
| { |
207 |
0
| throw new NoViableAltException(_t);
|
208 |
| } |
209 |
| } |
210 |
| } |
211 |
| catch (RecognitionException ex) { |
212 |
0
| reportError(ex);
|
213 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
214 |
| } |
215 |
0
| _retTree = _t;
|
216 |
| } |
217 |
| |
218 |
0
| public final void ruleFile(AST _t) throws RecognitionException {
|
219 |
| |
220 |
0
| AST ruleFile_AST_in = (AST)_t;
|
221 |
| |
222 |
0
| try {
|
223 |
| { |
224 |
0
| _loop330:
|
225 |
| do { |
226 |
0
| if (_t==null) _t=ASTNULL;
|
227 |
0
| if ((_t.getType()==IMPORT)) {
|
228 |
0
| importDefinition(_t);
|
229 |
0
| _t = _retTree;
|
230 |
| } |
231 |
| else { |
232 |
0
| break _loop330;
|
233 |
| } |
234 |
| |
235 |
| } while (true); |
236 |
| } |
237 |
0
| ruleSet(_t);
|
238 |
0
| _t = _retTree;
|
239 |
| } |
240 |
| catch (RecognitionException ex) { |
241 |
0
| reportError(ex);
|
242 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
243 |
| } |
244 |
0
| _retTree = _t;
|
245 |
| } |
246 |
| |
247 |
0
| public final void ruleSet(AST _t) throws RecognitionException {
|
248 |
| |
249 |
0
| AST ruleSet_AST_in = (AST)_t;
|
250 |
| |
251 |
0
| try {
|
252 |
0
| AST __t332 = _t;
|
253 |
0
| AST tmp7_AST_in = (AST)_t;
|
254 |
0
| match(_t,RULE_SET);
|
255 |
0
| _t = _t.getFirstChild();
|
256 |
0
| AST tmp8_AST_in = (AST)_t;
|
257 |
0
| match(_t,IDENT);
|
258 |
0
| _t = _t.getNextSibling();
|
259 |
| { |
260 |
0
| int _cnt334=0;
|
261 |
0
| _loop334:
|
262 |
| do { |
263 |
0
| if (_t==null) _t=ASTNULL;
|
264 |
0
| if ((_t.getType()==RULE)) {
|
265 |
0
| rule(_t);
|
266 |
0
| _t = _retTree;
|
267 |
| } |
268 |
| else { |
269 |
0
| if ( _cnt334>=1 ) { break _loop334; } else {throw new NoViableAltException(_t);}
|
270 |
| } |
271 |
| |
272 |
0
| _cnt334++;
|
273 |
| } while (true); |
274 |
| } |
275 |
0
| _t = __t332;
|
276 |
0
| _t = _t.getNextSibling();
|
277 |
| } |
278 |
| catch (RecognitionException ex) { |
279 |
0
| reportError(ex);
|
280 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
281 |
| } |
282 |
0
| _retTree = _t;
|
283 |
| } |
284 |
| |
285 |
0
| public final void rule(AST _t) throws RecognitionException {
|
286 |
| |
287 |
0
| AST rule_AST_in = (AST)_t;
|
288 |
| |
289 |
0
| try {
|
290 |
0
| AST __t336 = _t;
|
291 |
0
| AST tmp9_AST_in = (AST)_t;
|
292 |
0
| match(_t,RULE);
|
293 |
0
| _t = _t.getFirstChild();
|
294 |
0
| AST tmp10_AST_in = (AST)_t;
|
295 |
0
| match(_t,IDENT);
|
296 |
0
| _t = _t.getNextSibling();
|
297 |
0
| AST __t337 = _t;
|
298 |
0
| AST tmp11_AST_in = (AST)_t;
|
299 |
0
| match(_t,PARAMETERS);
|
300 |
0
| _t = _t.getFirstChild();
|
301 |
| { |
302 |
0
| int _cnt340=0;
|
303 |
0
| _loop340:
|
304 |
| do { |
305 |
0
| if (_t==null) _t=ASTNULL;
|
306 |
0
| if ((_t.getType()==PARAMETER_DEF)) {
|
307 |
0
| AST __t339 = _t;
|
308 |
0
| AST tmp12_AST_in = (AST)_t;
|
309 |
0
| match(_t,PARAMETER_DEF);
|
310 |
0
| _t = _t.getFirstChild();
|
311 |
0
| typeSpec(_t);
|
312 |
0
| _t = _retTree;
|
313 |
0
| AST tmp13_AST_in = (AST)_t;
|
314 |
0
| match(_t,IDENT);
|
315 |
0
| _t = _t.getNextSibling();
|
316 |
0
| _t = __t339;
|
317 |
0
| _t = _t.getNextSibling();
|
318 |
| } |
319 |
| else { |
320 |
0
| if ( _cnt340>=1 ) { break _loop340; } else {throw new NoViableAltException(_t);}
|
321 |
| } |
322 |
| |
323 |
0
| _cnt340++;
|
324 |
| } while (true); |
325 |
| } |
326 |
0
| _t = __t337;
|
327 |
0
| _t = _t.getNextSibling();
|
328 |
0
| whenBlock(_t);
|
329 |
0
| _t = _retTree;
|
330 |
0
| thenBlock(_t);
|
331 |
0
| _t = _retTree;
|
332 |
0
| _t = __t336;
|
333 |
0
| _t = _t.getNextSibling();
|
334 |
| } |
335 |
| catch (RecognitionException ex) { |
336 |
0
| reportError(ex);
|
337 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
338 |
| } |
339 |
0
| _retTree = _t;
|
340 |
| } |
341 |
| |
342 |
0
| public final void typeSpec(AST _t) throws RecognitionException {
|
343 |
| |
344 |
0
| AST typeSpec_AST_in = (AST)_t;
|
345 |
| |
346 |
0
| try {
|
347 |
0
| AST __t354 = _t;
|
348 |
0
| AST tmp14_AST_in = (AST)_t;
|
349 |
0
| match(_t,TYPE);
|
350 |
0
| _t = _t.getFirstChild();
|
351 |
0
| typeSpecArray(_t);
|
352 |
0
| _t = _retTree;
|
353 |
0
| _t = __t354;
|
354 |
0
| _t = _t.getNextSibling();
|
355 |
| } |
356 |
| catch (RecognitionException ex) { |
357 |
0
| reportError(ex);
|
358 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
359 |
| } |
360 |
0
| _retTree = _t;
|
361 |
| } |
362 |
| |
363 |
0
| public final void whenBlock(AST _t) throws RecognitionException {
|
364 |
| |
365 |
0
| AST whenBlock_AST_in = (AST)_t;
|
366 |
| |
367 |
0
| try {
|
368 |
0
| AST __t342 = _t;
|
369 |
0
| AST tmp15_AST_in = (AST)_t;
|
370 |
0
| match(_t,WHEN);
|
371 |
0
| _t = _t.getFirstChild();
|
372 |
0
| AST tmp16_AST_in = (AST)_t;
|
373 |
0
| if ( _t==null ) throw new MismatchedTokenException();
|
374 |
0
| _t = _t.getNextSibling();
|
375 |
0
| _t = __t342;
|
376 |
0
| _t = _t.getNextSibling();
|
377 |
| } |
378 |
| catch (RecognitionException ex) { |
379 |
0
| reportError(ex);
|
380 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
381 |
| } |
382 |
0
| _retTree = _t;
|
383 |
| } |
384 |
| |
385 |
0
| public final void thenBlock(AST _t) throws RecognitionException {
|
386 |
| |
387 |
0
| AST thenBlock_AST_in = (AST)_t;
|
388 |
| |
389 |
0
| try {
|
390 |
0
| AST __t344 = _t;
|
391 |
0
| AST tmp17_AST_in = (AST)_t;
|
392 |
0
| match(_t,THEN);
|
393 |
0
| _t = _t.getFirstChild();
|
394 |
| { |
395 |
0
| if (_t==null) _t=ASTNULL;
|
396 |
0
| switch ( _t.getType()) {
|
397 |
0
| case SLIST:
|
398 |
| { |
399 |
0
| slist(_t);
|
400 |
0
| _t = _retTree;
|
401 |
0
| break;
|
402 |
| } |
403 |
0
| case 3:
|
404 |
| { |
405 |
0
| break;
|
406 |
| } |
407 |
0
| default:
|
408 |
| { |
409 |
0
| throw new NoViableAltException(_t);
|
410 |
| } |
411 |
| } |
412 |
| } |
413 |
0
| _t = __t344;
|
414 |
0
| _t = _t.getNextSibling();
|
415 |
| } |
416 |
| catch (RecognitionException ex) { |
417 |
0
| reportError(ex);
|
418 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
419 |
| } |
420 |
0
| _retTree = _t;
|
421 |
| } |
422 |
| |
423 |
0
| public final void slist(AST _t) throws RecognitionException {
|
424 |
| |
425 |
0
| AST slist_AST_in = (AST)_t;
|
426 |
| |
427 |
0
| try {
|
428 |
0
| AST __t423 = _t;
|
429 |
0
| AST tmp18_AST_in = (AST)_t;
|
430 |
0
| match(_t,SLIST);
|
431 |
0
| _t = _t.getFirstChild();
|
432 |
| { |
433 |
0
| _loop425:
|
434 |
| do { |
435 |
0
| if (_t==null) _t=ASTNULL;
|
436 |
0
| if ((_tokenSet_0.member(_t.getType()))) {
|
437 |
0
| stat(_t);
|
438 |
0
| _t = _retTree;
|
439 |
| } |
440 |
| else { |
441 |
0
| break _loop425;
|
442 |
| } |
443 |
| |
444 |
| } while (true); |
445 |
| } |
446 |
0
| _t = __t423;
|
447 |
0
| _t = _t.getNextSibling();
|
448 |
| } |
449 |
| catch (RecognitionException ex) { |
450 |
0
| reportError(ex);
|
451 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
452 |
| } |
453 |
0
| _retTree = _t;
|
454 |
| } |
455 |
| |
456 |
4
| public final void identifier(AST _t) throws RecognitionException {
|
457 |
| |
458 |
4
| AST identifier_AST_in = (AST)_t;
|
459 |
| |
460 |
4
| try {
|
461 |
0
| if (_t==null) _t=ASTNULL;
|
462 |
4
| switch ( _t.getType()) {
|
463 |
3
| case IDENT:
|
464 |
| { |
465 |
3
| AST tmp19_AST_in = (AST)_t;
|
466 |
3
| match(_t,IDENT);
|
467 |
3
| _t = _t.getNextSibling();
|
468 |
3
| break;
|
469 |
| } |
470 |
1
| case DOT:
|
471 |
| { |
472 |
1
| AST __t413 = _t;
|
473 |
1
| AST tmp20_AST_in = (AST)_t;
|
474 |
1
| match(_t,DOT);
|
475 |
1
| _t = _t.getFirstChild();
|
476 |
1
| identifier(_t);
|
477 |
1
| _t = _retTree;
|
478 |
1
| AST tmp21_AST_in = (AST)_t;
|
479 |
1
| match(_t,IDENT);
|
480 |
1
| _t = _t.getNextSibling();
|
481 |
1
| _t = __t413;
|
482 |
1
| _t = _t.getNextSibling();
|
483 |
1
| break;
|
484 |
| } |
485 |
0
| default:
|
486 |
| { |
487 |
0
| throw new NoViableAltException(_t);
|
488 |
| } |
489 |
| } |
490 |
| } |
491 |
| catch (RecognitionException ex) { |
492 |
0
| reportError(ex);
|
493 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
494 |
| } |
495 |
4
| _retTree = _t;
|
496 |
| } |
497 |
| |
498 |
0
| public final void identifierStar(AST _t) throws RecognitionException {
|
499 |
| |
500 |
0
| AST identifierStar_AST_in = (AST)_t;
|
501 |
| |
502 |
0
| try {
|
503 |
0
| if (_t==null) _t=ASTNULL;
|
504 |
0
| switch ( _t.getType()) {
|
505 |
0
| case IDENT:
|
506 |
| { |
507 |
0
| AST tmp22_AST_in = (AST)_t;
|
508 |
0
| match(_t,IDENT);
|
509 |
0
| _t = _t.getNextSibling();
|
510 |
0
| break;
|
511 |
| } |
512 |
0
| case DOT:
|
513 |
| { |
514 |
0
| AST __t415 = _t;
|
515 |
0
| AST tmp23_AST_in = (AST)_t;
|
516 |
0
| match(_t,DOT);
|
517 |
0
| _t = _t.getFirstChild();
|
518 |
0
| identifier(_t);
|
519 |
0
| _t = _retTree;
|
520 |
| { |
521 |
0
| if (_t==null) _t=ASTNULL;
|
522 |
0
| switch ( _t.getType()) {
|
523 |
0
| case STAR:
|
524 |
| { |
525 |
0
| AST tmp24_AST_in = (AST)_t;
|
526 |
0
| match(_t,STAR);
|
527 |
0
| _t = _t.getNextSibling();
|
528 |
0
| break;
|
529 |
| } |
530 |
0
| case IDENT:
|
531 |
| { |
532 |
0
| AST tmp25_AST_in = (AST)_t;
|
533 |
0
| match(_t,IDENT);
|
534 |
0
| _t = _t.getNextSibling();
|
535 |
0
| break;
|
536 |
| } |
537 |
0
| default:
|
538 |
| { |
539 |
0
| throw new NoViableAltException(_t);
|
540 |
| } |
541 |
| } |
542 |
| } |
543 |
0
| _t = __t415;
|
544 |
0
| _t = _t.getNextSibling();
|
545 |
0
| break;
|
546 |
| } |
547 |
0
| default:
|
548 |
| { |
549 |
0
| throw new NoViableAltException(_t);
|
550 |
| } |
551 |
| } |
552 |
| } |
553 |
| catch (RecognitionException ex) { |
554 |
0
| reportError(ex);
|
555 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
556 |
| } |
557 |
0
| _retTree = _t;
|
558 |
| } |
559 |
| |
560 |
0
| public final void modifiers(AST _t) throws RecognitionException {
|
561 |
| |
562 |
0
| AST modifiers_AST_in = (AST)_t;
|
563 |
| |
564 |
0
| try {
|
565 |
0
| AST __t360 = _t;
|
566 |
0
| AST tmp26_AST_in = (AST)_t;
|
567 |
0
| match(_t,MODIFIERS);
|
568 |
0
| _t = _t.getFirstChild();
|
569 |
| { |
570 |
0
| _loop362:
|
571 |
| do { |
572 |
0
| if (_t==null) _t=ASTNULL;
|
573 |
0
| if ((_tokenSet_1.member(_t.getType()))) {
|
574 |
0
| modifier(_t);
|
575 |
0
| _t = _retTree;
|
576 |
| } |
577 |
| else { |
578 |
0
| break _loop362;
|
579 |
| } |
580 |
| |
581 |
| } while (true); |
582 |
| } |
583 |
0
| _t = __t360;
|
584 |
0
| _t = _t.getNextSibling();
|
585 |
| } |
586 |
| catch (RecognitionException ex) { |
587 |
0
| reportError(ex);
|
588 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
589 |
| } |
590 |
0
| _retTree = _t;
|
591 |
| } |
592 |
| |
593 |
0
| public final void extendsClause(AST _t) throws RecognitionException {
|
594 |
| |
595 |
0
| AST extendsClause_AST_in = (AST)_t;
|
596 |
| |
597 |
0
| try {
|
598 |
0
| AST __t365 = _t;
|
599 |
0
| AST tmp27_AST_in = (AST)_t;
|
600 |
0
| match(_t,EXTENDS_CLAUSE);
|
601 |
0
| _t = _t.getFirstChild();
|
602 |
| { |
603 |
0
| _loop367:
|
604 |
| do { |
605 |
0
| if (_t==null) _t=ASTNULL;
|
606 |
0
| if ((_t.getType()==IDENT||_t.getType()==DOT)) {
|
607 |
0
| identifier(_t);
|
608 |
0
| _t = _retTree;
|
609 |
| } |
610 |
| else { |
611 |
0
| break _loop367;
|
612 |
| } |
613 |
| |
614 |
| } while (true); |
615 |
| } |
616 |
0
| _t = __t365;
|
617 |
0
| _t = _t.getNextSibling();
|
618 |
| } |
619 |
| catch (RecognitionException ex) { |
620 |
0
| reportError(ex);
|
621 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
622 |
| } |
623 |
0
| _retTree = _t;
|
624 |
| } |
625 |
| |
626 |
0
| public final void implementsClause(AST _t) throws RecognitionException {
|
627 |
| |
628 |
0
| AST implementsClause_AST_in = (AST)_t;
|
629 |
| |
630 |
0
| try {
|
631 |
0
| AST __t369 = _t;
|
632 |
0
| AST tmp28_AST_in = (AST)_t;
|
633 |
0
| match(_t,IMPLEMENTS_CLAUSE);
|
634 |
0
| _t = _t.getFirstChild();
|
635 |
| { |
636 |
0
| _loop371:
|
637 |
| do { |
638 |
0
| if (_t==null) _t=ASTNULL;
|
639 |
0
| if ((_t.getType()==IDENT||_t.getType()==DOT)) {
|
640 |
0
| identifier(_t);
|
641 |
0
| _t = _retTree;
|
642 |
| } |
643 |
| else { |
644 |
0
| break _loop371;
|
645 |
| } |
646 |
| |
647 |
| } while (true); |
648 |
| } |
649 |
0
| _t = __t369;
|
650 |
0
| _t = _t.getNextSibling();
|
651 |
| } |
652 |
| catch (RecognitionException ex) { |
653 |
0
| reportError(ex);
|
654 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
655 |
| } |
656 |
0
| _retTree = _t;
|
657 |
| } |
658 |
| |
659 |
0
| public final void objBlock(AST _t) throws RecognitionException {
|
660 |
| |
661 |
0
| AST objBlock_AST_in = (AST)_t;
|
662 |
| |
663 |
0
| try {
|
664 |
0
| AST __t377 = _t;
|
665 |
0
| AST tmp29_AST_in = (AST)_t;
|
666 |
0
| match(_t,OBJBLOCK);
|
667 |
0
| _t = _t.getFirstChild();
|
668 |
| { |
669 |
0
| _loop381:
|
670 |
| do { |
671 |
0
| if (_t==null) _t=ASTNULL;
|
672 |
0
| switch ( _t.getType()) {
|
673 |
0
| case CTOR_DEF:
|
674 |
| { |
675 |
0
| ctorDef(_t);
|
676 |
0
| _t = _retTree;
|
677 |
0
| break;
|
678 |
| } |
679 |
0
| case METHOD_DEF:
|
680 |
| { |
681 |
0
| methodDef(_t);
|
682 |
0
| _t = _retTree;
|
683 |
0
| break;
|
684 |
| } |
685 |
0
| case VARIABLE_DEF:
|
686 |
| { |
687 |
0
| variableDef(_t);
|
688 |
0
| _t = _retTree;
|
689 |
0
| break;
|
690 |
| } |
691 |
0
| case CLASS_DEF:
|
692 |
0
| case INTERFACE_DEF:
|
693 |
| { |
694 |
0
| typeDefinition(_t);
|
695 |
0
| _t = _retTree;
|
696 |
0
| break;
|
697 |
| } |
698 |
0
| case STATIC_INIT:
|
699 |
| { |
700 |
0
| AST __t379 = _t;
|
701 |
0
| AST tmp30_AST_in = (AST)_t;
|
702 |
0
| match(_t,STATIC_INIT);
|
703 |
0
| _t = _t.getFirstChild();
|
704 |
0
| slist(_t);
|
705 |
0
| _t = _retTree;
|
706 |
0
| _t = __t379;
|
707 |
0
| _t = _t.getNextSibling();
|
708 |
0
| break;
|
709 |
| } |
710 |
0
| case INSTANCE_INIT:
|
711 |
| { |
712 |
0
| AST __t380 = _t;
|
713 |
0
| AST tmp31_AST_in = (AST)_t;
|
714 |
0
| match(_t,INSTANCE_INIT);
|
715 |
0
| _t = _t.getFirstChild();
|
716 |
0
| slist(_t);
|
717 |
0
| _t = _retTree;
|
718 |
0
| _t = __t380;
|
719 |
0
| _t = _t.getNextSibling();
|
720 |
0
| break;
|
721 |
| } |
722 |
0
| default:
|
723 |
| { |
724 |
0
| break _loop381;
|
725 |
| } |
726 |
| } |
727 |
| } while (true); |
728 |
| } |
729 |
0
| _t = __t377;
|
730 |
0
| _t = _t.getNextSibling();
|
731 |
| } |
732 |
| catch (RecognitionException ex) { |
733 |
0
| reportError(ex);
|
734 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
735 |
| } |
736 |
0
| _retTree = _t;
|
737 |
| } |
738 |
| |
739 |
0
| public final void interfaceBlock(AST _t) throws RecognitionException {
|
740 |
| |
741 |
0
| AST interfaceBlock_AST_in = (AST)_t;
|
742 |
| |
743 |
0
| try {
|
744 |
0
| AST __t373 = _t;
|
745 |
0
| AST tmp32_AST_in = (AST)_t;
|
746 |
0
| match(_t,OBJBLOCK);
|
747 |
0
| _t = _t.getFirstChild();
|
748 |
| { |
749 |
0
| _loop375:
|
750 |
| do { |
751 |
0
| if (_t==null) _t=ASTNULL;
|
752 |
0
| switch ( _t.getType()) {
|
753 |
0
| case METHOD_DEF:
|
754 |
| { |
755 |
0
| methodDecl(_t);
|
756 |
0
| _t = _retTree;
|
757 |
0
| break;
|
758 |
| } |
759 |
0
| case VARIABLE_DEF:
|
760 |
| { |
761 |
0
| variableDef(_t);
|
762 |
0
| _t = _retTree;
|
763 |
0
| break;
|
764 |
| } |
765 |
0
| default:
|
766 |
| { |
767 |
0
| break _loop375;
|
768 |
| } |
769 |
| } |
770 |
| } while (true); |
771 |
| } |
772 |
0
| _t = __t373;
|
773 |
0
| _t = _t.getNextSibling();
|
774 |
| } |
775 |
| catch (RecognitionException ex) { |
776 |
0
| reportError(ex);
|
777 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
778 |
| } |
779 |
0
| _retTree = _t;
|
780 |
| } |
781 |
| |
782 |
0
| public final void typeSpecArray(AST _t) throws RecognitionException {
|
783 |
| |
784 |
0
| AST typeSpecArray_AST_in = (AST)_t;
|
785 |
| |
786 |
0
| try {
|
787 |
0
| if (_t==null) _t=ASTNULL;
|
788 |
0
| switch ( _t.getType()) {
|
789 |
0
| case ARRAY_DECLARATOR:
|
790 |
| { |
791 |
0
| AST __t356 = _t;
|
792 |
0
| AST tmp33_AST_in = (AST)_t;
|
793 |
0
| match(_t,ARRAY_DECLARATOR);
|
794 |
0
| _t = _t.getFirstChild();
|
795 |
0
| typeSpecArray(_t);
|
796 |
0
| _t = _retTree;
|
797 |
0
| _t = __t356;
|
798 |
0
| _t = _t.getNextSibling();
|
799 |
0
| break;
|
800 |
| } |
801 |
0
| case IDENT:
|
802 |
0
| case LITERAL_void:
|
803 |
0
| case LITERAL_boolean:
|
804 |
0
| case LITERAL_byte:
|
805 |
0
| case LITERAL_char:
|
806 |
0
| case LITERAL_short:
|
807 |
0
| case LITERAL_int:
|
808 |
0
| case LITERAL_float:
|
809 |
0
| case LITERAL_long:
|
810 |
0
| case LITERAL_double:
|
811 |
0
| case DOT:
|
812 |
| { |
813 |
0
| type(_t);
|
814 |
0
| _t = _retTree;
|
815 |
0
| break;
|
816 |
| } |
817 |
0
| default:
|
818 |
| { |
819 |
0
| throw new NoViableAltException(_t);
|
820 |
| } |
821 |
| } |
822 |
| } |
823 |
| catch (RecognitionException ex) { |
824 |
0
| reportError(ex);
|
825 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
826 |
| } |
827 |
0
| _retTree = _t;
|
828 |
| } |
829 |
| |
830 |
3
| public final void type(AST _t) throws RecognitionException {
|
831 |
| |
832 |
3
| AST type_AST_in = (AST)_t;
|
833 |
| |
834 |
3
| try {
|
835 |
0
| if (_t==null) _t=ASTNULL;
|
836 |
3
| switch ( _t.getType()) {
|
837 |
2
| case IDENT:
|
838 |
1
| case DOT:
|
839 |
| { |
840 |
3
| identifier(_t);
|
841 |
3
| _t = _retTree;
|
842 |
3
| break;
|
843 |
| } |
844 |
0
| case LITERAL_void:
|
845 |
0
| case LITERAL_boolean:
|
846 |
0
| case LITERAL_byte:
|
847 |
0
| case LITERAL_char:
|
848 |
0
| case LITERAL_short:
|
849 |
0
| case LITERAL_int:
|
850 |
0
| case LITERAL_float:
|
851 |
0
| case LITERAL_long:
|
852 |
0
| case LITERAL_double:
|
853 |
| { |
854 |
0
| builtInType(_t);
|
855 |
0
| _t = _retTree;
|
856 |
0
| break;
|
857 |
| } |
858 |
0
| default:
|
859 |
| { |
860 |
0
| throw new NoViableAltException(_t);
|
861 |
| } |
862 |
| } |
863 |
| } |
864 |
| catch (RecognitionException ex) { |
865 |
0
| reportError(ex);
|
866 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
867 |
| } |
868 |
3
| _retTree = _t;
|
869 |
| } |
870 |
| |
871 |
0
| public final void builtInType(AST _t) throws RecognitionException {
|
872 |
| |
873 |
0
| AST builtInType_AST_in = (AST)_t;
|
874 |
| |
875 |
0
| try {
|
876 |
0
| if (_t==null) _t=ASTNULL;
|
877 |
0
| switch ( _t.getType()) {
|
878 |
0
| case LITERAL_void:
|
879 |
| { |
880 |
0
| AST tmp34_AST_in = (AST)_t;
|
881 |
0
| match(_t,LITERAL_void);
|
882 |
0
| _t = _t.getNextSibling();
|
883 |
0
| break;
|
884 |
| } |
885 |
0
| case LITERAL_boolean:
|
886 |
| { |
887 |
0
| AST tmp35_AST_in = (AST)_t;
|
888 |
0
| match(_t,LITERAL_boolean);
|
889 |
0
| _t = _t.getNextSibling();
|
890 |
0
| break;
|
891 |
| } |
892 |
0
| case LITERAL_byte:
|
893 |
| { |
894 |
0
| AST tmp36_AST_in = (AST)_t;
|
895 |
0
| match(_t,LITERAL_byte);
|
896 |
0
| _t = _t.getNextSibling();
|
897 |
0
| break;
|
898 |
| } |
899 |
0
| case LITERAL_char:
|
900 |
| { |
901 |
0
| AST tmp37_AST_in = (AST)_t;
|
902 |
0
| match(_t,LITERAL_char);
|
903 |
0
| _t = _t.getNextSibling();
|
904 |
0
| break;
|
905 |
| } |
906 |
0
| case LITERAL_short:
|
907 |
| { |
908 |
0
| AST tmp38_AST_in = (AST)_t;
|
909 |
0
| match(_t,LITERAL_short);
|
910 |
0
| _t = _t.getNextSibling();
|
911 |
0
| break;
|
912 |
| } |
913 |
0
| case LITERAL_int:
|
914 |
| { |
915 |
0
| AST tmp39_AST_in = (AST)_t;
|
916 |
0
| match(_t,LITERAL_int);
|
917 |
0
| _t = _t.getNextSibling();
|
918 |
0
| break;
|
919 |
| } |
920 |
0
| case LITERAL_float:
|
921 |
| { |
922 |
0
| AST tmp40_AST_in = (AST)_t;
|
923 |
0
| match(_t,LITERAL_float);
|
924 |
0
| _t = _t.getNextSibling();
|
925 |
0
| break;
|
926 |
| } |
927 |
0
| case LITERAL_long:
|
928 |
| { |
929 |
0
| AST tmp41_AST_in = (AST)_t;
|
930 |
0
| match(_t,LITERAL_long);
|
931 |
0
| _t = _t.getNextSibling();
|
932 |
0
| break;
|
933 |
| } |
934 |
0
| case LITERAL_double:
|
935 |
| { |
936 |
0
| AST tmp42_AST_in = (AST)_t;
|
937 |
0
| match(_t,LITERAL_double);
|
938 |
0
| _t = _t.getNextSibling();
|
939 |
0
| break;
|
940 |
| } |
941 |
0
| default:
|
942 |
| { |
943 |
0
| throw new NoViableAltException(_t);
|
944 |
| } |
945 |
| } |
946 |
| } |
947 |
| catch (RecognitionException ex) { |
948 |
0
| reportError(ex);
|
949 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
950 |
| } |
951 |
0
| _retTree = _t;
|
952 |
| } |
953 |
| |
954 |
0
| public final void modifier(AST _t) throws RecognitionException {
|
955 |
| |
956 |
0
| AST modifier_AST_in = (AST)_t;
|
957 |
| |
958 |
0
| try {
|
959 |
0
| if (_t==null) _t=ASTNULL;
|
960 |
0
| switch ( _t.getType()) {
|
961 |
0
| case LITERAL_private:
|
962 |
| { |
963 |
0
| AST tmp43_AST_in = (AST)_t;
|
964 |
0
| match(_t,LITERAL_private);
|
965 |
0
| _t = _t.getNextSibling();
|
966 |
0
| break;
|
967 |
| } |
968 |
0
| case LITERAL_public:
|
969 |
| { |
970 |
0
| AST tmp44_AST_in = (AST)_t;
|
971 |
0
| match(_t,LITERAL_public);
|
972 |
0
| _t = _t.getNextSibling();
|
973 |
0
| break;
|
974 |
| } |
975 |
0
| case LITERAL_protected:
|
976 |
| { |
977 |
0
| AST tmp45_AST_in = (AST)_t;
|
978 |
0
| match(_t,LITERAL_protected);
|
979 |
0
| _t = _t.getNextSibling();
|
980 |
0
| break;
|
981 |
| } |
982 |
0
| case LITERAL_static:
|
983 |
| { |
984 |
0
| AST tmp46_AST_in = (AST)_t;
|
985 |
0
| match(_t,LITERAL_static);
|
986 |
0
| _t = _t.getNextSibling();
|
987 |
0
| break;
|
988 |
| } |
989 |
0
| case LITERAL_transient:
|
990 |
| { |
991 |
0
| AST tmp47_AST_in = (AST)_t;
|
992 |
0
| match(_t,LITERAL_transient);
|
993 |
0
| _t = _t.getNextSibling();
|
994 |
0
| break;
|
995 |
| } |
996 |
0
| case FINAL:
|
997 |
| { |
998 |
0
| AST tmp48_AST_in = (AST)_t;
|
999 |
0
| match(_t,FINAL);
|
1000 |
0
| _t = _t.getNextSibling();
|
1001 |
0
| break;
|
1002 |
| } |
1003 |
0
| case ABSTRACT:
|
1004 |
| { |
1005 |
0
| AST tmp49_AST_in = (AST)_t;
|
1006 |
0
| match(_t,ABSTRACT);
|
1007 |
0
| _t = _t.getNextSibling();
|
1008 |
0
| break;
|
1009 |
| } |
1010 |
0
| case LITERAL_native:
|
1011 |
| { |
1012 |
0
| AST tmp50_AST_in = (AST)_t;
|
1013 |
0
| match(_t,LITERAL_native);
|
1014 |
0
| _t = _t.getNextSibling();
|
1015 |
0
| break;
|
1016 |
| } |
1017 |
0
| case LITERAL_threadsafe:
|
1018 |
| { |
1019 |
0
| AST tmp51_AST_in = (AST)_t;
|
1020 |
0
| match(_t,LITERAL_threadsafe);
|
1021 |
0
| _t = _t.getNextSibling();
|
1022 |
0
| break;
|
1023 |
| } |
1024 |
0
| case LITERAL_synchronized:
|
1025 |
| { |
1026 |
0
| AST tmp52_AST_in = (AST)_t;
|
1027 |
0
| match(_t,LITERAL_synchronized);
|
1028 |
0
| _t = _t.getNextSibling();
|
1029 |
0
| break;
|
1030 |
| } |
1031 |
0
| case LITERAL_const:
|
1032 |
| { |
1033 |
0
| AST tmp53_AST_in = (AST)_t;
|
1034 |
0
| match(_t,LITERAL_const);
|
1035 |
0
| _t = _t.getNextSibling();
|
1036 |
0
| break;
|
1037 |
| } |
1038 |
0
| case LITERAL_volatile:
|
1039 |
| { |
1040 |
0
| AST tmp54_AST_in = (AST)_t;
|
1041 |
0
| match(_t,LITERAL_volatile);
|
1042 |
0
| _t = _t.getNextSibling();
|
1043 |
0
| break;
|
1044 |
| } |
1045 |
0
| case STRICTFP:
|
1046 |
| { |
1047 |
0
| AST tmp55_AST_in = (AST)_t;
|
1048 |
0
| match(_t,STRICTFP);
|
1049 |
0
| _t = _t.getNextSibling();
|
1050 |
0
| break;
|
1051 |
| } |
1052 |
0
| default:
|
1053 |
| { |
1054 |
0
| throw new NoViableAltException(_t);
|
1055 |
| } |
1056 |
| } |
1057 |
| } |
1058 |
| catch (RecognitionException ex) { |
1059 |
0
| reportError(ex);
|
1060 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1061 |
| } |
1062 |
0
| _retTree = _t;
|
1063 |
| } |
1064 |
| |
1065 |
0
| public final void methodDecl(AST _t) throws RecognitionException {
|
1066 |
| |
1067 |
0
| AST methodDecl_AST_in = (AST)_t;
|
1068 |
| |
1069 |
0
| try {
|
1070 |
0
| AST __t385 = _t;
|
1071 |
0
| AST tmp56_AST_in = (AST)_t;
|
1072 |
0
| match(_t,METHOD_DEF);
|
1073 |
0
| _t = _t.getFirstChild();
|
1074 |
0
| modifiers(_t);
|
1075 |
0
| _t = _retTree;
|
1076 |
0
| typeSpec(_t);
|
1077 |
0
| _t = _retTree;
|
1078 |
0
| methodHead(_t);
|
1079 |
0
| _t = _retTree;
|
1080 |
0
| _t = __t385;
|
1081 |
0
| _t = _t.getNextSibling();
|
1082 |
| } |
1083 |
| catch (RecognitionException ex) { |
1084 |
0
| reportError(ex);
|
1085 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1086 |
| } |
1087 |
0
| _retTree = _t;
|
1088 |
| } |
1089 |
| |
1090 |
0
| public final void variableDef(AST _t) throws RecognitionException {
|
1091 |
| |
1092 |
0
| AST variableDef_AST_in = (AST)_t;
|
1093 |
| |
1094 |
0
| try {
|
1095 |
0
| AST __t390 = _t;
|
1096 |
0
| AST tmp57_AST_in = (AST)_t;
|
1097 |
0
| match(_t,VARIABLE_DEF);
|
1098 |
0
| _t = _t.getFirstChild();
|
1099 |
0
| modifiers(_t);
|
1100 |
0
| _t = _retTree;
|
1101 |
0
| typeSpec(_t);
|
1102 |
0
| _t = _retTree;
|
1103 |
0
| variableDeclarator(_t);
|
1104 |
0
| _t = _retTree;
|
1105 |
0
| varInitializer(_t);
|
1106 |
0
| _t = _retTree;
|
1107 |
0
| _t = __t390;
|
1108 |
0
| _t = _t.getNextSibling();
|
1109 |
| } |
1110 |
| catch (RecognitionException ex) { |
1111 |
0
| reportError(ex);
|
1112 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1113 |
| } |
1114 |
0
| _retTree = _t;
|
1115 |
| } |
1116 |
| |
1117 |
0
| public final void ctorDef(AST _t) throws RecognitionException {
|
1118 |
| |
1119 |
0
| AST ctorDef_AST_in = (AST)_t;
|
1120 |
| |
1121 |
0
| try {
|
1122 |
0
| AST __t383 = _t;
|
1123 |
0
| AST tmp58_AST_in = (AST)_t;
|
1124 |
0
| match(_t,CTOR_DEF);
|
1125 |
0
| _t = _t.getFirstChild();
|
1126 |
0
| modifiers(_t);
|
1127 |
0
| _t = _retTree;
|
1128 |
0
| methodHead(_t);
|
1129 |
0
| _t = _retTree;
|
1130 |
0
| ctorSList(_t);
|
1131 |
0
| _t = _retTree;
|
1132 |
0
| _t = __t383;
|
1133 |
0
| _t = _t.getNextSibling();
|
1134 |
| } |
1135 |
| catch (RecognitionException ex) { |
1136 |
0
| reportError(ex);
|
1137 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1138 |
| } |
1139 |
0
| _retTree = _t;
|
1140 |
| } |
1141 |
| |
1142 |
0
| public final void methodDef(AST _t) throws RecognitionException {
|
1143 |
| |
1144 |
0
| AST methodDef_AST_in = (AST)_t;
|
1145 |
| |
1146 |
0
| try {
|
1147 |
0
| AST __t387 = _t;
|
1148 |
0
| AST tmp59_AST_in = (AST)_t;
|
1149 |
0
| match(_t,METHOD_DEF);
|
1150 |
0
| _t = _t.getFirstChild();
|
1151 |
0
| modifiers(_t);
|
1152 |
0
| _t = _retTree;
|
1153 |
0
| typeSpec(_t);
|
1154 |
0
| _t = _retTree;
|
1155 |
0
| methodHead(_t);
|
1156 |
0
| _t = _retTree;
|
1157 |
| { |
1158 |
0
| if (_t==null) _t=ASTNULL;
|
1159 |
0
| switch ( _t.getType()) {
|
1160 |
0
| case SLIST:
|
1161 |
| { |
1162 |
0
| slist(_t);
|
1163 |
0
| _t = _retTree;
|
1164 |
0
| break;
|
1165 |
| } |
1166 |
0
| case 3:
|
1167 |
| { |
1168 |
0
| break;
|
1169 |
| } |
1170 |
0
| default:
|
1171 |
| { |
1172 |
0
| throw new NoViableAltException(_t);
|
1173 |
| } |
1174 |
| } |
1175 |
| } |
1176 |
0
| _t = __t387;
|
1177 |
0
| _t = _t.getNextSibling();
|
1178 |
| } |
1179 |
| catch (RecognitionException ex) { |
1180 |
0
| reportError(ex);
|
1181 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1182 |
| } |
1183 |
0
| _retTree = _t;
|
1184 |
| } |
1185 |
| |
1186 |
0
| public final void methodHead(AST _t) throws RecognitionException {
|
1187 |
| |
1188 |
0
| AST methodHead_AST_in = (AST)_t;
|
1189 |
| |
1190 |
0
| try {
|
1191 |
0
| AST tmp60_AST_in = (AST)_t;
|
1192 |
0
| match(_t,IDENT);
|
1193 |
0
| _t = _t.getNextSibling();
|
1194 |
0
| AST __t404 = _t;
|
1195 |
0
| AST tmp61_AST_in = (AST)_t;
|
1196 |
0
| match(_t,PARAMETERS);
|
1197 |
0
| _t = _t.getFirstChild();
|
1198 |
| { |
1199 |
0
| _loop406:
|
1200 |
| do { |
1201 |
0
| if (_t==null) _t=ASTNULL;
|
1202 |
0
| if ((_t.getType()==PARAMETER_DEF)) {
|
1203 |
0
| parameterDef(_t);
|
1204 |
0
| _t = _retTree;
|
1205 |
| } |
1206 |
| else { |
1207 |
0
| break _loop406;
|
1208 |
| } |
1209 |
| |
1210 |
| } while (true); |
1211 |
| } |
1212 |
0
| _t = __t404;
|
1213 |
0
| _t = _t.getNextSibling();
|
1214 |
| { |
1215 |
0
| if (_t==null) _t=ASTNULL;
|
1216 |
0
| switch ( _t.getType()) {
|
1217 |
0
| case LITERAL_throws:
|
1218 |
| { |
1219 |
0
| throwsClause(_t);
|
1220 |
0
| _t = _retTree;
|
1221 |
0
| break;
|
1222 |
| } |
1223 |
0
| case 3:
|
1224 |
0
| case SLIST:
|
1225 |
| { |
1226 |
0
| break;
|
1227 |
| } |
1228 |
0
| default:
|
1229 |
| { |
1230 |
0
| throw new NoViableAltException(_t);
|
1231 |
| } |
1232 |
| } |
1233 |
| } |
1234 |
| } |
1235 |
| catch (RecognitionException ex) { |
1236 |
0
| reportError(ex);
|
1237 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1238 |
| } |
1239 |
0
| _retTree = _t;
|
1240 |
| } |
1241 |
| |
1242 |
0
| public final void ctorSList(AST _t) throws RecognitionException {
|
1243 |
| |
1244 |
0
| AST ctorSList_AST_in = (AST)_t;
|
1245 |
| |
1246 |
0
| try {
|
1247 |
0
| AST __t418 = _t;
|
1248 |
0
| AST tmp62_AST_in = (AST)_t;
|
1249 |
0
| match(_t,SLIST);
|
1250 |
0
| _t = _t.getFirstChild();
|
1251 |
| { |
1252 |
0
| if (_t==null) _t=ASTNULL;
|
1253 |
0
| switch ( _t.getType()) {
|
1254 |
0
| case SUPER_CTOR_CALL:
|
1255 |
0
| case CTOR_CALL:
|
1256 |
| { |
1257 |
0
| ctorCall(_t);
|
1258 |
0
| _t = _retTree;
|
1259 |
0
| break;
|
1260 |
| } |
1261 |
0
| case 3:
|
1262 |
0
| case SLIST:
|
1263 |
0
| case VARIABLE_DEF:
|
1264 |
0
| case CLASS_DEF:
|
1265 |
0
| case INTERFACE_DEF:
|
1266 |
0
| case LABELED_STAT:
|
1267 |
0
| case EXPR:
|
1268 |
0
| case EMPTY_STAT:
|
1269 |
0
| case LITERAL_synchronized:
|
1270 |
0
| case LITERAL_if:
|
1271 |
0
| case LITERAL_for:
|
1272 |
0
| case LITERAL_while:
|
1273 |
0
| case LITERAL_do:
|
1274 |
0
| case LITERAL_break:
|
1275 |
0
| case LITERAL_continue:
|
1276 |
0
| case LITERAL_return:
|
1277 |
0
| case LITERAL_switch:
|
1278 |
0
| case LITERAL_throw:
|
1279 |
0
| case LITERAL_try:
|
1280 |
| { |
1281 |
0
| break;
|
1282 |
| } |
1283 |
0
| default:
|
1284 |
| { |
1285 |
0
| throw new NoViableAltException(_t);
|
1286 |
| } |
1287 |
| } |
1288 |
| } |
1289 |
| { |
1290 |
0
| _loop421:
|
1291 |
| do { |
1292 |
0
| if (_t==null) _t=ASTNULL;
|
1293 |
0
| if ((_tokenSet_0.member(_t.getType()))) {
|
1294 |
0
| stat(_t);
|
1295 |
0
| _t = _retTree;
|
1296 |
| } |
1297 |
| else { |
1298 |
0
| break _loop421;
|
1299 |
| } |
1300 |
| |
1301 |
| } while (true); |
1302 |
| } |
1303 |
0
| _t = __t418;
|
1304 |
0
| _t = _t.getNextSibling();
|
1305 |
| } |
1306 |
| catch (RecognitionException ex) { |
1307 |
0
| reportError(ex);
|
1308 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1309 |
| } |
1310 |
0
| _retTree = _t;
|
1311 |
| } |
1312 |
| |
1313 |
0
| public final void variableDeclarator(AST _t) throws RecognitionException {
|
1314 |
| |
1315 |
0
| AST variableDeclarator_AST_in = (AST)_t;
|
1316 |
| |
1317 |
0
| try {
|
1318 |
0
| if (_t==null) _t=ASTNULL;
|
1319 |
0
| switch ( _t.getType()) {
|
1320 |
0
| case IDENT:
|
1321 |
| { |
1322 |
0
| AST tmp63_AST_in = (AST)_t;
|
1323 |
0
| match(_t,IDENT);
|
1324 |
0
| _t = _t.getNextSibling();
|
1325 |
0
| break;
|
1326 |
| } |
1327 |
0
| case LBRACK:
|
1328 |
| { |
1329 |
0
| AST tmp64_AST_in = (AST)_t;
|
1330 |
0
| match(_t,LBRACK);
|
1331 |
0
| _t = _t.getNextSibling();
|
1332 |
0
| variableDeclarator(_t);
|
1333 |
0
| _t = _retTree;
|
1334 |
0
| break;
|
1335 |
| } |
1336 |
0
| default:
|
1337 |
| { |
1338 |
0
| throw new NoViableAltException(_t);
|
1339 |
| } |
1340 |
| } |
1341 |
| } |
1342 |
| catch (RecognitionException ex) { |
1343 |
0
| reportError(ex);
|
1344 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1345 |
| } |
1346 |
0
| _retTree = _t;
|
1347 |
| } |
1348 |
| |
1349 |
0
| public final void varInitializer(AST _t) throws RecognitionException {
|
1350 |
| |
1351 |
0
| AST varInitializer_AST_in = (AST)_t;
|
1352 |
| |
1353 |
0
| try {
|
1354 |
0
| if (_t==null) _t=ASTNULL;
|
1355 |
0
| switch ( _t.getType()) {
|
1356 |
0
| case ASSIGN:
|
1357 |
| { |
1358 |
0
| AST __t397 = _t;
|
1359 |
0
| AST tmp65_AST_in = (AST)_t;
|
1360 |
0
| match(_t,ASSIGN);
|
1361 |
0
| _t = _t.getFirstChild();
|
1362 |
0
| initializer(_t);
|
1363 |
0
| _t = _retTree;
|
1364 |
0
| _t = __t397;
|
1365 |
0
| _t = _t.getNextSibling();
|
1366 |
0
| break;
|
1367 |
| } |
1368 |
0
| case 3:
|
1369 |
| { |
1370 |
0
| break;
|
1371 |
| } |
1372 |
0
| default:
|
1373 |
| { |
1374 |
0
| throw new NoViableAltException(_t);
|
1375 |
| } |
1376 |
| } |
1377 |
| } |
1378 |
| catch (RecognitionException ex) { |
1379 |
0
| reportError(ex);
|
1380 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1381 |
| } |
1382 |
0
| _retTree = _t;
|
1383 |
| } |
1384 |
| |
1385 |
0
| public final void parameterDef(AST _t) throws RecognitionException {
|
1386 |
| |
1387 |
0
| AST parameterDef_AST_in = (AST)_t;
|
1388 |
| |
1389 |
0
| try {
|
1390 |
0
| AST __t392 = _t;
|
1391 |
0
| AST tmp66_AST_in = (AST)_t;
|
1392 |
0
| match(_t,PARAMETER_DEF);
|
1393 |
0
| _t = _t.getFirstChild();
|
1394 |
0
| modifiers(_t);
|
1395 |
0
| _t = _retTree;
|
1396 |
0
| typeSpec(_t);
|
1397 |
0
| _t = _retTree;
|
1398 |
0
| AST tmp67_AST_in = (AST)_t;
|
1399 |
0
| match(_t,IDENT);
|
1400 |
0
| _t = _t.getNextSibling();
|
1401 |
0
| _t = __t392;
|
1402 |
0
| _t = _t.getNextSibling();
|
1403 |
| } |
1404 |
| catch (RecognitionException ex) { |
1405 |
0
| reportError(ex);
|
1406 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1407 |
| } |
1408 |
0
| _retTree = _t;
|
1409 |
| } |
1410 |
| |
1411 |
0
| public final void objectinitializer(AST _t) throws RecognitionException {
|
1412 |
| |
1413 |
0
| AST objectinitializer_AST_in = (AST)_t;
|
1414 |
| |
1415 |
0
| try {
|
1416 |
0
| AST __t394 = _t;
|
1417 |
0
| AST tmp68_AST_in = (AST)_t;
|
1418 |
0
| match(_t,INSTANCE_INIT);
|
1419 |
0
| _t = _t.getFirstChild();
|
1420 |
0
| slist(_t);
|
1421 |
0
| _t = _retTree;
|
1422 |
0
| _t = __t394;
|
1423 |
0
| _t = _t.getNextSibling();
|
1424 |
| } |
1425 |
| catch (RecognitionException ex) { |
1426 |
0
| reportError(ex);
|
1427 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1428 |
| } |
1429 |
0
| _retTree = _t;
|
1430 |
| } |
1431 |
| |
1432 |
0
| public final void initializer(AST _t) throws RecognitionException {
|
1433 |
| |
1434 |
0
| AST initializer_AST_in = (AST)_t;
|
1435 |
| |
1436 |
0
| try {
|
1437 |
0
| if (_t==null) _t=ASTNULL;
|
1438 |
0
| switch ( _t.getType()) {
|
1439 |
0
| case EXPR:
|
1440 |
| { |
1441 |
0
| expression(_t);
|
1442 |
0
| _t = _retTree;
|
1443 |
0
| break;
|
1444 |
| } |
1445 |
0
| case ARRAY_INIT:
|
1446 |
| { |
1447 |
0
| arrayInitializer(_t);
|
1448 |
0
| _t = _retTree;
|
1449 |
0
| break;
|
1450 |
| } |
1451 |
0
| default:
|
1452 |
| { |
1453 |
0
| throw new NoViableAltException(_t);
|
1454 |
| } |
1455 |
| } |
1456 |
| } |
1457 |
| catch (RecognitionException ex) { |
1458 |
0
| reportError(ex);
|
1459 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1460 |
| } |
1461 |
0
| _retTree = _t;
|
1462 |
| } |
1463 |
| |
1464 |
88
| public final void expression(AST _t) throws RecognitionException {
|
1465 |
| |
1466 |
88
| AST expression_AST_in = (AST)_t;
|
1467 |
| |
1468 |
88
| try {
|
1469 |
88
| AST __t468 = _t;
|
1470 |
88
| AST tmp69_AST_in = (AST)_t;
|
1471 |
88
| match(_t,EXPR);
|
1472 |
88
| _t = _t.getFirstChild();
|
1473 |
88
| expr(_t);
|
1474 |
88
| _t = _retTree;
|
1475 |
88
| _t = __t468;
|
1476 |
88
| _t = _t.getNextSibling();
|
1477 |
| } |
1478 |
| catch (RecognitionException ex) { |
1479 |
0
| reportError(ex);
|
1480 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1481 |
| } |
1482 |
88
| _retTree = _t;
|
1483 |
| } |
1484 |
| |
1485 |
0
| public final void arrayInitializer(AST _t) throws RecognitionException {
|
1486 |
| |
1487 |
0
| AST arrayInitializer_AST_in = (AST)_t;
|
1488 |
| |
1489 |
0
| try {
|
1490 |
0
| AST __t400 = _t;
|
1491 |
0
| AST tmp70_AST_in = (AST)_t;
|
1492 |
0
| match(_t,ARRAY_INIT);
|
1493 |
0
| _t = _t.getFirstChild();
|
1494 |
| { |
1495 |
0
| _loop402:
|
1496 |
| do { |
1497 |
0
| if (_t==null) _t=ASTNULL;
|
1498 |
0
| if ((_t.getType()==EXPR||_t.getType()==ARRAY_INIT)) {
|
1499 |
0
| initializer(_t);
|
1500 |
0
| _t = _retTree;
|
1501 |
| } |
1502 |
| else { |
1503 |
0
| break _loop402;
|
1504 |
| } |
1505 |
| |
1506 |
| } while (true); |
1507 |
| } |
1508 |
0
| _t = __t400;
|
1509 |
0
| _t = _t.getNextSibling();
|
1510 |
| } |
1511 |
| catch (RecognitionException ex) { |
1512 |
0
| reportError(ex);
|
1513 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1514 |
| } |
1515 |
0
| _retTree = _t;
|
1516 |
| } |
1517 |
| |
1518 |
0
| public final void throwsClause(AST _t) throws RecognitionException {
|
1519 |
| |
1520 |
0
| AST throwsClause_AST_in = (AST)_t;
|
1521 |
| |
1522 |
0
| try {
|
1523 |
0
| AST __t409 = _t;
|
1524 |
0
| AST tmp71_AST_in = (AST)_t;
|
1525 |
0
| match(_t,LITERAL_throws);
|
1526 |
0
| _t = _t.getFirstChild();
|
1527 |
| { |
1528 |
0
| _loop411:
|
1529 |
| do { |
1530 |
0
| if (_t==null) _t=ASTNULL;
|
1531 |
0
| if ((_t.getType()==IDENT||_t.getType()==DOT)) {
|
1532 |
0
| identifier(_t);
|
1533 |
0
| _t = _retTree;
|
1534 |
| } |
1535 |
| else { |
1536 |
0
| break _loop411;
|
1537 |
| } |
1538 |
| |
1539 |
| } while (true); |
1540 |
| } |
1541 |
0
| _t = __t409;
|
1542 |
0
| _t = _t.getNextSibling();
|
1543 |
| } |
1544 |
| catch (RecognitionException ex) { |
1545 |
0
| reportError(ex);
|
1546 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1547 |
| } |
1548 |
0
| _retTree = _t;
|
1549 |
| } |
1550 |
| |
1551 |
0
| public final void ctorCall(AST _t) throws RecognitionException {
|
1552 |
| |
1553 |
0
| AST ctorCall_AST_in = (AST)_t;
|
1554 |
| |
1555 |
0
| try {
|
1556 |
0
| if (_t==null) _t=ASTNULL;
|
1557 |
0
| switch ( _t.getType()) {
|
1558 |
0
| case CTOR_CALL:
|
1559 |
| { |
1560 |
0
| AST __t524 = _t;
|
1561 |
0
| AST tmp72_AST_in = (AST)_t;
|
1562 |
0
| match(_t,CTOR_CALL);
|
1563 |
0
| _t = _t.getFirstChild();
|
1564 |
0
| elist(_t);
|
1565 |
0
| _t = _retTree;
|
1566 |
0
| _t = __t524;
|
1567 |
0
| _t = _t.getNextSibling();
|
1568 |
0
| break;
|
1569 |
| } |
1570 |
0
| case SUPER_CTOR_CALL:
|
1571 |
| { |
1572 |
0
| AST __t525 = _t;
|
1573 |
0
| AST tmp73_AST_in = (AST)_t;
|
1574 |
0
| match(_t,SUPER_CTOR_CALL);
|
1575 |
0
| _t = _t.getFirstChild();
|
1576 |
| { |
1577 |
0
| if (_t==null) _t=ASTNULL;
|
1578 |
0
| switch ( _t.getType()) {
|
1579 |
0
| case ELIST:
|
1580 |
| { |
1581 |
0
| elist(_t);
|
1582 |
0
| _t = _retTree;
|
1583 |
0
| break;
|
1584 |
| } |
1585 |
0
| case TYPE:
|
1586 |
0
| case TYPECAST:
|
1587 |
0
| case INDEX_OP:
|
1588 |
0
| case METHOD_CALL:
|
1589 |
0
| case IDENT:
|
1590 |
0
| case DOT:
|
1591 |
0
| case LITERAL_this:
|
1592 |
0
| case LITERAL_super:
|
1593 |
0
| case LITERAL_true:
|
1594 |
0
| case LITERAL_false:
|
1595 |
0
| case LITERAL_null:
|
1596 |
0
| case LITERAL_new:
|
1597 |
0
| case NUM_INT:
|
1598 |
0
| case CHAR_LITERAL:
|
1599 |
0
| case STRING_LITERAL:
|
1600 |
0
| case NUM_FLOAT:
|
1601 |
0
| case NUM_LONG:
|
1602 |
0
| case NUM_DOUBLE:
|
1603 |
| { |
1604 |
0
| primaryExpression(_t);
|
1605 |
0
| _t = _retTree;
|
1606 |
0
| elist(_t);
|
1607 |
0
| _t = _retTree;
|
1608 |
0
| break;
|
1609 |
| } |
1610 |
0
| default:
|
1611 |
| { |
1612 |
0
| throw new NoViableAltException(_t);
|
1613 |
| } |
1614 |
| } |
1615 |
| } |
1616 |
0
| _t = __t525;
|
1617 |
0
| _t = _t.getNextSibling();
|
1618 |
0
| break;
|
1619 |
| } |
1620 |
0
| default:
|
1621 |
| { |
1622 |
0
| throw new NoViableAltException(_t);
|
1623 |
| } |
1624 |
| } |
1625 |
| } |
1626 |
| catch (RecognitionException ex) { |
1627 |
0
| reportError(ex);
|
1628 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
1629 |
| } |
1630 |
0
| _retTree = _t;
|
1631 |
| } |
1632 |
| |
1633 |
0
| public final void stat(AST _t) throws RecognitionException {
|
1634 |
| |
1635 |
0
| AST stat_AST_in = (AST)_t;
|
1636 |
| |
1637 |
0
| try {
|
1638 |
0
| if (_t==null) _t=ASTNULL;
|
1639 |
0
| switch ( _t.getType()) {
|
1640 |
0
| case CLASS_DEF:
|
1641 |
0
| case INTERFACE_DEF:
|
1642 |
| { |
1643 |
0
| typeDefinition(_t);
|
1644 |
0
| _t = _retTree;
|
1645 |
0
| break;
|
1646 |
| } |
1647 |
0
| case VARIABLE_DEF:
|
1648 |
| { |
1649 |
0
| variableDef(_t);
|
1650 |
0
| _t = _retTree;
|
1651 |
0
| break;
|
1652 |
| } |
1653 |
0
| case EXPR:
|
1654 |
| { |
1655 |
0
| expression(_t);
|
1656 |
0
| _t = _retTree;
|
1657 |
0
| break;
|
1658 |
| } |
1659 |
0
| case LABELED_STAT:
|
1660 |
| { |
1661 |
0
| AST __t427 = _t;
|
1662 |
0
| AST tmp74_AST_in = (AST)_t;
|
1663 |
0
| match(_t,LABELED_STAT);
|
1664 |
0
| _t = _t.getFirstChild();
|
1665 |
0
| AST tmp75_AST_in = (AST)_t;
|
1666 |
0
| match(_t,IDENT);
|
1667 |
0
| _t = _t.getNextSibling();
|
1668 |
0
| stat(_t);
|
1669 |
0
| _t = _retTree;
|
1670 |
0
| _t = __t427;
|
1671 |
0
| _t = _t.getNextSibling();
|
1672 |
0
| break;
|
1673 |
| } |
1674 |
0
| case LITERAL_if:
|
1675 |
| { |
1676 |
0
| AST __t428 = _t;
|
1677 |
0
| AST tmp76_AST_in = (AST)_t;
|
1678 |
0
| match(_t,LITERAL_if);
|
1679 |
0
| _t = _t.getFirstChild();
|
1680 |
0
| expression(_t);
|
1681 |
0
| _t = _retTree;
|
1682 |
0
| stat(_t);
|
1683 |
0
| _t = _retTree;
|
1684 |
| { |
1685 |
0
| if (_t==null) _t=ASTNULL;
|
1686 |
0
| switch ( _t.getType()) {
|
1687 |
0
| case SLIST:
|
1688 |
0
| case VARIABLE_DEF:
|
1689 |
0
| case CLASS_DEF:
|
1690 |
0
| case INTERFACE_DEF:
|
1691 |
0
| case LABELED_STAT:
|
1692 |
0
| case EXPR:
|
1693 |
0
| case EMPTY_STAT:
|
1694 |
0
| case LITERAL_synchronized:
|
1695 |
0
| case LITERAL_if:
|
1696 |
0
| case LITERAL_for:
|
1697 |
0
| case LITERAL_while:
|
1698 |
0
| case LITERAL_do:
|
1699 |
0
| case LITERAL_break:
|
1700 |
0
| case LITERAL_continue:
|
1701 |
0
| case LITERAL_return:
|
1702 |
0
| case LITERAL_switch:
|
1703 |
0
| case LITERAL_throw:
|
1704 |
0
| case LITERAL_try:
|
1705 |
| { |
1706 |
0
| stat(_t);
|
1707 |
0
| _t = _retTree;
|
1708 |
0
| break;
|
1709 |
| } |
1710 |
0
| case 3:
|
1711 |
| { |
1712 |
0
| break;
|
1713 |
| } |
1714 |
0
| default:
|
1715 |
| { |
1716 |
0
| throw new NoViableAltException(_t);
|
1717 |
| } |
1718 |
| } |
1719 |
| } |
1720 |
0
| _t = __t428;
|
1721 |
0
| _t = _t.getNextSibling();
|
1722 |
0
| break;
|
1723 |
| } |
1724 |
0
| case LITERAL_for:
|
1725 |
| { |
1726 |
0
| AST __t430 = _t;
|
1727 |
0
| AST tmp77_AST_in = (AST)_t;
|
1728 |
0
| match(_t,LITERAL_for);
|
1729 |
0
| _t = _t.getFirstChild();
|
1730 |
0
| AST __t431 = _t;
|
1731 |
0
| AST tmp78_AST_in = (AST)_t;
|
1732 |
0
| match(_t,FOR_INIT);
|
1733 |
0
| _t = _t.getFirstChild();
|
1734 |
| { |
1735 |
0
| if (_t==null) _t=ASTNULL;
|
1736 |
0
| switch ( _t.getType()) {
|
1737 |
0
| case VARIABLE_DEF:
|
1738 |
| { |
1739 |
0
| variableDef(_t);
|
1740 |
0
| _t = _retTree;
|
1741 |
0
| break;
|
1742 |
| } |
1743 |
0
| case ELIST:
|
1744 |
| { |
1745 |
0
| elist(_t);
|
1746 |
0
| _t = _retTree;
|
1747 |
0
| break;
|
1748 |
| } |
1749 |
0
| case 3:
|
1750 |
| { |
1751 |
0
| break;
|
1752 |
| } |
1753 |
0
| default:
|
1754 |
| { |
1755 |
0
| throw new NoViableAltException(_t);
|
1756 |
| } |
1757 |
| } |
1758 |
| } |
1759 |
0
| _t = __t431;
|
1760 |
0
| _t = _t.getNextSibling();
|
1761 |
0
| AST __t433 = _t;
|
1762 |
0
| AST tmp79_AST_in = (AST)_t;
|
1763 |
0
| match(_t,FOR_CONDITION);
|
1764 |
0
| _t = _t.getFirstChild();
|
1765 |
| { |
1766 |
0
| if (_t==null) _t=ASTNULL;
|
1767 |
0
| switch ( _t.getType()) {
|
1768 |
0
| case EXPR:
|
1769 |
| { |
1770 |
0
| expression(_t);
|
1771 |
0
| _t = _retTree;
|
1772 |
0
| break;
|
1773 |
| } |
1774 |
0
| case 3:
|
1775 |
| { |
1776 |
0
| break;
|
1777 |
| } |
1778 |
0
| default:
|
1779 |
| { |
1780 |
0
| throw new NoViableAltException(_t);
|
1781 |
| } |
1782 |
| } |
1783 |
| } |
1784 |
0
| _t = __t433;
|
1785 |
0
| _t = _t.getNextSibling();
|
1786 |
0
| AST __t435 = _t;
|
1787 |
0
| AST tmp80_AST_in = (AST)_t;
|
1788 |
0
| match(_t,FOR_ITERATOR);
|
1789 |
0
| _t = _t.getFirstChild();
|
1790 |
| { |
1791 |
0
| if (_t==null) _t=ASTNULL;
|
1792 |
0
| switch ( _t.getType()) {
|
1793 |
0
| case ELIST:
|
1794 |
| { |
1795 |
0
| elist(_t);
|
1796 |
0
| _t = _retTree;
|
1797 |
0
| break;
|
1798 |
| } |
1799 |
0
| case 3:
|
1800 |
| { |
1801 |
0
| break;
|
1802 |
| } |
1803 |
0
| default:
|
1804 |
| { |
1805 |
0
| throw new NoViableAltException(_t);
|
1806 |
| } |
1807 |
| } |
1808 |
| } |
1809 |
0
| _t = __t435;
|
1810 |
0
| _t = _t.getNextSibling();
|
1811 |
0
| stat(_t);
|
1812 |
0
| _t = _retTree;
|
1813 |
0
| _t = __t430;
|
1814 |
0
| _t = _t.getNextSibling();
|
1815 |
0
| break;
|
1816 |
| } |
1817 |
0
| case LITERAL_while:
|
1818 |
| { |
1819 |
0
| AST __t437 = _t;
|
1820 |
0
| AST tmp81_AST_in = (AST)_t;
|
1821 |
0
| match(_t,LITERAL_while);
|
1822 |
0
| _t = _t.getFirstChild();
|
1823 |
0
| expression(_t);
|
1824 |
0
| _t = _retTree;
|
1825 |
0
| stat(_t);
|
1826 |
0
| _t = _retTree;
|
1827 |
0
| _t = __t437;
|
1828 |
0
| _t = _t.getNextSibling();
|
1829 |
0
| break;
|
1830 |
| } |
1831 |
0
| case LITERAL_do:
|
1832 |
| { |
1833 |
0
| AST __t438 = _t;
|
1834 |
0
| AST tmp82_AST_in = (AST)_t;
|
1835 |
0
| match(_t,LITERAL_do);
|
1836 |
0
| _t = _t.getFirstChild();
|
1837 |
0
| stat(_t);
|
1838 |
0
| _t = _retTree;
|
1839 |
0
| expression(_t);
|
1840 |
0
| _t = _retTree;
|
1841 |
0
| _t = __t438;
|
1842 |
0
| _t = _t.getNextSibling();
|
1843 |
0
| break;
|
1844 |
| } |
1845 |
0
| case LITERAL_break:
|
1846 |
| { |
1847 |
0
| AST __t439 = _t;
|
1848 |
0
| AST tmp83_AST_in = (AST)_t;
|
1849 |
0
| match(_t,LITERAL_break);
|
1850 |
0
| _t = _t.getFirstChild();
|
1851 |
| { |
1852 |
0
| if (_t==null) _t=ASTNULL;
|
1853 |
0
| switch ( _t.getType()) {
|
1854 |
0
| case IDENT:
|
1855 |
| { |
1856 |
0
| AST tmp84_AST_in = (AST)_t;
|
1857 |
0
| match(_t,IDENT);
|
1858 |
0
| _t = _t.getNextSibling();
|
1859 |
0
| break;
|
1860 |
| } |
1861 |
0
| case 3:
|
1862 |
| { |
1863 |
0
| break;
|
1864 |
| } |
1865 |
0
| default:
|
1866 |
| { |
1867 |
0
| throw new NoViableAltException(_t);
|
1868 |
| } |
1869 |
| } |
1870 |
| } |
1871 |
0
| _t = __t439;
|
1872 |
0
| _t = _t.getNextSibling();
|
1873 |
0
| break;
|
1874 |
| } |
1875 |
0
| case LITERAL_continue:
|
1876 |
| { |
1877 |
0
| AST __t441 = _t;
|
1878 |
0
| AST tmp85_AST_in = (AST)_t;
|
1879 |
0
| match(_t,LITERAL_continue);
|
1880 |
0
| _t = _t.getFirstChild();
|
1881 |
| { |
1882 |
0
| if (_t==null) _t=ASTNULL;
|
1883 |
0
| switch ( _t.getType()) {
|
1884 |
0
| case IDENT:
|
1885 |
| { |
1886 |
0
| AST tmp86_AST_in = (AST)_t;
|
1887 |
0
| match(_t,IDENT);
|
1888 |
0
| _t = _t.getNextSibling();
|
1889 |
0
| break;
|
1890 |
| } |
1891 |
0
| case 3:
|
1892 |
| { |
1893 |
0
| break;
|
1894 |
| } |
1895 |
0
| default:
|
1896 |
| { |
1897 |
0
| throw new NoViableAltException(_t);
|
1898 |
| } |
1899 |
| } |
1900 |
| } |
1901 |
0
| _t = __t441;
|
1902 |
0
| _t = _t.getNextSibling();
|
1903 |
0
| break;
|
1904 |
| } |
1905 |
0
| case LITERAL_return:
|
1906 |
| { |
1907 |
0
| AST __t443 = _t;
|
1908 |
0
| AST tmp87_AST_in = (AST)_t;
|
1909 |
0
| match(_t,LITERAL_return);
|
1910 |
0
| _t = _t.getFirstChild();
|
1911 |
| { |
1912 |
0
| if (_t==null) _t=ASTNULL;
|
1913 |
0
| switch ( _t.getType()) {
|
1914 |
0
| case EXPR:
|
1915 |
| { |
1916 |
0
| expression(_t);
|
1917 |
0
| _t = _retTree;
|
1918 |
0
| break;
|
1919 |
| } |
1920 |
0
| case 3:
|
1921 |
| { |
1922 |
0
| break;
|
1923 |
| } |
1924 |
0
| default:
|
1925 |
| { |
1926 |
0
| throw new NoViableAltException(_t);
|
1927 |
| } |
1928 |
| } |
1929 |
| } |
1930 |
0
| _t = __t443;
|
1931 |
0
| _t = _t.getNextSibling();
|
1932 |
0
| break;
|
1933 |
| } |
1934 |
0
| case LITERAL_switch:
|
1935 |
| { |
1936 |
0
| AST __t445 = _t;
|
1937 |
0
| AST tmp88_AST_in = (AST)_t;
|
1938 |
0
| match(_t,LITERAL_switch);
|
1939 |
0
| _t = _t.getFirstChild();
|
1940 |
0
| expression(_t);
|
1941 |
0
| _t = _retTree;
|
1942 |
| { |
1943 |
0
| _loop447:
|
1944 |
| do { |
1945 |
0
| if (_t==null) _t=ASTNULL;
|
1946 |
0
| if ((_t.getType()==CASE_GROUP)) {
|
1947 |
0
| caseGroup(_t);
|
1948 |
0
| _t = _retTree;
|
1949 |
| } |
1950 |
| else { |
1951 |
0
| break _loop447;
|
1952 |
| } |
1953 |
| |
1954 |
| } while (true); |
1955 |
| } |
1956 |
0
| _t = __t445;
|
1957 |
0
| _t = _t.getNextSibling();
|
1958 |
0
| break;
|
1959 |
| } |
1960 |
0
| case LITERAL_throw:
|
1961 |
| { |
1962 |
0
| AST __t448 = _t;
|
1963 |
0
| AST tmp89_AST_in = (AST)_t;
|
1964 |
0
| match(_t,LITERAL_throw);
|
1965 |
0
| _t = _t.getFirstChild();
|
1966 |
0
| expression(_t);
|
1967 |
0
| _t = _retTree;
|
1968 |
0
| _t = __t448;
|
1969 |
0
| _t = _t.getNextSibling();
|
1970 |
0
| break;
|
1971 |
| } |
1972 |
0
| case LITERAL_synchronized:
|
1973 |
| { |
1974 |
0
| AST __t449 = _t;
|
1975 |
0
| AST tmp90_AST_in = (AST)_t;
|
1976 |
0
| match(_t,LITERAL_synchronized);
|
1977 |
0
| _t = _t.getFirstChild();
|
1978 |
0
| expression(_t);
|
1979 |
0
| _t = _retTree;
|
1980 |
0
| stat(_t);
|
1981 |
0
| _t = _retTree;
|
1982 |
0
| _t = __t449;
|
1983 |
0
| _t = _t.getNextSibling();
|
1984 |
0
| break;
|
1985 |
| } |
1986 |
0
| case LITERAL_try:
|
1987 |
| { |
1988 |
0
| tryBlock(_t);
|
1989 |
0
| _t = _retTree;
|
1990 |
0
| break;
|
1991 |
| } |
1992 |
0
| case SLIST:
|
1993 |
| { |
1994 |
0
| slist(_t);
|
1995 |
0
| _t = _retTree;
|
1996 |
0
| break;
|
1997 |
| } |
1998 |
0
| case EMPTY_STAT:
|
1999 |
| { |
2000 |
0
| AST tmp91_AST_in = (AST)_t;
|
2001 |
0
| match(_t,EMPTY_STAT);
|
2002 |
0
| _t = _t.getNextSibling();
|
2003 |
0
| break;
|
2004 |
| } |
2005 |
0
| default:
|
2006 |
| { |
2007 |
0
| throw new NoViableAltException(_t);
|
2008 |
| } |
2009 |
| } |
2010 |
| } |
2011 |
| catch (RecognitionException ex) { |
2012 |
0
| reportError(ex);
|
2013 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
2014 |
| } |
2015 |
0
| _retTree = _t;
|
2016 |
| } |
2017 |
| |
2018 |
169
| public final void elist(AST _t) throws RecognitionException {
|
2019 |
| |
2020 |
169
| AST elist_AST_in = (AST)_t;
|
2021 |
| |
2022 |
169
| try {
|
2023 |
169
| AST __t464 = _t;
|
2024 |
169
| AST tmp92_AST_in = (AST)_t;
|
2025 |
169
| match(_t,ELIST);
|
2026 |
169
| _t = _t.getFirstChild();
|
2027 |
| { |
2028 |
169
| _loop466:
|
2029 |
| do { |
2030 |
169
| if (_t==null) _t=ASTNULL;
|
2031 |
257
| if ((_t.getType()==EXPR)) {
|
2032 |
88
| expression(_t);
|
2033 |
88
| _t = _retTree;
|
2034 |
| } |
2035 |
| else { |
2036 |
169
| break _loop466;
|
2037 |
| } |
2038 |
| |
2039 |
| } while (true); |
2040 |
| } |
2041 |
169
| _t = __t464;
|
2042 |
169
| _t = _t.getNextSibling();
|
2043 |
| } |
2044 |
| catch (RecognitionException ex) { |
2045 |
0
| reportError(ex);
|
2046 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
2047 |
| } |
2048 |
169
| _retTree = _t;
|
2049 |
| } |
2050 |
| |
2051 |
0
| public final void caseGroup(AST _t) throws RecognitionException {
|
2052 |
| |
2053 |
0
| AST caseGroup_AST_in = (AST)_t;
|
2054 |
| |
2055 |
0
| try {
|
2056 |
0
| AST __t451 = _t;
|
2057 |
0
| AST tmp93_AST_in = (AST)_t;
|
2058 |
0
| match(_t,CASE_GROUP);
|
2059 |
0
| _t = _t.getFirstChild();
|
2060 |
| { |
2061 |
0
| int _cnt454=0;
|
2062 |
0
| _loop454:
|
2063 |
| do { |
2064 |
0
| if (_t==null) _t=ASTNULL;
|
2065 |
0
| switch ( _t.getType()) {
|
2066 |
0
| case LITERAL_case:
|
2067 |
| { |
2068 |
0
| AST __t453 = _t;
|
2069 |
0
| AST tmp94_AST_in = (AST)_t;
|
2070 |
0
| match(_t,LITERAL_case);
|
2071 |
0
| _t = _t.getFirstChild();
|
2072 |
0
| expression(_t);
|
2073 |
0
| _t = _retTree;
|
2074 |
0
| _t = __t453;
|
2075 |
0
| _t = _t.getNextSibling();
|
2076 |
0
| break;
|
2077 |
| } |
2078 |
0
| case LITERAL_default:
|
2079 |
| { |
2080 |
0
| AST tmp95_AST_in = (AST)_t;
|
2081 |
0
| match(_t,LITERAL_default);
|
2082 |
0
| _t = _t.getNextSibling();
|
2083 |
0
| break;
|
2084 |
| } |
2085 |
0
| default:
|
2086 |
| { |
2087 |
0
| if ( _cnt454>=1 ) { break _loop454; } else {throw new NoViableAltException(_t);}
|
2088 |
| } |
2089 |
| } |
2090 |
0
| _cnt454++;
|
2091 |
| } while (true); |
2092 |
| } |
2093 |
0
| slist(_t);
|
2094 |
0
| _t = _retTree;
|
2095 |
0
| _t = __t451;
|
2096 |
0
| _t = _t.getNextSibling();
|
2097 |
| } |
2098 |
| catch (RecognitionException ex) { |
2099 |
0
| reportError(ex);
|
2100 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
2101 |
| } |
2102 |
0
| _retTree = _t;
|
2103 |
| } |
2104 |
| |
2105 |
0
| public final void tryBlock(AST _t) throws RecognitionException {
|
2106 |
| |
2107 |
0
| AST tryBlock_AST_in = (AST)_t;
|
2108 |
| |
2109 |
0
| try {
|
2110 |
0
| AST __t456 = _t;
|
2111 |
0
| AST tmp96_AST_in = (AST)_t;
|
2112 |
0
| match(_t,LITERAL_try);
|
2113 |
0
| _t = _t.getFirstChild();
|
2114 |
0
| slist(_t);
|
2115 |
0
| _t = _retTree;
|
2116 |
| { |
2117 |
0
| _loop458:
|
2118 |
| do { |
2119 |
0
| if (_t==null) _t=ASTNULL;
|
2120 |
0
| if ((_t.getType()==LITERAL_catch)) {
|
2121 |
0
| handler(_t);
|
2122 |
0
| _t = _retTree;
|
2123 |
| } |
2124 |
| else { |
2125 |
0
| break _loop458;
|
2126 |
| } |
2127 |
| |
2128 |
| } while (true); |
2129 |
| } |
2130 |
| { |
2131 |
0
| if (_t==null) _t=ASTNULL;
|
2132 |
0
| switch ( _t.getType()) {
|
2133 |
0
| case LITERAL_finally:
|
2134 |
| { |
2135 |
0
| AST __t460 = _t;
|
2136 |
0
| AST tmp97_AST_in = (AST)_t;
|
2137 |
0
| match(_t,LITERAL_finally);
|
2138 |
0
| _t = _t.getFirstChild();
|
2139 |
0
| slist(_t);
|
2140 |
0
| _t = _retTree;
|
2141 |
0
| _t = __t460;
|
2142 |
0
| _t = _t.getNextSibling();
|
2143 |
0
| break;
|
2144 |
| } |
2145 |
0
| case 3:
|
2146 |
| { |
2147 |
0
| break;
|
2148 |
| } |
2149 |
0
| default:
|
2150 |
| { |
2151 |
0
| throw new NoViableAltException(_t);
|
2152 |
| } |
2153 |
| } |
2154 |
| } |
2155 |
0
| _t = __t456;
|
2156 |
0
| _t = _t.getNextSibling();
|
2157 |
| } |
2158 |
| catch (RecognitionException ex) { |
2159 |
0
| reportError(ex);
|
2160 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
2161 |
| } |
2162 |
0
| _retTree = _t;
|
2163 |
| } |
2164 |
| |
2165 |
0
| public final void handler(AST _t) throws RecognitionException {
|
2166 |
| |
2167 |
0
| AST handler_AST_in = (AST)_t;
|
2168 |
| |
2169 |
0
| try {
|
2170 |
0
| AST __t462 = _t;
|
2171 |
0
| AST tmp98_AST_in = (AST)_t;
|
2172 |
0
| match(_t,LITERAL_catch);
|
2173 |
0
| _t = _t.getFirstChild();
|
2174 |
0
| parameterDef(_t);
|
2175 |
0
| _t = _retTree;
|
2176 |
0
| slist(_t);
|
2177 |
0
| _t = _retTree;
|
2178 |
0
| _t = __t462;
|
2179 |
0
| _t = _t.getNextSibling();
|
2180 |
| } |
2181 |
| catch (RecognitionException ex) { |
2182 |
0
| reportError(ex);
|
2183 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
2184 |
| } |
2185 |
0
| _retTree = _t;
|
2186 |
| } |
2187 |
| |
2188 |
459
| public final void expr(AST _t) throws RecognitionException {
|
2189 |
| |
2190 |
459
| AST expr_AST_in = (AST)_t;
|
2191 |
| |
2192 |
459
| try {
|
2193 |
0
| if (_t==null) _t=ASTNULL;
|
2194 |
459
| switch ( _t.getType()) {
|
2195 |
0
| case QUESTION:
|
2196 |
| { |
2197 |
0
| AST __t473 = _t;
|
2198 |
0
| AST tmp99_AST_in = (AST)_t;
|
2199 |
0
| match(_t,QUESTION);
|
2200 |
0
| _t = _t.getFirstChild();
|
2201 |
0
| expr(_t);
|
2202 |
0
| _t = _retTree;
|
2203 |
0
| expr(_t);
|
2204 |
0
| _t = _retTree;
|
2205 |
0
| expr(_t);
|
2206 |
0
| _t = _retTree;
|
2207 |
0
| _t = __t473;
|
2208 |
0
| _t = _t.getNextSibling();
|
2209 |
0
| break;
|
2210 |
| } |
2211 |
0
| case ASSIGN:
|
2212 |
| { |
2213 |
0
| AST __t474 = _t;
|
2214 |
0
| AST tmp100_AST_in = (AST)_t;
|
2215 |
0
| match(_t,ASSIGN);
|
2216 |
0
| _t = _t.getFirstChild();
|
2217 |
0
| expr(_t);
|
2218 |
0
| _t = _retTree;
|
2219 |
0
| expr(_t);
|
2220 |
0
| _t = _retTree;
|
2221 |
0
| _t = __t474;
|
2222 |
0
| _t = _t.getNextSibling();
|
2223 |
0
| break;
|
2224 |
| } |
2225 |
0
| case PLUS_ASSIGN:
|
2226 |
| { |
2227 |
0
| AST __t475 = _t;
|
2228 |
0
| AST tmp101_AST_in = (AST)_t;
|
2229 |
0
| match(_t,PLUS_ASSIGN);
|
2230 |
0
| _t = _t.getFirstChild();
|
2231 |
0
| expr(_t);
|
2232 |
0
| _t = _retTree;
|
2233 |
0
| expr(_t);
|
2234 |
0
| _t = _retTree;
|
2235 |
0
| _t = __t475;
|
2236 |
0
| _t = _t.getNextSibling();
|
2237 |
0
| break;
|
2238 |
| } |
2239 |
0
| case MINUS_ASSIGN:
|
2240 |
| { |
2241 |
0
| AST __t476 = _t;
|
2242 |
0
| AST tmp102_AST_in = (AST)_t;
|
2243 |
0
| match(_t,MINUS_ASSIGN);
|
2244 |
0
| _t = _t.getFirstChild();
|
2245 |
0
| expr(_t);
|
2246 |
0
| _t = _retTree;
|
2247 |
0
| expr(_t);
|
2248 |
0
| _t = _retTree;
|
2249 |
0
| _t = __t476;
|
2250 |
0
| _t = _t.getNextSibling();
|
2251 |
0
| break;
|
2252 |
| } |
2253 |
0
| case STAR_ASSIGN:
|
2254 |
| { |
2255 |
0
| AST __t477 = _t;
|
2256 |
0
| AST tmp103_AST_in = (AST)_t;
|
2257 |
0
| match(_t,STAR_ASSIGN);
|
2258 |
0
| _t = _t.getFirstChild();
|
2259 |
0
| expr(_t);
|
2260 |
0
| _t = _retTree;
|
2261 |
0
| expr(_t);
|
2262 |
0
| _t = _retTree;
|
2263 |
0
| _t = __t477;
|
2264 |
0
| _t = _t.getNextSibling();
|
2265 |
0
| break;
|
2266 |
| } |
2267 |
0
| case DIV_ASSIGN:
|
2268 |
| { |
2269 |
0
| AST __t478 = _t;
|
2270 |
0
| AST tmp104_AST_in = (AST)_t;
|
2271 |
0
| match(_t,DIV_ASSIGN);
|
2272 |
0
| _t = _t.getFirstChild();
|
2273 |
0
| expr(_t);
|
2274 |
0
| _t = _retTree;
|
2275 |
0
| expr(_t);
|
2276 |
0
| _t = _retTree;
|
2277 |
0
| _t = __t478;
|
2278 |
0
| _t = _t.getNextSibling();
|
2279 |
0
| break;
|
2280 |
| } |
2281 |
0
| case MOD_ASSIGN:
|
2282 |
| { |
2283 |
0
| AST __t479 = _t;
|
2284 |
0
| AST tmp105_AST_in = (AST)_t;
|
2285 |
0
| match(_t,MOD_ASSIGN);
|
2286 |
0
| _t = _t.getFirstChild();
|
2287 |
0
| expr(_t);
|
2288 |
0
| _t = _retTree;
|
2289 |
0
| expr(_t);
|
2290 |
0
| _t = _retTree;
|
2291 |
0
| _t = __t479;
|
2292 |
0
| _t = _t.getNextSibling();
|
2293 |
0
| break;
|
2294 |
| } |
2295 |
0
| case SR_ASSIGN:
|
2296 |
| { |
2297 |
0
| AST __t480 = _t;
|
2298 |
0
| AST tmp106_AST_in = (AST)_t;
|
2299 |
0
| match(_t,SR_ASSIGN);
|
2300 |
0
| _t = _t.getFirstChild();
|
2301 |
0
| expr(_t);
|
2302 |
0
| _t = _retTree;
|
2303 |
0
| expr(_t);
|
2304 |
0
| _t = _retTree;
|
2305 |
0
| _t = __t480;
|
2306 |
0
| _t = _t.getNextSibling();
|
2307 |
0
| break;
|
2308 |
| } |
2309 |
0
| case BSR_ASSIGN:
|
2310 |
| { |
2311 |
0
| AST __t481 = _t;
|
2312 |
0
| AST tmp107_AST_in = (AST)_t;
|
2313 |
0
| match(_t,BSR_ASSIGN);
|
2314 |
0
| _t = _t.getFirstChild();
|
2315 |
0
| expr(_t);
|
2316 |
0
| _t = _retTree;
|
2317 |
0
| expr(_t);
|
2318 |
0
| _t = _retTree;
|
2319 |
0
| _t = __t481;
|
2320 |
0
| _t = _t.getNextSibling();
|
2321 |
0
| break;
|
2322 |
| } |
2323 |
0
| case SL_ASSIGN:
|
2324 |
| { |
2325 |
0
| AST __t482 = _t;
|
2326 |
0
| AST tmp108_AST_in = (AST)_t;
|
2327 |
0
| match(_t,SL_ASSIGN);
|
2328 |
0
| _t = _t.getFirstChild();
|
2329 |
0
| expr(_t);
|
2330 |
0
| _t = _retTree;
|
2331 |
0
| expr(_t);
|
2332 |
0
| _t = _retTree;
|
2333 |
0
| _t = __t482;
|
2334 |
0
| _t = _t.getNextSibling();
|
2335 |
0
| break;
|
2336 |
| } |
2337 |
0
| case BAND_ASSIGN:
|
2338 |
| { |
2339 |
0
| AST __t483 = _t;
|
2340 |
0
| AST tmp109_AST_in = (AST)_t;
|
2341 |
0
| match(_t,BAND_ASSIGN);
|
2342 |
0
| _t = _t.getFirstChild();
|
2343 |
0
| expr(_t);
|
2344 |
0
| _t = _retTree;
|
2345 |
0
| expr(_t);
|
2346 |
0
| _t = _retTree;
|
2347 |
0
| _t = __t483;
|
2348 |
0
| _t = _t.getNextSibling();
|
2349 |
0
| break;
|
2350 |
| } |
2351 |
0
| case BXOR_ASSIGN:
|
2352 |
| { |
2353 |
0
| AST __t484 = _t;
|
2354 |
0
| AST tmp110_AST_in = (AST)_t;
|
2355 |
0
| match(_t,BXOR_ASSIGN);
|
2356 |
0
| _t = _t.getFirstChild();
|
2357 |
0
| expr(_t);
|
2358 |
0
| _t = _retTree;
|
2359 |
0
| expr(_t);
|
2360 |
0
| _t = _retTree;
|
2361 |
0
| _t = __t484;
|
2362 |
0
| _t = _t.getNextSibling();
|
2363 |
0
| break;
|
2364 |
| } |
2365 |
0
| case BOR_ASSIGN:
|
2366 |
| { |
2367 |
0
| AST __t485 = _t;
|
2368 |
0
| AST tmp111_AST_in = (AST)_t;
|
2369 |
0
| match(_t,BOR_ASSIGN);
|
2370 |
0
| _t = _t.getFirstChild();
|
2371 |
0
| expr(_t);
|
2372 |
0
| _t = _retTree;
|
2373 |
0
| expr(_t);
|
2374 |
0
| _t = _retTree;
|
2375 |
0
| _t = __t485;
|
2376 |
0
| _t = _t.getNextSibling();
|
2377 |
0
| break;
|
2378 |
| } |
2379 |
0
| case LOR:
|
2380 |
| { |
2381 |
0
| AST __t486 = _t;
|
2382 |
0
| AST tmp112_AST_in = (AST)_t;
|
2383 |
0
| match(_t,LOR);
|
2384 |
0
| _t = _t.getFirstChild();
|
2385 |
0
| expr(_t);
|
2386 |
0
| _t = _retTree;
|
2387 |
0
| expr(_t);
|
2388 |
0
| _t = _retTree;
|
2389 |
0
| _t = __t486;
|
2390 |
0
| _t = _t.getNextSibling();
|
2391 |
0
| break;
|
2392 |
| } |
2393 |
0
| case LAND:
|
2394 |
| { |
2395 |
0
| AST __t487 = _t;
|
2396 |
0
| AST tmp113_AST_in = (AST)_t;
|
2397 |
0
| match(_t,LAND);
|
2398 |
0
| _t = _t.getFirstChild();
|
2399 |
0
| expr(_t);
|
2400 |
0
| _t = _retTree;
|
2401 |
0
| expr(_t);
|
2402 |
0
| _t = _retTree;
|
2403 |
0
| _t = __t487;
|
2404 |
0
| _t = _t.getNextSibling();
|
2405 |
0
| break;
|
2406 |
| } |
2407 |
0
| case BOR:
|
2408 |
| { |
2409 |
0
| AST __t488 = _t;
|
2410 |
0
| AST tmp114_AST_in = (AST)_t;
|
2411 |
0
| match(_t,BOR);
|
2412 |
0
| _t = _t.getFirstChild();
|
2413 |
0
| expr(_t);
|
2414 |
0
| _t = _retTree;
|
2415 |
0
| expr(_t);
|
2416 |
0
| _t = _retTree;
|
2417 |
0
| _t = __t488;
|
2418 |
0
| _t = _t.getNextSibling();
|
2419 |
0
| break;
|
2420 |
| } |
2421 |
0
| case BXOR:
|
2422 |
| { |
2423 |
0
| AST __t489 = _t;
|
2424 |
0
| AST tmp115_AST_in = (AST)_t;
|
2425 |
0
| match(_t,BXOR);
|
2426 |
0
| _t = _t.getFirstChild();
|
2427 |
0
| expr(_t);
|
2428 |
0
| _t = _retTree;
|
2429 |
0
| expr(_t);
|
2430 |
0
| _t = _retTree;
|
2431 |
0
| _t = __t489;
|
2432 |
0
| _t = _t.getNextSibling();
|
2433 |
0
| break;
|
2434 |
| } |
2435 |
0
| case BAND:
|
2436 |
| { |
2437 |
0
| AST __t490 = _t;
|
2438 |
0
| AST tmp116_AST_in = (AST)_t;
|
2439 |
0
| match(_t,BAND);
|
2440 |
0
| _t = _t.getFirstChild();
|
2441 |
0
| expr(_t);
|
2442 |
0
| _t = _retTree;
|
2443 |
0
| expr(_t);
|
2444 |
0
| _t = _retTree;
|
2445 |
0
| _t = __t490;
|
2446 |
0
| _t = _t.getNextSibling();
|
2447 |
0
| break;
|
2448 |
| } |
2449 |
1
| case NOT_EQUAL:
|
2450 |
| { |
2451 |
1
| AST __t491 = _t;
|
2452 |
1
| AST tmp117_AST_in = (AST)_t;
|
2453 |
1
| match(_t,NOT_EQUAL);
|
2454 |
1
| _t = _t.getFirstChild();
|
2455 |
1
| expr(_t);
|
2456 |
1
| _t = _retTree;
|
2457 |
1
| expr(_t);
|
2458 |
1
| _t = _retTree;
|
2459 |
1
| _t = __t491;
|
2460 |
1
| _t = _t.getNextSibling();
|
2461 |
1
| break;
|
2462 |
| } |
2463 |
17
| case EQUAL:
|
2464 |
| { |
2465 |
17
| AST __t492 = _t;
|
2466 |
17
| AST tmp118_AST_in = (AST)_t;
|
2467 |
17
| match(_t,EQUAL);
|
2468 |
17
| _t = _t.getFirstChild();
|
2469 |
17
| expr(_t);
|
2470 |
17
| _t = _retTree;
|
2471 |
17
| expr(_t);
|
2472 |
17
| _t = _retTree;
|
2473 |
17
| _t = __t492;
|
2474 |
17
| _t = _t.getNextSibling();
|
2475 |
17
| break;
|
2476 |
| } |
2477 |
0
| case LT:
|
2478 |
| { |
2479 |
0
| AST __t493 = _t;
|
2480 |
0
| AST tmp119_AST_in = (AST)_t;
|
2481 |
0
| match(_t,LT);
|
2482 |
0
| _t = _t.getFirstChild();
|
2483 |
0
| expr(_t);
|
2484 |
0
| _t = _retTree;
|
2485 |
0
| expr(_t);
|
2486 |
0
| _t = _retTree;
|
2487 |
0
| _t = __t493;
|
2488 |
0
| _t = _t.getNextSibling();
|
2489 |
0
| break;
|
2490 |
| } |
2491 |
19
| case GT:
|
2492 |
| { |
2493 |
19
| AST __t494 = _t;
|
2494 |
19
| AST tmp120_AST_in = (AST)_t;
|
2495 |
19
| match(_t,GT);
|
2496 |
19
| _t = _t.getFirstChild();
|
2497 |
19
| expr(_t);
|
2498 |
19
| _t = _retTree;
|
2499 |
19
| expr(_t);
|
2500 |
19
| _t = _retTree;
|
2501 |
19
| _t = __t494;
|
2502 |
19
| _t = _t.getNextSibling();
|
2503 |
19
| break;
|
2504 |
| } |
2505 |
0
| case LE:
|
2506 |
| { |
2507 |
0
| AST __t495 = _t;
|
2508 |
0
| AST tmp121_AST_in = (AST)_t;
|
2509 |
0
| match(_t,LE);
|
2510 |
0
| _t = _t.getFirstChild();
|
2511 |
0
| expr(_t);
|
2512 |
0
| _t = _retTree;
|
2513 |
0
| expr(_t);
|
2514 |
0
| _t = _retTree;
|
2515 |
0
| _t = __t495;
|
2516 |
0
| _t = _t.getNextSibling();
|
2517 |
0
| break;
|
2518 |
| } |
2519 |
0
| case GE:
|
2520 |
| { |
2521 |
0
| AST __t496 = _t;
|
2522 |
0
| AST tmp122_AST_in = (AST)_t;
|
2523 |
0
| match(_t,GE);
|
2524 |
0
| _t = _t.getFirstChild();
|
2525 |
0
| expr(_t);
|
2526 |
0
| _t = _retTree;
|
2527 |
0
| expr(_t);
|
2528 |
0
| _t = _retTree;
|
2529 |
0
| _t = __t496;
|
2530 |
0
| _t = _t.getNextSibling();
|
2531 |
0
| break;
|
2532 |
| } |
2533 |
0
| case SL:
|
2534 |
| { |
2535 |
0
| AST __t497 = _t;
|
2536 |
0
| AST tmp123_AST_in = (AST)_t;
|
2537 |
0
| match(_t,SL);
|
2538 |
0
| _t = _t.getFirstChild();
|
2539 |
0
| expr(_t);
|
2540 |
0
| _t = _retTree;
|
2541 |
0
| expr(_t);
|
2542 |
0
| _t = _retTree;
|
2543 |
0
| _t = __t497;
|
2544 |
0
| _t = _t.getNextSibling();
|
2545 |
0
| break;
|
2546 |
| } |
2547 |
0
| case SR:
|
2548 |
| { |
2549 |
0
| AST __t498 = _t;
|
2550 |
0
| AST tmp124_AST_in = (AST)_t;
|
2551 |
0
| match(_t,SR);
|
2552 |
0
| _t = _t.getFirstChild();
|
2553 |
0
| expr(_t);
|
2554 |
0
| _t = _retTree;
|
2555 |
0
| expr(_t);
|
2556 |
0
| _t = _retTree;
|
2557 |
0
| _t = __t498;
|
2558 |
0
| _t = _t.getNextSibling();
|
2559 |
0
| break;
|
2560 |
| } |
2561 |
0
| case BSR:
|
2562 |
| { |
2563 |
0
| AST __t499 = _t;
|
2564 |
0
| AST tmp125_AST_in = (AST)_t;
|
2565 |
0
| match(_t,BSR);
|
2566 |
0
| _t = _t.getFirstChild();
|
2567 |
0
| expr(_t);
|
2568 |
0
| _t = _retTree;
|
2569 |
0
| expr(_t);
|
2570 |
0
| _t = _retTree;
|
2571 |
0
| _t = __t499;
|
2572 |
0
| _t = _t.getNextSibling();
|
2573 |
0
| break;
|
2574 |
| } |
2575 |
0
| case PLUS:
|
2576 |
| { |
2577 |
0
| AST __t500 = _t;
|
2578 |
0
| AST tmp126_AST_in = (AST)_t;
|
2579 |
0
| match(_t,PLUS);
|
2580 |
0
| _t = _t.getFirstChild();
|
2581 |
0
| expr(_t);
|
2582 |
0
| _t = _retTree;
|
2583 |
0
| expr(_t);
|
2584 |
0
| _t = _retTree;
|
2585 |
0
| _t = __t500;
|
2586 |
0
| _t = _t.getNextSibling();
|
2587 |
0
| break;
|
2588 |
| } |
2589 |
0
| case MINUS:
|
2590 |
| { |
2591 |
0
| AST __t501 = _t;
|
2592 |
0
| AST tmp127_AST_in = (AST)_t;
|
2593 |
0
| match(_t,MINUS);
|
2594 |
0
| _t = _t.getFirstChild();
|
2595 |
0
| expr(_t);
|
2596 |
0
| _t = _retTree;
|
2597 |
0
| expr(_t);
|
2598 |
0
| _t = _retTree;
|
2599 |
0
| _t = __t501;
|
2600 |
0
| _t = _t.getNextSibling();
|
2601 |
0
| break;
|
2602 |
| } |
2603 |
0
| case DIV:
|
2604 |
| { |
2605 |
0
| AST __t502 = _t;
|
2606 |
0
| AST tmp128_AST_in = (AST)_t;
|
2607 |
0
| match(_t,DIV);
|
2608 |
0
| _t = _t.getFirstChild();
|
2609 |
0
| expr(_t);
|
2610 |
0
| _t = _retTree;
|
2611 |
0
| expr(_t);
|
2612 |
0
| _t = _retTree;
|
2613 |
0
| _t = __t502;
|
2614 |
0
| _t = _t.getNextSibling();
|
2615 |
0
| break;
|
2616 |
| } |
2617 |
0
| case MOD:
|
2618 |
| { |
2619 |
0
| AST __t503 = _t;
|
2620 |
0
| AST tmp129_AST_in = (AST)_t;
|
2621 |
0
| match(_t,MOD);
|
2622 |
0
| _t = _t.getFirstChild();
|
2623 |
0
| expr(_t);
|
2624 |
0
| _t = _retTree;
|
2625 |
0
| expr(_t);
|
2626 |
0
| _t = _retTree;
|
2627 |
0
| _t = __t503;
|
2628 |
0
| _t = _t.getNextSibling();
|
2629 |
0
| break;
|
2630 |
| } |
2631 |
0
| case STAR:
|
2632 |
| { |
2633 |
0
| AST __t504 = _t;
|
2634 |
0
| AST tmp130_AST_in = (AST)_t;
|
2635 |
0
| match(_t,STAR);
|
2636 |
0
| _t = _t.getFirstChild();
|
2637 |
0
| expr(_t);
|
2638 |
0
| _t = _retTree;
|
2639 |
0
| expr(_t);
|
2640 |
0
| _t = _retTree;
|
2641 |
0
| _t = __t504;
|
2642 |
0
| _t = _t.getNextSibling();
|
2643 |
0
| break;
|
2644 |
| } |
2645 |
0
| case INC:
|
2646 |
| { |
2647 |
0
| AST __t505 = _t;
|
2648 |
0
| AST tmp131_AST_in = (AST)_t;
|
2649 |
0
| match(_t,INC);
|
2650 |
0
| _t = _t.getFirstChild();
|
2651 |
0
| expr(_t);
|
2652 |
0
| _t = _retTree;
|
2653 |
0
| _t = __t505;
|
2654 |
0
| _t = _t.getNextSibling();
|
2655 |
0
| break;
|
2656 |
| } |
2657 |
0
| case DEC:
|
2658 |
| { |
2659 |
0
| AST __t506 = _t;
|
2660 |
0
| AST tmp132_AST_in = (AST)_t;
|
2661 |
0
| match(_t,DEC);
|
2662 |
0
| _t = _t.getFirstChild();
|
2663 |
0
| expr(_t);
|
2664 |
0
| _t = _retTree;
|
2665 |
0
| _t = __t506;
|
2666 |
0
| _t = _t.getNextSibling();
|
2667 |
0
| break;
|
2668 |
| } |
2669 |
0
| case POST_INC:
|
2670 |
| { |
2671 |
0
| AST __t507 = _t;
|
2672 |
0
| AST tmp133_AST_in = (AST)_t;
|
2673 |
0
| match(_t,POST_INC);
|
2674 |
0
| _t = _t.getFirstChild();
|
2675 |
0
| expr(_t);
|
2676 |
0
| _t = _retTree;
|
2677 |
0
| _t = __t507;
|
2678 |
0
| _t = _t.getNextSibling();
|
2679 |
0
| break;
|
2680 |
| } |
2681 |
0
| case POST_DEC:
|
2682 |
| { |
2683 |
0
| AST __t508 = _t;
|
2684 |
0
| AST tmp134_AST_in = (AST)_t;
|
2685 |
0
| match(_t,POST_DEC);
|
2686 |
0
| _t = _t.getFirstChild();
|
2687 |
0
| expr(_t);
|
2688 |
0
| _t = _retTree;
|
2689 |
0
| _t = __t508;
|
2690 |
0
| _t = _t.getNextSibling();
|
2691 |
0
| break;
|
2692 |
| } |
2693 |
0
| case BNOT:
|
2694 |
| { |
2695 |
0
| AST __t509 = _t;
|
2696 |
0
| AST tmp135_AST_in = (AST)_t;
|
2697 |
0
| match(_t,BNOT);
|
2698 |
0
| _t = _t.getFirstChild();
|
2699 |
0
| expr(_t);
|
2700 |
0
| _t = _retTree;
|
2701 |
0
| _t = __t509;
|
2702 |
0
| _t = _t.getNextSibling();
|
2703 |
0
| break;
|
2704 |
| } |
2705 |
5
| case LNOT:
|
2706 |
| { |
2707 |
5
| AST __t510 = _t;
|
2708 |
5
| AST tmp136_AST_in = (AST)_t;
|
2709 |
5
| match(_t,LNOT);
|
2710 |
5
| _t = _t.getFirstChild();
|
2711 |
5
| expr(_t);
|
2712 |
5
| _t = _retTree;
|
2713 |
5
| _t = __t510;
|
2714 |
5
| _t = _t.getNextSibling();
|
2715 |
5
| break;
|
2716 |
| } |
2717 |
0
| case LITERAL_instanceof:
|
2718 |
| { |
2719 |
0
| AST __t511 = _t;
|
2720 |
0
| AST tmp137_AST_in = (AST)_t;
|
2721 |
0
| match(_t,LITERAL_instanceof);
|
2722 |
0
| _t = _t.getFirstChild();
|
2723 |
0
| expr(_t);
|
2724 |
0
| _t = _retTree;
|
2725 |
0
| expr(_t);
|
2726 |
0
| _t = _retTree;
|
2727 |
0
| _t = __t511;
|
2728 |
0
| _t = _t.getNextSibling();
|
2729 |
0
| break;
|
2730 |
| } |
2731 |
0
| case UNARY_MINUS:
|
2732 |
| { |
2733 |
0
| AST __t512 = _t;
|
2734 |
0
| AST tmp138_AST_in = (AST)_t;
|
2735 |
0
| match(_t,UNARY_MINUS);
|
2736 |
0
| _t = _t.getFirstChild();
|
2737 |
0
| expr(_t);
|
2738 |
0
| _t = _retTree;
|
2739 |
0
| _t = __t512;
|
2740 |
0
| _t = _t.getNextSibling();
|
2741 |
0
| break;
|
2742 |
| } |
2743 |
0
| case UNARY_PLUS:
|
2744 |
| { |
2745 |
0
| AST __t513 = _t;
|
2746 |
0
| AST tmp139_AST_in = (AST)_t;
|
2747 |
0
| match(_t,UNARY_PLUS);
|
2748 |
0
| _t = _t.getFirstChild();
|
2749 |
0
| expr(_t);
|
2750 |
0
| _t = _retTree;
|
2751 |
0
| _t = __t513;
|
2752 |
0
| _t = _t.getNextSibling();
|
2753 |
0
| break;
|
2754 |
| } |
2755 |
0
| case TYPE:
|
2756 |
0
| case TYPECAST:
|
2757 |
0
| case INDEX_OP:
|
2758 |
166
| case METHOD_CALL:
|
2759 |
208
| case IDENT:
|
2760 |
0
| case DOT:
|
2761 |
0
| case LITERAL_this:
|
2762 |
0
| case LITERAL_super:
|
2763 |
1
| case LITERAL_true:
|
2764 |
1
| case LITERAL_false:
|
2765 |
8
| case LITERAL_null:
|
2766 |
3
| case LITERAL_new:
|
2767 |
4
| case NUM_INT:
|
2768 |
0
| case CHAR_LITERAL:
|
2769 |
26
| case STRING_LITERAL:
|
2770 |
0
| case NUM_FLOAT:
|
2771 |
0
| case NUM_LONG:
|
2772 |
0
| case NUM_DOUBLE:
|
2773 |
| { |
2774 |
417
| primaryExpression(_t);
|
2775 |
417
| _t = _retTree;
|
2776 |
417
| break;
|
2777 |
| } |
2778 |
0
| default:
|
2779 |
| { |
2780 |
0
| throw new NoViableAltException(_t);
|
2781 |
| } |
2782 |
| } |
2783 |
| } |
2784 |
| catch (RecognitionException ex) { |
2785 |
0
| reportError(ex);
|
2786 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
2787 |
| } |
2788 |
459
| _retTree = _t;
|
2789 |
| } |
2790 |
| |
2791 |
0
| public final void assignmentCondition(AST _t) throws RecognitionException {
|
2792 |
| |
2793 |
0
| AST assignmentCondition_AST_in = (AST)_t;
|
2794 |
0
| AST i = null;
|
2795 |
| |
2796 |
0
| try {
|
2797 |
0
| AST __t470 = _t;
|
2798 |
0
| AST tmp140_AST_in = (AST)_t;
|
2799 |
0
| match(_t,ASSIGN);
|
2800 |
0
| _t = _t.getFirstChild();
|
2801 |
0
| i = (AST)_t;
|
2802 |
0
| match(_t,IDENT);
|
2803 |
0
| _t = _t.getNextSibling();
|
2804 |
| |
2805 |
0
| this.variableRefs.add( i.getText() );
|
2806 |
| |
2807 |
0
| expr(_t);
|
2808 |
0
| _t = _retTree;
|
2809 |
0
| _t = __t470;
|
2810 |
0
| _t = _t.getNextSibling();
|
2811 |
| } |
2812 |
| catch (RecognitionException ex) { |
2813 |
0
| reportError(ex);
|
2814 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
2815 |
| } |
2816 |
0
| _retTree = _t;
|
2817 |
| } |
2818 |
| |
2819 |
126
| public final void exprCondition(AST _t) throws RecognitionException {
|
2820 |
| |
2821 |
126
| AST exprCondition_AST_in = (AST)_t;
|
2822 |
| |
2823 |
126
| try {
|
2824 |
126
| expr(_t);
|
2825 |
126
| _t = _retTree;
|
2826 |
| } |
2827 |
| catch (RecognitionException ex) { |
2828 |
0
| reportError(ex);
|
2829 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
2830 |
| } |
2831 |
126
| _retTree = _t;
|
2832 |
| } |
2833 |
| |
2834 |
583
| public final void primaryExpression(AST _t) throws RecognitionException {
|
2835 |
| |
2836 |
583
| AST primaryExpression_AST_in = (AST)_t;
|
2837 |
583
| AST i = null;
|
2838 |
| |
2839 |
583
| try {
|
2840 |
0
| if (_t==null) _t=ASTNULL;
|
2841 |
583
| switch ( _t.getType()) {
|
2842 |
208
| case IDENT:
|
2843 |
| { |
2844 |
208
| i = (AST)_t;
|
2845 |
208
| match(_t,IDENT);
|
2846 |
208
| _t = _t.getNextSibling();
|
2847 |
| |
2848 |
208
| this.variableRefs.add( i.getText() );
|
2849 |
| |
2850 |
208
| break;
|
2851 |
| } |
2852 |
166
| case DOT:
|
2853 |
| { |
2854 |
166
| AST __t515 = _t;
|
2855 |
166
| AST tmp141_AST_in = (AST)_t;
|
2856 |
166
| match(_t,DOT);
|
2857 |
166
| _t = _t.getFirstChild();
|
2858 |
| { |
2859 |
0
| if (_t==null) _t=ASTNULL;
|
2860 |
166
| switch ( _t.getType()) {
|
2861 |
0
| case TYPE:
|
2862 |
0
| case TYPECAST:
|
2863 |
0
| case INDEX_OP:
|
2864 |
0
| case POST_INC:
|
2865 |
0
| case POST_DEC:
|
2866 |
17
| case METHOD_CALL:
|
2867 |
0
| case UNARY_MINUS:
|
2868 |
0
| case UNARY_PLUS:
|
2869 |
144
| case IDENT:
|
2870 |
0
| case ASSIGN:
|
2871 |
0
| case DOT:
|
2872 |
0
| case STAR:
|
2873 |
0
| case LITERAL_this:
|
2874 |
0
| case LITERAL_super:
|
2875 |
0
| case PLUS_ASSIGN:
|
2876 |
0
| case MINUS_ASSIGN:
|
2877 |
0
| case STAR_ASSIGN:
|
2878 |
0
| case DIV_ASSIGN:
|
2879 |
0
| case MOD_ASSIGN:
|
2880 |
0
| case SR_ASSIGN:
|
2881 |
0
| case BSR_ASSIGN:
|
2882 |
0
| case SL_ASSIGN:
|
2883 |
0
| case BAND_ASSIGN:
|
2884 |
0
| case BXOR_ASSIGN:
|
2885 |
0
| case BOR_ASSIGN:
|
2886 |
0
| case QUESTION:
|
2887 |
0
| case LOR:
|
2888 |
0
| case LAND:
|
2889 |
0
| case BOR:
|
2890 |
0
| case BXOR:
|
2891 |
0
| case BAND:
|
2892 |
0
| case NOT_EQUAL:
|
2893 |
0
| case EQUAL:
|
2894 |
0
| case LT:
|
2895 |
0
| case GT:
|
2896 |
0
| case LE:
|
2897 |
0
| case GE:
|
2898 |
0
| case LITERAL_instanceof:
|
2899 |
0
| case SL:
|
2900 |
0
| case SR:
|
2901 |
0
| case BSR:
|
2902 |
0
| case PLUS:
|
2903 |
0
| case MINUS:
|
2904 |
0
| case DIV:
|
2905 |
0
| case MOD:
|
2906 |
0
| case INC:
|
2907 |
0
| case DEC:
|
2908 |
0
| case BNOT:
|
2909 |
0
| case LNOT:
|
2910 |
0
| case LITERAL_true:
|
2911 |
0
| case LITERAL_false:
|
2912 |
0
| case LITERAL_null:
|
2913 |
3
| case LITERAL_new:
|
2914 |
0
| case NUM_INT:
|
2915 |
0
| case CHAR_LITERAL:
|
2916 |
2
| case STRING_LITERAL:
|
2917 |
0
| case NUM_FLOAT:
|
2918 |
0
| case NUM_LONG:
|
2919 |
0
| case NUM_DOUBLE:
|
2920 |
| { |
2921 |
166
| expr(_t);
|
2922 |
166
| _t = _retTree;
|
2923 |
| { |
2924 |
0
| if (_t==null) _t=ASTNULL;
|
2925 |
166
| switch ( _t.getType()) {
|
2926 |
166
| case IDENT:
|
2927 |
| { |
2928 |
166
| AST tmp142_AST_in = (AST)_t;
|
2929 |
166
| match(_t,IDENT);
|
2930 |
166
| _t = _t.getNextSibling();
|
2931 |
166
| break;
|
2932 |
| } |
2933 |
0
| case INDEX_OP:
|
2934 |
| { |
2935 |
0
| arrayIndex(_t);
|
2936 |
0
| _t = _retTree;
|
2937 |
0
| break;
|
2938 |
| } |
2939 |
0
| case LITERAL_this:
|
2940 |
| { |
2941 |
0
| AST tmp143_AST_in = (AST)_t;
|
2942 |
0
| match(_t,LITERAL_this);
|
2943 |
0
| _t = _t.getNextSibling();
|
2944 |
0
| break;
|
2945 |
| } |
2946 |
0
| case LITERAL_class:
|
2947 |
| { |
2948 |
0
| AST tmp144_AST_in = (AST)_t;
|
2949 |
0
| match(_t,LITERAL_class);
|
2950 |
0
| _t = _t.getNextSibling();
|
2951 |
0
| break;
|
2952 |
| } |
2953 |
0
| case LITERAL_new:
|
2954 |
| { |
2955 |
0
| AST __t518 = _t;
|
2956 |
0
| AST tmp145_AST_in = (AST)_t;
|
2957 |
0
| match(_t,LITERAL_new);
|
2958 |
0
| _t = _t.getFirstChild();
|
2959 |
0
| AST tmp146_AST_in = (AST)_t;
|
2960 |
0
| match(_t,IDENT);
|
2961 |
0
| _t = _t.getNextSibling();
|
2962 |
0
| elist(_t);
|
2963 |
0
| _t = _retTree;
|
2964 |
0
| _t = __t518;
|
2965 |
0
| _t = _t.getNextSibling();
|
2966 |
0
| break;
|
2967 |
| } |
2968 |
0
| case LITERAL_super:
|
2969 |
| { |
2970 |
0
| AST tmp147_AST_in = (AST)_t;
|
2971 |
0
| match(_t,LITERAL_super);
|
2972 |
0
| _t = _t.getNextSibling();
|
2973 |
0
| break;
|
2974 |
| } |
2975 |
0
| default:
|
2976 |
| { |
2977 |
0
| throw new NoViableAltException(_t);
|
2978 |
| } |
2979 |
| } |
2980 |
| } |
2981 |
166
| break;
|
2982 |
| } |
2983 |
0
| case ARRAY_DECLARATOR:
|
2984 |
| { |
2985 |
0
| AST __t519 = _t;
|
2986 |
0
| AST tmp148_AST_in = (AST)_t;
|
2987 |
0
| match(_t,ARRAY_DECLARATOR);
|
2988 |
0
| _t = _t.getFirstChild();
|
2989 |
0
| typeSpecArray(_t);
|
2990 |
0
| _t = _retTree;
|
2991 |
0
| _t = __t519;
|
2992 |
0
| _t = _t.getNextSibling();
|
2993 |
0
| break;
|
2994 |
| } |
2995 |
0
| case LITERAL_void:
|
2996 |
0
| case LITERAL_boolean:
|
2997 |
0
| case LITERAL_byte:
|
2998 |
0
| case LITERAL_char:
|
2999 |
0
| case LITERAL_short:
|
3000 |
0
| case LITERAL_int:
|
3001 |
0
| case LITERAL_float:
|
3002 |
0
| case LITERAL_long:
|
3003 |
0
| case LITERAL_double:
|
3004 |
| { |
3005 |
0
| builtInType(_t);
|
3006 |
0
| _t = _retTree;
|
3007 |
| { |
3008 |
0
| if (_t==null) _t=ASTNULL;
|
3009 |
0
| switch ( _t.getType()) {
|
3010 |
0
| case LITERAL_class:
|
3011 |
| { |
3012 |
0
| AST tmp149_AST_in = (AST)_t;
|
3013 |
0
| match(_t,LITERAL_class);
|
3014 |
0
| _t = _t.getNextSibling();
|
3015 |
0
| break;
|
3016 |
| } |
3017 |
0
| case 3:
|
3018 |
| { |
3019 |
0
| break;
|
3020 |
| } |
3021 |
0
| default:
|
3022 |
| { |
3023 |
0
| throw new NoViableAltException(_t);
|
3024 |
| } |
3025 |
| } |
3026 |
| } |
3027 |
0
| break;
|
3028 |
| } |
3029 |
0
| default:
|
3030 |
| { |
3031 |
0
| throw new NoViableAltException(_t);
|
3032 |
| } |
3033 |
| } |
3034 |
| } |
3035 |
166
| _t = __t515;
|
3036 |
166
| _t = _t.getNextSibling();
|
3037 |
166
| break;
|
3038 |
| } |
3039 |
0
| case INDEX_OP:
|
3040 |
| { |
3041 |
0
| arrayIndex(_t);
|
3042 |
0
| _t = _retTree;
|
3043 |
0
| break;
|
3044 |
| } |
3045 |
166
| case METHOD_CALL:
|
3046 |
| { |
3047 |
166
| AST __t521 = _t;
|
3048 |
166
| AST tmp150_AST_in = (AST)_t;
|
3049 |
166
| match(_t,METHOD_CALL);
|
3050 |
166
| _t = _t.getFirstChild();
|
3051 |
166
| primaryExpression(_t);
|
3052 |
166
| _t = _retTree;
|
3053 |
166
| elist(_t);
|
3054 |
166
| _t = _retTree;
|
3055 |
166
| _t = __t521;
|
3056 |
166
| _t = _t.getNextSibling();
|
3057 |
166
| break;
|
3058 |
| } |
3059 |
0
| case TYPECAST:
|
3060 |
| { |
3061 |
0
| AST __t522 = _t;
|
3062 |
0
| AST tmp151_AST_in = (AST)_t;
|
3063 |
0
| match(_t,TYPECAST);
|
3064 |
0
| _t = _t.getFirstChild();
|
3065 |
0
| typeSpec(_t);
|
3066 |
0
| _t = _retTree;
|
3067 |
0
| expr(_t);
|
3068 |
0
| _t = _retTree;
|
3069 |
0
| _t = __t522;
|
3070 |
0
| _t = _t.getNextSibling();
|
3071 |
0
| break;
|
3072 |
| } |
3073 |
3
| case LITERAL_new:
|
3074 |
| { |
3075 |
3
| newExpression(_t);
|
3076 |
3
| _t = _retTree;
|
3077 |
3
| break;
|
3078 |
| } |
3079 |
4
| case NUM_INT:
|
3080 |
0
| case CHAR_LITERAL:
|
3081 |
26
| case STRING_LITERAL:
|
3082 |
0
| case NUM_FLOAT:
|
3083 |
0
| case NUM_LONG:
|
3084 |
0
| case NUM_DOUBLE:
|
3085 |
| { |
3086 |
30
| constant(_t);
|
3087 |
30
| _t = _retTree;
|
3088 |
30
| break;
|
3089 |
| } |
3090 |
0
| case LITERAL_super:
|
3091 |
| { |
3092 |
0
| AST tmp152_AST_in = (AST)_t;
|
3093 |
0
| match(_t,LITERAL_super);
|
3094 |
0
| _t = _t.getNextSibling();
|
3095 |
0
| break;
|
3096 |
| } |
3097 |
1
| case LITERAL_true:
|
3098 |
| { |
3099 |
1
| AST tmp153_AST_in = (AST)_t;
|
3100 |
1
| match(_t,LITERAL_true);
|
3101 |
1
| _t = _t.getNextSibling();
|
3102 |
1
| break;
|
3103 |
| } |
3104 |
1
| case LITERAL_false:
|
3105 |
| { |
3106 |
1
| AST tmp154_AST_in = (AST)_t;
|
3107 |
1
| match(_t,LITERAL_false);
|
3108 |
1
| _t = _t.getNextSibling();
|
3109 |
1
| break;
|
3110 |
| } |
3111 |
0
| case LITERAL_this:
|
3112 |
| { |
3113 |
0
| AST tmp155_AST_in = (AST)_t;
|
3114 |
0
| match(_t,LITERAL_this);
|
3115 |
0
| _t = _t.getNextSibling();
|
3116 |
0
| break;
|
3117 |
| } |
3118 |
8
| case LITERAL_null:
|
3119 |
| { |
3120 |
8
| AST tmp156_AST_in = (AST)_t;
|
3121 |
8
| match(_t,LITERAL_null);
|
3122 |
8
| _t = _t.getNextSibling();
|
3123 |
8
| break;
|
3124 |
| } |
3125 |
0
| case TYPE:
|
3126 |
| { |
3127 |
0
| typeSpec(_t);
|
3128 |
0
| _t = _retTree;
|
3129 |
0
| break;
|
3130 |
| } |
3131 |
0
| default:
|
3132 |
| { |
3133 |
0
| throw new NoViableAltException(_t);
|
3134 |
| } |
3135 |
| } |
3136 |
| } |
3137 |
| catch (RecognitionException ex) { |
3138 |
0
| reportError(ex);
|
3139 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
3140 |
| } |
3141 |
583
| _retTree = _t;
|
3142 |
| } |
3143 |
| |
3144 |
0
| public final void arrayIndex(AST _t) throws RecognitionException {
|
3145 |
| |
3146 |
0
| AST arrayIndex_AST_in = (AST)_t;
|
3147 |
| |
3148 |
0
| try {
|
3149 |
0
| AST __t528 = _t;
|
3150 |
0
| AST tmp157_AST_in = (AST)_t;
|
3151 |
0
| match(_t,INDEX_OP);
|
3152 |
0
| _t = _t.getFirstChild();
|
3153 |
0
| primaryExpression(_t);
|
3154 |
0
| _t = _retTree;
|
3155 |
0
| expression(_t);
|
3156 |
0
| _t = _retTree;
|
3157 |
0
| _t = __t528;
|
3158 |
0
| _t = _t.getNextSibling();
|
3159 |
| } |
3160 |
| catch (RecognitionException ex) { |
3161 |
0
| reportError(ex);
|
3162 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
3163 |
| } |
3164 |
0
| _retTree = _t;
|
3165 |
| } |
3166 |
| |
3167 |
3
| public final void newExpression(AST _t) throws RecognitionException {
|
3168 |
| |
3169 |
3
| AST newExpression_AST_in = (AST)_t;
|
3170 |
| |
3171 |
3
| try {
|
3172 |
3
| AST __t531 = _t;
|
3173 |
3
| AST tmp158_AST_in = (AST)_t;
|
3174 |
3
| match(_t,LITERAL_new);
|
3175 |
3
| _t = _t.getFirstChild();
|
3176 |
3
| type(_t);
|
3177 |
3
| _t = _retTree;
|
3178 |
| { |
3179 |
0
| if (_t==null) _t=ASTNULL;
|
3180 |
3
| switch ( _t.getType()) {
|
3181 |
0
| case ARRAY_DECLARATOR:
|
3182 |
| { |
3183 |
0
| newArrayDeclarator(_t);
|
3184 |
0
| _t = _retTree;
|
3185 |
| { |
3186 |
0
| if (_t==null) _t=ASTNULL;
|
3187 |
0
| switch ( _t.getType()) {
|
3188 |
0
| case ARRAY_INIT:
|
3189 |
| { |
3190 |
0
| arrayInitializer(_t);
|
3191 |
0
| _t = _retTree;
|
3192 |
0
| break;
|
3193 |
| } |
3194 |
0
| case 3:
|
3195 |
| { |
3196 |
0
| break;
|
3197 |
| } |
3198 |
0
| default:
|
3199 |
| { |
3200 |
0
| throw new NoViableAltException(_t);
|
3201 |
| } |
3202 |
| } |
3203 |
| } |
3204 |
0
| break;
|
3205 |
| } |
3206 |
3
| case ELIST:
|
3207 |
| { |
3208 |
3
| elist(_t);
|
3209 |
3
| _t = _retTree;
|
3210 |
| { |
3211 |
3
| if (_t==null) _t=ASTNULL;
|
3212 |
3
| switch ( _t.getType()) {
|
3213 |
0
| case OBJBLOCK:
|
3214 |
| { |
3215 |
0
| objBlock(_t);
|
3216 |
0
| _t = _retTree;
|
3217 |
0
| break;
|
3218 |
| } |
3219 |
3
| case 3:
|
3220 |
| { |
3221 |
3
| break;
|
3222 |
| } |
3223 |
0
| default:
|
3224 |
| { |
3225 |
0
| throw new NoViableAltException(_t);
|
3226 |
| } |
3227 |
| } |
3228 |
| } |
3229 |
3
| break;
|
3230 |
| } |
3231 |
0
| default:
|
3232 |
| { |
3233 |
0
| throw new NoViableAltException(_t);
|
3234 |
| } |
3235 |
| } |
3236 |
| } |
3237 |
3
| _t = __t531;
|
3238 |
3
| _t = _t.getNextSibling();
|
3239 |
| } |
3240 |
| catch (RecognitionException ex) { |
3241 |
0
| reportError(ex);
|
3242 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
3243 |
| } |
3244 |
3
| _retTree = _t;
|
3245 |
| } |
3246 |
| |
3247 |
30
| public final void constant(AST _t) throws RecognitionException {
|
3248 |
| |
3249 |
30
| AST constant_AST_in = (AST)_t;
|
3250 |
| |
3251 |
30
| try {
|
3252 |
0
| if (_t==null) _t=ASTNULL;
|
3253 |
30
| switch ( _t.getType()) {
|
3254 |
4
| case NUM_INT:
|
3255 |
| { |
3256 |
4
| AST tmp159_AST_in = (AST)_t;
|
3257 |
4
| match(_t,NUM_INT);
|
3258 |
4
| _t = _t.getNextSibling();
|
3259 |
4
| break;
|
3260 |
| } |
3261 |
0
| case CHAR_LITERAL:
|
3262 |
| { |
3263 |
0
| AST tmp160_AST_in = (AST)_t;
|
3264 |
0
| match(_t,CHAR_LITERAL);
|
3265 |
0
| _t = _t.getNextSibling();
|
3266 |
0
| break;
|
3267 |
| } |
3268 |
26
| case STRING_LITERAL:
|
3269 |
| { |
3270 |
26
| AST tmp161_AST_in = (AST)_t;
|
3271 |
26
| match(_t,STRING_LITERAL);
|
3272 |
26
| _t = _t.getNextSibling();
|
3273 |
26
| break;
|
3274 |
| } |
3275 |
0
| case NUM_FLOAT:
|
3276 |
| { |
3277 |
0
| AST tmp162_AST_in = (AST)_t;
|
3278 |
0
| match(_t,NUM_FLOAT);
|
3279 |
0
| _t = _t.getNextSibling();
|
3280 |
0
| break;
|
3281 |
| } |
3282 |
0
| case NUM_DOUBLE:
|
3283 |
| { |
3284 |
0
| AST tmp163_AST_in = (AST)_t;
|
3285 |
0
| match(_t,NUM_DOUBLE);
|
3286 |
0
| _t = _t.getNextSibling();
|
3287 |
0
| break;
|
3288 |
| } |
3289 |
0
| case NUM_LONG:
|
3290 |
| { |
3291 |
0
| AST tmp164_AST_in = (AST)_t;
|
3292 |
0
| match(_t,NUM_LONG);
|
3293 |
0
| _t = _t.getNextSibling();
|
3294 |
0
| break;
|
3295 |
| } |
3296 |
0
| default:
|
3297 |
| { |
3298 |
0
| throw new NoViableAltException(_t);
|
3299 |
| } |
3300 |
| } |
3301 |
| } |
3302 |
| catch (RecognitionException ex) { |
3303 |
0
| reportError(ex);
|
3304 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
3305 |
| } |
3306 |
30
| _retTree = _t;
|
3307 |
| } |
3308 |
| |
3309 |
0
| public final void newArrayDeclarator(AST _t) throws RecognitionException {
|
3310 |
| |
3311 |
0
| AST newArrayDeclarator_AST_in = (AST)_t;
|
3312 |
| |
3313 |
0
| try {
|
3314 |
0
| AST __t536 = _t;
|
3315 |
0
| AST tmp165_AST_in = (AST)_t;
|
3316 |
0
| match(_t,ARRAY_DECLARATOR);
|
3317 |
0
| _t = _t.getFirstChild();
|
3318 |
| { |
3319 |
0
| if (_t==null) _t=ASTNULL;
|
3320 |
0
| switch ( _t.getType()) {
|
3321 |
0
| case ARRAY_DECLARATOR:
|
3322 |
| { |
3323 |
0
| newArrayDeclarator(_t);
|
3324 |
0
| _t = _retTree;
|
3325 |
0
| break;
|
3326 |
| } |
3327 |
0
| case 3:
|
3328 |
0
| case EXPR:
|
3329 |
| { |
3330 |
0
| break;
|
3331 |
| } |
3332 |
0
| default:
|
3333 |
| { |
3334 |
0
| throw new NoViableAltException(_t);
|
3335 |
| } |
3336 |
| } |
3337 |
| } |
3338 |
| { |
3339 |
0
| if (_t==null) _t=ASTNULL;
|
3340 |
0
| switch ( _t.getType()) {
|
3341 |
0
| case EXPR:
|
3342 |
| { |
3343 |
0
| expression(_t);
|
3344 |
0
| _t = _retTree;
|
3345 |
0
| break;
|
3346 |
| } |
3347 |
0
| case 3:
|
3348 |
| { |
3349 |
0
| break;
|
3350 |
| } |
3351 |
0
| default:
|
3352 |
| { |
3353 |
0
| throw new NoViableAltException(_t);
|
3354 |
| } |
3355 |
| } |
3356 |
| } |
3357 |
0
| _t = __t536;
|
3358 |
0
| _t = _t.getNextSibling();
|
3359 |
| } |
3360 |
| catch (RecognitionException ex) { |
3361 |
0
| reportError(ex);
|
3362 |
0
| if (_t!=null) {_t = _t.getNextSibling();}
|
3363 |
| } |
3364 |
0
| _retTree = _t;
|
3365 |
| } |
3366 |
| |
3367 |
| |
3368 |
| public static final String[] _tokenNames = { |
3369 |
| "<0>", |
3370 |
| "EOF", |
3371 |
| "<2>", |
3372 |
| "NULL_TREE_LOOKAHEAD", |
3373 |
| "BLOCK", |
3374 |
| "MODIFIERS", |
3375 |
| "OBJBLOCK", |
3376 |
| "SLIST", |
3377 |
| "CTOR_DEF", |
3378 |
| "METHOD_DEF", |
3379 |
| "VARIABLE_DEF", |
3380 |
| "INSTANCE_INIT", |
3381 |
| "STATIC_INIT", |
3382 |
| "TYPE", |
3383 |
| "CLASS_DEF", |
3384 |
| "INTERFACE_DEF", |
3385 |
| "PACKAGE_DEF", |
3386 |
| "ARRAY_DECLARATOR", |
3387 |
| "EXTENDS_CLAUSE", |
3388 |
| "IMPLEMENTS_CLAUSE", |
3389 |
| "PARAMETERS", |
3390 |
| "PARAMETER_DEF", |
3391 |
| "LABELED_STAT", |
3392 |
| "TYPECAST", |
3393 |
| "INDEX_OP", |
3394 |
| "POST_INC", |
3395 |
| "POST_DEC", |
3396 |
| "METHOD_CALL", |
3397 |
| "EXPR", |
3398 |
| "ARRAY_INIT", |
3399 |
| "IMPORT", |
3400 |
| "UNARY_MINUS", |
3401 |
| "UNARY_PLUS", |
3402 |
| "CASE_GROUP", |
3403 |
| "ELIST", |
3404 |
| "FOR_INIT", |
3405 |
| "FOR_CONDITION", |
3406 |
| "FOR_ITERATOR", |
3407 |
| "EMPTY_STAT", |
3408 |
| "\"final\"", |
3409 |
| "\"abstract\"", |
3410 |
| "\"strictfp\"", |
3411 |
| "SUPER_CTOR_CALL", |
3412 |
| "CTOR_CALL", |
3413 |
| "\"ruleset\"", |
3414 |
| "\"rule\"", |
3415 |
| "\"when\"", |
3416 |
| "\"then\"", |
3417 |
| "IDENT", |
3418 |
| "LCURLY", |
3419 |
| "RCURLY", |
3420 |
| "LPAREN", |
3421 |
| "RPAREN", |
3422 |
| "SEMI", |
3423 |
| "ASSIGN", |
3424 |
| "\"package\"", |
3425 |
| "\"import\"", |
3426 |
| "LBRACK", |
3427 |
| "RBRACK", |
3428 |
| "\"void\"", |
3429 |
| "\"boolean\"", |
3430 |
| "\"byte\"", |
3431 |
| "\"char\"", |
3432 |
| "\"short\"", |
3433 |
| "\"int\"", |
3434 |
| "\"float\"", |
3435 |
| "\"long\"", |
3436 |
| "\"double\"", |
3437 |
| "DOT", |
3438 |
| "STAR", |
3439 |
| "\"private\"", |
3440 |
| "\"public\"", |
3441 |
| "\"protected\"", |
3442 |
| "\"static\"", |
3443 |
| "\"transient\"", |
3444 |
| "\"native\"", |
3445 |
| "\"threadsafe\"", |
3446 |
| "\"synchronized\"", |
3447 |
| "\"volatile\"", |
3448 |
| "\"class\"", |
3449 |
| "\"extends\"", |
3450 |
| "\"interface\"", |
3451 |
| "COMMA", |
3452 |
| "\"implements\"", |
3453 |
| "\"this\"", |
3454 |
| "\"super\"", |
3455 |
| "\"throws\"", |
3456 |
| "COLON", |
3457 |
| "\"if\"", |
3458 |
| "\"else\"", |
3459 |
| "\"for\"", |
3460 |
| "\"while\"", |
3461 |
| "\"do\"", |
3462 |
| "\"break\"", |
3463 |
| "\"continue\"", |
3464 |
| "\"return\"", |
3465 |
| "\"switch\"", |
3466 |
| "\"throw\"", |
3467 |
| "\"case\"", |
3468 |
| "\"default\"", |
3469 |
| "\"try\"", |
3470 |
| "\"finally\"", |
3471 |
| "\"catch\"", |
3472 |
| "PLUS_ASSIGN", |
3473 |
| "MINUS_ASSIGN", |
3474 |
| "STAR_ASSIGN", |
3475 |
| "DIV_ASSIGN", |
3476 |
| "MOD_ASSIGN", |
3477 |
| "SR_ASSIGN", |
3478 |
| "BSR_ASSIGN", |
3479 |
| "SL_ASSIGN", |
3480 |
| "BAND_ASSIGN", |
3481 |
| "BXOR_ASSIGN", |
3482 |
| "BOR_ASSIGN", |
3483 |
| "QUESTION", |
3484 |
| "LOR", |
3485 |
| "LAND", |
3486 |
| "BOR", |
3487 |
| "BXOR", |
3488 |
| "BAND", |
3489 |
| "NOT_EQUAL", |
3490 |
| "EQUAL", |
3491 |
| "LT", |
3492 |
| "GT", |
3493 |
| "LE", |
3494 |
| "GE", |
3495 |
| "\"instanceof\"", |
3496 |
| "SL", |
3497 |
| "SR", |
3498 |
| "BSR", |
3499 |
| "PLUS", |
3500 |
| "MINUS", |
3501 |
| "DIV", |
3502 |
| "MOD", |
3503 |
| "INC", |
3504 |
| "DEC", |
3505 |
| "BNOT", |
3506 |
| "LNOT", |
3507 |
| "\"true\"", |
3508 |
| "\"false\"", |
3509 |
| "\"null\"", |
3510 |
| "\"new\"", |
3511 |
| "NUM_INT", |
3512 |
| "CHAR_LITERAL", |
3513 |
| "STRING_LITERAL", |
3514 |
| "NUM_FLOAT", |
3515 |
| "NUM_LONG", |
3516 |
| "NUM_DOUBLE", |
3517 |
| "WS", |
3518 |
| "SL_COMMENT", |
3519 |
| "ML_COMMENT", |
3520 |
| "ESC", |
3521 |
| "HEX_DIGIT", |
3522 |
| "VOCAB", |
3523 |
| "EXPONENT", |
3524 |
| "FLOAT_SUFFIX", |
3525 |
| "\"const\"" |
3526 |
| }; |
3527 |
| |
3528 |
4
| private static final long[] mk_tokenSet_0() {
|
3529 |
4
| long[] data = { 275150587008L, 85849022464L, 0L, 0L};
|
3530 |
4
| return data;
|
3531 |
| } |
3532 |
| public static final BitSet _tokenSet_0 = new BitSet(mk_tokenSet_0()); |
3533 |
4
| private static final long[] mk_tokenSet_1() {
|
3534 |
4
| long[] data = { 3848290697216L, 32704L, 268435456L, 0L, 0L, 0L};
|
3535 |
4
| return data;
|
3536 |
| } |
3537 |
| public static final BitSet _tokenSet_1 = new BitSet(mk_tokenSet_1()); |
3538 |
| } |
3539 |
| |