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 static private final int jjStopAtPos(int pos, int kind)
30 static private final int jjMoveStringLiteralDfa0_0()
35 return jjMoveStringLiteralDfa1_0(0xeL, 0x0L);
37 return jjMoveStringLiteralDfa1_0(0x0L, 0x400L);
42 static private final int jjMoveStringLiteralDfa1_0(long active0, long active2)
44 try { curChar = input_stream.readChar(); }
45 catch(java.io.IOException e) {
51 if ((active2 & 0x400L) != 0L)
52 return jjStopAtPos(1, 138);
55 if ((active0 & 0x2L) != 0L)
60 return jjMoveStringLiteralDfa2_0(active0, 0xcL, active2, 0L);
66 static private final int jjMoveStringLiteralDfa2_0(long old0, long active0, long old2, long active2)
68 if (((active0 &= old0) | (active2 &= old2)) == 0L)
70 try { curChar = input_stream.readChar(); }
71 catch(java.io.IOException e) {
77 if ((active0 & 0x8L) != 0L)
78 return jjStopAtPos(2, 3);
82 return jjMoveStringLiteralDfa3_0(active0, 0x4L);
88 static private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
90 if (((active0 &= old0)) == 0L)
92 try { curChar = input_stream.readChar(); }
93 catch(java.io.IOException e) {
100 return jjMoveStringLiteralDfa4_0(active0, 0x4L);
105 static private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
107 if (((active0 &= old0)) == 0L)
109 try { curChar = input_stream.readChar(); }
110 catch(java.io.IOException e) {
117 if ((active0 & 0x4L) != 0L)
118 return jjStopAtPos(4, 2);
125 static private final int jjMoveStringLiteralDfa0_4()
130 return jjMoveStringLiteralDfa1_4(0x20000L);
135 static private final int jjMoveStringLiteralDfa1_4(long active0)
137 try { curChar = input_stream.readChar(); }
138 catch(java.io.IOException e) {
144 if ((active0 & 0x20000L) != 0L)
145 return jjStopAtPos(1, 17);
152 private static final int jjStopStringLiteralDfa_2(int pos, long active0)
160 private static final int jjStartNfa_2(int pos, long active0)
162 return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
164 static private final int jjStartNfaWithStates_2(int pos, int kind, int state)
166 jjmatchedKind = kind;
168 try { curChar = input_stream.readChar(); }
169 catch(java.io.IOException e) { return pos + 1; }
170 return jjMoveNfa_2(state, pos + 1);
172 static private final int jjMoveStringLiteralDfa0_2()
177 return jjMoveStringLiteralDfa1_2(0x8000L);
179 return jjMoveNfa_2(0, 0);
182 static private final int jjMoveStringLiteralDfa1_2(long active0)
184 try { curChar = input_stream.readChar(); }
185 catch(java.io.IOException e) {
186 jjStopStringLiteralDfa_2(0, active0);
192 if ((active0 & 0x8000L) != 0L)
193 return jjStopAtPos(1, 15);
198 return jjStartNfa_2(0, active0);
200 static private final void jjCheckNAdd(int state)
202 if (jjrounds[state] != jjround)
204 jjstateSet[jjnewStateCnt++] = state;
205 jjrounds[state] = jjround;
208 static private final void jjAddStates(int start, int end)
211 jjstateSet[jjnewStateCnt++] = jjnextStates[start];
212 } while (start++ != end);
214 static private final void jjCheckNAddTwoStates(int state1, int state2)
219 static private final void jjCheckNAddStates(int start, int end)
222 jjCheckNAdd(jjnextStates[start]);
223 } while (start++ != end);
225 static private final void jjCheckNAddStates(int start)
227 jjCheckNAdd(jjnextStates[start]);
228 jjCheckNAdd(jjnextStates[start + 1]);
230 static private final int jjMoveNfa_2(int startState, int curPos)
236 jjstateSet[0] = startState;
237 int j, kind = 0x7fffffff;
240 if (++jjround == 0x7fffffff)
244 long l = 1L << curChar;
247 switch(jjstateSet[--i])
250 if ((0x2400L & l) != 0L)
256 jjstateSet[jjnewStateCnt++] = 1;
259 if (curChar == 10 && kind > 14)
264 jjstateSet[jjnewStateCnt++] = 1;
268 } while(i != startsAt);
270 else if (curChar < 128)
272 long l = 1L << (curChar & 077);
275 switch(jjstateSet[--i])
279 } while(i != startsAt);
283 int i2 = (curChar & 0xff) >> 6;
284 long l2 = 1L << (curChar & 077);
287 switch(jjstateSet[--i])
291 } while(i != startsAt);
293 if (kind != 0x7fffffff)
295 jjmatchedKind = kind;
296 jjmatchedPos = curPos;
300 if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
302 try { curChar = input_stream.readChar(); }
303 catch(java.io.IOException e) { return curPos; }
306 private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1, long active2)
311 if ((active0 & 0x2800L) != 0L || (active1 & 0x8000100000000000L) != 0L)
313 if ((active1 & 0x10000000000000L) != 0L)
315 if ((active1 & 0x1000040000000L) != 0L)
317 if ((active0 & 0xffffffc7fff80000L) != 0L || (active1 & 0xffL) != 0L)
324 if ((active0 & 0x2000L) != 0L)
326 if ((active0 & 0x1000080000400000L) != 0L || (active1 & 0x44L) != 0L)
328 if ((active0 & 0xeffff7c7ffb80000L) != 0L || (active1 & 0xbbL) != 0L)
330 if (jjmatchedPos != 1)
339 if ((active0 & 0x800a00000200000L) != 0L || (active1 & 0xb0L) != 0L)
341 if ((active0 & 0xe7ff57c7ff980000L) != 0L || (active1 & 0xfL) != 0L)
343 if (jjmatchedPos != 2)
352 if ((active0 & 0x803140c011800000L) != 0L || (active1 & 0x3L) != 0L)
354 if ((active0 & 0x6fce1707ee180000L) != 0L || (active1 & 0x2cL) != 0L)
356 if (jjmatchedPos != 3)
365 if ((active0 & 0x6d0a1607e0900000L) != 0L || (active1 & 0x25L) != 0L)
371 if ((active0 & 0x2c401000e080000L) != 0L || (active1 & 0x8L) != 0L)
375 if ((active0 & 0x640a000600800000L) != 0L || (active1 & 0x4L) != 0L)
377 if ((active0 & 0x9001601e0100000L) != 0L || (active1 & 0x21L) != 0L)
385 if ((active0 & 0x8001401e0000000L) != 0L || (active1 & 0x21L) != 0L)
387 if ((active0 & 0x100020000100000L) != 0L)
389 if (jjmatchedPos != 6)
398 if ((active0 & 0x180000000L) != 0L)
404 if ((active0 & 0x100020000100000L) != 0L)
408 if ((active0 & 0x180000000L) != 0L)
416 if ((active0 & 0x180000000L) != 0L)
424 if ((active0 & 0x180000000L) != 0L)
435 private static final int jjStartNfa_1(int pos, long active0, long active1, long active2)
437 return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1, active2), pos + 1);
439 static private final int jjStartNfaWithStates_1(int pos, int kind, int state)
441 jjmatchedKind = kind;
443 try { curChar = input_stream.readChar(); }
444 catch(java.io.IOException e) { return pos + 1; }
445 return jjMoveNfa_1(state, pos + 1);
447 static private final int jjMoveStringLiteralDfa0_1()
453 return jjMoveStringLiteralDfa1_1(0x0L, 0x5000000000L, 0x0L);
455 return jjStartNfaWithStates_1(0, 116, 16);
458 return jjMoveStringLiteralDfa1_1(0x0L, 0x2000000000000L, 0x0L);
461 return jjMoveStringLiteralDfa1_1(0x0L, 0x200200000000000L, 0x0L);
463 return jjStopAtPos(0, 86);
465 return jjStopAtPos(0, 87);
468 return jjMoveStringLiteralDfa1_1(0x0L, 0x80000000000L, 0x0L);
471 return jjMoveStringLiteralDfa1_1(0x0L, 0x400020000000000L, 0x0L);
473 return jjStopAtPos(0, 93);
476 return jjMoveStringLiteralDfa1_1(0x800000000L, 0x800040000000000L, 0x0L);
479 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000000000000L, 0x0L);
482 return jjMoveStringLiteralDfa1_1(0x2800L, 0x100000000000L, 0x0L);
485 return jjMoveStringLiteralDfa1_1(0x1000000000L, 0x0L, 0x0L);
487 return jjStopAtPos(0, 92);
490 return jjMoveStringLiteralDfa1_1(0x0L, 0x2400000000L, 0x90L);
493 return jjMoveStringLiteralDfa1_1(0x2000000000L, 0x8200000000L, 0x0L);
496 return jjMoveStringLiteralDfa1_1(0x0L, 0x800000000L, 0x160L);
499 return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L);
501 return jjStopAtPos(0, 115);
503 return jjStopAtPos(0, 90);
505 return jjStopAtPos(0, 91);
508 return jjMoveStringLiteralDfa1_1(0x0L, 0x800000000000L, 0x0L);
511 return jjMoveStringLiteralDfa1_1(0x1000000002000000L, 0x80L, 0x0L);
514 return jjMoveStringLiteralDfa1_1(0x8000000004000000L, 0x1L, 0x0L);
517 return jjMoveStringLiteralDfa1_1(0x38000080000L, 0x0L, 0x0L);
520 return jjMoveStringLiteralDfa1_1(0xc0000000000L, 0x4L, 0x0L);
523 return jjMoveStringLiteralDfa1_1(0x700100011800000L, 0x0L, 0x0L);
526 return jjMoveStringLiteralDfa1_1(0x840200000100000L, 0x8L, 0x0L);
529 return jjMoveStringLiteralDfa1_1(0x400200000000L, 0x0L, 0x0L);
532 return jjMoveStringLiteralDfa1_1(0xa0400000L, 0x30L, 0x0L);
535 return jjMoveStringLiteralDfa1_1(0x4000000000L, 0x0L, 0x0L);
538 return jjMoveStringLiteralDfa1_1(0x1800000000000L, 0x0L, 0x0L);
541 return jjMoveStringLiteralDfa1_1(0x4000000000000000L, 0x40L, 0x0L);
544 return jjMoveStringLiteralDfa1_1(0x8000000L, 0x0L, 0x0L);
547 return jjMoveStringLiteralDfa1_1(0x2000140000000L, 0x2L, 0x0L);
550 return jjMoveStringLiteralDfa1_1(0x200c000400000000L, 0x0L, 0x0L);
553 return jjMoveStringLiteralDfa1_1(0x30000000000000L, 0x0L, 0x0L);
556 return jjMoveStringLiteralDfa1_1(0x200000L, 0x0L, 0x0L);
559 return jjMoveStringLiteralDfa1_1(0x80000000000000L, 0x0L, 0x0L);
561 return jjStopAtPos(0, 88);
564 return jjMoveStringLiteralDfa1_1(0x0L, 0x100400000000000L, 0x0L);
566 return jjStopAtPos(0, 89);
568 return jjMoveStringLiteralDfa1_1(0x0L, 0x4000000000000L, 0x0L);
570 return jjMoveNfa_1(3, 0);
573 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
575 try { curChar = input_stream.readChar(); }
576 catch(java.io.IOException e) {
577 jjStopStringLiteralDfa_1(0, active0, active1, active2);
583 if ((active1 & 0x200000000000000L) != 0L)
584 return jjStopAtPos(1, 121);
587 if ((active0 & 0x2000L) != 0L)
588 return jjStartNfaWithStates_1(1, 13, 0);
591 if ((active1 & 0x400000000000000L) != 0L)
592 return jjStopAtPos(1, 122);
595 if ((active1 & 0x800000000000000L) != 0L)
596 return jjStopAtPos(1, 123);
599 if ((active0 & 0x800L) != 0L)
600 return jjStopAtPos(1, 11);
603 if ((active0 & 0x1000000000L) != 0L)
604 return jjStopAtPos(1, 36);
607 if ((active2 & 0x10L) != 0L)
612 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x80L);
614 if ((active1 & 0x200000000L) != 0L)
619 else if ((active1 & 0x400000000L) != 0L)
620 return jjStopAtPos(1, 98);
621 else if ((active1 & 0x800000000L) != 0L)
622 return jjStopAtPos(1, 99);
623 else if ((active1 & 0x1000000000L) != 0L)
628 else if ((active1 & 0x20000000000L) != 0L)
629 return jjStopAtPos(1, 105);
630 else if ((active1 & 0x40000000000L) != 0L)
631 return jjStopAtPos(1, 106);
632 else if ((active1 & 0x80000000000L) != 0L)
633 return jjStopAtPos(1, 107);
634 else if ((active1 & 0x100000000000L) != 0L)
635 return jjStopAtPos(1, 108);
636 else if ((active1 & 0x200000000000L) != 0L)
637 return jjStopAtPos(1, 109);
638 else if ((active1 & 0x400000000000L) != 0L)
639 return jjStopAtPos(1, 110);
640 else if ((active1 & 0x800000000000L) != 0L)
641 return jjStopAtPos(1, 111);
642 else if ((active1 & 0x1000000000000L) != 0L)
643 return jjStopAtPos(1, 112);
644 else if ((active1 & 0x2000000000000L) != 0L)
645 return jjStopAtPos(1, 113);
646 else if ((active1 & 0x4000000000000L) != 0L)
647 return jjStopAtPos(1, 114);
648 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0xc000000000L, active2, 0L);
650 if ((active0 & 0x10L) != 0L)
651 return jjStopAtPos(1, 4);
652 else if ((active0 & 0x800000000L) != 0L)
653 return jjStopAtPos(1, 35);
654 else if ((active0 & 0x2000000000L) != 0L)
655 return jjStopAtPos(1, 37);
656 else if ((active1 & 0x2000000000L) != 0L)
657 return jjStopAtPos(1, 101);
658 else if ((active2 & 0x20L) != 0L)
663 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x140L);
666 return jjMoveStringLiteralDfa2_1(active0, 0x40008000200000L, active1, 0L, active2, 0L);
669 return jjMoveStringLiteralDfa2_1(active0, 0x4000000000000000L, active1, 0L, active2, 0L);
672 return jjMoveStringLiteralDfa2_1(active0, 0x10000000L, active1, 0L, active2, 0L);
675 return jjMoveStringLiteralDfa2_1(active0, 0x2840140000000L, active1, 0x2L, active2, 0L);
678 if ((active0 & 0x400000L) != 0L)
679 return jjStartNfaWithStates_1(1, 22, 14);
683 return jjMoveStringLiteralDfa2_1(active0, 0x90000000000000L, active1, 0L, active2, 0L);
686 return jjMoveStringLiteralDfa2_1(active0, 0x4000000000L, active1, 0L, active2, 0L);
689 return jjMoveStringLiteralDfa2_1(active0, 0x201880000L, active1, 0x8L, active2, 0L);
692 return jjMoveStringLiteralDfa2_1(active0, 0x7000000a0000000L, active1, 0xb0L, active2, 0L);
695 if ((active0 & 0x80000000000L) != 0L)
700 return jjMoveStringLiteralDfa2_1(active0, 0x8800630000000000L, active1, 0x5L, active2, 0L);
703 if ((active1 & 0x40L) != 0L)
704 return jjStartNfaWithStates_1(1, 70, 14);
705 return jjMoveStringLiteralDfa2_1(active0, 0x2000000e000000L, active1, 0L, active2, 0L);
708 if ((active0 & 0x1000000000000000L) != 0L)
709 return jjStartNfaWithStates_1(1, 60, 14);
713 return jjMoveStringLiteralDfa2_1(active0, 0x2000000400000000L, active1, 0L, active2, 0L);
716 return jjMoveStringLiteralDfa2_1(active0, 0x5000000100000L, active1, 0L, active2, 0L);
719 return jjMoveStringLiteralDfa2_1(active0, 0x8000000000000L, active1, 0L, active2, 0L);
722 return jjMoveStringLiteralDfa2_1(active0, 0x100000000000L, active1, 0L, active2, 0L);
724 if ((active1 & 0x100000000000000L) != 0L)
725 return jjStopAtPos(1, 120);
730 return jjStartNfa_1(0, active0, active1, active2);
732 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
734 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
735 return jjStartNfa_1(0, old0, old1, old2);
736 try { curChar = input_stream.readChar(); }
737 catch(java.io.IOException e) {
738 jjStopStringLiteralDfa_1(1, active0, active1, active2);
744 if ((active1 & 0x4000000000L) != 0L)
745 return jjStopAtPos(2, 102);
746 else if ((active1 & 0x8000000000L) != 0L)
747 return jjStopAtPos(2, 103);
748 else if ((active2 & 0x80L) != 0L)
749 return jjStopAtPos(2, 135);
750 else if ((active2 & 0x100L) != 0L)
751 return jjStopAtPos(2, 136);
754 if ((active2 & 0x40L) != 0L)
755 return jjStopAtPos(2, 134);
759 return jjMoveStringLiteralDfa3_1(active0, 0x400080000L, active1, 0x2L, active2, 0L);
762 return jjMoveStringLiteralDfa3_1(active0, 0xa0000000L, active1, 0L, active2, 0L);
765 if ((active1 & 0x80L) != 0L)
766 return jjStartNfaWithStates_1(2, 71, 14);
767 return jjMoveStringLiteralDfa3_1(active0, 0x700000000000000L, active1, 0L, active2, 0L);
770 return jjMoveStringLiteralDfa3_1(active0, 0x4000000L, active1, 0L, active2, 0L);
773 return jjMoveStringLiteralDfa3_1(active0, 0x40000000000L, active1, 0L, active2, 0L);
776 return jjMoveStringLiteralDfa3_1(active0, 0x10000000L, active1, 0L, active2, 0L);
779 return jjMoveStringLiteralDfa3_1(active0, 0x98000008000000L, active1, 0L, active2, 0L);
782 return jjMoveStringLiteralDfa3_1(active0, 0x4000000000000000L, active1, 0L, active2, 0L);
785 return jjMoveStringLiteralDfa3_1(active0, 0x41000000000000L, active1, 0L, active2, 0L);
788 return jjMoveStringLiteralDfa3_1(active0, 0x30000100000L, active1, 0L, active2, 0L);
791 return jjMoveStringLiteralDfa3_1(active0, 0x8000000200000000L, active1, 0x9L, active2, 0L);
794 return jjMoveStringLiteralDfa3_1(active0, 0x4000000000000L, active1, 0L, active2, 0L);
797 return jjMoveStringLiteralDfa3_1(active0, 0x140000000L, active1, 0L, active2, 0L);
800 if ((active0 & 0x200000L) != 0L)
801 return jjStartNfaWithStates_1(2, 21, 14);
802 else if ((active0 & 0x200000000000L) != 0L)
807 return jjMoveStringLiteralDfa3_1(active0, 0x2800000002000000L, active1, 0L, active2, 0L);
810 return jjMoveStringLiteralDfa3_1(active0, 0xc001800000L, active1, 0L, active2, 0L);
813 if ((active1 & 0x10L) != 0L)
818 return jjMoveStringLiteralDfa3_1(active0, 0x2500000000000L, active1, 0x20L, active2, 0L);
821 return jjMoveStringLiteralDfa3_1(active0, 0x20000000000000L, active1, 0x4L, active2, 0L);
824 if ((active0 & 0x800000000000L) != 0L)
825 return jjStartNfaWithStates_1(2, 47, 14);
830 return jjStartNfa_1(1, active0, active1, active2);
832 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
834 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
835 return jjStartNfa_1(1, old0, old1, old2);
836 try { curChar = input_stream.readChar(); }
837 catch(java.io.IOException e) {
838 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
845 return jjMoveStringLiteralDfa4_1(active0, 0x40006000000L, active1, 0x8L);
848 return jjMoveStringLiteralDfa4_1(active0, 0x200000000L, active1, 0x4L);
851 return jjMoveStringLiteralDfa4_1(active0, 0x100000L, active1, 0L);
854 if ((active0 & 0x1000000L) != 0L)
859 else if ((active0 & 0x8000000000L) != 0L)
860 return jjStartNfaWithStates_1(3, 39, 14);
861 else if ((active0 & 0x20000000000000L) != 0L)
862 return jjStartNfaWithStates_1(3, 53, 14);
863 return jjMoveStringLiteralDfa4_1(active0, 0x4804100000800000L, active1, 0x20L);
866 return jjMoveStringLiteralDfa4_1(active0, 0x400000000000000L, active1, 0L);
869 return jjMoveStringLiteralDfa4_1(active0, 0x2200000000000000L, active1, 0L);
872 if ((active0 & 0x1000000000000L) != 0L)
873 return jjStartNfaWithStates_1(3, 48, 14);
874 else if ((active0 & 0x8000000000000000L) != 0L)
879 else if ((active1 & 0x2L) != 0L)
880 return jjStartNfaWithStates_1(3, 65, 14);
881 return jjMoveStringLiteralDfa4_1(active0, 0x800000a0000000L, active1, 0x1L);
884 return jjMoveStringLiteralDfa4_1(active0, 0x8000000L, active1, 0L);
887 if ((active0 & 0x10000000L) != 0L)
888 return jjStartNfaWithStates_1(3, 28, 14);
889 else if ((active0 & 0x400000000000L) != 0L)
890 return jjStartNfaWithStates_1(3, 46, 14);
894 if ((active0 & 0x10000000000000L) != 0L)
895 return jjStartNfaWithStates_1(3, 52, 14);
896 return jjMoveStringLiteralDfa4_1(active0, 0x40010000080000L, active1, 0L);
899 if ((active0 & 0x4000000000L) != 0L)
900 return jjStartNfaWithStates_1(3, 38, 14);
901 return jjMoveStringLiteralDfa4_1(active0, 0x8020400000000L, active1, 0L);
904 return jjMoveStringLiteralDfa4_1(active0, 0x2000140000000L, active1, 0L);
907 return jjMoveStringLiteralDfa4_1(active0, 0x100000000000000L, active1, 0L);
911 return jjStartNfa_1(2, active0, active1, 0L);
913 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
915 if (((active0 &= old0) | (active1 &= old1)) == 0L)
916 return jjStartNfa_1(2, old0, old1, 0L);
917 try { curChar = input_stream.readChar(); }
918 catch(java.io.IOException e) {
919 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
926 return jjMoveStringLiteralDfa5_1(active0, 0x800000200000000L, active1, 0L);
929 return jjMoveStringLiteralDfa5_1(active0, 0x4008000000000000L, active1, 0L);
932 if ((active0 & 0x40000000000000L) != 0L)
933 return jjStartNfaWithStates_1(4, 54, 14);
934 else if ((active0 & 0x80000000000000L) != 0L)
935 return jjStartNfaWithStates_1(4, 55, 14);
936 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x1L);
939 if ((active0 & 0x200000000000000L) != 0L)
940 return jjStartNfaWithStates_1(4, 57, 14);
944 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x20L);
947 return jjMoveStringLiteralDfa5_1(active0, 0x100000000000000L, active1, 0L);
950 return jjMoveStringLiteralDfa5_1(active0, 0x20540800000L, active1, 0L);
953 if ((active0 & 0x4000000L) != 0L)
954 return jjStartNfaWithStates_1(4, 26, 14);
958 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x4L);
961 return jjMoveStringLiteralDfa5_1(active0, 0x2000100000000000L, active1, 0L);
964 return jjMoveStringLiteralDfa5_1(active0, 0x400000000000000L, active1, 0L);
967 if ((active0 & 0x4000000000000L) != 0L)
968 return jjStartNfaWithStates_1(4, 50, 14);
969 return jjMoveStringLiteralDfa5_1(active0, 0x2000000000000L, active1, 0L);
972 if ((active0 & 0x80000L) != 0L)
973 return jjStartNfaWithStates_1(4, 19, 14);
977 if ((active0 & 0x8000000L) != 0L)
978 return jjStartNfaWithStates_1(4, 27, 14);
979 else if ((active0 & 0x10000000000L) != 0L)
980 return jjStartNfaWithStates_1(4, 40, 14);
981 else if ((active1 & 0x8L) != 0L)
982 return jjStartNfaWithStates_1(4, 67, 14);
983 return jjMoveStringLiteralDfa5_1(active0, 0x100000L, active1, 0L);
986 return jjMoveStringLiteralDfa5_1(active0, 0x400a0000000L, active1, 0L);
989 if ((active0 & 0x2000000L) != 0L)
990 return jjStartNfaWithStates_1(4, 25, 14);
995 return jjStartNfa_1(3, active0, active1, 0L);
997 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
999 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1000 return jjStartNfa_1(3, old0, old1, 0L);
1001 try { curChar = input_stream.readChar(); }
1002 catch(java.io.IOException e) {
1003 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1010 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x1L);
1013 if ((active0 & 0x400000000L) != 0L)
1014 return jjStartNfaWithStates_1(5, 34, 14);
1015 return jjMoveStringLiteralDfa6_1(active0, 0x800000000000000L, active1, 0L);
1018 return jjMoveStringLiteralDfa6_1(active0, 0x1000a0000000L, active1, 0L);
1021 if ((active1 & 0x4L) != 0L)
1022 return jjStartNfaWithStates_1(5, 66, 14);
1023 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x20L);
1026 if ((active0 & 0x800000L) != 0L)
1027 return jjStartNfaWithStates_1(5, 23, 14);
1031 if ((active0 & 0x2000000000000000L) != 0L)
1032 return jjStartNfaWithStates_1(5, 61, 14);
1036 if ((active0 & 0x8000000000000L) != 0L)
1037 return jjStartNfaWithStates_1(5, 51, 14);
1041 return jjMoveStringLiteralDfa6_1(active0, 0x100000000100000L, active1, 0L);
1044 if ((active0 & 0x200000000L) != 0L)
1045 return jjStartNfaWithStates_1(5, 33, 14);
1046 return jjMoveStringLiteralDfa6_1(active0, 0x40000000000L, active1, 0L);
1049 if ((active0 & 0x2000000000000L) != 0L)
1050 return jjStartNfaWithStates_1(5, 49, 14);
1051 return jjMoveStringLiteralDfa6_1(active0, 0x20000000000L, active1, 0L);
1054 if ((active0 & 0x400000000000000L) != 0L)
1055 return jjStartNfaWithStates_1(5, 58, 14);
1056 return jjMoveStringLiteralDfa6_1(active0, 0x140000000L, active1, 0L);
1059 if ((active0 & 0x4000000000000000L) != 0L)
1060 return jjStartNfaWithStates_1(5, 62, 14);
1065 return jjStartNfa_1(4, active0, active1, 0L);
1067 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1069 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1070 return jjStartNfa_1(4, old0, old1, 0L);
1071 try { curChar = input_stream.readChar(); }
1072 catch(java.io.IOException e) {
1073 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1080 if ((active0 & 0x20000000L) != 0L)
1085 else if ((active0 & 0x40000000L) != 0L)
1090 return jjMoveStringLiteralDfa7_1(active0, 0x180000000L, active1, 0L);
1093 if ((active0 & 0x800000000000000L) != 0L)
1094 return jjStartNfaWithStates_1(6, 59, 14);
1098 return jjMoveStringLiteralDfa7_1(active0, 0x100000000000000L, active1, 0L);
1101 if ((active1 & 0x1L) != 0L)
1102 return jjStartNfaWithStates_1(6, 64, 14);
1106 return jjMoveStringLiteralDfa7_1(active0, 0x100000L, active1, 0L);
1109 if ((active1 & 0x20L) != 0L)
1110 return jjStartNfaWithStates_1(6, 69, 14);
1114 if ((active0 & 0x100000000000L) != 0L)
1115 return jjStartNfaWithStates_1(6, 44, 14);
1119 if ((active0 & 0x40000000000L) != 0L)
1120 return jjStartNfaWithStates_1(6, 42, 14);
1124 return jjMoveStringLiteralDfa7_1(active0, 0x20000000000L, active1, 0L);
1128 return jjStartNfa_1(5, active0, active1, 0L);
1130 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1132 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1133 return jjStartNfa_1(5, old0, old1, 0L);
1134 try { curChar = input_stream.readChar(); }
1135 catch(java.io.IOException e) {
1136 jjStopStringLiteralDfa_1(6, active0, 0L, 0L);
1142 return jjMoveStringLiteralDfa8_1(active0, 0x180000000L);
1145 if ((active0 & 0x20000000000L) != 0L)
1146 return jjStartNfaWithStates_1(7, 41, 14);
1147 else if ((active0 & 0x100000000000000L) != 0L)
1148 return jjStartNfaWithStates_1(7, 56, 14);
1152 if ((active0 & 0x100000L) != 0L)
1153 return jjStartNfaWithStates_1(7, 20, 14);
1158 return jjStartNfa_1(6, active0, 0L, 0L);
1160 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0)
1162 if (((active0 &= old0)) == 0L)
1163 return jjStartNfa_1(6, old0, 0L, 0L);
1164 try { curChar = input_stream.readChar(); }
1165 catch(java.io.IOException e) {
1166 jjStopStringLiteralDfa_1(7, active0, 0L, 0L);
1173 return jjMoveStringLiteralDfa9_1(active0, 0x180000000L);
1177 return jjStartNfa_1(7, active0, 0L, 0L);
1179 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0)
1181 if (((active0 &= old0)) == 0L)
1182 return jjStartNfa_1(7, old0, 0L, 0L);
1183 try { curChar = input_stream.readChar(); }
1184 catch(java.io.IOException e) {
1185 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1192 return jjMoveStringLiteralDfa10_1(active0, 0x180000000L);
1196 return jjStartNfa_1(8, active0, 0L, 0L);
1198 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1200 if (((active0 &= old0)) == 0L)
1201 return jjStartNfa_1(8, old0, 0L, 0L);
1202 try { curChar = input_stream.readChar(); }
1203 catch(java.io.IOException e) {
1204 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1211 return jjMoveStringLiteralDfa11_1(active0, 0x180000000L);
1215 return jjStartNfa_1(9, active0, 0L, 0L);
1217 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1219 if (((active0 &= old0)) == 0L)
1220 return jjStartNfa_1(9, old0, 0L, 0L);
1221 try { curChar = input_stream.readChar(); }
1222 catch(java.io.IOException e) {
1223 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1230 if ((active0 & 0x80000000L) != 0L)
1231 return jjStartNfaWithStates_1(11, 31, 14);
1232 else if ((active0 & 0x100000000L) != 0L)
1233 return jjStartNfaWithStates_1(11, 32, 14);
1238 return jjStartNfa_1(10, active0, 0L, 0L);
1240 static final long[] jjbitVec0 = {
1241 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
1243 static private final int jjMoveNfa_1(int startState, int curPos)
1249 jjstateSet[0] = startState;
1250 int j, kind = 0x7fffffff;
1253 if (++jjround == 0x7fffffff)
1257 long l = 1L << curChar;
1260 switch(jjstateSet[--i])
1263 if ((0x3ff000000000000L & l) != 0L)
1264 jjCheckNAddStates(0, 6);
1265 else if (curChar == 39)
1266 jjCheckNAddStates(7, 12);
1267 else if (curChar == 34)
1268 jjCheckNAddStates(13, 18);
1269 else if (curChar == 36)
1270 jjstateSet[jjnewStateCnt++] = 16;
1271 else if (curChar == 46)
1273 else if (curChar == 47)
1274 jjstateSet[jjnewStateCnt++] = 2;
1275 if ((0x3fe000000000000L & l) != 0L)
1279 jjCheckNAddTwoStates(5, 6);
1281 else if (curChar == 48)
1285 jjCheckNAddStates(19, 21);
1290 jjstateSet[jjnewStateCnt++] = 1;
1293 if ((0xffff7fffffffffffL & l) != 0L && kind > 12)
1298 jjstateSet[jjnewStateCnt++] = 0;
1301 if ((0x3fe000000000000L & l) == 0L)
1305 jjCheckNAddTwoStates(5, 6);
1308 if ((0x3ff000000000000L & l) == 0L)
1312 jjCheckNAddTwoStates(5, 6);
1319 if ((0x3ff000000000000L & l) == 0L)
1323 jjCheckNAddStates(22, 24);
1326 if ((0x280000000000L & l) != 0L)
1330 if ((0x3ff000000000000L & l) == 0L)
1334 jjCheckNAddTwoStates(11, 12);
1337 if ((0x3ff000000000000L & l) == 0L)
1341 jjstateSet[jjnewStateCnt++] = 14;
1345 jjstateSet[jjnewStateCnt++] = 16;
1348 if ((0x3ff000000000000L & l) == 0L)
1352 jjstateSet[jjnewStateCnt++] = 17;
1355 if ((0x3ff000000000000L & l) != 0L)
1356 jjCheckNAddStates(0, 6);
1359 if ((0x3ff000000000000L & l) != 0L)
1360 jjCheckNAddTwoStates(19, 20);
1367 jjCheckNAddStates(25, 27);
1370 if ((0x3ff000000000000L & l) == 0L)
1374 jjCheckNAddStates(25, 27);
1377 if ((0x280000000000L & l) != 0L)
1381 if ((0x3ff000000000000L & l) == 0L)
1385 jjCheckNAddTwoStates(24, 12);
1388 if ((0x3ff000000000000L & l) != 0L)
1389 jjCheckNAddTwoStates(25, 26);
1392 if ((0x280000000000L & l) != 0L)
1396 if ((0x3ff000000000000L & l) == 0L)
1400 jjCheckNAddTwoStates(28, 12);
1403 if ((0x3ff000000000000L & l) != 0L)
1404 jjCheckNAddStates(28, 30);
1407 if ((0x280000000000L & l) != 0L)
1411 if ((0x3ff000000000000L & l) != 0L)
1412 jjCheckNAddTwoStates(32, 12);
1419 jjCheckNAddStates(19, 21);
1422 if ((0x3ff000000000000L & l) == 0L)
1426 jjCheckNAddTwoStates(35, 6);
1429 if ((0xff000000000000L & l) == 0L)
1433 jjCheckNAddTwoStates(36, 6);
1437 jjCheckNAddStates(13, 18);
1440 if ((0xfffffffbffffffffL & l) != 0L)
1441 jjCheckNAddStates(31, 33);
1445 jjCheckNAddStates(31, 33);
1448 if (curChar == 34 && kind > 78)
1452 if ((0xfffffffbffffffffL & l) != 0L)
1453 jjCheckNAddStates(34, 36);
1457 jjCheckNAddStates(34, 36);
1460 if (curChar == 34 && kind > 79)
1465 jjCheckNAddStates(7, 12);
1468 if ((0xffffff7fffffffffL & l) != 0L)
1469 jjCheckNAddStates(37, 39);
1473 jjCheckNAddStates(37, 39);
1476 if (curChar == 39 && kind > 78)
1480 if ((0xffffff7fffffffffL & l) != 0L)
1481 jjCheckNAddStates(40, 42);
1485 jjCheckNAddStates(40, 42);
1488 if (curChar == 39 && kind > 80)
1492 jjAddStates(43, 45);
1495 jjAddStates(46, 48);
1499 } while(i != startsAt);
1501 else if (curChar < 128)
1503 long l = 1L << (curChar & 077);
1506 switch(jjstateSet[--i])
1509 if ((0x87fffffe87fffffeL & l) != 0L)
1515 else if (curChar == 96)
1516 jjCheckNAddStates(49, 54);
1523 if ((0x100000001000L & l) != 0L && kind > 72)
1527 if ((0x2000000020L & l) != 0L)
1528 jjAddStates(55, 56);
1531 if ((0x5000000050L & l) != 0L && kind > 76)
1536 if ((0x87fffffe87fffffeL & l) == 0L)
1544 if ((0x87fffffe87fffffeL & l) == 0L)
1551 if ((0x2000000020L & l) != 0L)
1552 jjAddStates(57, 58);
1555 if ((0x2000000020L & l) != 0L)
1556 jjAddStates(59, 60);
1559 if ((0x2000000020L & l) != 0L)
1560 jjAddStates(61, 62);
1563 if ((0x100000001000000L & l) != 0L)
1567 if ((0x7e0000007eL & l) == 0L)
1571 jjCheckNAddTwoStates(35, 6);
1574 jjAddStates(31, 33);
1578 jjstateSet[jjnewStateCnt++] = 39;
1581 jjAddStates(34, 36);
1585 jjstateSet[jjnewStateCnt++] = 43;
1588 jjAddStates(37, 39);
1592 jjstateSet[jjnewStateCnt++] = 48;
1595 jjAddStates(40, 42);
1599 jjstateSet[jjnewStateCnt++] = 52;
1603 jjCheckNAddStates(49, 54);
1606 if ((0xfffffffeffffffffL & l) != 0L)
1607 jjCheckNAddStates(43, 45);
1611 jjCheckNAddStates(43, 45);
1615 jjstateSet[jjnewStateCnt++] = 57;
1618 if (curChar == 96 && kind > 78)
1622 if ((0xfffffffeffffffffL & l) != 0L)
1623 jjCheckNAddStates(46, 48);
1627 jjCheckNAddStates(46, 48);
1631 jjstateSet[jjnewStateCnt++] = 61;
1634 if (curChar == 96 && kind > 81)
1639 } while(i != startsAt);
1643 int i2 = (curChar & 0xff) >> 6;
1644 long l2 = 1L << (curChar & 077);
1647 switch(jjstateSet[--i])
1651 if ((jjbitVec0[i2] & l2) == 0L)
1658 if ((jjbitVec0[i2] & l2) != 0L && kind > 12)
1663 if ((jjbitVec0[i2] & l2) == 0L)
1670 if ((jjbitVec0[i2] & l2) != 0L)
1671 jjAddStates(31, 33);
1674 if ((jjbitVec0[i2] & l2) != 0L)
1675 jjAddStates(34, 36);
1678 if ((jjbitVec0[i2] & l2) != 0L)
1679 jjAddStates(37, 39);
1682 if ((jjbitVec0[i2] & l2) != 0L)
1683 jjAddStates(40, 42);
1686 if ((jjbitVec0[i2] & l2) != 0L)
1687 jjAddStates(43, 45);
1690 if ((jjbitVec0[i2] & l2) != 0L)
1691 jjAddStates(46, 48);
1695 } while(i != startsAt);
1697 if (kind != 0x7fffffff)
1699 jjmatchedKind = kind;
1700 jjmatchedPos = curPos;
1704 if ((i = jjnewStateCnt) == (startsAt = 64 - (jjnewStateCnt = startsAt)))
1706 try { curChar = input_stream.readChar(); }
1707 catch(java.io.IOException e) { return curPos; }
1710 static private final int jjMoveStringLiteralDfa0_3()
1715 return jjMoveStringLiteralDfa1_3(0x10000L);
1720 static private final int jjMoveStringLiteralDfa1_3(long active0)
1722 try { curChar = input_stream.readChar(); }
1723 catch(java.io.IOException e) {
1729 if ((active0 & 0x10000L) != 0L)
1730 return jjStopAtPos(1, 16);
1737 static final int[] jjnextStates = {
1738 19, 20, 25, 26, 29, 30, 12, 47, 49, 50, 51, 53, 54, 38, 40, 41,
1739 42, 44, 45, 34, 36, 6, 8, 9, 12, 21, 22, 12, 29, 30, 12, 38,
1740 40, 41, 42, 44, 45, 47, 49, 50, 51, 53, 54, 56, 58, 59, 60, 62,
1741 63, 56, 58, 59, 60, 62, 63, 10, 11, 23, 24, 27, 28, 31, 32,
1743 public static final String[] jjstrLiteralImages = {
1744 "", "\74\77", null, "\74\77\75", "\77\76", null, null, null, null, null, null,
1745 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1746 null, null, null, null, null, null, null, null, null, null, "\55\76", "\72\72",
1747 "\75\76", null, null, null, null, null, null, null, null, null, null, null, null, null,
1748 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1749 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1750 null, null, null, null, null, null, null, "\50", "\51", "\173", "\175", "\133",
1751 "\135", "\73", "\54", "\56", "\76", "\74", "\75\75", "\74\75", "\76\75", "\41\75",
1752 "\74\76", "\41\75\75", "\75\75\75", "\75", "\53\75", "\55\75", "\52\75", "\57\75",
1753 "\46\75", "\174\75", "\136\75", "\56\75", "\45\75", "\176\75", "\100", "\44", "\41",
1754 "\77", "\72", "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55", "\52", "\57",
1755 "\46", "\174", "\136", "\45", "\74\74", "\76\76", "\76\76\76", "\74\74\75",
1756 "\76\76\75", null, "\77\76", };
1757 public static final String[] lexStateNames = {
1760 "IN_SINGLE_LINE_COMMENT",
1761 "IN_FORMAL_COMMENT",
1762 "IN_MULTI_LINE_COMMENT",
1764 public static final int[] jjnewLexState = {
1765 -1, 1, 1, 1, 0, -1, -1, -1, -1, -1, -1, 2, 3, 4, 1, 0, 1, 1, -1, -1, -1, -1, -1, -1, -1,
1766 -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,
1767 -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,
1768 -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,
1769 -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,
1770 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1772 static final long[] jjtoToken = {
1773 0xfffffffffff8001fL, 0xffffffffffc7d1ffL, 0x7ffL,
1775 static final long[] jjtoSkip = {
1776 0x3ffe0L, 0x0L, 0x0L,
1778 static final long[] jjtoSpecial = {
1779 0x3f800L, 0x0L, 0x0L,
1781 static final long[] jjtoMore = {
1782 0x40000L, 0x0L, 0x0L,
1784 static protected SimpleCharStream input_stream;
1785 static private final int[] jjrounds = new int[64];
1786 static private final int[] jjstateSet = new int[128];
1787 static StringBuffer image;
1788 static int jjimageLen;
1789 static int lengthOfMatch;
1790 static protected char curChar;
1791 public PHPParserTokenManager(SimpleCharStream stream)
1793 if (input_stream != null)
1794 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
1795 input_stream = stream;
1797 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
1802 static public void ReInit(SimpleCharStream stream)
1804 jjmatchedPos = jjnewStateCnt = 0;
1805 curLexState = defaultLexState;
1806 input_stream = stream;
1809 static private final void ReInitRounds()
1812 jjround = 0x80000001;
1813 for (i = 64; i-- > 0;)
1814 jjrounds[i] = 0x80000000;
1816 static public void ReInit(SimpleCharStream stream, int lexState)
1821 static public void SwitchTo(int lexState)
1823 if (lexState >= 5 || lexState < 0)
1824 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
1826 curLexState = lexState;
1829 static protected Token jjFillToken()
1831 Token t = Token.newToken(jjmatchedKind);
1832 t.kind = jjmatchedKind;
1833 String im = jjstrLiteralImages[jjmatchedKind];
1834 t.image = (im == null) ? input_stream.GetImage() : im;
1835 t.beginLine = input_stream.getBeginLine();
1836 t.beginColumn = input_stream.getBeginColumn();
1837 t.endLine = input_stream.getEndLine();
1838 t.endColumn = input_stream.getEndColumn();
1842 static int curLexState = 0;
1843 static int defaultLexState = 0;
1844 static int jjnewStateCnt;
1846 static int jjmatchedPos;
1847 static int jjmatchedKind;
1849 public static Token getNextToken()
1852 Token specialToken = null;
1861 curChar = input_stream.BeginToken();
1863 catch(java.io.IOException e)
1866 matchedToken = jjFillToken();
1867 matchedToken.specialToken = specialToken;
1868 return matchedToken;
1878 jjmatchedKind = 0x7fffffff;
1880 curPos = jjMoveStringLiteralDfa0_0();
1881 if (jjmatchedPos == 0 && jjmatchedKind > 5)
1887 try { input_stream.backup(0);
1888 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
1889 curChar = input_stream.BeginToken();
1891 catch (java.io.IOException e1) { continue EOFLoop; }
1892 jjmatchedKind = 0x7fffffff;
1894 curPos = jjMoveStringLiteralDfa0_1();
1897 jjmatchedKind = 0x7fffffff;
1899 curPos = jjMoveStringLiteralDfa0_2();
1900 if (jjmatchedPos == 0 && jjmatchedKind > 18)
1906 jjmatchedKind = 0x7fffffff;
1908 curPos = jjMoveStringLiteralDfa0_3();
1909 if (jjmatchedPos == 0 && jjmatchedKind > 18)
1915 jjmatchedKind = 0x7fffffff;
1917 curPos = jjMoveStringLiteralDfa0_4();
1918 if (jjmatchedPos == 0 && jjmatchedKind > 18)
1924 if (jjmatchedKind != 0x7fffffff)
1926 if (jjmatchedPos + 1 < curPos)
1927 input_stream.backup(curPos - jjmatchedPos - 1);
1928 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1930 matchedToken = jjFillToken();
1931 matchedToken.specialToken = specialToken;
1932 if (jjnewLexState[jjmatchedKind] != -1)
1933 curLexState = jjnewLexState[jjmatchedKind];
1934 return matchedToken;
1936 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1938 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1940 matchedToken = jjFillToken();
1941 if (specialToken == null)
1942 specialToken = matchedToken;
1945 matchedToken.specialToken = specialToken;
1946 specialToken = (specialToken.next = matchedToken);
1948 SkipLexicalActions(matchedToken);
1951 SkipLexicalActions(null);
1952 if (jjnewLexState[jjmatchedKind] != -1)
1953 curLexState = jjnewLexState[jjmatchedKind];
1956 jjimageLen += jjmatchedPos + 1;
1957 if (jjnewLexState[jjmatchedKind] != -1)
1958 curLexState = jjnewLexState[jjmatchedKind];
1960 jjmatchedKind = 0x7fffffff;
1962 curChar = input_stream.readChar();
1965 catch (java.io.IOException e1) { }
1967 int error_line = input_stream.getEndLine();
1968 int error_column = input_stream.getEndColumn();
1969 String error_after = null;
1970 boolean EOFSeen = false;
1971 try { input_stream.readChar(); input_stream.backup(1); }
1972 catch (java.io.IOException e1) {
1974 error_after = curPos <= 1 ? "" : input_stream.GetImage();
1975 if (curChar == '\n' || curChar == '\r') {
1983 input_stream.backup(1);
1984 error_after = curPos <= 1 ? "" : input_stream.GetImage();
1986 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
1991 static void SkipLexicalActions(Token matchedToken)
1993 switch(jjmatchedKind)
1997 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
1999 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2000 input_stream.backup(1);