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.ArrayList;
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.ast.*;
16 import net.sourceforge.phpdt.internal.compiler.parser.OutlineableWithChildren;
17 import net.sourceforge.phpdt.internal.compiler.parser.Outlineable;
18 import net.sourceforge.phpdt.internal.compiler.parser.PHPOutlineInfo;
19 import net.sourceforge.phpdt.internal.corext.Assert;
21 public class PHPParserTokenManager implements PHPParserConstants
23 public static java.io.PrintStream debugStream = System.out;
24 public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
25 static private final int jjStopAtPos(int pos, int kind)
31 static private final int jjMoveStringLiteralDfa0_0()
36 return jjMoveStringLiteralDfa1_0(0xeL);
41 static private final int jjMoveStringLiteralDfa1_0(long active0)
43 try { curChar = input_stream.readChar(); }
44 catch(java.io.IOException e) {
50 if ((active0 & 0x2L) != 0L)
55 return jjMoveStringLiteralDfa2_0(active0, 0xcL);
60 static private final int jjMoveStringLiteralDfa2_0(long old0, long active0)
62 if (((active0 &= old0)) == 0L)
64 try { curChar = input_stream.readChar(); }
65 catch(java.io.IOException e) {
71 if ((active0 & 0x8L) != 0L)
72 return jjStopAtPos(2, 3);
76 return jjMoveStringLiteralDfa3_0(active0, 0x4L);
82 static private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
84 if (((active0 &= old0)) == 0L)
86 try { curChar = input_stream.readChar(); }
87 catch(java.io.IOException e) {
94 return jjMoveStringLiteralDfa4_0(active0, 0x4L);
99 static private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
101 if (((active0 &= old0)) == 0L)
103 try { curChar = input_stream.readChar(); }
104 catch(java.io.IOException e) {
111 if ((active0 & 0x4L) != 0L)
112 return jjStopAtPos(4, 2);
119 static private final int jjMoveStringLiteralDfa0_4()
124 return jjMoveStringLiteralDfa1_4(0x80000L);
127 return jjMoveStringLiteralDfa1_4(0x20000L);
132 static private final int jjMoveStringLiteralDfa1_4(long active0)
134 try { curChar = input_stream.readChar(); }
135 catch(java.io.IOException e) {
141 if ((active0 & 0x80000L) != 0L)
142 return jjStopAtPos(1, 19);
146 return jjMoveStringLiteralDfa2_4(active0, 0x20000L);
152 static private final int jjMoveStringLiteralDfa2_4(long old0, long active0)
154 if (((active0 &= old0)) == 0L)
156 try { curChar = input_stream.readChar(); }
157 catch(java.io.IOException e) {
164 return jjMoveStringLiteralDfa3_4(active0, 0x20000L);
169 static private final int jjMoveStringLiteralDfa3_4(long old0, long active0)
171 if (((active0 &= old0)) == 0L)
173 try { curChar = input_stream.readChar(); }
174 catch(java.io.IOException e) {
181 if ((active0 & 0x20000L) != 0L)
182 return jjStopAtPos(3, 17);
189 private static final int jjStopStringLiteralDfa_2(int pos, long active0)
197 private static final int jjStartNfa_2(int pos, long active0)
199 return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
201 static private final int jjStartNfaWithStates_2(int pos, int kind, int state)
203 jjmatchedKind = kind;
205 try { curChar = input_stream.readChar(); }
206 catch(java.io.IOException e) { return pos + 1; }
207 return jjMoveNfa_2(state, pos + 1);
209 static private final int jjMoveStringLiteralDfa0_2()
214 return jjMoveStringLiteralDfa1_2(0x10000L);
217 return jjMoveStringLiteralDfa1_2(0x20000L);
219 return jjMoveNfa_2(0, 0);
222 static private final int jjMoveStringLiteralDfa1_2(long active0)
224 try { curChar = input_stream.readChar(); }
225 catch(java.io.IOException e) {
226 jjStopStringLiteralDfa_2(0, active0);
232 if ((active0 & 0x10000L) != 0L)
233 return jjStopAtPos(1, 16);
237 return jjMoveStringLiteralDfa2_2(active0, 0x20000L);
241 return jjStartNfa_2(0, active0);
243 static private final int jjMoveStringLiteralDfa2_2(long old0, long active0)
245 if (((active0 &= old0)) == 0L)
246 return jjStartNfa_2(0, old0);
247 try { curChar = input_stream.readChar(); }
248 catch(java.io.IOException e) {
249 jjStopStringLiteralDfa_2(1, active0);
256 return jjMoveStringLiteralDfa3_2(active0, 0x20000L);
260 return jjStartNfa_2(1, active0);
262 static private final int jjMoveStringLiteralDfa3_2(long old0, long active0)
264 if (((active0 &= old0)) == 0L)
265 return jjStartNfa_2(1, old0);
266 try { curChar = input_stream.readChar(); }
267 catch(java.io.IOException e) {
268 jjStopStringLiteralDfa_2(2, active0);
275 if ((active0 & 0x20000L) != 0L)
276 return jjStopAtPos(3, 17);
281 return jjStartNfa_2(2, active0);
283 static private final void jjCheckNAdd(int state)
285 if (jjrounds[state] != jjround)
287 jjstateSet[jjnewStateCnt++] = state;
288 jjrounds[state] = jjround;
291 static private final void jjAddStates(int start, int end)
294 jjstateSet[jjnewStateCnt++] = jjnextStates[start];
295 } while (start++ != end);
297 static private final void jjCheckNAddTwoStates(int state1, int state2)
302 static private final void jjCheckNAddStates(int start, int end)
305 jjCheckNAdd(jjnextStates[start]);
306 } while (start++ != end);
308 static private final void jjCheckNAddStates(int start)
310 jjCheckNAdd(jjnextStates[start]);
311 jjCheckNAdd(jjnextStates[start + 1]);
313 static private final int jjMoveNfa_2(int startState, int curPos)
319 jjstateSet[0] = startState;
320 int j, kind = 0x7fffffff;
323 if (++jjround == 0x7fffffff)
327 long l = 1L << curChar;
330 switch(jjstateSet[--i])
333 if ((0x2400L & l) != 0L)
339 jjstateSet[jjnewStateCnt++] = 1;
342 if (curChar == 10 && kind > 15)
347 jjstateSet[jjnewStateCnt++] = 1;
351 } while(i != startsAt);
353 else if (curChar < 128)
355 long l = 1L << (curChar & 077);
358 switch(jjstateSet[--i])
362 } while(i != startsAt);
366 int i2 = (curChar & 0xff) >> 6;
367 long l2 = 1L << (curChar & 077);
370 switch(jjstateSet[--i])
374 } while(i != startsAt);
376 if (kind != 0x7fffffff)
378 jjmatchedKind = kind;
379 jjmatchedPos = curPos;
383 if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
385 try { curChar = input_stream.readChar(); }
386 catch(java.io.IOException e) { return curPos; }
389 private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1, long active2)
394 if ((active0 & 0x4800L) != 0L || (active1 & 0x800000L) != 0L || (active2 & 0x20L) != 0L)
396 if ((active1 & 0x800L) != 0L)
398 if ((active1 & 0x80000000000000L) != 0L || (active2 & 0x200L) != 0L)
400 if ((active0 & 0xfffffc7fffe00000L) != 0L || (active1 & 0x1800003ffL) != 0L)
407 if ((active0 & 0x4000L) != 0L)
409 if ((active0 & 0x400001000000L) != 0L || (active1 & 0x80000041L) != 0L)
411 if ((active0 & 0xffffbc7ffee00000L) != 0L || (active1 & 0x1000003beL) != 0L)
413 if (jjmatchedPos != 1)
422 if ((active0 & 0x8005000000800000L) != 0L || (active1 & 0x100000300L) != 0L)
424 if ((active0 & 0x7ffabc7ffe600000L) != 0L || (active1 & 0xfeL) != 0L)
426 if (jjmatchedPos != 2)
435 if ((active0 & 0x18a0400a6000000L) != 0L || (active1 & 0x38L) != 0L)
437 if ((active0 & 0xfe70b87f58600000L) != 0L || (active1 & 0x2c6L) != 0L)
439 if (jjmatchedPos != 3)
448 if ((active0 & 0x2620080058200000L) != 0L || (active1 & 0x80L) != 0L)
450 if ((active0 & 0xd850b07f02400000L) != 0L || (active1 & 0x256L) != 0L)
458 if ((active0 & 0x4050007002000000L) != 0L || (active1 & 0x46L) != 0L)
460 if ((active0 & 0x9800b00f00400000L) != 0L || (active1 & 0x210L) != 0L)
468 if ((active0 & 0x8000a00f00000000L) != 0L || (active1 & 0x210L) != 0L)
470 if ((active0 & 0x1800100000400000L) != 0L)
472 if (jjmatchedPos != 6)
481 if ((active0 & 0x800100000400000L) != 0L)
483 if ((active0 & 0x1000000c00000000L) != 0L)
491 if ((active0 & 0xc00000000L) != 0L)
497 if ((active0 & 0x1000000000000000L) != 0L)
501 if ((active0 & 0xc00000000L) != 0L)
509 if ((active0 & 0xc00000000L) != 0L)
520 private static final int jjStartNfa_1(int pos, long active0, long active1, long active2)
522 return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1, active2), pos + 1);
524 static private final int jjStartNfaWithStates_1(int pos, int kind, int state)
526 jjmatchedKind = kind;
528 try { curChar = input_stream.readChar(); }
529 catch(java.io.IOException e) { return pos + 1; }
530 return jjMoveNfa_1(state, pos + 1);
532 static private final int jjMoveStringLiteralDfa0_1()
538 return jjMoveStringLiteralDfa1_1(0x0L, 0xa000000000000000L, 0x0L);
540 return jjStopAtPos(0, 12);
542 return jjStartNfaWithStates_1(0, 75, 16);
545 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x400L);
548 return jjMoveStringLiteralDfa1_1(0x0L, 0x20000L, 0x40L);
550 return jjStopAtPos(0, 111);
552 return jjStopAtPos(0, 112);
555 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x10L);
558 return jjMoveStringLiteralDfa1_1(0x0L, 0x40000L, 0x4L);
560 return jjStopAtPos(0, 118);
563 return jjMoveStringLiteralDfa1_1(0x8000000000L, 0x80000L, 0x8L);
566 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x200L);
569 return jjMoveStringLiteralDfa1_1(0x4800L, 0x0L, 0x20L);
572 return jjMoveStringLiteralDfa1_1(0x10000000000L, 0x0L, 0x0L);
574 return jjStopAtPos(0, 117);
577 return jjMoveStringLiteralDfa1_1(0x0L, 0x4800000010000000L, 0x1000L);
580 return jjMoveStringLiteralDfa1_1(0x20000000000L, 0x400000000000000L, 0x1L);
583 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000000060000000L, 0x2000L);
586 return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L);
588 return jjStopAtPos(0, 74);
590 return jjStopAtPos(0, 115);
592 return jjStopAtPos(0, 116);
595 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x100L);
598 return jjMoveStringLiteralDfa1_1(0x8000000L, 0x100000001L, 0x0L);
601 return jjMoveStringLiteralDfa1_1(0x10000000L, 0x18L, 0x0L);
604 return jjMoveStringLiteralDfa1_1(0x1c0000200000L, 0x0L, 0x0L);
607 return jjMoveStringLiteralDfa1_1(0x602000000000L, 0x40L, 0x0L);
610 return jjMoveStringLiteralDfa1_1(0x7800800086000000L, 0x0L, 0x0L);
613 return jjMoveStringLiteralDfa1_1(0x8201000000400000L, 0x80L, 0x0L);
616 return jjMoveStringLiteralDfa1_1(0x2001000000000L, 0x0L, 0x0L);
619 return jjMoveStringLiteralDfa1_1(0x501000000L, 0x300L, 0x0L);
622 return jjMoveStringLiteralDfa1_1(0x20000000L, 0x0L, 0x0L);
625 return jjMoveStringLiteralDfa1_1(0xc000000000000L, 0x0L, 0x0L);
628 return jjMoveStringLiteralDfa1_1(0x0L, 0x80000004L, 0x0L);
631 return jjMoveStringLiteralDfa1_1(0x40000000L, 0x0L, 0x0L);
634 return jjMoveStringLiteralDfa1_1(0x10000a00000000L, 0x20L, 0x0L);
637 return jjMoveStringLiteralDfa1_1(0x60004000000000L, 0x2L, 0x0L);
640 return jjMoveStringLiteralDfa1_1(0x180000000000000L, 0x0L, 0x0L);
643 return jjMoveStringLiteralDfa1_1(0x800000L, 0x0L, 0x0L);
646 return jjMoveStringLiteralDfa1_1(0x400000000000000L, 0x0L, 0x0L);
648 return jjStopAtPos(0, 113);
651 return jjMoveStringLiteralDfa1_1(0x0L, 0x10000L, 0x80L);
653 return jjStopAtPos(0, 114);
656 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x800L);
658 return jjMoveNfa_1(3, 0);
661 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
663 try { curChar = input_stream.readChar(); }
664 catch(java.io.IOException e) {
665 jjStopStringLiteralDfa_1(0, active0, active1, active2);
671 if ((active1 & 0x20000L) != 0L)
672 return jjStopAtPos(1, 81);
675 if ((active0 & 0x4000L) != 0L)
676 return jjStartNfaWithStates_1(1, 14, 0);
679 if ((active1 & 0x40000L) != 0L)
680 return jjStopAtPos(1, 82);
683 if ((active1 & 0x80000L) != 0L)
684 return jjStopAtPos(1, 83);
687 if ((active0 & 0x800L) != 0L)
688 return jjStopAtPos(1, 11);
691 if ((active0 & 0x10000000000L) != 0L)
692 return jjStopAtPos(1, 40);
695 if ((active1 & 0x10000000L) != 0L)
700 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x1000L);
702 if ((active1 & 0x400000000000000L) != 0L)
707 else if ((active1 & 0x800000000000000L) != 0L)
708 return jjStopAtPos(1, 123);
709 else if ((active1 & 0x1000000000000000L) != 0L)
710 return jjStopAtPos(1, 124);
711 else if ((active1 & 0x2000000000000000L) != 0L)
716 else if ((active2 & 0x4L) != 0L)
717 return jjStopAtPos(1, 130);
718 else if ((active2 & 0x8L) != 0L)
719 return jjStopAtPos(1, 131);
720 else if ((active2 & 0x10L) != 0L)
721 return jjStopAtPos(1, 132);
722 else if ((active2 & 0x20L) != 0L)
723 return jjStopAtPos(1, 133);
724 else if ((active2 & 0x40L) != 0L)
725 return jjStopAtPos(1, 134);
726 else if ((active2 & 0x80L) != 0L)
727 return jjStopAtPos(1, 135);
728 else if ((active2 & 0x100L) != 0L)
729 return jjStopAtPos(1, 136);
730 else if ((active2 & 0x200L) != 0L)
731 return jjStopAtPos(1, 137);
732 else if ((active2 & 0x400L) != 0L)
733 return jjStopAtPos(1, 138);
734 else if ((active2 & 0x800L) != 0L)
735 return jjStopAtPos(1, 139);
736 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x8000000000000000L, active2, 0x1L);
738 if ((active0 & 0x10L) != 0L)
739 return jjStopAtPos(1, 4);
740 else if ((active0 & 0x8000000000L) != 0L)
741 return jjStopAtPos(1, 39);
742 else if ((active0 & 0x20000000000L) != 0L)
743 return jjStopAtPos(1, 41);
744 else if ((active1 & 0x20000000L) != 0L)
749 else if ((active1 & 0x4000000000000000L) != 0L)
750 return jjStopAtPos(1, 126);
751 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x40000000L, active2, 0x2000L);
754 return jjMoveStringLiteralDfa2_1(active0, 0x200040000800000L, active1, 0L, active2, 0L);
757 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x4L, active2, 0L);
760 return jjMoveStringLiteralDfa2_1(active0, 0x80000000L, active1, 0L, active2, 0L);
763 return jjMoveStringLiteralDfa2_1(active0, 0x14202a00000000L, active1, 0x20L, active2, 0L);
766 if ((active0 & 0x1000000L) != 0L)
767 return jjStartNfaWithStates_1(1, 24, 14);
771 return jjMoveStringLiteralDfa2_1(active0, 0x480000000000000L, active1, 0L, active2, 0L);
774 return jjMoveStringLiteralDfa2_1(active0, 0x20000000L, active1, 0L, active2, 0L);
777 return jjMoveStringLiteralDfa2_1(active0, 0x1006200000L, active1, 0x80L, active2, 0L);
780 return jjMoveStringLiteralDfa2_1(active0, 0x7800000500000000L, active1, 0x100000300L, active2, 0L);
783 if ((active0 & 0x400000000000L) != 0L)
788 return jjMoveStringLiteralDfa2_1(active0, 0x8003180000000000L, active1, 0x58L, active2, 0L);
791 if ((active1 & 0x80000000L) != 0L)
792 return jjStartNfaWithStates_1(1, 95, 14);
793 return jjMoveStringLiteralDfa2_1(active0, 0x100000058000000L, active1, 0L, active2, 0L);
796 if ((active1 & 0x1L) != 0L)
797 return jjStartNfaWithStates_1(1, 64, 14);
801 return jjMoveStringLiteralDfa2_1(active0, 0x4000000000L, active1, 0x2L, active2, 0L);
804 return jjMoveStringLiteralDfa2_1(active0, 0x28000000400000L, active1, 0L, active2, 0L);
807 return jjMoveStringLiteralDfa2_1(active0, 0x40000000000000L, active1, 0L, active2, 0L);
810 return jjMoveStringLiteralDfa2_1(active0, 0x800000000000L, active1, 0L, active2, 0L);
812 if ((active1 & 0x10000L) != 0L)
813 return jjStopAtPos(1, 80);
818 return jjStartNfa_1(0, active0, active1, active2);
820 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
822 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
823 return jjStartNfa_1(0, old0, old1, old2);
824 try { curChar = input_stream.readChar(); }
825 catch(java.io.IOException e) {
826 jjStopStringLiteralDfa_1(1, active0, active1, active2);
832 if ((active1 & 0x8000000000000000L) != 0L)
833 return jjStopAtPos(2, 127);
834 else if ((active2 & 0x1L) != 0L)
835 return jjStopAtPos(2, 128);
836 else if ((active2 & 0x1000L) != 0L)
837 return jjStopAtPos(2, 140);
838 else if ((active2 & 0x2000L) != 0L)
839 return jjStopAtPos(2, 141);
842 if ((active1 & 0x40000000L) != 0L)
843 return jjStopAtPos(2, 94);
847 return jjMoveStringLiteralDfa3_1(active0, 0x4000200000L, active1, 0x20L, active2, 0L);
850 return jjMoveStringLiteralDfa3_1(active0, 0x500000000L, active1, 0L, active2, 0L);
853 if ((active1 & 0x100000000L) != 0L)
854 return jjStartNfaWithStates_1(2, 96, 14);
855 return jjMoveStringLiteralDfa3_1(active0, 0x7800000000000000L, active1, 0L, active2, 0L);
858 return jjMoveStringLiteralDfa3_1(active0, 0x10000000L, active1, 0L, active2, 0L);
861 return jjMoveStringLiteralDfa3_1(active0, 0x202000000000L, active1, 0L, active2, 0L);
864 return jjMoveStringLiteralDfa3_1(active0, 0x80000000L, active1, 0L, active2, 0L);
867 return jjMoveStringLiteralDfa3_1(active0, 0x4c0000040000000L, active1, 0L, active2, 0L);
870 return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x4L, active2, 0L);
873 return jjMoveStringLiteralDfa3_1(active0, 0x208000000000000L, active1, 0L, active2, 0L);
876 return jjMoveStringLiteralDfa3_1(active0, 0x180000400000L, active1, 0L, active2, 0L);
879 return jjMoveStringLiteralDfa3_1(active0, 0x1000000000L, active1, 0x98L, active2, 0L);
882 return jjMoveStringLiteralDfa3_1(active0, 0x20000000000000L, active1, 0L, active2, 0L);
885 return jjMoveStringLiteralDfa3_1(active0, 0xa00000000L, active1, 0L, active2, 0L);
888 if ((active0 & 0x800000L) != 0L)
889 return jjStartNfaWithStates_1(2, 23, 14);
890 else if ((active0 & 0x1000000000000L) != 0L)
895 return jjMoveStringLiteralDfa3_1(active0, 0x8000000008000000L, active1, 0x2L, active2, 0L);
898 return jjMoveStringLiteralDfa3_1(active0, 0x40026000000L, active1, 0L, active2, 0L);
901 if ((active1 & 0x100L) != 0L)
906 return jjMoveStringLiteralDfa3_1(active0, 0x12800000000000L, active1, 0x200L, active2, 0L);
909 return jjMoveStringLiteralDfa3_1(active0, 0x100000000000000L, active1, 0x40L, active2, 0L);
912 if ((active0 & 0x4000000000000L) != 0L)
913 return jjStartNfaWithStates_1(2, 50, 14);
918 return jjStartNfa_1(1, active0, active1, active2);
920 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
922 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
923 return jjStartNfa_1(1, old0, old1, old2);
924 try { curChar = input_stream.readChar(); }
925 catch(java.io.IOException e) {
926 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
933 return jjMoveStringLiteralDfa4_1(active0, 0x200018000000L, active1, 0x80L);
936 return jjMoveStringLiteralDfa4_1(active0, 0x1000000000L, active1, 0x40L);
939 return jjMoveStringLiteralDfa4_1(active0, 0x400000L, active1, 0L);
942 if ((active0 & 0x4000000L) != 0L)
947 else if ((active0 & 0x40000000000L) != 0L)
948 return jjStartNfaWithStates_1(3, 42, 14);
949 else if ((active0 & 0x100000000000000L) != 0L)
950 return jjStartNfaWithStates_1(3, 56, 14);
951 return jjMoveStringLiteralDfa4_1(active0, 0x8020800002000000L, active1, 0x204L);
954 return jjMoveStringLiteralDfa4_1(active0, 0x4000000000000000L, active1, 0L);
957 return jjMoveStringLiteralDfa4_1(active0, 0x2000002000000000L, active1, 0x2L);
960 if ((active0 & 0x8000000000000L) != 0L)
961 return jjStartNfaWithStates_1(3, 51, 14);
962 else if ((active1 & 0x8L) != 0L)
967 else if ((active1 & 0x20L) != 0L)
968 return jjStartNfaWithStates_1(3, 69, 14);
969 return jjMoveStringLiteralDfa4_1(active0, 0x400000500000000L, active1, 0x10L);
972 return jjMoveStringLiteralDfa4_1(active0, 0x40000000L, active1, 0L);
975 if ((active0 & 0x80000000L) != 0L)
976 return jjStartNfaWithStates_1(3, 31, 14);
977 else if ((active0 & 0x2000000000000L) != 0L)
978 return jjStartNfaWithStates_1(3, 49, 14);
982 if ((active0 & 0x80000000000000L) != 0L)
983 return jjStartNfaWithStates_1(3, 55, 14);
984 return jjMoveStringLiteralDfa4_1(active0, 0x1200080000200000L, active1, 0L);
987 if ((active0 & 0x20000000L) != 0L)
988 return jjStartNfaWithStates_1(3, 29, 14);
989 return jjMoveStringLiteralDfa4_1(active0, 0x40104000000000L, active1, 0L);
992 return jjMoveStringLiteralDfa4_1(active0, 0x10000a00000000L, active1, 0L);
995 return jjMoveStringLiteralDfa4_1(active0, 0x800000000000000L, active1, 0L);
999 return jjStartNfa_1(2, active0, active1, 0L);
1001 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
1003 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1004 return jjStartNfa_1(2, old0, old1, 0L);
1005 try { curChar = input_stream.readChar(); }
1006 catch(java.io.IOException e) {
1007 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
1014 return jjMoveStringLiteralDfa5_1(active0, 0x8000001000000000L, active1, 0L);
1017 return jjMoveStringLiteralDfa5_1(active0, 0x40000000000000L, active1, 0x4L);
1020 if ((active0 & 0x200000000000000L) != 0L)
1021 return jjStartNfaWithStates_1(4, 57, 14);
1022 else if ((active0 & 0x400000000000000L) != 0L)
1023 return jjStartNfaWithStates_1(4, 58, 14);
1024 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x10L);
1027 if ((active0 & 0x2000000000000000L) != 0L)
1028 return jjStartNfaWithStates_1(4, 61, 14);
1032 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x200L);
1035 return jjMoveStringLiteralDfa5_1(active0, 0x800000000000000L, active1, 0L);
1038 return jjMoveStringLiteralDfa5_1(active0, 0x104a02000000L, active1, 0L);
1041 if ((active0 & 0x10000000L) != 0L)
1042 return jjStartNfaWithStates_1(4, 28, 14);
1046 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x40L);
1049 return jjMoveStringLiteralDfa5_1(active0, 0x802000000000L, active1, 0x2L);
1052 return jjMoveStringLiteralDfa5_1(active0, 0x4000000000000000L, active1, 0L);
1055 if ((active0 & 0x20000000000000L) != 0L)
1056 return jjStartNfaWithStates_1(4, 53, 14);
1057 return jjMoveStringLiteralDfa5_1(active0, 0x10000000000000L, active1, 0L);
1060 if ((active0 & 0x200000L) != 0L)
1061 return jjStartNfaWithStates_1(4, 21, 14);
1065 if ((active0 & 0x40000000L) != 0L)
1066 return jjStartNfaWithStates_1(4, 30, 14);
1067 else if ((active0 & 0x80000000000L) != 0L)
1068 return jjStartNfaWithStates_1(4, 43, 14);
1069 else if ((active1 & 0x80L) != 0L)
1070 return jjStartNfaWithStates_1(4, 71, 14);
1071 return jjMoveStringLiteralDfa5_1(active0, 0x400000L, active1, 0L);
1074 return jjMoveStringLiteralDfa5_1(active0, 0x200500000000L, active1, 0L);
1077 return jjMoveStringLiteralDfa5_1(active0, 0x1000000000000000L, active1, 0L);
1080 if ((active0 & 0x8000000L) != 0L)
1081 return jjStartNfaWithStates_1(4, 27, 14);
1086 return jjStartNfa_1(3, active0, active1, 0L);
1088 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
1090 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1091 return jjStartNfa_1(3, old0, old1, 0L);
1092 try { curChar = input_stream.readChar(); }
1093 catch(java.io.IOException e) {
1094 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1101 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x10L);
1104 if ((active0 & 0x4000000000L) != 0L)
1105 return jjStartNfaWithStates_1(5, 38, 14);
1106 return jjMoveStringLiteralDfa6_1(active0, 0x8000000000000000L, active1, 0L);
1109 return jjMoveStringLiteralDfa6_1(active0, 0x800500000000L, active1, 0L);
1112 if ((active0 & 0x2000000000L) != 0L)
1113 return jjStartNfaWithStates_1(5, 37, 14);
1114 else if ((active1 & 0x40L) != 0L)
1115 return jjStartNfaWithStates_1(5, 70, 14);
1116 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x200L);
1119 if ((active0 & 0x2000000L) != 0L)
1120 return jjStartNfaWithStates_1(5, 25, 14);
1124 if ((active1 & 0x2L) != 0L)
1125 return jjStartNfaWithStates_1(5, 65, 14);
1129 if ((active0 & 0x40000000000000L) != 0L)
1130 return jjStartNfaWithStates_1(5, 54, 14);
1134 return jjMoveStringLiteralDfa6_1(active0, 0x1800000000400000L, active1, 0L);
1137 if ((active0 & 0x1000000000L) != 0L)
1138 return jjStartNfaWithStates_1(5, 36, 14);
1139 return jjMoveStringLiteralDfa6_1(active0, 0x200000000000L, active1, 0L);
1142 if ((active0 & 0x10000000000000L) != 0L)
1143 return jjStartNfaWithStates_1(5, 52, 14);
1144 return jjMoveStringLiteralDfa6_1(active0, 0x100000000000L, active1, 0L);
1147 if ((active0 & 0x4000000000000000L) != 0L)
1148 return jjStartNfaWithStates_1(5, 62, 14);
1149 return jjMoveStringLiteralDfa6_1(active0, 0xa00000000L, active1, 0L);
1152 if ((active1 & 0x4L) != 0L)
1153 return jjStartNfaWithStates_1(5, 66, 14);
1158 return jjStartNfa_1(4, active0, active1, 0L);
1160 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1162 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1163 return jjStartNfa_1(4, old0, old1, 0L);
1164 try { curChar = input_stream.readChar(); }
1165 catch(java.io.IOException e) {
1166 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1173 if ((active0 & 0x100000000L) != 0L)
1178 else if ((active0 & 0x200000000L) != 0L)
1183 return jjMoveStringLiteralDfa7_1(active0, 0xc00000000L, active1, 0L);
1186 if ((active0 & 0x8000000000000000L) != 0L)
1187 return jjStartNfaWithStates_1(6, 63, 14);
1191 return jjMoveStringLiteralDfa7_1(active0, 0x800000000000000L, active1, 0L);
1194 if ((active1 & 0x10L) != 0L)
1195 return jjStartNfaWithStates_1(6, 68, 14);
1199 return jjMoveStringLiteralDfa7_1(active0, 0x400000L, active1, 0L);
1202 if ((active1 & 0x200L) != 0L)
1203 return jjStartNfaWithStates_1(6, 73, 14);
1207 if ((active0 & 0x800000000000L) != 0L)
1208 return jjStartNfaWithStates_1(6, 47, 14);
1212 if ((active0 & 0x200000000000L) != 0L)
1213 return jjStartNfaWithStates_1(6, 45, 14);
1214 return jjMoveStringLiteralDfa7_1(active0, 0x1000000000000000L, active1, 0L);
1217 return jjMoveStringLiteralDfa7_1(active0, 0x100000000000L, active1, 0L);
1221 return jjStartNfa_1(5, active0, active1, 0L);
1223 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1225 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1226 return jjStartNfa_1(5, old0, old1, 0L);
1227 try { curChar = input_stream.readChar(); }
1228 catch(java.io.IOException e) {
1229 jjStopStringLiteralDfa_1(6, active0, 0L, 0L);
1235 return jjMoveStringLiteralDfa8_1(active0, 0xc00000000L);
1238 return jjMoveStringLiteralDfa8_1(active0, 0x1000000000000000L);
1241 if ((active0 & 0x100000000000L) != 0L)
1242 return jjStartNfaWithStates_1(7, 44, 14);
1243 else if ((active0 & 0x800000000000000L) != 0L)
1244 return jjStartNfaWithStates_1(7, 59, 14);
1248 if ((active0 & 0x400000L) != 0L)
1249 return jjStartNfaWithStates_1(7, 22, 14);
1254 return jjStartNfa_1(6, active0, 0L, 0L);
1256 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0)
1258 if (((active0 &= old0)) == 0L)
1259 return jjStartNfa_1(6, old0, 0L, 0L);
1260 try { curChar = input_stream.readChar(); }
1261 catch(java.io.IOException e) {
1262 jjStopStringLiteralDfa_1(7, active0, 0L, 0L);
1269 if ((active0 & 0x1000000000000000L) != 0L)
1270 return jjStartNfaWithStates_1(8, 60, 14);
1274 return jjMoveStringLiteralDfa9_1(active0, 0xc00000000L);
1278 return jjStartNfa_1(7, active0, 0L, 0L);
1280 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0)
1282 if (((active0 &= old0)) == 0L)
1283 return jjStartNfa_1(7, old0, 0L, 0L);
1284 try { curChar = input_stream.readChar(); }
1285 catch(java.io.IOException e) {
1286 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1293 return jjMoveStringLiteralDfa10_1(active0, 0xc00000000L);
1297 return jjStartNfa_1(8, active0, 0L, 0L);
1299 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1301 if (((active0 &= old0)) == 0L)
1302 return jjStartNfa_1(8, old0, 0L, 0L);
1303 try { curChar = input_stream.readChar(); }
1304 catch(java.io.IOException e) {
1305 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1312 return jjMoveStringLiteralDfa11_1(active0, 0xc00000000L);
1316 return jjStartNfa_1(9, active0, 0L, 0L);
1318 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1320 if (((active0 &= old0)) == 0L)
1321 return jjStartNfa_1(9, old0, 0L, 0L);
1322 try { curChar = input_stream.readChar(); }
1323 catch(java.io.IOException e) {
1324 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1331 if ((active0 & 0x400000000L) != 0L)
1332 return jjStartNfaWithStates_1(11, 34, 14);
1333 else if ((active0 & 0x800000000L) != 0L)
1334 return jjStartNfaWithStates_1(11, 35, 14);
1339 return jjStartNfa_1(10, active0, 0L, 0L);
1341 static final long[] jjbitVec0 = {
1342 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
1344 static private final int jjMoveNfa_1(int startState, int curPos)
1350 jjstateSet[0] = startState;
1351 int j, kind = 0x7fffffff;
1354 if (++jjround == 0x7fffffff)
1358 long l = 1L << curChar;
1361 switch(jjstateSet[--i])
1364 if ((0x3ff000000000000L & l) != 0L)
1365 jjCheckNAddStates(0, 6);
1366 else if (curChar == 39)
1367 jjCheckNAddStates(7, 12);
1368 else if (curChar == 34)
1369 jjCheckNAddStates(13, 18);
1370 else if (curChar == 36)
1371 jjstateSet[jjnewStateCnt++] = 16;
1372 else if (curChar == 46)
1374 else if (curChar == 47)
1375 jjstateSet[jjnewStateCnt++] = 2;
1376 if ((0x3fe000000000000L & l) != 0L)
1380 jjCheckNAddTwoStates(5, 6);
1382 else if (curChar == 48)
1386 jjCheckNAddStates(19, 21);
1391 jjstateSet[jjnewStateCnt++] = 1;
1394 if ((0xffff7fffffffffffL & l) != 0L && kind > 13)
1399 jjstateSet[jjnewStateCnt++] = 0;
1402 if ((0x3fe000000000000L & l) == 0L)
1406 jjCheckNAddTwoStates(5, 6);
1409 if ((0x3ff000000000000L & l) == 0L)
1413 jjCheckNAddTwoStates(5, 6);
1420 if ((0x3ff000000000000L & l) == 0L)
1424 jjCheckNAddStates(22, 24);
1427 if ((0x280000000000L & l) != 0L)
1431 if ((0x3ff000000000000L & l) == 0L)
1435 jjCheckNAddTwoStates(11, 12);
1438 if ((0x3ff000000000000L & l) == 0L)
1442 jjstateSet[jjnewStateCnt++] = 14;
1446 jjstateSet[jjnewStateCnt++] = 16;
1449 if ((0x3ff000000000000L & l) == 0L)
1453 jjstateSet[jjnewStateCnt++] = 17;
1456 if ((0x3ff000000000000L & l) != 0L)
1457 jjCheckNAddStates(0, 6);
1460 if ((0x3ff000000000000L & l) != 0L)
1461 jjCheckNAddTwoStates(19, 20);
1468 jjCheckNAddStates(25, 27);
1471 if ((0x3ff000000000000L & l) == 0L)
1475 jjCheckNAddStates(25, 27);
1478 if ((0x280000000000L & l) != 0L)
1482 if ((0x3ff000000000000L & l) == 0L)
1486 jjCheckNAddTwoStates(24, 12);
1489 if ((0x3ff000000000000L & l) != 0L)
1490 jjCheckNAddTwoStates(25, 26);
1493 if ((0x280000000000L & l) != 0L)
1497 if ((0x3ff000000000000L & l) == 0L)
1501 jjCheckNAddTwoStates(28, 12);
1504 if ((0x3ff000000000000L & l) != 0L)
1505 jjCheckNAddStates(28, 30);
1508 if ((0x280000000000L & l) != 0L)
1512 if ((0x3ff000000000000L & l) != 0L)
1513 jjCheckNAddTwoStates(32, 12);
1520 jjCheckNAddStates(19, 21);
1523 if ((0x3ff000000000000L & l) == 0L)
1527 jjCheckNAddTwoStates(35, 6);
1530 if ((0xff000000000000L & l) == 0L)
1534 jjCheckNAddTwoStates(36, 6);
1538 jjCheckNAddStates(13, 18);
1541 if ((0xfffffffbffffffffL & l) != 0L)
1542 jjCheckNAddStates(31, 33);
1545 jjCheckNAddStates(31, 33);
1548 if (curChar == 34 && kind > 103)
1552 if ((0xfffffffbffffffffL & l) != 0L)
1553 jjCheckNAddStates(34, 36);
1556 jjCheckNAddStates(34, 36);
1559 if (curChar == 34 && kind > 104)
1564 jjCheckNAddStates(7, 12);
1567 if ((0xffffff7fffffffffL & l) != 0L)
1568 jjCheckNAddStates(37, 39);
1571 jjCheckNAddStates(37, 39);
1574 if (curChar == 39 && kind > 103)
1578 if ((0xffffff7fffffffffL & l) != 0L)
1579 jjCheckNAddStates(40, 42);
1582 jjCheckNAddStates(40, 42);
1585 if (curChar == 39 && kind > 105)
1590 jjCheckNAddStates(43, 45);
1594 jjCheckNAddStates(46, 48);
1598 } while(i != startsAt);
1600 else if (curChar < 128)
1602 long l = 1L << (curChar & 077);
1605 switch(jjstateSet[--i])
1608 if ((0x87fffffe87fffffeL & l) != 0L)
1614 else if (curChar == 96)
1615 jjCheckNAddStates(49, 54);
1622 if ((0x100000001000L & l) != 0L && kind > 97)
1626 if ((0x2000000020L & l) != 0L)
1627 jjAddStates(55, 56);
1630 if ((0x5000000050L & l) != 0L && kind > 101)
1635 if ((0x87fffffe87fffffeL & l) == 0L)
1643 if ((0x87fffffe87fffffeL & l) == 0L)
1650 if ((0x2000000020L & l) != 0L)
1651 jjAddStates(57, 58);
1654 if ((0x2000000020L & l) != 0L)
1655 jjAddStates(59, 60);
1658 if ((0x2000000020L & l) != 0L)
1659 jjAddStates(61, 62);
1662 if ((0x100000001000000L & l) != 0L)
1666 if ((0x7e0000007eL & l) == 0L)
1670 jjCheckNAddTwoStates(35, 6);
1673 if ((0xffffffffefffffffL & l) != 0L)
1674 jjCheckNAddStates(31, 33);
1678 jjstateSet[jjnewStateCnt++] = 40;
1681 jjCheckNAddStates(31, 33);
1684 if ((0xffffffffefffffffL & l) != 0L)
1685 jjCheckNAddStates(34, 36);
1689 jjstateSet[jjnewStateCnt++] = 44;
1692 jjCheckNAddStates(34, 36);
1695 if ((0xffffffffefffffffL & l) != 0L)
1696 jjCheckNAddStates(37, 39);
1700 jjstateSet[jjnewStateCnt++] = 49;
1703 jjCheckNAddStates(37, 39);
1706 if ((0xffffffffefffffffL & l) != 0L)
1707 jjCheckNAddStates(40, 42);
1711 jjstateSet[jjnewStateCnt++] = 53;
1714 jjCheckNAddStates(40, 42);
1718 jjCheckNAddStates(49, 54);
1721 if ((0xfffffffeefffffffL & l) != 0L)
1722 jjCheckNAddStates(43, 45);
1726 jjstateSet[jjnewStateCnt++] = 58;
1729 jjCheckNAddStates(43, 45);
1732 if (curChar == 96 && kind > 103)
1736 if ((0xfffffffeefffffffL & l) != 0L)
1737 jjCheckNAddStates(46, 48);
1741 jjstateSet[jjnewStateCnt++] = 62;
1744 jjCheckNAddStates(46, 48);
1747 if (curChar == 96 && kind > 106)
1752 } while(i != startsAt);
1756 int i2 = (curChar & 0xff) >> 6;
1757 long l2 = 1L << (curChar & 077);
1760 switch(jjstateSet[--i])
1764 if ((jjbitVec0[i2] & l2) == 0L)
1771 if ((jjbitVec0[i2] & l2) != 0L && kind > 13)
1776 if ((jjbitVec0[i2] & l2) == 0L)
1784 if ((jjbitVec0[i2] & l2) != 0L)
1785 jjCheckNAddStates(31, 33);
1789 if ((jjbitVec0[i2] & l2) != 0L)
1790 jjCheckNAddStates(34, 36);
1794 if ((jjbitVec0[i2] & l2) != 0L)
1795 jjCheckNAddStates(37, 39);
1799 if ((jjbitVec0[i2] & l2) != 0L)
1800 jjCheckNAddStates(40, 42);
1804 if ((jjbitVec0[i2] & l2) != 0L)
1805 jjCheckNAddStates(43, 45);
1809 if ((jjbitVec0[i2] & l2) != 0L)
1810 jjCheckNAddStates(46, 48);
1814 } while(i != startsAt);
1816 if (kind != 0x7fffffff)
1818 jjmatchedKind = kind;
1819 jjmatchedPos = curPos;
1823 if ((i = jjnewStateCnt) == (startsAt = 64 - (jjnewStateCnt = startsAt)))
1825 try { curChar = input_stream.readChar(); }
1826 catch(java.io.IOException e) { return curPos; }
1829 static private final int jjMoveStringLiteralDfa0_3()
1834 return jjMoveStringLiteralDfa1_3(0x40000L);
1837 return jjMoveStringLiteralDfa1_3(0x20000L);
1842 static private final int jjMoveStringLiteralDfa1_3(long active0)
1844 try { curChar = input_stream.readChar(); }
1845 catch(java.io.IOException e) {
1851 if ((active0 & 0x40000L) != 0L)
1852 return jjStopAtPos(1, 18);
1856 return jjMoveStringLiteralDfa2_3(active0, 0x20000L);
1862 static private final int jjMoveStringLiteralDfa2_3(long old0, long active0)
1864 if (((active0 &= old0)) == 0L)
1866 try { curChar = input_stream.readChar(); }
1867 catch(java.io.IOException e) {
1874 return jjMoveStringLiteralDfa3_3(active0, 0x20000L);
1879 static private final int jjMoveStringLiteralDfa3_3(long old0, long active0)
1881 if (((active0 &= old0)) == 0L)
1883 try { curChar = input_stream.readChar(); }
1884 catch(java.io.IOException e) {
1891 if ((active0 & 0x20000L) != 0L)
1892 return jjStopAtPos(3, 17);
1899 static final int[] jjnextStates = {
1900 19, 20, 25, 26, 29, 30, 12, 47, 48, 50, 51, 52, 54, 38, 39, 41,
1901 42, 43, 45, 34, 36, 6, 8, 9, 12, 21, 22, 12, 29, 30, 12, 38,
1902 39, 41, 42, 43, 45, 47, 48, 50, 51, 52, 54, 56, 57, 59, 60, 61,
1903 63, 56, 57, 59, 60, 61, 63, 10, 11, 23, 24, 27, 28, 31, 32,
1905 public static final String[] jjstrLiteralImages = {
1906 "", "\74\77", null, "\74\77\75", "\77\76", null, null, null, null, null, null,
1907 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1908 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1909 "\55\76", "\72\72", "\75\76", null, null, null, null, null, null, null, null, null, null,
1910 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1911 null, null, null, null, null, null, null, null, "\100", "\44", "\41", "\176", "\77",
1912 "\72", "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55", "\52", "\57", "\46",
1913 "\174", "\136", "\45", "\74\74", "\76\76", "\76\76\76", null, null, null, null, null,
1914 null, null, null, null, null, null, null, null, null, null, null, "\50", "\51",
1915 "\173", "\175", "\133", "\135", "\73", "\54", "\56", "\76", "\74", "\75\75", "\74\75",
1916 "\76\75", "\41\75", "\74\76", "\41\75\75", "\75\75\75", "\75", "\53\75", "\55\75",
1917 "\52\75", "\57\75", "\46\75", "\174\75", "\136\75", "\56\75", "\45\75", "\176\75",
1918 "\74\74\75", "\76\76\75", null, };
1919 public static final String[] lexStateNames = {
1922 "IN_SINGLE_LINE_COMMENT",
1923 "IN_FORMAL_COMMENT",
1924 "IN_MULTI_LINE_COMMENT",
1926 public static final int[] jjnewLexState = {
1927 -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,
1928 -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,
1929 -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,
1930 -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,
1931 -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,
1932 -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
1934 static final long[] jjtoToken = {
1935 0xffffffffffe0001fL, 0xffff8fa3ffffffffL, 0x7fffL,
1937 static final long[] jjtoSkip = {
1938 0xfffe0L, 0x0L, 0x0L,
1940 static final long[] jjtoSpecial = {
1941 0xff800L, 0x0L, 0x0L,
1943 static final long[] jjtoMore = {
1944 0x100000L, 0x0L, 0x0L,
1946 static protected SimpleCharStream input_stream;
1947 static private final int[] jjrounds = new int[64];
1948 static private final int[] jjstateSet = new int[128];
1949 static StringBuffer image;
1950 static int jjimageLen;
1951 static int lengthOfMatch;
1952 static protected char curChar;
1953 public PHPParserTokenManager(SimpleCharStream stream)
1955 if (input_stream != null)
1956 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
1957 input_stream = stream;
1959 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
1964 static public void ReInit(SimpleCharStream stream)
1966 jjmatchedPos = jjnewStateCnt = 0;
1967 curLexState = defaultLexState;
1968 input_stream = stream;
1971 static private final void ReInitRounds()
1974 jjround = 0x80000001;
1975 for (i = 64; i-- > 0;)
1976 jjrounds[i] = 0x80000000;
1978 static public void ReInit(SimpleCharStream stream, int lexState)
1983 static public void SwitchTo(int lexState)
1985 if (lexState >= 5 || lexState < 0)
1986 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
1988 curLexState = lexState;
1991 static protected Token jjFillToken()
1993 Token t = Token.newToken(jjmatchedKind);
1994 t.kind = jjmatchedKind;
1995 String im = jjstrLiteralImages[jjmatchedKind];
1996 t.image = (im == null) ? input_stream.GetImage() : im;
1997 t.beginLine = input_stream.getBeginLine();
1998 t.beginColumn = input_stream.getBeginColumn();
1999 t.endLine = input_stream.getEndLine();
2000 t.endColumn = input_stream.getEndColumn();
2004 static int curLexState = 0;
2005 static int defaultLexState = 0;
2006 static int jjnewStateCnt;
2008 static int jjmatchedPos;
2009 static int jjmatchedKind;
2011 public static Token getNextToken()
2014 Token specialToken = null;
2023 curChar = input_stream.BeginToken();
2025 catch(java.io.IOException e)
2028 matchedToken = jjFillToken();
2029 matchedToken.specialToken = specialToken;
2030 return matchedToken;
2040 jjmatchedKind = 0x7fffffff;
2042 curPos = jjMoveStringLiteralDfa0_0();
2043 if (jjmatchedPos == 0 && jjmatchedKind > 5)
2049 try { input_stream.backup(0);
2050 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
2051 curChar = input_stream.BeginToken();
2053 catch (java.io.IOException e1) { continue EOFLoop; }
2054 jjmatchedKind = 0x7fffffff;
2056 curPos = jjMoveStringLiteralDfa0_1();
2059 jjmatchedKind = 0x7fffffff;
2061 curPos = jjMoveStringLiteralDfa0_2();
2062 if (jjmatchedPos == 0 && jjmatchedKind > 20)
2068 jjmatchedKind = 0x7fffffff;
2070 curPos = jjMoveStringLiteralDfa0_3();
2071 if (jjmatchedPos == 0 && jjmatchedKind > 20)
2077 jjmatchedKind = 0x7fffffff;
2079 curPos = jjMoveStringLiteralDfa0_4();
2080 if (jjmatchedPos == 0 && jjmatchedKind > 20)
2086 if (jjmatchedKind != 0x7fffffff)
2088 if (jjmatchedPos + 1 < curPos)
2089 input_stream.backup(curPos - jjmatchedPos - 1);
2090 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2092 matchedToken = jjFillToken();
2093 matchedToken.specialToken = specialToken;
2094 TokenLexicalActions(matchedToken);
2095 if (jjnewLexState[jjmatchedKind] != -1)
2096 curLexState = jjnewLexState[jjmatchedKind];
2097 return matchedToken;
2099 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2101 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2103 matchedToken = jjFillToken();
2104 if (specialToken == null)
2105 specialToken = matchedToken;
2108 matchedToken.specialToken = specialToken;
2109 specialToken = (specialToken.next = matchedToken);
2111 SkipLexicalActions(matchedToken);
2114 SkipLexicalActions(null);
2115 if (jjnewLexState[jjmatchedKind] != -1)
2116 curLexState = jjnewLexState[jjmatchedKind];
2119 jjimageLen += jjmatchedPos + 1;
2120 if (jjnewLexState[jjmatchedKind] != -1)
2121 curLexState = jjnewLexState[jjmatchedKind];
2123 jjmatchedKind = 0x7fffffff;
2125 curChar = input_stream.readChar();
2128 catch (java.io.IOException e1) { }
2130 int error_line = input_stream.getEndLine();
2131 int error_column = input_stream.getEndColumn();
2132 String error_after = null;
2133 boolean EOFSeen = false;
2134 try { input_stream.readChar(); input_stream.backup(1); }
2135 catch (java.io.IOException e1) {
2137 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2138 if (curChar == '\n' || curChar == '\r') {
2146 input_stream.backup(1);
2147 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2149 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
2154 static void SkipLexicalActions(Token matchedToken)
2156 switch(jjmatchedKind)
2160 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2162 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2163 input_stream.backup(1);
2167 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2169 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2170 PHPParser.createNewTask();
2176 static void TokenLexicalActions(Token matchedToken)
2178 switch(jjmatchedKind)
2182 image = new StringBuffer(jjstrLiteralImages[1]);
2184 image.append(jjstrLiteralImages[1]);
2185 PHPParser.createNewHTMLCode();
2189 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2191 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2192 PHPParser.createNewHTMLCode();
2196 image = new StringBuffer(jjstrLiteralImages[3]);
2198 image.append(jjstrLiteralImages[3]);
2199 PHPParser.createNewHTMLCode();
2203 image = new StringBuffer(jjstrLiteralImages[4]);
2205 image.append(jjstrLiteralImages[4]);
2206 PHPParser.htmlStart = SimpleCharStream.getPosition();