3 package com.jogamp.gluegen.cgram;
7 import antlr.CommonAST;
8 import antlr.DumpASTVisitor;
10import antlr.TreeParser;
12import antlr.collections.AST;
13import antlr.RecognitionException;
14import antlr.ANTLRException;
15import antlr.NoViableAltException;
16import antlr.MismatchedTokenException;
17import antlr.SemanticException;
18import antlr.collections.impl.BitSet;
20import antlr.collections.impl.ASTArray;
29 System.err.println(
"ANTLR Tree Parsing RecognitionException Error: " + ex.getClass().getName() +
" " + ex );
30 ex.printStackTrace(System.err);
34 System.err.println(
"ANTLR Tree Parsing NoViableAltException Error: " + ex.toString());
36 ex.printStackTrace(System.err);
41 System.err.println(
"ANTLR Tree Parsing MismatchedTokenException Error: " + ex );
42 ex.printStackTrace(System.err);
46 System.err.println(
"ANTLR Error from String: " + s);
49 System.err.println(
"ANTLR Warning from String: " + s);
51 protected void match(AST t,
int ttype)
throws MismatchedTokenException {
53 super.match(t, ttype);
55 public void match(AST t, BitSet b)
throws MismatchedTokenException {
59 protected void matchNot(AST t,
int ttype)
throws MismatchedTokenException {
61 super.matchNot(t, ttype);
63 public void traceIn(String rname, AST t) {
65 for (
int x=0; x<traceDepth; x++) System.out.print(
" ");
66 super.traceIn(rname, t);
69 for (
int x=0; x<traceDepth; x++) System.out.print(
" ");
70 super.traceOut(rname, t);
81 TNode translationUnit_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
84 if (_t==
null) _t=ASTNULL;
85 switch ( _t.getType()) {
102 throw new NoViableAltException(_t);
111 TNode externalList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
118 if (_t==
null) _t=ASTNULL;
124 if ( _cnt5>=1 ) {
break _loop5; }
else {
throw new NoViableAltException(_t);}
131 catch (RecognitionException ex) {
132 if (inputState.guessing==0) {
134 if (_t!=
null) {_t = _t.getNextSibling();}
142 public final void externalDef(AST _t)
throws RecognitionException {
144 TNode externalDef_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
147 if (_t==
null) _t=ASTNULL;
148 switch ( _t.getType()) {
171 _t = _t.getNextSibling();
182 throw new NoViableAltException(_t);
186 catch (RecognitionException ex) {
187 if (inputState.guessing==0) {
189 if (_t!=
null) {_t = _t.getNextSibling();}
197 public final void declaration(AST _t)
throws RecognitionException {
199 TNode declaration_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
205 _t = _t.getFirstChild();
209 if (_t==
null) _t=ASTNULL;
210 switch ( _t.getType()) {
223 throw new NoViableAltException(_t);
231 if (_t==
null) _t=ASTNULL;
232 if ((_t.getType()==
SEMI)) {
235 _t = _t.getNextSibling();
238 if ( _cnt18>=1 ) {
break _loop18; }
else {
throw new NoViableAltException(_t);}
245 _t = _t.getNextSibling();
247 catch (RecognitionException ex) {
248 if (inputState.guessing==0) {
250 if (_t!=
null) {_t = _t.getNextSibling();}
258 public final void functionDef(AST _t)
throws RecognitionException {
260 TNode functionDef_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
266 _t = _t.getFirstChild();
268 if (_t==
null) _t=ASTNULL;
269 switch ( _t.getType()) {
316 throw new NoViableAltException(_t);
325 if (_t==
null) _t=ASTNULL;
326 switch ( _t.getType()) {
337 _t = _t.getNextSibling();
350 _t = _t.getNextSibling();
352 catch (RecognitionException ex) {
353 if (inputState.guessing==0) {
355 if (_t!=
null) {_t = _t.getNextSibling();}
363 public final void asm_expr(AST _t)
throws RecognitionException {
365 TNode asm_expr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
371 _t = _t.getFirstChild();
373 if (_t==
null) _t=ASTNULL;
374 switch ( _t.getType()) {
379 _t = _t.getNextSibling();
388 throw new NoViableAltException(_t);
394 _t = _t.getNextSibling();
399 _t = _t.getNextSibling();
404 if (_t==
null) _t=ASTNULL;
405 if ((_t.getType()==
SEMI)) {
408 _t = _t.getNextSibling();
411 if ( _cnt13>=1 ) {
break _loop13; }
else {
throw new NoViableAltException(_t);}
418 _t = _t.getNextSibling();
420 catch (RecognitionException ex) {
421 if (inputState.guessing==0) {
423 if (_t!=
null) {_t = _t.getNextSibling();}
433 TNode typelessDeclaration_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
439 _t = _t.getFirstChild();
444 _t = _t.getNextSibling();
446 _t = _t.getNextSibling();
448 catch (RecognitionException ex) {
449 if (inputState.guessing==0) {
451 if (_t!=
null) {_t = _t.getNextSibling();}
461 TNode initDeclList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
468 if (_t==
null) _t=ASTNULL;
474 if ( _cnt78>=1 ) {
break _loop78; }
else {
throw new NoViableAltException(_t);}
481 catch (RecognitionException ex) {
482 if (inputState.guessing==0) {
484 if (_t!=
null) {_t = _t.getNextSibling();}
492 public final void expr(AST _t)
throws RecognitionException {
494 TNode expr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
497 if (_t==
null) _t=ASTNULL;
498 switch ( _t.getType()) {
660 throw new NoViableAltException(_t);
664 catch (RecognitionException ex) {
665 if (inputState.guessing==0) {
667 if (_t!=
null) {_t = _t.getNextSibling();}
677 TNode declSpecifiers_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
684 if (_t==
null) _t=ASTNULL;
685 switch ( _t.getType()) {
741 if ( _cnt21>=1 ) {
break _loop21; }
else {
throw new NoViableAltException(_t);}
748 catch (RecognitionException ex) {
749 if (inputState.guessing==0) {
751 if (_t!=
null) {_t = _t.getNextSibling();}
761 TNode storageClassSpecifier_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
764 if (_t==
null) _t=ASTNULL;
765 switch ( _t.getType()) {
770 _t = _t.getNextSibling();
777 _t = _t.getNextSibling();
784 _t = _t.getNextSibling();
797 throw new NoViableAltException(_t);
801 catch (RecognitionException ex) {
802 if (inputState.guessing==0) {
804 if (_t!=
null) {_t = _t.getNextSibling();}
814 TNode typeQualifier_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
817 if (_t==
null) _t=ASTNULL;
818 switch ( _t.getType()) {
823 _t = _t.getNextSibling();
830 _t = _t.getNextSibling();
835 throw new NoViableAltException(_t);
839 catch (RecognitionException ex) {
840 if (inputState.guessing==0) {
842 if (_t!=
null) {_t = _t.getNextSibling();}
852 TNode typeSpecifier_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
855 if (_t==
null) _t=ASTNULL;
856 switch ( _t.getType()) {
861 _t = _t.getNextSibling();
868 _t = _t.getNextSibling();
875 _t = _t.getNextSibling();
882 _t = _t.getNextSibling();
889 _t = _t.getNextSibling();
896 _t = _t.getNextSibling();
903 _t = _t.getNextSibling();
910 _t = _t.getNextSibling();
917 _t = _t.getNextSibling();
924 _t = _t.getNextSibling();
931 _t = _t.getNextSibling();
938 _t = _t.getNextSibling();
945 _t = _t.getNextSibling();
952 _t = _t.getNextSibling();
959 _t = _t.getNextSibling();
966 _t = _t.getNextSibling();
973 _t = _t.getNextSibling();
980 _t = _t.getNextSibling();
987 _t = _t.getNextSibling();
994 _t = _t.getNextSibling();
1001 _t = _t.getNextSibling();
1008 _t = _t.getNextSibling();
1015 _t = _t.getNextSibling();
1022 _t = _t.getNextSibling();
1032 if (_t==
null) _t=ASTNULL;
1052 if (_t==
null) _t=ASTNULL;
1082 _t = _t.getFirstChild();
1085 _t = _t.getNextSibling();
1087 if (_t==
null) _t=ASTNULL;
1088 switch ( _t.getType()) {
1182 throw new NoViableAltException(_t);
1188 _t = _t.getNextSibling();
1190 _t = _t.getNextSibling();
1197 _t = _t.getNextSibling();
1202 throw new NoViableAltException(_t);
1206 catch (RecognitionException ex) {
1207 if (inputState.guessing==0) {
1209 if (_t!=
null) {_t = _t.getNextSibling();}
1219 TNode functionStorageClassSpecifier_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1222 if (_t==
null) _t=ASTNULL;
1223 switch ( _t.getType()) {
1228 _t = _t.getNextSibling();
1235 _t = _t.getNextSibling();
1242 _t = _t.getNextSibling();
1247 throw new NoViableAltException(_t);
1251 catch (RecognitionException ex) {
1252 if (inputState.guessing==0) {
1254 if (_t!=
null) {_t = _t.getNextSibling();}
1264 TNode structSpecifier_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1270 _t = _t.getFirstChild();
1274 _t = _t.getNextSibling();
1276 catch (RecognitionException ex) {
1277 if (inputState.guessing==0) {
1279 if (_t!=
null) {_t = _t.getNextSibling();}
1289 TNode attributeDecl_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1292 if (_t==
null) _t=ASTNULL;
1293 switch ( _t.getType()) {
1299 _t = _t.getFirstChild();
1303 if (_t==
null) _t=ASTNULL;
1306 if ( _t==
null )
throw new MismatchedTokenException();
1307 _t = _t.getNextSibling();
1316 _t = _t.getNextSibling();
1324 _t = _t.getFirstChild();
1327 _t = _t.getNextSibling();
1332 _t = _t.getNextSibling();
1334 _t = _t.getNextSibling();
1339 throw new NoViableAltException(_t);
1343 catch (RecognitionException ex) {
1344 if (inputState.guessing==0) {
1346 if (_t!=
null) {_t = _t.getNextSibling();}
1356 TNode unionSpecifier_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1362 _t = _t.getFirstChild();
1366 _t = _t.getNextSibling();
1368 catch (RecognitionException ex) {
1369 if (inputState.guessing==0) {
1371 if (_t!=
null) {_t = _t.getNextSibling();}
1381 TNode enumSpecifier_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1387 _t = _t.getFirstChild();
1389 if (_t==
null) _t=ASTNULL;
1390 switch ( _t.getType()) {
1395 _t = _t.getNextSibling();
1405 throw new NoViableAltException(_t);
1410 if (_t==
null) _t=ASTNULL;
1411 switch ( _t.getType()) {
1416 _t = _t.getNextSibling();
1421 _t = _t.getNextSibling();
1430 throw new NoViableAltException(_t);
1435 _t = _t.getNextSibling();
1437 catch (RecognitionException ex) {
1438 if (inputState.guessing==0) {
1440 if (_t!=
null) {_t = _t.getNextSibling();}
1450 TNode typedefName_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1456 _t = _t.getFirstChild();
1459 _t = _t.getNextSibling();
1461 _t = _t.getNextSibling();
1463 catch (RecognitionException ex) {
1464 if (inputState.guessing==0) {
1466 if (_t!=
null) {_t = _t.getNextSibling();}
1474 public final void typeName(AST _t)
throws RecognitionException {
1476 TNode typeName_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1482 if (_t==
null) _t=ASTNULL;
1483 switch ( _t.getType()) {
1496 throw new NoViableAltException(_t);
1501 catch (RecognitionException ex) {
1502 if (inputState.guessing==0) {
1504 if (_t!=
null) {_t = _t.getNextSibling();}
1514 TNode structOrUnionBody_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1518 boolean synPredMatched43 =
false;
1519 if (_t==
null) _t=ASTNULL;
1520 if (((_t.getType()==
ID))) {
1522 synPredMatched43 =
true;
1523 inputState.guessing++;
1528 _t = _t.getNextSibling();
1531 _t = _t.getNextSibling();
1534 catch (RecognitionException pe) {
1535 synPredMatched43 =
false;
1538inputState.guessing--;
1540 if ( synPredMatched43 ) {
1543 _t = _t.getNextSibling();
1546 _t = _t.getNextSibling();
1548 if (_t==
null) _t=ASTNULL;
1549 switch ( _t.getType()) {
1593 throw new NoViableAltException(_t);
1599 _t = _t.getNextSibling();
1601 else if ((_t.getType()==
LCURLY)) {
1604 _t = _t.getNextSibling();
1606 if (_t==
null) _t=ASTNULL;
1607 switch ( _t.getType()) {
1651 throw new NoViableAltException(_t);
1657 _t = _t.getNextSibling();
1659 else if ((_t.getType()==
ID)) {
1662 _t = _t.getNextSibling();
1665 throw new NoViableAltException(_t);
1670 catch (RecognitionException ex) {
1671 if (inputState.guessing==0) {
1673 if (_t!=
null) {_t = _t.getNextSibling();}
1683 TNode structDeclarationList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1690 if (_t==
null) _t=ASTNULL;
1696 if ( _cnt48>=1 ) {
break _loop48; }
else {
throw new NoViableAltException(_t);}
1703 catch (RecognitionException ex) {
1704 if (inputState.guessing==0) {
1706 if (_t!=
null) {_t = _t.getNextSibling();}
1716 TNode structDeclaration_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1724 catch (RecognitionException ex) {
1725 if (inputState.guessing==0) {
1727 if (_t!=
null) {_t = _t.getNextSibling();}
1737 TNode specifierQualifierList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1744 if (_t==
null) _t=ASTNULL;
1745 switch ( _t.getType()) {
1790 if ( _cnt52>=1 ) {
break _loop52; }
else {
throw new NoViableAltException(_t);}
1797 catch (RecognitionException ex) {
1798 if (inputState.guessing==0) {
1800 if (_t!=
null) {_t = _t.getNextSibling();}
1810 TNode structDeclaratorList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1817 if (_t==
null) _t=ASTNULL;
1823 if ( _cnt55>=1 ) {
break _loop55; }
else {
throw new NoViableAltException(_t);}
1830 catch (RecognitionException ex) {
1831 if (inputState.guessing==0) {
1833 if (_t!=
null) {_t = _t.getNextSibling();}
1843 TNode structDeclarator_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1849 _t = _t.getFirstChild();
1851 if (_t==
null) _t=ASTNULL;
1852 switch ( _t.getType()) {
1868 throw new NoViableAltException(_t);
1873 if (_t==
null) _t=ASTNULL;
1874 switch ( _t.getType()) {
1879 _t = _t.getNextSibling();
1892 throw new NoViableAltException(_t);
1899 if (_t==
null) _t=ASTNULL;
1911 _t = _t.getNextSibling();
1913 catch (RecognitionException ex) {
1914 if (inputState.guessing==0) {
1916 if (_t!=
null) {_t = _t.getNextSibling();}
1924 public final void declarator(AST _t)
throws RecognitionException {
1926 TNode declarator_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
1933 _t = _t.getFirstChild();
1935 if (_t==
null) _t=ASTNULL;
1936 switch ( _t.getType()) {
1950 throw new NoViableAltException(_t);
1955 if (_t==
null) _t=ASTNULL;
1956 switch ( _t.getType()) {
1961 _t = _t.getNextSibling();
1968 _t = _t.getNextSibling();
1973 _t = _t.getNextSibling();
1978 throw new NoViableAltException(_t);
1985 if (_t==
null) _t=ASTNULL;
1986 switch ( _t.getType()) {
1992 _t = _t.getFirstChild();
1994 if (_t==
null) _t=ASTNULL;
1995 switch ( _t.getType()) {
2006 if (_t==
null) _t=ASTNULL;
2007 switch ( _t.getType()) {
2020 throw new NoViableAltException(_t);
2028 throw new NoViableAltException(_t);
2034 _t = _t.getNextSibling();
2036 _t = _t.getNextSibling();
2043 _t = _t.getNextSibling();
2045 if (_t==
null) _t=ASTNULL;
2046 switch ( _t.getType()) {
2107 throw new NoViableAltException(_t);
2113 _t = _t.getNextSibling();
2124 _t = _t.getNextSibling();
2126 catch (RecognitionException ex) {
2127 if (inputState.guessing==0) {
2129 if (_t!=
null) {_t = _t.getNextSibling();}
2137 public final void enumList(AST _t)
throws RecognitionException {
2139 TNode enumList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2146 if (_t==
null) _t=ASTNULL;
2147 if ((_t.getType()==
ID)) {
2152 if ( _cnt68>=1 ) {
break _loop68; }
else {
throw new NoViableAltException(_t);}
2159 catch (RecognitionException ex) {
2160 if (inputState.guessing==0) {
2162 if (_t!=
null) {_t = _t.getNextSibling();}
2170 public final void enumerator(AST _t)
throws RecognitionException {
2172 TNode enumerator_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2177 _t = _t.getNextSibling();
2179 if (_t==
null) _t=ASTNULL;
2180 switch ( _t.getType()) {
2185 _t = _t.getNextSibling();
2197 throw new NoViableAltException(_t);
2202 catch (RecognitionException ex) {
2203 if (inputState.guessing==0) {
2205 if (_t!=
null) {_t = _t.getNextSibling();}
2213 public final void initDecl(AST _t)
throws RecognitionException {
2215 TNode initDecl_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2216 String declName =
"";
2222 _t = _t.getFirstChild();
2228 if (_t==
null) _t=ASTNULL;
2240 if (_t==
null) _t=ASTNULL;
2241 switch ( _t.getType()) {
2246 _t = _t.getNextSibling();
2255 _t = _t.getNextSibling();
2266 throw new NoViableAltException(_t);
2271 _t = _t.getNextSibling();
2273 catch (RecognitionException ex) {
2274 if (inputState.guessing==0) {
2276 if (_t!=
null) {_t = _t.getNextSibling();}
2286 TNode initializer_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2289 if (_t==
null) _t=ASTNULL;
2290 switch ( _t.getType()) {
2296 _t = _t.getFirstChild();
2298 if (_t==
null) _t=ASTNULL;
2299 switch ( _t.getType()) {
2360 throw new NoViableAltException(_t);
2367 _t = _t.getNextSibling();
2378 throw new NoViableAltException(_t);
2382 catch (RecognitionException ex) {
2383 if (inputState.guessing==0) {
2385 if (_t!=
null) {_t = _t.getNextSibling();}
2395 TNode pointerGroup_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2401 _t = _t.getFirstChild();
2406 if (_t==
null) _t=ASTNULL;
2407 if ((_t.getType()==
STAR)) {
2410 _t = _t.getNextSibling();
2414 if (_t==
null) _t=ASTNULL;
2427 if ( _cnt89>=1 ) {
break _loop89; }
else {
throw new NoViableAltException(_t);}
2434 _t = _t.getNextSibling();
2436 catch (RecognitionException ex) {
2437 if (inputState.guessing==0) {
2439 if (_t!=
null) {_t = _t.getNextSibling();}
2447 public final void idList(AST _t)
throws RecognitionException {
2449 TNode idList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2454 _t = _t.getNextSibling();
2458 if (_t==
null) _t=ASTNULL;
2459 if ((_t.getType()==
COMMA)) {
2462 _t = _t.getNextSibling();
2465 _t = _t.getNextSibling();
2474 catch (RecognitionException ex) {
2475 if (inputState.guessing==0) {
2477 if (_t!=
null) {_t = _t.getNextSibling();}
2487 TNode initializerElementLabel_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2493 _t = _t.getFirstChild();
2495 if (_t==
null) _t=ASTNULL;
2496 switch ( _t.getType()) {
2502 _t = _t.getNextSibling();
2507 _t = _t.getNextSibling();
2509 if (_t==
null) _t=ASTNULL;
2510 switch ( _t.getType()) {
2515 _t = _t.getNextSibling();
2524 throw new NoViableAltException(_t);
2535 _t = _t.getNextSibling();
2538 _t = _t.getNextSibling();
2545 _t = _t.getNextSibling();
2548 _t = _t.getNextSibling();
2551 _t = _t.getNextSibling();
2556 throw new NoViableAltException(_t);
2561 _t = _t.getNextSibling();
2563 catch (RecognitionException ex) {
2564 if (inputState.guessing==0) {
2566 if (_t!=
null) {_t = _t.getNextSibling();}
2576 TNode lcurlyInitializer_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2582 _t = _t.getFirstChild();
2587 _t = _t.getNextSibling();
2589 _t = _t.getNextSibling();
2591 catch (RecognitionException ex) {
2592 if (inputState.guessing==0) {
2594 if (_t!=
null) {_t = _t.getNextSibling();}
2604 TNode initializerList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2610 if (_t==
null) _t=ASTNULL;
2622 catch (RecognitionException ex) {
2623 if (inputState.guessing==0) {
2625 if (_t!=
null) {_t = _t.getNextSibling();}
2635 TNode parameterTypeList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2642 if (_t==
null) _t=ASTNULL;
2647 if (_t==
null) _t=ASTNULL;
2648 switch ( _t.getType()) {
2653 _t = _t.getNextSibling();
2660 _t = _t.getNextSibling();
2671 throw new NoViableAltException(_t);
2677 if ( _cnt119>=1 ) {
break _loop119; }
else {
throw new NoViableAltException(_t);}
2684 if (_t==
null) _t=ASTNULL;
2685 switch ( _t.getType()) {
2690 _t = _t.getNextSibling();
2699 throw new NoViableAltException(_t);
2704 catch (RecognitionException ex) {
2705 if (inputState.guessing==0) {
2707 if (_t!=
null) {_t = _t.getNextSibling();}
2717 TNode parameterDeclaration_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2723 _t = _t.getFirstChild();
2727 if (_t==
null) _t=ASTNULL;
2728 switch ( _t.getType()) {
2747 throw new NoViableAltException(_t);
2752 _t = _t.getNextSibling();
2754 catch (RecognitionException ex) {
2755 if (inputState.guessing==0) {
2757 if (_t!=
null) {_t = _t.getNextSibling();}
2767 TNode nonemptyAbstractDeclarator_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
2773 _t = _t.getFirstChild();
2775 if (_t==
null) _t=ASTNULL;
2776 switch ( _t.getType()) {
2784 if (_t==
null) _t=ASTNULL;
2785 switch ( _t.getType()) {
2791 _t = _t.getNextSibling();
2793 if (_t==
null) _t=ASTNULL;
2794 switch ( _t.getType()) {
2813 throw new NoViableAltException(_t);
2819 _t = _t.getNextSibling();
2828 _t = _t.getNextSibling();
2830 if (_t==
null) _t=ASTNULL;
2831 switch ( _t.getType()) {
2892 throw new NoViableAltException(_t);
2898 _t = _t.getNextSibling();
2918 if (_t==
null) _t=ASTNULL;
2919 switch ( _t.getType()) {
2925 _t = _t.getNextSibling();
2927 if (_t==
null) _t=ASTNULL;
2928 switch ( _t.getType()) {
2947 throw new NoViableAltException(_t);
2953 _t = _t.getNextSibling();
2962 _t = _t.getNextSibling();
2964 if (_t==
null) _t=ASTNULL;
2965 switch ( _t.getType()) {
3026 throw new NoViableAltException(_t);
3032 _t = _t.getNextSibling();
3038 if ( _cnt250>=1 ) {
break _loop250; }
else {
throw new NoViableAltException(_t);}
3048 throw new NoViableAltException(_t);
3053 _t = _t.getNextSibling();
3055 catch (RecognitionException ex) {
3056 if (inputState.guessing==0) {
3058 if (_t!=
null) {_t = _t.getNextSibling();}
3068 TNode functionDeclSpecifiers_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
3075 if (_t==
null) _t=ASTNULL;
3076 switch ( _t.getType()) {
3129 if ( _cnt131>=1 ) {
break _loop131; }
else {
throw new NoViableAltException(_t);}
3136 catch (RecognitionException ex) {
3137 if (inputState.guessing==0) {
3139 if (_t!=
null) {_t = _t.getNextSibling();}
3149 TNode compoundStatement_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
3155 _t = _t.getFirstChild();
3159 if (_t==
null) _t=ASTNULL;
3160 switch ( _t.getType()) {
3182 if (_t==
null) _t=ASTNULL;
3183 switch ( _t.getType()) {
3210 throw new NoViableAltException(_t);
3216 _t = _t.getNextSibling();
3218 _t = _t.getNextSibling();
3220 catch (RecognitionException ex) {
3221 if (inputState.guessing==0) {
3223 if (_t!=
null) {_t = _t.getNextSibling();}
3233 TNode declarationList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
3240 if (_t==
null) _t=ASTNULL;
3250 if ( _cnt134>=1 ) {
break _loop134; }
else {
throw new NoViableAltException(_t);}
3257 catch (RecognitionException ex) {
3258 if (inputState.guessing==0) {
3260 if (_t!=
null) {_t = _t.getNextSibling();}
3270 TNode localLabelDecl_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
3276 _t = _t.getFirstChild();
3281 if (_t==
null) _t=ASTNULL;
3282 if ((_t.getType()==
ID)) {
3285 _t = _t.getNextSibling();
3288 if ( _cnt138>=1 ) {
break _loop138; }
else {
throw new NoViableAltException(_t);}
3295 _t = _t.getNextSibling();
3297 catch (RecognitionException ex) {
3298 if (inputState.guessing==0) {
3300 if (_t!=
null) {_t = _t.getNextSibling();}
3310 TNode statementList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
3317 if (_t==
null) _t=ASTNULL;
3323 if ( _cnt146>=1 ) {
break _loop146; }
else {
throw new NoViableAltException(_t);}
3330 catch (RecognitionException ex) {
3331 if (inputState.guessing==0) {
3333 if (_t!=
null) {_t = _t.getNextSibling();}
3341 public final void statement(AST _t)
throws RecognitionException {
3343 TNode statement_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
3349 catch (RecognitionException ex) {
3350 if (inputState.guessing==0) {
3352 if (_t!=
null) {_t = _t.getNextSibling();}
3362 TNode statementBody_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
3365 if (_t==
null) _t=ASTNULL;
3366 switch ( _t.getType()) {
3371 _t = _t.getNextSibling();
3385 _t = _t.getFirstChild();
3389 _t = _t.getNextSibling();
3397 _t = _t.getFirstChild();
3403 _t = _t.getNextSibling();
3411 _t = _t.getFirstChild();
3417 _t = _t.getNextSibling();
3425 _t = _t.getFirstChild();
3435 _t = _t.getNextSibling();
3443 _t = _t.getFirstChild();
3447 _t = _t.getNextSibling();
3454 _t = _t.getNextSibling();
3461 _t = _t.getNextSibling();
3469 _t = _t.getFirstChild();
3471 if (_t==
null) _t=ASTNULL;
3472 switch ( _t.getType()) {
3533 throw new NoViableAltException(_t);
3538 _t = _t.getNextSibling();
3546 _t = _t.getFirstChild();
3549 _t = _t.getNextSibling();
3551 if (_t==
null) _t=ASTNULL;
3552 switch ( _t.getType()) {
3579 throw new NoViableAltException(_t);
3584 _t = _t.getNextSibling();
3592 _t = _t.getFirstChild();
3596 if (_t==
null) _t=ASTNULL;
3597 switch ( _t.getType()) {
3624 throw new NoViableAltException(_t);
3629 _t = _t.getNextSibling();
3637 _t = _t.getFirstChild();
3639 if (_t==
null) _t=ASTNULL;
3640 switch ( _t.getType()) {
3667 throw new NoViableAltException(_t);
3672 _t = _t.getNextSibling();
3680 _t = _t.getFirstChild();
3686 if (_t==
null) _t=ASTNULL;
3687 switch ( _t.getType()) {
3692 _t = _t.getNextSibling();
3703 throw new NoViableAltException(_t);
3708 _t = _t.getNextSibling();
3716 _t = _t.getFirstChild();
3722 _t = _t.getNextSibling();
3727 throw new NoViableAltException(_t);
3731 catch (RecognitionException ex) {
3732 if (inputState.guessing==0) {
3734 if (_t!=
null) {_t = _t.getNextSibling();}
3742 public final void assignExpr(AST _t)
throws RecognitionException {
3744 TNode assignExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
3747 if (_t==
null) _t=ASTNULL;
3748 switch ( _t.getType()) {
3754 _t = _t.getFirstChild();
3760 _t = _t.getNextSibling();
3768 _t = _t.getFirstChild();
3774 _t = _t.getNextSibling();
3782 _t = _t.getFirstChild();
3788 _t = _t.getNextSibling();
3796 _t = _t.getFirstChild();
3802 _t = _t.getNextSibling();
3810 _t = _t.getFirstChild();
3816 _t = _t.getNextSibling();
3824 _t = _t.getFirstChild();
3830 _t = _t.getNextSibling();
3838 _t = _t.getFirstChild();
3844 _t = _t.getNextSibling();
3852 _t = _t.getFirstChild();
3858 _t = _t.getNextSibling();
3866 _t = _t.getFirstChild();
3872 _t = _t.getNextSibling();
3880 _t = _t.getFirstChild();
3886 _t = _t.getNextSibling();
3894 _t = _t.getFirstChild();
3900 _t = _t.getNextSibling();
3905 throw new NoViableAltException(_t);
3909 catch (RecognitionException ex) {
3910 if (inputState.guessing==0) {
3912 if (_t!=
null) {_t = _t.getNextSibling();}
3922 TNode conditionalExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
3928 _t = _t.getFirstChild();
3932 if (_t==
null) _t=ASTNULL;
3933 switch ( _t.getType()) {
3994 throw new NoViableAltException(_t);
4000 _t = _t.getNextSibling();
4004 _t = _t.getNextSibling();
4006 catch (RecognitionException ex) {
4007 if (inputState.guessing==0) {
4009 if (_t!=
null) {_t = _t.getNextSibling();}
4019 TNode logicalOrExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4025 _t = _t.getFirstChild();
4031 _t = _t.getNextSibling();
4033 catch (RecognitionException ex) {
4034 if (inputState.guessing==0) {
4036 if (_t!=
null) {_t = _t.getNextSibling();}
4046 TNode logicalAndExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4052 _t = _t.getFirstChild();
4058 _t = _t.getNextSibling();
4060 catch (RecognitionException ex) {
4061 if (inputState.guessing==0) {
4063 if (_t!=
null) {_t = _t.getNextSibling();}
4073 TNode inclusiveOrExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4079 _t = _t.getFirstChild();
4085 _t = _t.getNextSibling();
4087 catch (RecognitionException ex) {
4088 if (inputState.guessing==0) {
4090 if (_t!=
null) {_t = _t.getNextSibling();}
4100 TNode exclusiveOrExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4106 _t = _t.getFirstChild();
4112 _t = _t.getNextSibling();
4114 catch (RecognitionException ex) {
4115 if (inputState.guessing==0) {
4117 if (_t!=
null) {_t = _t.getNextSibling();}
4125 public final void bitAndExpr(AST _t)
throws RecognitionException {
4127 TNode bitAndExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4133 _t = _t.getFirstChild();
4139 _t = _t.getNextSibling();
4141 catch (RecognitionException ex) {
4142 if (inputState.guessing==0) {
4144 if (_t!=
null) {_t = _t.getNextSibling();}
4154 TNode equalityExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4157 if (_t==
null) _t=ASTNULL;
4158 switch ( _t.getType()) {
4164 _t = _t.getFirstChild();
4170 _t = _t.getNextSibling();
4178 _t = _t.getFirstChild();
4184 _t = _t.getNextSibling();
4189 throw new NoViableAltException(_t);
4193 catch (RecognitionException ex) {
4194 if (inputState.guessing==0) {
4196 if (_t!=
null) {_t = _t.getNextSibling();}
4206 TNode relationalExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4209 if (_t==
null) _t=ASTNULL;
4210 switch ( _t.getType()) {
4216 _t = _t.getFirstChild();
4222 _t = _t.getNextSibling();
4230 _t = _t.getFirstChild();
4236 _t = _t.getNextSibling();
4244 _t = _t.getFirstChild();
4250 _t = _t.getNextSibling();
4258 _t = _t.getFirstChild();
4264 _t = _t.getNextSibling();
4269 throw new NoViableAltException(_t);
4273 catch (RecognitionException ex) {
4274 if (inputState.guessing==0) {
4276 if (_t!=
null) {_t = _t.getNextSibling();}
4284 public final void shiftExpr(AST _t)
throws RecognitionException {
4286 TNode shiftExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4289 if (_t==
null) _t=ASTNULL;
4290 switch ( _t.getType()) {
4296 _t = _t.getFirstChild();
4302 _t = _t.getNextSibling();
4310 _t = _t.getFirstChild();
4316 _t = _t.getNextSibling();
4321 throw new NoViableAltException(_t);
4325 catch (RecognitionException ex) {
4326 if (inputState.guessing==0) {
4328 if (_t!=
null) {_t = _t.getNextSibling();}
4338 TNode additiveExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4341 if (_t==
null) _t=ASTNULL;
4342 switch ( _t.getType()) {
4348 _t = _t.getFirstChild();
4354 _t = _t.getNextSibling();
4362 _t = _t.getFirstChild();
4368 _t = _t.getNextSibling();
4373 throw new NoViableAltException(_t);
4377 catch (RecognitionException ex) {
4378 if (inputState.guessing==0) {
4380 if (_t!=
null) {_t = _t.getNextSibling();}
4388 public final void multExpr(AST _t)
throws RecognitionException {
4390 TNode multExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4393 if (_t==
null) _t=ASTNULL;
4394 switch ( _t.getType()) {
4400 _t = _t.getFirstChild();
4406 _t = _t.getNextSibling();
4414 _t = _t.getFirstChild();
4420 _t = _t.getNextSibling();
4428 _t = _t.getFirstChild();
4434 _t = _t.getNextSibling();
4439 throw new NoViableAltException(_t);
4443 catch (RecognitionException ex) {
4444 if (inputState.guessing==0) {
4446 if (_t!=
null) {_t = _t.getNextSibling();}
4454 public final void castExpr(AST _t)
throws RecognitionException {
4456 TNode castExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4462 _t = _t.getFirstChild();
4467 _t = _t.getNextSibling();
4471 _t = _t.getNextSibling();
4473 catch (RecognitionException ex) {
4474 if (inputState.guessing==0) {
4476 if (_t!=
null) {_t = _t.getNextSibling();}
4484 public final void unaryExpr(AST _t)
throws RecognitionException {
4486 TNode unaryExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4489 if (_t==
null) _t=ASTNULL;
4490 switch ( _t.getType()) {
4496 _t = _t.getFirstChild();
4500 _t = _t.getNextSibling();
4508 _t = _t.getFirstChild();
4512 _t = _t.getNextSibling();
4520 _t = _t.getFirstChild();
4526 _t = _t.getNextSibling();
4534 _t = _t.getFirstChild();
4536 boolean synPredMatched258 =
false;
4537 if (_t==
null) _t=ASTNULL;
4538 if (((_t.getType()==
LPAREN))) {
4540 synPredMatched258 =
true;
4541 inputState.guessing++;
4546 _t = _t.getNextSibling();
4551 catch (RecognitionException pe) {
4552 synPredMatched258 =
false;
4555inputState.guessing--;
4557 if ( synPredMatched258 ) {
4560 _t = _t.getNextSibling();
4565 _t = _t.getNextSibling();
4572 throw new NoViableAltException(_t);
4577 _t = _t.getNextSibling();
4585 _t = _t.getFirstChild();
4587 boolean synPredMatched262 =
false;
4588 if (_t==
null) _t=ASTNULL;
4589 if (((_t.getType()==
LPAREN))) {
4591 synPredMatched262 =
true;
4592 inputState.guessing++;
4597 _t = _t.getNextSibling();
4602 catch (RecognitionException pe) {
4603 synPredMatched262 =
false;
4606inputState.guessing--;
4608 if ( synPredMatched262 ) {
4611 _t = _t.getNextSibling();
4616 _t = _t.getNextSibling();
4623 throw new NoViableAltException(_t);
4628 _t = _t.getNextSibling();
4633 throw new NoViableAltException(_t);
4637 catch (RecognitionException ex) {
4638 if (inputState.guessing==0) {
4640 if (_t!=
null) {_t = _t.getNextSibling();}
4650 TNode postfixExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4656 _t = _t.getFirstChild();
4663 if (_t==
null) _t=ASTNULL;
4664 switch ( _t.getType()) {
4669 _t = _t.getNextSibling();
4672 _t = _t.getNextSibling();
4679 _t = _t.getNextSibling();
4682 _t = _t.getNextSibling();
4690 _t = _t.getFirstChild();
4692 if (_t==
null) _t=ASTNULL;
4693 switch ( _t.getType()) {
4754 throw new NoViableAltException(_t);
4760 _t = _t.getNextSibling();
4762 _t = _t.getNextSibling();
4769 _t = _t.getNextSibling();
4774 _t = _t.getNextSibling();
4781 _t = _t.getNextSibling();
4788 _t = _t.getNextSibling();
4793 if ( _cnt269>=1 ) {
break _loop269; }
else {
throw new NoViableAltException(_t);}
4800 _t = _t.getNextSibling();
4802 catch (RecognitionException ex) {
4803 if (inputState.guessing==0) {
4805 if (_t!=
null) {_t = _t.getNextSibling();}
4815 TNode primaryExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4818 if (_t==
null) _t=ASTNULL;
4819 switch ( _t.getType()) {
4824 _t = _t.getNextSibling();
4831 _t = _t.getNextSibling();
4851 _t = _t.getFirstChild();
4855 _t = _t.getNextSibling();
4860 throw new NoViableAltException(_t);
4864 catch (RecognitionException ex) {
4865 if (inputState.guessing==0) {
4867 if (_t!=
null) {_t = _t.getNextSibling();}
4875 public final void commaExpr(AST _t)
throws RecognitionException {
4877 TNode commaExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4883 _t = _t.getFirstChild();
4889 _t = _t.getNextSibling();
4891 catch (RecognitionException ex) {
4892 if (inputState.guessing==0) {
4894 if (_t!=
null) {_t = _t.getNextSibling();}
4902 public final void emptyExpr(AST _t)
throws RecognitionException {
4904 TNode emptyExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4909 _t = _t.getNextSibling();
4911 catch (RecognitionException ex) {
4912 if (inputState.guessing==0) {
4914 if (_t!=
null) {_t = _t.getNextSibling();}
4924 TNode compoundStatementExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4930 _t = _t.getFirstChild();
4935 _t = _t.getNextSibling();
4937 _t = _t.getNextSibling();
4939 catch (RecognitionException ex) {
4940 if (inputState.guessing==0) {
4942 if (_t!=
null) {_t = _t.getNextSibling();}
4950 public final void rangeExpr(AST _t)
throws RecognitionException {
4952 TNode rangeExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4958 _t = _t.getFirstChild();
4963 _t = _t.getNextSibling();
4967 _t = _t.getNextSibling();
4969 catch (RecognitionException ex) {
4970 if (inputState.guessing==0) {
4972 if (_t!=
null) {_t = _t.getNextSibling();}
4980 public final void gnuAsmExpr(AST _t)
throws RecognitionException {
4982 TNode gnuAsmExpr_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
4988 _t = _t.getFirstChild();
4990 if (_t==
null) _t=ASTNULL;
4991 switch ( _t.getType()) {
4996 _t = _t.getNextSibling();
5005 throw new NoViableAltException(_t);
5011 _t = _t.getNextSibling();
5015 if (_t==
null) _t=ASTNULL;
5016 if ((_t.getType()==
COLON)) {
5019 _t = _t.getNextSibling();
5021 if (_t==
null) _t=ASTNULL;
5022 switch ( _t.getType()) {
5030 if (_t==
null) _t=ASTNULL;
5031 if ((_t.getType()==
COMMA)) {
5034 _t = _t.getNextSibling();
5053 throw new NoViableAltException(_t);
5058 if (_t==
null) _t=ASTNULL;
5059 if ((_t.getType()==
COLON)) {
5062 _t = _t.getNextSibling();
5064 if (_t==
null) _t=ASTNULL;
5065 switch ( _t.getType()) {
5073 if (_t==
null) _t=ASTNULL;
5074 if ((_t.getType()==
COMMA)) {
5077 _t = _t.getNextSibling();
5096 throw new NoViableAltException(_t);
5101 else if ((_t.getType()==
COLON||_t.getType()==
RPAREN)) {
5104 throw new NoViableAltException(_t);
5109 else if ((_t.getType()==
COLON||_t.getType()==
RPAREN)) {
5112 throw new NoViableAltException(_t);
5117 if (_t==
null) _t=ASTNULL;
5118 switch ( _t.getType()) {
5123 _t = _t.getNextSibling();
5129 if (_t==
null) _t=ASTNULL;
5130 if ((_t.getType()==
COMMA)) {
5133 _t = _t.getNextSibling();
5151 throw new NoViableAltException(_t);
5157 _t = _t.getNextSibling();
5159 _t = _t.getNextSibling();
5161 catch (RecognitionException ex) {
5162 if (inputState.guessing==0) {
5164 if (_t!=
null) {_t = _t.getNextSibling();}
5172 protected final void stringConst(AST _t)
throws RecognitionException {
5174 TNode stringConst_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
5180 _t = _t.getFirstChild();
5185 if (_t==
null) _t=ASTNULL;
5189 _t = _t.getNextSibling();
5192 if ( _cnt279>=1 ) {
break _loop279; }
else {
throw new NoViableAltException(_t);}
5199 _t = _t.getNextSibling();
5201 catch (RecognitionException ex) {
5202 if (inputState.guessing==0) {
5204 if (_t!=
null) {_t = _t.getNextSibling();}
5214 TNode strOptExprPair_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
5220 if (_t==
null) _t=ASTNULL;
5221 switch ( _t.getType()) {
5226 _t = _t.getNextSibling();
5231 _t = _t.getNextSibling();
5242 throw new NoViableAltException(_t);
5247 catch (RecognitionException ex) {
5248 if (inputState.guessing==0) {
5250 if (_t!=
null) {_t = _t.getNextSibling();}
5260 TNode unaryOperator_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
5263 if (_t==
null) _t=ASTNULL;
5264 switch ( _t.getType()) {
5269 _t = _t.getNextSibling();
5276 _t = _t.getNextSibling();
5283 _t = _t.getNextSibling();
5290 _t = _t.getNextSibling();
5297 _t = _t.getNextSibling();
5304 _t = _t.getNextSibling();
5311 _t = _t.getNextSibling();
5318 _t = _t.getNextSibling();
5325 _t = _t.getNextSibling();
5330 throw new NoViableAltException(_t);
5334 catch (RecognitionException ex) {
5335 if (inputState.guessing==0) {
5337 if (_t!=
null) {_t = _t.getNextSibling();}
5347 TNode argExprList_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
5354 if (_t==
null) _t=ASTNULL;
5360 if ( _cnt274>=1 ) {
break _loop274; }
else {
throw new NoViableAltException(_t);}
5367 catch (RecognitionException ex) {
5368 if (inputState.guessing==0) {
5370 if (_t!=
null) {_t = _t.getNextSibling();}
5378 protected final void charConst(AST _t)
throws RecognitionException {
5380 TNode charConst_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
5385 _t = _t.getNextSibling();
5387 catch (RecognitionException ex) {
5388 if (inputState.guessing==0) {
5390 if (_t!=
null) {_t = _t.getNextSibling();}
5398 protected final void intConst(AST _t)
throws RecognitionException {
5400 TNode intConst_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
5403 if (_t==
null) _t=ASTNULL;
5404 switch ( _t.getType()) {
5409 _t = _t.getNextSibling();
5416 _t = _t.getNextSibling();
5423 _t = _t.getNextSibling();
5430 _t = _t.getNextSibling();
5437 _t = _t.getNextSibling();
5444 _t = _t.getNextSibling();
5451 _t = _t.getNextSibling();
5458 _t = _t.getNextSibling();
5465 _t = _t.getNextSibling();
5470 throw new NoViableAltException(_t);
5474 catch (RecognitionException ex) {
5475 if (inputState.guessing==0) {
5477 if (_t!=
null) {_t = _t.getNextSibling();}
5485 protected final void floatConst(AST _t)
throws RecognitionException {
5487 TNode floatConst_AST_in = (_t == ASTNULL) ?
null : (
TNode)_t;
5490 if (_t==
null) _t=ASTNULL;
5491 switch ( _t.getType()) {
5496 _t = _t.getNextSibling();
5503 _t = _t.getNextSibling();
5510 _t = _t.getNextSibling();
5515 throw new NoViableAltException(_t);
5519 catch (RecognitionException ex) {
5520 if (inputState.guessing==0) {
5522 if (_t!=
null) {_t = _t.getNextSibling();}
5535 "NULL_TREE_LOOKAHEAD",
5635 "UnsignedOctalConst",
5643 "DoubleDoubleConst",
5648 "NStructDeclarator",
5653 "NFunctionCallArgs",
5654 "NNonemptyAbstractDeclarator",
5658 "NParameterTypeList",
5660 "NCompoundStatement",
5661 "NParameterDeclaration",
5668 "NInitializerElementLabel",
5669 "NLcurlyInitializer",
5701 private static final long[] mk_tokenSet_0() {
5702 long[] data = { 544L, -9214364837600034816L, 4096L, 0L, 0L, 0L};
5706 private static final long[] mk_tokenSet_1() {
5707 long[] data = { 4398046387264L, 562949953421312L, 25769803776L, 0L, 0L, 0L};
5711 private static final long[] mk_tokenSet_2() {
5712 long[] data = { -4616189618054757888L, 1152921504606846976L, 17L, 0L, 0L, 0L};
5716 private static final long[] mk_tokenSet_3() {
5717 long[] data = { 250688651132928L, 2972375790571749375L, 69793221356L, 0L, 0L, 0L};
final void inclusiveOrExpr(AST _t)
final void typeSpecifier(AST _t)
final void translationUnit(AST _t)
final void initDeclList(AST _t)
final void structSpecifier(AST _t)
final void argExprList(AST _t)
final void unionSpecifier(AST _t)
final void conditionalExpr(AST _t)
void matchNot(AST t, int ttype)
final void statement(AST _t)
static final BitSet _tokenSet_2
final void intConst(AST _t)
static final BitSet _tokenSet_1
final void charConst(AST _t)
final void declarator(AST _t)
void reportError(NoViableAltException ex)
final void commaExpr(AST _t)
final void gnuAsmExpr(AST _t)
final void assignExpr(AST _t)
void reportError(MismatchedTokenException ex)
final void idList(AST _t)
final void rangeExpr(AST _t)
final void logicalOrExpr(AST _t)
final void pointerGroup(AST _t)
final void multExpr(AST _t)
final void unaryOperator(AST _t)
final void shiftExpr(AST _t)
void match(AST t, BitSet b)
final void equalityExpr(AST _t)
final void declarationList(AST _t)
final void logicalAndExpr(AST _t)
final void unaryExpr(AST _t)
final void asm_expr(AST _t)
final void functionDeclSpecifiers(AST _t)
final void additiveExpr(AST _t)
final void strOptExprPair(AST _t)
final void compoundStatement(AST _t)
void traceIn(String rname, AST t)
final void parameterDeclaration(AST _t)
static final String[] _tokenNames
final void structDeclaratorList(AST _t)
final void typelessDeclaration(AST _t)
void reportError(String s)
final void castExpr(AST _t)
final void functionDef(AST _t)
final void declSpecifiers(AST _t)
final void enumerator(AST _t)
final void enumSpecifier(AST _t)
final void floatConst(AST _t)
final void exclusiveOrExpr(AST _t)
final void nonemptyAbstractDeclarator(AST _t)
final void initDecl(AST _t)
final void typeName(AST _t)
final void emptyExpr(AST _t)
final void structDeclarator(AST _t)
final void functionStorageClassSpecifier(AST _t)
static final BitSet _tokenSet_3
final void structOrUnionBody(AST _t)
void traceOut(String rname, AST t)
final void specifierQualifierList(AST _t)
final void postfixExpr(AST _t)
final void storageClassSpecifier(AST _t)
final void initializerList(AST _t)
final void structDeclarationList(AST _t)
final void enumList(AST _t)
final void bitAndExpr(AST _t)
static final BitSet _tokenSet_0
final void primaryExpr(AST _t)
void reportWarning(String s)
final void attributeDecl(AST _t)
final void typeQualifier(AST _t)
final void typedefName(AST _t)
final void stringConst(AST _t)
final void statementList(AST _t)
final void externalList(AST _t)
final void externalDef(AST _t)
final void compoundStatementExpr(AST _t)
void match(AST t, int ttype)
final void initializer(AST _t)
final void structDeclaration(AST _t)
final void statementBody(AST _t)
void reportError(RecognitionException ex)
final void initializerElementLabel(AST _t)
final void lcurlyInitializer(AST _t)
final void declaration(AST _t)
final void relationalExpr(AST _t)
final void localLabelDecl(AST _t)
final void parameterTypeList(AST _t)
Class TNode is an implementation of the AST interface and adds many useful features:
static void printTree(final AST t)
print given tree to System.out
int NParameterDeclaration
int NInitializerElementLabel
int NNonemptyAbstractDeclarator