/* Generated By:JavaCC: Do not edit this line. PHPParserTokenManager.java */ package test; import org.eclipse.core.resources.IFile; import org.eclipse.core.resources.IMarker; import org.eclipse.core.runtime.CoreException; import org.eclipse.ui.texteditor.MarkerUtilities; import org.eclipse.jface.preference.IPreferenceStore; import java.util.Hashtable; import java.io.StringReader; import java.text.MessageFormat; import net.sourceforge.phpeclipse.actions.PHPStartApacheAction; import net.sourceforge.phpeclipse.PHPeclipsePlugin; import net.sourceforge.phpdt.internal.compiler.parser.PHPOutlineInfo; import net.sourceforge.phpdt.internal.compiler.parser.PHPSegmentWithChildren; import net.sourceforge.phpdt.internal.compiler.parser.PHPFunctionDeclaration; import net.sourceforge.phpdt.internal.compiler.parser.PHPClassDeclaration; import net.sourceforge.phpdt.internal.compiler.parser.PHPVarDeclaration; import net.sourceforge.phpdt.internal.compiler.parser.PHPReqIncDeclaration; public class PHPParserTokenManager implements PHPParserConstants { public static java.io.PrintStream debugStream = System.out; public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; } private static final int jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2) { switch (pos) { default : return -1; } } private static final int jjStartNfa_0(int pos, long active0, long active1, long active2) { return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1); } static private final int jjStopAtPos(int pos, int kind) { jjmatchedKind = kind; jjmatchedPos = pos; return pos + 1; } static 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); } static private final int jjMoveStringLiteralDfa0_0() { switch(curChar) { case 63: return jjMoveStringLiteralDfa1_0(0x8000000000000000L); default : return jjMoveNfa_0(0, 0); } } static private final int jjMoveStringLiteralDfa1_0(long active1) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, 0L, active1, 0L); return 1; } switch(curChar) { case 62: if ((active1 & 0x8000000000000000L) != 0L) return jjStopAtPos(1, 127); break; default : break; } return jjStartNfa_0(0, 0L, active1, 0L); } static private final void jjCheckNAdd(int state) { if (jjrounds[state] != jjround) { jjstateSet[jjnewStateCnt++] = state; jjrounds[state] = jjround; } } static private final void jjAddStates(int start, int end) { do { jjstateSet[jjnewStateCnt++] = jjnextStates[start]; } while (start++ != end); } static private final void jjCheckNAddTwoStates(int state1, int state2) { jjCheckNAdd(state1); jjCheckNAdd(state2); } static private final void jjCheckNAddStates(int start, int end) { do { jjCheckNAdd(jjnextStates[start]); } while (start++ != end); } static private final void jjCheckNAddStates(int start) { jjCheckNAdd(jjnextStates[start]); jjCheckNAdd(jjnextStates[start + 1]); } static private final int jjMoveNfa_0(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 6; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (curChar == 60) jjAddStates(0, 1); break; case 4: if (curChar == 63) jjstateSet[jjnewStateCnt++] = 3; break; case 5: if (curChar == 63 && kind > 1) kind = 1; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 1: if ((0x1000000010000L & l) != 0L && kind > 1) kind = 1; break; case 2: if ((0x10000000100L & l) != 0L) jjstateSet[jjnewStateCnt++] = 1; break; case 3: if ((0x1000000010000L & l) != 0L) jjstateSet[jjnewStateCnt++] = 2; break; default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); 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; } } } static private final int jjMoveStringLiteralDfa0_4() { switch(curChar) { case 42: return jjMoveStringLiteralDfa1_4(0x4000L); default : return 1; } } static private final int jjMoveStringLiteralDfa1_4(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return 1; } switch(curChar) { case 47: if ((active0 & 0x4000L) != 0L) return jjStopAtPos(1, 14); break; default : return 2; } return 2; } static private final int jjMoveStringLiteralDfa0_2() { return jjMoveNfa_2(0, 0); } static private final int jjMoveNfa_2(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 5; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 0: if ((0x2400L & l) != 0L) { if (kind > 12) kind = 12; } else if (curChar == 63) jjstateSet[jjnewStateCnt++] = 3; if (curChar == 13) jjstateSet[jjnewStateCnt++] = 1; break; case 1: if (curChar == 10 && kind > 12) kind = 12; break; case 2: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 1; break; case 3: if (curChar == 62) kind = 12; break; case 4: if (curChar == 63) jjstateSet[jjnewStateCnt++] = 3; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { default : break; } } while(i != startsAt); } else { int i2 = (curChar & 0xff) >> 6; long l2 = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 5 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1) { switch (pos) { case 0: if ((active0 & 0xfffffffc7fff0000L) != 0L) { jjmatchedKind = 74; return 14; } if ((active0 & 0xa00L) != 0L || (active1 & 0x20040000000000L) != 0L) return 2; if ((active1 & 0x1000000L) != 0L) return 16; if ((active1 & 0x200000000400000L) != 0L) return 8; return -1; case 1: if ((active0 & 0x800L) != 0L) return 0; if ((active0 & 0x4400008000080000L) != 0L) return 14; if ((active0 & 0xbbffff7c7ff70000L) != 0L) { if (jjmatchedPos != 1) { jjmatchedKind = 74; jjmatchedPos = 1; } return 14; } return -1; case 2: if ((active0 & 0xb000140000040000L) != 0L) return 14; if ((active0 & 0xfffeb7c7ff30000L) != 0L) { if (jjmatchedPos != 2) { jjmatchedKind = 74; jjmatchedPos = 2; } return 14; } return -1; case 3: if ((active0 & 0x2c79c3747ec30000L) != 0L) { if (jjmatchedPos != 3) { jjmatchedKind = 74; jjmatchedPos = 3; } return 14; } if ((active0 & 0x386280801300000L) != 0L) return 14; return -1; case 4: if ((active0 & 0x808821400c10000L) != 0L) return 14; if ((active0 & 0x257141607e120000L) != 0L) { jjmatchedKind = 74; jjmatchedPos = 4; return 14; } return -1; case 5: if ((active0 & 0x461400060100000L) != 0L) return 14; if ((active0 & 0x211001601e020000L) != 0L) { jjmatchedKind = 74; jjmatchedPos = 5; return 14; } return -1; case 6: if ((active0 & 0x210001401e000000L) != 0L) return 14; if ((active0 & 0x10002000020000L) != 0L) { if (jjmatchedPos != 6) { jjmatchedKind = 74; jjmatchedPos = 6; } return 14; } return -1; case 7: if ((active0 & 0x10002000020000L) != 0L) return 14; if ((active0 & 0x18000000L) != 0L) { jjmatchedKind = 74; jjmatchedPos = 7; return 14; } return -1; case 8: if ((active0 & 0x18000000L) != 0L) { jjmatchedKind = 74; jjmatchedPos = 8; return 14; } return -1; case 9: if ((active0 & 0x18000000L) != 0L) { jjmatchedKind = 74; jjmatchedPos = 9; return 14; } return -1; case 10: if ((active0 & 0x18000000L) != 0L) { jjmatchedKind = 74; jjmatchedPos = 10; return 14; } return -1; default : return -1; } } private static final int jjStartNfa_1(int pos, long active0, long active1) { return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1), pos + 1); } static private final int jjStartNfaWithStates_1(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_1(state, pos + 1); } static private final int jjMoveStringLiteralDfa0_1() { switch(curChar) { case 33: jjmatchedKind = 92; return jjMoveStringLiteralDfa1_1(0x0L, 0x400000000L); case 36: return jjStartNfaWithStates_1(0, 88, 16); case 37: jjmatchedKind = 110; return jjMoveStringLiteralDfa1_1(0x0L, 0x400000000000000L); case 38: jjmatchedKind = 107; return jjMoveStringLiteralDfa1_1(0x0L, 0x40001000000000L); case 40: return jjStopAtPos(0, 78); case 41: return jjStopAtPos(0, 79); case 42: jjmatchedKind = 105; return jjMoveStringLiteralDfa1_1(0x0L, 0x10000000000000L); case 43: jjmatchedKind = 103; return jjMoveStringLiteralDfa1_1(0x0L, 0x4002000000000L); case 44: return jjStopAtPos(0, 85); case 45: jjmatchedKind = 104; return jjMoveStringLiteralDfa1_1(0x80000000L, 0x8004000000000L); case 46: jjmatchedKind = 86; return jjMoveStringLiteralDfa1_1(0x0L, 0x200000000000000L); case 47: jjmatchedKind = 106; return jjMoveStringLiteralDfa1_1(0xa00L, 0x20000000000000L); case 58: jjmatchedKind = 94; return jjMoveStringLiteralDfa1_1(0x100000000L, 0x0L); case 59: return jjStopAtPos(0, 84); case 60: jjmatchedKind = 91; return jjMoveStringLiteralDfa1_1(0x0L, 0x800800100000000L); case 61: jjmatchedKind = 89; return jjMoveStringLiteralDfa1_1(0x200000000L, 0x80000000L); case 62: jjmatchedKind = 90; return jjMoveStringLiteralDfa1_1(0x0L, 0x3003000200000000L); case 63: jjmatchedKind = 93; return jjMoveStringLiteralDfa1_1(0x4L, 0x0L); case 64: return jjStopAtPos(0, 87); case 91: return jjStopAtPos(0, 82); case 93: return jjStopAtPos(0, 83); case 94: jjmatchedKind = 109; return jjMoveStringLiteralDfa1_1(0x0L, 0x100000000000000L); case 65: case 97: return jjMoveStringLiteralDfa1_1(0x8000000000400000L, 0x0L); case 66: case 98: return jjMoveStringLiteralDfa1_1(0x180000400000000L, 0x0L); case 67: case 99: return jjMoveStringLiteralDfa1_1(0x3800010000L, 0x0L); case 68: case 100: return jjMoveStringLiteralDfa1_1(0x40000c000000000L, 0x0L); case 69: case 101: return jjMoveStringLiteralDfa1_1(0x10010001300000L, 0x0L); case 70: case 102: return jjMoveStringLiteralDfa1_1(0x800060000020000L, 0x0L); case 71: case 103: return jjMoveStringLiteralDfa1_1(0x80020000000L, 0x0L); case 73: case 105: return jjMoveStringLiteralDfa1_1(0x300000000a080000L, 0x0L); case 78: case 110: return jjMoveStringLiteralDfa1_1(0x300000000000L, 0x0L); case 79: case 111: return jjMoveStringLiteralDfa1_1(0x4040000000000000L, 0x0L); case 80: case 112: return jjMoveStringLiteralDfa1_1(0x800000L, 0x0L); case 82: case 114: return jjMoveStringLiteralDfa1_1(0x200400014000000L, 0x0L); case 83: case 115: return jjMoveStringLiteralDfa1_1(0x21800040000000L, 0x0L); case 84: case 116: return jjMoveStringLiteralDfa1_1(0x6000000000000L, 0x0L); case 86: case 118: return jjMoveStringLiteralDfa1_1(0x40000L, 0x0L); case 87: case 119: return jjMoveStringLiteralDfa1_1(0x8000000000000L, 0x0L); case 123: return jjStopAtPos(0, 80); case 124: jjmatchedKind = 108; return jjMoveStringLiteralDfa1_1(0x0L, 0x80000800000000L); case 125: return jjStopAtPos(0, 81); default : return jjMoveNfa_1(3, 0); } } static private final int jjMoveStringLiteralDfa1_1(long active0, long active1) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(0, active0, active1); return 1; } switch(curChar) { case 38: if ((active1 & 0x1000000000L) != 0L) return jjStopAtPos(1, 100); break; case 42: if ((active0 & 0x800L) != 0L) return jjStartNfaWithStates_1(1, 11, 0); break; case 43: if ((active1 & 0x2000000000L) != 0L) return jjStopAtPos(1, 101); break; case 45: if ((active1 & 0x4000000000L) != 0L) return jjStopAtPos(1, 102); break; case 47: if ((active0 & 0x200L) != 0L) return jjStopAtPos(1, 9); break; case 58: if ((active0 & 0x100000000L) != 0L) return jjStopAtPos(1, 32); break; case 60: if ((active1 & 0x800000000000L) != 0L) { jjmatchedKind = 111; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x800000000000000L); case 61: if ((active1 & 0x80000000L) != 0L) return jjStopAtPos(1, 95); else if ((active1 & 0x100000000L) != 0L) return jjStopAtPos(1, 96); else if ((active1 & 0x200000000L) != 0L) return jjStopAtPos(1, 97); else if ((active1 & 0x400000000L) != 0L) return jjStopAtPos(1, 98); else if ((active1 & 0x4000000000000L) != 0L) return jjStopAtPos(1, 114); else if ((active1 & 0x8000000000000L) != 0L) return jjStopAtPos(1, 115); else if ((active1 & 0x10000000000000L) != 0L) return jjStopAtPos(1, 116); else if ((active1 & 0x20000000000000L) != 0L) return jjStopAtPos(1, 117); else if ((active1 & 0x40000000000000L) != 0L) return jjStopAtPos(1, 118); else if ((active1 & 0x80000000000000L) != 0L) return jjStopAtPos(1, 119); else if ((active1 & 0x100000000000000L) != 0L) return jjStopAtPos(1, 120); else if ((active1 & 0x200000000000000L) != 0L) return jjStopAtPos(1, 121); else if ((active1 & 0x400000000000000L) != 0L) return jjStopAtPos(1, 122); break; case 62: if ((active0 & 0x4L) != 0L) return jjStopAtPos(1, 2); else if ((active0 & 0x80000000L) != 0L) return jjStopAtPos(1, 31); else if ((active0 & 0x200000000L) != 0L) return jjStopAtPos(1, 33); else if ((active1 & 0x1000000000000L) != 0L) { jjmatchedKind = 112; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x3002000000000000L); case 65: case 97: return jjMoveStringLiteralDfa2_1(active0, 0x20800040000L, active1, 0L); case 66: case 98: return jjMoveStringLiteralDfa2_1(active0, 0x40000000000000L, active1, 0L); case 67: case 99: return jjMoveStringLiteralDfa2_1(active0, 0x1000000L, active1, 0L); case 69: case 101: return jjMoveStringLiteralDfa2_1(active0, 0x200504014000000L, active1, 0L); case 70: case 102: if ((active0 & 0x80000L) != 0L) return jjStartNfaWithStates_1(1, 19, 14); break; case 72: case 104: return jjMoveStringLiteralDfa2_1(active0, 0xa000000000000L, active1, 0L); case 76: case 108: return jjMoveStringLiteralDfa2_1(active0, 0x800000020310000L, active1, 0L); case 78: case 110: return jjMoveStringLiteralDfa2_1(active0, 0xb01000000a000000L, active1, 0L); case 79: case 111: if ((active0 & 0x8000000000L) != 0L) { jjmatchedKind = 39; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_1(active0, 0x5800c3000000000L, active1, 0L); case 82: case 114: if ((active0 & 0x4000000000000000L) != 0L) return jjStartNfaWithStates_1(1, 62, 14); return jjMoveStringLiteralDfa2_1(active0, 0x4000400c00000L, active1, 0L); case 84: case 116: return jjMoveStringLiteralDfa2_1(active0, 0x20000040000000L, active1, 0L); case 85: case 117: return jjMoveStringLiteralDfa2_1(active0, 0xa00000020000L, active1, 0L); case 87: case 119: return jjMoveStringLiteralDfa2_1(active0, 0x1000000000000L, active1, 0L); case 88: case 120: return jjMoveStringLiteralDfa2_1(active0, 0x10000000000L, active1, 0L); case 124: if ((active1 & 0x800000000L) != 0L) return jjStopAtPos(1, 99); break; default : break; } return jjStartNfa_1(0, active0, active1); } static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(0, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(1, active0, active1); return 2; } switch(curChar) { case 61: if ((active1 & 0x800000000000000L) != 0L) return jjStopAtPos(2, 123); else if ((active1 & 0x1000000000000000L) != 0L) return jjStopAtPos(2, 124); break; case 62: if ((active1 & 0x2000000000000L) != 0L) { jjmatchedKind = 113; jjmatchedPos = 2; } return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x2000000000000000L); case 65: case 97: return jjMoveStringLiteralDfa3_1(active0, 0x200000040010000L, active1, 0L); case 67: case 99: return jjMoveStringLiteralDfa3_1(active0, 0xa000000L, active1, 0L); case 68: case 100: if ((active0 & 0x8000000000000000L) != 0L) return jjStartNfaWithStates_1(2, 63, 14); return jjMoveStringLiteralDfa3_1(active0, 0x10000000000000L, active1, 0L); case 69: case 101: return jjMoveStringLiteralDfa3_1(active0, 0x400000000L, active1, 0L); case 70: case 102: return jjMoveStringLiteralDfa3_1(active0, 0x4000000000L, active1, 0L); case 72: case 104: return jjMoveStringLiteralDfa3_1(active0, 0x1000000L, active1, 0L); case 73: case 105: return jjMoveStringLiteralDfa3_1(active0, 0xb000000800000L, active1, 0L); case 74: case 106: return jjMoveStringLiteralDfa3_1(active0, 0x40000000000000L, active1, 0L); case 76: case 108: return jjMoveStringLiteralDfa3_1(active0, 0x220000000000L, active1, 0L); case 78: case 110: return jjMoveStringLiteralDfa3_1(active0, 0x3000020000L, active1, 0L); case 79: case 111: return jjMoveStringLiteralDfa3_1(active0, 0x980000020000000L, active1, 0L); case 80: case 112: return jjMoveStringLiteralDfa3_1(active0, 0x800000000000L, active1, 0L); case 81: case 113: return jjMoveStringLiteralDfa3_1(active0, 0x14000000L, active1, 0L); case 82: case 114: if ((active0 & 0x40000L) != 0L) return jjStartNfaWithStates_1(2, 18, 14); else if ((active0 & 0x40000000000L) != 0L) return jjStartNfaWithStates_1(2, 42, 14); return jjMoveStringLiteralDfa3_1(active0, 0x20000000400000L, active1, 0L); case 83: case 115: return jjMoveStringLiteralDfa3_1(active0, 0x800300000L, active1, 0L); case 84: case 116: if ((active0 & 0x1000000000000000L) != 0L) { jjmatchedKind = 60; jjmatchedPos = 2; } return jjMoveStringLiteralDfa3_1(active0, 0x2000490000000000L, active1, 0L); case 85: case 117: return jjMoveStringLiteralDfa3_1(active0, 0x404000000000000L, active1, 0L); case 87: case 119: if ((active0 & 0x100000000000L) != 0L) return jjStartNfaWithStates_1(2, 44, 14); break; default : break; } return jjStartNfa_1(1, active0, active1); } static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(1, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(2, active0, active1); return 3; } switch(curChar) { case 61: if ((active1 & 0x2000000000000000L) != 0L) return jjStopAtPos(3, 125); break; case 65: case 97: return jjMoveStringLiteralDfa4_1(active0, 0x800004400400000L, active1, 0L); case 66: case 98: return jjMoveStringLiteralDfa4_1(active0, 0x400000020000000L, active1, 0L); case 67: case 99: return jjMoveStringLiteralDfa4_1(active0, 0x20000L, active1, 0L); case 69: case 101: if ((active0 & 0x200000L) != 0L) { jjmatchedKind = 21; jjmatchedPos = 3; } else if ((active0 & 0x800000000L) != 0L) return jjStartNfaWithStates_1(3, 35, 14); else if ((active0 & 0x4000000000000L) != 0L) return jjStartNfaWithStates_1(3, 50, 14); return jjMoveStringLiteralDfa4_1(active0, 0x2040810000100000L, active1, 0L); case 73: case 105: return jjMoveStringLiteralDfa4_1(active0, 0x20000000000000L, active1, 0L); case 76: case 108: if ((active0 & 0x200000000000L) != 0L) return jjStartNfaWithStates_1(3, 45, 14); else if ((active0 & 0x80000000000000L) != 0L) { jjmatchedKind = 55; jjmatchedPos = 3; } else if ((active0 & 0x200000000000000L) != 0L) return jjStartNfaWithStates_1(3, 57, 14); return jjMoveStringLiteralDfa4_1(active0, 0x10800000a000000L, active1, 0L); case 78: case 110: return jjMoveStringLiteralDfa4_1(active0, 0x800000L, active1, 0L); case 79: case 111: if ((active0 & 0x1000000L) != 0L) return jjStartNfaWithStates_1(3, 24, 14); else if ((active0 & 0x80000000000L) != 0L) return jjStartNfaWithStates_1(3, 43, 14); break; case 83: case 115: if ((active0 & 0x2000000000000L) != 0L) return jjStartNfaWithStates_1(3, 49, 14); return jjMoveStringLiteralDfa4_1(active0, 0x21000010000L, active1, 0L); case 84: case 116: return jjMoveStringLiteralDfa4_1(active0, 0x1002040000000L, active1, 0L); case 85: case 117: return jjMoveStringLiteralDfa4_1(active0, 0x400014000000L, active1, 0L); case 87: case 119: return jjMoveStringLiteralDfa4_1(active0, 0x10000000000000L, active1, 0L); default : break; } return jjStartNfa_1(2, active0, active1); } static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1) { if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_1(2, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(3, active0, 0L); return 4; } switch(curChar) { case 65: case 97: return jjMoveStringLiteralDfa5_1(active0, 0x20000000L); case 67: case 99: return jjMoveStringLiteralDfa5_1(active0, 0x41000000000000L); case 69: case 101: if ((active0 & 0x20000000000L) != 0L) return jjStartNfaWithStates_1(4, 41, 14); else if ((active0 & 0x8000000000000L) != 0L) return jjStartNfaWithStates_1(4, 51, 14); return jjMoveStringLiteralDfa5_1(active0, 0x100000000000000L); case 71: case 103: return jjMoveStringLiteralDfa5_1(active0, 0x2000000000000000L); case 72: case 104: return jjMoveStringLiteralDfa5_1(active0, 0x10000000000000L); case 73: case 105: return jjMoveStringLiteralDfa5_1(active0, 0x2054100000L); case 75: case 107: if ((active0 & 0x400000000L) != 0L) return jjStartNfaWithStates_1(4, 34, 14); break; case 76: case 108: return jjMoveStringLiteralDfa5_1(active0, 0x400000000000000L); case 78: case 110: return jjMoveStringLiteralDfa5_1(active0, 0x20010000000000L); case 82: case 114: if ((active0 & 0x800000000000L) != 0L) return jjStartNfaWithStates_1(4, 47, 14); return jjMoveStringLiteralDfa5_1(active0, 0x400000000000L); case 83: case 115: if ((active0 & 0x10000L) != 0L) return jjStartNfaWithStates_1(4, 16, 14); break; case 84: case 116: if ((active0 & 0x800000L) != 0L) return jjStartNfaWithStates_1(4, 23, 14); else if ((active0 & 0x1000000000L) != 0L) return jjStartNfaWithStates_1(4, 36, 14); else if ((active0 & 0x800000000000000L) != 0L) return jjStartNfaWithStates_1(4, 59, 14); return jjMoveStringLiteralDfa5_1(active0, 0x20000L); case 85: case 117: return jjMoveStringLiteralDfa5_1(active0, 0x400a000000L); case 89: case 121: if ((active0 & 0x400000L) != 0L) return jjStartNfaWithStates_1(4, 22, 14); break; default : break; } return jjStartNfa_1(3, active0, 0L); } static private final int jjMoveStringLiteralDfa5_1(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_1(3, old0, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(4, active0, 0L); return 5; } switch(curChar) { case 65: case 97: return jjMoveStringLiteralDfa6_1(active0, 0x100000000000000L); case 67: case 99: if ((active0 & 0x40000000L) != 0L) return jjStartNfaWithStates_1(5, 30, 14); break; case 68: case 100: return jjMoveStringLiteralDfa6_1(active0, 0x1000a000000L); case 69: case 101: if ((active0 & 0x400000000000000L) != 0L) return jjStartNfaWithStates_1(5, 58, 14); return jjMoveStringLiteralDfa6_1(active0, 0x2000000000000000L); case 70: case 102: if ((active0 & 0x100000L) != 0L) return jjStartNfaWithStates_1(5, 20, 14); break; case 71: case 103: if ((active0 & 0x20000000000000L) != 0L) return jjStartNfaWithStates_1(5, 53, 14); break; case 72: case 104: if ((active0 & 0x1000000000000L) != 0L) return jjStartNfaWithStates_1(5, 48, 14); break; case 73: case 105: return jjMoveStringLiteralDfa6_1(active0, 0x10000000020000L); case 76: case 108: if ((active0 & 0x20000000L) != 0L) return jjStartNfaWithStates_1(5, 29, 14); return jjMoveStringLiteralDfa6_1(active0, 0x4000000000L); case 78: case 110: if ((active0 & 0x400000000000L) != 0L) return jjStartNfaWithStates_1(5, 46, 14); return jjMoveStringLiteralDfa6_1(active0, 0x2000000000L); case 82: case 114: return jjMoveStringLiteralDfa6_1(active0, 0x14000000L); case 84: case 116: if ((active0 & 0x40000000000000L) != 0L) return jjStartNfaWithStates_1(5, 54, 14); break; default : break; } return jjStartNfa_1(4, active0, 0L); } static private final int jjMoveStringLiteralDfa6_1(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_1(4, old0, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(5, active0, 0L); return 6; } switch(curChar) { case 69: case 101: if ((active0 & 0x2000000L) != 0L) { jjmatchedKind = 25; jjmatchedPos = 6; } else if ((active0 & 0x4000000L) != 0L) { jjmatchedKind = 26; jjmatchedPos = 6; } return jjMoveStringLiteralDfa7_1(active0, 0x18000000L); case 76: case 108: return jjMoveStringLiteralDfa7_1(active0, 0x10000000000000L); case 78: case 110: if ((active0 & 0x100000000000000L) != 0L) return jjStartNfaWithStates_1(6, 56, 14); break; case 79: case 111: return jjMoveStringLiteralDfa7_1(active0, 0x20000L); case 82: case 114: if ((active0 & 0x2000000000000000L) != 0L) return jjStartNfaWithStates_1(6, 61, 14); break; case 83: case 115: if ((active0 & 0x10000000000L) != 0L) return jjStartNfaWithStates_1(6, 40, 14); break; case 84: case 116: if ((active0 & 0x4000000000L) != 0L) return jjStartNfaWithStates_1(6, 38, 14); break; case 85: case 117: return jjMoveStringLiteralDfa7_1(active0, 0x2000000000L); default : break; } return jjStartNfa_1(5, active0, 0L); } static private final int jjMoveStringLiteralDfa7_1(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_1(5, old0, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(6, active0, 0L); return 7; } switch(curChar) { case 95: return jjMoveStringLiteralDfa8_1(active0, 0x18000000L); case 69: case 101: if ((active0 & 0x2000000000L) != 0L) return jjStartNfaWithStates_1(7, 37, 14); else if ((active0 & 0x10000000000000L) != 0L) return jjStartNfaWithStates_1(7, 52, 14); break; case 78: case 110: if ((active0 & 0x20000L) != 0L) return jjStartNfaWithStates_1(7, 17, 14); break; default : break; } return jjStartNfa_1(6, active0, 0L); } static private final int jjMoveStringLiteralDfa8_1(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_1(6, old0, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(7, active0, 0L); return 8; } switch(curChar) { case 79: case 111: return jjMoveStringLiteralDfa9_1(active0, 0x18000000L); default : break; } return jjStartNfa_1(7, active0, 0L); } static private final int jjMoveStringLiteralDfa9_1(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_1(7, old0, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(8, active0, 0L); return 9; } switch(curChar) { case 78: case 110: return jjMoveStringLiteralDfa10_1(active0, 0x18000000L); default : break; } return jjStartNfa_1(8, active0, 0L); } static private final int jjMoveStringLiteralDfa10_1(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_1(8, old0, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(9, active0, 0L); return 10; } switch(curChar) { case 67: case 99: return jjMoveStringLiteralDfa11_1(active0, 0x18000000L); default : break; } return jjStartNfa_1(9, active0, 0L); } static private final int jjMoveStringLiteralDfa11_1(long old0, long active0) { if (((active0 &= old0)) == 0L) return jjStartNfa_1(9, old0, 0L); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_1(10, active0, 0L); return 11; } switch(curChar) { case 69: case 101: if ((active0 & 0x8000000L) != 0L) return jjStartNfaWithStates_1(11, 27, 14); else if ((active0 & 0x10000000L) != 0L) return jjStartNfaWithStates_1(11, 28, 14); break; default : break; } return jjStartNfa_1(10, active0, 0L); } static final long[] jjbitVec0 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL }; static private final int jjMoveNfa_1(int startState, int curPos) { int[] nextStates; int startsAt = 0; jjnewStateCnt = 64; int i = 1; jjstateSet[0] = startState; int j, kind = 0x7fffffff; for (;;) { if (++jjround == 0x7fffffff) ReInitRounds(); if (curChar < 64) { long l = 1L << curChar; MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(2, 8); else if (curChar == 39) jjCheckNAddStates(9, 14); else if (curChar == 34) jjCheckNAddStates(15, 20); else if (curChar == 36) jjstateSet[jjnewStateCnt++] = 16; else if (curChar == 46) jjCheckNAdd(8); else if (curChar == 47) jjstateSet[jjnewStateCnt++] = 2; if ((0x3fe000000000000L & l) != 0L) { if (kind > 64) kind = 64; jjCheckNAddTwoStates(5, 6); } else if (curChar == 48) { if (kind > 64) kind = 64; jjCheckNAddStates(21, 23); } break; case 0: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 1; break; case 1: if ((0xffff7fffffffffffL & l) != 0L && kind > 10) kind = 10; break; case 2: if (curChar == 42) jjstateSet[jjnewStateCnt++] = 0; break; case 4: if ((0x3fe000000000000L & l) == 0L) break; if (kind > 64) kind = 64; jjCheckNAddTwoStates(5, 6); break; case 5: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 64) kind = 64; jjCheckNAddTwoStates(5, 6); break; case 7: if (curChar == 46) jjCheckNAdd(8); break; case 8: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 68) kind = 68; jjCheckNAddStates(24, 26); break; case 10: if ((0x280000000000L & l) != 0L) jjCheckNAdd(11); break; case 11: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 68) kind = 68; jjCheckNAddTwoStates(11, 12); break; case 14: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 74) kind = 74; jjstateSet[jjnewStateCnt++] = 14; break; case 15: if (curChar == 36) jjstateSet[jjnewStateCnt++] = 16; break; case 17: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 126) kind = 126; jjstateSet[jjnewStateCnt++] = 17; break; case 18: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(2, 8); break; case 19: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(19, 20); break; case 20: if (curChar != 46) break; if (kind > 68) kind = 68; jjCheckNAddStates(27, 29); break; case 21: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 68) kind = 68; jjCheckNAddStates(27, 29); break; case 23: if ((0x280000000000L & l) != 0L) jjCheckNAdd(24); break; case 24: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 68) kind = 68; jjCheckNAddTwoStates(24, 12); break; case 25: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(25, 26); break; case 27: if ((0x280000000000L & l) != 0L) jjCheckNAdd(28); break; case 28: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 68) kind = 68; jjCheckNAddTwoStates(28, 12); break; case 29: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddStates(30, 32); break; case 31: if ((0x280000000000L & l) != 0L) jjCheckNAdd(32); break; case 32: if ((0x3ff000000000000L & l) != 0L) jjCheckNAddTwoStates(32, 12); break; case 33: if (curChar != 48) break; if (kind > 64) kind = 64; jjCheckNAddStates(21, 23); break; case 35: if ((0x3ff000000000000L & l) == 0L) break; if (kind > 64) kind = 64; jjCheckNAddTwoStates(35, 6); break; case 36: if ((0xff000000000000L & l) == 0L) break; if (kind > 64) kind = 64; jjCheckNAddTwoStates(36, 6); break; case 37: if (curChar == 34) jjCheckNAddStates(15, 20); break; case 38: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddStates(33, 35); break; case 39: if (curChar == 34) jjCheckNAddStates(33, 35); break; case 41: if (curChar == 34 && kind > 70) kind = 70; break; case 42: if ((0xfffffffbffffffffL & l) != 0L) jjCheckNAddStates(36, 38); break; case 43: if (curChar == 34) jjCheckNAddStates(36, 38); break; case 45: if (curChar == 34 && kind > 71) kind = 71; break; case 46: if (curChar == 39) jjCheckNAddStates(9, 14); break; case 47: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddStates(39, 41); break; case 48: if (curChar == 39) jjCheckNAddStates(39, 41); break; case 50: if (curChar == 39 && kind > 70) kind = 70; break; case 51: if ((0xffffff7fffffffffL & l) != 0L) jjCheckNAddStates(42, 44); break; case 52: if (curChar == 39) jjCheckNAddStates(42, 44); break; case 54: if (curChar == 39 && kind > 72) kind = 72; break; case 56: jjAddStates(45, 47); break; case 60: jjAddStates(48, 50); break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 3: if ((0x7fffffe87fffffeL & l) != 0L) { if (kind > 74) kind = 74; jjCheckNAdd(14); } else if (curChar == 96) jjCheckNAddStates(51, 56); break; case 1: if (kind > 10) kind = 10; break; case 6: if ((0x100000001000L & l) != 0L && kind > 64) kind = 64; break; case 9: if ((0x2000000020L & l) != 0L) jjAddStates(57, 58); break; case 12: if ((0x5000000050L & l) != 0L && kind > 68) kind = 68; break; case 13: case 14: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 74) kind = 74; jjCheckNAdd(14); break; case 16: case 17: if ((0x7fffffe87fffffeL & l) == 0L) break; if (kind > 126) kind = 126; jjCheckNAdd(17); break; case 22: if ((0x2000000020L & l) != 0L) jjAddStates(59, 60); break; case 26: if ((0x2000000020L & l) != 0L) jjAddStates(61, 62); break; case 30: if ((0x2000000020L & l) != 0L) jjAddStates(63, 64); break; case 34: if ((0x100000001000000L & l) != 0L) jjCheckNAdd(35); break; case 35: if ((0x7e0000007eL & l) == 0L) break; if (kind > 64) kind = 64; jjCheckNAddTwoStates(35, 6); break; case 38: jjAddStates(33, 35); break; case 40: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 39; break; case 42: jjAddStates(36, 38); break; case 44: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 43; break; case 47: jjAddStates(39, 41); break; case 49: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 48; break; case 51: jjAddStates(42, 44); break; case 53: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 52; break; case 55: if (curChar == 96) jjCheckNAddStates(51, 56); break; case 56: if ((0xfffffffeffffffffL & l) != 0L) jjCheckNAddStates(45, 47); break; case 57: if (curChar == 96) jjCheckNAddStates(45, 47); break; case 58: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 57; break; case 59: if (curChar == 96 && kind > 70) kind = 70; break; case 60: if ((0xfffffffeffffffffL & l) != 0L) jjCheckNAddStates(48, 50); break; case 61: if (curChar == 96) jjCheckNAddStates(48, 50); break; case 62: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 61; break; case 63: if (curChar == 96 && kind > 73) kind = 73; 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 && kind > 10) kind = 10; break; case 38: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(33, 35); break; case 42: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(36, 38); break; case 47: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(39, 41); break; case 51: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(42, 44); break; case 56: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(45, 47); break; case 60: if ((jjbitVec0[i2] & l2) != 0L) jjAddStates(48, 50); break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 64 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } } } static private final int jjMoveStringLiteralDfa0_3() { switch(curChar) { case 42: return jjMoveStringLiteralDfa1_3(0x2000L); default : return 1; } } static private final int jjMoveStringLiteralDfa1_3(long active0) { try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return 1; } switch(curChar) { case 47: if ((active0 & 0x2000L) != 0L) return jjStopAtPos(1, 13); break; default : return 2; } return 2; } static final int[] jjnextStates = { 4, 5, 19, 20, 25, 26, 29, 30, 12, 47, 49, 50, 51, 53, 54, 38, 40, 41, 42, 44, 45, 34, 36, 6, 8, 9, 12, 21, 22, 12, 29, 30, 12, 38, 40, 41, 42, 44, 45, 47, 49, 50, 51, 53, 54, 56, 58, 59, 60, 62, 63, 56, 58, 59, 60, 62, 63, 10, 11, 23, 24, 27, 28, 31, 32, }; public static final String[] jjstrLiteralImages = { "", null, "\77\76", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "\55\76", "\72\72", "\75\76", null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, null, "\50", "\51", "\173", "\175", "\133", "\135", "\73", "\54", "\56", "\100", "\44", "\75", "\76", "\74", "\41", "\77", "\72", "\75\75", "\74\75", "\76\75", "\41\75", "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55", "\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76", "\76\76\76", "\53\75", "\55\75", "\52\75", "\57\75", "\46\75", "\174\75", "\136\75", "\56\75", "\45\75", "\74\74\75", "\76\76\75", "\76\76\76\75", null, "\77\76", }; public static final String[] lexStateNames = { "DEFAULT", "PHPPARSING", "IN_SINGLE_LINE_COMMENT", "IN_FORMAL_COMMENT", "IN_MULTI_LINE_COMMENT", }; public static final int[] jjnewLexState = { -1, 1, 0, -1, -1, -1, -1, -1, -1, 2, 3, 4, 1, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, }; static final long[] jjtoToken = { 0xffffffffffff0007L, 0xffffffffffffc7d1L, 0x0L, }; static final long[] jjtoSkip = { 0x71f8L, 0x0L, 0x0L, }; static final long[] jjtoSpecial = { 0x7000L, 0x0L, 0x0L, }; static final long[] jjtoMore = { 0x8e00L, 0x0L, 0x0L, }; static protected SimpleCharStream input_stream; static private final int[] jjrounds = new int[64]; static private final int[] jjstateSet = new int[128]; static StringBuffer image; static int jjimageLen; static int lengthOfMatch; static protected char curChar; public PHPParserTokenManager(SimpleCharStream stream) { if (input_stream != null) throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR); input_stream = stream; } public PHPParserTokenManager(SimpleCharStream stream, int lexState) { this(stream); SwitchTo(lexState); } static public void ReInit(SimpleCharStream stream) { jjmatchedPos = jjnewStateCnt = 0; curLexState = defaultLexState; input_stream = stream; ReInitRounds(); } static private final void ReInitRounds() { int i; jjround = 0x80000001; for (i = 64; i-- > 0;) jjrounds[i] = 0x80000000; } static public void ReInit(SimpleCharStream stream, int lexState) { ReInit(stream); SwitchTo(lexState); } static public void SwitchTo(int lexState) { if (lexState >= 5 || lexState < 0) throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE); else curLexState = lexState; } static protected 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; } static int curLexState = 0; static int defaultLexState = 0; static int jjnewStateCnt; static int jjround; static int jjmatchedPos; static int jjmatchedKind; public static Token getNextToken() { int kind; Token specialToken = null; Token matchedToken; int curPos = 0; EOFLoop : for (;;) { try { curChar = input_stream.BeginToken(); } catch(java.io.IOException e) { jjmatchedKind = 0; matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; return matchedToken; } image = null; jjimageLen = 0; for (;;) { switch(curLexState) { case 0: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_0(); if (jjmatchedPos == 0 && jjmatchedKind > 3) { jjmatchedKind = 3; } break; case 1: try { input_stream.backup(0); while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L) curChar = input_stream.BeginToken(); } catch (java.io.IOException e1) { continue EOFLoop; } jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_1(); break; case 2: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_2(); if (jjmatchedPos == 0 && jjmatchedKind > 15) { jjmatchedKind = 15; } break; case 3: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_3(); if (jjmatchedPos == 0 && jjmatchedKind > 15) { jjmatchedKind = 15; } break; case 4: jjmatchedKind = 0x7fffffff; jjmatchedPos = 0; curPos = jjMoveStringLiteralDfa0_4(); if (jjmatchedPos == 0 && jjmatchedKind > 15) { jjmatchedKind = 15; } break; } if (jjmatchedKind != 0x7fffffff) { if (jjmatchedPos + 1 < curPos) input_stream.backup(curPos - jjmatchedPos - 1); if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); matchedToken.specialToken = specialToken; if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; return matchedToken; } else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L) { matchedToken = jjFillToken(); if (specialToken == null) specialToken = matchedToken; else { matchedToken.specialToken = specialToken; specialToken = (specialToken.next = matchedToken); } SkipLexicalActions(matchedToken); } else SkipLexicalActions(null); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; continue EOFLoop; } MoreLexicalActions(); if (jjnewLexState[jjmatchedKind] != -1) curLexState = jjnewLexState[jjmatchedKind]; curPos = 0; jjmatchedKind = 0x7fffffff; try { curChar = input_stream.readChar(); continue; } catch (java.io.IOException e1) { } } 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); } } } static void SkipLexicalActions(Token matchedToken) { switch(jjmatchedKind) { default : break; } } static void MoreLexicalActions() { jjimageLen += (lengthOfMatch = jjmatchedPos + 1); switch(jjmatchedKind) { case 10 : if (image == null) image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen))); else image.append(new String(input_stream.GetSuffix(jjimageLen))); jjimageLen = 0; input_stream.backup(1); break; default : break; } } }