0001: /* Generated By:JJTree&JavaCC: Do not edit this line. SpeedoQL.java */
0002: package org.objectweb.speedo.query.jdo.parser;
0003:
0004: public class SpeedoQL/*@bgen(jjtree)*/implements
0005: SpeedoQLTreeConstants, SpeedoQLConstants {/*@bgen(jjtree)*/
0006: protected JJTSpeedoQLState jjtree = new JJTSpeedoQLState();
0007:
0008: public static void main(String args[]) throws ParseException {
0009: SpeedoQL parser;
0010: if (args.length == 0) {
0011: System.out
0012: .println("SpeedoQL Parser : Reading from standard input . . .");
0013: parser = new SpeedoQL(System.in);
0014: } else if (args.length == 1) {
0015: System.out.println("SpeedoQL Parser : Reading from file "
0016: + args[0] + " . . .");
0017: try {
0018: parser = new SpeedoQL(new java.io.FileInputStream(
0019: args[0]));
0020: } catch (java.io.FileNotFoundException e) {
0021: System.out.println("SpeedoQL Parser : File " + args[0]
0022: + " not found.");
0023: return;
0024: }
0025: } else {
0026: System.out.println("SpeedoQL Parser : Usage is one of:");
0027: System.out
0028: .println(" java org.objectweb.speedo.test.conform.query.SpeedoQL < inputfile");
0029: System.out.println("OR");
0030: System.out
0031: .println(" java org.objectweb.speedo.test.conform.query.SpeedoQL inputfile");
0032: return;
0033: }
0034: try {
0035: SimpleNode sn = parser.SpeedoQL();
0036: sn.dump("");
0037: System.out
0038: .println("SpeedoQL Parser : Java program parsed successfully.");
0039: } catch (ParseException e) {
0040: System.out
0041: .println("SpeedoQL Parser : Encountered errors during parse.");
0042: e.printStackTrace();
0043: }
0044: }
0045:
0046: /* **************************************
0047: *********** GRAMMAR ******************
0048: ************************************** */
0049: final public SimpleNode SpeedoQL() throws ParseException {
0050: /*@bgen(jjtree) SpeedoQL */
0051: ASTSpeedoQL jjtn000 = new ASTSpeedoQL(JJTSPEEDOQL);
0052: boolean jjtc000 = true;
0053: jjtree.openNodeScope(jjtn000);
0054: try {
0055: SpeedoPrimary();
0056: jj_consume_token(0);
0057: jjtree.closeNodeScope(jjtn000, true);
0058: jjtc000 = false;
0059: {
0060: if (true)
0061: return jjtn000;
0062: }
0063: } catch (Throwable jjte000) {
0064: if (jjtc000) {
0065: jjtree.clearNodeScope(jjtn000);
0066: jjtc000 = false;
0067: } else {
0068: jjtree.popNode();
0069: }
0070: if (jjte000 instanceof RuntimeException) {
0071: {
0072: if (true)
0073: throw (RuntimeException) jjte000;
0074: }
0075: }
0076: if (jjte000 instanceof ParseException) {
0077: {
0078: if (true)
0079: throw (ParseException) jjte000;
0080: }
0081: }
0082: {
0083: if (true)
0084: throw (Error) jjte000;
0085: }
0086: } finally {
0087: if (jjtc000) {
0088: jjtree.closeNodeScope(jjtn000, true);
0089: }
0090: }
0091: throw new Error("Missing return statement in function");
0092: }
0093:
0094: final public void SpeedoPrimary() throws ParseException {
0095: /*@bgen(jjtree) SpeedoPrimary */
0096: ASTSpeedoPrimary jjtn000 = new ASTSpeedoPrimary(
0097: JJTSPEEDOPRIMARY);
0098: boolean jjtc000 = true;
0099: jjtree.openNodeScope(jjtn000);
0100: try {
0101: label_1: while (true) {
0102: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0103: case NULL:
0104: case TRUE:
0105: case FALSE:
0106: case INTEGER_LITERAL:
0107: case FLOATING_POINT_LITERAL:
0108: case CHARACTER_LITERAL:
0109: case STRING_LITERAL:
0110: case IDENTIFIER:
0111: case 45:
0112: ;
0113: break;
0114: default:
0115: jj_la1[0] = jj_gen;
0116: break label_1;
0117: }
0118: Primary();
0119: }
0120: } catch (Throwable jjte000) {
0121: if (jjtc000) {
0122: jjtree.clearNodeScope(jjtn000);
0123: jjtc000 = false;
0124: } else {
0125: jjtree.popNode();
0126: }
0127: if (jjte000 instanceof RuntimeException) {
0128: {
0129: if (true)
0130: throw (RuntimeException) jjte000;
0131: }
0132: }
0133: if (jjte000 instanceof ParseException) {
0134: {
0135: if (true)
0136: throw (ParseException) jjte000;
0137: }
0138: }
0139: {
0140: if (true)
0141: throw (Error) jjte000;
0142: }
0143: } finally {
0144: if (jjtc000) {
0145: jjtree.closeNodeScope(jjtn000, true);
0146: }
0147: }
0148: }
0149:
0150: final public void Primary() throws ParseException {
0151: /*@bgen(jjtree) Primary */
0152: ASTPrimary jjtn000 = new ASTPrimary(JJTPRIMARY);
0153: boolean jjtc000 = true;
0154: jjtree.openNodeScope(jjtn000);
0155: Token t;
0156: try {
0157: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0158: case 45:
0159: jj_consume_token(45);
0160: Expression();
0161: jj_consume_token(46);
0162: label_2: while (true) {
0163: if (jj_2_1(2)) {
0164: ;
0165: } else {
0166: break label_2;
0167: }
0168: jj_consume_token(DOT);
0169: t = jj_consume_token(IDENTIFIER);
0170: jjtn000.value = jjtn000.value + "." + t.image;
0171: label_3: while (true) {
0172: if (jj_2_2(2)) {
0173: ;
0174: } else {
0175: break label_3;
0176: }
0177: jj_consume_token(DOT);
0178: t = jj_consume_token(IDENTIFIER);
0179: jjtn000.value = jjtn000.value + "." + t.image;
0180: }
0181: label_4: while (true) {
0182: if (jj_2_3(2)) {
0183: ;
0184: } else {
0185: break label_4;
0186: }
0187: ArgumentList();
0188: }
0189: label_5: while (true) {
0190: if (jj_2_4(2)) {
0191: ;
0192: } else {
0193: break label_5;
0194: }
0195: jj_consume_token(DOT);
0196: t = jj_consume_token(IDENTIFIER);
0197: jjtn000.value = jjtn000.value + "." + t.image;
0198: }
0199: }
0200: break;
0201: case IDENTIFIER:
0202: QualifiedName();
0203: label_6: while (true) {
0204: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0205: case 45:
0206: ;
0207: break;
0208: default:
0209: jj_la1[1] = jj_gen;
0210: break label_6;
0211: }
0212: ArgumentList();
0213: }
0214: label_7: while (true) {
0215: if (jj_2_5(2)) {
0216: ;
0217: } else {
0218: break label_7;
0219: }
0220: jj_consume_token(DOT);
0221: t = jj_consume_token(IDENTIFIER);
0222: jjtn000.value = jjtn000.value + "." + t.image;
0223: label_8: while (true) {
0224: if (jj_2_6(2)) {
0225: ;
0226: } else {
0227: break label_8;
0228: }
0229: jj_consume_token(DOT);
0230: t = jj_consume_token(IDENTIFIER);
0231: jjtn000.value = jjtn000.value + "." + t.image;
0232: }
0233: label_9: while (true) {
0234: if (jj_2_7(2)) {
0235: ;
0236: } else {
0237: break label_9;
0238: }
0239: ArgumentList();
0240: }
0241: label_10: while (true) {
0242: if (jj_2_8(2)) {
0243: ;
0244: } else {
0245: break label_10;
0246: }
0247: jj_consume_token(DOT);
0248: t = jj_consume_token(IDENTIFIER);
0249: jjtn000.value = jjtn000.value + "." + t.image;
0250: }
0251: }
0252: break;
0253: case NULL:
0254: case TRUE:
0255: case FALSE:
0256: case INTEGER_LITERAL:
0257: case FLOATING_POINT_LITERAL:
0258: case CHARACTER_LITERAL:
0259: case STRING_LITERAL:
0260: Literal();
0261: label_11: while (true) {
0262: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0263: case DOT:
0264: ;
0265: break;
0266: default:
0267: jj_la1[2] = jj_gen;
0268: break label_11;
0269: }
0270: jj_consume_token(DOT);
0271: t = jj_consume_token(IDENTIFIER);
0272: jjtn000.value = jjtn000.value + "." + t.image;
0273: label_12: while (true) {
0274: if (jj_2_9(2)) {
0275: ;
0276: } else {
0277: break label_12;
0278: }
0279: jj_consume_token(DOT);
0280: t = jj_consume_token(IDENTIFIER);
0281: jjtn000.value = jjtn000.value + "." + t.image;
0282: }
0283: label_13: while (true) {
0284: if (jj_2_10(2)) {
0285: ;
0286: } else {
0287: break label_13;
0288: }
0289: ArgumentList();
0290: }
0291: label_14: while (true) {
0292: if (jj_2_11(2)) {
0293: ;
0294: } else {
0295: break label_14;
0296: }
0297: jj_consume_token(DOT);
0298: t = jj_consume_token(IDENTIFIER);
0299: jjtn000.value = jjtn000.value + "." + t.image;
0300: }
0301: }
0302: break;
0303: default:
0304: jj_la1[3] = jj_gen;
0305: jj_consume_token(-1);
0306: throw new ParseException();
0307: }
0308: } catch (Throwable jjte000) {
0309: if (jjtc000) {
0310: jjtree.clearNodeScope(jjtn000);
0311: jjtc000 = false;
0312: } else {
0313: jjtree.popNode();
0314: }
0315: if (jjte000 instanceof RuntimeException) {
0316: {
0317: if (true)
0318: throw (RuntimeException) jjte000;
0319: }
0320: }
0321: if (jjte000 instanceof ParseException) {
0322: {
0323: if (true)
0324: throw (ParseException) jjte000;
0325: }
0326: }
0327: {
0328: if (true)
0329: throw (Error) jjte000;
0330: }
0331: } finally {
0332: if (jjtc000) {
0333: jjtree.closeNodeScope(jjtn000, true);
0334: }
0335: }
0336: }
0337:
0338: /* ***************** EXPRESSION ********************* */
0339: final public void Expression() throws ParseException {
0340: RelationalExpression();
0341: }
0342:
0343: final public void RelationalExpression() throws ParseException {
0344: /*@bgen(jjtree) RelationalExpression */
0345: ASTRelationalExpression jjtn000 = new ASTRelationalExpression(
0346: JJTRELATIONALEXPRESSION);
0347: boolean jjtc000 = true;
0348: jjtree.openNodeScope(jjtn000);
0349: Token t;
0350: try {
0351: AdditiveExpression();
0352: label_15: while (true) {
0353: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0354: case LT:
0355: case GT:
0356: case LTE:
0357: case GTE:
0358: case EQ:
0359: case NEQ:
0360: case OR:
0361: case AND:
0362: case BITWISEOR:
0363: case BITWISEXOR:
0364: case BITWISEAND:
0365: ;
0366: break;
0367: default:
0368: jj_la1[4] = jj_gen;
0369: break label_15;
0370: }
0371: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0372: case OR:
0373: t = jj_consume_token(OR);
0374: break;
0375: case AND:
0376: t = jj_consume_token(AND);
0377: break;
0378: case BITWISEOR:
0379: t = jj_consume_token(BITWISEOR);
0380: break;
0381: case BITWISEXOR:
0382: t = jj_consume_token(BITWISEXOR);
0383: break;
0384: case BITWISEAND:
0385: t = jj_consume_token(BITWISEAND);
0386: break;
0387: case EQ:
0388: t = jj_consume_token(EQ);
0389: break;
0390: case NEQ:
0391: t = jj_consume_token(NEQ);
0392: break;
0393: case LT:
0394: t = jj_consume_token(LT);
0395: break;
0396: case GT:
0397: t = jj_consume_token(GT);
0398: break;
0399: case GTE:
0400: t = jj_consume_token(GTE);
0401: break;
0402: case LTE:
0403: t = jj_consume_token(LTE);
0404: break;
0405: default:
0406: jj_la1[5] = jj_gen;
0407: jj_consume_token(-1);
0408: throw new ParseException();
0409: }
0410: jjtn000.ops.add(new Integer(t.kind));
0411: AdditiveExpression();
0412: }
0413: } catch (Throwable jjte000) {
0414: if (jjtc000) {
0415: jjtree.clearNodeScope(jjtn000);
0416: jjtc000 = false;
0417: } else {
0418: jjtree.popNode();
0419: }
0420: if (jjte000 instanceof RuntimeException) {
0421: {
0422: if (true)
0423: throw (RuntimeException) jjte000;
0424: }
0425: }
0426: if (jjte000 instanceof ParseException) {
0427: {
0428: if (true)
0429: throw (ParseException) jjte000;
0430: }
0431: }
0432: {
0433: if (true)
0434: throw (Error) jjte000;
0435: }
0436: } finally {
0437: if (jjtc000) {
0438: jjtree.closeNodeScope(jjtn000, true);
0439: }
0440: }
0441: }
0442:
0443: final public void AdditiveExpression() throws ParseException {
0444: /*@bgen(jjtree) AdditiveExpression */
0445: ASTAdditiveExpression jjtn000 = new ASTAdditiveExpression(
0446: JJTADDITIVEEXPRESSION);
0447: boolean jjtc000 = true;
0448: jjtree.openNodeScope(jjtn000);
0449: Token t;
0450: try {
0451: UnaryExpression();
0452: label_16: while (true) {
0453: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0454: case PLUS:
0455: case MINUS:
0456: case MULT:
0457: case DIV:
0458: ;
0459: break;
0460: default:
0461: jj_la1[6] = jj_gen;
0462: break label_16;
0463: }
0464: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0465: case PLUS:
0466: t = jj_consume_token(PLUS);
0467: break;
0468: case MINUS:
0469: t = jj_consume_token(MINUS);
0470: break;
0471: case MULT:
0472: t = jj_consume_token(MULT);
0473: break;
0474: case DIV:
0475: t = jj_consume_token(DIV);
0476: break;
0477: default:
0478: jj_la1[7] = jj_gen;
0479: jj_consume_token(-1);
0480: throw new ParseException();
0481: }
0482: jjtn000.ops.add(new Integer(t.kind));
0483: UnaryExpression();
0484: }
0485: } catch (Throwable jjte000) {
0486: if (jjtc000) {
0487: jjtree.clearNodeScope(jjtn000);
0488: jjtc000 = false;
0489: } else {
0490: jjtree.popNode();
0491: }
0492: if (jjte000 instanceof RuntimeException) {
0493: {
0494: if (true)
0495: throw (RuntimeException) jjte000;
0496: }
0497: }
0498: if (jjte000 instanceof ParseException) {
0499: {
0500: if (true)
0501: throw (ParseException) jjte000;
0502: }
0503: }
0504: {
0505: if (true)
0506: throw (Error) jjte000;
0507: }
0508: } finally {
0509: if (jjtc000) {
0510: jjtree.closeNodeScope(jjtn000, true);
0511: }
0512: }
0513: }
0514:
0515: final public void UnaryExpression() throws ParseException {
0516: /*@bgen(jjtree) UnaryExpression */
0517: ASTUnaryExpression jjtn000 = new ASTUnaryExpression(
0518: JJTUNARYEXPRESSION);
0519: boolean jjtc000 = true;
0520: jjtree.openNodeScope(jjtn000);
0521: Token t;
0522: try {
0523: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0524: case PLUS:
0525: case MINUS:
0526: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0527: case PLUS:
0528: t = jj_consume_token(PLUS);
0529: break;
0530: case MINUS:
0531: t = jj_consume_token(MINUS);
0532: break;
0533: default:
0534: jj_la1[8] = jj_gen;
0535: jj_consume_token(-1);
0536: throw new ParseException();
0537: }
0538: jjtn000.ops.add(new Integer(t.kind));
0539: UnaryExpression();
0540: break;
0541: case BITWISECOMPL:
0542: case NOT:
0543: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0544: case BITWISECOMPL:
0545: t = jj_consume_token(BITWISECOMPL);
0546: break;
0547: case NOT:
0548: t = jj_consume_token(NOT);
0549: break;
0550: default:
0551: jj_la1[9] = jj_gen;
0552: jj_consume_token(-1);
0553: throw new ParseException();
0554: }
0555: jjtn000.ops.add(new Integer(t.kind));
0556: UnaryExpression();
0557: break;
0558: default:
0559: jj_la1[10] = jj_gen;
0560: if (jj_2_12(2147483647)) {
0561: CastExpression();
0562: } else if (jj_2_13(2147483647)) {
0563: PostfixExpression();
0564: } else {
0565: jj_consume_token(-1);
0566: throw new ParseException();
0567: }
0568: }
0569: } catch (Throwable jjte000) {
0570: if (jjtc000) {
0571: jjtree.clearNodeScope(jjtn000);
0572: jjtc000 = false;
0573: } else {
0574: jjtree.popNode();
0575: }
0576: if (jjte000 instanceof RuntimeException) {
0577: {
0578: if (true)
0579: throw (RuntimeException) jjte000;
0580: }
0581: }
0582: if (jjte000 instanceof ParseException) {
0583: {
0584: if (true)
0585: throw (ParseException) jjte000;
0586: }
0587: }
0588: {
0589: if (true)
0590: throw (Error) jjte000;
0591: }
0592: } finally {
0593: if (jjtc000) {
0594: jjtree.closeNodeScope(jjtn000, true);
0595: }
0596: }
0597: }
0598:
0599: final public void PostfixExpression() throws ParseException {
0600: if (jj_2_14(2147483647)) {
0601: Primary();
0602: } else if (jj_2_15(2147483647)) {
0603: QualifiedName();
0604: } else {
0605: jj_consume_token(-1);
0606: throw new ParseException();
0607: }
0608: }
0609:
0610: final public void CastExpression() throws ParseException {
0611: /*@bgen(jjtree) CastExpression */
0612: ASTCastExpression jjtn000 = new ASTCastExpression(
0613: JJTCASTEXPRESSION);
0614: boolean jjtc000 = true;
0615: jjtree.openNodeScope(jjtn000);
0616: try {
0617: jj_consume_token(45);
0618: Type();
0619: jj_consume_token(46);
0620: UnaryExpression();
0621: } catch (Throwable jjte000) {
0622: if (jjtc000) {
0623: jjtree.clearNodeScope(jjtn000);
0624: jjtc000 = false;
0625: } else {
0626: jjtree.popNode();
0627: }
0628: if (jjte000 instanceof RuntimeException) {
0629: {
0630: if (true)
0631: throw (RuntimeException) jjte000;
0632: }
0633: }
0634: if (jjte000 instanceof ParseException) {
0635: {
0636: if (true)
0637: throw (ParseException) jjte000;
0638: }
0639: }
0640: {
0641: if (true)
0642: throw (Error) jjte000;
0643: }
0644: } finally {
0645: if (jjtc000) {
0646: jjtree.closeNodeScope(jjtn000, true);
0647: }
0648: }
0649: }
0650:
0651: final public void ArgumentList() throws ParseException {
0652: /*@bgen(jjtree) ArgumentList */
0653: ASTArgumentList jjtn000 = new ASTArgumentList(JJTARGUMENTLIST);
0654: boolean jjtc000 = true;
0655: jjtree.openNodeScope(jjtn000);
0656: try {
0657: jj_consume_token(45);
0658: label_17: while (true) {
0659: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0660: case NULL:
0661: case TRUE:
0662: case FALSE:
0663: case PLUS:
0664: case MINUS:
0665: case BITWISECOMPL:
0666: case NOT:
0667: case INTEGER_LITERAL:
0668: case FLOATING_POINT_LITERAL:
0669: case CHARACTER_LITERAL:
0670: case STRING_LITERAL:
0671: case IDENTIFIER:
0672: case 45:
0673: ;
0674: break;
0675: default:
0676: jj_la1[11] = jj_gen;
0677: break label_17;
0678: }
0679: Expression();
0680: }
0681: jj_consume_token(46);
0682: } catch (Throwable jjte000) {
0683: if (jjtc000) {
0684: jjtree.clearNodeScope(jjtn000);
0685: jjtc000 = false;
0686: } else {
0687: jjtree.popNode();
0688: }
0689: if (jjte000 instanceof RuntimeException) {
0690: {
0691: if (true)
0692: throw (RuntimeException) jjte000;
0693: }
0694: }
0695: if (jjte000 instanceof ParseException) {
0696: {
0697: if (true)
0698: throw (ParseException) jjte000;
0699: }
0700: }
0701: {
0702: if (true)
0703: throw (Error) jjte000;
0704: }
0705: } finally {
0706: if (jjtc000) {
0707: jjtree.closeNodeScope(jjtn000, true);
0708: }
0709: }
0710: }
0711:
0712: /* ***************** LITERAL ********************* */
0713: final public void Literal() throws ParseException {
0714: /*@bgen(jjtree) Literal */
0715: ASTLiteral jjtn000 = new ASTLiteral(JJTLITERAL);
0716: boolean jjtc000 = true;
0717: jjtree.openNodeScope(jjtn000);
0718: Token t;
0719: try {
0720: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0721: case INTEGER_LITERAL:
0722: t = jj_consume_token(INTEGER_LITERAL);
0723: jjtree.closeNodeScope(jjtn000, true);
0724: jjtc000 = false;
0725: jjtn000.value = new Integer(t.image);
0726: break;
0727: case FLOATING_POINT_LITERAL:
0728: t = jj_consume_token(FLOATING_POINT_LITERAL);
0729: jjtree.closeNodeScope(jjtn000, true);
0730: jjtc000 = false;
0731: jjtn000.value = new Float(t.image);
0732: break;
0733: case CHARACTER_LITERAL:
0734: t = jj_consume_token(CHARACTER_LITERAL);
0735: jjtree.closeNodeScope(jjtn000, true);
0736: jjtc000 = false;
0737: jjtn000.value = new Character(t.image.charAt(0));
0738: break;
0739: case STRING_LITERAL:
0740: t = jj_consume_token(STRING_LITERAL);
0741: jjtree.closeNodeScope(jjtn000, true);
0742: jjtc000 = false;
0743: jjtn000.value = t.image;
0744: break;
0745: case TRUE:
0746: t = jj_consume_token(TRUE);
0747: jjtree.closeNodeScope(jjtn000, true);
0748: jjtc000 = false;
0749: jjtn000.value = Boolean.TRUE;
0750: break;
0751: case FALSE:
0752: t = jj_consume_token(FALSE);
0753: jjtree.closeNodeScope(jjtn000, true);
0754: jjtc000 = false;
0755: jjtn000.value = Boolean.FALSE;
0756: break;
0757: case NULL:
0758: t = jj_consume_token(NULL);
0759: jjtree.closeNodeScope(jjtn000, true);
0760: jjtc000 = false;
0761: jjtn000.value = null;
0762: break;
0763: default:
0764: jj_la1[12] = jj_gen;
0765: jj_consume_token(-1);
0766: throw new ParseException();
0767: }
0768: } finally {
0769: if (jjtc000) {
0770: jjtree.closeNodeScope(jjtn000, true);
0771: }
0772: }
0773: }
0774:
0775: /* ***************** TYPE ********************* */
0776: final public void Type() throws ParseException {
0777: /*@bgen(jjtree) Type */
0778: ASTType jjtn000 = new ASTType(JJTTYPE);
0779: boolean jjtc000 = true;
0780: jjtree.openNodeScope(jjtn000);
0781: Token t;
0782: try {
0783: switch ((jj_ntk == -1) ? jj_ntk() : jj_ntk) {
0784: case FLOAT:
0785: t = jj_consume_token(FLOAT);
0786: jjtree.closeNodeScope(jjtn000, true);
0787: jjtc000 = false;
0788: jjtn000.value = "float";
0789: break;
0790: case DOUBLE:
0791: t = jj_consume_token(DOUBLE);
0792: jjtree.closeNodeScope(jjtn000, true);
0793: jjtc000 = false;
0794: jjtn000.value = "double";
0795: break;
0796: case BYTE:
0797: t = jj_consume_token(BYTE);
0798: jjtree.closeNodeScope(jjtn000, true);
0799: jjtc000 = false;
0800: jjtn000.value = "byte";
0801: break;
0802: case SHORT:
0803: t = jj_consume_token(SHORT);
0804: jjtree.closeNodeScope(jjtn000, true);
0805: jjtc000 = false;
0806: jjtn000.value = "short";
0807: break;
0808: case INT:
0809: t = jj_consume_token(INT);
0810: jjtree.closeNodeScope(jjtn000, true);
0811: jjtc000 = false;
0812: jjtn000.value = "integer";
0813: break;
0814: case LONG:
0815: t = jj_consume_token(LONG);
0816: jjtree.closeNodeScope(jjtn000, true);
0817: jjtc000 = false;
0818: jjtn000.value = "long";
0819: break;
0820: case CHAR:
0821: t = jj_consume_token(CHAR);
0822: jjtree.closeNodeScope(jjtn000, true);
0823: jjtc000 = false;
0824: jjtn000.value = "char";
0825: break;
0826: case BOOLEAN:
0827: t = jj_consume_token(BOOLEAN);
0828: jjtree.closeNodeScope(jjtn000, true);
0829: jjtc000 = false;
0830: jjtn000.value = "boolean";
0831: break;
0832: case IDENTIFIER:
0833: QualifiedName();
0834: break;
0835: default:
0836: jj_la1[13] = jj_gen;
0837: jj_consume_token(-1);
0838: throw new ParseException();
0839: }
0840: } catch (Throwable jjte000) {
0841: if (jjtc000) {
0842: jjtree.clearNodeScope(jjtn000);
0843: jjtc000 = false;
0844: } else {
0845: jjtree.popNode();
0846: }
0847: if (jjte000 instanceof RuntimeException) {
0848: {
0849: if (true)
0850: throw (RuntimeException) jjte000;
0851: }
0852: }
0853: if (jjte000 instanceof ParseException) {
0854: {
0855: if (true)
0856: throw (ParseException) jjte000;
0857: }
0858: }
0859: {
0860: if (true)
0861: throw (Error) jjte000;
0862: }
0863: } finally {
0864: if (jjtc000) {
0865: jjtree.closeNodeScope(jjtn000, true);
0866: }
0867: }
0868: }
0869:
0870: /* ***************** NAME ********************* */
0871: final public void QualifiedName() throws ParseException {
0872: /*@bgen(jjtree) QualifiedName */
0873: ASTQualifiedName jjtn000 = new ASTQualifiedName(
0874: JJTQUALIFIEDNAME);
0875: boolean jjtc000 = true;
0876: jjtree.openNodeScope(jjtn000);
0877: Token t;
0878: try {
0879: t = jj_consume_token(IDENTIFIER);
0880: jjtn000.value = t.image;
0881: label_18: while (true) {
0882: if (jj_2_16(2)) {
0883: ;
0884: } else {
0885: break label_18;
0886: }
0887: jj_consume_token(DOT);
0888: t = jj_consume_token(IDENTIFIER);
0889: jjtn000.value = jjtn000.value + "." + t.image;
0890: }
0891: } finally {
0892: if (jjtc000) {
0893: jjtree.closeNodeScope(jjtn000, true);
0894: }
0895: }
0896: }
0897:
0898: final private boolean jj_2_1(int xla) {
0899: jj_la = xla;
0900: jj_lastpos = jj_scanpos = token;
0901: boolean retval = !jj_3_1();
0902: jj_save(0, xla);
0903: return retval;
0904: }
0905:
0906: final private boolean jj_2_2(int xla) {
0907: jj_la = xla;
0908: jj_lastpos = jj_scanpos = token;
0909: boolean retval = !jj_3_2();
0910: jj_save(1, xla);
0911: return retval;
0912: }
0913:
0914: final private boolean jj_2_3(int xla) {
0915: jj_la = xla;
0916: jj_lastpos = jj_scanpos = token;
0917: boolean retval = !jj_3_3();
0918: jj_save(2, xla);
0919: return retval;
0920: }
0921:
0922: final private boolean jj_2_4(int xla) {
0923: jj_la = xla;
0924: jj_lastpos = jj_scanpos = token;
0925: boolean retval = !jj_3_4();
0926: jj_save(3, xla);
0927: return retval;
0928: }
0929:
0930: final private boolean jj_2_5(int xla) {
0931: jj_la = xla;
0932: jj_lastpos = jj_scanpos = token;
0933: boolean retval = !jj_3_5();
0934: jj_save(4, xla);
0935: return retval;
0936: }
0937:
0938: final private boolean jj_2_6(int xla) {
0939: jj_la = xla;
0940: jj_lastpos = jj_scanpos = token;
0941: boolean retval = !jj_3_6();
0942: jj_save(5, xla);
0943: return retval;
0944: }
0945:
0946: final private boolean jj_2_7(int xla) {
0947: jj_la = xla;
0948: jj_lastpos = jj_scanpos = token;
0949: boolean retval = !jj_3_7();
0950: jj_save(6, xla);
0951: return retval;
0952: }
0953:
0954: final private boolean jj_2_8(int xla) {
0955: jj_la = xla;
0956: jj_lastpos = jj_scanpos = token;
0957: boolean retval = !jj_3_8();
0958: jj_save(7, xla);
0959: return retval;
0960: }
0961:
0962: final private boolean jj_2_9(int xla) {
0963: jj_la = xla;
0964: jj_lastpos = jj_scanpos = token;
0965: boolean retval = !jj_3_9();
0966: jj_save(8, xla);
0967: return retval;
0968: }
0969:
0970: final private boolean jj_2_10(int xla) {
0971: jj_la = xla;
0972: jj_lastpos = jj_scanpos = token;
0973: boolean retval = !jj_3_10();
0974: jj_save(9, xla);
0975: return retval;
0976: }
0977:
0978: final private boolean jj_2_11(int xla) {
0979: jj_la = xla;
0980: jj_lastpos = jj_scanpos = token;
0981: boolean retval = !jj_3_11();
0982: jj_save(10, xla);
0983: return retval;
0984: }
0985:
0986: final private boolean jj_2_12(int xla) {
0987: jj_la = xla;
0988: jj_lastpos = jj_scanpos = token;
0989: boolean retval = !jj_3_12();
0990: jj_save(11, xla);
0991: return retval;
0992: }
0993:
0994: final private boolean jj_2_13(int xla) {
0995: jj_la = xla;
0996: jj_lastpos = jj_scanpos = token;
0997: boolean retval = !jj_3_13();
0998: jj_save(12, xla);
0999: return retval;
1000: }
1001:
1002: final private boolean jj_2_14(int xla) {
1003: jj_la = xla;
1004: jj_lastpos = jj_scanpos = token;
1005: boolean retval = !jj_3_14();
1006: jj_save(13, xla);
1007: return retval;
1008: }
1009:
1010: final private boolean jj_2_15(int xla) {
1011: jj_la = xla;
1012: jj_lastpos = jj_scanpos = token;
1013: boolean retval = !jj_3_15();
1014: jj_save(14, xla);
1015: return retval;
1016: }
1017:
1018: final private boolean jj_2_16(int xla) {
1019: jj_la = xla;
1020: jj_lastpos = jj_scanpos = token;
1021: boolean retval = !jj_3_16();
1022: jj_save(15, xla);
1023: return retval;
1024: }
1025:
1026: final private boolean jj_3R_70() {
1027: if (jj_scan_token(NEQ))
1028: return true;
1029: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1030: return false;
1031: return false;
1032: }
1033:
1034: final private boolean jj_3R_69() {
1035: if (jj_scan_token(EQ))
1036: return true;
1037: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1038: return false;
1039: return false;
1040: }
1041:
1042: final private boolean jj_3_16() {
1043: if (jj_scan_token(DOT))
1044: return true;
1045: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1046: return false;
1047: if (jj_scan_token(IDENTIFIER))
1048: return true;
1049: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1050: return false;
1051: return false;
1052: }
1053:
1054: final private boolean jj_3R_23() {
1055: if (jj_scan_token(IDENTIFIER))
1056: return true;
1057: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1058: return false;
1059: Token xsp;
1060: while (true) {
1061: xsp = jj_scanpos;
1062: if (jj_3_16()) {
1063: jj_scanpos = xsp;
1064: break;
1065: }
1066: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1067: return false;
1068: }
1069: return false;
1070: }
1071:
1072: final private boolean jj_3R_68() {
1073: if (jj_scan_token(BITWISEAND))
1074: return true;
1075: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1076: return false;
1077: return false;
1078: }
1079:
1080: final private boolean jj_3R_41() {
1081: if (jj_3R_23())
1082: return true;
1083: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1084: return false;
1085: return false;
1086: }
1087:
1088: final private boolean jj_3R_40() {
1089: if (jj_scan_token(BOOLEAN))
1090: return true;
1091: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1092: return false;
1093: return false;
1094: }
1095:
1096: final private boolean jj_3R_39() {
1097: if (jj_scan_token(CHAR))
1098: return true;
1099: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1100: return false;
1101: return false;
1102: }
1103:
1104: final private boolean jj_3R_38() {
1105: if (jj_scan_token(LONG))
1106: return true;
1107: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1108: return false;
1109: return false;
1110: }
1111:
1112: final private boolean jj_3R_37() {
1113: if (jj_scan_token(INT))
1114: return true;
1115: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1116: return false;
1117: return false;
1118: }
1119:
1120: final private boolean jj_3R_36() {
1121: if (jj_scan_token(SHORT))
1122: return true;
1123: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1124: return false;
1125: return false;
1126: }
1127:
1128: final private boolean jj_3R_35() {
1129: if (jj_scan_token(BYTE))
1130: return true;
1131: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1132: return false;
1133: return false;
1134: }
1135:
1136: final private boolean jj_3R_34() {
1137: if (jj_scan_token(DOUBLE))
1138: return true;
1139: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1140: return false;
1141: return false;
1142: }
1143:
1144: final private boolean jj_3R_33() {
1145: if (jj_scan_token(FLOAT))
1146: return true;
1147: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1148: return false;
1149: return false;
1150: }
1151:
1152: final private boolean jj_3R_25() {
1153: Token xsp;
1154: xsp = jj_scanpos;
1155: if (jj_3R_33()) {
1156: jj_scanpos = xsp;
1157: if (jj_3R_34()) {
1158: jj_scanpos = xsp;
1159: if (jj_3R_35()) {
1160: jj_scanpos = xsp;
1161: if (jj_3R_36()) {
1162: jj_scanpos = xsp;
1163: if (jj_3R_37()) {
1164: jj_scanpos = xsp;
1165: if (jj_3R_38()) {
1166: jj_scanpos = xsp;
1167: if (jj_3R_39()) {
1168: jj_scanpos = xsp;
1169: if (jj_3R_40()) {
1170: jj_scanpos = xsp;
1171: if (jj_3R_41())
1172: return true;
1173: if (jj_la == 0
1174: && jj_scanpos == jj_lastpos)
1175: return false;
1176: } else if (jj_la == 0
1177: && jj_scanpos == jj_lastpos)
1178: return false;
1179: } else if (jj_la == 0
1180: && jj_scanpos == jj_lastpos)
1181: return false;
1182: } else if (jj_la == 0
1183: && jj_scanpos == jj_lastpos)
1184: return false;
1185: } else if (jj_la == 0
1186: && jj_scanpos == jj_lastpos)
1187: return false;
1188: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1189: return false;
1190: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1191: return false;
1192: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1193: return false;
1194: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1195: return false;
1196: return false;
1197: }
1198:
1199: final private boolean jj_3R_78() {
1200: if (jj_scan_token(DIV))
1201: return true;
1202: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1203: return false;
1204: return false;
1205: }
1206:
1207: final private boolean jj_3R_67() {
1208: if (jj_scan_token(BITWISEXOR))
1209: return true;
1210: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1211: return false;
1212: return false;
1213: }
1214:
1215: final private boolean jj_3R_60() {
1216: if (jj_scan_token(NULL))
1217: return true;
1218: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1219: return false;
1220: return false;
1221: }
1222:
1223: final private boolean jj_3R_59() {
1224: if (jj_scan_token(FALSE))
1225: return true;
1226: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1227: return false;
1228: return false;
1229: }
1230:
1231: final private boolean jj_3R_58() {
1232: if (jj_scan_token(TRUE))
1233: return true;
1234: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1235: return false;
1236: return false;
1237: }
1238:
1239: final private boolean jj_3R_57() {
1240: if (jj_scan_token(STRING_LITERAL))
1241: return true;
1242: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1243: return false;
1244: return false;
1245: }
1246:
1247: final private boolean jj_3R_56() {
1248: if (jj_scan_token(CHARACTER_LITERAL))
1249: return true;
1250: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1251: return false;
1252: return false;
1253: }
1254:
1255: final private boolean jj_3R_55() {
1256: if (jj_scan_token(FLOATING_POINT_LITERAL))
1257: return true;
1258: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1259: return false;
1260: return false;
1261: }
1262:
1263: final private boolean jj_3R_47() {
1264: Token xsp;
1265: xsp = jj_scanpos;
1266: if (jj_3R_54()) {
1267: jj_scanpos = xsp;
1268: if (jj_3R_55()) {
1269: jj_scanpos = xsp;
1270: if (jj_3R_56()) {
1271: jj_scanpos = xsp;
1272: if (jj_3R_57()) {
1273: jj_scanpos = xsp;
1274: if (jj_3R_58()) {
1275: jj_scanpos = xsp;
1276: if (jj_3R_59()) {
1277: jj_scanpos = xsp;
1278: if (jj_3R_60())
1279: return true;
1280: if (jj_la == 0
1281: && jj_scanpos == jj_lastpos)
1282: return false;
1283: } else if (jj_la == 0
1284: && jj_scanpos == jj_lastpos)
1285: return false;
1286: } else if (jj_la == 0
1287: && jj_scanpos == jj_lastpos)
1288: return false;
1289: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1290: return false;
1291: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1292: return false;
1293: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1294: return false;
1295: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1296: return false;
1297: return false;
1298: }
1299:
1300: final private boolean jj_3R_54() {
1301: if (jj_scan_token(INTEGER_LITERAL))
1302: return true;
1303: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1304: return false;
1305: return false;
1306: }
1307:
1308: final private boolean jj_3R_77() {
1309: if (jj_scan_token(MULT))
1310: return true;
1311: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1312: return false;
1313: return false;
1314: }
1315:
1316: final private boolean jj_3R_24() {
1317: if (jj_3R_32())
1318: return true;
1319: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1320: return false;
1321: return false;
1322: }
1323:
1324: final private boolean jj_3R_66() {
1325: if (jj_scan_token(BITWISEOR))
1326: return true;
1327: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1328: return false;
1329: return false;
1330: }
1331:
1332: final private boolean jj_3R_76() {
1333: if (jj_scan_token(MINUS))
1334: return true;
1335: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1336: return false;
1337: return false;
1338: }
1339:
1340: final private boolean jj_3R_19() {
1341: if (jj_scan_token(45))
1342: return true;
1343: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1344: return false;
1345: Token xsp;
1346: while (true) {
1347: xsp = jj_scanpos;
1348: if (jj_3R_24()) {
1349: jj_scanpos = xsp;
1350: break;
1351: }
1352: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1353: return false;
1354: }
1355: if (jj_scan_token(46))
1356: return true;
1357: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1358: return false;
1359: return false;
1360: }
1361:
1362: final private boolean jj_3R_53() {
1363: if (jj_scan_token(NOT))
1364: return true;
1365: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1366: return false;
1367: return false;
1368: }
1369:
1370: final private boolean jj_3_15() {
1371: if (jj_3R_23())
1372: return true;
1373: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1374: return false;
1375: return false;
1376: }
1377:
1378: final private boolean jj_3_14() {
1379: if (jj_3R_22())
1380: return true;
1381: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1382: return false;
1383: return false;
1384: }
1385:
1386: final private boolean jj_3R_65() {
1387: if (jj_scan_token(AND))
1388: return true;
1389: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1390: return false;
1391: return false;
1392: }
1393:
1394: final private boolean jj_3R_20() {
1395: if (jj_scan_token(45))
1396: return true;
1397: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1398: return false;
1399: if (jj_3R_25())
1400: return true;
1401: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1402: return false;
1403: if (jj_scan_token(46))
1404: return true;
1405: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1406: return false;
1407: if (jj_3R_26())
1408: return true;
1409: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1410: return false;
1411: return false;
1412: }
1413:
1414: final private boolean jj_3R_51() {
1415: if (jj_scan_token(MINUS))
1416: return true;
1417: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1418: return false;
1419: return false;
1420: }
1421:
1422: final private boolean jj_3R_75() {
1423: if (jj_scan_token(PLUS))
1424: return true;
1425: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1426: return false;
1427: return false;
1428: }
1429:
1430: final private boolean jj_3_13() {
1431: if (jj_3R_21())
1432: return true;
1433: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1434: return false;
1435: return false;
1436: }
1437:
1438: final private boolean jj_3_12() {
1439: if (jj_3R_20())
1440: return true;
1441: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1442: return false;
1443: return false;
1444: }
1445:
1446: final private boolean jj_3R_63() {
1447: Token xsp;
1448: xsp = jj_scanpos;
1449: if (jj_3R_75()) {
1450: jj_scanpos = xsp;
1451: if (jj_3R_76()) {
1452: jj_scanpos = xsp;
1453: if (jj_3R_77()) {
1454: jj_scanpos = xsp;
1455: if (jj_3R_78())
1456: return true;
1457: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1458: return false;
1459: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1460: return false;
1461: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1462: return false;
1463: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1464: return false;
1465: if (jj_3R_26())
1466: return true;
1467: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1468: return false;
1469: return false;
1470: }
1471:
1472: final private boolean jj_3R_28() {
1473: if (jj_3R_23())
1474: return true;
1475: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1476: return false;
1477: return false;
1478: }
1479:
1480: final private boolean jj_3R_27() {
1481: if (jj_3R_22())
1482: return true;
1483: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1484: return false;
1485: return false;
1486: }
1487:
1488: final private boolean jj_3R_21() {
1489: Token xsp;
1490: xsp = jj_scanpos;
1491: if (jj_3R_27()) {
1492: jj_scanpos = xsp;
1493: if (jj_3R_28())
1494: return true;
1495: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1496: return false;
1497: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1498: return false;
1499: return false;
1500: }
1501:
1502: final private boolean jj_3R_64() {
1503: if (jj_scan_token(OR))
1504: return true;
1505: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1506: return false;
1507: return false;
1508: }
1509:
1510: final private boolean jj_3R_62() {
1511: Token xsp;
1512: xsp = jj_scanpos;
1513: if (jj_3R_64()) {
1514: jj_scanpos = xsp;
1515: if (jj_3R_65()) {
1516: jj_scanpos = xsp;
1517: if (jj_3R_66()) {
1518: jj_scanpos = xsp;
1519: if (jj_3R_67()) {
1520: jj_scanpos = xsp;
1521: if (jj_3R_68()) {
1522: jj_scanpos = xsp;
1523: if (jj_3R_69()) {
1524: jj_scanpos = xsp;
1525: if (jj_3R_70()) {
1526: jj_scanpos = xsp;
1527: if (jj_3R_71()) {
1528: jj_scanpos = xsp;
1529: if (jj_3R_72()) {
1530: jj_scanpos = xsp;
1531: if (jj_3R_73()) {
1532: jj_scanpos = xsp;
1533: if (jj_3R_74())
1534: return true;
1535: if (jj_la == 0
1536: && jj_scanpos == jj_lastpos)
1537: return false;
1538: } else if (jj_la == 0
1539: && jj_scanpos == jj_lastpos)
1540: return false;
1541: } else if (jj_la == 0
1542: && jj_scanpos == jj_lastpos)
1543: return false;
1544: } else if (jj_la == 0
1545: && jj_scanpos == jj_lastpos)
1546: return false;
1547: } else if (jj_la == 0
1548: && jj_scanpos == jj_lastpos)
1549: return false;
1550: } else if (jj_la == 0
1551: && jj_scanpos == jj_lastpos)
1552: return false;
1553: } else if (jj_la == 0
1554: && jj_scanpos == jj_lastpos)
1555: return false;
1556: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1557: return false;
1558: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1559: return false;
1560: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1561: return false;
1562: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1563: return false;
1564: if (jj_3R_61())
1565: return true;
1566: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1567: return false;
1568: return false;
1569: }
1570:
1571: final private boolean jj_3R_45() {
1572: if (jj_3R_21())
1573: return true;
1574: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1575: return false;
1576: return false;
1577: }
1578:
1579: final private boolean jj_3R_44() {
1580: if (jj_3R_20())
1581: return true;
1582: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1583: return false;
1584: return false;
1585: }
1586:
1587: final private boolean jj_3R_52() {
1588: if (jj_scan_token(BITWISECOMPL))
1589: return true;
1590: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1591: return false;
1592: return false;
1593: }
1594:
1595: final private boolean jj_3R_43() {
1596: Token xsp;
1597: xsp = jj_scanpos;
1598: if (jj_3R_52()) {
1599: jj_scanpos = xsp;
1600: if (jj_3R_53())
1601: return true;
1602: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1603: return false;
1604: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1605: return false;
1606: if (jj_3R_26())
1607: return true;
1608: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1609: return false;
1610: return false;
1611: }
1612:
1613: final private boolean jj_3R_50() {
1614: if (jj_scan_token(PLUS))
1615: return true;
1616: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1617: return false;
1618: return false;
1619: }
1620:
1621: final private boolean jj_3R_26() {
1622: Token xsp;
1623: xsp = jj_scanpos;
1624: if (jj_3R_42()) {
1625: jj_scanpos = xsp;
1626: if (jj_3R_43()) {
1627: jj_scanpos = xsp;
1628: if (jj_3R_44()) {
1629: jj_scanpos = xsp;
1630: if (jj_3R_45())
1631: return true;
1632: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1633: return false;
1634: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1635: return false;
1636: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1637: return false;
1638: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1639: return false;
1640: return false;
1641: }
1642:
1643: final private boolean jj_3R_42() {
1644: Token xsp;
1645: xsp = jj_scanpos;
1646: if (jj_3R_50()) {
1647: jj_scanpos = xsp;
1648: if (jj_3R_51())
1649: return true;
1650: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1651: return false;
1652: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
1653: return false;
1654: if (jj_3R_26())
1655: return true;
1656: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1657: return false;
1658: return false;
1659: }
1660:
1661: final private boolean jj_3R_61() {
1662: if (jj_3R_26())
1663: return true;
1664: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1665: return false;
1666: Token xsp;
1667: while (true) {
1668: xsp = jj_scanpos;
1669: if (jj_3R_63()) {
1670: jj_scanpos = xsp;
1671: break;
1672: }
1673: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1674: return false;
1675: }
1676: return false;
1677: }
1678:
1679: final private boolean jj_3R_49() {
1680: if (jj_3R_61())
1681: return true;
1682: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1683: return false;
1684: Token xsp;
1685: while (true) {
1686: xsp = jj_scanpos;
1687: if (jj_3R_62()) {
1688: jj_scanpos = xsp;
1689: break;
1690: }
1691: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1692: return false;
1693: }
1694: return false;
1695: }
1696:
1697: final private boolean jj_3R_32() {
1698: if (jj_3R_49())
1699: return true;
1700: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1701: return false;
1702: return false;
1703: }
1704:
1705: final private boolean jj_3_11() {
1706: if (jj_scan_token(DOT))
1707: return true;
1708: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1709: return false;
1710: if (jj_scan_token(IDENTIFIER))
1711: return true;
1712: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1713: return false;
1714: return false;
1715: }
1716:
1717: final private boolean jj_3_9() {
1718: if (jj_scan_token(DOT))
1719: return true;
1720: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1721: return false;
1722: if (jj_scan_token(IDENTIFIER))
1723: return true;
1724: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1725: return false;
1726: return false;
1727: }
1728:
1729: final private boolean jj_3_10() {
1730: if (jj_3R_19())
1731: return true;
1732: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1733: return false;
1734: return false;
1735: }
1736:
1737: final private boolean jj_3R_48() {
1738: if (jj_scan_token(DOT))
1739: return true;
1740: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1741: return false;
1742: if (jj_scan_token(IDENTIFIER))
1743: return true;
1744: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1745: return false;
1746: Token xsp;
1747: while (true) {
1748: xsp = jj_scanpos;
1749: if (jj_3_9()) {
1750: jj_scanpos = xsp;
1751: break;
1752: }
1753: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1754: return false;
1755: }
1756: while (true) {
1757: xsp = jj_scanpos;
1758: if (jj_3_10()) {
1759: jj_scanpos = xsp;
1760: break;
1761: }
1762: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1763: return false;
1764: }
1765: while (true) {
1766: xsp = jj_scanpos;
1767: if (jj_3_11()) {
1768: jj_scanpos = xsp;
1769: break;
1770: }
1771: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1772: return false;
1773: }
1774: return false;
1775: }
1776:
1777: final private boolean jj_3_8() {
1778: if (jj_scan_token(DOT))
1779: return true;
1780: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1781: return false;
1782: if (jj_scan_token(IDENTIFIER))
1783: return true;
1784: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1785: return false;
1786: return false;
1787: }
1788:
1789: final private boolean jj_3R_31() {
1790: if (jj_3R_47())
1791: return true;
1792: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1793: return false;
1794: Token xsp;
1795: while (true) {
1796: xsp = jj_scanpos;
1797: if (jj_3R_48()) {
1798: jj_scanpos = xsp;
1799: break;
1800: }
1801: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1802: return false;
1803: }
1804: return false;
1805: }
1806:
1807: final private boolean jj_3_7() {
1808: if (jj_3R_19())
1809: return true;
1810: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1811: return false;
1812: return false;
1813: }
1814:
1815: final private boolean jj_3_6() {
1816: if (jj_scan_token(DOT))
1817: return true;
1818: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1819: return false;
1820: if (jj_scan_token(IDENTIFIER))
1821: return true;
1822: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1823: return false;
1824: return false;
1825: }
1826:
1827: final private boolean jj_3_5() {
1828: if (jj_scan_token(DOT))
1829: return true;
1830: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1831: return false;
1832: if (jj_scan_token(IDENTIFIER))
1833: return true;
1834: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1835: return false;
1836: Token xsp;
1837: while (true) {
1838: xsp = jj_scanpos;
1839: if (jj_3_6()) {
1840: jj_scanpos = xsp;
1841: break;
1842: }
1843: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1844: return false;
1845: }
1846: while (true) {
1847: xsp = jj_scanpos;
1848: if (jj_3_7()) {
1849: jj_scanpos = xsp;
1850: break;
1851: }
1852: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1853: return false;
1854: }
1855: while (true) {
1856: xsp = jj_scanpos;
1857: if (jj_3_8()) {
1858: jj_scanpos = xsp;
1859: break;
1860: }
1861: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1862: return false;
1863: }
1864: return false;
1865: }
1866:
1867: final private boolean jj_3R_74() {
1868: if (jj_scan_token(LTE))
1869: return true;
1870: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1871: return false;
1872: return false;
1873: }
1874:
1875: final private boolean jj_3R_46() {
1876: if (jj_3R_19())
1877: return true;
1878: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1879: return false;
1880: return false;
1881: }
1882:
1883: final private boolean jj_3_4() {
1884: if (jj_scan_token(DOT))
1885: return true;
1886: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1887: return false;
1888: if (jj_scan_token(IDENTIFIER))
1889: return true;
1890: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1891: return false;
1892: return false;
1893: }
1894:
1895: final private boolean jj_3R_30() {
1896: if (jj_3R_23())
1897: return true;
1898: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1899: return false;
1900: Token xsp;
1901: while (true) {
1902: xsp = jj_scanpos;
1903: if (jj_3R_46()) {
1904: jj_scanpos = xsp;
1905: break;
1906: }
1907: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1908: return false;
1909: }
1910: while (true) {
1911: xsp = jj_scanpos;
1912: if (jj_3_5()) {
1913: jj_scanpos = xsp;
1914: break;
1915: }
1916: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1917: return false;
1918: }
1919: return false;
1920: }
1921:
1922: final private boolean jj_3_3() {
1923: if (jj_3R_19())
1924: return true;
1925: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1926: return false;
1927: return false;
1928: }
1929:
1930: final private boolean jj_3_2() {
1931: if (jj_scan_token(DOT))
1932: return true;
1933: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1934: return false;
1935: if (jj_scan_token(IDENTIFIER))
1936: return true;
1937: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1938: return false;
1939: return false;
1940: }
1941:
1942: final private boolean jj_3_1() {
1943: if (jj_scan_token(DOT))
1944: return true;
1945: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1946: return false;
1947: if (jj_scan_token(IDENTIFIER))
1948: return true;
1949: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1950: return false;
1951: Token xsp;
1952: while (true) {
1953: xsp = jj_scanpos;
1954: if (jj_3_2()) {
1955: jj_scanpos = xsp;
1956: break;
1957: }
1958: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1959: return false;
1960: }
1961: while (true) {
1962: xsp = jj_scanpos;
1963: if (jj_3_3()) {
1964: jj_scanpos = xsp;
1965: break;
1966: }
1967: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1968: return false;
1969: }
1970: while (true) {
1971: xsp = jj_scanpos;
1972: if (jj_3_4()) {
1973: jj_scanpos = xsp;
1974: break;
1975: }
1976: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1977: return false;
1978: }
1979: return false;
1980: }
1981:
1982: final private boolean jj_3R_29() {
1983: if (jj_scan_token(45))
1984: return true;
1985: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1986: return false;
1987: if (jj_3R_32())
1988: return true;
1989: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1990: return false;
1991: if (jj_scan_token(46))
1992: return true;
1993: if (jj_la == 0 && jj_scanpos == jj_lastpos)
1994: return false;
1995: Token xsp;
1996: while (true) {
1997: xsp = jj_scanpos;
1998: if (jj_3_1()) {
1999: jj_scanpos = xsp;
2000: break;
2001: }
2002: if (jj_la == 0 && jj_scanpos == jj_lastpos)
2003: return false;
2004: }
2005: return false;
2006: }
2007:
2008: final private boolean jj_3R_22() {
2009: Token xsp;
2010: xsp = jj_scanpos;
2011: if (jj_3R_29()) {
2012: jj_scanpos = xsp;
2013: if (jj_3R_30()) {
2014: jj_scanpos = xsp;
2015: if (jj_3R_31())
2016: return true;
2017: if (jj_la == 0 && jj_scanpos == jj_lastpos)
2018: return false;
2019: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
2020: return false;
2021: } else if (jj_la == 0 && jj_scanpos == jj_lastpos)
2022: return false;
2023: return false;
2024: }
2025:
2026: final private boolean jj_3R_73() {
2027: if (jj_scan_token(GTE))
2028: return true;
2029: if (jj_la == 0 && jj_scanpos == jj_lastpos)
2030: return false;
2031: return false;
2032: }
2033:
2034: final private boolean jj_3R_72() {
2035: if (jj_scan_token(GT))
2036: return true;
2037: if (jj_la == 0 && jj_scanpos == jj_lastpos)
2038: return false;
2039: return false;
2040: }
2041:
2042: final private boolean jj_3R_71() {
2043: if (jj_scan_token(LT))
2044: return true;
2045: if (jj_la == 0 && jj_scanpos == jj_lastpos)
2046: return false;
2047: return false;
2048: }
2049:
2050: public SpeedoQLTokenManager token_source;
2051: SimpleCharStream jj_input_stream;
2052: public Token token, jj_nt;
2053: private int jj_ntk;
2054: private Token jj_scanpos, jj_lastpos;
2055: private int jj_la;
2056: public boolean lookingAhead = false;
2057: private boolean jj_semLA;
2058: private int jj_gen;
2059: final private int[] jj_la1 = new int[14];
2060: final private int[] jj_la1_0 = { 0x700, 0x0, 0x0, 0x700,
2061: 0x7f0f0000, 0x7f0f0000, 0xf00000, 0xf00000, 0x300000,
2062: 0x80000000, 0x80300000, 0x80300700, 0x700, 0xf8e0, };
2063: final private int[] jj_la1_1 = { 0x2744, 0x2000, 0x2, 0x2744, 0x0,
2064: 0x0, 0x0, 0x0, 0x0, 0x1, 0x1, 0x2745, 0x344, 0x400, };
2065: final private JJCalls[] jj_2_rtns = new JJCalls[16];
2066: private boolean jj_rescan = false;
2067: private int jj_gc = 0;
2068:
2069: public SpeedoQL(java.io.InputStream stream) {
2070: jj_input_stream = new SimpleCharStream(stream, 1, 1);
2071: token_source = new SpeedoQLTokenManager(jj_input_stream);
2072: token = new Token();
2073: jj_ntk = -1;
2074: jj_gen = 0;
2075: for (int i = 0; i < 14; i++)
2076: jj_la1[i] = -1;
2077: for (int i = 0; i < jj_2_rtns.length; i++)
2078: jj_2_rtns[i] = new JJCalls();
2079: }
2080:
2081: public void ReInit(java.io.InputStream stream) {
2082: jj_input_stream.ReInit(stream, 1, 1);
2083: token_source.ReInit(jj_input_stream);
2084: token = new Token();
2085: jj_ntk = -1;
2086: jjtree.reset();
2087: jj_gen = 0;
2088: for (int i = 0; i < 14; i++)
2089: jj_la1[i] = -1;
2090: for (int i = 0; i < jj_2_rtns.length; i++)
2091: jj_2_rtns[i] = new JJCalls();
2092: }
2093:
2094: public SpeedoQL(java.io.Reader stream) {
2095: jj_input_stream = new SimpleCharStream(stream, 1, 1);
2096: token_source = new SpeedoQLTokenManager(jj_input_stream);
2097: token = new Token();
2098: jj_ntk = -1;
2099: jj_gen = 0;
2100: for (int i = 0; i < 14; i++)
2101: jj_la1[i] = -1;
2102: for (int i = 0; i < jj_2_rtns.length; i++)
2103: jj_2_rtns[i] = new JJCalls();
2104: }
2105:
2106: public void ReInit(java.io.Reader stream) {
2107: jj_input_stream.ReInit(stream, 1, 1);
2108: token_source.ReInit(jj_input_stream);
2109: token = new Token();
2110: jj_ntk = -1;
2111: jjtree.reset();
2112: jj_gen = 0;
2113: for (int i = 0; i < 14; i++)
2114: jj_la1[i] = -1;
2115: for (int i = 0; i < jj_2_rtns.length; i++)
2116: jj_2_rtns[i] = new JJCalls();
2117: }
2118:
2119: public SpeedoQL(SpeedoQLTokenManager tm) {
2120: token_source = tm;
2121: token = new Token();
2122: jj_ntk = -1;
2123: jj_gen = 0;
2124: for (int i = 0; i < 14; i++)
2125: jj_la1[i] = -1;
2126: for (int i = 0; i < jj_2_rtns.length; i++)
2127: jj_2_rtns[i] = new JJCalls();
2128: }
2129:
2130: public void ReInit(SpeedoQLTokenManager tm) {
2131: token_source = tm;
2132: token = new Token();
2133: jj_ntk = -1;
2134: jjtree.reset();
2135: jj_gen = 0;
2136: for (int i = 0; i < 14; i++)
2137: jj_la1[i] = -1;
2138: for (int i = 0; i < jj_2_rtns.length; i++)
2139: jj_2_rtns[i] = new JJCalls();
2140: }
2141:
2142: final private Token jj_consume_token(int kind)
2143: throws ParseException {
2144: Token oldToken;
2145: if ((oldToken = token).next != null)
2146: token = token.next;
2147: else
2148: token = token.next = token_source.getNextToken();
2149: jj_ntk = -1;
2150: if (token.kind == kind) {
2151: jj_gen++;
2152: if (++jj_gc > 100) {
2153: jj_gc = 0;
2154: for (int i = 0; i < jj_2_rtns.length; i++) {
2155: JJCalls c = jj_2_rtns[i];
2156: while (c != null) {
2157: if (c.gen < jj_gen)
2158: c.first = null;
2159: c = c.next;
2160: }
2161: }
2162: }
2163: return token;
2164: }
2165: token = oldToken;
2166: jj_kind = kind;
2167: throw generateParseException();
2168: }
2169:
2170: final private boolean jj_scan_token(int kind) {
2171: if (jj_scanpos == jj_lastpos) {
2172: jj_la--;
2173: if (jj_scanpos.next == null) {
2174: jj_lastpos = jj_scanpos = jj_scanpos.next = token_source
2175: .getNextToken();
2176: } else {
2177: jj_lastpos = jj_scanpos = jj_scanpos.next;
2178: }
2179: } else {
2180: jj_scanpos = jj_scanpos.next;
2181: }
2182: if (jj_rescan) {
2183: int i = 0;
2184: Token tok = token;
2185: while (tok != null && tok != jj_scanpos) {
2186: i++;
2187: tok = tok.next;
2188: }
2189: if (tok != null)
2190: jj_add_error_token(kind, i);
2191: }
2192: return (jj_scanpos.kind != kind);
2193: }
2194:
2195: final public Token getNextToken() {
2196: if (token.next != null)
2197: token = token.next;
2198: else
2199: token = token.next = token_source.getNextToken();
2200: jj_ntk = -1;
2201: jj_gen++;
2202: return token;
2203: }
2204:
2205: final public Token getToken(int index) {
2206: Token t = lookingAhead ? jj_scanpos : token;
2207: for (int i = 0; i < index; i++) {
2208: if (t.next != null)
2209: t = t.next;
2210: else
2211: t = t.next = token_source.getNextToken();
2212: }
2213: return t;
2214: }
2215:
2216: final private int jj_ntk() {
2217: if ((jj_nt = token.next) == null)
2218: return (jj_ntk = (token.next = token_source.getNextToken()).kind);
2219: else
2220: return (jj_ntk = jj_nt.kind);
2221: }
2222:
2223: private java.util.Vector jj_expentries = new java.util.Vector();
2224: private int[] jj_expentry;
2225: private int jj_kind = -1;
2226: private int[] jj_lasttokens = new int[100];
2227: private int jj_endpos;
2228:
2229: private void jj_add_error_token(int kind, int pos) {
2230: if (pos >= 100)
2231: return;
2232: if (pos == jj_endpos + 1) {
2233: jj_lasttokens[jj_endpos++] = kind;
2234: } else if (jj_endpos != 0) {
2235: jj_expentry = new int[jj_endpos];
2236: for (int i = 0; i < jj_endpos; i++) {
2237: jj_expentry[i] = jj_lasttokens[i];
2238: }
2239: boolean exists = false;
2240: for (java.util.Enumeration _enum = jj_expentries.elements(); _enum
2241: .hasMoreElements();) {
2242: int[] oldentry = (int[]) (_enum.nextElement());
2243: if (oldentry.length == jj_expentry.length) {
2244: exists = true;
2245: for (int i = 0; i < jj_expentry.length; i++) {
2246: if (oldentry[i] != jj_expentry[i]) {
2247: exists = false;
2248: break;
2249: }
2250: }
2251: if (exists)
2252: break;
2253: }
2254: }
2255: if (!exists)
2256: jj_expentries.addElement(jj_expentry);
2257: if (pos != 0)
2258: jj_lasttokens[(jj_endpos = pos) - 1] = kind;
2259: }
2260: }
2261:
2262: final public ParseException generateParseException() {
2263: jj_expentries.removeAllElements();
2264: boolean[] la1tokens = new boolean[47];
2265: for (int i = 0; i < 47; i++) {
2266: la1tokens[i] = false;
2267: }
2268: if (jj_kind >= 0) {
2269: la1tokens[jj_kind] = true;
2270: jj_kind = -1;
2271: }
2272: for (int i = 0; i < 14; i++) {
2273: if (jj_la1[i] == jj_gen) {
2274: for (int j = 0; j < 32; j++) {
2275: if ((jj_la1_0[i] & (1 << j)) != 0) {
2276: la1tokens[j] = true;
2277: }
2278: if ((jj_la1_1[i] & (1 << j)) != 0) {
2279: la1tokens[32 + j] = true;
2280: }
2281: }
2282: }
2283: }
2284: for (int i = 0; i < 47; i++) {
2285: if (la1tokens[i]) {
2286: jj_expentry = new int[1];
2287: jj_expentry[0] = i;
2288: jj_expentries.addElement(jj_expentry);
2289: }
2290: }
2291: jj_endpos = 0;
2292: jj_rescan_token();
2293: jj_add_error_token(0, 0);
2294: int[][] exptokseq = new int[jj_expentries.size()][];
2295: for (int i = 0; i < jj_expentries.size(); i++) {
2296: exptokseq[i] = (int[]) jj_expentries.elementAt(i);
2297: }
2298: return new ParseException(token, exptokseq, tokenImage);
2299: }
2300:
2301: final public void enable_tracing() {
2302: }
2303:
2304: final public void disable_tracing() {
2305: }
2306:
2307: final private void jj_rescan_token() {
2308: jj_rescan = true;
2309: for (int i = 0; i < 16; i++) {
2310: JJCalls p = jj_2_rtns[i];
2311: do {
2312: if (p.gen > jj_gen) {
2313: jj_la = p.arg;
2314: jj_lastpos = jj_scanpos = p.first;
2315: switch (i) {
2316: case 0:
2317: jj_3_1();
2318: break;
2319: case 1:
2320: jj_3_2();
2321: break;
2322: case 2:
2323: jj_3_3();
2324: break;
2325: case 3:
2326: jj_3_4();
2327: break;
2328: case 4:
2329: jj_3_5();
2330: break;
2331: case 5:
2332: jj_3_6();
2333: break;
2334: case 6:
2335: jj_3_7();
2336: break;
2337: case 7:
2338: jj_3_8();
2339: break;
2340: case 8:
2341: jj_3_9();
2342: break;
2343: case 9:
2344: jj_3_10();
2345: break;
2346: case 10:
2347: jj_3_11();
2348: break;
2349: case 11:
2350: jj_3_12();
2351: break;
2352: case 12:
2353: jj_3_13();
2354: break;
2355: case 13:
2356: jj_3_14();
2357: break;
2358: case 14:
2359: jj_3_15();
2360: break;
2361: case 15:
2362: jj_3_16();
2363: break;
2364: }
2365: }
2366: p = p.next;
2367: } while (p != null);
2368: }
2369: jj_rescan = false;
2370: }
2371:
2372: final private void jj_save(int index, int xla) {
2373: JJCalls p = jj_2_rtns[index];
2374: while (p.gen > jj_gen) {
2375: if (p.next == null) {
2376: p = p.next = new JJCalls();
2377: break;
2378: }
2379: p = p.next;
2380: }
2381: p.gen = jj_gen + xla - jj_la;
2382: p.first = token;
2383: p.arg = xla;
2384: }
2385:
2386: static final class JJCalls {
2387: int gen;
2388: Token first;
2389: int arg;
2390: JJCalls next;
2391: }
2392:
2393: }
|