0001: /* Generated By:JavaCC: Do not edit this line. HTMLParserTokenManager.java */
0002: // package com.tchibo.misc.lucene;
0003: package vqwiki.utils.lucene;
0004:
0005: /**
0006: * TODO: Document this class.
0007: *
0008: * @version $Id: HTMLParserTokenManager.java 365 2003-10-05 05:07:32Z garethc $
0009: */
0010: public class HTMLParserTokenManager implements HTMLParserConstants {
0011: /**
0012: * TODO: Document this field.
0013: */
0014: protected char curChar;
0015:
0016: /**
0017: * TODO: Document this field.
0018: */
0019: int curLexState = 0;
0020: /**
0021: * TODO: Document this field.
0022: */
0023: public java.io.PrintStream debugStream = System.out;
0024: /**
0025: * TODO: Document this field.
0026: */
0027: int defaultLexState = 0;
0028: /**
0029: * TODO: Document this field.
0030: */
0031: private SimpleCharStream input_stream;
0032: /**
0033: * TODO: Document this field.
0034: */
0035: final static long[] jjbitVec0 = { 0x0L, 0x0L, 0xffffffffffffffffL,
0036: 0xffffffffffffffffL };
0037: /**
0038: * TODO: Document this field.
0039: */
0040: int jjmatchedKind;
0041: /**
0042: * TODO: Document this field.
0043: */
0044: int jjmatchedPos;
0045: /**
0046: * TODO: Document this field.
0047: */
0048: public final static int[] jjnewLexState = { -1, 1, 1, 5, 6, -1, -1,
0049: -1, -1, -1, -1, -1, -1, 2, 0, 1, 3, 4, -1, -1, 1, -1, 1,
0050: -1, 0, -1, 0, };
0051: /**
0052: * TODO: Document this field.
0053: */
0054: int jjnewStateCnt;
0055: /**
0056: * TODO: Document this field.
0057: */
0058: final static int[] jjnextStates = { 17, 18, 21, 12, 14, 5, 8, 0, 4,
0059: 6, 0, 4, 6, 5, 0, 4, 6, 12, 13, };
0060: /**
0061: * TODO: Document this field.
0062: */
0063: int jjround;
0064: /**
0065: * TODO: Document this field.
0066: */
0067: private final int[] jjrounds = new int[25];
0068: /**
0069: * TODO: Document this field.
0070: */
0071: private final int[] jjstateSet = new int[50];
0072: /**
0073: * TODO: Document this field.
0074: */
0075: public final static String[] jjstrLiteralImages = { "", null, null,
0076: "\74\41\55\55", "\74\41", null, null, null, null, null,
0077: null, null, null, "\75", null, null, "\47", "\42", null,
0078: null, null, null, null, null, "\55\55\76", null, "\76", };
0079: /**
0080: * TODO: Document this field.
0081: */
0082: final static long[] jjtoSkip = { 0x40000L, };
0083: /**
0084: * TODO: Document this field.
0085: */
0086: final static long[] jjtoToken = { 0x7fbfb3fL, };
0087: /**
0088: * TODO: Document this field.
0089: */
0090: public final static String[] lexStateNames = { "DEFAULT",
0091: "WithinTag", "AfterEquals", "WithinQuote1", "WithinQuote2",
0092: "WithinComment1", "WithinComment2", };
0093:
0094: /**
0095: *Creates a new HTMLParserTokenManager.
0096: *
0097: * @param stream TODO: Document this parameter.
0098: */
0099: public HTMLParserTokenManager(SimpleCharStream stream) {
0100: if (SimpleCharStream.staticFlag) {
0101: throw new Error(
0102: "ERROR: Cannot use a static CharStream class with a non-static lexical analyzer.");
0103: }
0104: input_stream = stream;
0105: }
0106:
0107: /**
0108: *Creates a new HTMLParserTokenManager.
0109: *
0110: * @param stream TODO: Document this parameter.
0111: * @param lexState TODO: Document this parameter.
0112: */
0113: public HTMLParserTokenManager(SimpleCharStream stream, int lexState) {
0114: this (stream);
0115: SwitchTo(lexState);
0116: }
0117:
0118: /**
0119: * TODO: Document this method.
0120: *
0121: * @param stream TODO: Document this parameter.
0122: */
0123: public void ReInit(SimpleCharStream stream) {
0124: jjmatchedPos = jjnewStateCnt = 0;
0125: curLexState = defaultLexState;
0126: input_stream = stream;
0127: ReInitRounds();
0128: }
0129:
0130: /**
0131: * TODO: Document this method.
0132: *
0133: * @param stream TODO: Document this parameter.
0134: * @param lexState TODO: Document this parameter.
0135: */
0136: public void ReInit(SimpleCharStream stream, int lexState) {
0137: ReInit(stream);
0138: SwitchTo(lexState);
0139: }
0140:
0141: /**
0142: * TODO: Document this method.
0143: */
0144: private final void ReInitRounds() {
0145: int i;
0146: jjround = 0x80000001;
0147: for (i = 25; i-- > 0;) {
0148: jjrounds[i] = 0x80000000;
0149: }
0150: }
0151:
0152: /**
0153: * TODO: Document this method.
0154: *
0155: * @param lexState TODO: Document this parameter.
0156: */
0157: public void SwitchTo(int lexState) {
0158: if (lexState >= 7 || lexState < 0) {
0159: throw new TokenMgrError(
0160: "Error: Ignoring invalid lexical state : "
0161: + lexState + ". State unchanged.",
0162: TokenMgrError.INVALID_LEXICAL_STATE);
0163: } else {
0164: curLexState = lexState;
0165: }
0166: }
0167:
0168: /**
0169: * Returns the NextToken.
0170: *
0171: * @return The NextToken.
0172: */
0173: public final Token getNextToken() {
0174: int kind;
0175: Token specialToken = null;
0176: Token matchedToken;
0177: int curPos = 0;
0178:
0179: EOFLoop: for (;;) {
0180: try {
0181: curChar = input_stream.BeginToken();
0182: } catch (java.io.IOException e) {
0183: jjmatchedKind = 0;
0184: matchedToken = jjFillToken();
0185: return matchedToken;
0186: }
0187:
0188: switch (curLexState) {
0189: case 0:
0190: jjmatchedKind = 0x7fffffff;
0191: jjmatchedPos = 0;
0192: curPos = jjMoveStringLiteralDfa0_0();
0193: if (jjmatchedPos == 0 && jjmatchedKind > 11) {
0194: jjmatchedKind = 11;
0195: }
0196: break;
0197: case 1:
0198: jjmatchedKind = 0x7fffffff;
0199: jjmatchedPos = 0;
0200: curPos = jjMoveStringLiteralDfa0_1();
0201: break;
0202: case 2:
0203: jjmatchedKind = 0x7fffffff;
0204: jjmatchedPos = 0;
0205: curPos = jjMoveStringLiteralDfa0_2();
0206: break;
0207: case 3:
0208: jjmatchedKind = 0x7fffffff;
0209: jjmatchedPos = 0;
0210: curPos = jjMoveStringLiteralDfa0_3();
0211: break;
0212: case 4:
0213: jjmatchedKind = 0x7fffffff;
0214: jjmatchedPos = 0;
0215: curPos = jjMoveStringLiteralDfa0_4();
0216: break;
0217: case 5:
0218: jjmatchedKind = 0x7fffffff;
0219: jjmatchedPos = 0;
0220: curPos = jjMoveStringLiteralDfa0_5();
0221: break;
0222: case 6:
0223: jjmatchedKind = 0x7fffffff;
0224: jjmatchedPos = 0;
0225: curPos = jjMoveStringLiteralDfa0_6();
0226: break;
0227: }
0228: if (jjmatchedKind != 0x7fffffff) {
0229: if (jjmatchedPos + 1 < curPos) {
0230: input_stream.backup(curPos - jjmatchedPos - 1);
0231: }
0232: if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) {
0233: matchedToken = jjFillToken();
0234: if (jjnewLexState[jjmatchedKind] != -1) {
0235: curLexState = jjnewLexState[jjmatchedKind];
0236: }
0237: return matchedToken;
0238: } else {
0239: if (jjnewLexState[jjmatchedKind] != -1) {
0240: curLexState = jjnewLexState[jjmatchedKind];
0241: }
0242: continue EOFLoop;
0243: }
0244: }
0245: int error_line = input_stream.getEndLine();
0246: int error_column = input_stream.getEndColumn();
0247: String error_after = null;
0248: boolean EOFSeen = false;
0249: try {
0250: input_stream.readChar();
0251: input_stream.backup(1);
0252: } catch (java.io.IOException e1) {
0253: EOFSeen = true;
0254: error_after = curPos <= 1 ? "" : input_stream
0255: .GetImage();
0256: if (curChar == '\n' || curChar == '\r') {
0257: error_line++;
0258: error_column = 0;
0259: } else {
0260: error_column++;
0261: }
0262: }
0263: if (!EOFSeen) {
0264: input_stream.backup(1);
0265: error_after = curPos <= 1 ? "" : input_stream
0266: .GetImage();
0267: }
0268: throw new TokenMgrError(EOFSeen, curLexState, error_line,
0269: error_column, error_after, curChar,
0270: TokenMgrError.LEXICAL_ERROR);
0271: }
0272: }
0273:
0274: /**
0275: * TODO: Document this method.
0276: *
0277: * @param start TODO: Document this parameter.
0278: * @param end TODO: Document this parameter.
0279: */
0280: private final void jjAddStates(int start, int end) {
0281: do {
0282: jjstateSet[jjnewStateCnt++] = jjnextStates[start];
0283: } while (start++ != end);
0284: }
0285:
0286: /**
0287: * TODO: Document this method.
0288: *
0289: * @param state TODO: Document this parameter.
0290: */
0291: private final void jjCheckNAdd(int state) {
0292: if (jjrounds[state] != jjround) {
0293: jjstateSet[jjnewStateCnt++] = state;
0294: jjrounds[state] = jjround;
0295: }
0296: }
0297:
0298: /**
0299: * TODO: Document this method.
0300: *
0301: * @param start TODO: Document this parameter.
0302: * @param end TODO: Document this parameter.
0303: */
0304: private final void jjCheckNAddStates(int start, int end) {
0305: do {
0306: jjCheckNAdd(jjnextStates[start]);
0307: } while (start++ != end);
0308: }
0309:
0310: /**
0311: * TODO: Document this method.
0312: *
0313: * @param start TODO: Document this parameter.
0314: */
0315: private final void jjCheckNAddStates(int start) {
0316: jjCheckNAdd(jjnextStates[start]);
0317: jjCheckNAdd(jjnextStates[start + 1]);
0318: }
0319:
0320: /**
0321: * TODO: Document this method.
0322: *
0323: * @param state1 TODO: Document this parameter.
0324: * @param state2 TODO: Document this parameter.
0325: */
0326: private final void jjCheckNAddTwoStates(int state1, int state2) {
0327: jjCheckNAdd(state1);
0328: jjCheckNAdd(state2);
0329: }
0330:
0331: /**
0332: * TODO: Document this method.
0333: *
0334: * @return TODO: Document the result.
0335: */
0336: private final Token jjFillToken() {
0337: Token t = Token.newToken(jjmatchedKind);
0338: t.kind = jjmatchedKind;
0339: String im = jjstrLiteralImages[jjmatchedKind];
0340: t.image = (im == null) ? input_stream.GetImage() : im;
0341: t.beginLine = input_stream.getBeginLine();
0342: t.beginColumn = input_stream.getBeginColumn();
0343: t.endLine = input_stream.getEndLine();
0344: t.endColumn = input_stream.getEndColumn();
0345: return t;
0346: }
0347:
0348: /**
0349: * TODO: Document this method.
0350: *
0351: * @param startState TODO: Document this parameter.
0352: * @param curPos TODO: Document this parameter.
0353: * @return TODO: Document the result.
0354: */
0355: private final int jjMoveNfa_0(int startState, int curPos) {
0356: int[] nextStates;
0357: int startsAt = 0;
0358: jjnewStateCnt = 25;
0359: int i = 1;
0360: jjstateSet[0] = startState;
0361: int j;
0362: int kind = 0x7fffffff;
0363: for (;;) {
0364: if (++jjround == 0x7fffffff) {
0365: ReInitRounds();
0366: }
0367: if (curChar < 64) {
0368: long l = 1L << curChar;
0369: MatchLoop: do {
0370: switch (jjstateSet[--i]) {
0371: case 11:
0372: if ((0x3ff000000000000L & l) != 0L) {
0373: jjCheckNAddTwoStates(7, 2);
0374: } else if ((0x100002600L & l) != 0L) {
0375: if (kind > 9) {
0376: kind = 9;
0377: }
0378: jjCheckNAdd(10);
0379: } else if (curChar == 60) {
0380: jjCheckNAddStates(0, 2);
0381: } else if (curChar == 38) {
0382: jjAddStates(3, 4);
0383: } else if (curChar == 36) {
0384: jjstateSet[jjnewStateCnt++] = 1;
0385: }
0386: if ((0x3ff000000000000L & l) != 0L) {
0387: if (kind > 5) {
0388: kind = 5;
0389: }
0390: jjCheckNAddStates(5, 9);
0391: }
0392: break;
0393: case 17:
0394: if (curChar == 33) {
0395: jjstateSet[jjnewStateCnt++] = 22;
0396: } else if (curChar == 47) {
0397: jjCheckNAdd(18);
0398: }
0399: break;
0400: case 0:
0401: if (curChar == 36) {
0402: jjstateSet[jjnewStateCnt++] = 1;
0403: }
0404: break;
0405: case 1:
0406: if ((0x3ff000000000000L & l) != 0L) {
0407: jjCheckNAdd(2);
0408: }
0409: break;
0410: case 2:
0411: if ((0x500000000000L & l) != 0L) {
0412: jjstateSet[jjnewStateCnt++] = 3;
0413: }
0414: break;
0415: case 3:
0416: case 9:
0417: if ((0x3ff000000000000L & l) == 0L) {
0418: break;
0419: }
0420: if (kind > 5) {
0421: kind = 5;
0422: }
0423: jjCheckNAddStates(10, 12);
0424: break;
0425: case 4:
0426: if ((0x3ff000000000000L & l) == 0L) {
0427: break;
0428: }
0429: if (kind > 5) {
0430: kind = 5;
0431: }
0432: jjCheckNAddStates(5, 9);
0433: break;
0434: case 5:
0435: if ((0x880000000000L & l) == 0L) {
0436: break;
0437: }
0438: if (kind > 5) {
0439: kind = 5;
0440: }
0441: jjCheckNAddStates(13, 16);
0442: break;
0443: case 6:
0444: if ((0x3ff000000000000L & l) != 0L) {
0445: jjCheckNAddTwoStates(7, 2);
0446: }
0447: break;
0448: case 7:
0449: if (curChar != 34) {
0450: break;
0451: }
0452: if (kind > 5) {
0453: kind = 5;
0454: }
0455: jjCheckNAddStates(10, 12);
0456: break;
0457: case 8:
0458: if ((0x208000000000L & l) != 0L) {
0459: jjstateSet[jjnewStateCnt++] = 9;
0460: }
0461: break;
0462: case 10:
0463: if ((0x100002600L & l) == 0L) {
0464: break;
0465: }
0466: kind = 9;
0467: jjCheckNAdd(10);
0468: break;
0469: case 13:
0470: if (curChar == 59 && kind > 8) {
0471: kind = 8;
0472: }
0473: break;
0474: case 14:
0475: if (curChar == 35) {
0476: jjCheckNAdd(15);
0477: }
0478: break;
0479: case 15:
0480: if ((0x3ff000000000000L & l) == 0L) {
0481: break;
0482: }
0483: if (kind > 8) {
0484: kind = 8;
0485: }
0486: jjCheckNAddTwoStates(15, 13);
0487: break;
0488: case 16:
0489: if (curChar == 60) {
0490: jjCheckNAddStates(0, 2);
0491: }
0492: break;
0493: case 19:
0494: if ((0x9fffff7affffd9ffL & l) == 0L) {
0495: break;
0496: }
0497: if (kind > 1) {
0498: kind = 1;
0499: }
0500: jjCheckNAdd(20);
0501: break;
0502: case 20:
0503: if ((0x9ffffffeffffd9ffL & l) == 0L) {
0504: break;
0505: }
0506: if (kind > 1) {
0507: kind = 1;
0508: }
0509: jjCheckNAdd(20);
0510: break;
0511: case 21:
0512: if (curChar == 33) {
0513: jjstateSet[jjnewStateCnt++] = 22;
0514: }
0515: break;
0516: case 23:
0517: if ((0x9fffff7affffd9ffL & l) == 0L) {
0518: break;
0519: }
0520: if (kind > 2) {
0521: kind = 2;
0522: }
0523: jjCheckNAdd(24);
0524: break;
0525: case 24:
0526: if ((0x9ffffffeffffd9ffL & l) == 0L) {
0527: break;
0528: }
0529: if (kind > 2) {
0530: kind = 2;
0531: }
0532: jjCheckNAdd(24);
0533: break;
0534: default:
0535: break;
0536: }
0537: } while (i != startsAt);
0538: } else if (curChar < 128) {
0539: long l = 1L << (curChar & 077);
0540: MatchLoop: do {
0541: switch (jjstateSet[--i]) {
0542: case 11:
0543: case 4:
0544: if ((0x7fffffe07fffffeL & l) == 0L) {
0545: break;
0546: }
0547: if (kind > 5) {
0548: kind = 5;
0549: }
0550: jjCheckNAddStates(5, 9);
0551: break;
0552: case 17:
0553: case 18:
0554: if ((0x7fffffe07fffffeL & l) == 0L) {
0555: break;
0556: }
0557: if (kind > 1) {
0558: kind = 1;
0559: }
0560: jjstateSet[jjnewStateCnt++] = 19;
0561: break;
0562: case 9:
0563: if ((0x7fffffe07fffffeL & l) == 0L) {
0564: break;
0565: }
0566: if (kind > 5) {
0567: kind = 5;
0568: }
0569: jjCheckNAddStates(10, 12);
0570: break;
0571: case 12:
0572: if ((0x7fffffe07fffffeL & l) == 0L) {
0573: break;
0574: }
0575: if (kind > 8) {
0576: kind = 8;
0577: }
0578: jjAddStates(17, 18);
0579: break;
0580: case 19:
0581: case 20:
0582: if (kind > 1) {
0583: kind = 1;
0584: }
0585: jjCheckNAdd(20);
0586: break;
0587: case 22:
0588: if ((0x7fffffe07fffffeL & l) == 0L) {
0589: break;
0590: }
0591: if (kind > 2) {
0592: kind = 2;
0593: }
0594: jjstateSet[jjnewStateCnt++] = 23;
0595: break;
0596: case 23:
0597: case 24:
0598: if (kind > 2) {
0599: kind = 2;
0600: }
0601: jjCheckNAdd(24);
0602: break;
0603: default:
0604: break;
0605: }
0606: } while (i != startsAt);
0607: } else {
0608: int i2 = (curChar & 0xff) >> 6;
0609: long l2 = 1L << (curChar & 077);
0610: MatchLoop: do {
0611: switch (jjstateSet[--i]) {
0612: case 19:
0613: case 20:
0614: if ((jjbitVec0[i2] & l2) == 0L) {
0615: break;
0616: }
0617: if (kind > 1) {
0618: kind = 1;
0619: }
0620: jjCheckNAdd(20);
0621: break;
0622: case 23:
0623: case 24:
0624: if ((jjbitVec0[i2] & l2) == 0L) {
0625: break;
0626: }
0627: if (kind > 2) {
0628: kind = 2;
0629: }
0630: jjCheckNAdd(24);
0631: break;
0632: default:
0633: break;
0634: }
0635: } while (i != startsAt);
0636: }
0637: if (kind != 0x7fffffff) {
0638: jjmatchedKind = kind;
0639: jjmatchedPos = curPos;
0640: kind = 0x7fffffff;
0641: }
0642: ++curPos;
0643: if ((i = jjnewStateCnt) == (startsAt = 25 - (jjnewStateCnt = startsAt))) {
0644: return curPos;
0645: }
0646: try {
0647: curChar = input_stream.readChar();
0648: } catch (java.io.IOException e) {
0649: return curPos;
0650: }
0651: }
0652: }
0653:
0654: /**
0655: * TODO: Document this method.
0656: *
0657: * @param startState TODO: Document this parameter.
0658: * @param curPos TODO: Document this parameter.
0659: * @return TODO: Document the result.
0660: */
0661: private final int jjMoveNfa_1(int startState, int curPos) {
0662: int[] nextStates;
0663: int startsAt = 0;
0664: jjnewStateCnt = 6;
0665: int i = 1;
0666: jjstateSet[0] = startState;
0667: int j;
0668: int kind = 0x7fffffff;
0669: for (;;) {
0670: if (++jjround == 0x7fffffff) {
0671: ReInitRounds();
0672: }
0673: if (curChar < 64) {
0674: long l = 1L << curChar;
0675: MatchLoop: do {
0676: switch (jjstateSet[--i]) {
0677: case 0:
0678: if ((0x9fffff7affffd9ffL & l) != 0L) {
0679: if (kind > 12) {
0680: kind = 12;
0681: }
0682: jjCheckNAdd(1);
0683: } else if ((0x100002600L & l) != 0L) {
0684: if (kind > 18) {
0685: kind = 18;
0686: }
0687: jjCheckNAdd(5);
0688: } else if (curChar == 61) {
0689: jjstateSet[jjnewStateCnt++] = 3;
0690: } else if (curChar == 62) {
0691: if (kind > 14) {
0692: kind = 14;
0693: }
0694: }
0695: break;
0696: case 1:
0697: if ((0x9ffffffeffffd9ffL & l) == 0L) {
0698: break;
0699: }
0700: if (kind > 12) {
0701: kind = 12;
0702: }
0703: jjCheckNAdd(1);
0704: break;
0705: case 2:
0706: case 3:
0707: if (curChar == 62 && kind > 14) {
0708: kind = 14;
0709: }
0710: break;
0711: case 4:
0712: if (curChar == 61) {
0713: jjstateSet[jjnewStateCnt++] = 3;
0714: }
0715: break;
0716: case 5:
0717: if ((0x100002600L & l) == 0L) {
0718: break;
0719: }
0720: kind = 18;
0721: jjCheckNAdd(5);
0722: break;
0723: default:
0724: break;
0725: }
0726: } while (i != startsAt);
0727: } else if (curChar < 128) {
0728: long l = 1L << (curChar & 077);
0729: MatchLoop: do {
0730: switch (jjstateSet[--i]) {
0731: case 0:
0732: case 1:
0733: if (kind > 12) {
0734: kind = 12;
0735: }
0736: jjCheckNAdd(1);
0737: break;
0738: default:
0739: break;
0740: }
0741: } while (i != startsAt);
0742: } else {
0743: int i2 = (curChar & 0xff) >> 6;
0744: long l2 = 1L << (curChar & 077);
0745: MatchLoop: do {
0746: switch (jjstateSet[--i]) {
0747: case 0:
0748: case 1:
0749: if ((jjbitVec0[i2] & l2) == 0L) {
0750: break;
0751: }
0752: if (kind > 12) {
0753: kind = 12;
0754: }
0755: jjCheckNAdd(1);
0756: break;
0757: default:
0758: break;
0759: }
0760: } while (i != startsAt);
0761: }
0762: if (kind != 0x7fffffff) {
0763: jjmatchedKind = kind;
0764: jjmatchedPos = curPos;
0765: kind = 0x7fffffff;
0766: }
0767: ++curPos;
0768: if ((i = jjnewStateCnt) == (startsAt = 6 - (jjnewStateCnt = startsAt))) {
0769: return curPos;
0770: }
0771: try {
0772: curChar = input_stream.readChar();
0773: } catch (java.io.IOException e) {
0774: return curPos;
0775: }
0776: }
0777: }
0778:
0779: /**
0780: * TODO: Document this method.
0781: *
0782: * @param startState TODO: Document this parameter.
0783: * @param curPos TODO: Document this parameter.
0784: * @return TODO: Document the result.
0785: */
0786: private final int jjMoveNfa_2(int startState, int curPos) {
0787: int[] nextStates;
0788: int startsAt = 0;
0789: jjnewStateCnt = 3;
0790: int i = 1;
0791: jjstateSet[0] = startState;
0792: int j;
0793: int kind = 0x7fffffff;
0794: for (;;) {
0795: if (++jjround == 0x7fffffff) {
0796: ReInitRounds();
0797: }
0798: if (curChar < 64) {
0799: long l = 1L << curChar;
0800: MatchLoop: do {
0801: switch (jjstateSet[--i]) {
0802: case 0:
0803: if ((0x9fffff7affffd9ffL & l) != 0L) {
0804: if (kind > 15) {
0805: kind = 15;
0806: }
0807: jjCheckNAdd(1);
0808: } else if ((0x100002600L & l) != 0L) {
0809: if (kind > 18) {
0810: kind = 18;
0811: }
0812: jjCheckNAdd(2);
0813: }
0814: break;
0815: case 1:
0816: if ((0xbffffffeffffd9ffL & l) == 0L) {
0817: break;
0818: }
0819: if (kind > 15) {
0820: kind = 15;
0821: }
0822: jjCheckNAdd(1);
0823: break;
0824: case 2:
0825: if ((0x100002600L & l) == 0L) {
0826: break;
0827: }
0828: kind = 18;
0829: jjCheckNAdd(2);
0830: break;
0831: default:
0832: break;
0833: }
0834: } while (i != startsAt);
0835: } else if (curChar < 128) {
0836: long l = 1L << (curChar & 077);
0837: MatchLoop: do {
0838: switch (jjstateSet[--i]) {
0839: case 0:
0840: case 1:
0841: if (kind > 15) {
0842: kind = 15;
0843: }
0844: jjCheckNAdd(1);
0845: break;
0846: default:
0847: break;
0848: }
0849: } while (i != startsAt);
0850: } else {
0851: int i2 = (curChar & 0xff) >> 6;
0852: long l2 = 1L << (curChar & 077);
0853: MatchLoop: do {
0854: switch (jjstateSet[--i]) {
0855: case 0:
0856: case 1:
0857: if ((jjbitVec0[i2] & l2) == 0L) {
0858: break;
0859: }
0860: if (kind > 15) {
0861: kind = 15;
0862: }
0863: jjCheckNAdd(1);
0864: break;
0865: default:
0866: break;
0867: }
0868: } while (i != startsAt);
0869: }
0870: if (kind != 0x7fffffff) {
0871: jjmatchedKind = kind;
0872: jjmatchedPos = curPos;
0873: kind = 0x7fffffff;
0874: }
0875: ++curPos;
0876: if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt))) {
0877: return curPos;
0878: }
0879: try {
0880: curChar = input_stream.readChar();
0881: } catch (java.io.IOException e) {
0882: return curPos;
0883: }
0884: }
0885: }
0886:
0887: /**
0888: * TODO: Document this method.
0889: *
0890: * @param startState TODO: Document this parameter.
0891: * @param curPos TODO: Document this parameter.
0892: * @return TODO: Document the result.
0893: */
0894: private final int jjMoveNfa_3(int startState, int curPos) {
0895: int[] nextStates;
0896: int startsAt = 0;
0897: jjnewStateCnt = 2;
0898: int i = 1;
0899: jjstateSet[0] = startState;
0900: int j;
0901: int kind = 0x7fffffff;
0902: for (;;) {
0903: if (++jjround == 0x7fffffff) {
0904: ReInitRounds();
0905: }
0906: if (curChar < 64) {
0907: long l = 1L << curChar;
0908: MatchLoop: do {
0909: switch (jjstateSet[--i]) {
0910: case 1:
0911: if ((0xffffff7fffffffffL & l) != 0L) {
0912: if (kind > 19) {
0913: kind = 19;
0914: }
0915: jjCheckNAdd(0);
0916: } else if (curChar == 39) {
0917: if (kind > 20) {
0918: kind = 20;
0919: }
0920: }
0921: break;
0922: case 0:
0923: if ((0xffffff7fffffffffL & l) == 0L) {
0924: break;
0925: }
0926: kind = 19;
0927: jjCheckNAdd(0);
0928: break;
0929: default:
0930: break;
0931: }
0932: } while (i != startsAt);
0933: } else if (curChar < 128) {
0934: long l = 1L << (curChar & 077);
0935: MatchLoop: do {
0936: switch (jjstateSet[--i]) {
0937: case 1:
0938: case 0:
0939: kind = 19;
0940: jjCheckNAdd(0);
0941: break;
0942: default:
0943: break;
0944: }
0945: } while (i != startsAt);
0946: } else {
0947: int i2 = (curChar & 0xff) >> 6;
0948: long l2 = 1L << (curChar & 077);
0949: MatchLoop: do {
0950: switch (jjstateSet[--i]) {
0951: case 1:
0952: case 0:
0953: if ((jjbitVec0[i2] & l2) == 0L) {
0954: break;
0955: }
0956: if (kind > 19) {
0957: kind = 19;
0958: }
0959: jjCheckNAdd(0);
0960: break;
0961: default:
0962: break;
0963: }
0964: } while (i != startsAt);
0965: }
0966: if (kind != 0x7fffffff) {
0967: jjmatchedKind = kind;
0968: jjmatchedPos = curPos;
0969: kind = 0x7fffffff;
0970: }
0971: ++curPos;
0972: if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt))) {
0973: return curPos;
0974: }
0975: try {
0976: curChar = input_stream.readChar();
0977: } catch (java.io.IOException e) {
0978: return curPos;
0979: }
0980: }
0981: }
0982:
0983: /**
0984: * TODO: Document this method.
0985: *
0986: * @param startState TODO: Document this parameter.
0987: * @param curPos TODO: Document this parameter.
0988: * @return TODO: Document the result.
0989: */
0990: private final int jjMoveNfa_4(int startState, int curPos) {
0991: int[] nextStates;
0992: int startsAt = 0;
0993: jjnewStateCnt = 2;
0994: int i = 1;
0995: jjstateSet[0] = startState;
0996: int j;
0997: int kind = 0x7fffffff;
0998: for (;;) {
0999: if (++jjround == 0x7fffffff) {
1000: ReInitRounds();
1001: }
1002: if (curChar < 64) {
1003: long l = 1L << curChar;
1004: MatchLoop: do {
1005: switch (jjstateSet[--i]) {
1006: case 1:
1007: if ((0xfffffffbffffffffL & l) != 0L) {
1008: if (kind > 21) {
1009: kind = 21;
1010: }
1011: jjCheckNAdd(0);
1012: } else if (curChar == 34) {
1013: if (kind > 22) {
1014: kind = 22;
1015: }
1016: }
1017: break;
1018: case 0:
1019: if ((0xfffffffbffffffffL & l) == 0L) {
1020: break;
1021: }
1022: kind = 21;
1023: jjCheckNAdd(0);
1024: break;
1025: default:
1026: break;
1027: }
1028: } while (i != startsAt);
1029: } else if (curChar < 128) {
1030: long l = 1L << (curChar & 077);
1031: MatchLoop: do {
1032: switch (jjstateSet[--i]) {
1033: case 1:
1034: case 0:
1035: kind = 21;
1036: jjCheckNAdd(0);
1037: break;
1038: default:
1039: break;
1040: }
1041: } while (i != startsAt);
1042: } else {
1043: int i2 = (curChar & 0xff) >> 6;
1044: long l2 = 1L << (curChar & 077);
1045: MatchLoop: do {
1046: switch (jjstateSet[--i]) {
1047: case 1:
1048: case 0:
1049: if ((jjbitVec0[i2] & l2) == 0L) {
1050: break;
1051: }
1052: if (kind > 21) {
1053: kind = 21;
1054: }
1055: jjCheckNAdd(0);
1056: break;
1057: default:
1058: break;
1059: }
1060: } while (i != startsAt);
1061: }
1062: if (kind != 0x7fffffff) {
1063: jjmatchedKind = kind;
1064: jjmatchedPos = curPos;
1065: kind = 0x7fffffff;
1066: }
1067: ++curPos;
1068: if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt))) {
1069: return curPos;
1070: }
1071: try {
1072: curChar = input_stream.readChar();
1073: } catch (java.io.IOException e) {
1074: return curPos;
1075: }
1076: }
1077: }
1078:
1079: /**
1080: * TODO: Document this method.
1081: *
1082: * @param startState TODO: Document this parameter.
1083: * @param curPos TODO: Document this parameter.
1084: * @return TODO: Document the result.
1085: */
1086: private final int jjMoveNfa_5(int startState, int curPos) {
1087: int[] nextStates;
1088: int startsAt = 0;
1089: jjnewStateCnt = 2;
1090: int i = 1;
1091: jjstateSet[0] = startState;
1092: int j;
1093: int kind = 0x7fffffff;
1094: for (;;) {
1095: if (++jjround == 0x7fffffff) {
1096: ReInitRounds();
1097: }
1098: if (curChar < 64) {
1099: long l = 1L << curChar;
1100: MatchLoop: do {
1101: switch (jjstateSet[--i]) {
1102: case 1:
1103: if ((0xffffdfffffffffffL & l) != 0L) {
1104: if (kind > 23) {
1105: kind = 23;
1106: }
1107: jjCheckNAdd(0);
1108: } else if (curChar == 45) {
1109: if (kind > 23) {
1110: kind = 23;
1111: }
1112: }
1113: break;
1114: case 0:
1115: if ((0xffffdfffffffffffL & l) == 0L) {
1116: break;
1117: }
1118: kind = 23;
1119: jjCheckNAdd(0);
1120: break;
1121: default:
1122: break;
1123: }
1124: } while (i != startsAt);
1125: } else if (curChar < 128) {
1126: long l = 1L << (curChar & 077);
1127: MatchLoop: do {
1128: switch (jjstateSet[--i]) {
1129: case 1:
1130: case 0:
1131: kind = 23;
1132: jjCheckNAdd(0);
1133: break;
1134: default:
1135: break;
1136: }
1137: } while (i != startsAt);
1138: } else {
1139: int i2 = (curChar & 0xff) >> 6;
1140: long l2 = 1L << (curChar & 077);
1141: MatchLoop: do {
1142: switch (jjstateSet[--i]) {
1143: case 1:
1144: case 0:
1145: if ((jjbitVec0[i2] & l2) == 0L) {
1146: break;
1147: }
1148: if (kind > 23) {
1149: kind = 23;
1150: }
1151: jjCheckNAdd(0);
1152: break;
1153: default:
1154: break;
1155: }
1156: } while (i != startsAt);
1157: }
1158: if (kind != 0x7fffffff) {
1159: jjmatchedKind = kind;
1160: jjmatchedPos = curPos;
1161: kind = 0x7fffffff;
1162: }
1163: ++curPos;
1164: if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt))) {
1165: return curPos;
1166: }
1167: try {
1168: curChar = input_stream.readChar();
1169: } catch (java.io.IOException e) {
1170: return curPos;
1171: }
1172: }
1173: }
1174:
1175: /**
1176: * TODO: Document this method.
1177: *
1178: * @param startState TODO: Document this parameter.
1179: * @param curPos TODO: Document this parameter.
1180: * @return TODO: Document the result.
1181: */
1182: private final int jjMoveNfa_6(int startState, int curPos) {
1183: int[] nextStates;
1184: int startsAt = 0;
1185: jjnewStateCnt = 1;
1186: int i = 1;
1187: jjstateSet[0] = startState;
1188: int j;
1189: int kind = 0x7fffffff;
1190: for (;;) {
1191: if (++jjround == 0x7fffffff) {
1192: ReInitRounds();
1193: }
1194: if (curChar < 64) {
1195: long l = 1L << curChar;
1196: MatchLoop: do {
1197: switch (jjstateSet[--i]) {
1198: case 0:
1199: if ((0xbfffffffffffffffL & l) == 0L) {
1200: break;
1201: }
1202: kind = 25;
1203: jjstateSet[jjnewStateCnt++] = 0;
1204: break;
1205: default:
1206: break;
1207: }
1208: } while (i != startsAt);
1209: } else if (curChar < 128) {
1210: long l = 1L << (curChar & 077);
1211: MatchLoop: do {
1212: switch (jjstateSet[--i]) {
1213: case 0:
1214: kind = 25;
1215: jjstateSet[jjnewStateCnt++] = 0;
1216: break;
1217: default:
1218: break;
1219: }
1220: } while (i != startsAt);
1221: } else {
1222: int i2 = (curChar & 0xff) >> 6;
1223: long l2 = 1L << (curChar & 077);
1224: MatchLoop: do {
1225: switch (jjstateSet[--i]) {
1226: case 0:
1227: if ((jjbitVec0[i2] & l2) == 0L) {
1228: break;
1229: }
1230: if (kind > 25) {
1231: kind = 25;
1232: }
1233: jjstateSet[jjnewStateCnt++] = 0;
1234: break;
1235: default:
1236: break;
1237: }
1238: } while (i != startsAt);
1239: }
1240: if (kind != 0x7fffffff) {
1241: jjmatchedKind = kind;
1242: jjmatchedPos = curPos;
1243: kind = 0x7fffffff;
1244: }
1245: ++curPos;
1246: if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt))) {
1247: return curPos;
1248: }
1249: try {
1250: curChar = input_stream.readChar();
1251: } catch (java.io.IOException e) {
1252: return curPos;
1253: }
1254: }
1255: }
1256:
1257: /**
1258: * TODO: Document this method.
1259: *
1260: * @return TODO: Document the result.
1261: */
1262: private final int jjMoveStringLiteralDfa0_0() {
1263: switch (curChar) {
1264: case 60:
1265: return jjMoveStringLiteralDfa1_0(0x18L);
1266: default:
1267: return jjMoveNfa_0(11, 0);
1268: }
1269: }
1270:
1271: /**
1272: * TODO: Document this method.
1273: *
1274: * @return TODO: Document the result.
1275: */
1276: private final int jjMoveStringLiteralDfa0_1() {
1277: switch (curChar) {
1278: case 34:
1279: return jjStopAtPos(0, 17);
1280: case 39:
1281: return jjStopAtPos(0, 16);
1282: case 61:
1283: return jjStartNfaWithStates_1(0, 13, 3);
1284: default:
1285: return jjMoveNfa_1(0, 0);
1286: }
1287: }
1288:
1289: /**
1290: * TODO: Document this method.
1291: *
1292: * @return TODO: Document the result.
1293: */
1294: private final int jjMoveStringLiteralDfa0_2() {
1295: switch (curChar) {
1296: case 34:
1297: return jjStopAtPos(0, 17);
1298: case 39:
1299: return jjStopAtPos(0, 16);
1300: default:
1301: return jjMoveNfa_2(0, 0);
1302: }
1303: }
1304:
1305: /**
1306: * TODO: Document this method.
1307: *
1308: * @return TODO: Document the result.
1309: */
1310: private final int jjMoveStringLiteralDfa0_3() {
1311: return jjMoveNfa_3(1, 0);
1312: }
1313:
1314: /**
1315: * TODO: Document this method.
1316: *
1317: * @return TODO: Document the result.
1318: */
1319: private final int jjMoveStringLiteralDfa0_4() {
1320: return jjMoveNfa_4(1, 0);
1321: }
1322:
1323: /**
1324: * TODO: Document this method.
1325: *
1326: * @return TODO: Document the result.
1327: */
1328: private final int jjMoveStringLiteralDfa0_5() {
1329: switch (curChar) {
1330: case 45:
1331: return jjMoveStringLiteralDfa1_5(0x1000000L);
1332: default:
1333: return jjMoveNfa_5(1, 0);
1334: }
1335: }
1336:
1337: /**
1338: * TODO: Document this method.
1339: *
1340: * @return TODO: Document the result.
1341: */
1342: private final int jjMoveStringLiteralDfa0_6() {
1343: switch (curChar) {
1344: case 62:
1345: return jjStopAtPos(0, 26);
1346: default:
1347: return jjMoveNfa_6(0, 0);
1348: }
1349: }
1350:
1351: /**
1352: * TODO: Document this method.
1353: *
1354: * @param active0 TODO: Document this parameter.
1355: * @return TODO: Document the result.
1356: */
1357: private final int jjMoveStringLiteralDfa1_0(long active0) {
1358: try {
1359: curChar = input_stream.readChar();
1360: } catch (java.io.IOException e) {
1361: jjStopStringLiteralDfa_0(0, active0);
1362: return 1;
1363: }
1364: switch (curChar) {
1365: case 33:
1366: if ((active0 & 0x10L) != 0L) {
1367: jjmatchedKind = 4;
1368: jjmatchedPos = 1;
1369: }
1370: return jjMoveStringLiteralDfa2_0(active0, 0x8L);
1371: default:
1372: break;
1373: }
1374: return jjStartNfa_0(0, active0);
1375: }
1376:
1377: /**
1378: * TODO: Document this method.
1379: *
1380: * @param active0 TODO: Document this parameter.
1381: * @return TODO: Document the result.
1382: */
1383: private final int jjMoveStringLiteralDfa1_5(long active0) {
1384: try {
1385: curChar = input_stream.readChar();
1386: } catch (java.io.IOException e) {
1387: jjStopStringLiteralDfa_5(0, active0);
1388: return 1;
1389: }
1390: switch (curChar) {
1391: case 45:
1392: return jjMoveStringLiteralDfa2_5(active0, 0x1000000L);
1393: default:
1394: break;
1395: }
1396: return jjStartNfa_5(0, active0);
1397: }
1398:
1399: /**
1400: * TODO: Document this method.
1401: *
1402: * @param old0 TODO: Document this parameter.
1403: * @param active0 TODO: Document this parameter.
1404: * @return TODO: Document the result.
1405: */
1406: private final int jjMoveStringLiteralDfa2_0(long old0, long active0) {
1407: if (((active0 &= old0)) == 0L) {
1408: return jjStartNfa_0(0, old0);
1409: }
1410: try {
1411: curChar = input_stream.readChar();
1412: } catch (java.io.IOException e) {
1413: jjStopStringLiteralDfa_0(1, active0);
1414: return 2;
1415: }
1416: switch (curChar) {
1417: case 45:
1418: return jjMoveStringLiteralDfa3_0(active0, 0x8L);
1419: default:
1420: break;
1421: }
1422: return jjStartNfa_0(1, active0);
1423: }
1424:
1425: /**
1426: * TODO: Document this method.
1427: *
1428: * @param old0 TODO: Document this parameter.
1429: * @param active0 TODO: Document this parameter.
1430: * @return TODO: Document the result.
1431: */
1432: private final int jjMoveStringLiteralDfa2_5(long old0, long active0) {
1433: if (((active0 &= old0)) == 0L) {
1434: return jjStartNfa_5(0, old0);
1435: }
1436: try {
1437: curChar = input_stream.readChar();
1438: } catch (java.io.IOException e) {
1439: jjStopStringLiteralDfa_5(1, active0);
1440: return 2;
1441: }
1442: switch (curChar) {
1443: case 62:
1444: if ((active0 & 0x1000000L) != 0L) {
1445: return jjStopAtPos(2, 24);
1446: }
1447: break;
1448: default:
1449: break;
1450: }
1451: return jjStartNfa_5(1, active0);
1452: }
1453:
1454: /**
1455: * TODO: Document this method.
1456: *
1457: * @param old0 TODO: Document this parameter.
1458: * @param active0 TODO: Document this parameter.
1459: * @return TODO: Document the result.
1460: */
1461: private final int jjMoveStringLiteralDfa3_0(long old0, long active0) {
1462: if (((active0 &= old0)) == 0L) {
1463: return jjStartNfa_0(1, old0);
1464: }
1465: try {
1466: curChar = input_stream.readChar();
1467: } catch (java.io.IOException e) {
1468: jjStopStringLiteralDfa_0(2, active0);
1469: return 3;
1470: }
1471: switch (curChar) {
1472: case 45:
1473: if ((active0 & 0x8L) != 0L) {
1474: return jjStopAtPos(3, 3);
1475: }
1476: break;
1477: default:
1478: break;
1479: }
1480: return jjStartNfa_0(2, active0);
1481: }
1482:
1483: /**
1484: * TODO: Document this method.
1485: *
1486: * @param pos TODO: Document this parameter.
1487: * @param kind TODO: Document this parameter.
1488: * @param state TODO: Document this parameter.
1489: * @return TODO: Document the result.
1490: */
1491: private final int jjStartNfaWithStates_0(int pos, int kind,
1492: int state) {
1493: jjmatchedKind = kind;
1494: jjmatchedPos = pos;
1495: try {
1496: curChar = input_stream.readChar();
1497: } catch (java.io.IOException e) {
1498: return pos + 1;
1499: }
1500: return jjMoveNfa_0(state, pos + 1);
1501: }
1502:
1503: /**
1504: * TODO: Document this method.
1505: *
1506: * @param pos TODO: Document this parameter.
1507: * @param kind TODO: Document this parameter.
1508: * @param state TODO: Document this parameter.
1509: * @return TODO: Document the result.
1510: */
1511: private final int jjStartNfaWithStates_1(int pos, int kind,
1512: int state) {
1513: jjmatchedKind = kind;
1514: jjmatchedPos = pos;
1515: try {
1516: curChar = input_stream.readChar();
1517: } catch (java.io.IOException e) {
1518: return pos + 1;
1519: }
1520: return jjMoveNfa_1(state, pos + 1);
1521: }
1522:
1523: /**
1524: * TODO: Document this method.
1525: *
1526: * @param pos TODO: Document this parameter.
1527: * @param kind TODO: Document this parameter.
1528: * @param state TODO: Document this parameter.
1529: * @return TODO: Document the result.
1530: */
1531: private final int jjStartNfaWithStates_2(int pos, int kind,
1532: int state) {
1533: jjmatchedKind = kind;
1534: jjmatchedPos = pos;
1535: try {
1536: curChar = input_stream.readChar();
1537: } catch (java.io.IOException e) {
1538: return pos + 1;
1539: }
1540: return jjMoveNfa_2(state, pos + 1);
1541: }
1542:
1543: /**
1544: * TODO: Document this method.
1545: *
1546: * @param pos TODO: Document this parameter.
1547: * @param kind TODO: Document this parameter.
1548: * @param state TODO: Document this parameter.
1549: * @return TODO: Document the result.
1550: */
1551: private final int jjStartNfaWithStates_5(int pos, int kind,
1552: int state) {
1553: jjmatchedKind = kind;
1554: jjmatchedPos = pos;
1555: try {
1556: curChar = input_stream.readChar();
1557: } catch (java.io.IOException e) {
1558: return pos + 1;
1559: }
1560: return jjMoveNfa_5(state, pos + 1);
1561: }
1562:
1563: /**
1564: * TODO: Document this method.
1565: *
1566: * @param pos TODO: Document this parameter.
1567: * @param kind TODO: Document this parameter.
1568: * @param state TODO: Document this parameter.
1569: * @return TODO: Document the result.
1570: */
1571: private final int jjStartNfaWithStates_6(int pos, int kind,
1572: int state) {
1573: jjmatchedKind = kind;
1574: jjmatchedPos = pos;
1575: try {
1576: curChar = input_stream.readChar();
1577: } catch (java.io.IOException e) {
1578: return pos + 1;
1579: }
1580: return jjMoveNfa_6(state, pos + 1);
1581: }
1582:
1583: /**
1584: * TODO: Document this method.
1585: *
1586: * @param pos TODO: Document this parameter.
1587: * @param active0 TODO: Document this parameter.
1588: * @return TODO: Document the result.
1589: */
1590: private final int jjStartNfa_0(int pos, long active0) {
1591: return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0),
1592: pos + 1);
1593: }
1594:
1595: /**
1596: * TODO: Document this method.
1597: *
1598: * @param pos TODO: Document this parameter.
1599: * @param active0 TODO: Document this parameter.
1600: * @return TODO: Document the result.
1601: */
1602: private final int jjStartNfa_1(int pos, long active0) {
1603: return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0),
1604: pos + 1);
1605: }
1606:
1607: /**
1608: * TODO: Document this method.
1609: *
1610: * @param pos TODO: Document this parameter.
1611: * @param active0 TODO: Document this parameter.
1612: * @return TODO: Document the result.
1613: */
1614: private final int jjStartNfa_2(int pos, long active0) {
1615: return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0),
1616: pos + 1);
1617: }
1618:
1619: /**
1620: * TODO: Document this method.
1621: *
1622: * @param pos TODO: Document this parameter.
1623: * @param active0 TODO: Document this parameter.
1624: * @return TODO: Document the result.
1625: */
1626: private final int jjStartNfa_5(int pos, long active0) {
1627: return jjMoveNfa_5(jjStopStringLiteralDfa_5(pos, active0),
1628: pos + 1);
1629: }
1630:
1631: /**
1632: * TODO: Document this method.
1633: *
1634: * @param pos TODO: Document this parameter.
1635: * @param active0 TODO: Document this parameter.
1636: * @return TODO: Document the result.
1637: */
1638: private final int jjStartNfa_6(int pos, long active0) {
1639: return jjMoveNfa_6(jjStopStringLiteralDfa_6(pos, active0),
1640: pos + 1);
1641: }
1642:
1643: /**
1644: * TODO: Document this method.
1645: *
1646: * @param pos TODO: Document this parameter.
1647: * @param kind TODO: Document this parameter.
1648: * @return TODO: Document the result.
1649: */
1650: private final int jjStopAtPos(int pos, int kind) {
1651: jjmatchedKind = kind;
1652: jjmatchedPos = pos;
1653: return pos + 1;
1654: }
1655:
1656: /**
1657: * TODO: Document this method.
1658: *
1659: * @param pos TODO: Document this parameter.
1660: * @param active0 TODO: Document this parameter.
1661: * @return TODO: Document the result.
1662: */
1663: private final int jjStopStringLiteralDfa_0(int pos, long active0) {
1664: switch (pos) {
1665: case 0:
1666: if ((active0 & 0x18L) != 0L) {
1667: return 17;
1668: }
1669: return -1;
1670: case 1:
1671: if ((active0 & 0x18L) != 0L) {
1672: return 22;
1673: }
1674: return -1;
1675: default:
1676: return -1;
1677: }
1678: }
1679:
1680: /**
1681: * TODO: Document this method.
1682: *
1683: * @param pos TODO: Document this parameter.
1684: * @param active0 TODO: Document this parameter.
1685: * @return TODO: Document the result.
1686: */
1687: private final int jjStopStringLiteralDfa_1(int pos, long active0) {
1688: switch (pos) {
1689: default:
1690: return -1;
1691: }
1692: }
1693:
1694: /**
1695: * TODO: Document this method.
1696: *
1697: * @param pos TODO: Document this parameter.
1698: * @param active0 TODO: Document this parameter.
1699: * @return TODO: Document the result.
1700: */
1701: private final int jjStopStringLiteralDfa_2(int pos, long active0) {
1702: switch (pos) {
1703: default:
1704: return -1;
1705: }
1706: }
1707:
1708: /**
1709: * TODO: Document this method.
1710: *
1711: * @param pos TODO: Document this parameter.
1712: * @param active0 TODO: Document this parameter.
1713: * @return TODO: Document the result.
1714: */
1715: private final int jjStopStringLiteralDfa_5(int pos, long active0) {
1716: switch (pos) {
1717: case 0:
1718: if ((active0 & 0x1000000L) != 0L) {
1719: jjmatchedKind = 23;
1720: return -1;
1721: }
1722: return -1;
1723: case 1:
1724: if ((active0 & 0x1000000L) != 0L) {
1725: if (jjmatchedPos == 0) {
1726: jjmatchedKind = 23;
1727: jjmatchedPos = 0;
1728: }
1729: return -1;
1730: }
1731: return -1;
1732: default:
1733: return -1;
1734: }
1735: }
1736:
1737: /**
1738: * TODO: Document this method.
1739: *
1740: * @param pos TODO: Document this parameter.
1741: * @param active0 TODO: Document this parameter.
1742: * @return TODO: Document the result.
1743: */
1744: private final int jjStopStringLiteralDfa_6(int pos, long active0) {
1745: switch (pos) {
1746: default:
1747: return -1;
1748: }
1749: }
1750:
1751: /**
1752: * Sets the DebugStream.
1753: *
1754: * @param ds The new DebugStream.
1755: */
1756: public void setDebugStream(java.io.PrintStream ds) {
1757: debugStream = ds;
1758: }
1759:
1760: }
|