1 /* Generated By:JavaCC: Do not edit this line. PHPParserTokenManager.java */
3 import org.eclipse.core.resources.IFile;
4 import org.eclipse.core.resources.IMarker;
5 import org.eclipse.core.runtime.CoreException;
6 import org.eclipse.ui.texteditor.MarkerUtilities;
7 import org.eclipse.jface.preference.IPreferenceStore;
8 import java.util.Hashtable;
9 import java.io.StringReader;
10 import java.text.MessageFormat;
11 import net.sourceforge.phpeclipse.actions.PHPStartApacheAction;
12 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
13 import net.sourceforge.phpdt.internal.compiler.parser.PHPOutlineInfo;
14 import net.sourceforge.phpdt.internal.compiler.parser.PHPSegmentWithChildren;
15 import net.sourceforge.phpdt.internal.compiler.parser.PHPFunctionDeclaration;
16 import net.sourceforge.phpdt.internal.compiler.parser.PHPClassDeclaration;
17 import net.sourceforge.phpdt.internal.compiler.parser.PHPVarDeclaration;
18 import net.sourceforge.phpdt.internal.compiler.parser.PHPReqIncDeclaration;
20 public class PHPParserTokenManager implements PHPParserConstants
22 public static java.io.PrintStream debugStream = System.out;
23 public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
24 private static final int jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2)
32 private static final int jjStartNfa_0(int pos, long active0, long active1, long active2)
34 return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1);
36 static private final int jjStopAtPos(int pos, int kind)
42 static private final int jjStartNfaWithStates_0(int pos, int kind, int state)
46 try { curChar = input_stream.readChar(); }
47 catch(java.io.IOException e) { return pos + 1; }
48 return jjMoveNfa_0(state, pos + 1);
50 static private final int jjMoveStringLiteralDfa0_0()
55 return jjMoveStringLiteralDfa1_0(0x80L);
57 return jjMoveNfa_0(0, 0);
60 static private final int jjMoveStringLiteralDfa1_0(long active2)
62 try { curChar = input_stream.readChar(); }
63 catch(java.io.IOException e) {
64 jjStopStringLiteralDfa_0(0, 0L, 0L, active2);
70 if ((active2 & 0x80L) != 0L)
71 return jjStopAtPos(1, 135);
76 return jjStartNfa_0(0, 0L, 0L, active2);
78 static private final void jjCheckNAdd(int state)
80 if (jjrounds[state] != jjround)
82 jjstateSet[jjnewStateCnt++] = state;
83 jjrounds[state] = jjround;
86 static private final void jjAddStates(int start, int end)
89 jjstateSet[jjnewStateCnt++] = jjnextStates[start];
90 } while (start++ != end);
92 static private final void jjCheckNAddTwoStates(int state1, int state2)
97 static private final void jjCheckNAddStates(int start, int end)
100 jjCheckNAdd(jjnextStates[start]);
101 } while (start++ != end);
103 static private final void jjCheckNAddStates(int start)
105 jjCheckNAdd(jjnextStates[start]);
106 jjCheckNAdd(jjnextStates[start + 1]);
108 static private final int jjMoveNfa_0(int startState, int curPos)
114 jjstateSet[0] = startState;
115 int j, kind = 0x7fffffff;
118 if (++jjround == 0x7fffffff)
122 long l = 1L << curChar;
125 switch(jjstateSet[--i])
133 jjstateSet[jjnewStateCnt++] = 3;
136 if (curChar == 63 && kind > 1)
141 } while(i != startsAt);
143 else if (curChar < 128)
145 long l = 1L << (curChar & 077);
148 switch(jjstateSet[--i])
151 if ((0x1000000010000L & l) != 0L && kind > 1)
155 if ((0x10000000100L & l) != 0L)
156 jjstateSet[jjnewStateCnt++] = 1;
159 if ((0x1000000010000L & l) != 0L)
160 jjstateSet[jjnewStateCnt++] = 2;
164 } while(i != startsAt);
168 int i2 = (curChar & 0xff) >> 6;
169 long l2 = 1L << (curChar & 077);
172 switch(jjstateSet[--i])
176 } while(i != startsAt);
178 if (kind != 0x7fffffff)
180 jjmatchedKind = kind;
181 jjmatchedPos = curPos;
185 if ((i = jjnewStateCnt) == (startsAt = 6 - (jjnewStateCnt = startsAt)))
187 try { curChar = input_stream.readChar(); }
188 catch(java.io.IOException e) { return curPos; }
191 static private final int jjMoveStringLiteralDfa0_4()
196 return jjMoveStringLiteralDfa1_4(0x8000L);
201 static private final int jjMoveStringLiteralDfa1_4(long active0)
203 try { curChar = input_stream.readChar(); }
204 catch(java.io.IOException e) {
210 if ((active0 & 0x8000L) != 0L)
211 return jjStopAtPos(1, 15);
218 private static final int jjStopStringLiteralDfa_2(int pos, long active0)
226 private static final int jjStartNfa_2(int pos, long active0)
228 return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
230 static private final int jjStartNfaWithStates_2(int pos, int kind, int state)
232 jjmatchedKind = kind;
234 try { curChar = input_stream.readChar(); }
235 catch(java.io.IOException e) { return pos + 1; }
236 return jjMoveNfa_2(state, pos + 1);
238 static private final int jjMoveStringLiteralDfa0_2()
243 return jjMoveStringLiteralDfa1_2(0x2000L);
245 return jjMoveNfa_2(0, 0);
248 static private final int jjMoveStringLiteralDfa1_2(long active0)
250 try { curChar = input_stream.readChar(); }
251 catch(java.io.IOException e) {
252 jjStopStringLiteralDfa_2(0, active0);
258 if ((active0 & 0x2000L) != 0L)
259 return jjStopAtPos(1, 13);
264 return jjStartNfa_2(0, active0);
266 static private final int jjMoveNfa_2(int startState, int curPos)
272 jjstateSet[0] = startState;
273 int j, kind = 0x7fffffff;
276 if (++jjround == 0x7fffffff)
280 long l = 1L << curChar;
283 switch(jjstateSet[--i])
286 if ((0x2400L & l) != 0L)
292 jjstateSet[jjnewStateCnt++] = 1;
295 if (curChar == 10 && kind > 12)
300 jjstateSet[jjnewStateCnt++] = 1;
304 } while(i != startsAt);
306 else if (curChar < 128)
308 long l = 1L << (curChar & 077);
311 switch(jjstateSet[--i])
315 } while(i != startsAt);
319 int i2 = (curChar & 0xff) >> 6;
320 long l2 = 1L << (curChar & 077);
323 switch(jjstateSet[--i])
327 } while(i != startsAt);
329 if (kind != 0x7fffffff)
331 jjmatchedKind = kind;
332 jjmatchedPos = curPos;
336 if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
338 try { curChar = input_stream.readChar(); }
339 catch(java.io.IOException e) { return curPos; }
342 private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1, long active2)
347 if ((active0 & 0xa00L) != 0L || (active1 & 0x801000000000000L) != 0L)
349 if ((active1 & 0x20000000L) != 0L)
351 if ((active1 & 0x8000000008000000L) != 0L)
353 if ((active0 & 0xfffffff8fffe0000L) != 0L || (active1 & 0x1fL) != 0L)
360 if ((active0 & 0x800L) != 0L)
362 if ((active0 & 0x7dfffef8ffee0000L) != 0L || (active1 & 0x17L) != 0L)
364 if (jjmatchedPos != 1)
371 if ((active0 & 0x8200010000100000L) != 0L || (active1 & 0x8L) != 0L)
375 if ((active0 & 0x100280000080000L) != 0L || (active1 & 0x16L) != 0L)
377 if ((active0 & 0xfcffd6f8ffe60000L) != 0L || (active1 & 0x1L) != 0L)
379 if (jjmatchedPos != 2)
388 if ((active0 & 0x700c501002600000L) != 0L)
390 if ((active0 & 0x8df386e8fd860000L) != 0L || (active1 & 0x5L) != 0L)
392 if (jjmatchedPos != 3)
401 if ((active0 & 0xada282c0fc240000L) != 0L || (active1 & 0x4L) != 0L)
407 if ((active0 & 0x51042801820000L) != 0L || (active1 & 0x1L) != 0L)
411 if ((active0 & 0x8c828000c0200000L) != 0L)
413 if ((active0 & 0x212002c03c040000L) != 0L || (active1 & 0x4L) != 0L)
421 if ((active0 & 0x210002803c000000L) != 0L || (active1 & 0x4L) != 0L)
423 if ((active0 & 0x20004000040000L) != 0L)
425 if (jjmatchedPos != 6)
434 if ((active0 & 0x20004000040000L) != 0L)
436 if ((active0 & 0x30000000L) != 0L)
444 if ((active0 & 0x30000000L) != 0L)
452 if ((active0 & 0x30000000L) != 0L)
460 if ((active0 & 0x30000000L) != 0L)
471 private static final int jjStartNfa_1(int pos, long active0, long active1, long active2)
473 return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1, active2), pos + 1);
475 static private final int jjStartNfaWithStates_1(int pos, int kind, int state)
477 jjmatchedKind = kind;
479 try { curChar = input_stream.readChar(); }
480 catch(java.io.IOException e) { return pos + 1; }
481 return jjMoveNfa_1(state, pos + 1);
483 static private final int jjMoveStringLiteralDfa0_1()
489 return jjMoveStringLiteralDfa1_1(0x0L, 0x8000000000L, 0x8L);
491 return jjStartNfaWithStates_1(0, 93, 16);
494 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x1L);
497 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000040000000000L, 0x0L);
499 return jjStopAtPos(0, 83);
501 return jjStopAtPos(0, 84);
504 return jjMoveStringLiteralDfa1_1(0x0L, 0x400000000000000L, 0x0L);
507 return jjMoveStringLiteralDfa1_1(0x0L, 0x100080000000000L, 0x0L);
509 return jjStopAtPos(0, 90);
512 return jjMoveStringLiteralDfa1_1(0x100000000L, 0x200100000000000L, 0x0L);
515 return jjMoveStringLiteralDfa1_1(0x0L, 0x8000000000000000L, 0x0L);
518 return jjMoveStringLiteralDfa1_1(0xa00L, 0x800000000000000L, 0x0L);
521 return jjMoveStringLiteralDfa1_1(0x200000000L, 0x0L, 0x0L);
523 return jjStopAtPos(0, 89);
526 return jjMoveStringLiteralDfa1_1(0x0L, 0x20012000000000L, 0x2L);
529 return jjMoveStringLiteralDfa1_1(0x400000000L, 0x1000000000L, 0x10L);
532 return jjMoveStringLiteralDfa1_1(0x0L, 0xc0004000000000L, 0x4L);
535 return jjMoveStringLiteralDfa1_1(0x4L, 0x0L, 0x0L);
537 return jjStopAtPos(0, 92);
539 return jjStopAtPos(0, 87);
541 return jjStopAtPos(0, 88);
544 return jjMoveStringLiteralDfa1_1(0x0L, 0x4000000000000000L, 0x0L);
547 return jjMoveStringLiteralDfa1_1(0x200000000800000L, 0x10L, 0x0L);
550 return jjMoveStringLiteralDfa1_1(0x3000000800000000L, 0x0L, 0x0L);
553 return jjMoveStringLiteralDfa1_1(0x7000020000L, 0x0L, 0x0L);
556 return jjMoveStringLiteralDfa1_1(0x8000018000000000L, 0x0L, 0x0L);
559 return jjMoveStringLiteralDfa1_1(0xe0020002600000L, 0x0L, 0x0L);
562 return jjMoveStringLiteralDfa1_1(0x1000c0000040000L, 0x1L, 0x0L);
565 return jjMoveStringLiteralDfa1_1(0x100040000000L, 0x0L, 0x0L);
568 return jjMoveStringLiteralDfa1_1(0x14100000L, 0x6L, 0x0L);
571 return jjMoveStringLiteralDfa1_1(0x600000000000L, 0x0L, 0x0L);
574 return jjMoveStringLiteralDfa1_1(0x800000000000000L, 0x8L, 0x0L);
577 return jjMoveStringLiteralDfa1_1(0x1000000L, 0x0L, 0x0L);
580 return jjMoveStringLiteralDfa1_1(0x4000800028000000L, 0x0L, 0x0L);
583 return jjMoveStringLiteralDfa1_1(0x403000080000000L, 0x0L, 0x0L);
586 return jjMoveStringLiteralDfa1_1(0xc000000000000L, 0x0L, 0x0L);
589 return jjMoveStringLiteralDfa1_1(0x80000L, 0x0L, 0x0L);
592 return jjMoveStringLiteralDfa1_1(0x10000000000000L, 0x0L, 0x0L);
594 return jjStopAtPos(0, 85);
597 return jjMoveStringLiteralDfa1_1(0x0L, 0x2000020000000000L, 0x0L);
599 return jjStopAtPos(0, 86);
601 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x20L);
603 return jjMoveNfa_1(3, 0);
606 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
608 try { curChar = input_stream.readChar(); }
609 catch(java.io.IOException e) {
610 jjStopStringLiteralDfa_1(0, active0, active1, active2);
616 if ((active1 & 0x40000000000L) != 0L)
617 return jjStopAtPos(1, 106);
620 if ((active0 & 0x800L) != 0L)
621 return jjStartNfaWithStates_1(1, 11, 0);
624 if ((active1 & 0x80000000000L) != 0L)
625 return jjStopAtPos(1, 107);
628 if ((active1 & 0x100000000000L) != 0L)
629 return jjStopAtPos(1, 108);
632 if ((active0 & 0x200L) != 0L)
633 return jjStopAtPos(1, 9);
636 if ((active0 & 0x200000000L) != 0L)
637 return jjStopAtPos(1, 33);
640 if ((active1 & 0x20000000000000L) != 0L)
645 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x2L);
647 if ((active1 & 0x1000000000L) != 0L)
652 else if ((active1 & 0x2000000000L) != 0L)
653 return jjStopAtPos(1, 101);
654 else if ((active1 & 0x4000000000L) != 0L)
655 return jjStopAtPos(1, 102);
656 else if ((active1 & 0x8000000000L) != 0L)
661 else if ((active1 & 0x100000000000000L) != 0L)
662 return jjStopAtPos(1, 120);
663 else if ((active1 & 0x200000000000000L) != 0L)
664 return jjStopAtPos(1, 121);
665 else if ((active1 & 0x400000000000000L) != 0L)
666 return jjStopAtPos(1, 122);
667 else if ((active1 & 0x800000000000000L) != 0L)
668 return jjStopAtPos(1, 123);
669 else if ((active1 & 0x1000000000000000L) != 0L)
670 return jjStopAtPos(1, 124);
671 else if ((active1 & 0x2000000000000000L) != 0L)
672 return jjStopAtPos(1, 125);
673 else if ((active1 & 0x4000000000000000L) != 0L)
674 return jjStopAtPos(1, 126);
675 else if ((active1 & 0x8000000000000000L) != 0L)
676 return jjStopAtPos(1, 127);
677 else if ((active2 & 0x1L) != 0L)
678 return jjStopAtPos(1, 128);
679 else if ((active2 & 0x20L) != 0L)
680 return jjStopAtPos(1, 133);
681 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x18L);
683 if ((active0 & 0x4L) != 0L)
684 return jjStopAtPos(1, 2);
685 else if ((active0 & 0x100000000L) != 0L)
686 return jjStopAtPos(1, 32);
687 else if ((active0 & 0x400000000L) != 0L)
688 return jjStopAtPos(1, 34);
689 else if ((active1 & 0x10000000000L) != 0L)
690 return jjStopAtPos(1, 104);
691 else if ((active1 & 0x40000000000000L) != 0L)
696 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x80000000000000L, active2, 0x4L);
699 return jjMoveStringLiteralDfa2_1(active0, 0x41000080000L, active1, 0L, active2, 0L);
702 return jjMoveStringLiteralDfa2_1(active0, 0x800000000000000L, active1, 0L, active2, 0L);
705 return jjMoveStringLiteralDfa2_1(active0, 0x2000000L, active1, 0L, active2, 0L);
708 return jjMoveStringLiteralDfa2_1(active0, 0x4000a08028000000L, active1, 0L, active2, 0L);
711 if ((active0 & 0x100000L) != 0L)
712 return jjStartNfaWithStates_1(1, 20, 14);
716 return jjMoveStringLiteralDfa2_1(active0, 0x14000000000000L, active1, 0L, active2, 0L);
719 return jjMoveStringLiteralDfa2_1(active0, 0x40620000L, active1, 0x1L, active2, 0L);
722 return jjMoveStringLiteralDfa2_1(active0, 0xe0000014000000L, active1, 0x16L, active2, 0L);
725 if ((active0 & 0x10000000000L) != 0L)
730 return jjMoveStringLiteralDfa2_1(active0, 0xb100186000000000L, active1, 0L, active2, 0L);
733 if ((active1 & 0x8L) != 0L)
734 return jjStartNfaWithStates_1(1, 67, 14);
735 return jjMoveStringLiteralDfa2_1(active0, 0x8000801800000L, active1, 0L, active2, 0L);
738 if ((active0 & 0x200000000000000L) != 0L)
739 return jjStartNfaWithStates_1(1, 57, 14);
743 return jjMoveStringLiteralDfa2_1(active0, 0x400000080000000L, active1, 0L, active2, 0L);
746 return jjMoveStringLiteralDfa2_1(active0, 0x1400000040000L, active1, 0L, active2, 0L);
749 return jjMoveStringLiteralDfa2_1(active0, 0x2000000000000L, active1, 0L, active2, 0L);
752 return jjMoveStringLiteralDfa2_1(active0, 0x20000000000L, active1, 0L, active2, 0L);
754 if ((active1 & 0x20000000000L) != 0L)
755 return jjStopAtPos(1, 105);
760 return jjStartNfa_1(0, active0, active1, active2);
762 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
764 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
765 return jjStartNfa_1(0, old0, old1, old2);
766 try { curChar = input_stream.readChar(); }
767 catch(java.io.IOException e) {
768 jjStopStringLiteralDfa_1(1, active0, active1, active2);
774 if ((active2 & 0x2L) != 0L)
775 return jjStopAtPos(2, 129);
776 else if ((active2 & 0x4L) != 0L)
777 return jjStopAtPos(2, 130);
778 else if ((active2 & 0x8L) != 0L)
779 return jjStopAtPos(2, 131);
780 else if ((active2 & 0x10L) != 0L)
781 return jjStopAtPos(2, 132);
784 if ((active1 & 0x80000000000000L) != 0L)
785 return jjStopAtPos(2, 119);
789 return jjMoveStringLiteralDfa3_1(active0, 0x4000000080020000L, active1, 0L, active2, 0L);
792 return jjMoveStringLiteralDfa3_1(active0, 0x14000000L, active1, 0L, active2, 0L);
795 if ((active1 & 0x10L) != 0L)
796 return jjStartNfaWithStates_1(2, 68, 14);
797 return jjMoveStringLiteralDfa3_1(active0, 0xe0000000000000L, active1, 0L, active2, 0L);
800 return jjMoveStringLiteralDfa3_1(active0, 0x800000000L, active1, 0L, active2, 0L);
803 return jjMoveStringLiteralDfa3_1(active0, 0x8000000000L, active1, 0L, active2, 0L);
806 return jjMoveStringLiteralDfa3_1(active0, 0x2000000L, active1, 0L, active2, 0L);
809 return jjMoveStringLiteralDfa3_1(active0, 0x16000001000000L, active1, 0L, active2, 0L);
812 return jjMoveStringLiteralDfa3_1(active0, 0x800000000000000L, active1, 0L, active2, 0L);
815 return jjMoveStringLiteralDfa3_1(active0, 0x440000000000L, active1, 0L, active2, 0L);
818 return jjMoveStringLiteralDfa3_1(active0, 0x6000040000L, active1, 0L, active2, 0L);
821 return jjMoveStringLiteralDfa3_1(active0, 0x3000000040000000L, active1, 0x1L, active2, 0L);
824 return jjMoveStringLiteralDfa3_1(active0, 0x1000000000000L, active1, 0L, active2, 0L);
827 return jjMoveStringLiteralDfa3_1(active0, 0x28000000L, active1, 0L, active2, 0L);
830 if ((active0 & 0x80000L) != 0L)
831 return jjStartNfaWithStates_1(2, 19, 14);
832 else if ((active0 & 0x80000000000L) != 0L)
837 return jjMoveStringLiteralDfa3_1(active0, 0x500000000800000L, active1, 0L, active2, 0L);
840 return jjMoveStringLiteralDfa3_1(active0, 0x1000600000L, active1, 0L, active2, 0L);
843 if ((active1 & 0x2L) != 0L)
848 return jjMoveStringLiteralDfa3_1(active0, 0x920000000000L, active1, 0x4L, active2, 0L);
851 return jjMoveStringLiteralDfa3_1(active0, 0x8008000000000000L, active1, 0L, active2, 0L);
854 if ((active0 & 0x200000000000L) != 0L)
855 return jjStartNfaWithStates_1(2, 45, 14);
860 return jjStartNfa_1(1, active0, active1, active2);
862 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
864 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
865 return jjStartNfa_1(1, old0, old1, old2);
866 try { curChar = input_stream.readChar(); }
867 catch(java.io.IOException e) {
868 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
875 return jjMoveStringLiteralDfa4_1(active0, 0x8800800000L, active1, 0x1L);
878 return jjMoveStringLiteralDfa4_1(active0, 0x8000000040000000L, active1, 0L);
881 return jjMoveStringLiteralDfa4_1(active0, 0x40000L, active1, 0L);
884 if ((active0 & 0x400000L) != 0L)
889 else if ((active0 & 0x1000000000L) != 0L)
890 return jjStartNfaWithStates_1(3, 36, 14);
891 else if ((active0 & 0x8000000000000L) != 0L)
892 return jjStartNfaWithStates_1(3, 51, 14);
893 return jjMoveStringLiteralDfa4_1(active0, 0x901020000200000L, active1, 0x4L);
896 return jjMoveStringLiteralDfa4_1(active0, 0x80000000000000L, active1, 0L);
899 return jjMoveStringLiteralDfa4_1(active0, 0x440000000000000L, active1, 0L);
902 if ((active0 & 0x400000000000L) != 0L)
903 return jjStartNfaWithStates_1(3, 46, 14);
904 else if ((active0 & 0x1000000000000000L) != 0L)
909 else if ((active0 & 0x4000000000000000L) != 0L)
910 return jjStartNfaWithStates_1(3, 62, 14);
911 return jjMoveStringLiteralDfa4_1(active0, 0x2010000014000000L, active1, 0L);
914 return jjMoveStringLiteralDfa4_1(active0, 0x1000000L, active1, 0L);
917 if ((active0 & 0x2000000L) != 0L)
918 return jjStartNfaWithStates_1(3, 25, 14);
919 else if ((active0 & 0x100000000000L) != 0L)
920 return jjStartNfaWithStates_1(3, 44, 14);
924 if ((active0 & 0x4000000000000L) != 0L)
925 return jjStartNfaWithStates_1(3, 50, 14);
926 return jjMoveStringLiteralDfa4_1(active0, 0x42000020000L, active1, 0L);
929 return jjMoveStringLiteralDfa4_1(active0, 0x2004080000000L, active1, 0L);
932 return jjMoveStringLiteralDfa4_1(active0, 0x800028000000L, active1, 0L);
935 return jjMoveStringLiteralDfa4_1(active0, 0x20000000000000L, active1, 0L);
939 return jjStartNfa_1(2, active0, active1, 0L);
941 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
943 if (((active0 &= old0) | (active1 &= old1)) == 0L)
944 return jjStartNfa_1(2, old0, old1, 0L);
945 try { curChar = input_stream.readChar(); }
946 catch(java.io.IOException e) {
947 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
954 return jjMoveStringLiteralDfa5_1(active0, 0x100000040000000L, active1, 0L);
957 return jjMoveStringLiteralDfa5_1(active0, 0x802000000000000L, active1, 0L);
960 if ((active0 & 0x40000000000L) != 0L)
961 return jjStartNfaWithStates_1(4, 42, 14);
962 else if ((active0 & 0x10000000000000L) != 0L)
963 return jjStartNfaWithStates_1(4, 52, 14);
964 return jjMoveStringLiteralDfa5_1(active0, 0x2000000000000000L, active1, 0L);
967 if ((active0 & 0x40000000000000L) != 0L)
968 return jjStartNfaWithStates_1(4, 54, 14);
972 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x4L);
975 return jjMoveStringLiteralDfa5_1(active0, 0x20000000000000L, active1, 0L);
978 return jjMoveStringLiteralDfa5_1(active0, 0x40a8200000L, active1, 0L);
981 if ((active0 & 0x800000000L) != 0L)
982 return jjStartNfaWithStates_1(4, 35, 14);
986 return jjMoveStringLiteralDfa5_1(active0, 0x8000000000000000L, active1, 0L);
989 return jjMoveStringLiteralDfa5_1(active0, 0x400020000000000L, active1, 0L);
992 return jjMoveStringLiteralDfa5_1(active0, 0x80000000000000L, active1, 0L);
995 if ((active0 & 0x1000000000000L) != 0L)
996 return jjStartNfaWithStates_1(4, 48, 14);
997 return jjMoveStringLiteralDfa5_1(active0, 0x800000000000L, active1, 0L);
1000 if ((active0 & 0x20000L) != 0L)
1001 return jjStartNfaWithStates_1(4, 17, 14);
1005 if ((active0 & 0x1000000L) != 0L)
1006 return jjStartNfaWithStates_1(4, 24, 14);
1007 else if ((active0 & 0x2000000000L) != 0L)
1008 return jjStartNfaWithStates_1(4, 37, 14);
1009 else if ((active1 & 0x1L) != 0L)
1010 return jjStartNfaWithStates_1(4, 64, 14);
1011 return jjMoveStringLiteralDfa5_1(active0, 0x40000L, active1, 0L);
1014 return jjMoveStringLiteralDfa5_1(active0, 0x8014000000L, active1, 0L);
1017 if ((active0 & 0x800000L) != 0L)
1018 return jjStartNfaWithStates_1(4, 23, 14);
1023 return jjStartNfa_1(3, active0, active1, 0L);
1025 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
1027 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1028 return jjStartNfa_1(3, old0, old1, 0L);
1029 try { curChar = input_stream.readChar(); }
1030 catch(java.io.IOException e) {
1031 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1038 return jjMoveStringLiteralDfa6_1(active0, 0x2000000000000000L, active1, 0L);
1041 if ((active0 & 0x80000000L) != 0L)
1042 return jjStartNfaWithStates_1(5, 31, 14);
1043 return jjMoveStringLiteralDfa6_1(active0, 0x100000000000000L, active1, 0L);
1046 return jjMoveStringLiteralDfa6_1(active0, 0x20014000000L, active1, 0L);
1049 if ((active0 & 0x8000000000000000L) != 0L)
1050 return jjStartNfaWithStates_1(5, 63, 14);
1051 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x4L);
1054 if ((active0 & 0x200000L) != 0L)
1055 return jjStartNfaWithStates_1(5, 21, 14);
1059 if ((active0 & 0x400000000000000L) != 0L)
1060 return jjStartNfaWithStates_1(5, 58, 14);
1064 if ((active0 & 0x2000000000000L) != 0L)
1065 return jjStartNfaWithStates_1(5, 49, 14);
1069 return jjMoveStringLiteralDfa6_1(active0, 0x20000000040000L, active1, 0L);
1072 if ((active0 & 0x40000000L) != 0L)
1073 return jjStartNfaWithStates_1(5, 30, 14);
1074 return jjMoveStringLiteralDfa6_1(active0, 0x8000000000L, active1, 0L);
1077 if ((active0 & 0x800000000000L) != 0L)
1078 return jjStartNfaWithStates_1(5, 47, 14);
1079 return jjMoveStringLiteralDfa6_1(active0, 0x4000000000L, active1, 0L);
1082 if ((active0 & 0x80000000000000L) != 0L)
1083 return jjStartNfaWithStates_1(5, 55, 14);
1084 return jjMoveStringLiteralDfa6_1(active0, 0x28000000L, active1, 0L);
1087 if ((active0 & 0x800000000000000L) != 0L)
1088 return jjStartNfaWithStates_1(5, 59, 14);
1093 return jjStartNfa_1(4, active0, active1, 0L);
1095 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1097 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1098 return jjStartNfa_1(4, old0, old1, 0L);
1099 try { curChar = input_stream.readChar(); }
1100 catch(java.io.IOException e) {
1101 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1108 if ((active0 & 0x4000000L) != 0L)
1113 else if ((active0 & 0x8000000L) != 0L)
1118 return jjMoveStringLiteralDfa7_1(active0, 0x30000000L, active1, 0L);
1121 if ((active0 & 0x100000000000000L) != 0L)
1122 return jjStartNfaWithStates_1(6, 56, 14);
1126 return jjMoveStringLiteralDfa7_1(active0, 0x20000000000000L, active1, 0L);
1129 if ((active0 & 0x2000000000000000L) != 0L)
1130 return jjStartNfaWithStates_1(6, 61, 14);
1134 return jjMoveStringLiteralDfa7_1(active0, 0x40000L, active1, 0L);
1137 if ((active1 & 0x4L) != 0L)
1138 return jjStartNfaWithStates_1(6, 66, 14);
1142 if ((active0 & 0x20000000000L) != 0L)
1143 return jjStartNfaWithStates_1(6, 41, 14);
1147 if ((active0 & 0x8000000000L) != 0L)
1148 return jjStartNfaWithStates_1(6, 39, 14);
1152 return jjMoveStringLiteralDfa7_1(active0, 0x4000000000L, active1, 0L);
1156 return jjStartNfa_1(5, active0, active1, 0L);
1158 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1160 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1161 return jjStartNfa_1(5, old0, old1, 0L);
1162 try { curChar = input_stream.readChar(); }
1163 catch(java.io.IOException e) {
1164 jjStopStringLiteralDfa_1(6, active0, 0L, 0L);
1170 return jjMoveStringLiteralDfa8_1(active0, 0x30000000L);
1173 if ((active0 & 0x4000000000L) != 0L)
1174 return jjStartNfaWithStates_1(7, 38, 14);
1175 else if ((active0 & 0x20000000000000L) != 0L)
1176 return jjStartNfaWithStates_1(7, 53, 14);
1180 if ((active0 & 0x40000L) != 0L)
1181 return jjStartNfaWithStates_1(7, 18, 14);
1186 return jjStartNfa_1(6, active0, 0L, 0L);
1188 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0)
1190 if (((active0 &= old0)) == 0L)
1191 return jjStartNfa_1(6, old0, 0L, 0L);
1192 try { curChar = input_stream.readChar(); }
1193 catch(java.io.IOException e) {
1194 jjStopStringLiteralDfa_1(7, active0, 0L, 0L);
1201 return jjMoveStringLiteralDfa9_1(active0, 0x30000000L);
1205 return jjStartNfa_1(7, active0, 0L, 0L);
1207 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0)
1209 if (((active0 &= old0)) == 0L)
1210 return jjStartNfa_1(7, old0, 0L, 0L);
1211 try { curChar = input_stream.readChar(); }
1212 catch(java.io.IOException e) {
1213 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1220 return jjMoveStringLiteralDfa10_1(active0, 0x30000000L);
1224 return jjStartNfa_1(8, active0, 0L, 0L);
1226 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1228 if (((active0 &= old0)) == 0L)
1229 return jjStartNfa_1(8, old0, 0L, 0L);
1230 try { curChar = input_stream.readChar(); }
1231 catch(java.io.IOException e) {
1232 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1239 return jjMoveStringLiteralDfa11_1(active0, 0x30000000L);
1243 return jjStartNfa_1(9, active0, 0L, 0L);
1245 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1247 if (((active0 &= old0)) == 0L)
1248 return jjStartNfa_1(9, old0, 0L, 0L);
1249 try { curChar = input_stream.readChar(); }
1250 catch(java.io.IOException e) {
1251 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1258 if ((active0 & 0x10000000L) != 0L)
1259 return jjStartNfaWithStates_1(11, 28, 14);
1260 else if ((active0 & 0x20000000L) != 0L)
1261 return jjStartNfaWithStates_1(11, 29, 14);
1266 return jjStartNfa_1(10, active0, 0L, 0L);
1268 static final long[] jjbitVec0 = {
1269 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
1271 static private final int jjMoveNfa_1(int startState, int curPos)
1277 jjstateSet[0] = startState;
1278 int j, kind = 0x7fffffff;
1281 if (++jjround == 0x7fffffff)
1285 long l = 1L << curChar;
1288 switch(jjstateSet[--i])
1291 if ((0x3ff000000000000L & l) != 0L)
1292 jjCheckNAddStates(2, 8);
1293 else if (curChar == 39)
1294 jjCheckNAddStates(9, 14);
1295 else if (curChar == 34)
1296 jjCheckNAddStates(15, 20);
1297 else if (curChar == 36)
1298 jjstateSet[jjnewStateCnt++] = 16;
1299 else if (curChar == 46)
1301 else if (curChar == 47)
1302 jjstateSet[jjnewStateCnt++] = 2;
1303 if ((0x3fe000000000000L & l) != 0L)
1307 jjCheckNAddTwoStates(5, 6);
1309 else if (curChar == 48)
1313 jjCheckNAddStates(21, 23);
1318 jjstateSet[jjnewStateCnt++] = 1;
1321 if ((0xffff7fffffffffffL & l) != 0L && kind > 10)
1326 jjstateSet[jjnewStateCnt++] = 0;
1329 if ((0x3fe000000000000L & l) == 0L)
1333 jjCheckNAddTwoStates(5, 6);
1336 if ((0x3ff000000000000L & l) == 0L)
1340 jjCheckNAddTwoStates(5, 6);
1347 if ((0x3ff000000000000L & l) == 0L)
1351 jjCheckNAddStates(24, 26);
1354 if ((0x280000000000L & l) != 0L)
1358 if ((0x3ff000000000000L & l) == 0L)
1362 jjCheckNAddTwoStates(11, 12);
1365 if ((0x3ff000000000000L & l) == 0L)
1369 jjstateSet[jjnewStateCnt++] = 14;
1373 jjstateSet[jjnewStateCnt++] = 16;
1376 if ((0x3ff000000000000L & l) == 0L)
1380 jjstateSet[jjnewStateCnt++] = 17;
1383 if ((0x3ff000000000000L & l) != 0L)
1384 jjCheckNAddStates(2, 8);
1387 if ((0x3ff000000000000L & l) != 0L)
1388 jjCheckNAddTwoStates(19, 20);
1395 jjCheckNAddStates(27, 29);
1398 if ((0x3ff000000000000L & l) == 0L)
1402 jjCheckNAddStates(27, 29);
1405 if ((0x280000000000L & l) != 0L)
1409 if ((0x3ff000000000000L & l) == 0L)
1413 jjCheckNAddTwoStates(24, 12);
1416 if ((0x3ff000000000000L & l) != 0L)
1417 jjCheckNAddTwoStates(25, 26);
1420 if ((0x280000000000L & l) != 0L)
1424 if ((0x3ff000000000000L & l) == 0L)
1428 jjCheckNAddTwoStates(28, 12);
1431 if ((0x3ff000000000000L & l) != 0L)
1432 jjCheckNAddStates(30, 32);
1435 if ((0x280000000000L & l) != 0L)
1439 if ((0x3ff000000000000L & l) != 0L)
1440 jjCheckNAddTwoStates(32, 12);
1447 jjCheckNAddStates(21, 23);
1450 if ((0x3ff000000000000L & l) == 0L)
1454 jjCheckNAddTwoStates(35, 6);
1457 if ((0xff000000000000L & l) == 0L)
1461 jjCheckNAddTwoStates(36, 6);
1465 jjCheckNAddStates(15, 20);
1468 if ((0xfffffffbffffffffL & l) != 0L)
1469 jjCheckNAddStates(33, 35);
1473 jjCheckNAddStates(33, 35);
1476 if (curChar == 34 && kind > 75)
1480 if ((0xfffffffbffffffffL & l) != 0L)
1481 jjCheckNAddStates(36, 38);
1485 jjCheckNAddStates(36, 38);
1488 if (curChar == 34 && kind > 76)
1493 jjCheckNAddStates(9, 14);
1496 if ((0xffffff7fffffffffL & l) != 0L)
1497 jjCheckNAddStates(39, 41);
1501 jjCheckNAddStates(39, 41);
1504 if (curChar == 39 && kind > 75)
1508 if ((0xffffff7fffffffffL & l) != 0L)
1509 jjCheckNAddStates(42, 44);
1513 jjCheckNAddStates(42, 44);
1516 if (curChar == 39 && kind > 77)
1520 jjAddStates(45, 47);
1523 jjAddStates(48, 50);
1527 } while(i != startsAt);
1529 else if (curChar < 128)
1531 long l = 1L << (curChar & 077);
1534 switch(jjstateSet[--i])
1537 if ((0x87fffffe87fffffeL & l) != 0L)
1543 else if (curChar == 96)
1544 jjCheckNAddStates(51, 56);
1551 if ((0x100000001000L & l) != 0L && kind > 69)
1555 if ((0x2000000020L & l) != 0L)
1556 jjAddStates(57, 58);
1559 if ((0x5000000050L & l) != 0L && kind > 73)
1564 if ((0x87fffffe87fffffeL & l) == 0L)
1572 if ((0x87fffffe87fffffeL & l) == 0L)
1579 if ((0x2000000020L & l) != 0L)
1580 jjAddStates(59, 60);
1583 if ((0x2000000020L & l) != 0L)
1584 jjAddStates(61, 62);
1587 if ((0x2000000020L & l) != 0L)
1588 jjAddStates(63, 64);
1591 if ((0x100000001000000L & l) != 0L)
1595 if ((0x7e0000007eL & l) == 0L)
1599 jjCheckNAddTwoStates(35, 6);
1602 jjAddStates(33, 35);
1606 jjstateSet[jjnewStateCnt++] = 39;
1609 jjAddStates(36, 38);
1613 jjstateSet[jjnewStateCnt++] = 43;
1616 jjAddStates(39, 41);
1620 jjstateSet[jjnewStateCnt++] = 48;
1623 jjAddStates(42, 44);
1627 jjstateSet[jjnewStateCnt++] = 52;
1631 jjCheckNAddStates(51, 56);
1634 if ((0xfffffffeffffffffL & l) != 0L)
1635 jjCheckNAddStates(45, 47);
1639 jjCheckNAddStates(45, 47);
1643 jjstateSet[jjnewStateCnt++] = 57;
1646 if (curChar == 96 && kind > 75)
1650 if ((0xfffffffeffffffffL & l) != 0L)
1651 jjCheckNAddStates(48, 50);
1655 jjCheckNAddStates(48, 50);
1659 jjstateSet[jjnewStateCnt++] = 61;
1662 if (curChar == 96 && kind > 78)
1667 } while(i != startsAt);
1671 int i2 = (curChar & 0xff) >> 6;
1672 long l2 = 1L << (curChar & 077);
1675 switch(jjstateSet[--i])
1679 if ((jjbitVec0[i2] & l2) == 0L)
1686 if ((jjbitVec0[i2] & l2) != 0L && kind > 10)
1691 if ((jjbitVec0[i2] & l2) == 0L)
1698 if ((jjbitVec0[i2] & l2) != 0L)
1699 jjAddStates(33, 35);
1702 if ((jjbitVec0[i2] & l2) != 0L)
1703 jjAddStates(36, 38);
1706 if ((jjbitVec0[i2] & l2) != 0L)
1707 jjAddStates(39, 41);
1710 if ((jjbitVec0[i2] & l2) != 0L)
1711 jjAddStates(42, 44);
1714 if ((jjbitVec0[i2] & l2) != 0L)
1715 jjAddStates(45, 47);
1718 if ((jjbitVec0[i2] & l2) != 0L)
1719 jjAddStates(48, 50);
1723 } while(i != startsAt);
1725 if (kind != 0x7fffffff)
1727 jjmatchedKind = kind;
1728 jjmatchedPos = curPos;
1732 if ((i = jjnewStateCnt) == (startsAt = 64 - (jjnewStateCnt = startsAt)))
1734 try { curChar = input_stream.readChar(); }
1735 catch(java.io.IOException e) { return curPos; }
1738 static private final int jjMoveStringLiteralDfa0_3()
1743 return jjMoveStringLiteralDfa1_3(0x4000L);
1748 static private final int jjMoveStringLiteralDfa1_3(long active0)
1750 try { curChar = input_stream.readChar(); }
1751 catch(java.io.IOException e) {
1757 if ((active0 & 0x4000L) != 0L)
1758 return jjStopAtPos(1, 14);
1765 static final int[] jjnextStates = {
1766 4, 5, 19, 20, 25, 26, 29, 30, 12, 47, 49, 50, 51, 53, 54, 38,
1767 40, 41, 42, 44, 45, 34, 36, 6, 8, 9, 12, 21, 22, 12, 29, 30,
1768 12, 38, 40, 41, 42, 44, 45, 47, 49, 50, 51, 53, 54, 56, 58, 59,
1769 60, 62, 63, 56, 58, 59, 60, 62, 63, 10, 11, 23, 24, 27, 28, 31,
1772 public static final String[] jjstrLiteralImages = {
1773 "", null, "\77\76", null, null, null, null, null, null, null, null, null, null,
1774 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1775 null, null, null, null, null, "\55\76", "\72\72", "\75\76", null, null, null, null,
1776 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1777 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1778 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1779 null, null, "\50", "\51", "\173", "\175", "\133", "\135", "\73", "\54", "\56",
1780 "\100", "\44", "\75", "\76", "\74", "\41", "\77", "\72", "\75\75", "\74\75", "\76\75",
1781 "\41\75", "\74\76", "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55", "\52",
1782 "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76", "\76\76\76", "\53\75",
1783 "\55\75", "\52\75", "\57\75", "\46\75", "\174\75", "\136\75", "\56\75", "\45\75",
1784 "\74\74\75", "\76\76\75", "\41\75\75", "\75\75\75", "\176\75", null, "\77\76", };
1785 public static final String[] lexStateNames = {
1788 "IN_SINGLE_LINE_COMMENT",
1789 "IN_FORMAL_COMMENT",
1790 "IN_MULTI_LINE_COMMENT",
1792 public static final int[] jjnewLexState = {
1793 -1, 1, 0, -1, -1, -1, -1, -1, -1, 2, 3, 4, 1, 0, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1794 -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,
1795 -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,
1796 -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,
1797 -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,
1798 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1800 static final long[] jjtoToken = {
1801 0xfffffffffffe2007L, 0xfffffffffff8fa3fL, 0xffL,
1803 static final long[] jjtoSkip = {
1804 0xd1f8L, 0x0L, 0x0L,
1806 static final long[] jjtoSpecial = {
1807 0xd000L, 0x0L, 0x0L,
1809 static final long[] jjtoMore = {
1810 0x10e00L, 0x0L, 0x0L,
1812 static protected SimpleCharStream input_stream;
1813 static private final int[] jjrounds = new int[64];
1814 static private final int[] jjstateSet = new int[128];
1815 static StringBuffer image;
1816 static int jjimageLen;
1817 static int lengthOfMatch;
1818 static protected char curChar;
1819 public PHPParserTokenManager(SimpleCharStream stream)
1821 if (input_stream != null)
1822 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
1823 input_stream = stream;
1825 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
1830 static public void ReInit(SimpleCharStream stream)
1832 jjmatchedPos = jjnewStateCnt = 0;
1833 curLexState = defaultLexState;
1834 input_stream = stream;
1837 static private final void ReInitRounds()
1840 jjround = 0x80000001;
1841 for (i = 64; i-- > 0;)
1842 jjrounds[i] = 0x80000000;
1844 static public void ReInit(SimpleCharStream stream, int lexState)
1849 static public void SwitchTo(int lexState)
1851 if (lexState >= 5 || lexState < 0)
1852 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
1854 curLexState = lexState;
1857 static protected Token jjFillToken()
1859 Token t = Token.newToken(jjmatchedKind);
1860 t.kind = jjmatchedKind;
1861 String im = jjstrLiteralImages[jjmatchedKind];
1862 t.image = (im == null) ? input_stream.GetImage() : im;
1863 t.beginLine = input_stream.getBeginLine();
1864 t.beginColumn = input_stream.getBeginColumn();
1865 t.endLine = input_stream.getEndLine();
1866 t.endColumn = input_stream.getEndColumn();
1870 static int curLexState = 0;
1871 static int defaultLexState = 0;
1872 static int jjnewStateCnt;
1874 static int jjmatchedPos;
1875 static int jjmatchedKind;
1877 public static Token getNextToken()
1880 Token specialToken = null;
1889 curChar = input_stream.BeginToken();
1891 catch(java.io.IOException e)
1894 matchedToken = jjFillToken();
1895 matchedToken.specialToken = specialToken;
1896 return matchedToken;
1906 jjmatchedKind = 0x7fffffff;
1908 curPos = jjMoveStringLiteralDfa0_0();
1909 if (jjmatchedPos == 0 && jjmatchedKind > 3)
1915 try { input_stream.backup(0);
1916 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
1917 curChar = input_stream.BeginToken();
1919 catch (java.io.IOException e1) { continue EOFLoop; }
1920 jjmatchedKind = 0x7fffffff;
1922 curPos = jjMoveStringLiteralDfa0_1();
1925 jjmatchedKind = 0x7fffffff;
1927 curPos = jjMoveStringLiteralDfa0_2();
1928 if (jjmatchedPos == 0 && jjmatchedKind > 16)
1934 jjmatchedKind = 0x7fffffff;
1936 curPos = jjMoveStringLiteralDfa0_3();
1937 if (jjmatchedPos == 0 && jjmatchedKind > 16)
1943 jjmatchedKind = 0x7fffffff;
1945 curPos = jjMoveStringLiteralDfa0_4();
1946 if (jjmatchedPos == 0 && jjmatchedKind > 16)
1952 if (jjmatchedKind != 0x7fffffff)
1954 if (jjmatchedPos + 1 < curPos)
1955 input_stream.backup(curPos - jjmatchedPos - 1);
1956 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1958 matchedToken = jjFillToken();
1959 matchedToken.specialToken = specialToken;
1960 if (jjnewLexState[jjmatchedKind] != -1)
1961 curLexState = jjnewLexState[jjmatchedKind];
1962 return matchedToken;
1964 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1966 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1968 matchedToken = jjFillToken();
1969 if (specialToken == null)
1970 specialToken = matchedToken;
1973 matchedToken.specialToken = specialToken;
1974 specialToken = (specialToken.next = matchedToken);
1976 SkipLexicalActions(matchedToken);
1979 SkipLexicalActions(null);
1980 if (jjnewLexState[jjmatchedKind] != -1)
1981 curLexState = jjnewLexState[jjmatchedKind];
1984 MoreLexicalActions();
1985 if (jjnewLexState[jjmatchedKind] != -1)
1986 curLexState = jjnewLexState[jjmatchedKind];
1988 jjmatchedKind = 0x7fffffff;
1990 curChar = input_stream.readChar();
1993 catch (java.io.IOException e1) { }
1995 int error_line = input_stream.getEndLine();
1996 int error_column = input_stream.getEndColumn();
1997 String error_after = null;
1998 boolean EOFSeen = false;
1999 try { input_stream.readChar(); input_stream.backup(1); }
2000 catch (java.io.IOException e1) {
2002 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2003 if (curChar == '\n' || curChar == '\r') {
2011 input_stream.backup(1);
2012 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2014 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
2019 static void SkipLexicalActions(Token matchedToken)
2021 switch(jjmatchedKind)
2027 static void MoreLexicalActions()
2029 jjimageLen += (lengthOfMatch = jjmatchedPos + 1);
2030 switch(jjmatchedKind)
2034 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen)));
2036 image.append(new String(input_stream.GetSuffix(jjimageLen)));
2038 input_stream.backup(1);