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.util.Enumeration;
10 import java.io.StringReader;
12 import java.text.MessageFormat;
13 import net.sourceforge.phpeclipse.actions.PHPStartApacheAction;
14 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
15 import net.sourceforge.phpdt.internal.compiler.parser.*;
17 public class PHPParserTokenManager implements PHPParserConstants
19 public static java.io.PrintStream debugStream = System.out;
20 public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
21 static private final int jjStopAtPos(int pos, int kind)
27 static private final int jjMoveStringLiteralDfa0_0()
32 return jjMoveStringLiteralDfa1_0(0xeL);
37 static private final int jjMoveStringLiteralDfa1_0(long active0)
39 try { curChar = input_stream.readChar(); }
40 catch(java.io.IOException e) {
46 if ((active0 & 0x2L) != 0L)
51 return jjMoveStringLiteralDfa2_0(active0, 0xcL);
56 static private final int jjMoveStringLiteralDfa2_0(long old0, long active0)
58 if (((active0 &= old0)) == 0L)
60 try { curChar = input_stream.readChar(); }
61 catch(java.io.IOException e) {
67 if ((active0 & 0x8L) != 0L)
68 return jjStopAtPos(2, 3);
72 return jjMoveStringLiteralDfa3_0(active0, 0x4L);
78 static private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
80 if (((active0 &= old0)) == 0L)
82 try { curChar = input_stream.readChar(); }
83 catch(java.io.IOException e) {
90 return jjMoveStringLiteralDfa4_0(active0, 0x4L);
95 static private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
97 if (((active0 &= old0)) == 0L)
99 try { curChar = input_stream.readChar(); }
100 catch(java.io.IOException e) {
107 if ((active0 & 0x4L) != 0L)
108 return jjStopAtPos(4, 2);
115 static private final int jjMoveStringLiteralDfa0_4()
120 return jjMoveStringLiteralDfa1_4(0x40000L);
125 static private final int jjMoveStringLiteralDfa1_4(long active0)
127 try { curChar = input_stream.readChar(); }
128 catch(java.io.IOException e) {
134 if ((active0 & 0x40000L) != 0L)
135 return jjStopAtPos(1, 18);
142 private static final int jjStopStringLiteralDfa_2(int pos, long active0)
150 private static final int jjStartNfa_2(int pos, long active0)
152 return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
154 static private final int jjStartNfaWithStates_2(int pos, int kind, int state)
156 jjmatchedKind = kind;
158 try { curChar = input_stream.readChar(); }
159 catch(java.io.IOException e) { return pos + 1; }
160 return jjMoveNfa_2(state, pos + 1);
162 static private final int jjMoveStringLiteralDfa0_2()
167 return jjMoveStringLiteralDfa1_2(0x10000L);
169 return jjMoveNfa_2(0, 0);
172 static private final int jjMoveStringLiteralDfa1_2(long active0)
174 try { curChar = input_stream.readChar(); }
175 catch(java.io.IOException e) {
176 jjStopStringLiteralDfa_2(0, active0);
182 if ((active0 & 0x10000L) != 0L)
183 return jjStopAtPos(1, 16);
188 return jjStartNfa_2(0, active0);
190 static private final void jjCheckNAdd(int state)
192 if (jjrounds[state] != jjround)
194 jjstateSet[jjnewStateCnt++] = state;
195 jjrounds[state] = jjround;
198 static private final void jjAddStates(int start, int end)
201 jjstateSet[jjnewStateCnt++] = jjnextStates[start];
202 } while (start++ != end);
204 static private final void jjCheckNAddTwoStates(int state1, int state2)
209 static private final void jjCheckNAddStates(int start, int end)
212 jjCheckNAdd(jjnextStates[start]);
213 } while (start++ != end);
215 static private final void jjCheckNAddStates(int start)
217 jjCheckNAdd(jjnextStates[start]);
218 jjCheckNAdd(jjnextStates[start + 1]);
220 static private final int jjMoveNfa_2(int startState, int curPos)
226 jjstateSet[0] = startState;
227 int j, kind = 0x7fffffff;
230 if (++jjround == 0x7fffffff)
234 long l = 1L << curChar;
237 switch(jjstateSet[--i])
240 if ((0x2400L & l) != 0L)
246 jjstateSet[jjnewStateCnt++] = 1;
249 if (curChar == 10 && kind > 15)
254 jjstateSet[jjnewStateCnt++] = 1;
258 } while(i != startsAt);
260 else if (curChar < 128)
262 long l = 1L << (curChar & 077);
265 switch(jjstateSet[--i])
269 } while(i != startsAt);
273 int i2 = (curChar & 0xff) >> 6;
274 long l2 = 1L << (curChar & 077);
277 switch(jjstateSet[--i])
281 } while(i != startsAt);
283 if (kind != 0x7fffffff)
285 jjmatchedKind = kind;
286 jjmatchedPos = curPos;
290 if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
292 try { curChar = input_stream.readChar(); }
293 catch(java.io.IOException e) { return curPos; }
296 private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1, long active2)
301 if ((active0 & 0x4800L) != 0L || (active1 & 0x400000000000L) != 0L || (active2 & 0x4L) != 0L)
303 if ((active1 & 0x40000000000000L) != 0L)
305 if ((active1 & 0x4000100000000L) != 0L)
307 if ((active0 & 0xffffff1ffff00000L) != 0L || (active1 & 0x3ffL) != 0L)
314 if ((active0 & 0xbfffef1fff700000L) != 0L || (active1 & 0x2efL) != 0L)
316 if (jjmatchedPos != 1)
323 if ((active0 & 0x4000L) != 0L)
325 if ((active0 & 0x4000100000800000L) != 0L || (active1 & 0x110L) != 0L)
329 if ((active0 & 0x2001400000400000L) != 0L || (active1 & 0x2c0L) != 0L)
331 if ((active0 & 0x9ffeaf1fff300000L) != 0L || (active1 & 0x3fL) != 0L)
333 if (jjmatchedPos != 2)
342 if ((active0 & 0x62810053000000L) != 0L || (active1 & 0xeL) != 0L)
344 if ((active0 & 0xbf9c2e1fac300000L) != 0L || (active1 & 0xb1L) != 0L)
346 if (jjmatchedPos != 3)
355 if ((active0 & 0xb6142c1f81200000L) != 0L || (active1 & 0x95L) != 0L)
361 if ((active0 & 0x98802002c100000L) != 0L || (active1 & 0x20L) != 0L)
365 if ((active0 & 0x9014001801000000L) != 0L || (active1 & 0x11L) != 0L)
367 if ((active0 & 0x26002c0780200000L) != 0L || (active1 & 0x84L) != 0L)
375 if ((active0 & 0x2000280780000000L) != 0L || (active1 & 0x84L) != 0L)
377 if ((active0 & 0x600040000200000L) != 0L)
379 if (jjmatchedPos != 6)
388 if ((active0 & 0x200040000200000L) != 0L)
390 if ((active0 & 0x400000600000000L) != 0L)
398 if ((active0 & 0x600000000L) != 0L)
404 if ((active0 & 0x400000000000000L) != 0L)
408 if ((active0 & 0x600000000L) != 0L)
416 if ((active0 & 0x600000000L) != 0L)
427 private static final int jjStartNfa_1(int pos, long active0, long active1, long active2)
429 return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1, active2), pos + 1);
431 static private final int jjStartNfaWithStates_1(int pos, int kind, int state)
433 jjmatchedKind = kind;
435 try { curChar = input_stream.readChar(); }
436 catch(java.io.IOException e) { return pos + 1; }
437 return jjMoveNfa_1(state, pos + 1);
439 static private final int jjMoveStringLiteralDfa0_1()
445 return jjMoveStringLiteralDfa1_1(0x0L, 0x14000000000L, 0x0L);
447 return jjStopAtPos(0, 12);
449 return jjStartNfaWithStates_1(0, 118, 16);
452 return jjMoveStringLiteralDfa1_1(0x0L, 0x8000000000000L, 0x0L);
455 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000800000000000L, 0x0L);
457 return jjStopAtPos(0, 88);
459 return jjStopAtPos(0, 89);
462 return jjMoveStringLiteralDfa1_1(0x0L, 0x200000000000L, 0x0L);
465 return jjMoveStringLiteralDfa1_1(0x0L, 0x2000080000000000L, 0x0L);
467 return jjStopAtPos(0, 95);
470 return jjMoveStringLiteralDfa1_1(0x2000000000L, 0x4000100000000000L, 0x0L);
473 return jjMoveStringLiteralDfa1_1(0x0L, 0x4000000000000L, 0x0L);
476 return jjMoveStringLiteralDfa1_1(0x4800L, 0x400000000000L, 0x0L);
479 return jjMoveStringLiteralDfa1_1(0x4000000000L, 0x0L, 0x0L);
481 return jjStopAtPos(0, 94);
484 return jjMoveStringLiteralDfa1_1(0x0L, 0x9000000000L, 0x480L);
487 return jjMoveStringLiteralDfa1_1(0x8000000000L, 0x20800000000L, 0x0L);
490 return jjMoveStringLiteralDfa1_1(0x0L, 0x2000000000L, 0xb00L);
493 return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L);
495 return jjStopAtPos(0, 117);
497 return jjStopAtPos(0, 92);
499 return jjStopAtPos(0, 93);
502 return jjMoveStringLiteralDfa1_1(0x0L, 0x2000000000000L, 0x0L);
505 return jjMoveStringLiteralDfa1_1(0x4000000004000000L, 0x200L, 0x0L);
508 return jjMoveStringLiteralDfa1_1(0x8000000L, 0x6L, 0x0L);
511 return jjMoveStringLiteralDfa1_1(0x70000100000L, 0x0L, 0x0L);
514 return jjMoveStringLiteralDfa1_1(0x180000000000L, 0x10L, 0x0L);
517 return jjMoveStringLiteralDfa1_1(0x1e00200043000000L, 0x0L, 0x0L);
520 return jjMoveStringLiteralDfa1_1(0x2080400000200000L, 0x20L, 0x0L);
523 return jjMoveStringLiteralDfa1_1(0x800800000000L, 0x0L, 0x0L);
526 return jjMoveStringLiteralDfa1_1(0x280800000L, 0xc0L, 0x0L);
529 return jjMoveStringLiteralDfa1_1(0x10000000L, 0x0L, 0x0L);
532 return jjMoveStringLiteralDfa1_1(0x3000000000000L, 0x0L, 0x0L);
535 return jjMoveStringLiteralDfa1_1(0x0L, 0x101L, 0x0L);
538 return jjMoveStringLiteralDfa1_1(0x20000000L, 0x0L, 0x0L);
541 return jjMoveStringLiteralDfa1_1(0x4000500000000L, 0x8L, 0x0L);
544 return jjMoveStringLiteralDfa1_1(0x8018001000000000L, 0x0L, 0x0L);
547 return jjMoveStringLiteralDfa1_1(0x60000000000000L, 0x0L, 0x0L);
550 return jjMoveStringLiteralDfa1_1(0x400000L, 0x0L, 0x0L);
553 return jjMoveStringLiteralDfa1_1(0x100000000000000L, 0x0L, 0x0L);
555 return jjStopAtPos(0, 90);
558 return jjMoveStringLiteralDfa1_1(0x0L, 0x801000000000000L, 0x0L);
560 return jjStopAtPos(0, 91);
563 return jjMoveStringLiteralDfa1_1(0x0L, 0x10000000000000L, 0x0L);
565 return jjMoveNfa_1(3, 0);
568 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
570 try { curChar = input_stream.readChar(); }
571 catch(java.io.IOException e) {
572 jjStopStringLiteralDfa_1(0, active0, active1, active2);
578 if ((active1 & 0x1000000000000000L) != 0L)
579 return jjStopAtPos(1, 124);
582 if ((active0 & 0x4000L) != 0L)
583 return jjStartNfaWithStates_1(1, 14, 0);
586 if ((active1 & 0x2000000000000000L) != 0L)
587 return jjStopAtPos(1, 125);
590 if ((active1 & 0x4000000000000000L) != 0L)
591 return jjStopAtPos(1, 126);
594 if ((active0 & 0x800L) != 0L)
595 return jjStopAtPos(1, 11);
598 if ((active0 & 0x4000000000L) != 0L)
599 return jjStopAtPos(1, 38);
602 if ((active2 & 0x80L) != 0L)
607 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x400L);
609 if ((active1 & 0x800000000L) != 0L)
614 else if ((active1 & 0x1000000000L) != 0L)
615 return jjStopAtPos(1, 100);
616 else if ((active1 & 0x2000000000L) != 0L)
617 return jjStopAtPos(1, 101);
618 else if ((active1 & 0x4000000000L) != 0L)
623 else if ((active1 & 0x80000000000L) != 0L)
624 return jjStopAtPos(1, 107);
625 else if ((active1 & 0x100000000000L) != 0L)
626 return jjStopAtPos(1, 108);
627 else if ((active1 & 0x200000000000L) != 0L)
628 return jjStopAtPos(1, 109);
629 else if ((active1 & 0x400000000000L) != 0L)
630 return jjStopAtPos(1, 110);
631 else if ((active1 & 0x800000000000L) != 0L)
632 return jjStopAtPos(1, 111);
633 else if ((active1 & 0x1000000000000L) != 0L)
634 return jjStopAtPos(1, 112);
635 else if ((active1 & 0x2000000000000L) != 0L)
636 return jjStopAtPos(1, 113);
637 else if ((active1 & 0x4000000000000L) != 0L)
638 return jjStopAtPos(1, 114);
639 else if ((active1 & 0x8000000000000L) != 0L)
640 return jjStopAtPos(1, 115);
641 else if ((active1 & 0x10000000000000L) != 0L)
642 return jjStopAtPos(1, 116);
643 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x30000000000L, active2, 0L);
645 if ((active0 & 0x10L) != 0L)
646 return jjStopAtPos(1, 4);
647 else if ((active0 & 0x2000000000L) != 0L)
648 return jjStopAtPos(1, 37);
649 else if ((active0 & 0x8000000000L) != 0L)
650 return jjStopAtPos(1, 39);
651 else if ((active1 & 0x8000000000L) != 0L)
652 return jjStopAtPos(1, 103);
653 else if ((active2 & 0x100L) != 0L)
658 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0xa00L);
661 return jjMoveStringLiteralDfa2_1(active0, 0x80010000400000L, active1, 0L, active2, 0L);
664 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x1L, active2, 0L);
667 return jjMoveStringLiteralDfa2_1(active0, 0x40000000L, active1, 0L, active2, 0L);
670 return jjMoveStringLiteralDfa2_1(active0, 0x5080500000000L, active1, 0x8L, active2, 0L);
673 if ((active0 & 0x800000L) != 0L)
674 return jjStartNfaWithStates_1(1, 23, 14);
678 return jjMoveStringLiteralDfa2_1(active0, 0x120000000000000L, active1, 0L, active2, 0L);
681 return jjMoveStringLiteralDfa2_1(active0, 0x10000000L, active1, 0L, active2, 0L);
684 return jjMoveStringLiteralDfa2_1(active0, 0x803100000L, active1, 0x20L, active2, 0L);
687 return jjMoveStringLiteralDfa2_1(active0, 0x1e00000280000000L, active1, 0x2c0L, active2, 0L);
690 if ((active0 & 0x100000000000L) != 0L)
695 return jjMoveStringLiteralDfa2_1(active0, 0x2000c60000000000L, active1, 0x16L, active2, 0L);
698 if ((active1 & 0x100L) != 0L)
699 return jjStartNfaWithStates_1(1, 72, 14);
700 return jjMoveStringLiteralDfa2_1(active0, 0x4000002c000000L, active1, 0L, active2, 0L);
703 if ((active0 & 0x4000000000000000L) != 0L)
704 return jjStartNfaWithStates_1(1, 62, 14);
708 return jjMoveStringLiteralDfa2_1(active0, 0x8000001000000000L, active1, 0L, active2, 0L);
711 return jjMoveStringLiteralDfa2_1(active0, 0xa000000200000L, active1, 0L, active2, 0L);
714 return jjMoveStringLiteralDfa2_1(active0, 0x10000000000000L, active1, 0L, active2, 0L);
717 return jjMoveStringLiteralDfa2_1(active0, 0x200000000000L, active1, 0L, active2, 0L);
719 if ((active1 & 0x800000000000000L) != 0L)
720 return jjStopAtPos(1, 123);
725 return jjStartNfa_1(0, active0, active1, active2);
727 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
729 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
730 return jjStartNfa_1(0, old0, old1, old2);
731 try { curChar = input_stream.readChar(); }
732 catch(java.io.IOException e) {
733 jjStopStringLiteralDfa_1(1, active0, active1, active2);
739 if ((active1 & 0x10000000000L) != 0L)
740 return jjStopAtPos(2, 104);
741 else if ((active1 & 0x20000000000L) != 0L)
742 return jjStopAtPos(2, 105);
743 else if ((active2 & 0x400L) != 0L)
744 return jjStopAtPos(2, 138);
745 else if ((active2 & 0x800L) != 0L)
746 return jjStopAtPos(2, 139);
749 if ((active2 & 0x200L) != 0L)
750 return jjStopAtPos(2, 137);
754 return jjMoveStringLiteralDfa3_1(active0, 0x1000100000L, active1, 0x8L, active2, 0L);
757 return jjMoveStringLiteralDfa3_1(active0, 0x280000000L, active1, 0L, active2, 0L);
760 if ((active1 & 0x200L) != 0L)
761 return jjStartNfaWithStates_1(2, 73, 14);
762 return jjMoveStringLiteralDfa3_1(active0, 0x1e00000000000000L, active1, 0L, active2, 0L);
765 return jjMoveStringLiteralDfa3_1(active0, 0x8000000L, active1, 0L, active2, 0L);
768 return jjMoveStringLiteralDfa3_1(active0, 0x80000000000L, active1, 0L, active2, 0L);
771 return jjMoveStringLiteralDfa3_1(active0, 0x40000000L, active1, 0L, active2, 0L);
774 return jjMoveStringLiteralDfa3_1(active0, 0x130000020000000L, active1, 0L, active2, 0L);
777 return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x1L, active2, 0L);
780 return jjMoveStringLiteralDfa3_1(active0, 0x82000000000000L, active1, 0L, active2, 0L);
783 return jjMoveStringLiteralDfa3_1(active0, 0x60000200000L, active1, 0L, active2, 0L);
786 return jjMoveStringLiteralDfa3_1(active0, 0x800000000L, active1, 0x26L, active2, 0L);
789 return jjMoveStringLiteralDfa3_1(active0, 0x8000000000000L, active1, 0L, active2, 0L);
792 return jjMoveStringLiteralDfa3_1(active0, 0x500000000L, active1, 0L, active2, 0L);
795 if ((active0 & 0x400000L) != 0L)
796 return jjStartNfaWithStates_1(2, 22, 14);
797 else if ((active0 & 0x400000000000L) != 0L)
802 return jjMoveStringLiteralDfa3_1(active0, 0xa000000004000000L, active1, 0L, active2, 0L);
805 return jjMoveStringLiteralDfa3_1(active0, 0x10013000000L, active1, 0L, active2, 0L);
808 if ((active1 & 0x40L) != 0L)
813 return jjMoveStringLiteralDfa3_1(active0, 0x4a00000000000L, active1, 0x80L, active2, 0L);
816 return jjMoveStringLiteralDfa3_1(active0, 0x40000000000000L, active1, 0x10L, active2, 0L);
819 if ((active0 & 0x1000000000000L) != 0L)
820 return jjStartNfaWithStates_1(2, 48, 14);
825 return jjStartNfa_1(1, active0, active1, active2);
827 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
829 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
830 return jjStartNfa_1(1, old0, old1, old2);
831 try { curChar = input_stream.readChar(); }
832 catch(java.io.IOException e) {
833 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
840 return jjMoveStringLiteralDfa4_1(active0, 0x8000c000000L, active1, 0x20L);
843 return jjMoveStringLiteralDfa4_1(active0, 0x800000000L, active1, 0x10L);
846 return jjMoveStringLiteralDfa4_1(active0, 0x200000L, active1, 0L);
849 if ((active0 & 0x2000000L) != 0L)
854 else if ((active0 & 0x10000000000L) != 0L)
855 return jjStartNfaWithStates_1(3, 40, 14);
856 else if ((active0 & 0x40000000000000L) != 0L)
857 return jjStartNfaWithStates_1(3, 54, 14);
858 return jjMoveStringLiteralDfa4_1(active0, 0x2008200001000000L, active1, 0x81L);
861 return jjMoveStringLiteralDfa4_1(active0, 0x1000000000000000L, active1, 0L);
864 return jjMoveStringLiteralDfa4_1(active0, 0x8800000000000000L, active1, 0L);
867 if ((active0 & 0x2000000000000L) != 0L)
868 return jjStartNfaWithStates_1(3, 49, 14);
869 else if ((active1 & 0x2L) != 0L)
874 else if ((active1 & 0x8L) != 0L)
875 return jjStartNfaWithStates_1(3, 67, 14);
876 return jjMoveStringLiteralDfa4_1(active0, 0x100000280000000L, active1, 0x4L);
879 return jjMoveStringLiteralDfa4_1(active0, 0x20000000L, active1, 0L);
882 if ((active0 & 0x40000000L) != 0L)
883 return jjStartNfaWithStates_1(3, 30, 14);
884 else if ((active0 & 0x800000000000L) != 0L)
885 return jjStartNfaWithStates_1(3, 47, 14);
889 if ((active0 & 0x20000000000000L) != 0L)
890 return jjStartNfaWithStates_1(3, 53, 14);
891 return jjMoveStringLiteralDfa4_1(active0, 0x480020000100000L, active1, 0L);
894 if ((active0 & 0x10000000L) != 0L)
895 return jjStartNfaWithStates_1(3, 28, 14);
896 return jjMoveStringLiteralDfa4_1(active0, 0x10041000000000L, active1, 0L);
899 return jjMoveStringLiteralDfa4_1(active0, 0x4000500000000L, active1, 0L);
902 return jjMoveStringLiteralDfa4_1(active0, 0x200000000000000L, active1, 0L);
906 return jjStartNfa_1(2, active0, active1, 0L);
908 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
910 if (((active0 &= old0) | (active1 &= old1)) == 0L)
911 return jjStartNfa_1(2, old0, old1, 0L);
912 try { curChar = input_stream.readChar(); }
913 catch(java.io.IOException e) {
914 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
921 return jjMoveStringLiteralDfa5_1(active0, 0x2000000800000000L, active1, 0L);
924 return jjMoveStringLiteralDfa5_1(active0, 0x10000000000000L, active1, 0x1L);
927 if ((active0 & 0x80000000000000L) != 0L)
928 return jjStartNfaWithStates_1(4, 55, 14);
929 else if ((active0 & 0x100000000000000L) != 0L)
930 return jjStartNfaWithStates_1(4, 56, 14);
931 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x4L);
934 if ((active0 & 0x800000000000000L) != 0L)
935 return jjStartNfaWithStates_1(4, 59, 14);
939 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x80L);
942 return jjMoveStringLiteralDfa5_1(active0, 0x200000000000000L, active1, 0L);
945 return jjMoveStringLiteralDfa5_1(active0, 0x41501000000L, active1, 0L);
948 if ((active0 & 0x8000000L) != 0L)
949 return jjStartNfaWithStates_1(4, 27, 14);
953 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x10L);
956 return jjMoveStringLiteralDfa5_1(active0, 0x8000200000000000L, active1, 0L);
959 return jjMoveStringLiteralDfa5_1(active0, 0x1000000000000000L, active1, 0L);
962 if ((active0 & 0x8000000000000L) != 0L)
963 return jjStartNfaWithStates_1(4, 51, 14);
964 return jjMoveStringLiteralDfa5_1(active0, 0x4000000000000L, active1, 0L);
967 if ((active0 & 0x100000L) != 0L)
968 return jjStartNfaWithStates_1(4, 20, 14);
972 if ((active0 & 0x20000000L) != 0L)
973 return jjStartNfaWithStates_1(4, 29, 14);
974 else if ((active0 & 0x20000000000L) != 0L)
975 return jjStartNfaWithStates_1(4, 41, 14);
976 else if ((active1 & 0x20L) != 0L)
977 return jjStartNfaWithStates_1(4, 69, 14);
978 return jjMoveStringLiteralDfa5_1(active0, 0x200000L, active1, 0L);
981 return jjMoveStringLiteralDfa5_1(active0, 0x80280000000L, active1, 0L);
984 return jjMoveStringLiteralDfa5_1(active0, 0x400000000000000L, active1, 0L);
987 if ((active0 & 0x4000000L) != 0L)
988 return jjStartNfaWithStates_1(4, 26, 14);
993 return jjStartNfa_1(3, active0, active1, 0L);
995 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
997 if (((active0 &= old0) | (active1 &= old1)) == 0L)
998 return jjStartNfa_1(3, old0, old1, 0L);
999 try { curChar = input_stream.readChar(); }
1000 catch(java.io.IOException e) {
1001 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1008 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x4L);
1011 if ((active0 & 0x1000000000L) != 0L)
1012 return jjStartNfaWithStates_1(5, 36, 14);
1013 return jjMoveStringLiteralDfa6_1(active0, 0x2000000000000000L, active1, 0L);
1016 return jjMoveStringLiteralDfa6_1(active0, 0x200280000000L, active1, 0L);
1019 if ((active1 & 0x10L) != 0L)
1020 return jjStartNfaWithStates_1(5, 68, 14);
1021 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x80L);
1024 if ((active0 & 0x1000000L) != 0L)
1025 return jjStartNfaWithStates_1(5, 24, 14);
1029 if ((active0 & 0x8000000000000000L) != 0L)
1030 return jjStartNfaWithStates_1(5, 63, 14);
1034 if ((active0 & 0x10000000000000L) != 0L)
1035 return jjStartNfaWithStates_1(5, 52, 14);
1039 return jjMoveStringLiteralDfa6_1(active0, 0x600000000200000L, active1, 0L);
1042 if ((active0 & 0x800000000L) != 0L)
1043 return jjStartNfaWithStates_1(5, 35, 14);
1044 return jjMoveStringLiteralDfa6_1(active0, 0x80000000000L, active1, 0L);
1047 if ((active0 & 0x4000000000000L) != 0L)
1048 return jjStartNfaWithStates_1(5, 50, 14);
1049 return jjMoveStringLiteralDfa6_1(active0, 0x40000000000L, active1, 0L);
1052 if ((active0 & 0x1000000000000000L) != 0L)
1053 return jjStartNfaWithStates_1(5, 60, 14);
1054 return jjMoveStringLiteralDfa6_1(active0, 0x500000000L, active1, 0L);
1057 if ((active1 & 0x1L) != 0L)
1058 return jjStartNfaWithStates_1(5, 64, 14);
1063 return jjStartNfa_1(4, active0, active1, 0L);
1065 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1067 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1068 return jjStartNfa_1(4, old0, old1, 0L);
1069 try { curChar = input_stream.readChar(); }
1070 catch(java.io.IOException e) {
1071 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1078 if ((active0 & 0x80000000L) != 0L)
1083 else if ((active0 & 0x100000000L) != 0L)
1088 return jjMoveStringLiteralDfa7_1(active0, 0x600000000L, active1, 0L);
1091 if ((active0 & 0x2000000000000000L) != 0L)
1092 return jjStartNfaWithStates_1(6, 61, 14);
1096 return jjMoveStringLiteralDfa7_1(active0, 0x200000000000000L, active1, 0L);
1099 if ((active1 & 0x4L) != 0L)
1100 return jjStartNfaWithStates_1(6, 66, 14);
1104 return jjMoveStringLiteralDfa7_1(active0, 0x200000L, active1, 0L);
1107 if ((active1 & 0x80L) != 0L)
1108 return jjStartNfaWithStates_1(6, 71, 14);
1112 if ((active0 & 0x200000000000L) != 0L)
1113 return jjStartNfaWithStates_1(6, 45, 14);
1117 if ((active0 & 0x80000000000L) != 0L)
1118 return jjStartNfaWithStates_1(6, 43, 14);
1119 return jjMoveStringLiteralDfa7_1(active0, 0x400000000000000L, active1, 0L);
1122 return jjMoveStringLiteralDfa7_1(active0, 0x40000000000L, active1, 0L);
1126 return jjStartNfa_1(5, active0, active1, 0L);
1128 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1130 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1131 return jjStartNfa_1(5, old0, old1, 0L);
1132 try { curChar = input_stream.readChar(); }
1133 catch(java.io.IOException e) {
1134 jjStopStringLiteralDfa_1(6, active0, 0L, 0L);
1140 return jjMoveStringLiteralDfa8_1(active0, 0x600000000L);
1143 return jjMoveStringLiteralDfa8_1(active0, 0x400000000000000L);
1146 if ((active0 & 0x40000000000L) != 0L)
1147 return jjStartNfaWithStates_1(7, 42, 14);
1148 else if ((active0 & 0x200000000000000L) != 0L)
1149 return jjStartNfaWithStates_1(7, 57, 14);
1153 if ((active0 & 0x200000L) != 0L)
1154 return jjStartNfaWithStates_1(7, 21, 14);
1159 return jjStartNfa_1(6, active0, 0L, 0L);
1161 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0)
1163 if (((active0 &= old0)) == 0L)
1164 return jjStartNfa_1(6, old0, 0L, 0L);
1165 try { curChar = input_stream.readChar(); }
1166 catch(java.io.IOException e) {
1167 jjStopStringLiteralDfa_1(7, active0, 0L, 0L);
1174 if ((active0 & 0x400000000000000L) != 0L)
1175 return jjStartNfaWithStates_1(8, 58, 14);
1179 return jjMoveStringLiteralDfa9_1(active0, 0x600000000L);
1183 return jjStartNfa_1(7, active0, 0L, 0L);
1185 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0)
1187 if (((active0 &= old0)) == 0L)
1188 return jjStartNfa_1(7, old0, 0L, 0L);
1189 try { curChar = input_stream.readChar(); }
1190 catch(java.io.IOException e) {
1191 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1198 return jjMoveStringLiteralDfa10_1(active0, 0x600000000L);
1202 return jjStartNfa_1(8, active0, 0L, 0L);
1204 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1206 if (((active0 &= old0)) == 0L)
1207 return jjStartNfa_1(8, old0, 0L, 0L);
1208 try { curChar = input_stream.readChar(); }
1209 catch(java.io.IOException e) {
1210 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1217 return jjMoveStringLiteralDfa11_1(active0, 0x600000000L);
1221 return jjStartNfa_1(9, active0, 0L, 0L);
1223 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1225 if (((active0 &= old0)) == 0L)
1226 return jjStartNfa_1(9, old0, 0L, 0L);
1227 try { curChar = input_stream.readChar(); }
1228 catch(java.io.IOException e) {
1229 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1236 if ((active0 & 0x200000000L) != 0L)
1237 return jjStartNfaWithStates_1(11, 33, 14);
1238 else if ((active0 & 0x400000000L) != 0L)
1239 return jjStartNfaWithStates_1(11, 34, 14);
1244 return jjStartNfa_1(10, active0, 0L, 0L);
1246 static final long[] jjbitVec0 = {
1247 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
1249 static private final int jjMoveNfa_1(int startState, int curPos)
1255 jjstateSet[0] = startState;
1256 int j, kind = 0x7fffffff;
1259 if (++jjround == 0x7fffffff)
1263 long l = 1L << curChar;
1266 switch(jjstateSet[--i])
1269 if ((0x3ff000000000000L & l) != 0L)
1270 jjCheckNAddStates(0, 6);
1271 else if (curChar == 39)
1272 jjCheckNAddStates(7, 12);
1273 else if (curChar == 34)
1274 jjCheckNAddStates(13, 20);
1275 else if (curChar == 36)
1276 jjstateSet[jjnewStateCnt++] = 16;
1277 else if (curChar == 46)
1279 else if (curChar == 47)
1280 jjstateSet[jjnewStateCnt++] = 2;
1281 if ((0x3fe000000000000L & l) != 0L)
1285 jjCheckNAddTwoStates(5, 6);
1287 else if (curChar == 48)
1291 jjCheckNAddStates(21, 23);
1296 jjstateSet[jjnewStateCnt++] = 1;
1299 if ((0xffff7fffffffffffL & l) != 0L && kind > 13)
1304 jjstateSet[jjnewStateCnt++] = 0;
1307 if ((0x3fe000000000000L & l) == 0L)
1311 jjCheckNAddTwoStates(5, 6);
1314 if ((0x3ff000000000000L & l) == 0L)
1318 jjCheckNAddTwoStates(5, 6);
1325 if ((0x3ff000000000000L & l) == 0L)
1329 jjCheckNAddStates(24, 26);
1332 if ((0x280000000000L & l) != 0L)
1336 if ((0x3ff000000000000L & l) == 0L)
1340 jjCheckNAddTwoStates(11, 12);
1343 if ((0x3ff000000000000L & l) == 0L)
1347 jjstateSet[jjnewStateCnt++] = 14;
1351 jjstateSet[jjnewStateCnt++] = 16;
1354 if ((0x3ff000000000000L & l) == 0L)
1358 jjstateSet[jjnewStateCnt++] = 17;
1361 if ((0x3ff000000000000L & l) != 0L)
1362 jjCheckNAddStates(0, 6);
1365 if ((0x3ff000000000000L & l) != 0L)
1366 jjCheckNAddTwoStates(19, 20);
1373 jjCheckNAddStates(27, 29);
1376 if ((0x3ff000000000000L & l) == 0L)
1380 jjCheckNAddStates(27, 29);
1383 if ((0x280000000000L & l) != 0L)
1387 if ((0x3ff000000000000L & l) == 0L)
1391 jjCheckNAddTwoStates(24, 12);
1394 if ((0x3ff000000000000L & l) != 0L)
1395 jjCheckNAddTwoStates(25, 26);
1398 if ((0x280000000000L & l) != 0L)
1402 if ((0x3ff000000000000L & l) == 0L)
1406 jjCheckNAddTwoStates(28, 12);
1409 if ((0x3ff000000000000L & l) != 0L)
1410 jjCheckNAddStates(30, 32);
1413 if ((0x280000000000L & l) != 0L)
1417 if ((0x3ff000000000000L & l) != 0L)
1418 jjCheckNAddTwoStates(32, 12);
1425 jjCheckNAddStates(21, 23);
1428 if ((0x3ff000000000000L & l) == 0L)
1432 jjCheckNAddTwoStates(35, 6);
1435 if ((0xff000000000000L & l) == 0L)
1439 jjCheckNAddTwoStates(36, 6);
1443 jjCheckNAddStates(13, 20);
1446 jjCheckNAddStates(33, 36);
1450 jjCheckNAddStates(33, 36);
1453 if ((0xfffffffbffffffffL & l) != 0L)
1454 jjstateSet[jjnewStateCnt++] = 43;
1457 if (curChar == 34 && kind > 80)
1461 jjCheckNAddStates(37, 40);
1465 jjCheckNAddStates(37, 40);
1468 if ((0xfffffffbffffffffL & l) != 0L)
1469 jjstateSet[jjnewStateCnt++] = 50;
1472 if (curChar == 34 && kind > 81)
1477 jjCheckNAddStates(7, 12);
1480 if ((0xffffff7fffffffffL & l) != 0L)
1481 jjCheckNAddStates(41, 43);
1485 jjCheckNAddStates(41, 43);
1488 if (curChar == 39 && kind > 80)
1492 if ((0xffffff7fffffffffL & l) != 0L)
1493 jjCheckNAddStates(44, 46);
1497 jjCheckNAddStates(44, 46);
1500 if (curChar == 39 && kind > 82)
1504 jjAddStates(47, 49);
1507 jjAddStates(50, 52);
1511 } while(i != startsAt);
1513 else if (curChar < 128)
1515 long l = 1L << (curChar & 077);
1518 switch(jjstateSet[--i])
1521 if ((0x87fffffe87fffffeL & l) != 0L)
1527 else if (curChar == 96)
1528 jjCheckNAddStates(53, 58);
1535 if ((0x100000001000L & l) != 0L && kind > 74)
1539 if ((0x2000000020L & l) != 0L)
1540 jjAddStates(59, 60);
1543 if ((0x5000000050L & l) != 0L && kind > 78)
1548 if ((0x87fffffe87fffffeL & l) == 0L)
1556 if ((0x87fffffe87fffffeL & l) == 0L)
1563 if ((0x2000000020L & l) != 0L)
1564 jjAddStates(61, 62);
1567 if ((0x2000000020L & l) != 0L)
1568 jjAddStates(63, 64);
1571 if ((0x2000000020L & l) != 0L)
1572 jjAddStates(65, 66);
1575 if ((0x100000001000000L & l) != 0L)
1579 if ((0x7e0000007eL & l) == 0L)
1583 jjCheckNAddTwoStates(35, 6);
1586 jjCheckNAddStates(33, 36);
1590 jjstateSet[jjnewStateCnt++] = 39;
1594 jjstateSet[jjnewStateCnt++] = 42;
1597 jjstateSet[jjnewStateCnt++] = 43;
1601 jjCheckNAddStates(33, 36);
1604 jjCheckNAddStates(37, 40);
1608 jjstateSet[jjnewStateCnt++] = 46;
1612 jjstateSet[jjnewStateCnt++] = 49;
1615 jjstateSet[jjnewStateCnt++] = 50;
1619 jjCheckNAddStates(37, 40);
1622 jjAddStates(41, 43);
1626 jjstateSet[jjnewStateCnt++] = 54;
1629 jjAddStates(44, 46);
1633 jjstateSet[jjnewStateCnt++] = 58;
1637 jjCheckNAddStates(53, 58);
1640 if ((0xfffffffeffffffffL & l) != 0L)
1641 jjCheckNAddStates(47, 49);
1645 jjCheckNAddStates(47, 49);
1649 jjstateSet[jjnewStateCnt++] = 63;
1652 if (curChar == 96 && kind > 80)
1656 if ((0xfffffffeffffffffL & l) != 0L)
1657 jjCheckNAddStates(50, 52);
1661 jjCheckNAddStates(50, 52);
1665 jjstateSet[jjnewStateCnt++] = 67;
1668 if (curChar == 96 && kind > 83)
1673 } while(i != startsAt);
1677 int i2 = (curChar & 0xff) >> 6;
1678 long l2 = 1L << (curChar & 077);
1681 switch(jjstateSet[--i])
1685 if ((jjbitVec0[i2] & l2) == 0L)
1692 if ((jjbitVec0[i2] & l2) != 0L && kind > 13)
1697 if ((jjbitVec0[i2] & l2) == 0L)
1704 if ((jjbitVec0[i2] & l2) != 0L)
1705 jjAddStates(33, 36);
1708 if ((jjbitVec0[i2] & l2) != 0L)
1709 jjstateSet[jjnewStateCnt++] = 43;
1712 if ((jjbitVec0[i2] & l2) != 0L)
1713 jjAddStates(37, 40);
1716 if ((jjbitVec0[i2] & l2) != 0L)
1717 jjstateSet[jjnewStateCnt++] = 50;
1720 if ((jjbitVec0[i2] & l2) != 0L)
1721 jjAddStates(41, 43);
1724 if ((jjbitVec0[i2] & l2) != 0L)
1725 jjAddStates(44, 46);
1728 if ((jjbitVec0[i2] & l2) != 0L)
1729 jjAddStates(47, 49);
1732 if ((jjbitVec0[i2] & l2) != 0L)
1733 jjAddStates(50, 52);
1737 } while(i != startsAt);
1739 if (kind != 0x7fffffff)
1741 jjmatchedKind = kind;
1742 jjmatchedPos = curPos;
1746 if ((i = jjnewStateCnt) == (startsAt = 70 - (jjnewStateCnt = startsAt)))
1748 try { curChar = input_stream.readChar(); }
1749 catch(java.io.IOException e) { return curPos; }
1752 static private final int jjMoveStringLiteralDfa0_3()
1757 return jjMoveStringLiteralDfa1_3(0x20000L);
1762 static private final int jjMoveStringLiteralDfa1_3(long active0)
1764 try { curChar = input_stream.readChar(); }
1765 catch(java.io.IOException e) {
1771 if ((active0 & 0x20000L) != 0L)
1772 return jjStopAtPos(1, 17);
1779 static final int[] jjnextStates = {
1780 19, 20, 25, 26, 29, 30, 12, 53, 55, 56, 57, 59, 60, 38, 40, 41,
1781 44, 45, 47, 48, 51, 34, 36, 6, 8, 9, 12, 21, 22, 12, 29, 30,
1782 12, 38, 40, 41, 44, 45, 47, 48, 51, 53, 55, 56, 57, 59, 60, 62,
1783 64, 65, 66, 68, 69, 62, 64, 65, 66, 68, 69, 10, 11, 23, 24, 27,
1786 public static final String[] jjstrLiteralImages = {
1787 "", "\74\77", null, "\74\77\75", "\77\76", null, null, null, null, null, null,
1788 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1789 null, null, null, null, null, null, null, null, null, null, null, null, "\55\76",
1790 "\72\72", "\75\76", null, null, null, null, null, null, null, null, null, null, null,
1791 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1792 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1793 null, null, null, null, null, null, null, null, null, "\50", "\51", "\173", "\175",
1794 "\133", "\135", "\73", "\54", "\56", "\76", "\74", "\75\75", "\74\75", "\76\75",
1795 "\41\75", "\74\76", "\41\75\75", "\75\75\75", "\75", "\53\75", "\55\75", "\52\75",
1796 "\57\75", "\46\75", "\174\75", "\136\75", "\56\75", "\45\75", "\176\75", "\100", "\44",
1797 "\41", "\176", "\77", "\72", "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55",
1798 "\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76", "\76\76\76",
1799 "\74\74\75", "\76\76\75", null, };
1800 public static final String[] lexStateNames = {
1803 "IN_SINGLE_LINE_COMMENT",
1804 "IN_FORMAL_COMMENT",
1805 "IN_MULTI_LINE_COMMENT",
1807 public static final int[] jjnewLexState = {
1808 -1, 1, 1, 1, 0, -1, -1, -1, -1, -1, -1, 2, 2, 3, 4, 1, 0, 1, 1, -1, -1, -1, -1, -1, -1,
1809 -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,
1810 -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,
1811 -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,
1812 -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,
1813 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1815 static final long[] jjtoToken = {
1816 0xfffffffffff0001fL, 0xffffffffff1f47ffL, 0x1fffL,
1818 static final long[] jjtoSkip = {
1819 0x7ffe0L, 0x0L, 0x0L,
1821 static final long[] jjtoSpecial = {
1822 0x7f800L, 0x0L, 0x0L,
1824 static final long[] jjtoMore = {
1825 0x80000L, 0x0L, 0x0L,
1827 static protected SimpleCharStream input_stream;
1828 static private final int[] jjrounds = new int[70];
1829 static private final int[] jjstateSet = new int[140];
1830 static StringBuffer image;
1831 static int jjimageLen;
1832 static int lengthOfMatch;
1833 static protected char curChar;
1834 public PHPParserTokenManager(SimpleCharStream stream)
1836 if (input_stream != null)
1837 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
1838 input_stream = stream;
1840 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
1845 static public void ReInit(SimpleCharStream stream)
1847 jjmatchedPos = jjnewStateCnt = 0;
1848 curLexState = defaultLexState;
1849 input_stream = stream;
1852 static private final void ReInitRounds()
1855 jjround = 0x80000001;
1856 for (i = 70; i-- > 0;)
1857 jjrounds[i] = 0x80000000;
1859 static public void ReInit(SimpleCharStream stream, int lexState)
1864 static public void SwitchTo(int lexState)
1866 if (lexState >= 5 || lexState < 0)
1867 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
1869 curLexState = lexState;
1872 static protected Token jjFillToken()
1874 Token t = Token.newToken(jjmatchedKind);
1875 t.kind = jjmatchedKind;
1876 String im = jjstrLiteralImages[jjmatchedKind];
1877 t.image = (im == null) ? input_stream.GetImage() : im;
1878 t.beginLine = input_stream.getBeginLine();
1879 t.beginColumn = input_stream.getBeginColumn();
1880 t.endLine = input_stream.getEndLine();
1881 t.endColumn = input_stream.getEndColumn();
1885 static int curLexState = 0;
1886 static int defaultLexState = 0;
1887 static int jjnewStateCnt;
1889 static int jjmatchedPos;
1890 static int jjmatchedKind;
1892 public static Token getNextToken()
1895 Token specialToken = null;
1904 curChar = input_stream.BeginToken();
1906 catch(java.io.IOException e)
1909 matchedToken = jjFillToken();
1910 matchedToken.specialToken = specialToken;
1911 return matchedToken;
1921 jjmatchedKind = 0x7fffffff;
1923 curPos = jjMoveStringLiteralDfa0_0();
1924 if (jjmatchedPos == 0 && jjmatchedKind > 5)
1930 try { input_stream.backup(0);
1931 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
1932 curChar = input_stream.BeginToken();
1934 catch (java.io.IOException e1) { continue EOFLoop; }
1935 jjmatchedKind = 0x7fffffff;
1937 curPos = jjMoveStringLiteralDfa0_1();
1940 jjmatchedKind = 0x7fffffff;
1942 curPos = jjMoveStringLiteralDfa0_2();
1943 if (jjmatchedPos == 0 && jjmatchedKind > 19)
1949 jjmatchedKind = 0x7fffffff;
1951 curPos = jjMoveStringLiteralDfa0_3();
1952 if (jjmatchedPos == 0 && jjmatchedKind > 19)
1958 jjmatchedKind = 0x7fffffff;
1960 curPos = jjMoveStringLiteralDfa0_4();
1961 if (jjmatchedPos == 0 && jjmatchedKind > 19)
1967 if (jjmatchedKind != 0x7fffffff)
1969 if (jjmatchedPos + 1 < curPos)
1970 input_stream.backup(curPos - jjmatchedPos - 1);
1971 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1973 matchedToken = jjFillToken();
1974 matchedToken.specialToken = specialToken;
1975 if (jjnewLexState[jjmatchedKind] != -1)
1976 curLexState = jjnewLexState[jjmatchedKind];
1977 return matchedToken;
1979 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1981 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1983 matchedToken = jjFillToken();
1984 if (specialToken == null)
1985 specialToken = matchedToken;
1988 matchedToken.specialToken = specialToken;
1989 specialToken = (specialToken.next = matchedToken);
1991 SkipLexicalActions(matchedToken);
1994 SkipLexicalActions(null);
1995 if (jjnewLexState[jjmatchedKind] != -1)
1996 curLexState = jjnewLexState[jjmatchedKind];
1999 jjimageLen += jjmatchedPos + 1;
2000 if (jjnewLexState[jjmatchedKind] != -1)
2001 curLexState = jjnewLexState[jjmatchedKind];
2003 jjmatchedKind = 0x7fffffff;
2005 curChar = input_stream.readChar();
2008 catch (java.io.IOException e1) { }
2010 int error_line = input_stream.getEndLine();
2011 int error_column = input_stream.getEndColumn();
2012 String error_after = null;
2013 boolean EOFSeen = false;
2014 try { input_stream.readChar(); input_stream.backup(1); }
2015 catch (java.io.IOException e1) {
2017 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2018 if (curChar == '\n' || curChar == '\r') {
2026 input_stream.backup(1);
2027 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2029 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
2034 static void SkipLexicalActions(Token matchedToken)
2036 switch(jjmatchedKind)
2040 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2042 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2043 input_stream.backup(1);