1 /* Generated By:JavaCC: Do not edit this line. PHPParserTokenManager.java */
3 import org.eclipse.core.resources.IFile;
4 import org.eclipse.core.resources.IMarker;
5 import org.eclipse.core.runtime.CoreException;
6 import org.eclipse.ui.texteditor.MarkerUtilities;
7 import org.eclipse.jface.preference.IPreferenceStore;
8 import java.util.Hashtable;
9 import java.io.StringReader;
10 import java.text.MessageFormat;
11 import net.sourceforge.phpeclipse.actions.PHPStartApacheAction;
12 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
13 import net.sourceforge.phpdt.internal.compiler.parser.PHPOutlineInfo;
14 import net.sourceforge.phpdt.internal.compiler.parser.PHPSegmentWithChildren;
15 import net.sourceforge.phpdt.internal.compiler.parser.PHPFunctionDeclaration;
16 import net.sourceforge.phpdt.internal.compiler.parser.PHPClassDeclaration;
17 import net.sourceforge.phpdt.internal.compiler.parser.PHPVarDeclaration;
18 import net.sourceforge.phpdt.internal.compiler.parser.PHPReqIncDeclaration;
20 public class PHPParserTokenManager implements PHPParserConstants
22 public static java.io.PrintStream debugStream = System.out;
23 public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
24 private static final int jjStopStringLiteralDfa_0(int pos, long active0, long active1, long active2)
32 private static final int jjStartNfa_0(int pos, long active0, long active1, long active2)
34 return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1, active2), pos + 1);
36 static private final int jjStopAtPos(int pos, int kind)
42 static private final int jjStartNfaWithStates_0(int pos, int kind, int state)
46 try { curChar = input_stream.readChar(); }
47 catch(java.io.IOException e) { return pos + 1; }
48 return jjMoveNfa_0(state, pos + 1);
50 static private final int jjMoveStringLiteralDfa0_0()
55 return jjMoveStringLiteralDfa1_0(0x10L);
57 return jjMoveNfa_0(0, 0);
60 static private final int jjMoveStringLiteralDfa1_0(long active2)
62 try { curChar = input_stream.readChar(); }
63 catch(java.io.IOException e) {
64 jjStopStringLiteralDfa_0(0, 0L, 0L, active2);
70 if ((active2 & 0x10L) != 0L)
71 return jjStopAtPos(1, 132);
76 return jjStartNfa_0(0, 0L, 0L, active2);
78 static private final void jjCheckNAdd(int state)
80 if (jjrounds[state] != jjround)
82 jjstateSet[jjnewStateCnt++] = state;
83 jjrounds[state] = jjround;
86 static private final void jjAddStates(int start, int end)
89 jjstateSet[jjnewStateCnt++] = jjnextStates[start];
90 } while (start++ != end);
92 static private final void jjCheckNAddTwoStates(int state1, int state2)
97 static private final void jjCheckNAddStates(int start, int end)
100 jjCheckNAdd(jjnextStates[start]);
101 } while (start++ != end);
103 static private final void jjCheckNAddStates(int start)
105 jjCheckNAdd(jjnextStates[start]);
106 jjCheckNAdd(jjnextStates[start + 1]);
108 static private final int jjMoveNfa_0(int startState, int curPos)
114 jjstateSet[0] = startState;
115 int j, kind = 0x7fffffff;
118 if (++jjround == 0x7fffffff)
122 long l = 1L << curChar;
125 switch(jjstateSet[--i])
133 jjstateSet[jjnewStateCnt++] = 3;
136 if (curChar == 63 && kind > 1)
141 } while(i != startsAt);
143 else if (curChar < 128)
145 long l = 1L << (curChar & 077);
148 switch(jjstateSet[--i])
151 if ((0x1000000010000L & l) != 0L && kind > 1)
155 if ((0x10000000100L & l) != 0L)
156 jjstateSet[jjnewStateCnt++] = 1;
159 if ((0x1000000010000L & l) != 0L)
160 jjstateSet[jjnewStateCnt++] = 2;
164 } while(i != startsAt);
168 int i2 = (curChar & 0xff) >> 6;
169 long l2 = 1L << (curChar & 077);
172 switch(jjstateSet[--i])
176 } while(i != startsAt);
178 if (kind != 0x7fffffff)
180 jjmatchedKind = kind;
181 jjmatchedPos = curPos;
185 if ((i = jjnewStateCnt) == (startsAt = 6 - (jjnewStateCnt = startsAt)))
187 try { curChar = input_stream.readChar(); }
188 catch(java.io.IOException e) { return curPos; }
191 static private final int jjMoveStringLiteralDfa0_4()
196 return jjMoveStringLiteralDfa1_4(0x8000L);
201 static private final int jjMoveStringLiteralDfa1_4(long active0)
203 try { curChar = input_stream.readChar(); }
204 catch(java.io.IOException e) {
210 if ((active0 & 0x8000L) != 0L)
211 return jjStopAtPos(1, 15);
218 private static final int jjStopStringLiteralDfa_2(int pos, long active0)
226 private static final int jjStartNfa_2(int pos, long active0)
228 return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
230 static private final int jjStartNfaWithStates_2(int pos, int kind, int state)
232 jjmatchedKind = kind;
234 try { curChar = input_stream.readChar(); }
235 catch(java.io.IOException e) { return pos + 1; }
236 return jjMoveNfa_2(state, pos + 1);
238 static private final int jjMoveStringLiteralDfa0_2()
243 return jjMoveStringLiteralDfa1_2(0x2000L);
245 return jjMoveNfa_2(0, 0);
248 static private final int jjMoveStringLiteralDfa1_2(long active0)
250 try { curChar = input_stream.readChar(); }
251 catch(java.io.IOException e) {
252 jjStopStringLiteralDfa_2(0, active0);
258 if ((active0 & 0x2000L) != 0L)
259 return jjStopAtPos(1, 13);
264 return jjStartNfa_2(0, active0);
266 static private final int jjMoveNfa_2(int startState, int curPos)
272 jjstateSet[0] = startState;
273 int j, kind = 0x7fffffff;
276 if (++jjround == 0x7fffffff)
280 long l = 1L << curChar;
283 switch(jjstateSet[--i])
286 if ((0x2400L & l) != 0L)
292 jjstateSet[jjnewStateCnt++] = 1;
295 if (curChar == 10 && kind > 12)
300 jjstateSet[jjnewStateCnt++] = 1;
304 } while(i != startsAt);
306 else if (curChar < 128)
308 long l = 1L << (curChar & 077);
311 switch(jjstateSet[--i])
315 } while(i != startsAt);
319 int i2 = (curChar & 0xff) >> 6;
320 long l2 = 1L << (curChar & 077);
323 switch(jjstateSet[--i])
327 } while(i != startsAt);
329 if (kind != 0x7fffffff)
331 jjmatchedKind = kind;
332 jjmatchedPos = curPos;
336 if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
338 try { curChar = input_stream.readChar(); }
339 catch(java.io.IOException e) { return curPos; }
342 private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1, long active2)
347 if ((active0 & 0xfffffff8fffe0000L) != 0L || (active1 & 0x7L) != 0L)
352 if ((active0 & 0xa00L) != 0L || (active1 & 0x100200000000000L) != 0L)
354 if ((active1 & 0x8000000L) != 0L)
356 if ((active1 & 0x1000000002000000L) != 0L)
360 if ((active0 & 0x800L) != 0L)
362 if ((active0 & 0x2080010000100000L) != 0L || (active1 & 0x2L) != 0L)
364 if ((active0 & 0xdf7ffef8ffee0000L) != 0L || (active1 & 0x5L) != 0L)
366 if (jjmatchedPos != 1)
375 if ((active0 & 0x8040280000080000L) != 0L || (active1 & 0x5L) != 0L)
377 if ((active0 & 0x7f3fd6f8ffe60000L) != 0L)
379 if (jjmatchedPos != 2)
388 if ((active0 & 0x1c0c501002600000L) != 0L)
390 if ((active0 & 0x637386e8fd860000L) != 0L || (active1 & 0x1L) != 0L)
392 if (jjmatchedPos != 3)
401 if ((active0 & 0x2b6282c0fc240000L) != 0L || (active1 & 0x1L) != 0L)
407 if ((active0 & 0x4011042801820000L) != 0L)
411 if ((active0 & 0x23028000c0200000L) != 0L)
413 if ((active0 & 0x86002c03c040000L) != 0L || (active1 & 0x1L) != 0L)
421 if ((active0 & 0x84002803c000000L) != 0L || (active1 & 0x1L) != 0L)
423 if ((active0 & 0x20004000040000L) != 0L)
425 if (jjmatchedPos != 6)
434 if ((active0 & 0x30000000L) != 0L)
440 if ((active0 & 0x20004000040000L) != 0L)
444 if ((active0 & 0x30000000L) != 0L)
452 if ((active0 & 0x30000000L) != 0L)
460 if ((active0 & 0x30000000L) != 0L)
471 private static final int jjStartNfa_1(int pos, long active0, long active1, long active2)
473 return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1, active2), pos + 1);
475 static private final int jjStartNfaWithStates_1(int pos, int kind, int state)
477 jjmatchedKind = kind;
479 try { curChar = input_stream.readChar(); }
480 catch(java.io.IOException e) { return pos + 1; }
481 return jjMoveNfa_1(state, pos + 1);
483 static private final int jjMoveStringLiteralDfa0_1()
489 return jjMoveStringLiteralDfa1_1(0x0L, 0x2000000000L, 0x1L);
491 return jjStartNfaWithStates_1(0, 91, 16);
494 return jjMoveStringLiteralDfa1_1(0x0L, 0x2000000000000000L, 0x0L);
497 return jjMoveStringLiteralDfa1_1(0x0L, 0x200008000000000L, 0x0L);
499 return jjStopAtPos(0, 81);
501 return jjStopAtPos(0, 82);
504 return jjMoveStringLiteralDfa1_1(0x0L, 0x80000000000000L, 0x0L);
507 return jjMoveStringLiteralDfa1_1(0x0L, 0x20010000000000L, 0x0L);
509 return jjStopAtPos(0, 88);
512 return jjMoveStringLiteralDfa1_1(0x100000000L, 0x40020000000000L, 0x0L);
515 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000000000000000L, 0x0L);
518 return jjMoveStringLiteralDfa1_1(0xa00L, 0x100000000000000L, 0x0L);
521 return jjMoveStringLiteralDfa1_1(0x200000000L, 0x0L, 0x0L);
523 return jjStopAtPos(0, 87);
526 return jjMoveStringLiteralDfa1_1(0x0L, 0x4004000800000000L, 0x0L);
529 return jjMoveStringLiteralDfa1_1(0x400000000L, 0x400000000L, 0x2L);
532 return jjMoveStringLiteralDfa1_1(0x0L, 0x8018001000000000L, 0x0L);
535 return jjMoveStringLiteralDfa1_1(0x4L, 0x0L, 0x0L);
537 return jjStopAtPos(0, 90);
539 return jjStopAtPos(0, 85);
541 return jjStopAtPos(0, 86);
544 return jjMoveStringLiteralDfa1_1(0x0L, 0x800000000000000L, 0x0L);
547 return jjMoveStringLiteralDfa1_1(0x80000000800000L, 0x4L, 0x0L);
550 return jjMoveStringLiteralDfa1_1(0xc00000800000000L, 0x0L, 0x0L);
553 return jjMoveStringLiteralDfa1_1(0x7000020000L, 0x0L, 0x0L);
556 return jjMoveStringLiteralDfa1_1(0x2000018000000000L, 0x0L, 0x0L);
559 return jjMoveStringLiteralDfa1_1(0x20020002600000L, 0x0L, 0x0L);
562 return jjMoveStringLiteralDfa1_1(0x40400c0000040000L, 0x0L, 0x0L);
565 return jjMoveStringLiteralDfa1_1(0x100040000000L, 0x0L, 0x0L);
568 return jjMoveStringLiteralDfa1_1(0x8000000014100000L, 0x1L, 0x0L);
571 return jjMoveStringLiteralDfa1_1(0x600000000000L, 0x0L, 0x0L);
574 return jjMoveStringLiteralDfa1_1(0x200000000000000L, 0x2L, 0x0L);
577 return jjMoveStringLiteralDfa1_1(0x1000000L, 0x0L, 0x0L);
580 return jjMoveStringLiteralDfa1_1(0x1000800028000000L, 0x0L, 0x0L);
583 return jjMoveStringLiteralDfa1_1(0x103000080000000L, 0x0L, 0x0L);
586 return jjMoveStringLiteralDfa1_1(0xc000000000000L, 0x0L, 0x0L);
589 return jjMoveStringLiteralDfa1_1(0x80000L, 0x0L, 0x0L);
592 return jjMoveStringLiteralDfa1_1(0x10000000000000L, 0x0L, 0x0L);
594 return jjStopAtPos(0, 83);
597 return jjMoveStringLiteralDfa1_1(0x0L, 0x400004000000000L, 0x0L);
599 return jjStopAtPos(0, 84);
601 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x4L);
603 return jjMoveNfa_1(3, 0);
606 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
608 try { curChar = input_stream.readChar(); }
609 catch(java.io.IOException e) {
610 jjStopStringLiteralDfa_1(0, active0, active1, active2);
616 if ((active1 & 0x8000000000L) != 0L)
617 return jjStopAtPos(1, 103);
620 if ((active0 & 0x800L) != 0L)
621 return jjStartNfaWithStates_1(1, 11, 0);
624 if ((active1 & 0x10000000000L) != 0L)
625 return jjStopAtPos(1, 104);
628 if ((active1 & 0x20000000000L) != 0L)
629 return jjStopAtPos(1, 105);
632 if ((active0 & 0x200L) != 0L)
633 return jjStopAtPos(1, 9);
636 if ((active0 & 0x200000000L) != 0L)
637 return jjStopAtPos(1, 33);
640 if ((active1 & 0x4000000000000L) != 0L)
645 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x4000000000000000L, active2, 0L);
647 if ((active1 & 0x400000000L) != 0L)
652 else if ((active1 & 0x800000000L) != 0L)
653 return jjStopAtPos(1, 99);
654 else if ((active1 & 0x1000000000L) != 0L)
655 return jjStopAtPos(1, 100);
656 else if ((active1 & 0x2000000000L) != 0L)
661 else if ((active1 & 0x20000000000000L) != 0L)
662 return jjStopAtPos(1, 117);
663 else if ((active1 & 0x40000000000000L) != 0L)
664 return jjStopAtPos(1, 118);
665 else if ((active1 & 0x80000000000000L) != 0L)
666 return jjStopAtPos(1, 119);
667 else if ((active1 & 0x100000000000000L) != 0L)
668 return jjStopAtPos(1, 120);
669 else if ((active1 & 0x200000000000000L) != 0L)
670 return jjStopAtPos(1, 121);
671 else if ((active1 & 0x400000000000000L) != 0L)
672 return jjStopAtPos(1, 122);
673 else if ((active1 & 0x800000000000000L) != 0L)
674 return jjStopAtPos(1, 123);
675 else if ((active1 & 0x1000000000000000L) != 0L)
676 return jjStopAtPos(1, 124);
677 else if ((active1 & 0x2000000000000000L) != 0L)
678 return jjStopAtPos(1, 125);
679 else if ((active2 & 0x4L) != 0L)
680 return jjStopAtPos(1, 130);
681 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x3L);
683 if ((active0 & 0x4L) != 0L)
684 return jjStopAtPos(1, 2);
685 else if ((active0 & 0x100000000L) != 0L)
686 return jjStopAtPos(1, 32);
687 else if ((active0 & 0x400000000L) != 0L)
688 return jjStopAtPos(1, 34);
689 else if ((active1 & 0x8000000000000L) != 0L)
694 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x8010000000000000L, active2, 0L);
697 return jjMoveStringLiteralDfa2_1(active0, 0x41000080000L, active1, 0L, active2, 0L);
700 return jjMoveStringLiteralDfa2_1(active0, 0x200000000000000L, active1, 0L, active2, 0L);
703 return jjMoveStringLiteralDfa2_1(active0, 0x2000000L, active1, 0L, active2, 0L);
706 return jjMoveStringLiteralDfa2_1(active0, 0x1000a08028000000L, active1, 0L, active2, 0L);
709 if ((active0 & 0x100000L) != 0L)
710 return jjStartNfaWithStates_1(1, 20, 14);
714 return jjMoveStringLiteralDfa2_1(active0, 0x14000000000000L, active1, 0L, active2, 0L);
717 return jjMoveStringLiteralDfa2_1(active0, 0x4000000040620000L, active1, 0L, active2, 0L);
720 return jjMoveStringLiteralDfa2_1(active0, 0x8020000014000000L, active1, 0x5L, active2, 0L);
723 if ((active0 & 0x10000000000L) != 0L)
728 return jjMoveStringLiteralDfa2_1(active0, 0x2c40186000000000L, active1, 0L, active2, 0L);
731 if ((active1 & 0x2L) != 0L)
732 return jjStartNfaWithStates_1(1, 65, 14);
733 return jjMoveStringLiteralDfa2_1(active0, 0x8000801800000L, active1, 0L, active2, 0L);
736 if ((active0 & 0x80000000000000L) != 0L)
737 return jjStartNfaWithStates_1(1, 55, 14);
741 return jjMoveStringLiteralDfa2_1(active0, 0x100000080000000L, active1, 0L, active2, 0L);
744 return jjMoveStringLiteralDfa2_1(active0, 0x1400000040000L, active1, 0L, active2, 0L);
747 return jjMoveStringLiteralDfa2_1(active0, 0x2000000000000L, active1, 0L, active2, 0L);
750 return jjMoveStringLiteralDfa2_1(active0, 0x20000000000L, active1, 0L, active2, 0L);
752 if ((active1 & 0x4000000000L) != 0L)
753 return jjStopAtPos(1, 102);
758 return jjStartNfa_1(0, active0, active1, active2);
760 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
762 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
763 return jjStartNfa_1(0, old0, old1, old2);
764 try { curChar = input_stream.readChar(); }
765 catch(java.io.IOException e) {
766 jjStopStringLiteralDfa_1(1, active0, active1, active2);
772 if ((active1 & 0x4000000000000000L) != 0L)
773 return jjStopAtPos(2, 126);
774 else if ((active1 & 0x8000000000000000L) != 0L)
775 return jjStopAtPos(2, 127);
776 else if ((active2 & 0x1L) != 0L)
777 return jjStopAtPos(2, 128);
778 else if ((active2 & 0x2L) != 0L)
779 return jjStopAtPos(2, 129);
782 if ((active1 & 0x10000000000000L) != 0L)
783 return jjStopAtPos(2, 116);
787 return jjMoveStringLiteralDfa3_1(active0, 0x1000000080020000L, active1, 0L, active2, 0L);
790 return jjMoveStringLiteralDfa3_1(active0, 0x14000000L, active1, 0L, active2, 0L);
793 if ((active1 & 0x4L) != 0L)
794 return jjStartNfaWithStates_1(2, 66, 14);
795 return jjMoveStringLiteralDfa3_1(active0, 0x20000000000000L, active1, 0L, active2, 0L);
798 return jjMoveStringLiteralDfa3_1(active0, 0x800000000L, active1, 0L, active2, 0L);
801 return jjMoveStringLiteralDfa3_1(active0, 0x8000000000L, active1, 0L, active2, 0L);
804 return jjMoveStringLiteralDfa3_1(active0, 0x2000000L, active1, 0L, active2, 0L);
807 return jjMoveStringLiteralDfa3_1(active0, 0x16000001000000L, active1, 0L, active2, 0L);
810 return jjMoveStringLiteralDfa3_1(active0, 0x200000000000000L, active1, 0L, active2, 0L);
813 return jjMoveStringLiteralDfa3_1(active0, 0x440000000000L, active1, 0L, active2, 0L);
816 return jjMoveStringLiteralDfa3_1(active0, 0x6000040000L, active1, 0L, active2, 0L);
819 return jjMoveStringLiteralDfa3_1(active0, 0x4c00000040000000L, active1, 0L, active2, 0L);
822 return jjMoveStringLiteralDfa3_1(active0, 0x1000000000000L, active1, 0L, active2, 0L);
825 return jjMoveStringLiteralDfa3_1(active0, 0x28000000L, active1, 0L, active2, 0L);
828 if ((active0 & 0x80000L) != 0L)
829 return jjStartNfaWithStates_1(2, 19, 14);
830 else if ((active0 & 0x80000000000L) != 0L)
835 return jjMoveStringLiteralDfa3_1(active0, 0x140000000800000L, active1, 0L, active2, 0L);
838 return jjMoveStringLiteralDfa3_1(active0, 0x1000600000L, active1, 0L, active2, 0L);
841 if ((active0 & 0x8000000000000000L) != 0L)
846 return jjMoveStringLiteralDfa3_1(active0, 0x920000000000L, active1, 0x1L, active2, 0L);
849 return jjMoveStringLiteralDfa3_1(active0, 0x2008000000000000L, active1, 0L, active2, 0L);
852 if ((active0 & 0x200000000000L) != 0L)
853 return jjStartNfaWithStates_1(2, 45, 14);
858 return jjStartNfa_1(1, active0, active1, active2);
860 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
862 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
863 return jjStartNfa_1(1, old0, old1, old2);
864 try { curChar = input_stream.readChar(); }
865 catch(java.io.IOException e) {
866 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
873 return jjMoveStringLiteralDfa4_1(active0, 0x4000008800800000L, active1, 0L);
876 return jjMoveStringLiteralDfa4_1(active0, 0x2000000040000000L, active1, 0L);
879 return jjMoveStringLiteralDfa4_1(active0, 0x40000L, active1, 0L);
882 if ((active0 & 0x400000L) != 0L)
887 else if ((active0 & 0x1000000000L) != 0L)
888 return jjStartNfaWithStates_1(3, 36, 14);
889 else if ((active0 & 0x8000000000000L) != 0L)
890 return jjStartNfaWithStates_1(3, 51, 14);
891 return jjMoveStringLiteralDfa4_1(active0, 0x241020000200000L, active1, 0x1L);
894 return jjMoveStringLiteralDfa4_1(active0, 0x100000000000000L, active1, 0L);
897 if ((active0 & 0x400000000000L) != 0L)
898 return jjStartNfaWithStates_1(3, 46, 14);
899 else if ((active0 & 0x400000000000000L) != 0L)
904 else if ((active0 & 0x1000000000000000L) != 0L)
905 return jjStartNfaWithStates_1(3, 60, 14);
906 return jjMoveStringLiteralDfa4_1(active0, 0x810000014000000L, active1, 0L);
909 return jjMoveStringLiteralDfa4_1(active0, 0x1000000L, active1, 0L);
912 if ((active0 & 0x2000000L) != 0L)
913 return jjStartNfaWithStates_1(3, 25, 14);
914 else if ((active0 & 0x100000000000L) != 0L)
915 return jjStartNfaWithStates_1(3, 44, 14);
919 if ((active0 & 0x4000000000000L) != 0L)
920 return jjStartNfaWithStates_1(3, 50, 14);
921 return jjMoveStringLiteralDfa4_1(active0, 0x42000020000L, active1, 0L);
924 return jjMoveStringLiteralDfa4_1(active0, 0x2004080000000L, active1, 0L);
927 return jjMoveStringLiteralDfa4_1(active0, 0x800028000000L, active1, 0L);
930 return jjMoveStringLiteralDfa4_1(active0, 0x20000000000000L, active1, 0L);
934 return jjStartNfa_1(2, active0, active1, 0L);
936 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
938 if (((active0 &= old0) | (active1 &= old1)) == 0L)
939 return jjStartNfa_1(2, old0, old1, 0L);
940 try { curChar = input_stream.readChar(); }
941 catch(java.io.IOException e) {
942 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
949 return jjMoveStringLiteralDfa5_1(active0, 0x40000040000000L, active1, 0L);
952 return jjMoveStringLiteralDfa5_1(active0, 0x202000000000000L, active1, 0L);
955 if ((active0 & 0x40000000000L) != 0L)
956 return jjStartNfaWithStates_1(4, 42, 14);
957 else if ((active0 & 0x10000000000000L) != 0L)
958 return jjStartNfaWithStates_1(4, 52, 14);
959 return jjMoveStringLiteralDfa5_1(active0, 0x800000000000000L, active1, 0L);
962 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x1L);
965 return jjMoveStringLiteralDfa5_1(active0, 0x20000000000000L, active1, 0L);
968 return jjMoveStringLiteralDfa5_1(active0, 0x40a8200000L, active1, 0L);
971 if ((active0 & 0x800000000L) != 0L)
972 return jjStartNfaWithStates_1(4, 35, 14);
976 return jjMoveStringLiteralDfa5_1(active0, 0x2000000000000000L, active1, 0L);
979 return jjMoveStringLiteralDfa5_1(active0, 0x100020000000000L, active1, 0L);
982 if ((active0 & 0x1000000000000L) != 0L)
983 return jjStartNfaWithStates_1(4, 48, 14);
984 return jjMoveStringLiteralDfa5_1(active0, 0x800000000000L, active1, 0L);
987 if ((active0 & 0x20000L) != 0L)
988 return jjStartNfaWithStates_1(4, 17, 14);
992 if ((active0 & 0x1000000L) != 0L)
993 return jjStartNfaWithStates_1(4, 24, 14);
994 else if ((active0 & 0x2000000000L) != 0L)
995 return jjStartNfaWithStates_1(4, 37, 14);
996 else if ((active0 & 0x4000000000000000L) != 0L)
997 return jjStartNfaWithStates_1(4, 62, 14);
998 return jjMoveStringLiteralDfa5_1(active0, 0x40000L, active1, 0L);
1001 return jjMoveStringLiteralDfa5_1(active0, 0x8014000000L, active1, 0L);
1004 if ((active0 & 0x800000L) != 0L)
1005 return jjStartNfaWithStates_1(4, 23, 14);
1010 return jjStartNfa_1(3, active0, active1, 0L);
1012 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
1014 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1015 return jjStartNfa_1(3, old0, old1, 0L);
1016 try { curChar = input_stream.readChar(); }
1017 catch(java.io.IOException e) {
1018 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1025 return jjMoveStringLiteralDfa6_1(active0, 0x800000000000000L, active1, 0L);
1028 if ((active0 & 0x80000000L) != 0L)
1029 return jjStartNfaWithStates_1(5, 31, 14);
1030 return jjMoveStringLiteralDfa6_1(active0, 0x40000000000000L, active1, 0L);
1033 return jjMoveStringLiteralDfa6_1(active0, 0x20014000000L, active1, 0L);
1036 if ((active0 & 0x2000000000000000L) != 0L)
1037 return jjStartNfaWithStates_1(5, 61, 14);
1038 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x1L);
1041 if ((active0 & 0x200000L) != 0L)
1042 return jjStartNfaWithStates_1(5, 21, 14);
1046 if ((active0 & 0x100000000000000L) != 0L)
1047 return jjStartNfaWithStates_1(5, 56, 14);
1051 if ((active0 & 0x2000000000000L) != 0L)
1052 return jjStartNfaWithStates_1(5, 49, 14);
1056 return jjMoveStringLiteralDfa6_1(active0, 0x20000000040000L, active1, 0L);
1059 if ((active0 & 0x40000000L) != 0L)
1060 return jjStartNfaWithStates_1(5, 30, 14);
1061 return jjMoveStringLiteralDfa6_1(active0, 0x8000000000L, active1, 0L);
1064 if ((active0 & 0x800000000000L) != 0L)
1065 return jjStartNfaWithStates_1(5, 47, 14);
1066 return jjMoveStringLiteralDfa6_1(active0, 0x4000000000L, active1, 0L);
1069 return jjMoveStringLiteralDfa6_1(active0, 0x28000000L, active1, 0L);
1072 if ((active0 & 0x200000000000000L) != 0L)
1073 return jjStartNfaWithStates_1(5, 57, 14);
1078 return jjStartNfa_1(4, active0, active1, 0L);
1080 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1082 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1083 return jjStartNfa_1(4, old0, old1, 0L);
1084 try { curChar = input_stream.readChar(); }
1085 catch(java.io.IOException e) {
1086 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1093 if ((active0 & 0x4000000L) != 0L)
1098 else if ((active0 & 0x8000000L) != 0L)
1103 return jjMoveStringLiteralDfa7_1(active0, 0x30000000L, active1, 0L);
1106 if ((active0 & 0x40000000000000L) != 0L)
1107 return jjStartNfaWithStates_1(6, 54, 14);
1111 return jjMoveStringLiteralDfa7_1(active0, 0x20000000000000L, active1, 0L);
1114 if ((active0 & 0x800000000000000L) != 0L)
1115 return jjStartNfaWithStates_1(6, 59, 14);
1119 return jjMoveStringLiteralDfa7_1(active0, 0x40000L, active1, 0L);
1122 if ((active1 & 0x1L) != 0L)
1123 return jjStartNfaWithStates_1(6, 64, 14);
1127 if ((active0 & 0x20000000000L) != 0L)
1128 return jjStartNfaWithStates_1(6, 41, 14);
1132 if ((active0 & 0x8000000000L) != 0L)
1133 return jjStartNfaWithStates_1(6, 39, 14);
1137 return jjMoveStringLiteralDfa7_1(active0, 0x4000000000L, active1, 0L);
1141 return jjStartNfa_1(5, active0, active1, 0L);
1143 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1145 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1146 return jjStartNfa_1(5, old0, old1, 0L);
1147 try { curChar = input_stream.readChar(); }
1148 catch(java.io.IOException e) {
1149 jjStopStringLiteralDfa_1(6, active0, 0L, 0L);
1155 return jjMoveStringLiteralDfa8_1(active0, 0x30000000L);
1158 if ((active0 & 0x4000000000L) != 0L)
1159 return jjStartNfaWithStates_1(7, 38, 14);
1160 else if ((active0 & 0x20000000000000L) != 0L)
1161 return jjStartNfaWithStates_1(7, 53, 14);
1165 if ((active0 & 0x40000L) != 0L)
1166 return jjStartNfaWithStates_1(7, 18, 14);
1171 return jjStartNfa_1(6, active0, 0L, 0L);
1173 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0)
1175 if (((active0 &= old0)) == 0L)
1176 return jjStartNfa_1(6, old0, 0L, 0L);
1177 try { curChar = input_stream.readChar(); }
1178 catch(java.io.IOException e) {
1179 jjStopStringLiteralDfa_1(7, active0, 0L, 0L);
1186 return jjMoveStringLiteralDfa9_1(active0, 0x30000000L);
1190 return jjStartNfa_1(7, active0, 0L, 0L);
1192 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0)
1194 if (((active0 &= old0)) == 0L)
1195 return jjStartNfa_1(7, old0, 0L, 0L);
1196 try { curChar = input_stream.readChar(); }
1197 catch(java.io.IOException e) {
1198 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1205 return jjMoveStringLiteralDfa10_1(active0, 0x30000000L);
1209 return jjStartNfa_1(8, active0, 0L, 0L);
1211 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1213 if (((active0 &= old0)) == 0L)
1214 return jjStartNfa_1(8, old0, 0L, 0L);
1215 try { curChar = input_stream.readChar(); }
1216 catch(java.io.IOException e) {
1217 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1224 return jjMoveStringLiteralDfa11_1(active0, 0x30000000L);
1228 return jjStartNfa_1(9, active0, 0L, 0L);
1230 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1232 if (((active0 &= old0)) == 0L)
1233 return jjStartNfa_1(9, old0, 0L, 0L);
1234 try { curChar = input_stream.readChar(); }
1235 catch(java.io.IOException e) {
1236 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1243 if ((active0 & 0x10000000L) != 0L)
1244 return jjStartNfaWithStates_1(11, 28, 14);
1245 else if ((active0 & 0x20000000L) != 0L)
1246 return jjStartNfaWithStates_1(11, 29, 14);
1251 return jjStartNfa_1(10, active0, 0L, 0L);
1253 static final long[] jjbitVec0 = {
1254 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
1256 static private final int jjMoveNfa_1(int startState, int curPos)
1262 jjstateSet[0] = startState;
1263 int j, kind = 0x7fffffff;
1266 if (++jjround == 0x7fffffff)
1270 long l = 1L << curChar;
1273 switch(jjstateSet[--i])
1276 if ((0x3ff000000000000L & l) != 0L)
1277 jjCheckNAddStates(2, 8);
1278 else if (curChar == 39)
1279 jjCheckNAddStates(9, 14);
1280 else if (curChar == 34)
1281 jjCheckNAddStates(15, 20);
1282 else if (curChar == 36)
1283 jjstateSet[jjnewStateCnt++] = 16;
1284 else if (curChar == 46)
1286 else if (curChar == 47)
1287 jjstateSet[jjnewStateCnt++] = 2;
1288 if ((0x3fe000000000000L & l) != 0L)
1292 jjCheckNAddTwoStates(5, 6);
1294 else if (curChar == 48)
1298 jjCheckNAddStates(21, 23);
1303 jjstateSet[jjnewStateCnt++] = 1;
1306 if ((0xffff7fffffffffffL & l) != 0L && kind > 10)
1311 jjstateSet[jjnewStateCnt++] = 0;
1314 if ((0x3fe000000000000L & l) == 0L)
1318 jjCheckNAddTwoStates(5, 6);
1321 if ((0x3ff000000000000L & l) == 0L)
1325 jjCheckNAddTwoStates(5, 6);
1332 if ((0x3ff000000000000L & l) == 0L)
1336 jjCheckNAddStates(24, 26);
1339 if ((0x280000000000L & l) != 0L)
1343 if ((0x3ff000000000000L & l) == 0L)
1347 jjCheckNAddTwoStates(11, 12);
1350 if ((0x3ff000000000000L & l) == 0L)
1354 jjstateSet[jjnewStateCnt++] = 14;
1358 jjstateSet[jjnewStateCnt++] = 16;
1361 if ((0x3ff000000000000L & l) == 0L)
1365 jjstateSet[jjnewStateCnt++] = 17;
1368 if ((0x3ff000000000000L & l) != 0L)
1369 jjCheckNAddStates(2, 8);
1372 if ((0x3ff000000000000L & l) != 0L)
1373 jjCheckNAddTwoStates(19, 20);
1380 jjCheckNAddStates(27, 29);
1383 if ((0x3ff000000000000L & l) == 0L)
1387 jjCheckNAddStates(27, 29);
1390 if ((0x280000000000L & l) != 0L)
1394 if ((0x3ff000000000000L & l) == 0L)
1398 jjCheckNAddTwoStates(24, 12);
1401 if ((0x3ff000000000000L & l) != 0L)
1402 jjCheckNAddTwoStates(25, 26);
1405 if ((0x280000000000L & l) != 0L)
1409 if ((0x3ff000000000000L & l) == 0L)
1413 jjCheckNAddTwoStates(28, 12);
1416 if ((0x3ff000000000000L & l) != 0L)
1417 jjCheckNAddStates(30, 32);
1420 if ((0x280000000000L & l) != 0L)
1424 if ((0x3ff000000000000L & l) != 0L)
1425 jjCheckNAddTwoStates(32, 12);
1432 jjCheckNAddStates(21, 23);
1435 if ((0x3ff000000000000L & l) == 0L)
1439 jjCheckNAddTwoStates(35, 6);
1442 if ((0xff000000000000L & l) == 0L)
1446 jjCheckNAddTwoStates(36, 6);
1450 jjCheckNAddStates(15, 20);
1453 if ((0xfffffffbffffffffL & l) != 0L)
1454 jjCheckNAddStates(33, 35);
1458 jjCheckNAddStates(33, 35);
1461 if (curChar == 34 && kind > 73)
1465 if ((0xfffffffbffffffffL & l) != 0L)
1466 jjCheckNAddStates(36, 38);
1470 jjCheckNAddStates(36, 38);
1473 if (curChar == 34 && kind > 74)
1478 jjCheckNAddStates(9, 14);
1481 if ((0xffffff7fffffffffL & l) != 0L)
1482 jjCheckNAddStates(39, 41);
1486 jjCheckNAddStates(39, 41);
1489 if (curChar == 39 && kind > 73)
1493 if ((0xffffff7fffffffffL & l) != 0L)
1494 jjCheckNAddStates(42, 44);
1498 jjCheckNAddStates(42, 44);
1501 if (curChar == 39 && kind > 75)
1505 jjAddStates(45, 47);
1508 jjAddStates(48, 50);
1512 } while(i != startsAt);
1514 else if (curChar < 128)
1516 long l = 1L << (curChar & 077);
1519 switch(jjstateSet[--i])
1522 if ((0x87fffffe87fffffeL & l) != 0L)
1528 else if (curChar == 96)
1529 jjCheckNAddStates(51, 56);
1536 if ((0x100000001000L & l) != 0L && kind > 67)
1540 if ((0x2000000020L & l) != 0L)
1541 jjAddStates(57, 58);
1544 if ((0x5000000050L & l) != 0L && kind > 71)
1549 if ((0x87fffffe87fffffeL & l) == 0L)
1557 if ((0x87fffffe87fffffeL & l) == 0L)
1564 if ((0x2000000020L & l) != 0L)
1565 jjAddStates(59, 60);
1568 if ((0x2000000020L & l) != 0L)
1569 jjAddStates(61, 62);
1572 if ((0x2000000020L & l) != 0L)
1573 jjAddStates(63, 64);
1576 if ((0x100000001000000L & l) != 0L)
1580 if ((0x7e0000007eL & l) == 0L)
1584 jjCheckNAddTwoStates(35, 6);
1587 jjAddStates(33, 35);
1591 jjstateSet[jjnewStateCnt++] = 39;
1594 jjAddStates(36, 38);
1598 jjstateSet[jjnewStateCnt++] = 43;
1601 jjAddStates(39, 41);
1605 jjstateSet[jjnewStateCnt++] = 48;
1608 jjAddStates(42, 44);
1612 jjstateSet[jjnewStateCnt++] = 52;
1616 jjCheckNAddStates(51, 56);
1619 if ((0xfffffffeffffffffL & l) != 0L)
1620 jjCheckNAddStates(45, 47);
1624 jjCheckNAddStates(45, 47);
1628 jjstateSet[jjnewStateCnt++] = 57;
1631 if (curChar == 96 && kind > 73)
1635 if ((0xfffffffeffffffffL & l) != 0L)
1636 jjCheckNAddStates(48, 50);
1640 jjCheckNAddStates(48, 50);
1644 jjstateSet[jjnewStateCnt++] = 61;
1647 if (curChar == 96 && kind > 76)
1652 } while(i != startsAt);
1656 int i2 = (curChar & 0xff) >> 6;
1657 long l2 = 1L << (curChar & 077);
1660 switch(jjstateSet[--i])
1664 if ((jjbitVec0[i2] & l2) == 0L)
1671 if ((jjbitVec0[i2] & l2) != 0L && kind > 10)
1676 if ((jjbitVec0[i2] & l2) == 0L)
1683 if ((jjbitVec0[i2] & l2) != 0L)
1684 jjAddStates(33, 35);
1687 if ((jjbitVec0[i2] & l2) != 0L)
1688 jjAddStates(36, 38);
1691 if ((jjbitVec0[i2] & l2) != 0L)
1692 jjAddStates(39, 41);
1695 if ((jjbitVec0[i2] & l2) != 0L)
1696 jjAddStates(42, 44);
1699 if ((jjbitVec0[i2] & l2) != 0L)
1700 jjAddStates(45, 47);
1703 if ((jjbitVec0[i2] & l2) != 0L)
1704 jjAddStates(48, 50);
1708 } while(i != startsAt);
1710 if (kind != 0x7fffffff)
1712 jjmatchedKind = kind;
1713 jjmatchedPos = curPos;
1717 if ((i = jjnewStateCnt) == (startsAt = 64 - (jjnewStateCnt = startsAt)))
1719 try { curChar = input_stream.readChar(); }
1720 catch(java.io.IOException e) { return curPos; }
1723 static private final int jjMoveStringLiteralDfa0_3()
1728 return jjMoveStringLiteralDfa1_3(0x4000L);
1733 static private final int jjMoveStringLiteralDfa1_3(long active0)
1735 try { curChar = input_stream.readChar(); }
1736 catch(java.io.IOException e) {
1742 if ((active0 & 0x4000L) != 0L)
1743 return jjStopAtPos(1, 14);
1750 static final int[] jjnextStates = {
1751 4, 5, 19, 20, 25, 26, 29, 30, 12, 47, 49, 50, 51, 53, 54, 38,
1752 40, 41, 42, 44, 45, 34, 36, 6, 8, 9, 12, 21, 22, 12, 29, 30,
1753 12, 38, 40, 41, 42, 44, 45, 47, 49, 50, 51, 53, 54, 56, 58, 59,
1754 60, 62, 63, 56, 58, 59, 60, 62, 63, 10, 11, 23, 24, 27, 28, 31,
1757 public static final String[] jjstrLiteralImages = {
1758 "", null, "\77\76", null, null, null, null, null, null, null, null, null, null,
1759 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1760 null, null, null, null, null, "\55\76", "\72\72", "\75\76", null, null, null, null,
1761 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1762 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1763 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1764 "\50", "\51", "\173", "\175", "\133", "\135", "\73", "\54", "\56", "\100", "\44",
1765 "\75", "\76", "\74", "\41", "\77", "\72", "\75\75", "\74\75", "\76\75", "\41\75",
1766 "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55", "\52", "\57", "\46", "\174",
1767 "\136", "\45", "\74\74", "\76\76", "\76\76\76", "\53\75", "\55\75", "\52\75",
1768 "\57\75", "\46\75", "\174\75", "\136\75", "\56\75", "\45\75", "\74\74\75", "\76\76\75",
1769 "\41\75\75", "\75\75\75", "\176\75", null, "\77\76", };
1770 public static final String[] lexStateNames = {
1773 "IN_SINGLE_LINE_COMMENT",
1774 "IN_FORMAL_COMMENT",
1775 "IN_MULTI_LINE_COMMENT",
1777 public static final int[] jjnewLexState = {
1778 -1, 1, 0, -1, -1, -1, -1, -1, -1, 2, 3, 4, 1, 0, 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1779 -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,
1780 -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,
1781 -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,
1782 -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,
1783 -1, -1, -1, -1, -1, -1, -1, -1,
1785 static final long[] jjtoToken = {
1786 0xfffffffffffe2007L, 0xfffffffffffe3e8fL, 0x1fL,
1788 static final long[] jjtoSkip = {
1789 0xd1f8L, 0x0L, 0x0L,
1791 static final long[] jjtoSpecial = {
1792 0xd000L, 0x0L, 0x0L,
1794 static final long[] jjtoMore = {
1795 0x10e00L, 0x0L, 0x0L,
1797 static protected SimpleCharStream input_stream;
1798 static private final int[] jjrounds = new int[64];
1799 static private final int[] jjstateSet = new int[128];
1800 static StringBuffer image;
1801 static int jjimageLen;
1802 static int lengthOfMatch;
1803 static protected char curChar;
1804 public PHPParserTokenManager(SimpleCharStream stream)
1806 if (input_stream != null)
1807 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
1808 input_stream = stream;
1810 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
1815 static public void ReInit(SimpleCharStream stream)
1817 jjmatchedPos = jjnewStateCnt = 0;
1818 curLexState = defaultLexState;
1819 input_stream = stream;
1822 static private final void ReInitRounds()
1825 jjround = 0x80000001;
1826 for (i = 64; i-- > 0;)
1827 jjrounds[i] = 0x80000000;
1829 static public void ReInit(SimpleCharStream stream, int lexState)
1834 static public void SwitchTo(int lexState)
1836 if (lexState >= 5 || lexState < 0)
1837 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
1839 curLexState = lexState;
1842 static protected Token jjFillToken()
1844 Token t = Token.newToken(jjmatchedKind);
1845 t.kind = jjmatchedKind;
1846 String im = jjstrLiteralImages[jjmatchedKind];
1847 t.image = (im == null) ? input_stream.GetImage() : im;
1848 t.beginLine = input_stream.getBeginLine();
1849 t.beginColumn = input_stream.getBeginColumn();
1850 t.endLine = input_stream.getEndLine();
1851 t.endColumn = input_stream.getEndColumn();
1855 static int curLexState = 0;
1856 static int defaultLexState = 0;
1857 static int jjnewStateCnt;
1859 static int jjmatchedPos;
1860 static int jjmatchedKind;
1862 public static Token getNextToken()
1865 Token specialToken = null;
1874 curChar = input_stream.BeginToken();
1876 catch(java.io.IOException e)
1879 matchedToken = jjFillToken();
1880 matchedToken.specialToken = specialToken;
1881 return matchedToken;
1891 jjmatchedKind = 0x7fffffff;
1893 curPos = jjMoveStringLiteralDfa0_0();
1894 if (jjmatchedPos == 0 && jjmatchedKind > 3)
1900 try { input_stream.backup(0);
1901 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
1902 curChar = input_stream.BeginToken();
1904 catch (java.io.IOException e1) { continue EOFLoop; }
1905 jjmatchedKind = 0x7fffffff;
1907 curPos = jjMoveStringLiteralDfa0_1();
1910 jjmatchedKind = 0x7fffffff;
1912 curPos = jjMoveStringLiteralDfa0_2();
1913 if (jjmatchedPos == 0 && jjmatchedKind > 16)
1919 jjmatchedKind = 0x7fffffff;
1921 curPos = jjMoveStringLiteralDfa0_3();
1922 if (jjmatchedPos == 0 && jjmatchedKind > 16)
1928 jjmatchedKind = 0x7fffffff;
1930 curPos = jjMoveStringLiteralDfa0_4();
1931 if (jjmatchedPos == 0 && jjmatchedKind > 16)
1937 if (jjmatchedKind != 0x7fffffff)
1939 if (jjmatchedPos + 1 < curPos)
1940 input_stream.backup(curPos - jjmatchedPos - 1);
1941 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1943 matchedToken = jjFillToken();
1944 matchedToken.specialToken = specialToken;
1945 if (jjnewLexState[jjmatchedKind] != -1)
1946 curLexState = jjnewLexState[jjmatchedKind];
1947 return matchedToken;
1949 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1951 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
1953 matchedToken = jjFillToken();
1954 if (specialToken == null)
1955 specialToken = matchedToken;
1958 matchedToken.specialToken = specialToken;
1959 specialToken = (specialToken.next = matchedToken);
1961 SkipLexicalActions(matchedToken);
1964 SkipLexicalActions(null);
1965 if (jjnewLexState[jjmatchedKind] != -1)
1966 curLexState = jjnewLexState[jjmatchedKind];
1969 MoreLexicalActions();
1970 if (jjnewLexState[jjmatchedKind] != -1)
1971 curLexState = jjnewLexState[jjmatchedKind];
1973 jjmatchedKind = 0x7fffffff;
1975 curChar = input_stream.readChar();
1978 catch (java.io.IOException e1) { }
1980 int error_line = input_stream.getEndLine();
1981 int error_column = input_stream.getEndColumn();
1982 String error_after = null;
1983 boolean EOFSeen = false;
1984 try { input_stream.readChar(); input_stream.backup(1); }
1985 catch (java.io.IOException e1) {
1987 error_after = curPos <= 1 ? "" : input_stream.GetImage();
1988 if (curChar == '\n' || curChar == '\r') {
1996 input_stream.backup(1);
1997 error_after = curPos <= 1 ? "" : input_stream.GetImage();
1999 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
2004 static void SkipLexicalActions(Token matchedToken)
2006 switch(jjmatchedKind)
2012 static void MoreLexicalActions()
2014 jjimageLen += (lengthOfMatch = jjmatchedPos + 1);
2015 switch(jjmatchedKind)
2019 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen)));
2021 image.append(new String(input_stream.GetSuffix(jjimageLen)));
2023 input_stream.backup(1);