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, 0x200L);
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 & 0x200L) != 0L)
52 return jjStopAtPos(1, 137);
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 & 0x4000080000000000L) != 0L)
313 if ((active1 & 0x8000000000000L) != 0L)
315 if ((active1 & 0x800020000000L) != 0L)
317 if ((active0 & 0xffffffc7fff80000L) != 0L || (active1 & 0x7fL) != 0L)
324 if ((active0 & 0x2000L) != 0L)
326 if ((active0 & 0x800040000400000L) != 0L || (active1 & 0x22L) != 0L)
328 if ((active0 & 0xf7fffbc7ffb80000L) != 0L || (active1 & 0x5dL) != 0L)
330 if (jjmatchedPos != 1)
339 if ((active0 & 0x400500000200000L) != 0L || (active1 & 0x58L) != 0L)
341 if ((active0 & 0xf3ffabc7ff980000L) != 0L || (active1 & 0x7L) != 0L)
343 if (jjmatchedPos != 2)
352 if ((active0 & 0xc018a04011800000L) != 0L || (active1 & 0x1L) != 0L)
354 if ((active0 & 0x37e70b87ee180000L) != 0L || (active1 & 0x16L) != 0L)
356 if (jjmatchedPos != 3)
365 if ((active0 & 0xb6850b07e0900000L) != 0L || (active1 & 0x12L) != 0L)
371 if ((active0 & 0x16200800e080000L) != 0L || (active1 & 0x4L) != 0L)
375 if ((active0 & 0x3205000600800000L) != 0L || (active1 & 0x2L) != 0L)
377 if ((active0 & 0x84800b01e0100000L) != 0L || (active1 & 0x10L) != 0L)
385 if ((active0 & 0x84000a01e0000000L) != 0L || (active1 & 0x10L) != 0L)
387 if ((active0 & 0x80010000100000L) != 0L)
389 if (jjmatchedPos != 6)
398 if ((active0 & 0x180000000L) != 0L)
404 if ((active0 & 0x80010000100000L) != 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, 0x2800000000L, 0x0L);
455 return jjStartNfaWithStates_1(0, 115, 16);
458 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000000000000L, 0x0L);
461 return jjMoveStringLiteralDfa1_1(0x0L, 0x100100000000000L, 0x0L);
463 return jjStopAtPos(0, 85);
465 return jjStopAtPos(0, 86);
468 return jjMoveStringLiteralDfa1_1(0x0L, 0x40000000000L, 0x0L);
471 return jjMoveStringLiteralDfa1_1(0x0L, 0x200010000000000L, 0x0L);
473 return jjStopAtPos(0, 92);
476 return jjMoveStringLiteralDfa1_1(0x800000000L, 0x400020000000000L, 0x0L);
479 return jjMoveStringLiteralDfa1_1(0x0L, 0x800000000000L, 0x0L);
482 return jjMoveStringLiteralDfa1_1(0x2800L, 0x80000000000L, 0x0L);
485 return jjMoveStringLiteralDfa1_1(0x1000000000L, 0x0L, 0x0L);
487 return jjStopAtPos(0, 91);
490 return jjMoveStringLiteralDfa1_1(0x0L, 0x1200000000L, 0x48L);
493 return jjMoveStringLiteralDfa1_1(0x2000000000L, 0x4100000000L, 0x0L);
496 return jjMoveStringLiteralDfa1_1(0x0L, 0x400000000L, 0xb0L);
499 return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L);
501 return jjStopAtPos(0, 114);
503 return jjStopAtPos(0, 89);
505 return jjStopAtPos(0, 90);
508 return jjMoveStringLiteralDfa1_1(0x0L, 0x400000000000L, 0x0L);
511 return jjMoveStringLiteralDfa1_1(0x800000002000000L, 0x40L, 0x0L);
514 return jjMoveStringLiteralDfa1_1(0xc000000004000000L, 0x0L, 0x0L);
517 return jjMoveStringLiteralDfa1_1(0x1c000080000L, 0x0L, 0x0L);
520 return jjMoveStringLiteralDfa1_1(0x60000000000L, 0x2L, 0x0L);
523 return jjMoveStringLiteralDfa1_1(0x380080011800000L, 0x0L, 0x0L);
526 return jjMoveStringLiteralDfa1_1(0x420100000100000L, 0x4L, 0x0L);
529 return jjMoveStringLiteralDfa1_1(0x200200000000L, 0x0L, 0x0L);
532 return jjMoveStringLiteralDfa1_1(0xa0400000L, 0x18L, 0x0L);
535 return jjMoveStringLiteralDfa1_1(0xc00000000000L, 0x0L, 0x0L);
538 return jjMoveStringLiteralDfa1_1(0x2000000000000000L, 0x20L, 0x0L);
541 return jjMoveStringLiteralDfa1_1(0x8000000L, 0x0L, 0x0L);
544 return jjMoveStringLiteralDfa1_1(0x1000140000000L, 0x1L, 0x0L);
547 return jjMoveStringLiteralDfa1_1(0x1006000400000000L, 0x0L, 0x0L);
550 return jjMoveStringLiteralDfa1_1(0x18000000000000L, 0x0L, 0x0L);
553 return jjMoveStringLiteralDfa1_1(0x200000L, 0x0L, 0x0L);
556 return jjMoveStringLiteralDfa1_1(0x40000000000000L, 0x0L, 0x0L);
558 return jjStopAtPos(0, 87);
561 return jjMoveStringLiteralDfa1_1(0x0L, 0x80200000000000L, 0x0L);
563 return jjStopAtPos(0, 88);
565 return jjMoveStringLiteralDfa1_1(0x0L, 0x2000000000000L, 0x0L);
567 return jjMoveNfa_1(3, 0);
570 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
572 try { curChar = input_stream.readChar(); }
573 catch(java.io.IOException e) {
574 jjStopStringLiteralDfa_1(0, active0, active1, active2);
580 if ((active1 & 0x100000000000000L) != 0L)
581 return jjStopAtPos(1, 120);
584 if ((active0 & 0x2000L) != 0L)
585 return jjStartNfaWithStates_1(1, 13, 0);
588 if ((active1 & 0x200000000000000L) != 0L)
589 return jjStopAtPos(1, 121);
592 if ((active1 & 0x400000000000000L) != 0L)
593 return jjStopAtPos(1, 122);
596 if ((active0 & 0x800L) != 0L)
597 return jjStopAtPos(1, 11);
600 if ((active0 & 0x1000000000L) != 0L)
601 return jjStopAtPos(1, 36);
604 if ((active2 & 0x8L) != 0L)
609 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x40L);
611 if ((active1 & 0x100000000L) != 0L)
616 else if ((active1 & 0x200000000L) != 0L)
617 return jjStopAtPos(1, 97);
618 else if ((active1 & 0x400000000L) != 0L)
619 return jjStopAtPos(1, 98);
620 else if ((active1 & 0x800000000L) != 0L)
625 else if ((active1 & 0x10000000000L) != 0L)
626 return jjStopAtPos(1, 104);
627 else if ((active1 & 0x20000000000L) != 0L)
628 return jjStopAtPos(1, 105);
629 else if ((active1 & 0x40000000000L) != 0L)
630 return jjStopAtPos(1, 106);
631 else if ((active1 & 0x80000000000L) != 0L)
632 return jjStopAtPos(1, 107);
633 else if ((active1 & 0x100000000000L) != 0L)
634 return jjStopAtPos(1, 108);
635 else if ((active1 & 0x200000000000L) != 0L)
636 return jjStopAtPos(1, 109);
637 else if ((active1 & 0x400000000000L) != 0L)
638 return jjStopAtPos(1, 110);
639 else if ((active1 & 0x800000000000L) != 0L)
640 return jjStopAtPos(1, 111);
641 else if ((active1 & 0x1000000000000L) != 0L)
642 return jjStopAtPos(1, 112);
643 else if ((active1 & 0x2000000000000L) != 0L)
644 return jjStopAtPos(1, 113);
645 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x6000000000L, active2, 0L);
647 if ((active0 & 0x10L) != 0L)
648 return jjStopAtPos(1, 4);
649 else if ((active0 & 0x800000000L) != 0L)
650 return jjStopAtPos(1, 35);
651 else if ((active0 & 0x2000000000L) != 0L)
652 return jjStopAtPos(1, 37);
653 else if ((active1 & 0x1000000000L) != 0L)
654 return jjStopAtPos(1, 100);
655 else if ((active2 & 0x10L) != 0L)
660 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0xa0L);
663 return jjMoveStringLiteralDfa2_1(active0, 0x20004000200000L, active1, 0L, active2, 0L);
666 return jjMoveStringLiteralDfa2_1(active0, 0x2000000000000000L, active1, 0L, active2, 0L);
669 return jjMoveStringLiteralDfa2_1(active0, 0x10000000L, active1, 0L, active2, 0L);
672 return jjMoveStringLiteralDfa2_1(active0, 0x1420140000000L, active1, 0x1L, active2, 0L);
675 if ((active0 & 0x400000L) != 0L)
676 return jjStartNfaWithStates_1(1, 22, 14);
680 return jjMoveStringLiteralDfa2_1(active0, 0x48000000000000L, active1, 0L, active2, 0L);
683 return jjMoveStringLiteralDfa2_1(active0, 0x201880000L, active1, 0x4L, active2, 0L);
686 return jjMoveStringLiteralDfa2_1(active0, 0x3800000a0000000L, active1, 0x58L, active2, 0L);
689 if ((active0 & 0x40000000000L) != 0L)
694 return jjMoveStringLiteralDfa2_1(active0, 0xc400318000000000L, active1, 0x2L, active2, 0L);
697 if ((active1 & 0x20L) != 0L)
698 return jjStartNfaWithStates_1(1, 69, 14);
699 return jjMoveStringLiteralDfa2_1(active0, 0x1000000e000000L, active1, 0L, active2, 0L);
702 if ((active0 & 0x800000000000000L) != 0L)
703 return jjStartNfaWithStates_1(1, 59, 14);
707 return jjMoveStringLiteralDfa2_1(active0, 0x1000000400000000L, active1, 0L, active2, 0L);
710 return jjMoveStringLiteralDfa2_1(active0, 0x2800000100000L, active1, 0L, active2, 0L);
713 return jjMoveStringLiteralDfa2_1(active0, 0x4000000000000L, active1, 0L, active2, 0L);
716 return jjMoveStringLiteralDfa2_1(active0, 0x80000000000L, active1, 0L, active2, 0L);
718 if ((active1 & 0x80000000000000L) != 0L)
719 return jjStopAtPos(1, 119);
724 return jjStartNfa_1(0, active0, active1, active2);
726 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
728 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
729 return jjStartNfa_1(0, old0, old1, old2);
730 try { curChar = input_stream.readChar(); }
731 catch(java.io.IOException e) {
732 jjStopStringLiteralDfa_1(1, active0, active1, active2);
738 if ((active1 & 0x2000000000L) != 0L)
739 return jjStopAtPos(2, 101);
740 else if ((active1 & 0x4000000000L) != 0L)
741 return jjStopAtPos(2, 102);
742 else if ((active2 & 0x40L) != 0L)
743 return jjStopAtPos(2, 134);
744 else if ((active2 & 0x80L) != 0L)
745 return jjStopAtPos(2, 135);
748 if ((active2 & 0x20L) != 0L)
749 return jjStopAtPos(2, 133);
753 return jjMoveStringLiteralDfa3_1(active0, 0x400080000L, active1, 0x1L, active2, 0L);
756 return jjMoveStringLiteralDfa3_1(active0, 0xa0000000L, active1, 0L, active2, 0L);
759 if ((active1 & 0x40L) != 0L)
760 return jjStartNfaWithStates_1(2, 70, 14);
761 return jjMoveStringLiteralDfa3_1(active0, 0x380000000000000L, active1, 0L, active2, 0L);
764 return jjMoveStringLiteralDfa3_1(active0, 0x4000000L, active1, 0L, active2, 0L);
767 return jjMoveStringLiteralDfa3_1(active0, 0x20000000000L, active1, 0L, active2, 0L);
770 return jjMoveStringLiteralDfa3_1(active0, 0x10000000L, active1, 0L, active2, 0L);
773 return jjMoveStringLiteralDfa3_1(active0, 0x4c000008000000L, active1, 0L, active2, 0L);
776 return jjMoveStringLiteralDfa3_1(active0, 0x2000000000000000L, active1, 0L, active2, 0L);
779 return jjMoveStringLiteralDfa3_1(active0, 0x20800000000000L, active1, 0L, active2, 0L);
782 return jjMoveStringLiteralDfa3_1(active0, 0x18000100000L, active1, 0L, active2, 0L);
785 return jjMoveStringLiteralDfa3_1(active0, 0xc000000200000000L, active1, 0x4L, active2, 0L);
788 return jjMoveStringLiteralDfa3_1(active0, 0x2000000000000L, active1, 0L, active2, 0L);
791 return jjMoveStringLiteralDfa3_1(active0, 0x140000000L, active1, 0L, active2, 0L);
794 if ((active0 & 0x200000L) != 0L)
795 return jjStartNfaWithStates_1(2, 21, 14);
796 else if ((active0 & 0x100000000000L) != 0L)
801 return jjMoveStringLiteralDfa3_1(active0, 0x1400000002000000L, active1, 0L, active2, 0L);
804 return jjMoveStringLiteralDfa3_1(active0, 0x4001800000L, active1, 0L, active2, 0L);
807 if ((active1 & 0x8L) != 0L)
812 return jjMoveStringLiteralDfa3_1(active0, 0x1280000000000L, active1, 0x10L, active2, 0L);
815 return jjMoveStringLiteralDfa3_1(active0, 0x10000000000000L, active1, 0x2L, active2, 0L);
818 if ((active0 & 0x400000000000L) != 0L)
819 return jjStartNfaWithStates_1(2, 46, 14);
824 return jjStartNfa_1(1, active0, active1, active2);
826 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
828 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
829 return jjStartNfa_1(1, old0, old1, old2);
830 try { curChar = input_stream.readChar(); }
831 catch(java.io.IOException e) {
832 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
839 return jjMoveStringLiteralDfa4_1(active0, 0x20006000000L, active1, 0x4L);
842 return jjMoveStringLiteralDfa4_1(active0, 0x200000000L, active1, 0x2L);
845 return jjMoveStringLiteralDfa4_1(active0, 0x100000L, active1, 0L);
848 if ((active0 & 0x1000000L) != 0L)
853 else if ((active0 & 0x4000000000L) != 0L)
854 return jjStartNfaWithStates_1(3, 38, 14);
855 else if ((active0 & 0x10000000000000L) != 0L)
856 return jjStartNfaWithStates_1(3, 52, 14);
857 return jjMoveStringLiteralDfa4_1(active0, 0x2402080000800000L, active1, 0x10L);
860 return jjMoveStringLiteralDfa4_1(active0, 0x200000000000000L, active1, 0L);
863 return jjMoveStringLiteralDfa4_1(active0, 0x1100000000000000L, active1, 0L);
866 if ((active0 & 0x800000000000L) != 0L)
867 return jjStartNfaWithStates_1(3, 47, 14);
868 else if ((active0 & 0x4000000000000000L) != 0L)
873 else if ((active1 & 0x1L) != 0L)
874 return jjStartNfaWithStates_1(3, 64, 14);
875 return jjMoveStringLiteralDfa4_1(active0, 0x80400000a0000000L, active1, 0L);
878 return jjMoveStringLiteralDfa4_1(active0, 0x8000000L, active1, 0L);
881 if ((active0 & 0x10000000L) != 0L)
882 return jjStartNfaWithStates_1(3, 28, 14);
883 else if ((active0 & 0x200000000000L) != 0L)
884 return jjStartNfaWithStates_1(3, 45, 14);
888 if ((active0 & 0x8000000000000L) != 0L)
889 return jjStartNfaWithStates_1(3, 51, 14);
890 return jjMoveStringLiteralDfa4_1(active0, 0x20008000080000L, active1, 0L);
893 return jjMoveStringLiteralDfa4_1(active0, 0x4010400000000L, active1, 0L);
896 return jjMoveStringLiteralDfa4_1(active0, 0x1000140000000L, active1, 0L);
899 return jjMoveStringLiteralDfa4_1(active0, 0x80000000000000L, active1, 0L);
903 return jjStartNfa_1(2, active0, active1, 0L);
905 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
907 if (((active0 &= old0) | (active1 &= old1)) == 0L)
908 return jjStartNfa_1(2, old0, old1, 0L);
909 try { curChar = input_stream.readChar(); }
910 catch(java.io.IOException e) {
911 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
918 return jjMoveStringLiteralDfa5_1(active0, 0x400000200000000L, active1, 0L);
921 return jjMoveStringLiteralDfa5_1(active0, 0x2004000000000000L, active1, 0L);
924 if ((active0 & 0x20000000000000L) != 0L)
925 return jjStartNfaWithStates_1(4, 53, 14);
926 else if ((active0 & 0x40000000000000L) != 0L)
927 return jjStartNfaWithStates_1(4, 54, 14);
928 return jjMoveStringLiteralDfa5_1(active0, 0x8000000000000000L, active1, 0L);
931 if ((active0 & 0x100000000000000L) != 0L)
932 return jjStartNfaWithStates_1(4, 56, 14);
936 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x10L);
939 return jjMoveStringLiteralDfa5_1(active0, 0x80000000000000L, active1, 0L);
942 return jjMoveStringLiteralDfa5_1(active0, 0x10540800000L, active1, 0L);
945 if ((active0 & 0x4000000L) != 0L)
946 return jjStartNfaWithStates_1(4, 26, 14);
950 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x2L);
953 return jjMoveStringLiteralDfa5_1(active0, 0x1000080000000000L, active1, 0L);
956 return jjMoveStringLiteralDfa5_1(active0, 0x200000000000000L, active1, 0L);
959 if ((active0 & 0x2000000000000L) != 0L)
960 return jjStartNfaWithStates_1(4, 49, 14);
961 return jjMoveStringLiteralDfa5_1(active0, 0x1000000000000L, active1, 0L);
964 if ((active0 & 0x80000L) != 0L)
965 return jjStartNfaWithStates_1(4, 19, 14);
969 if ((active0 & 0x8000000L) != 0L)
970 return jjStartNfaWithStates_1(4, 27, 14);
971 else if ((active0 & 0x8000000000L) != 0L)
972 return jjStartNfaWithStates_1(4, 39, 14);
973 else if ((active1 & 0x4L) != 0L)
974 return jjStartNfaWithStates_1(4, 66, 14);
975 return jjMoveStringLiteralDfa5_1(active0, 0x100000L, active1, 0L);
978 return jjMoveStringLiteralDfa5_1(active0, 0x200a0000000L, active1, 0L);
981 if ((active0 & 0x2000000L) != 0L)
982 return jjStartNfaWithStates_1(4, 25, 14);
987 return jjStartNfa_1(3, active0, active1, 0L);
989 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
991 if (((active0 &= old0) | (active1 &= old1)) == 0L)
992 return jjStartNfa_1(3, old0, old1, 0L);
993 try { curChar = input_stream.readChar(); }
994 catch(java.io.IOException e) {
995 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1002 return jjMoveStringLiteralDfa6_1(active0, 0x8000000000000000L, active1, 0L);
1005 if ((active0 & 0x400000000L) != 0L)
1006 return jjStartNfaWithStates_1(5, 34, 14);
1007 return jjMoveStringLiteralDfa6_1(active0, 0x400000000000000L, active1, 0L);
1010 return jjMoveStringLiteralDfa6_1(active0, 0x800a0000000L, active1, 0L);
1013 if ((active1 & 0x2L) != 0L)
1014 return jjStartNfaWithStates_1(5, 65, 14);
1015 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x10L);
1018 if ((active0 & 0x800000L) != 0L)
1019 return jjStartNfaWithStates_1(5, 23, 14);
1023 if ((active0 & 0x1000000000000000L) != 0L)
1024 return jjStartNfaWithStates_1(5, 60, 14);
1028 if ((active0 & 0x4000000000000L) != 0L)
1029 return jjStartNfaWithStates_1(5, 50, 14);
1033 return jjMoveStringLiteralDfa6_1(active0, 0x80000000100000L, active1, 0L);
1036 if ((active0 & 0x200000000L) != 0L)
1037 return jjStartNfaWithStates_1(5, 33, 14);
1038 return jjMoveStringLiteralDfa6_1(active0, 0x20000000000L, active1, 0L);
1041 if ((active0 & 0x1000000000000L) != 0L)
1042 return jjStartNfaWithStates_1(5, 48, 14);
1043 return jjMoveStringLiteralDfa6_1(active0, 0x10000000000L, active1, 0L);
1046 if ((active0 & 0x200000000000000L) != 0L)
1047 return jjStartNfaWithStates_1(5, 57, 14);
1048 return jjMoveStringLiteralDfa6_1(active0, 0x140000000L, active1, 0L);
1051 if ((active0 & 0x2000000000000000L) != 0L)
1052 return jjStartNfaWithStates_1(5, 61, 14);
1057 return jjStartNfa_1(4, active0, active1, 0L);
1059 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1061 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1062 return jjStartNfa_1(4, old0, old1, 0L);
1063 try { curChar = input_stream.readChar(); }
1064 catch(java.io.IOException e) {
1065 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1072 if ((active0 & 0x20000000L) != 0L)
1077 else if ((active0 & 0x40000000L) != 0L)
1082 return jjMoveStringLiteralDfa7_1(active0, 0x180000000L, active1, 0L);
1085 if ((active0 & 0x400000000000000L) != 0L)
1086 return jjStartNfaWithStates_1(6, 58, 14);
1090 return jjMoveStringLiteralDfa7_1(active0, 0x80000000000000L, active1, 0L);
1093 if ((active0 & 0x8000000000000000L) != 0L)
1094 return jjStartNfaWithStates_1(6, 63, 14);
1098 return jjMoveStringLiteralDfa7_1(active0, 0x100000L, active1, 0L);
1101 if ((active1 & 0x10L) != 0L)
1102 return jjStartNfaWithStates_1(6, 68, 14);
1106 if ((active0 & 0x80000000000L) != 0L)
1107 return jjStartNfaWithStates_1(6, 43, 14);
1111 if ((active0 & 0x20000000000L) != 0L)
1112 return jjStartNfaWithStates_1(6, 41, 14);
1116 return jjMoveStringLiteralDfa7_1(active0, 0x10000000000L, active1, 0L);
1120 return jjStartNfa_1(5, active0, active1, 0L);
1122 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1124 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1125 return jjStartNfa_1(5, old0, old1, 0L);
1126 try { curChar = input_stream.readChar(); }
1127 catch(java.io.IOException e) {
1128 jjStopStringLiteralDfa_1(6, active0, 0L, 0L);
1134 return jjMoveStringLiteralDfa8_1(active0, 0x180000000L);
1137 if ((active0 & 0x10000000000L) != 0L)
1138 return jjStartNfaWithStates_1(7, 40, 14);
1139 else if ((active0 & 0x80000000000000L) != 0L)
1140 return jjStartNfaWithStates_1(7, 55, 14);
1144 if ((active0 & 0x100000L) != 0L)
1145 return jjStartNfaWithStates_1(7, 20, 14);
1150 return jjStartNfa_1(6, active0, 0L, 0L);
1152 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0)
1154 if (((active0 &= old0)) == 0L)
1155 return jjStartNfa_1(6, old0, 0L, 0L);
1156 try { curChar = input_stream.readChar(); }
1157 catch(java.io.IOException e) {
1158 jjStopStringLiteralDfa_1(7, active0, 0L, 0L);
1165 return jjMoveStringLiteralDfa9_1(active0, 0x180000000L);
1169 return jjStartNfa_1(7, active0, 0L, 0L);
1171 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0)
1173 if (((active0 &= old0)) == 0L)
1174 return jjStartNfa_1(7, old0, 0L, 0L);
1175 try { curChar = input_stream.readChar(); }
1176 catch(java.io.IOException e) {
1177 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1184 return jjMoveStringLiteralDfa10_1(active0, 0x180000000L);
1188 return jjStartNfa_1(8, active0, 0L, 0L);
1190 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1192 if (((active0 &= old0)) == 0L)
1193 return jjStartNfa_1(8, old0, 0L, 0L);
1194 try { curChar = input_stream.readChar(); }
1195 catch(java.io.IOException e) {
1196 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1203 return jjMoveStringLiteralDfa11_1(active0, 0x180000000L);
1207 return jjStartNfa_1(9, active0, 0L, 0L);
1209 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1211 if (((active0 &= old0)) == 0L)
1212 return jjStartNfa_1(9, old0, 0L, 0L);
1213 try { curChar = input_stream.readChar(); }
1214 catch(java.io.IOException e) {
1215 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1222 if ((active0 & 0x80000000L) != 0L)
1223 return jjStartNfaWithStates_1(11, 31, 14);
1224 else if ((active0 & 0x100000000L) != 0L)
1225 return jjStartNfaWithStates_1(11, 32, 14);
1230 return jjStartNfa_1(10, active0, 0L, 0L);
1232 static final long[] jjbitVec0 = {
1233 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
1235 static private final int jjMoveNfa_1(int startState, int curPos)
1241 jjstateSet[0] = startState;
1242 int j, kind = 0x7fffffff;
1245 if (++jjround == 0x7fffffff)
1249 long l = 1L << curChar;
1252 switch(jjstateSet[--i])
1255 if ((0x3ff000000000000L & l) != 0L)
1256 jjCheckNAddStates(0, 6);
1257 else if (curChar == 39)
1258 jjCheckNAddStates(7, 12);
1259 else if (curChar == 34)
1260 jjCheckNAddStates(13, 18);
1261 else if (curChar == 36)
1262 jjstateSet[jjnewStateCnt++] = 16;
1263 else if (curChar == 46)
1265 else if (curChar == 47)
1266 jjstateSet[jjnewStateCnt++] = 2;
1267 if ((0x3fe000000000000L & l) != 0L)
1271 jjCheckNAddTwoStates(5, 6);
1273 else if (curChar == 48)
1277 jjCheckNAddStates(19, 21);
1282 jjstateSet[jjnewStateCnt++] = 1;
1285 if ((0xffff7fffffffffffL & l) != 0L && kind > 12)
1290 jjstateSet[jjnewStateCnt++] = 0;
1293 if ((0x3fe000000000000L & l) == 0L)
1297 jjCheckNAddTwoStates(5, 6);
1300 if ((0x3ff000000000000L & l) == 0L)
1304 jjCheckNAddTwoStates(5, 6);
1311 if ((0x3ff000000000000L & l) == 0L)
1315 jjCheckNAddStates(22, 24);
1318 if ((0x280000000000L & l) != 0L)
1322 if ((0x3ff000000000000L & l) == 0L)
1326 jjCheckNAddTwoStates(11, 12);
1329 if ((0x3ff000000000000L & l) == 0L)
1333 jjstateSet[jjnewStateCnt++] = 14;
1337 jjstateSet[jjnewStateCnt++] = 16;
1340 if ((0x3ff000000000000L & l) == 0L)
1344 jjstateSet[jjnewStateCnt++] = 17;
1347 if ((0x3ff000000000000L & l) != 0L)
1348 jjCheckNAddStates(0, 6);
1351 if ((0x3ff000000000000L & l) != 0L)
1352 jjCheckNAddTwoStates(19, 20);
1359 jjCheckNAddStates(25, 27);
1362 if ((0x3ff000000000000L & l) == 0L)
1366 jjCheckNAddStates(25, 27);
1369 if ((0x280000000000L & l) != 0L)
1373 if ((0x3ff000000000000L & l) == 0L)
1377 jjCheckNAddTwoStates(24, 12);
1380 if ((0x3ff000000000000L & l) != 0L)
1381 jjCheckNAddTwoStates(25, 26);
1384 if ((0x280000000000L & l) != 0L)
1388 if ((0x3ff000000000000L & l) == 0L)
1392 jjCheckNAddTwoStates(28, 12);
1395 if ((0x3ff000000000000L & l) != 0L)
1396 jjCheckNAddStates(28, 30);
1399 if ((0x280000000000L & l) != 0L)
1403 if ((0x3ff000000000000L & l) != 0L)
1404 jjCheckNAddTwoStates(32, 12);
1411 jjCheckNAddStates(19, 21);
1414 if ((0x3ff000000000000L & l) == 0L)
1418 jjCheckNAddTwoStates(35, 6);
1421 if ((0xff000000000000L & l) == 0L)
1425 jjCheckNAddTwoStates(36, 6);
1429 jjCheckNAddStates(13, 18);
1432 if ((0xfffffffbffffffffL & l) != 0L)
1433 jjCheckNAddStates(31, 33);
1437 jjCheckNAddStates(31, 33);
1440 if (curChar == 34 && kind > 77)
1444 if ((0xfffffffbffffffffL & l) != 0L)
1445 jjCheckNAddStates(34, 36);
1449 jjCheckNAddStates(34, 36);
1452 if (curChar == 34 && kind > 78)
1457 jjCheckNAddStates(7, 12);
1460 if ((0xffffff7fffffffffL & l) != 0L)
1461 jjCheckNAddStates(37, 39);
1465 jjCheckNAddStates(37, 39);
1468 if (curChar == 39 && kind > 77)
1472 if ((0xffffff7fffffffffL & l) != 0L)
1473 jjCheckNAddStates(40, 42);
1477 jjCheckNAddStates(40, 42);
1480 if (curChar == 39 && kind > 79)
1484 jjAddStates(43, 45);
1487 jjAddStates(46, 48);
1491 } while(i != startsAt);
1493 else if (curChar < 128)
1495 long l = 1L << (curChar & 077);
1498 switch(jjstateSet[--i])
1501 if ((0x87fffffe87fffffeL & l) != 0L)
1507 else if (curChar == 96)
1508 jjCheckNAddStates(49, 54);
1515 if ((0x100000001000L & l) != 0L && kind > 71)
1519 if ((0x2000000020L & l) != 0L)
1520 jjAddStates(55, 56);
1523 if ((0x5000000050L & l) != 0L && kind > 75)
1528 if ((0x87fffffe87fffffeL & l) == 0L)
1536 if ((0x87fffffe87fffffeL & l) == 0L)
1543 if ((0x2000000020L & l) != 0L)
1544 jjAddStates(57, 58);
1547 if ((0x2000000020L & l) != 0L)
1548 jjAddStates(59, 60);
1551 if ((0x2000000020L & l) != 0L)
1552 jjAddStates(61, 62);
1555 if ((0x100000001000000L & l) != 0L)
1559 if ((0x7e0000007eL & l) == 0L)
1563 jjCheckNAddTwoStates(35, 6);
1566 jjAddStates(31, 33);
1570 jjstateSet[jjnewStateCnt++] = 39;
1573 jjAddStates(34, 36);
1577 jjstateSet[jjnewStateCnt++] = 43;
1580 jjAddStates(37, 39);
1584 jjstateSet[jjnewStateCnt++] = 48;
1587 jjAddStates(40, 42);
1591 jjstateSet[jjnewStateCnt++] = 52;
1595 jjCheckNAddStates(49, 54);
1598 if ((0xfffffffeffffffffL & l) != 0L)
1599 jjCheckNAddStates(43, 45);
1603 jjCheckNAddStates(43, 45);
1607 jjstateSet[jjnewStateCnt++] = 57;
1610 if (curChar == 96 && kind > 77)
1614 if ((0xfffffffeffffffffL & l) != 0L)
1615 jjCheckNAddStates(46, 48);
1619 jjCheckNAddStates(46, 48);
1623 jjstateSet[jjnewStateCnt++] = 61;
1626 if (curChar == 96 && kind > 80)
1631 } while(i != startsAt);
1635 int i2 = (curChar & 0xff) >> 6;
1636 long l2 = 1L << (curChar & 077);
1639 switch(jjstateSet[--i])
1643 if ((jjbitVec0[i2] & l2) == 0L)
1650 if ((jjbitVec0[i2] & l2) != 0L && kind > 12)
1655 if ((jjbitVec0[i2] & l2) == 0L)
1662 if ((jjbitVec0[i2] & l2) != 0L)
1663 jjAddStates(31, 33);
1666 if ((jjbitVec0[i2] & l2) != 0L)
1667 jjAddStates(34, 36);
1670 if ((jjbitVec0[i2] & l2) != 0L)
1671 jjAddStates(37, 39);
1674 if ((jjbitVec0[i2] & l2) != 0L)
1675 jjAddStates(40, 42);
1678 if ((jjbitVec0[i2] & l2) != 0L)
1679 jjAddStates(43, 45);
1682 if ((jjbitVec0[i2] & l2) != 0L)
1683 jjAddStates(46, 48);
1687 } while(i != startsAt);
1689 if (kind != 0x7fffffff)
1691 jjmatchedKind = kind;
1692 jjmatchedPos = curPos;
1696 if ((i = jjnewStateCnt) == (startsAt = 64 - (jjnewStateCnt = startsAt)))
1698 try { curChar = input_stream.readChar(); }
1699 catch(java.io.IOException e) { return curPos; }
1702 static private final int jjMoveStringLiteralDfa0_3()
1707 return jjMoveStringLiteralDfa1_3(0x10000L);
1712 static private final int jjMoveStringLiteralDfa1_3(long active0)
1714 try { curChar = input_stream.readChar(); }
1715 catch(java.io.IOException e) {
1721 if ((active0 & 0x10000L) != 0L)
1722 return jjStopAtPos(1, 16);
1729 static final int[] jjnextStates = {
1730 19, 20, 25, 26, 29, 30, 12, 47, 49, 50, 51, 53, 54, 38, 40, 41,
1731 42, 44, 45, 34, 36, 6, 8, 9, 12, 21, 22, 12, 29, 30, 12, 38,
1732 40, 41, 42, 44, 45, 47, 49, 50, 51, 53, 54, 56, 58, 59, 60, 62,
1733 63, 56, 58, 59, 60, 62, 63, 10, 11, 23, 24, 27, 28, 31, 32,
1735 public static final String[] jjstrLiteralImages = {
1736 "", "\74\77", null, "\74\77\75", "\77\76", null, null, null, null, null, null,
1737 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1738 null, null, null, null, null, null, null, null, null, null, "\55\76", "\72\72",
1739 "\75\76", null, null, null, null, null, null, null, null, null, null, null, null, null,
1740 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1741 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1742 null, null, null, null, null, null, "\50", "\51", "\173", "\175", "\133", "\135",
1743 "\73", "\54", "\56", "\76", "\74", "\75\75", "\74\75", "\76\75", "\41\75", "\74\76",
1744 "\41\75\75", "\75\75\75", "\75", "\53\75", "\55\75", "\52\75", "\57\75", "\46\75",
1745 "\174\75", "\136\75", "\56\75", "\45\75", "\176\75", "\100", "\44", "\41", "\77", "\72",
1746 "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55", "\52", "\57", "\46", "\174",
1747 "\136", "\45", "\74\74", "\76\76", "\76\76\76", "\74\74\75", "\76\76\75", null,
1749 public static final String[] lexStateNames = {
1752 "IN_SINGLE_LINE_COMMENT",
1753 "IN_FORMAL_COMMENT",
1754 "IN_MULTI_LINE_COMMENT",
1756 public static final int[] jjnewLexState = {
1757 -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,
1758 -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,
1759 -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,
1760 -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,
1761 -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,
1762 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1764 static final long[] jjtoToken = {
1765 0xfffffffffff8001fL, 0xffffffffffe3e8ffL, 0x3ffL,
1767 static final long[] jjtoSkip = {
1768 0x3ffe0L, 0x0L, 0x0L,
1770 static final long[] jjtoSpecial = {
1771 0x3f800L, 0x0L, 0x0L,
1773 static final long[] jjtoMore = {
1774 0x40000L, 0x0L, 0x0L,
1776 static protected SimpleCharStream input_stream;
1777 static private final int[] jjrounds = new int[64];
1778 static private final int[] jjstateSet = new int[128];
1779 static StringBuffer image;
1780 static int jjimageLen;
1781 static int lengthOfMatch;
1782 static protected char curChar;
1783 public PHPParserTokenManager(SimpleCharStream stream)
1785 if (input_stream != null)
1786 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
1787 input_stream = stream;
1789 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
1794 static public void ReInit(SimpleCharStream stream)
1796 jjmatchedPos = jjnewStateCnt = 0;
1797 curLexState = defaultLexState;
1798 input_stream = stream;
1801 static private final void ReInitRounds()
1804 jjround = 0x80000001;
1805 for (i = 64; i-- > 0;)
1806 jjrounds[i] = 0x80000000;
1808 static public void ReInit(SimpleCharStream stream, int lexState)
1813 static public void SwitchTo(int lexState)
1815 if (lexState >= 5 || lexState < 0)
1816 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
1818 curLexState = lexState;
1821 static protected Token jjFillToken()
1823 Token t = Token.newToken(jjmatchedKind);
1824 t.kind = jjmatchedKind;
1825 String im = jjstrLiteralImages[jjmatchedKind];
1826 t.image = (im == null) ? input_stream.GetImage() : im;
1827 t.beginLine = input_stream.getBeginLine();
1828 t.beginColumn = input_stream.getBeginColumn();
1829 t.endLine = input_stream.getEndLine();
1830 t.endColumn = input_stream.getEndColumn();
1834 static int curLexState = 0;
1835 static int defaultLexState = 0;
1836 static int jjnewStateCnt;
1838 static int jjmatchedPos;
1839 static int jjmatchedKind;
1841 public static Token getNextToken()
1844 Token specialToken = null;
1853 curChar = input_stream.BeginToken();
1855 catch(java.io.IOException e)
1858 matchedToken = jjFillToken();
1859 matchedToken.specialToken = specialToken;
1860 return matchedToken;
1870 jjmatchedKind = 0x7fffffff;
1872 curPos = jjMoveStringLiteralDfa0_0();
1873 if (jjmatchedPos == 0 && jjmatchedKind > 5)
1879 try { input_stream.backup(0);
1880 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
1881 curChar = input_stream.BeginToken();
1883 catch (java.io.IOException e1) { continue EOFLoop; }
1884 jjmatchedKind = 0x7fffffff;
1886 curPos = jjMoveStringLiteralDfa0_1();
1889 jjmatchedKind = 0x7fffffff;
1891 curPos = jjMoveStringLiteralDfa0_2();
1892 if (jjmatchedPos == 0 && jjmatchedKind > 18)
1898 jjmatchedKind = 0x7fffffff;
1900 curPos = jjMoveStringLiteralDfa0_3();
1901 if (jjmatchedPos == 0 && jjmatchedKind > 18)
1907 jjmatchedKind = 0x7fffffff;
1909 curPos = jjMoveStringLiteralDfa0_4();
1910 if (jjmatchedPos == 0 && jjmatchedKind > 18)
1916 if (jjmatchedKind != 0x7fffffff)
1918 if (jjmatchedPos + 1 < curPos)
1919 input_stream.backup(curPos - jjmatchedPos - 1);
1920 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1922 matchedToken = jjFillToken();
1923 matchedToken.specialToken = specialToken;
1924 if (jjnewLexState[jjmatchedKind] != -1)
1925 curLexState = jjnewLexState[jjmatchedKind];
1926 return matchedToken;
1928 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1930 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1932 matchedToken = jjFillToken();
1933 if (specialToken == null)
1934 specialToken = matchedToken;
1937 matchedToken.specialToken = specialToken;
1938 specialToken = (specialToken.next = matchedToken);
1940 SkipLexicalActions(matchedToken);
1943 SkipLexicalActions(null);
1944 if (jjnewLexState[jjmatchedKind] != -1)
1945 curLexState = jjnewLexState[jjmatchedKind];
1948 jjimageLen += jjmatchedPos + 1;
1949 if (jjnewLexState[jjmatchedKind] != -1)
1950 curLexState = jjnewLexState[jjmatchedKind];
1952 jjmatchedKind = 0x7fffffff;
1954 curChar = input_stream.readChar();
1957 catch (java.io.IOException e1) { }
1959 int error_line = input_stream.getEndLine();
1960 int error_column = input_stream.getEndColumn();
1961 String error_after = null;
1962 boolean EOFSeen = false;
1963 try { input_stream.readChar(); input_stream.backup(1); }
1964 catch (java.io.IOException e1) {
1966 error_after = curPos <= 1 ? "" : input_stream.GetImage();
1967 if (curChar == '\n' || curChar == '\r') {
1975 input_stream.backup(1);
1976 error_after = curPos <= 1 ? "" : input_stream.GetImage();
1978 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
1983 static void SkipLexicalActions(Token matchedToken)
1985 switch(jjmatchedKind)
1989 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
1991 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
1992 input_stream.backup(1);