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;
20 public class PHPParserTokenManager implements PHPParserConstants
22 public static java.io.PrintStream debugStream = System.out;
23 public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
24 static private final int jjStopAtPos(int pos, int kind)
30 static private final int jjMoveStringLiteralDfa0_0()
35 return jjMoveStringLiteralDfa1_0(0xeL);
40 static private final int jjMoveStringLiteralDfa1_0(long active0)
42 try { curChar = input_stream.readChar(); }
43 catch(java.io.IOException e) {
49 if ((active0 & 0x2L) != 0L)
54 return jjMoveStringLiteralDfa2_0(active0, 0xcL);
59 static private final int jjMoveStringLiteralDfa2_0(long old0, long active0)
61 if (((active0 &= old0)) == 0L)
63 try { curChar = input_stream.readChar(); }
64 catch(java.io.IOException e) {
70 if ((active0 & 0x8L) != 0L)
71 return jjStopAtPos(2, 3);
75 return jjMoveStringLiteralDfa3_0(active0, 0x4L);
81 static private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
83 if (((active0 &= old0)) == 0L)
85 try { curChar = input_stream.readChar(); }
86 catch(java.io.IOException e) {
93 return jjMoveStringLiteralDfa4_0(active0, 0x4L);
98 static private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
100 if (((active0 &= old0)) == 0L)
102 try { curChar = input_stream.readChar(); }
103 catch(java.io.IOException e) {
110 if ((active0 & 0x4L) != 0L)
111 return jjStopAtPos(4, 2);
118 static private final int jjMoveStringLiteralDfa0_4()
123 return jjMoveStringLiteralDfa1_4(0x80000L);
126 return jjMoveStringLiteralDfa1_4(0x20000L);
131 static private final int jjMoveStringLiteralDfa1_4(long active0)
133 try { curChar = input_stream.readChar(); }
134 catch(java.io.IOException e) {
140 if ((active0 & 0x80000L) != 0L)
141 return jjStopAtPos(1, 19);
145 return jjMoveStringLiteralDfa2_4(active0, 0x20000L);
151 static private final int jjMoveStringLiteralDfa2_4(long old0, long active0)
153 if (((active0 &= old0)) == 0L)
155 try { curChar = input_stream.readChar(); }
156 catch(java.io.IOException e) {
163 return jjMoveStringLiteralDfa3_4(active0, 0x20000L);
168 static private final int jjMoveStringLiteralDfa3_4(long old0, long active0)
170 if (((active0 &= old0)) == 0L)
172 try { curChar = input_stream.readChar(); }
173 catch(java.io.IOException e) {
180 if ((active0 & 0x20000L) != 0L)
181 return jjStopAtPos(3, 17);
188 private static final int jjStopStringLiteralDfa_2(int pos, long active0)
196 private static final int jjStartNfa_2(int pos, long active0)
198 return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
200 static private final int jjStartNfaWithStates_2(int pos, int kind, int state)
202 jjmatchedKind = kind;
204 try { curChar = input_stream.readChar(); }
205 catch(java.io.IOException e) { return pos + 1; }
206 return jjMoveNfa_2(state, pos + 1);
208 static private final int jjMoveStringLiteralDfa0_2()
213 return jjMoveStringLiteralDfa1_2(0x10000L);
216 return jjMoveStringLiteralDfa1_2(0x20000L);
218 return jjMoveNfa_2(0, 0);
221 static private final int jjMoveStringLiteralDfa1_2(long active0)
223 try { curChar = input_stream.readChar(); }
224 catch(java.io.IOException e) {
225 jjStopStringLiteralDfa_2(0, active0);
231 if ((active0 & 0x10000L) != 0L)
232 return jjStopAtPos(1, 16);
236 return jjMoveStringLiteralDfa2_2(active0, 0x20000L);
240 return jjStartNfa_2(0, active0);
242 static private final int jjMoveStringLiteralDfa2_2(long old0, long active0)
244 if (((active0 &= old0)) == 0L)
245 return jjStartNfa_2(0, old0);
246 try { curChar = input_stream.readChar(); }
247 catch(java.io.IOException e) {
248 jjStopStringLiteralDfa_2(1, active0);
255 return jjMoveStringLiteralDfa3_2(active0, 0x20000L);
259 return jjStartNfa_2(1, active0);
261 static private final int jjMoveStringLiteralDfa3_2(long old0, long active0)
263 if (((active0 &= old0)) == 0L)
264 return jjStartNfa_2(1, old0);
265 try { curChar = input_stream.readChar(); }
266 catch(java.io.IOException e) {
267 jjStopStringLiteralDfa_2(2, active0);
274 if ((active0 & 0x20000L) != 0L)
275 return jjStopAtPos(3, 17);
280 return jjStartNfa_2(2, active0);
282 static private final void jjCheckNAdd(int state)
284 if (jjrounds[state] != jjround)
286 jjstateSet[jjnewStateCnt++] = state;
287 jjrounds[state] = jjround;
290 static private final void jjAddStates(int start, int end)
293 jjstateSet[jjnewStateCnt++] = jjnextStates[start];
294 } while (start++ != end);
296 static private final void jjCheckNAddTwoStates(int state1, int state2)
301 static private final void jjCheckNAddStates(int start, int end)
304 jjCheckNAdd(jjnextStates[start]);
305 } while (start++ != end);
307 static private final void jjCheckNAddStates(int start)
309 jjCheckNAdd(jjnextStates[start]);
310 jjCheckNAdd(jjnextStates[start + 1]);
312 static private final int jjMoveNfa_2(int startState, int curPos)
318 jjstateSet[0] = startState;
319 int j, kind = 0x7fffffff;
322 if (++jjround == 0x7fffffff)
326 long l = 1L << curChar;
329 switch(jjstateSet[--i])
332 if ((0x2400L & l) != 0L)
338 jjstateSet[jjnewStateCnt++] = 1;
341 if (curChar == 10 && kind > 15)
346 jjstateSet[jjnewStateCnt++] = 1;
350 } while(i != startsAt);
352 else if (curChar < 128)
354 long l = 1L << (curChar & 077);
357 switch(jjstateSet[--i])
361 } while(i != startsAt);
365 int i2 = (curChar & 0xff) >> 6;
366 long l2 = 1L << (curChar & 077);
369 switch(jjstateSet[--i])
373 } while(i != startsAt);
375 if (kind != 0x7fffffff)
377 jjmatchedKind = kind;
378 jjmatchedPos = curPos;
382 if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
384 try { curChar = input_stream.readChar(); }
385 catch(java.io.IOException e) { return curPos; }
388 private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1, long active2)
393 if ((active0 & 0x4800L) != 0L || (active1 & 0x800000L) != 0L || (active2 & 0x20L) != 0L)
395 if ((active1 & 0x800L) != 0L)
397 if ((active1 & 0x80000000000000L) != 0L || (active2 & 0x200L) != 0L)
399 if ((active0 & 0xfffffc7fffe00000L) != 0L || (active1 & 0x1800003ffL) != 0L)
406 if ((active0 & 0x4000L) != 0L)
408 if ((active0 & 0x400001000000L) != 0L || (active1 & 0x80000041L) != 0L)
410 if ((active0 & 0xffffbc7ffee00000L) != 0L || (active1 & 0x1000003beL) != 0L)
412 if (jjmatchedPos != 1)
421 if ((active0 & 0x8005000000800000L) != 0L || (active1 & 0x100000300L) != 0L)
423 if ((active0 & 0x7ffabc7ffe600000L) != 0L || (active1 & 0xfeL) != 0L)
425 if (jjmatchedPos != 2)
434 if ((active0 & 0x18a0400a6000000L) != 0L || (active1 & 0x38L) != 0L)
436 if ((active0 & 0xfe70b87f58600000L) != 0L || (active1 & 0x2c6L) != 0L)
438 if (jjmatchedPos != 3)
447 if ((active0 & 0x2620080058200000L) != 0L || (active1 & 0x80L) != 0L)
449 if ((active0 & 0xd850b07f02400000L) != 0L || (active1 & 0x256L) != 0L)
457 if ((active0 & 0x4050007002000000L) != 0L || (active1 & 0x46L) != 0L)
459 if ((active0 & 0x9800b00f00400000L) != 0L || (active1 & 0x210L) != 0L)
467 if ((active0 & 0x8000a00f00000000L) != 0L || (active1 & 0x210L) != 0L)
469 if ((active0 & 0x1800100000400000L) != 0L)
471 if (jjmatchedPos != 6)
480 if ((active0 & 0x800100000400000L) != 0L)
482 if ((active0 & 0x1000000c00000000L) != 0L)
490 if ((active0 & 0xc00000000L) != 0L)
496 if ((active0 & 0x1000000000000000L) != 0L)
500 if ((active0 & 0xc00000000L) != 0L)
508 if ((active0 & 0xc00000000L) != 0L)
519 private static final int jjStartNfa_1(int pos, long active0, long active1, long active2)
521 return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1, active2), pos + 1);
523 static private final int jjStartNfaWithStates_1(int pos, int kind, int state)
525 jjmatchedKind = kind;
527 try { curChar = input_stream.readChar(); }
528 catch(java.io.IOException e) { return pos + 1; }
529 return jjMoveNfa_1(state, pos + 1);
531 static private final int jjMoveStringLiteralDfa0_1()
537 return jjMoveStringLiteralDfa1_1(0x0L, 0xa000000000000000L, 0x0L);
539 return jjStopAtPos(0, 12);
541 return jjStartNfaWithStates_1(0, 75, 16);
544 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x400L);
547 return jjMoveStringLiteralDfa1_1(0x0L, 0x20000L, 0x40L);
549 return jjStopAtPos(0, 111);
551 return jjStopAtPos(0, 112);
554 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x10L);
557 return jjMoveStringLiteralDfa1_1(0x0L, 0x40000L, 0x4L);
559 return jjStopAtPos(0, 118);
562 return jjMoveStringLiteralDfa1_1(0x8000000000L, 0x80000L, 0x8L);
565 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x200L);
568 return jjMoveStringLiteralDfa1_1(0x4800L, 0x0L, 0x20L);
571 return jjMoveStringLiteralDfa1_1(0x10000000000L, 0x0L, 0x0L);
573 return jjStopAtPos(0, 117);
576 return jjMoveStringLiteralDfa1_1(0x0L, 0x4800000010000000L, 0x1000L);
579 return jjMoveStringLiteralDfa1_1(0x20000000000L, 0x400000000000000L, 0x1L);
582 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000000060000000L, 0x2000L);
585 return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L);
587 return jjStopAtPos(0, 74);
589 return jjStopAtPos(0, 115);
591 return jjStopAtPos(0, 116);
594 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x100L);
597 return jjMoveStringLiteralDfa1_1(0x8000000L, 0x100000001L, 0x0L);
600 return jjMoveStringLiteralDfa1_1(0x10000000L, 0x18L, 0x0L);
603 return jjMoveStringLiteralDfa1_1(0x1c0000200000L, 0x0L, 0x0L);
606 return jjMoveStringLiteralDfa1_1(0x602000000000L, 0x40L, 0x0L);
609 return jjMoveStringLiteralDfa1_1(0x7800800086000000L, 0x0L, 0x0L);
612 return jjMoveStringLiteralDfa1_1(0x8201000000400000L, 0x80L, 0x0L);
615 return jjMoveStringLiteralDfa1_1(0x2001000000000L, 0x0L, 0x0L);
618 return jjMoveStringLiteralDfa1_1(0x501000000L, 0x300L, 0x0L);
621 return jjMoveStringLiteralDfa1_1(0x20000000L, 0x0L, 0x0L);
624 return jjMoveStringLiteralDfa1_1(0xc000000000000L, 0x0L, 0x0L);
627 return jjMoveStringLiteralDfa1_1(0x0L, 0x80000004L, 0x0L);
630 return jjMoveStringLiteralDfa1_1(0x40000000L, 0x0L, 0x0L);
633 return jjMoveStringLiteralDfa1_1(0x10000a00000000L, 0x20L, 0x0L);
636 return jjMoveStringLiteralDfa1_1(0x60004000000000L, 0x2L, 0x0L);
639 return jjMoveStringLiteralDfa1_1(0x180000000000000L, 0x0L, 0x0L);
642 return jjMoveStringLiteralDfa1_1(0x800000L, 0x0L, 0x0L);
645 return jjMoveStringLiteralDfa1_1(0x400000000000000L, 0x0L, 0x0L);
647 return jjStopAtPos(0, 113);
650 return jjMoveStringLiteralDfa1_1(0x0L, 0x10000L, 0x80L);
652 return jjStopAtPos(0, 114);
655 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x800L);
657 return jjMoveNfa_1(3, 0);
660 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
662 try { curChar = input_stream.readChar(); }
663 catch(java.io.IOException e) {
664 jjStopStringLiteralDfa_1(0, active0, active1, active2);
670 if ((active1 & 0x20000L) != 0L)
671 return jjStopAtPos(1, 81);
674 if ((active0 & 0x4000L) != 0L)
675 return jjStartNfaWithStates_1(1, 14, 0);
678 if ((active1 & 0x40000L) != 0L)
679 return jjStopAtPos(1, 82);
682 if ((active1 & 0x80000L) != 0L)
683 return jjStopAtPos(1, 83);
686 if ((active0 & 0x800L) != 0L)
687 return jjStopAtPos(1, 11);
690 if ((active0 & 0x10000000000L) != 0L)
691 return jjStopAtPos(1, 40);
694 if ((active1 & 0x10000000L) != 0L)
699 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x1000L);
701 if ((active1 & 0x400000000000000L) != 0L)
706 else if ((active1 & 0x800000000000000L) != 0L)
707 return jjStopAtPos(1, 123);
708 else if ((active1 & 0x1000000000000000L) != 0L)
709 return jjStopAtPos(1, 124);
710 else if ((active1 & 0x2000000000000000L) != 0L)
715 else if ((active2 & 0x4L) != 0L)
716 return jjStopAtPos(1, 130);
717 else if ((active2 & 0x8L) != 0L)
718 return jjStopAtPos(1, 131);
719 else if ((active2 & 0x10L) != 0L)
720 return jjStopAtPos(1, 132);
721 else if ((active2 & 0x20L) != 0L)
722 return jjStopAtPos(1, 133);
723 else if ((active2 & 0x40L) != 0L)
724 return jjStopAtPos(1, 134);
725 else if ((active2 & 0x80L) != 0L)
726 return jjStopAtPos(1, 135);
727 else if ((active2 & 0x100L) != 0L)
728 return jjStopAtPos(1, 136);
729 else if ((active2 & 0x200L) != 0L)
730 return jjStopAtPos(1, 137);
731 else if ((active2 & 0x400L) != 0L)
732 return jjStopAtPos(1, 138);
733 else if ((active2 & 0x800L) != 0L)
734 return jjStopAtPos(1, 139);
735 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x8000000000000000L, active2, 0x1L);
737 if ((active0 & 0x10L) != 0L)
738 return jjStopAtPos(1, 4);
739 else if ((active0 & 0x8000000000L) != 0L)
740 return jjStopAtPos(1, 39);
741 else if ((active0 & 0x20000000000L) != 0L)
742 return jjStopAtPos(1, 41);
743 else if ((active1 & 0x20000000L) != 0L)
748 else if ((active1 & 0x4000000000000000L) != 0L)
749 return jjStopAtPos(1, 126);
750 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x40000000L, active2, 0x2000L);
753 return jjMoveStringLiteralDfa2_1(active0, 0x200040000800000L, active1, 0L, active2, 0L);
756 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x4L, active2, 0L);
759 return jjMoveStringLiteralDfa2_1(active0, 0x80000000L, active1, 0L, active2, 0L);
762 return jjMoveStringLiteralDfa2_1(active0, 0x14202a00000000L, active1, 0x20L, active2, 0L);
765 if ((active0 & 0x1000000L) != 0L)
766 return jjStartNfaWithStates_1(1, 24, 14);
770 return jjMoveStringLiteralDfa2_1(active0, 0x480000000000000L, active1, 0L, active2, 0L);
773 return jjMoveStringLiteralDfa2_1(active0, 0x20000000L, active1, 0L, active2, 0L);
776 return jjMoveStringLiteralDfa2_1(active0, 0x1006200000L, active1, 0x80L, active2, 0L);
779 return jjMoveStringLiteralDfa2_1(active0, 0x7800000500000000L, active1, 0x100000300L, active2, 0L);
782 if ((active0 & 0x400000000000L) != 0L)
787 return jjMoveStringLiteralDfa2_1(active0, 0x8003180000000000L, active1, 0x58L, active2, 0L);
790 if ((active1 & 0x80000000L) != 0L)
791 return jjStartNfaWithStates_1(1, 95, 14);
792 return jjMoveStringLiteralDfa2_1(active0, 0x100000058000000L, active1, 0L, active2, 0L);
795 if ((active1 & 0x1L) != 0L)
796 return jjStartNfaWithStates_1(1, 64, 14);
800 return jjMoveStringLiteralDfa2_1(active0, 0x4000000000L, active1, 0x2L, active2, 0L);
803 return jjMoveStringLiteralDfa2_1(active0, 0x28000000400000L, active1, 0L, active2, 0L);
806 return jjMoveStringLiteralDfa2_1(active0, 0x40000000000000L, active1, 0L, active2, 0L);
809 return jjMoveStringLiteralDfa2_1(active0, 0x800000000000L, active1, 0L, active2, 0L);
811 if ((active1 & 0x10000L) != 0L)
812 return jjStopAtPos(1, 80);
817 return jjStartNfa_1(0, active0, active1, active2);
819 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
821 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
822 return jjStartNfa_1(0, old0, old1, old2);
823 try { curChar = input_stream.readChar(); }
824 catch(java.io.IOException e) {
825 jjStopStringLiteralDfa_1(1, active0, active1, active2);
831 if ((active1 & 0x8000000000000000L) != 0L)
832 return jjStopAtPos(2, 127);
833 else if ((active2 & 0x1L) != 0L)
834 return jjStopAtPos(2, 128);
835 else if ((active2 & 0x1000L) != 0L)
836 return jjStopAtPos(2, 140);
837 else if ((active2 & 0x2000L) != 0L)
838 return jjStopAtPos(2, 141);
841 if ((active1 & 0x40000000L) != 0L)
842 return jjStopAtPos(2, 94);
846 return jjMoveStringLiteralDfa3_1(active0, 0x4000200000L, active1, 0x20L, active2, 0L);
849 return jjMoveStringLiteralDfa3_1(active0, 0x500000000L, active1, 0L, active2, 0L);
852 if ((active1 & 0x100000000L) != 0L)
853 return jjStartNfaWithStates_1(2, 96, 14);
854 return jjMoveStringLiteralDfa3_1(active0, 0x7800000000000000L, active1, 0L, active2, 0L);
857 return jjMoveStringLiteralDfa3_1(active0, 0x10000000L, active1, 0L, active2, 0L);
860 return jjMoveStringLiteralDfa3_1(active0, 0x202000000000L, active1, 0L, active2, 0L);
863 return jjMoveStringLiteralDfa3_1(active0, 0x80000000L, active1, 0L, active2, 0L);
866 return jjMoveStringLiteralDfa3_1(active0, 0x4c0000040000000L, active1, 0L, active2, 0L);
869 return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x4L, active2, 0L);
872 return jjMoveStringLiteralDfa3_1(active0, 0x208000000000000L, active1, 0L, active2, 0L);
875 return jjMoveStringLiteralDfa3_1(active0, 0x180000400000L, active1, 0L, active2, 0L);
878 return jjMoveStringLiteralDfa3_1(active0, 0x1000000000L, active1, 0x98L, active2, 0L);
881 return jjMoveStringLiteralDfa3_1(active0, 0x20000000000000L, active1, 0L, active2, 0L);
884 return jjMoveStringLiteralDfa3_1(active0, 0xa00000000L, active1, 0L, active2, 0L);
887 if ((active0 & 0x800000L) != 0L)
888 return jjStartNfaWithStates_1(2, 23, 14);
889 else if ((active0 & 0x1000000000000L) != 0L)
894 return jjMoveStringLiteralDfa3_1(active0, 0x8000000008000000L, active1, 0x2L, active2, 0L);
897 return jjMoveStringLiteralDfa3_1(active0, 0x40026000000L, active1, 0L, active2, 0L);
900 if ((active1 & 0x100L) != 0L)
905 return jjMoveStringLiteralDfa3_1(active0, 0x12800000000000L, active1, 0x200L, active2, 0L);
908 return jjMoveStringLiteralDfa3_1(active0, 0x100000000000000L, active1, 0x40L, active2, 0L);
911 if ((active0 & 0x4000000000000L) != 0L)
912 return jjStartNfaWithStates_1(2, 50, 14);
917 return jjStartNfa_1(1, active0, active1, active2);
919 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
921 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
922 return jjStartNfa_1(1, old0, old1, old2);
923 try { curChar = input_stream.readChar(); }
924 catch(java.io.IOException e) {
925 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
932 return jjMoveStringLiteralDfa4_1(active0, 0x200018000000L, active1, 0x80L);
935 return jjMoveStringLiteralDfa4_1(active0, 0x1000000000L, active1, 0x40L);
938 return jjMoveStringLiteralDfa4_1(active0, 0x400000L, active1, 0L);
941 if ((active0 & 0x4000000L) != 0L)
946 else if ((active0 & 0x40000000000L) != 0L)
947 return jjStartNfaWithStates_1(3, 42, 14);
948 else if ((active0 & 0x100000000000000L) != 0L)
949 return jjStartNfaWithStates_1(3, 56, 14);
950 return jjMoveStringLiteralDfa4_1(active0, 0x8020800002000000L, active1, 0x204L);
953 return jjMoveStringLiteralDfa4_1(active0, 0x4000000000000000L, active1, 0L);
956 return jjMoveStringLiteralDfa4_1(active0, 0x2000002000000000L, active1, 0x2L);
959 if ((active0 & 0x8000000000000L) != 0L)
960 return jjStartNfaWithStates_1(3, 51, 14);
961 else if ((active1 & 0x8L) != 0L)
966 else if ((active1 & 0x20L) != 0L)
967 return jjStartNfaWithStates_1(3, 69, 14);
968 return jjMoveStringLiteralDfa4_1(active0, 0x400000500000000L, active1, 0x10L);
971 return jjMoveStringLiteralDfa4_1(active0, 0x40000000L, active1, 0L);
974 if ((active0 & 0x80000000L) != 0L)
975 return jjStartNfaWithStates_1(3, 31, 14);
976 else if ((active0 & 0x2000000000000L) != 0L)
977 return jjStartNfaWithStates_1(3, 49, 14);
981 if ((active0 & 0x80000000000000L) != 0L)
982 return jjStartNfaWithStates_1(3, 55, 14);
983 return jjMoveStringLiteralDfa4_1(active0, 0x1200080000200000L, active1, 0L);
986 if ((active0 & 0x20000000L) != 0L)
987 return jjStartNfaWithStates_1(3, 29, 14);
988 return jjMoveStringLiteralDfa4_1(active0, 0x40104000000000L, active1, 0L);
991 return jjMoveStringLiteralDfa4_1(active0, 0x10000a00000000L, active1, 0L);
994 return jjMoveStringLiteralDfa4_1(active0, 0x800000000000000L, active1, 0L);
998 return jjStartNfa_1(2, active0, active1, 0L);
1000 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
1002 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1003 return jjStartNfa_1(2, old0, old1, 0L);
1004 try { curChar = input_stream.readChar(); }
1005 catch(java.io.IOException e) {
1006 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
1013 return jjMoveStringLiteralDfa5_1(active0, 0x8000001000000000L, active1, 0L);
1016 return jjMoveStringLiteralDfa5_1(active0, 0x40000000000000L, active1, 0x4L);
1019 if ((active0 & 0x200000000000000L) != 0L)
1020 return jjStartNfaWithStates_1(4, 57, 14);
1021 else if ((active0 & 0x400000000000000L) != 0L)
1022 return jjStartNfaWithStates_1(4, 58, 14);
1023 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x10L);
1026 if ((active0 & 0x2000000000000000L) != 0L)
1027 return jjStartNfaWithStates_1(4, 61, 14);
1031 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x200L);
1034 return jjMoveStringLiteralDfa5_1(active0, 0x800000000000000L, active1, 0L);
1037 return jjMoveStringLiteralDfa5_1(active0, 0x104a02000000L, active1, 0L);
1040 if ((active0 & 0x10000000L) != 0L)
1041 return jjStartNfaWithStates_1(4, 28, 14);
1045 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x40L);
1048 return jjMoveStringLiteralDfa5_1(active0, 0x802000000000L, active1, 0x2L);
1051 return jjMoveStringLiteralDfa5_1(active0, 0x4000000000000000L, active1, 0L);
1054 if ((active0 & 0x20000000000000L) != 0L)
1055 return jjStartNfaWithStates_1(4, 53, 14);
1056 return jjMoveStringLiteralDfa5_1(active0, 0x10000000000000L, active1, 0L);
1059 if ((active0 & 0x200000L) != 0L)
1060 return jjStartNfaWithStates_1(4, 21, 14);
1064 if ((active0 & 0x40000000L) != 0L)
1065 return jjStartNfaWithStates_1(4, 30, 14);
1066 else if ((active0 & 0x80000000000L) != 0L)
1067 return jjStartNfaWithStates_1(4, 43, 14);
1068 else if ((active1 & 0x80L) != 0L)
1069 return jjStartNfaWithStates_1(4, 71, 14);
1070 return jjMoveStringLiteralDfa5_1(active0, 0x400000L, active1, 0L);
1073 return jjMoveStringLiteralDfa5_1(active0, 0x200500000000L, active1, 0L);
1076 return jjMoveStringLiteralDfa5_1(active0, 0x1000000000000000L, active1, 0L);
1079 if ((active0 & 0x8000000L) != 0L)
1080 return jjStartNfaWithStates_1(4, 27, 14);
1085 return jjStartNfa_1(3, active0, active1, 0L);
1087 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
1089 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1090 return jjStartNfa_1(3, old0, old1, 0L);
1091 try { curChar = input_stream.readChar(); }
1092 catch(java.io.IOException e) {
1093 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1100 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x10L);
1103 if ((active0 & 0x4000000000L) != 0L)
1104 return jjStartNfaWithStates_1(5, 38, 14);
1105 return jjMoveStringLiteralDfa6_1(active0, 0x8000000000000000L, active1, 0L);
1108 return jjMoveStringLiteralDfa6_1(active0, 0x800500000000L, active1, 0L);
1111 if ((active0 & 0x2000000000L) != 0L)
1112 return jjStartNfaWithStates_1(5, 37, 14);
1113 else if ((active1 & 0x40L) != 0L)
1114 return jjStartNfaWithStates_1(5, 70, 14);
1115 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x200L);
1118 if ((active0 & 0x2000000L) != 0L)
1119 return jjStartNfaWithStates_1(5, 25, 14);
1123 if ((active1 & 0x2L) != 0L)
1124 return jjStartNfaWithStates_1(5, 65, 14);
1128 if ((active0 & 0x40000000000000L) != 0L)
1129 return jjStartNfaWithStates_1(5, 54, 14);
1133 return jjMoveStringLiteralDfa6_1(active0, 0x1800000000400000L, active1, 0L);
1136 if ((active0 & 0x1000000000L) != 0L)
1137 return jjStartNfaWithStates_1(5, 36, 14);
1138 return jjMoveStringLiteralDfa6_1(active0, 0x200000000000L, active1, 0L);
1141 if ((active0 & 0x10000000000000L) != 0L)
1142 return jjStartNfaWithStates_1(5, 52, 14);
1143 return jjMoveStringLiteralDfa6_1(active0, 0x100000000000L, active1, 0L);
1146 if ((active0 & 0x4000000000000000L) != 0L)
1147 return jjStartNfaWithStates_1(5, 62, 14);
1148 return jjMoveStringLiteralDfa6_1(active0, 0xa00000000L, active1, 0L);
1151 if ((active1 & 0x4L) != 0L)
1152 return jjStartNfaWithStates_1(5, 66, 14);
1157 return jjStartNfa_1(4, active0, active1, 0L);
1159 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1161 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1162 return jjStartNfa_1(4, old0, old1, 0L);
1163 try { curChar = input_stream.readChar(); }
1164 catch(java.io.IOException e) {
1165 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1172 if ((active0 & 0x100000000L) != 0L)
1177 else if ((active0 & 0x200000000L) != 0L)
1182 return jjMoveStringLiteralDfa7_1(active0, 0xc00000000L, active1, 0L);
1185 if ((active0 & 0x8000000000000000L) != 0L)
1186 return jjStartNfaWithStates_1(6, 63, 14);
1190 return jjMoveStringLiteralDfa7_1(active0, 0x800000000000000L, active1, 0L);
1193 if ((active1 & 0x10L) != 0L)
1194 return jjStartNfaWithStates_1(6, 68, 14);
1198 return jjMoveStringLiteralDfa7_1(active0, 0x400000L, active1, 0L);
1201 if ((active1 & 0x200L) != 0L)
1202 return jjStartNfaWithStates_1(6, 73, 14);
1206 if ((active0 & 0x800000000000L) != 0L)
1207 return jjStartNfaWithStates_1(6, 47, 14);
1211 if ((active0 & 0x200000000000L) != 0L)
1212 return jjStartNfaWithStates_1(6, 45, 14);
1213 return jjMoveStringLiteralDfa7_1(active0, 0x1000000000000000L, active1, 0L);
1216 return jjMoveStringLiteralDfa7_1(active0, 0x100000000000L, active1, 0L);
1220 return jjStartNfa_1(5, active0, active1, 0L);
1222 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1224 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1225 return jjStartNfa_1(5, old0, old1, 0L);
1226 try { curChar = input_stream.readChar(); }
1227 catch(java.io.IOException e) {
1228 jjStopStringLiteralDfa_1(6, active0, 0L, 0L);
1234 return jjMoveStringLiteralDfa8_1(active0, 0xc00000000L);
1237 return jjMoveStringLiteralDfa8_1(active0, 0x1000000000000000L);
1240 if ((active0 & 0x100000000000L) != 0L)
1241 return jjStartNfaWithStates_1(7, 44, 14);
1242 else if ((active0 & 0x800000000000000L) != 0L)
1243 return jjStartNfaWithStates_1(7, 59, 14);
1247 if ((active0 & 0x400000L) != 0L)
1248 return jjStartNfaWithStates_1(7, 22, 14);
1253 return jjStartNfa_1(6, active0, 0L, 0L);
1255 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0)
1257 if (((active0 &= old0)) == 0L)
1258 return jjStartNfa_1(6, old0, 0L, 0L);
1259 try { curChar = input_stream.readChar(); }
1260 catch(java.io.IOException e) {
1261 jjStopStringLiteralDfa_1(7, active0, 0L, 0L);
1268 if ((active0 & 0x1000000000000000L) != 0L)
1269 return jjStartNfaWithStates_1(8, 60, 14);
1273 return jjMoveStringLiteralDfa9_1(active0, 0xc00000000L);
1277 return jjStartNfa_1(7, active0, 0L, 0L);
1279 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0)
1281 if (((active0 &= old0)) == 0L)
1282 return jjStartNfa_1(7, old0, 0L, 0L);
1283 try { curChar = input_stream.readChar(); }
1284 catch(java.io.IOException e) {
1285 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1292 return jjMoveStringLiteralDfa10_1(active0, 0xc00000000L);
1296 return jjStartNfa_1(8, active0, 0L, 0L);
1298 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1300 if (((active0 &= old0)) == 0L)
1301 return jjStartNfa_1(8, old0, 0L, 0L);
1302 try { curChar = input_stream.readChar(); }
1303 catch(java.io.IOException e) {
1304 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1311 return jjMoveStringLiteralDfa11_1(active0, 0xc00000000L);
1315 return jjStartNfa_1(9, active0, 0L, 0L);
1317 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1319 if (((active0 &= old0)) == 0L)
1320 return jjStartNfa_1(9, old0, 0L, 0L);
1321 try { curChar = input_stream.readChar(); }
1322 catch(java.io.IOException e) {
1323 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1330 if ((active0 & 0x400000000L) != 0L)
1331 return jjStartNfaWithStates_1(11, 34, 14);
1332 else if ((active0 & 0x800000000L) != 0L)
1333 return jjStartNfaWithStates_1(11, 35, 14);
1338 return jjStartNfa_1(10, active0, 0L, 0L);
1340 static final long[] jjbitVec0 = {
1341 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
1343 static private final int jjMoveNfa_1(int startState, int curPos)
1349 jjstateSet[0] = startState;
1350 int j, kind = 0x7fffffff;
1353 if (++jjround == 0x7fffffff)
1357 long l = 1L << curChar;
1360 switch(jjstateSet[--i])
1363 if ((0x3ff000000000000L & l) != 0L)
1364 jjCheckNAddStates(0, 6);
1365 else if (curChar == 39)
1366 jjCheckNAddStates(7, 12);
1367 else if (curChar == 34)
1368 jjCheckNAddStates(13, 18);
1369 else if (curChar == 36)
1370 jjstateSet[jjnewStateCnt++] = 16;
1371 else if (curChar == 46)
1373 else if (curChar == 47)
1374 jjstateSet[jjnewStateCnt++] = 2;
1375 if ((0x3fe000000000000L & l) != 0L)
1379 jjCheckNAddTwoStates(5, 6);
1381 else if (curChar == 48)
1385 jjCheckNAddStates(19, 21);
1390 jjstateSet[jjnewStateCnt++] = 1;
1393 if ((0xffff7fffffffffffL & l) != 0L && kind > 13)
1398 jjstateSet[jjnewStateCnt++] = 0;
1401 if ((0x3fe000000000000L & l) == 0L)
1405 jjCheckNAddTwoStates(5, 6);
1408 if ((0x3ff000000000000L & l) == 0L)
1412 jjCheckNAddTwoStates(5, 6);
1419 if ((0x3ff000000000000L & l) == 0L)
1423 jjCheckNAddStates(22, 24);
1426 if ((0x280000000000L & l) != 0L)
1430 if ((0x3ff000000000000L & l) == 0L)
1434 jjCheckNAddTwoStates(11, 12);
1437 if ((0x3ff000000000000L & l) == 0L)
1441 jjstateSet[jjnewStateCnt++] = 14;
1445 jjstateSet[jjnewStateCnt++] = 16;
1448 if ((0x3ff000000000000L & l) == 0L)
1452 jjstateSet[jjnewStateCnt++] = 17;
1455 if ((0x3ff000000000000L & l) != 0L)
1456 jjCheckNAddStates(0, 6);
1459 if ((0x3ff000000000000L & l) != 0L)
1460 jjCheckNAddTwoStates(19, 20);
1467 jjCheckNAddStates(25, 27);
1470 if ((0x3ff000000000000L & l) == 0L)
1474 jjCheckNAddStates(25, 27);
1477 if ((0x280000000000L & l) != 0L)
1481 if ((0x3ff000000000000L & l) == 0L)
1485 jjCheckNAddTwoStates(24, 12);
1488 if ((0x3ff000000000000L & l) != 0L)
1489 jjCheckNAddTwoStates(25, 26);
1492 if ((0x280000000000L & l) != 0L)
1496 if ((0x3ff000000000000L & l) == 0L)
1500 jjCheckNAddTwoStates(28, 12);
1503 if ((0x3ff000000000000L & l) != 0L)
1504 jjCheckNAddStates(28, 30);
1507 if ((0x280000000000L & l) != 0L)
1511 if ((0x3ff000000000000L & l) != 0L)
1512 jjCheckNAddTwoStates(32, 12);
1519 jjCheckNAddStates(19, 21);
1522 if ((0x3ff000000000000L & l) == 0L)
1526 jjCheckNAddTwoStates(35, 6);
1529 if ((0xff000000000000L & l) == 0L)
1533 jjCheckNAddTwoStates(36, 6);
1537 jjCheckNAddStates(13, 18);
1540 if ((0xfffffffbffffffffL & l) != 0L)
1541 jjCheckNAddStates(31, 33);
1544 jjCheckNAddStates(31, 33);
1547 if (curChar == 34 && kind > 103)
1551 if ((0xfffffffbffffffffL & l) != 0L)
1552 jjCheckNAddStates(34, 36);
1555 jjCheckNAddStates(34, 36);
1558 if (curChar == 34 && kind > 104)
1563 jjCheckNAddStates(7, 12);
1566 if ((0xffffff7fffffffffL & l) != 0L)
1567 jjCheckNAddStates(37, 39);
1570 jjCheckNAddStates(37, 39);
1573 if (curChar == 39 && kind > 103)
1577 if ((0xffffff7fffffffffL & l) != 0L)
1578 jjCheckNAddStates(40, 42);
1581 jjCheckNAddStates(40, 42);
1584 if (curChar == 39 && kind > 105)
1589 jjCheckNAddStates(43, 45);
1593 jjCheckNAddStates(46, 48);
1597 } while(i != startsAt);
1599 else if (curChar < 128)
1601 long l = 1L << (curChar & 077);
1604 switch(jjstateSet[--i])
1607 if ((0x87fffffe87fffffeL & l) != 0L)
1613 else if (curChar == 96)
1614 jjCheckNAddStates(49, 54);
1621 if ((0x100000001000L & l) != 0L && kind > 97)
1625 if ((0x2000000020L & l) != 0L)
1626 jjAddStates(55, 56);
1629 if ((0x5000000050L & l) != 0L && kind > 101)
1634 if ((0x87fffffe87fffffeL & l) == 0L)
1642 if ((0x87fffffe87fffffeL & l) == 0L)
1649 if ((0x2000000020L & l) != 0L)
1650 jjAddStates(57, 58);
1653 if ((0x2000000020L & l) != 0L)
1654 jjAddStates(59, 60);
1657 if ((0x2000000020L & l) != 0L)
1658 jjAddStates(61, 62);
1661 if ((0x100000001000000L & l) != 0L)
1665 if ((0x7e0000007eL & l) == 0L)
1669 jjCheckNAddTwoStates(35, 6);
1672 if ((0xffffffffefffffffL & l) != 0L)
1673 jjCheckNAddStates(31, 33);
1677 jjstateSet[jjnewStateCnt++] = 40;
1680 jjCheckNAddStates(31, 33);
1683 if ((0xffffffffefffffffL & l) != 0L)
1684 jjCheckNAddStates(34, 36);
1688 jjstateSet[jjnewStateCnt++] = 44;
1691 jjCheckNAddStates(34, 36);
1694 if ((0xffffffffefffffffL & l) != 0L)
1695 jjCheckNAddStates(37, 39);
1699 jjstateSet[jjnewStateCnt++] = 49;
1702 jjCheckNAddStates(37, 39);
1705 if ((0xffffffffefffffffL & l) != 0L)
1706 jjCheckNAddStates(40, 42);
1710 jjstateSet[jjnewStateCnt++] = 53;
1713 jjCheckNAddStates(40, 42);
1717 jjCheckNAddStates(49, 54);
1720 if ((0xfffffffeefffffffL & l) != 0L)
1721 jjCheckNAddStates(43, 45);
1725 jjstateSet[jjnewStateCnt++] = 58;
1728 jjCheckNAddStates(43, 45);
1731 if (curChar == 96 && kind > 103)
1735 if ((0xfffffffeefffffffL & l) != 0L)
1736 jjCheckNAddStates(46, 48);
1740 jjstateSet[jjnewStateCnt++] = 62;
1743 jjCheckNAddStates(46, 48);
1746 if (curChar == 96 && kind > 106)
1751 } while(i != startsAt);
1755 int i2 = (curChar & 0xff) >> 6;
1756 long l2 = 1L << (curChar & 077);
1759 switch(jjstateSet[--i])
1763 if ((jjbitVec0[i2] & l2) == 0L)
1770 if ((jjbitVec0[i2] & l2) != 0L && kind > 13)
1775 if ((jjbitVec0[i2] & l2) == 0L)
1783 if ((jjbitVec0[i2] & l2) != 0L)
1784 jjCheckNAddStates(31, 33);
1788 if ((jjbitVec0[i2] & l2) != 0L)
1789 jjCheckNAddStates(34, 36);
1793 if ((jjbitVec0[i2] & l2) != 0L)
1794 jjCheckNAddStates(37, 39);
1798 if ((jjbitVec0[i2] & l2) != 0L)
1799 jjCheckNAddStates(40, 42);
1803 if ((jjbitVec0[i2] & l2) != 0L)
1804 jjCheckNAddStates(43, 45);
1808 if ((jjbitVec0[i2] & l2) != 0L)
1809 jjCheckNAddStates(46, 48);
1813 } while(i != startsAt);
1815 if (kind != 0x7fffffff)
1817 jjmatchedKind = kind;
1818 jjmatchedPos = curPos;
1822 if ((i = jjnewStateCnt) == (startsAt = 64 - (jjnewStateCnt = startsAt)))
1824 try { curChar = input_stream.readChar(); }
1825 catch(java.io.IOException e) { return curPos; }
1828 static private final int jjMoveStringLiteralDfa0_3()
1833 return jjMoveStringLiteralDfa1_3(0x40000L);
1836 return jjMoveStringLiteralDfa1_3(0x20000L);
1841 static private final int jjMoveStringLiteralDfa1_3(long active0)
1843 try { curChar = input_stream.readChar(); }
1844 catch(java.io.IOException e) {
1850 if ((active0 & 0x40000L) != 0L)
1851 return jjStopAtPos(1, 18);
1855 return jjMoveStringLiteralDfa2_3(active0, 0x20000L);
1861 static private final int jjMoveStringLiteralDfa2_3(long old0, long active0)
1863 if (((active0 &= old0)) == 0L)
1865 try { curChar = input_stream.readChar(); }
1866 catch(java.io.IOException e) {
1873 return jjMoveStringLiteralDfa3_3(active0, 0x20000L);
1878 static private final int jjMoveStringLiteralDfa3_3(long old0, long active0)
1880 if (((active0 &= old0)) == 0L)
1882 try { curChar = input_stream.readChar(); }
1883 catch(java.io.IOException e) {
1890 if ((active0 & 0x20000L) != 0L)
1891 return jjStopAtPos(3, 17);
1898 static final int[] jjnextStates = {
1899 19, 20, 25, 26, 29, 30, 12, 47, 48, 50, 51, 52, 54, 38, 39, 41,
1900 42, 43, 45, 34, 36, 6, 8, 9, 12, 21, 22, 12, 29, 30, 12, 38,
1901 39, 41, 42, 43, 45, 47, 48, 50, 51, 52, 54, 56, 57, 59, 60, 61,
1902 63, 56, 57, 59, 60, 61, 63, 10, 11, 23, 24, 27, 28, 31, 32,
1904 public static final String[] jjstrLiteralImages = {
1905 "", "\74\77", null, "\74\77\75", "\77\76", null, null, null, null, null, null,
1906 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1907 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1908 "\55\76", "\72\72", "\75\76", null, null, null, null, null, null, null, null, null, null,
1909 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
1910 null, null, null, null, null, null, null, null, "\100", "\44", "\41", "\176", "\77",
1911 "\72", "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55", "\52", "\57", "\46",
1912 "\174", "\136", "\45", "\74\74", "\76\76", "\76\76\76", null, null, null, null, null,
1913 null, null, null, null, null, null, null, null, null, null, null, "\50", "\51",
1914 "\173", "\175", "\133", "\135", "\73", "\54", "\56", "\76", "\74", "\75\75", "\74\75",
1915 "\76\75", "\41\75", "\74\76", "\41\75\75", "\75\75\75", "\75", "\53\75", "\55\75",
1916 "\52\75", "\57\75", "\46\75", "\174\75", "\136\75", "\56\75", "\45\75", "\176\75",
1917 "\74\74\75", "\76\76\75", null, };
1918 public static final String[] lexStateNames = {
1921 "IN_SINGLE_LINE_COMMENT",
1922 "IN_FORMAL_COMMENT",
1923 "IN_MULTI_LINE_COMMENT",
1925 public static final int[] jjnewLexState = {
1926 -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,
1927 -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,
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,
1933 static final long[] jjtoToken = {
1934 0xffffffffffe0001fL, 0xffff8fa3ffffffffL, 0x7fffL,
1936 static final long[] jjtoSkip = {
1937 0xfffe0L, 0x0L, 0x0L,
1939 static final long[] jjtoSpecial = {
1940 0xff800L, 0x0L, 0x0L,
1942 static final long[] jjtoMore = {
1943 0x100000L, 0x0L, 0x0L,
1945 static protected SimpleCharStream input_stream;
1946 static private final int[] jjrounds = new int[64];
1947 static private final int[] jjstateSet = new int[128];
1948 static StringBuffer image;
1949 static int jjimageLen;
1950 static int lengthOfMatch;
1951 static protected char curChar;
1952 public PHPParserTokenManager(SimpleCharStream stream)
1954 if (input_stream != null)
1955 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
1956 input_stream = stream;
1958 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
1963 static public void ReInit(SimpleCharStream stream)
1965 jjmatchedPos = jjnewStateCnt = 0;
1966 curLexState = defaultLexState;
1967 input_stream = stream;
1970 static private final void ReInitRounds()
1973 jjround = 0x80000001;
1974 for (i = 64; i-- > 0;)
1975 jjrounds[i] = 0x80000000;
1977 static public void ReInit(SimpleCharStream stream, int lexState)
1982 static public void SwitchTo(int lexState)
1984 if (lexState >= 5 || lexState < 0)
1985 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
1987 curLexState = lexState;
1990 static protected Token jjFillToken()
1992 Token t = Token.newToken(jjmatchedKind);
1993 t.kind = jjmatchedKind;
1994 String im = jjstrLiteralImages[jjmatchedKind];
1995 t.image = (im == null) ? input_stream.GetImage() : im;
1996 t.beginLine = input_stream.getBeginLine();
1997 t.beginColumn = input_stream.getBeginColumn();
1998 t.endLine = input_stream.getEndLine();
1999 t.endColumn = input_stream.getEndColumn();
2003 static int curLexState = 0;
2004 static int defaultLexState = 0;
2005 static int jjnewStateCnt;
2007 static int jjmatchedPos;
2008 static int jjmatchedKind;
2010 public static Token getNextToken()
2013 Token specialToken = null;
2022 curChar = input_stream.BeginToken();
2024 catch(java.io.IOException e)
2027 matchedToken = jjFillToken();
2028 matchedToken.specialToken = specialToken;
2029 return matchedToken;
2039 jjmatchedKind = 0x7fffffff;
2041 curPos = jjMoveStringLiteralDfa0_0();
2042 if (jjmatchedPos == 0 && jjmatchedKind > 5)
2048 try { input_stream.backup(0);
2049 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
2050 curChar = input_stream.BeginToken();
2052 catch (java.io.IOException e1) { continue EOFLoop; }
2053 jjmatchedKind = 0x7fffffff;
2055 curPos = jjMoveStringLiteralDfa0_1();
2058 jjmatchedKind = 0x7fffffff;
2060 curPos = jjMoveStringLiteralDfa0_2();
2061 if (jjmatchedPos == 0 && jjmatchedKind > 20)
2067 jjmatchedKind = 0x7fffffff;
2069 curPos = jjMoveStringLiteralDfa0_3();
2070 if (jjmatchedPos == 0 && jjmatchedKind > 20)
2076 jjmatchedKind = 0x7fffffff;
2078 curPos = jjMoveStringLiteralDfa0_4();
2079 if (jjmatchedPos == 0 && jjmatchedKind > 20)
2085 if (jjmatchedKind != 0x7fffffff)
2087 if (jjmatchedPos + 1 < curPos)
2088 input_stream.backup(curPos - jjmatchedPos - 1);
2089 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2091 matchedToken = jjFillToken();
2092 matchedToken.specialToken = specialToken;
2093 TokenLexicalActions(matchedToken);
2094 if (jjnewLexState[jjmatchedKind] != -1)
2095 curLexState = jjnewLexState[jjmatchedKind];
2096 return matchedToken;
2098 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2100 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2102 matchedToken = jjFillToken();
2103 if (specialToken == null)
2104 specialToken = matchedToken;
2107 matchedToken.specialToken = specialToken;
2108 specialToken = (specialToken.next = matchedToken);
2110 SkipLexicalActions(matchedToken);
2113 SkipLexicalActions(null);
2114 if (jjnewLexState[jjmatchedKind] != -1)
2115 curLexState = jjnewLexState[jjmatchedKind];
2118 jjimageLen += jjmatchedPos + 1;
2119 if (jjnewLexState[jjmatchedKind] != -1)
2120 curLexState = jjnewLexState[jjmatchedKind];
2122 jjmatchedKind = 0x7fffffff;
2124 curChar = input_stream.readChar();
2127 catch (java.io.IOException e1) { }
2129 int error_line = input_stream.getEndLine();
2130 int error_column = input_stream.getEndColumn();
2131 String error_after = null;
2132 boolean EOFSeen = false;
2133 try { input_stream.readChar(); input_stream.backup(1); }
2134 catch (java.io.IOException e1) {
2136 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2137 if (curChar == '\n' || curChar == '\r') {
2145 input_stream.backup(1);
2146 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2148 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
2153 static void SkipLexicalActions(Token matchedToken)
2155 switch(jjmatchedKind)
2159 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2161 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2162 input_stream.backup(1);
2166 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2168 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2169 PHPParser.createNewTask();
2175 static void TokenLexicalActions(Token matchedToken)
2177 switch(jjmatchedKind)
2181 image = new StringBuffer(jjstrLiteralImages[1]);
2183 image.append(jjstrLiteralImages[1]);
2184 PHPParser.createNewHTMLCode();
2188 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2190 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2191 PHPParser.createNewHTMLCode();
2195 image = new StringBuffer(jjstrLiteralImages[3]);
2197 image.append(jjstrLiteralImages[3]);
2198 PHPParser.createNewHTMLCode();
2202 image = new StringBuffer(jjstrLiteralImages[4]);
2204 image.append(jjstrLiteralImages[4]);
2205 PHPParser.htmlStart = SimpleCharStream.getPosition();