/* Generated By:JavaCC: Do not edit this line. DTDParserTokenManager.java */ package org.exolab.castor.xml.dtd.parser; public class DTDParserTokenManager implements DTDParserConstants { private final int jjMoveStringLiteralDfa0_12() { return jjMoveNfa_12(0, 0); } private final void jjCheckNAdd(int state) { if (jjrounds[state] != jjround) { jjstateSet[jjnewStateCnt++] = state; jjrounds[state] = jjround; } } private final void jjAddStates(int start, int end) { do { jjstateSet[jjnewStateCnt++] = jjnextStates[start]; } while (start++ != end); } private final void jjCheckNAddTwoStates(int state1, int state2) { jjCheckNAdd(state1); jjCheckNAdd(state2); } private final int jjMoveNfa_12(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 6; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (curChar == 39) jjCheckNAddTwoStates(4, 5); else if (curChar == 34) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xafffffbb00002400L & l) != 0L) jjCheckNAddTwoStates(1, 2); break; case 2: if (curChar == 34 && kind > 76) kind = 76; break; case 3: if (curChar == 39) jjCheckNAddTwoStates(4, 5); break; case 4: if ((0xafffff3f00002400L & l) != 0L) jjCheckNAddTwoStates(4, 5); break; case 5: if (curChar == 39 && kind > 76) kind = 76; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((0x7fffffe87ffffffL & l) != 0L) jjAddStates(0, 1); break; case 4: if ((0x7fffffe87ffffffL & l) != 0L) jjAddStates(2, 3); break; default : break; } } while(i != startsAt); } else { MatchLoop: do { switch(jjstateSet[--i]) { default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 6 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjStopAtPos(int pos, int kind) { jjmatchedKind = kind; jjmatchedPos = pos; return pos + 1; } private final int jjMoveStringLiteralDfa0_9() { switch(curChar) { case 39: return jjStopAtPos(0, 67); default : return jjMoveNfa_9(0, 0); } } static final long[] jjbitVec0 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL }; private final int jjMoveNfa_9(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 1; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0xffffff5fffffffffL & l) != 0L) kind = 66; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { MatchLoop: do { switch(jjstateSet[--i]) { case 0: kind = 66; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((jjbitVec0[i2] & l2) != 0L && kind > 66) kind = 66; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjMoveStringLiteralDfa0_4() { switch(curChar) { case 39: return jjStopAtPos(0, 51); default : return jjMoveNfa_4(0, 0); } } private final int jjMoveNfa_4(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 1; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0xefffff7fffffffffL & l) != 0L) kind = 50; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { MatchLoop: do { switch(jjstateSet[--i]) { case 0: kind = 50; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((jjbitVec0[i2] & l2) != 0L && kind > 50) kind = 50; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjMoveStringLiteralDfa0_11() { switch(curChar) { case 62: return jjStopAtPos(0, 74); default : return jjMoveNfa_11(0, 0); } } private final int jjMoveNfa_11(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 7; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x100002600L & l) != 0L) { if (kind > 73) kind = 73; jjCheckNAdd(6); } else if (curChar == 39) jjCheckNAddTwoStates(4, 5); else if (curChar == 34) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddTwoStates(1, 2); break; case 2: if (curChar == 34 && kind > 72) kind = 72; break; case 3: if (curChar == 39) jjCheckNAddTwoStates(4, 5); break; case 4: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddTwoStates(4, 5); break; case 5: if (curChar == 39 && kind > 72) kind = 72; break; case 6: if ((0x100002600L & l) == 0L) break; if (kind > 73) kind = 73; jjCheckNAdd(6); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { MatchLoop: do { switch(jjstateSet[--i]) { case 1: jjAddStates(0, 1); break; case 4: jjAddStates(2, 3); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(0, 1); break; case 4: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(2, 3); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 7 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjMoveStringLiteralDfa0_8() { switch(curChar) { case 34: return jjStopAtPos(0, 65); default : return jjMoveNfa_8(0, 0); } } private final int jjMoveNfa_8(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 1; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0xffffffdbffffffffL & l) != 0L) kind = 64; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { MatchLoop: do { switch(jjstateSet[--i]) { case 0: kind = 64; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((jjbitVec0[i2] & l2) != 0L && kind > 64) kind = 64; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjStopStringLiteralDfa_0(int pos, long active0) { switch (pos) { case 0: if ((active0 & 0xc000L) != 0L) { jjmatchedKind = 23; return 2; } return -1; case 1: if ((active0 & 0xc000L) != 0L) { jjmatchedKind = 23; jjmatchedPos = 1; return 2; } return -1; case 2: if ((active0 & 0x4000L) != 0L) return 2; if ((active0 & 0x8000L) != 0L) { jjmatchedKind = 23; jjmatchedPos = 2; return 2; } return -1; case 3: if ((active0 & 0x8000L) != 0L) { jjmatchedKind = 23; jjmatchedPos = 3; return 2; } return -1; case 4: if ((active0 & 0x8000L) != 0L) return 2; return -1; default : return -1; } } private final int jjStartNfa_0(int pos, long active0) { return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1); } private final int jjStartNfaWithStates_0(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_0(state, pos + 1); } private final int jjMoveStringLiteralDfa0_0() { switch(curChar) { case 35: return jjMoveStringLiteralDfa1_0(0x40000L); case 40: return jjStopAtPos(0, 7); case 41: return jjStopAtPos(0, 8); case 42: return jjStopAtPos(0, 11); case 43: return jjStopAtPos(0, 13); case 44: return jjStopAtPos(0, 10); case 60: return jjMoveStringLiteralDfa1_0(0x790000L); case 62: return jjStopAtPos(0, 17); case 63: return jjStopAtPos(0, 12); case 65: return jjMoveStringLiteralDfa1_0(0x4000L); case 69: return jjMoveStringLiteralDfa1_0(0x8000L); case 124: return jjStopAtPos(0, 9); default : return jjMoveNfa_0(1, 0); } } private final int jjMoveStringLiteralDfa1_0(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0); return 1; } switch(curChar) { case 33: return jjMoveStringLiteralDfa2_0(active0, 0x790000L); case 77: return jjMoveStringLiteralDfa2_0(active0, 0x8000L); case 78: return jjMoveStringLiteralDfa2_0(active0, 0x4000L); case 80: return jjMoveStringLiteralDfa2_0(active0, 0x40000L); default : break; } return jjStartNfa_0(0, active0); } private final int jjMoveStringLiteralDfa2_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(1, active0); return 2; } switch(curChar) { case 45: return jjMoveStringLiteralDfa3_0(active0, 0x100000L); case 65: return jjMoveStringLiteralDfa3_0(active0, 0x80000L); case 67: return jjMoveStringLiteralDfa3_0(active0, 0x40000L); case 69: return jjMoveStringLiteralDfa3_0(active0, 0x210000L); case 78: return jjMoveStringLiteralDfa3_0(active0, 0x400000L); case 80: return jjMoveStringLiteralDfa3_0(active0, 0x8000L); case 89: if ((active0 & 0x4000L) != 0L) return jjStartNfaWithStates_0(2, 14, 2); break; default : break; } return jjStartNfa_0(1, active0); } private final int jjMoveStringLiteralDfa3_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(2, active0); return 3; } switch(curChar) { case 45: if ((active0 & 0x100000L) != 0L) return jjStopAtPos(3, 20); break; case 68: return jjMoveStringLiteralDfa4_0(active0, 0x40000L); case 76: return jjMoveStringLiteralDfa4_0(active0, 0x10000L); case 78: return jjMoveStringLiteralDfa4_0(active0, 0x200000L); case 79: return jjMoveStringLiteralDfa4_0(active0, 0x400000L); case 84: return jjMoveStringLiteralDfa4_0(active0, 0x88000L); default : break; } return jjStartNfa_0(2, active0); } private final int jjMoveStringLiteralDfa4_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(3, active0); return 4; } switch(curChar) { case 65: return jjMoveStringLiteralDfa5_0(active0, 0x40000L); case 69: return jjMoveStringLiteralDfa5_0(active0, 0x10000L); case 84: return jjMoveStringLiteralDfa5_0(active0, 0x680000L); case 89: if ((active0 & 0x8000L) != 0L) return jjStartNfaWithStates_0(4, 15, 2); break; default : break; } return jjStartNfa_0(3, active0); } private final int jjMoveStringLiteralDfa5_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(3, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(4, active0); return 5; } switch(curChar) { case 65: return jjMoveStringLiteralDfa6_0(active0, 0x400000L); case 73: return jjMoveStringLiteralDfa6_0(active0, 0x200000L); case 76: return jjMoveStringLiteralDfa6_0(active0, 0x80000L); case 77: return jjMoveStringLiteralDfa6_0(active0, 0x10000L); case 84: return jjMoveStringLiteralDfa6_0(active0, 0x40000L); default : break; } return jjStartNfa_0(4, active0); } private final int jjMoveStringLiteralDfa6_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(4, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(5, active0); return 6; } switch(curChar) { case 65: if ((active0 & 0x40000L) != 0L) return jjStopAtPos(6, 18); break; case 69: return jjMoveStringLiteralDfa7_0(active0, 0x10000L); case 73: return jjMoveStringLiteralDfa7_0(active0, 0x80000L); case 84: return jjMoveStringLiteralDfa7_0(active0, 0x600000L); default : break; } return jjStartNfa_0(5, active0); } private final int jjMoveStringLiteralDfa7_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(5, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(6, active0); return 7; } switch(curChar) { case 73: return jjMoveStringLiteralDfa8_0(active0, 0x400000L); case 78: return jjMoveStringLiteralDfa8_0(active0, 0x10000L); case 83: return jjMoveStringLiteralDfa8_0(active0, 0x80000L); case 89: if ((active0 & 0x200000L) != 0L) return jjStopAtPos(7, 21); break; default : break; } return jjStartNfa_0(6, active0); } private final int jjMoveStringLiteralDfa8_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(6, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(7, active0); return 8; } switch(curChar) { case 79: return jjMoveStringLiteralDfa9_0(active0, 0x400000L); case 84: if ((active0 & 0x10000L) != 0L) return jjStopAtPos(8, 16); else if ((active0 & 0x80000L) != 0L) return jjStopAtPos(8, 19); break; default : break; } return jjStartNfa_0(7, active0); } private final int jjMoveStringLiteralDfa9_0(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_0(7, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(8, active0); return 9; } switch(curChar) { case 78: if ((active0 & 0x400000L) != 0L) return jjStopAtPos(9, 22); break; default : break; } return jjStartNfa_0(8, active0); } static final long[] jjbitVec1 = { 0x0L, 0xffffffffffffc000L, 0xfffff0007fffffffL, 0x7fffffL }; static final long[] jjbitVec3 = { 0x0L, 0x0L, 0x0L, 0xff7fffffff7fffffL }; static final long[] jjbitVec4 = { 0x7ff3ffffffffffffL, 0x7ffffffffffffdfeL, 0xffffffffffffffffL, 0xfc31ffffffffe00fL }; static final long[] jjbitVec5 = { 0xffffffL, 0xffffffffffff0000L, 0xf80001ffffffffffL, 0x3L }; static final long[] jjbitVec6 = { 0x0L, 0x0L, 0xfffffffbffffd740L, 0xffffd547f7fffL }; static final long[] jjbitVec7 = { 0xffffffffffffdffeL, 0xffffffffdffeffffL, 0xffffffffffff0003L, 0x33fcfffffff199fL }; static final long[] jjbitVec8 = { 0xfffe000000000000L, 0xfffffffe027fffffL, 0x7fL, 0x707ffffff0000L }; static final long[] jjbitVec9 = { 0x7fffffe00000000L, 0xfffe0000000007feL, 0x7cffffffffffffffL, 0x60002f7fffL }; static final long[] jjbitVec10 = { 0x23ffffffffffffe0L, 0x3ff000000L, 0x3c5fdfffff99fe0L, 0x30003b0000000L }; static final long[] jjbitVec11 = { 0x36dfdfffff987e0L, 0x1c00005e000000L, 0x23edfdfffffbafe0L, 0x100000000L }; static final long[] jjbitVec12 = { 0x23cdfdfffff99fe0L, 0x3b0000000L, 0x3bfc718d63dc7e0L, 0x0L }; static final long[] jjbitVec13 = { 0x3effdfffffddfe0L, 0x300000000L, 0x3effdfffffddfe0L, 0x340000000L }; static final long[] jjbitVec14 = { 0x3fffdfffffddfe0L, 0x300000000L, 0x0L, 0x0L }; static final long[] jjbitVec15 = { 0xd7ffffffffffeL, 0x3fL, 0x200d6caefef02596L, 0x1fL }; static final long[] jjbitVec16 = { 0x0L, 0x3fffffffeffL, 0x0L, 0x0L }; static final long[] jjbitVec17 = { 0x0L, 0x0L, 0xffffffff00000000L, 0x7fffffffff003fL }; static final long[] jjbitVec18 = { 0x500000000007daedL, 0x2c62ab82315001L, 0xf580c90040000000L, 0x201080000000007L }; static final long[] jjbitVec19 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffff0fffffffL, 0x3ffffffffffffffL }; static final long[] jjbitVec20 = { 0xffffffff3f3fffffL, 0x3fffffffaaff3f3fL, 0x5fdfffffffffffffL, 0x1fdc1fff0fcf1fdcL }; static final long[] jjbitVec21 = { 0x4c4000000000L, 0x0L, 0x7L, 0x0L }; static final long[] jjbitVec22 = { 0x3fe00000080L, 0xfffffffffffffffeL, 0xfffffffe001fffffL, 0x7ffffffffffffffL }; static final long[] jjbitVec23 = { 0x1fffffffffe0L, 0x0L, 0x0L, 0x0L }; static final long[] jjbitVec24 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0x3fffffffffL, 0x0L }; static final long[] jjbitVec25 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xfffffffffL, 0x0L }; static final long[] jjbitVec26 = { 0x0L, 0x0L, 0x80000000000000L, 0xff7fffffff7fffffL }; static final long[] jjbitVec27 = { 0xffffffL, 0xffffffffffff0000L, 0xf80001ffffffffffL, 0x30003L }; static final long[] jjbitVec28 = { 0xffffffffffffffffL, 0x30000003fL, 0xfffffffbffffd7c0L, 0xffffd547f7fffL }; static final long[] jjbitVec29 = { 0xffffffffffffdffeL, 0xffffffffdffeffffL, 0xffffffffffff007bL, 0x33fcfffffff199fL }; static final long[] jjbitVec30 = { 0xfffe000000000000L, 0xfffffffe027fffffL, 0xbbfffffbfffe007fL, 0x707ffffff0016L }; static final long[] jjbitVec31 = { 0x7fffffe00000000L, 0xffff03ff0007ffffL, 0x7cffffffffffffffL, 0x3ff3dffffef7fffL }; static final long[] jjbitVec32 = { 0xf3ffffffffffffeeL, 0xffcfff1e3fffL, 0xd3c5fdfffff99feeL, 0x3ffcfb080399fL }; static final long[] jjbitVec33 = { 0xd36dfdfffff987e4L, 0x1fffc05e003987L, 0xf3edfdfffffbafeeL, 0xffc100003bbfL }; static final long[] jjbitVec34 = { 0xf3cdfdfffff99feeL, 0xffc3b0c0398fL, 0xc3bfc718d63dc7ecL, 0xff8000803dc7L }; static final long[] jjbitVec35 = { 0xc3effdfffffddfeeL, 0xffc300603ddfL, 0xc3effdfffffddfecL, 0xffc340603ddfL }; static final long[] jjbitVec36 = { 0xc3fffdfffffddfecL, 0xffc300803dcfL, 0x0L, 0x0L }; static final long[] jjbitVec37 = { 0x7ff7ffffffffffeL, 0x3ff7fffL, 0x3bff6caefef02596L, 0x3ff3f5fL }; static final long[] jjbitVec38 = { 0xc2a003ff03000000L, 0xfffe03fffffffeffL, 0x2fe3ffffebf0fdfL, 0x0L }; static final long[] jjbitVec39 = { 0x0L, 0x0L, 0x0L, 0x21fff0000L }; static final long[] jjbitVec40 = { 0x3efffe000000a0L, 0xfffffffffffffffeL, 0xfffffffe661fffffL, 0x77ffffffffffffffL }; private final int jjMoveNfa_0(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 3; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((0x100002600L & l) != 0L) { if (kind > 6) kind = 6; jjCheckNAdd(0); } else if (curChar == 58) { if (kind > 23) kind = 23; jjCheckNAdd(2); } break; case 0: if ((0x100002600L & l) == 0L) break; kind = 6; jjCheckNAdd(0); break; case 2: if ((0x7ff600000000000L & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(2); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: case 2: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(2); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((jjbitVec3[i2] & l2) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(2); break; case 2: if ((jjbitVec26[i2] & l2) == 0L) break; if (kind > 23) kind = 23; jjCheckNAdd(2); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjMoveStringLiteralDfa0_3() { switch(curChar) { case 34: return jjStopAtPos(0, 49); default : return jjMoveNfa_3(0, 0); } } private final int jjMoveNfa_3(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 1; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0xeffffffbffffffffL & l) != 0L) kind = 48; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { MatchLoop: do { switch(jjstateSet[--i]) { case 0: kind = 48; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((jjbitVec0[i2] & l2) != 0L && kind > 48) kind = 48; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjStopStringLiteralDfa_1(int pos, long active0) { switch (pos) { default : return -1; } } private final int jjStartNfa_1(int pos, long active0) { return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0), pos + 1); } private final int jjMoveStringLiteralDfa0_1() { switch(curChar) { case 45: jjmatchedKind = 25; return jjMoveStringLiteralDfa1_1(0x4000000L); default : return jjMoveNfa_1(0, 0); } } private final int jjMoveStringLiteralDfa1_1(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(0, active0); return 1; } switch(curChar) { case 45: return jjMoveStringLiteralDfa2_1(active0, 0x4000000L); default : break; } return jjStartNfa_1(0, active0); } private final int jjMoveStringLiteralDfa2_1(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_1(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(1, active0); return 2; } switch(curChar) { case 62: if ((active0 & 0x4000000L) != 0L) return jjStopAtPos(2, 26); break; default : break; } return jjStartNfa_1(1, active0); } static final long[] jjbitVec41 = { 0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0x7fffffff00ffffffL }; static final long[] jjbitVec42 = { 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0x3fffffffffffffffL }; private final int jjMoveNfa_1(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 1; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0xffffdfff00002600L & l) != 0L) kind = 24; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { MatchLoop: do { switch(jjstateSet[--i]) { case 0: kind = 24; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((jjbitVec0[i2] & l2) != 0L && kind > 24) kind = 24; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjStopStringLiteralDfa_2(int pos, long active0) { switch (pos) { case 0: if ((active0 & 0xff80000000L) != 0L) { jjmatchedKind = 46; return 4; } return -1; case 1: if ((active0 & 0xf880000000L) != 0L) { if (jjmatchedPos != 1) { jjmatchedKind = 46; jjmatchedPos = 1; } return 4; } if ((active0 & 0x700000000L) != 0L) return 4; return -1; case 2: if ((active0 & 0xfe80000000L) != 0L) { jjmatchedKind = 46; jjmatchedPos = 2; return 4; } return -1; case 3: if ((active0 & 0xfe80000000L) != 0L) { jjmatchedKind = 46; jjmatchedPos = 3; return 4; } return -1; case 4: if ((active0 & 0xf800000000L) != 0L) { if (jjmatchedPos != 4) { jjmatchedKind = 46; jjmatchedPos = 4; } return 4; } if ((active0 & 0x680000000L) != 0L) return 4; return -1; case 5: if ((active0 & 0xc00000000L) != 0L) return 4; if ((active0 & 0xf000000000L) != 0L) { jjmatchedKind = 46; jjmatchedPos = 5; return 4; } return -1; case 6: if ((active0 & 0x9000000000L) != 0L) { if (jjmatchedPos != 6) { jjmatchedKind = 46; jjmatchedPos = 6; } return 4; } if ((active0 & 0x6000000000L) != 0L) return 4; return -1; case 7: if ((active0 & 0xd000000000L) != 0L) return 4; return -1; default : return -1; } } private final int jjStartNfa_2(int pos, long active0) { return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1); } private final int jjStartNfaWithStates_2(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_2(state, pos + 1); } private final int jjMoveStringLiteralDfa0_2() { switch(curChar) { case 34: return jjStopAtPos(0, 43); case 35: return jjMoveStringLiteralDfa1_2(0x70000000000L); case 39: return jjStopAtPos(0, 44); case 40: return jjStopAtPos(0, 28); case 41: return jjStopAtPos(0, 29); case 62: return jjStopAtPos(0, 45); case 67: return jjMoveStringLiteralDfa1_2(0x80000000L); case 69: return jjMoveStringLiteralDfa1_2(0x1800000000L); case 73: return jjMoveStringLiteralDfa1_2(0x700000000L); case 78: return jjMoveStringLiteralDfa1_2(0xe000000000L); case 124: return jjStopAtPos(0, 30); default : return jjMoveNfa_2(1, 0); } } private final int jjMoveStringLiteralDfa1_2(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(0, active0); return 1; } switch(curChar) { case 68: if ((active0 & 0x100000000L) != 0L) { jjmatchedKind = 32; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_2(active0, 0x680000000L); case 70: return jjMoveStringLiteralDfa2_2(active0, 0x40000000000L); case 73: return jjMoveStringLiteralDfa2_2(active0, 0x20000000000L); case 77: return jjMoveStringLiteralDfa2_2(active0, 0x6000000000L); case 78: return jjMoveStringLiteralDfa2_2(active0, 0x1800000000L); case 79: return jjMoveStringLiteralDfa2_2(active0, 0x8000000000L); case 82: return jjMoveStringLiteralDfa2_2(active0, 0x10000000000L); default : break; } return jjStartNfa_2(0, active0); } private final int jjMoveStringLiteralDfa2_2(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_2(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(1, active0); return 2; } switch(curChar) { case 65: return jjMoveStringLiteralDfa3_2(active0, 0x80000000L); case 69: return jjMoveStringLiteralDfa3_2(active0, 0x10000000000L); case 73: return jjMoveStringLiteralDfa3_2(active0, 0x40000000000L); case 77: return jjMoveStringLiteralDfa3_2(active0, 0x20000000000L); case 82: return jjMoveStringLiteralDfa3_2(active0, 0x600000000L); case 84: return jjMoveStringLiteralDfa3_2(active0, 0xf800000000L); default : break; } return jjStartNfa_2(1, active0); } private final int jjMoveStringLiteralDfa3_2(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_2(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(2, active0); return 3; } switch(curChar) { case 65: return jjMoveStringLiteralDfa4_2(active0, 0x8000000000L); case 69: return jjMoveStringLiteralDfa4_2(active0, 0x600000000L); case 73: return jjMoveStringLiteralDfa4_2(active0, 0x1800000000L); case 79: return jjMoveStringLiteralDfa4_2(active0, 0x6000000000L); case 80: return jjMoveStringLiteralDfa4_2(active0, 0x20000000000L); case 81: return jjMoveStringLiteralDfa4_2(active0, 0x10000000000L); case 84: return jjMoveStringLiteralDfa4_2(active0, 0x80000000L); case 88: return jjMoveStringLiteralDfa4_2(active0, 0x40000000000L); default : break; } return jjStartNfa_2(2, active0); } private final int jjMoveStringLiteralDfa4_2(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_2(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(3, active0); return 4; } switch(curChar) { case 65: if ((active0 & 0x80000000L) != 0L) return jjStartNfaWithStates_2(4, 31, 4); break; case 69: return jjMoveStringLiteralDfa5_2(active0, 0x40000000000L); case 70: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 33; jjmatchedPos = 4; } return jjMoveStringLiteralDfa5_2(active0, 0x400000000L); case 75: return jjMoveStringLiteralDfa5_2(active0, 0x6000000000L); case 76: return jjMoveStringLiteralDfa5_2(active0, 0x20000000000L); case 84: return jjMoveStringLiteralDfa5_2(active0, 0x9800000000L); case 85: return jjMoveStringLiteralDfa5_2(active0, 0x10000000000L); default : break; } return jjStartNfa_2(3, active0); } private final int jjMoveStringLiteralDfa5_2(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_2(3, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(4, active0); return 5; } switch(curChar) { case 68: if ((active0 & 0x40000000000L) != 0L) return jjStopAtPos(5, 42); break; case 69: return jjMoveStringLiteralDfa6_2(active0, 0x6000000000L); case 73: return jjMoveStringLiteralDfa6_2(active0, 0x39000000000L); case 83: if ((active0 & 0x400000000L) != 0L) return jjStartNfaWithStates_2(5, 34, 4); break; case 89: if ((active0 & 0x800000000L) != 0L) return jjStartNfaWithStates_2(5, 35, 4); break; default : break; } return jjStartNfa_2(4, active0); } private final int jjMoveStringLiteralDfa6_2(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_2(4, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(5, active0); return 6; } switch(curChar) { case 69: return jjMoveStringLiteralDfa7_2(active0, 0x21000000000L); case 78: if ((active0 & 0x2000000000L) != 0L) { jjmatchedKind = 37; jjmatchedPos = 6; } return jjMoveStringLiteralDfa7_2(active0, 0x4000000000L); case 79: return jjMoveStringLiteralDfa7_2(active0, 0x8000000000L); case 82: return jjMoveStringLiteralDfa7_2(active0, 0x10000000000L); default : break; } return jjStartNfa_2(5, active0); } private final int jjMoveStringLiteralDfa7_2(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_2(5, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(6, active0); return 7; } switch(curChar) { case 68: if ((active0 & 0x20000000000L) != 0L) return jjStopAtPos(7, 41); break; case 69: return jjMoveStringLiteralDfa8_2(active0, 0x10000000000L); case 78: if ((active0 & 0x8000000000L) != 0L) return jjStartNfaWithStates_2(7, 39, 4); break; case 83: if ((active0 & 0x1000000000L) != 0L) return jjStartNfaWithStates_2(7, 36, 4); else if ((active0 & 0x4000000000L) != 0L) return jjStartNfaWithStates_2(7, 38, 4); break; default : break; } return jjStartNfa_2(6, active0); } private final int jjMoveStringLiteralDfa8_2(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_2(6, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_2(7, active0); return 8; } switch(curChar) { case 68: if ((active0 & 0x10000000000L) != 0L) return jjStopAtPos(8, 40); break; default : break; } return jjStartNfa_2(7, active0); } private final int jjMoveNfa_2(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 4; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((0x7ff600000000000L & l) != 0L) { if (kind > 47) kind = 47; jjCheckNAdd(3); } else if ((0x100002600L & l) != 0L) { if (kind > 27) kind = 27; jjCheckNAdd(0); } if (curChar == 58) { if (kind > 46) kind = 46; jjCheckNAdd(2); } break; case 4: if ((0x7ff600000000000L & l) != 0L) { if (kind > 47) kind = 47; jjCheckNAdd(3); } if ((0x7ff600000000000L & l) != 0L) { if (kind > 46) kind = 46; jjCheckNAdd(2); } break; case 0: if ((0x100002600L & l) == 0L) break; kind = 27; jjCheckNAdd(0); break; case 2: if ((0x7ff600000000000L & l) == 0L) break; if (kind > 46) kind = 46; jjCheckNAdd(2); break; case 3: if ((0x7ff600000000000L & l) == 0L) break; if (kind > 47) kind = 47; jjCheckNAdd(3); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 47) kind = 47; jjCheckNAdd(3); } if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 46) kind = 46; jjCheckNAdd(2); } break; case 4: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 47) kind = 47; jjCheckNAdd(3); } if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 46) kind = 46; jjCheckNAdd(2); } break; case 2: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 46) kind = 46; jjCheckNAdd(2); break; case 3: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 47) kind = 47; jjCheckNAdd(3); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((jjbitVec3[i2] & l2) != 0L) { if (kind > 46) kind = 46; jjCheckNAdd(2); } if ((jjbitVec26[i2] & l2) != 0L) { if (kind > 47) kind = 47; jjCheckNAdd(3); } break; case 4: if ((jjbitVec26[i2] & l2) != 0L) { if (kind > 46) kind = 46; jjCheckNAdd(2); } if ((jjbitVec26[i2] & l2) != 0L) { if (kind > 47) kind = 47; jjCheckNAdd(3); } break; case 2: if ((jjbitVec26[i2] & l2) == 0L) break; if (kind > 46) kind = 46; jjCheckNAdd(2); break; case 3: if ((jjbitVec26[i2] & l2) == 0L) break; if (kind > 47) kind = 47; jjCheckNAdd(3); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 4 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjMoveStringLiteralDfa0_10() { return jjMoveNfa_10(7, 0); } private final int jjMoveNfa_10(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 17; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((0x100002600L & l) != 0L) { if (kind > 68) kind = 68; jjCheckNAdd(0); } else if (curChar == 58) { if (kind > 71) kind = 71; jjCheckNAdd(16); } break; case 0: if ((0x100002600L & l) == 0L) break; if (kind > 68) kind = 68; jjCheckNAdd(0); break; case 2: if ((0x100002600L & l) == 0L) break; if (kind > 69) kind = 69; jjstateSet[jjnewStateCnt++] = 2; break; case 9: if ((0x100002600L & l) == 0L) break; if (kind > 70) kind = 70; jjstateSet[jjnewStateCnt++] = 9; break; case 15: if (curChar != 58) break; if (kind > 71) kind = 71; jjCheckNAdd(16); break; case 16: if ((0x7ff600000000000L & l) == 0L) break; if (kind > 71) kind = 71; jjCheckNAdd(16); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 71) kind = 71; jjCheckNAdd(16); } if (curChar == 83) jjstateSet[jjnewStateCnt++] = 13; else if (curChar == 80) jjstateSet[jjnewStateCnt++] = 6; break; case 1: if (curChar == 67) jjstateSet[jjnewStateCnt++] = 2; break; case 3: if (curChar == 73) jjstateSet[jjnewStateCnt++] = 1; break; case 4: if (curChar == 76) jjstateSet[jjnewStateCnt++] = 3; break; case 5: if (curChar == 66) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if (curChar == 85) jjstateSet[jjnewStateCnt++] = 5; break; case 8: if (curChar == 77) jjstateSet[jjnewStateCnt++] = 9; break; case 10: if (curChar == 69) jjstateSet[jjnewStateCnt++] = 8; break; case 11: if (curChar == 84) jjstateSet[jjnewStateCnt++] = 10; break; case 12: if (curChar == 83) jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 89) jjstateSet[jjnewStateCnt++] = 12; break; case 14: if (curChar == 83) jjstateSet[jjnewStateCnt++] = 13; break; case 15: case 16: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 71) kind = 71; jjCheckNAdd(16); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec3[i2] & l2) == 0L) break; if (kind > 71) kind = 71; jjCheckNAdd(16); break; case 16: if ((jjbitVec26[i2] & l2) == 0L) break; if (kind > 71) kind = 71; jjCheckNAdd(16); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 17 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjStopStringLiteralDfa_5(int pos, long active0) { switch (pos) { case 0: if ((active0 & 0x400000000000000L) != 0L) { jjmatchedKind = 59; return 16; } return -1; case 1: if ((active0 & 0x400000000000000L) != 0L) { jjmatchedKind = 59; jjmatchedPos = 1; return 16; } return -1; case 2: if ((active0 & 0x400000000000000L) != 0L) { jjmatchedKind = 59; jjmatchedPos = 2; return 16; } return -1; case 3: if ((active0 & 0x400000000000000L) != 0L) { jjmatchedKind = 59; jjmatchedPos = 3; return 16; } return -1; default : return -1; } } private final int jjStartNfa_5(int pos, long active0) { return jjMoveNfa_5(jjStopStringLiteralDfa_5(pos, active0), pos + 1); } private final int jjStartNfaWithStates_5(int pos, int kind, int state) { jjmatchedKind = kind; jjmatchedPos = pos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return pos + 1; } return jjMoveNfa_5(state, pos + 1); } private final int jjMoveStringLiteralDfa0_5() { switch(curChar) { case 34: return jjStopAtPos(0, 54); case 39: return jjStopAtPos(0, 55); case 62: return jjStopAtPos(0, 53); case 78: return jjMoveStringLiteralDfa1_5(0x400000000000000L); default : return jjMoveNfa_5(7, 0); } } private final int jjMoveStringLiteralDfa1_5(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_5(0, active0); return 1; } switch(curChar) { case 68: return jjMoveStringLiteralDfa2_5(active0, 0x400000000000000L); default : break; } return jjStartNfa_5(0, active0); } private final int jjMoveStringLiteralDfa2_5(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_5(0, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_5(1, active0); return 2; } switch(curChar) { case 65: return jjMoveStringLiteralDfa3_5(active0, 0x400000000000000L); default : break; } return jjStartNfa_5(1, active0); } private final int jjMoveStringLiteralDfa3_5(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_5(1, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_5(2, active0); return 3; } switch(curChar) { case 84: return jjMoveStringLiteralDfa4_5(active0, 0x400000000000000L); default : break; } return jjStartNfa_5(2, active0); } private final int jjMoveStringLiteralDfa4_5(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_5(2, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_5(3, active0); return 4; } switch(curChar) { case 65: if ((active0 & 0x400000000000000L) != 0L) return jjStartNfaWithStates_5(4, 58, 16); break; default : break; } return jjStartNfa_5(3, active0); } private final int jjMoveNfa_5(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 17; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((0x100002600L & l) != 0L) { if (kind > 52) kind = 52; jjCheckNAdd(0); } else if (curChar == 58) { if (kind > 59) kind = 59; jjCheckNAdd(16); } break; case 0: if ((0x100002600L & l) == 0L) break; if (kind > 52) kind = 52; jjCheckNAdd(0); break; case 2: if ((0x100002600L & l) == 0L) break; if (kind > 56) kind = 56; jjstateSet[jjnewStateCnt++] = 2; break; case 9: if ((0x100002600L & l) == 0L) break; if (kind > 57) kind = 57; jjstateSet[jjnewStateCnt++] = 9; break; case 15: if (curChar != 58) break; if (kind > 59) kind = 59; jjCheckNAdd(16); break; case 16: if ((0x7ff600000000000L & l) == 0L) break; if (kind > 59) kind = 59; jjCheckNAdd(16); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 59) kind = 59; jjCheckNAdd(16); } if (curChar == 83) jjstateSet[jjnewStateCnt++] = 13; else if (curChar == 80) jjstateSet[jjnewStateCnt++] = 6; break; case 1: if (curChar == 67) jjstateSet[jjnewStateCnt++] = 2; break; case 3: if (curChar == 73) jjstateSet[jjnewStateCnt++] = 1; break; case 4: if (curChar == 76) jjstateSet[jjnewStateCnt++] = 3; break; case 5: if (curChar == 66) jjstateSet[jjnewStateCnt++] = 4; break; case 6: if (curChar == 85) jjstateSet[jjnewStateCnt++] = 5; break; case 8: if (curChar == 77) jjstateSet[jjnewStateCnt++] = 9; break; case 10: if (curChar == 69) jjstateSet[jjnewStateCnt++] = 8; break; case 11: if (curChar == 84) jjstateSet[jjnewStateCnt++] = 10; break; case 12: if (curChar == 83) jjstateSet[jjnewStateCnt++] = 11; break; case 13: if (curChar == 89) jjstateSet[jjnewStateCnt++] = 12; break; case 14: if (curChar == 83) jjstateSet[jjnewStateCnt++] = 13; break; case 15: case 16: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 59) kind = 59; jjCheckNAdd(16); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 7: if ((jjbitVec3[i2] & l2) == 0L) break; if (kind > 59) kind = 59; jjCheckNAdd(16); break; case 16: if ((jjbitVec26[i2] & l2) == 0L) break; if (kind > 59) kind = 59; jjCheckNAdd(16); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 17 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjMoveStringLiteralDfa0_7() { return jjMoveNfa_7(0, 0); } private final int jjMoveNfa_7(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 7; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x100002600L & l) != 0L) { if (kind > 63) kind = 63; jjCheckNAdd(6); } else if (curChar == 39) jjCheckNAddTwoStates(4, 5); else if (curChar == 34) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xafffffbb00002400L & l) != 0L) jjCheckNAddTwoStates(1, 2); break; case 2: if (curChar == 34 && kind > 62) kind = 62; break; case 3: if (curChar == 39) jjCheckNAddTwoStates(4, 5); break; case 4: if ((0xafffff3f00002400L & l) != 0L) jjCheckNAddTwoStates(4, 5); break; case 5: if (curChar == 39 && kind > 62) kind = 62; break; case 6: if ((0x100002600L & l) == 0L) break; if (kind > 63) kind = 63; jjCheckNAdd(6); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((0x7fffffe87ffffffL & l) != 0L) jjAddStates(0, 1); break; case 4: if ((0x7fffffe87ffffffL & l) != 0L) jjAddStates(2, 3); break; default : break; } } while(i != startsAt); } else { MatchLoop: do { switch(jjstateSet[--i]) { default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 7 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private final int jjMoveStringLiteralDfa0_6() { return jjMoveNfa_6(0, 0); } private final int jjMoveNfa_6(int startState, int curPos) { int startsAt = 0; jjnewStateCnt = 6; int i = 1; jjstateSet[0] = startState; int kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (curChar == 39) jjCheckNAddTwoStates(4, 5); else if (curChar == 34) jjCheckNAddTwoStates(1, 2); break; case 1: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddTwoStates(1, 2); break; case 2: if (curChar == 34 && kind > 60) kind = 60; break; case 3: if (curChar == 39) jjCheckNAddTwoStates(4, 5); break; case 4: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddTwoStates(4, 5); break; case 5: if (curChar == 39 && kind > 60) kind = 60; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { MatchLoop: do { switch(jjstateSet[--i]) { case 1: jjAddStates(0, 1); break; case 4: jjAddStates(2, 3); break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(0, 1); break; case 4: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(2, 3); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 6 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } static final int[] jjnextStates = { 1, 2, 4, 5, }; public static final String[] jjstrLiteralImages = { "", null, null, null, null, null, null, "\50", "\51", "\174", "\54", "\52", "\77", "\53", "\101\116\131", "\105\115\120\124\131", "\74\41\105\114\105\115\105\116\124", "\76", "\43\120\103\104\101\124\101", "\74\41\101\124\124\114\111\123\124", "\74\41\55\55", "\74\41\105\116\124\111\124\131", "\74\41\116\117\124\101\124\111\117\116", null, null, "\55", "\55\55\76", null, "\50", "\51", "\174", "\103\104\101\124\101", "\111\104", "\111\104\122\105\106", "\111\104\122\105\106\123", "\105\116\124\111\124\131", "\105\116\124\111\124\111\105\123", "\116\115\124\117\113\105\116", "\116\115\124\117\113\105\116\123", "\116\117\124\101\124\111\117\116", "\43\122\105\121\125\111\122\105\104", "\43\111\115\120\114\111\105\104", "\43\106\111\130\105\104", "\42", "\47", "\76", null, null, null, "\42", null, "\47", null, "\76", "\42", "\47", null, null, "\116\104\101\124\101", null, null, null, null, null, null, "\42", null, "\47", null, null, null, null, null, null, "\76", null, null, }; public static final String[] lexStateNames = { "DEFAULT", "WithinComment", "WithinAttrDecl", "WithinAttrValueDQ", "WithinAttrValueSQ", "WithinGEDecl", "System_GE", "Public_GE", "WithinGEValueDQ", "WithinGEValueSQ", "WithinNotationDecl", "System_NOT", "Public_NOT", }; public static final int[] jjnewLexState = { -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 2, 1, 5, 10, -1, -1, -1, 0, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, 4, 0, -1, -1, -1, 2, -1, 2, -1, 0, 8, 9, 7, 6, -1, -1, 5, -1, -1, 6, -1, 5, -1, 5, -1, 12, 11, -1, -1, -1, 0, -1, 11, }; private CharStream input_stream; private final int[] jjrounds = new int[17]; private final int[] jjstateSet = new int[34]; protected char curChar; public DTDParserTokenManager(CharStream stream) { input_stream = stream; } public DTDParserTokenManager(CharStream stream, int lexState) { this(stream); SwitchTo(lexState); } public void ReInit(CharStream stream) { jjmatchedPos = jjnewStateCnt = 0; curLexState = defaultLexState; input_stream = stream; ReInitRounds(); } private final void ReInitRounds() { int i; jjround = 0x80000001; for (i = 17; i-- > 0;) jjrounds[i] = 0x80000000; } public void ReInit(CharStream stream, int lexState) { ReInit(stream); SwitchTo(lexState); } public void SwitchTo(int lexState) { if (lexState >= 13 || lexState < 0) { throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); } curLexState = lexState; } private final Token jjFillToken() { Token t = Token.newToken(jjmatchedKind); t.kind = jjmatchedKind; String im = jjstrLiteralImages[jjmatchedKind]; t.image = (im == null) ? input_stream.GetImage() : im; t.beginLine = input_stream.getBeginLine(); t.beginColumn = input_stream.getBeginColumn(); t.endLine = input_stream.getEndLine(); t.endColumn = input_stream.getEndColumn(); return t; } int curLexState = 0; int defaultLexState = 0; int jjnewStateCnt; int jjround; int jjmatchedPos; int jjmatchedKind; public final Token getNextToken() { Token matchedToken; int curPos = 0; EOFLoop : for (;;) { try { curChar = input_stream.BeginToken(); } catch(java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); return matchedToken; } switch(curLexState) { case 0: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); break; case 1: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_1(); break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); break; case 3: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_3(); break; case 4: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_4(); break; case 5: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_5(); break; case 6: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_6(); break; case 7: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_7(); break; case 8: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_8(); break; case 9: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_9(); break; case 10: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_10(); break; case 11: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_11(); break; case 12: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_12(); break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); matchedToken = jjFillToken(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } int error_line = input_stream.getEndLine(); int error_column = input_stream.getEndColumn(); String error_after = null; boolean EOFSeen = false; try { input_stream.readChar(); input_stream.backup(1); } catch (java.io.IOException e1) { EOFSeen = true; error_after = curPos <= 1 ? "" : input_stream.GetImage(); if (curChar == '\n' || curChar == '\r') { error_line++; error_column = 0; } else error_column++; } if (!EOFSeen) { input_stream.backup(1); error_after = curPos <= 1 ? "" : input_stream.GetImage(); } throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR); } } }