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 // CommonTokenAction: use the begins/ends fields added to the Jack
24 // CharStream class to set corresponding fields in each Token (which was
25 // also extended with new fields). By default Jack doesn't supply absolute
26 // offsets, just line/column offsets
27 static void CommonTokenAction(Token t) {
28 t.sourceStart = input_stream.beginOffset;
29 t.sourceEnd = input_stream.endOffset;
31 public static java.io.PrintStream debugStream = System.out;
32 public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
33 static private final int jjStopAtPos(int pos, int kind)
39 static private final int jjMoveStringLiteralDfa0_0()
44 return jjMoveStringLiteralDfa1_0(0xeL);
47 return jjMoveStringLiteralDfa1_0(0x800000L);
52 static private final int jjMoveStringLiteralDfa1_0(long active0)
54 try { curChar = input_stream.readChar(); }
55 catch(java.io.IOException e) {
61 if ((active0 & 0x2L) != 0L)
66 return jjMoveStringLiteralDfa2_0(active0, 0xcL);
69 return jjMoveStringLiteralDfa2_0(active0, 0x800000L);
74 static private final int jjMoveStringLiteralDfa2_0(long old0, long active0)
76 if (((active0 &= old0)) == 0L)
78 try { curChar = input_stream.readChar(); }
79 catch(java.io.IOException e) {
85 if ((active0 & 0x8L) != 0L)
86 return jjStopAtPos(2, 3);
90 return jjMoveStringLiteralDfa3_0(active0, 0x800000L);
93 return jjMoveStringLiteralDfa3_0(active0, 0x4L);
99 static private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
101 if (((active0 &= old0)) == 0L)
103 try { curChar = input_stream.readChar(); }
104 catch(java.io.IOException e) {
111 return jjMoveStringLiteralDfa4_0(active0, 0x4L);
114 if ((active0 & 0x800000L) != 0L)
115 return jjStopAtPos(3, 23);
122 static private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
124 if (((active0 &= old0)) == 0L)
126 try { curChar = input_stream.readChar(); }
127 catch(java.io.IOException e) {
134 if ((active0 & 0x4L) != 0L)
135 return jjStopAtPos(4, 2);
142 static private final int jjMoveStringLiteralDfa0_5()
147 return jjMoveStringLiteralDfa1_5(0x2000000L);
150 return jjMoveStringLiteralDfa1_5(0x400000L);
155 static private final int jjMoveStringLiteralDfa1_5(long active0)
157 try { curChar = input_stream.readChar(); }
158 catch(java.io.IOException e) {
164 if ((active0 & 0x2000000L) != 0L)
165 return jjStopAtPos(1, 25);
169 return jjMoveStringLiteralDfa2_5(active0, 0x400000L);
175 static private final int jjMoveStringLiteralDfa2_5(long old0, long active0)
177 if (((active0 &= old0)) == 0L)
179 try { curChar = input_stream.readChar(); }
180 catch(java.io.IOException e) {
187 return jjMoveStringLiteralDfa3_5(active0, 0x400000L);
192 static private final int jjMoveStringLiteralDfa3_5(long old0, long active0)
194 if (((active0 &= old0)) == 0L)
196 try { curChar = input_stream.readChar(); }
197 catch(java.io.IOException e) {
204 if ((active0 & 0x400000L) != 0L)
205 return jjStopAtPos(3, 22);
212 private static final int jjStopStringLiteralDfa_2(int pos, long active0)
220 private static final int jjStartNfa_2(int pos, long active0)
222 return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
224 static private final int jjStartNfaWithStates_2(int pos, int kind, int state)
226 jjmatchedKind = kind;
228 try { curChar = input_stream.readChar(); }
229 catch(java.io.IOException e) { return pos + 1; }
230 return jjMoveNfa_2(state, pos + 1);
232 static private final int jjMoveStringLiteralDfa0_2()
237 return jjMoveStringLiteralDfa1_2(0x10L);
240 return jjMoveStringLiteralDfa1_2(0x400000L);
242 return jjMoveNfa_2(0, 0);
245 static private final int jjMoveStringLiteralDfa1_2(long active0)
247 try { curChar = input_stream.readChar(); }
248 catch(java.io.IOException e) {
249 jjStopStringLiteralDfa_2(0, active0);
255 if ((active0 & 0x10L) != 0L)
256 return jjStopAtPos(1, 4);
260 return jjMoveStringLiteralDfa2_2(active0, 0x400000L);
264 return jjStartNfa_2(0, active0);
266 static private final int jjMoveStringLiteralDfa2_2(long old0, long active0)
268 if (((active0 &= old0)) == 0L)
269 return jjStartNfa_2(0, old0);
270 try { curChar = input_stream.readChar(); }
271 catch(java.io.IOException e) {
272 jjStopStringLiteralDfa_2(1, active0);
279 return jjMoveStringLiteralDfa3_2(active0, 0x400000L);
283 return jjStartNfa_2(1, active0);
285 static private final int jjMoveStringLiteralDfa3_2(long old0, long active0)
287 if (((active0 &= old0)) == 0L)
288 return jjStartNfa_2(1, old0);
289 try { curChar = input_stream.readChar(); }
290 catch(java.io.IOException e) {
291 jjStopStringLiteralDfa_2(2, active0);
298 if ((active0 & 0x400000L) != 0L)
299 return jjStopAtPos(3, 22);
304 return jjStartNfa_2(2, active0);
306 static private final void jjCheckNAdd(int state)
308 if (jjrounds[state] != jjround)
310 jjstateSet[jjnewStateCnt++] = state;
311 jjrounds[state] = jjround;
314 static private final void jjAddStates(int start, int end)
317 jjstateSet[jjnewStateCnt++] = jjnextStates[start];
318 } while (start++ != end);
320 static private final void jjCheckNAddTwoStates(int state1, int state2)
325 static private final void jjCheckNAddStates(int start, int end)
328 jjCheckNAdd(jjnextStates[start]);
329 } while (start++ != end);
331 static private final void jjCheckNAddStates(int start)
333 jjCheckNAdd(jjnextStates[start]);
334 jjCheckNAdd(jjnextStates[start + 1]);
336 static private final int jjMoveNfa_2(int startState, int curPos)
342 jjstateSet[0] = startState;
343 int j, kind = 0x7fffffff;
346 if (++jjround == 0x7fffffff)
350 long l = 1L << curChar;
353 switch(jjstateSet[--i])
356 if ((0x2400L & l) != 0L)
362 jjstateSet[jjnewStateCnt++] = 1;
365 if (curChar == 10 && kind > 20)
370 jjstateSet[jjnewStateCnt++] = 1;
374 } while(i != startsAt);
376 else if (curChar < 128)
378 long l = 1L << (curChar & 077);
381 switch(jjstateSet[--i])
385 } while(i != startsAt);
389 int i2 = (curChar & 0xff) >> 6;
390 long l2 = 1L << (curChar & 077);
393 switch(jjstateSet[--i])
397 } while(i != startsAt);
399 if (kind != 0x7fffffff)
401 jjmatchedKind = kind;
402 jjmatchedPos = curPos;
406 if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
408 try { curChar = input_stream.readChar(); }
409 catch(java.io.IOException e) { return curPos; }
412 private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1, long active2)
417 if ((active0 & 0x90000L) != 0L || (active1 & 0x10000000L) != 0L || (active2 & 0x800L) != 0L)
419 if ((active1 & 0x2000000000000000L) != 0L || (active2 & 0x8000L) != 0L)
421 if ((active0 & 0xffff1ffff8000000L) != 0L || (active1 & 0x300000ffffL) != 0L)
428 if ((active0 & 0x80000L) != 0L)
430 if ((active0 & 0x10000040000000L) != 0L || (active1 & 0x1000001040L) != 0L)
432 if ((active0 & 0xffef1fffb8000000L) != 0L || (active1 & 0x200000efbfL) != 0L)
434 if (jjmatchedPos != 1)
443 if ((active0 & 0xfeaf1fff98000000L) != 0L || (active1 & 0x3f9fL) != 0L)
445 if (jjmatchedPos != 2)
452 if ((active0 & 0x140000020000000L) != 0L || (active1 & 0x200000c020L) != 0L)
456 if ((active0 & 0x6281002980000000L) != 0L || (active1 & 0xe00L) != 0L)
458 if ((active0 & 0x9c2e1fd618000000L) != 0L || (active1 & 0xb1bfL) != 0L)
460 if (jjmatchedPos != 3)
469 if ((active0 & 0x8802001608000000L) != 0L || (active1 & 0x2009L) != 0L)
471 if ((active0 & 0x142c1fc090000000L) != 0L || (active1 & 0x95b6L) != 0L)
479 if ((active0 & 0x2c03c010000000L) != 0L || (active1 & 0x8426L) != 0L)
485 if ((active0 & 0x14001c0080000000L) != 0L || (active1 & 0x1190L) != 0L)
489 if ((active0 & 0x2803c000000000L) != 0L || (active1 & 0x8420L) != 0L)
491 if ((active0 & 0x4000010000000L) != 0L || (active1 & 0x6L) != 0L)
493 if (jjmatchedPos != 6)
502 if ((active0 & 0x4000010000000L) != 0L || (active1 & 0x2L) != 0L)
504 if ((active0 & 0x30000000000L) != 0L || (active1 & 0x4L) != 0L)
512 if ((active1 & 0x4L) != 0L)
514 if ((active0 & 0x30000000000L) != 0L)
522 if ((active0 & 0x30000000000L) != 0L)
530 if ((active0 & 0x30000000000L) != 0L)
541 private static final int jjStartNfa_1(int pos, long active0, long active1, long active2)
543 return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1, active2), pos + 1);
545 static private final int jjStartNfaWithStates_1(int pos, int kind, int state)
547 jjmatchedKind = kind;
549 try { curChar = input_stream.readChar(); }
550 catch(java.io.IOException e) { return pos + 1; }
551 return jjMoveNfa_1(state, pos + 1);
553 static private final int jjMoveStringLiteralDfa0_1()
559 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x28L);
561 return jjStopAtPos(0, 17);
563 return jjStopAtPos(0, 112);
566 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x10000L);
569 return jjMoveStringLiteralDfa1_1(0x0L, 0x400000L, 0x1000L);
571 return jjStopAtPos(0, 117);
573 return jjStopAtPos(0, 118);
576 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x400L);
579 return jjMoveStringLiteralDfa1_1(0x0L, 0x800000L, 0x100L);
581 return jjStopAtPos(0, 124);
584 return jjMoveStringLiteralDfa1_1(0x200000000000L, 0x1000000L, 0x200L);
587 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x8000L);
590 return jjMoveStringLiteralDfa1_1(0x90000L, 0x0L, 0x800L);
593 return jjMoveStringLiteralDfa1_1(0x400000000000L, 0x0L, 0x0L);
595 return jjStopAtPos(0, 123);
598 return jjMoveStringLiteralDfa1_1(0x0L, 0x200000000L, 0x40012L);
601 return jjMoveStringLiteralDfa1_1(0x800000000000L, 0x0L, 0x41L);
604 return jjMoveStringLiteralDfa1_1(0x0L, 0xc00000000L, 0x80004L);
607 return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L);
609 return jjStopAtPos(0, 80);
611 return jjStopAtPos(0, 121);
613 return jjStopAtPos(0, 122);
616 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x4000L);
619 return jjMoveStringLiteralDfa1_1(0x200000000L, 0x2000000040L, 0x0L);
622 return jjMoveStringLiteralDfa1_1(0x400000000L, 0x600L, 0x0L);
625 return jjMoveStringLiteralDfa1_1(0x7000008000000L, 0x0L, 0x0L);
628 return jjMoveStringLiteralDfa1_1(0x18080000000000L, 0x1000L, 0x0L);
631 return jjMoveStringLiteralDfa1_1(0x20002180000000L, 0x1eL, 0x0L);
634 return jjMoveStringLiteralDfa1_1(0x8040000010000000L, 0x2020L, 0x0L);
637 return jjMoveStringLiteralDfa1_1(0x80040000000000L, 0x0L, 0x0L);
640 return jjMoveStringLiteralDfa1_1(0x14040000000L, 0xc000L, 0x0L);
643 return jjMoveStringLiteralDfa1_1(0x800000000L, 0x0L, 0x0L);
646 return jjMoveStringLiteralDfa1_1(0x300000000000000L, 0x0L, 0x0L);
649 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000000100L, 0x0L);
652 return jjMoveStringLiteralDfa1_1(0x1000000000L, 0x0L, 0x0L);
655 return jjMoveStringLiteralDfa1_1(0x400028000000000L, 0x800L, 0x0L);
658 return jjMoveStringLiteralDfa1_1(0x1800100000000000L, 0x80L, 0x0L);
661 return jjMoveStringLiteralDfa1_1(0x6000000000000000L, 0x0L, 0x0L);
664 return jjMoveStringLiteralDfa1_1(0x20000000L, 0x0L, 0x0L);
667 return jjMoveStringLiteralDfa1_1(0x0L, 0x1L, 0x0L);
669 return jjStopAtPos(0, 119);
672 return jjMoveStringLiteralDfa1_1(0x0L, 0x200000L, 0x2000L);
674 return jjStopAtPos(0, 120);
677 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x20000L);
679 return jjMoveNfa_1(3, 0);
682 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
684 try { curChar = input_stream.readChar(); }
685 catch(java.io.IOException e) {
686 jjStopStringLiteralDfa_1(0, active0, active1, active2);
692 if ((active1 & 0x400000L) != 0L)
693 return jjStopAtPos(1, 86);
696 if ((active0 & 0x80000L) != 0L)
697 return jjStartNfaWithStates_1(1, 19, 0);
700 if ((active1 & 0x800000L) != 0L)
701 return jjStopAtPos(1, 87);
704 if ((active1 & 0x1000000L) != 0L)
705 return jjStopAtPos(1, 88);
708 if ((active0 & 0x10000L) != 0L)
709 return jjStopAtPos(1, 16);
712 if ((active0 & 0x400000000000L) != 0L)
713 return jjStopAtPos(1, 46);
716 if ((active1 & 0x200000000L) != 0L)
721 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x40000L);
723 if ((active2 & 0x1L) != 0L)
728 else if ((active2 & 0x2L) != 0L)
729 return jjStopAtPos(1, 129);
730 else if ((active2 & 0x4L) != 0L)
731 return jjStopAtPos(1, 130);
732 else if ((active2 & 0x8L) != 0L)
737 else if ((active2 & 0x100L) != 0L)
738 return jjStopAtPos(1, 136);
739 else if ((active2 & 0x200L) != 0L)
740 return jjStopAtPos(1, 137);
741 else if ((active2 & 0x400L) != 0L)
742 return jjStopAtPos(1, 138);
743 else if ((active2 & 0x800L) != 0L)
744 return jjStopAtPos(1, 139);
745 else if ((active2 & 0x1000L) != 0L)
746 return jjStopAtPos(1, 140);
747 else if ((active2 & 0x2000L) != 0L)
748 return jjStopAtPos(1, 141);
749 else if ((active2 & 0x4000L) != 0L)
750 return jjStopAtPos(1, 142);
751 else if ((active2 & 0x8000L) != 0L)
752 return jjStopAtPos(1, 143);
753 else if ((active2 & 0x10000L) != 0L)
754 return jjStopAtPos(1, 144);
755 else if ((active2 & 0x20000L) != 0L)
756 return jjStopAtPos(1, 145);
757 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x60L);
759 if ((active0 & 0x10L) != 0L)
760 return jjStopAtPos(1, 4);
761 else if ((active0 & 0x200000000000L) != 0L)
762 return jjStopAtPos(1, 45);
763 else if ((active0 & 0x800000000000L) != 0L)
764 return jjStopAtPos(1, 47);
765 else if ((active1 & 0x400000000L) != 0L)
770 else if ((active2 & 0x10L) != 0L)
771 return jjStopAtPos(1, 132);
772 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x800000000L, active2, 0x80000L);
775 return jjMoveStringLiteralDfa2_1(active0, 0x8001000020000000L, active1, 0L, active2, 0L);
778 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x100L, active2, 0L);
781 return jjMoveStringLiteralDfa2_1(active0, 0x2000000000L, active1, 0L, active2, 0L);
784 return jjMoveStringLiteralDfa2_1(active0, 0x5080a8000000000L, active1, 0x800L, active2, 0L);
787 if ((active0 & 0x40000000L) != 0L)
788 return jjStartNfaWithStates_1(1, 30, 14);
792 return jjMoveStringLiteralDfa2_1(active0, 0x2000000000000000L, active1, 0x1L, active2, 0L);
795 return jjMoveStringLiteralDfa2_1(active0, 0x800000000L, active1, 0L, active2, 0L);
798 return jjMoveStringLiteralDfa2_1(active0, 0x40188000000L, active1, 0x2000L, active2, 0L);
801 return jjMoveStringLiteralDfa2_1(active0, 0x14000000000L, active1, 0x200000c01eL, active2, 0L);
804 if ((active0 & 0x10000000000000L) != 0L)
809 return jjMoveStringLiteralDfa2_1(active0, 0xc6000000000000L, active1, 0x1620L, active2, 0L);
812 if ((active1 & 0x1000000000L) != 0L)
813 return jjStartNfaWithStates_1(1, 100, 14);
814 return jjMoveStringLiteralDfa2_1(active0, 0x4000001600000000L, active1, 0L, active2, 0L);
817 if ((active1 & 0x40L) != 0L)
818 return jjStartNfaWithStates_1(1, 70, 14);
822 return jjMoveStringLiteralDfa2_1(active0, 0x100000000000L, active1, 0x80L, active2, 0L);
825 return jjMoveStringLiteralDfa2_1(active0, 0xa00000010000000L, active1, 0L, active2, 0L);
828 return jjMoveStringLiteralDfa2_1(active0, 0x1000000000000000L, active1, 0L, active2, 0L);
831 return jjMoveStringLiteralDfa2_1(active0, 0x20000000000000L, active1, 0L, active2, 0L);
833 if ((active1 & 0x200000L) != 0L)
834 return jjStopAtPos(1, 85);
839 return jjStartNfa_1(0, active0, active1, active2);
841 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
843 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
844 return jjStartNfa_1(0, old0, old1, old2);
845 try { curChar = input_stream.readChar(); }
846 catch(java.io.IOException e) {
847 jjStopStringLiteralDfa_1(1, active0, active1, active2);
853 if ((active2 & 0x20L) != 0L)
854 return jjStopAtPos(2, 133);
855 else if ((active2 & 0x40L) != 0L)
856 return jjStopAtPos(2, 134);
857 else if ((active2 & 0x40000L) != 0L)
858 return jjStopAtPos(2, 146);
859 else if ((active2 & 0x80000L) != 0L)
860 return jjStopAtPos(2, 147);
863 if ((active1 & 0x800000000L) != 0L)
864 return jjStopAtPos(2, 99);
868 return jjMoveStringLiteralDfa3_1(active0, 0x100008000000L, active1, 0x800L, active2, 0L);
871 return jjMoveStringLiteralDfa3_1(active0, 0x14000000000L, active1, 0L, active2, 0L);
874 if ((active1 & 0x2000000000L) != 0L)
875 return jjStartNfaWithStates_1(2, 101, 14);
876 return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x1eL, active2, 0L);
879 return jjMoveStringLiteralDfa3_1(active0, 0x400000000L, active1, 0L, active2, 0L);
882 return jjMoveStringLiteralDfa3_1(active0, 0x8080000000000L, active1, 0L, active2, 0L);
885 return jjMoveStringLiteralDfa3_1(active0, 0x2000000000L, active1, 0L, active2, 0L);
888 return jjMoveStringLiteralDfa3_1(active0, 0x3000001000000000L, active1, 0x1L, active2, 0L);
891 return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x100L, active2, 0L);
894 return jjMoveStringLiteralDfa3_1(active0, 0x8200000000000000L, active1, 0L, active2, 0L);
897 return jjMoveStringLiteralDfa3_1(active0, 0x6000010000000L, active1, 0L, active2, 0L);
900 return jjMoveStringLiteralDfa3_1(active0, 0x40000000000L, active1, 0x2600L, active2, 0L);
903 return jjMoveStringLiteralDfa3_1(active0, 0x800000000000000L, active1, 0L, active2, 0L);
906 return jjMoveStringLiteralDfa3_1(active0, 0x28000000000L, active1, 0L, active2, 0L);
909 if ((active0 & 0x20000000L) != 0L)
910 return jjStartNfaWithStates_1(2, 29, 14);
911 else if ((active0 & 0x40000000000000L) != 0L)
916 return jjMoveStringLiteralDfa3_1(active0, 0x200000000L, active1, 0xa0L, active2, 0L);
919 return jjMoveStringLiteralDfa3_1(active0, 0x1000980000000L, active1, 0L, active2, 0L);
922 if ((active1 & 0x4000L) != 0L)
927 return jjMoveStringLiteralDfa3_1(active0, 0x4a0000000000000L, active1, 0x8000L, active2, 0L);
930 return jjMoveStringLiteralDfa3_1(active0, 0x4000000000000000L, active1, 0x1000L, active2, 0L);
933 if ((active0 & 0x100000000000000L) != 0L)
934 return jjStartNfaWithStates_1(2, 56, 14);
939 return jjStartNfa_1(1, active0, active1, active2);
941 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
943 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
944 return jjStartNfa_1(1, old0, old1, old2);
945 try { curChar = input_stream.readChar(); }
946 catch(java.io.IOException e) {
947 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
954 return jjMoveStringLiteralDfa4_1(active0, 0x8000600000000L, active1, 0x2000L);
957 return jjMoveStringLiteralDfa4_1(active0, 0x40000000000L, active1, 0x1000L);
960 return jjMoveStringLiteralDfa4_1(active0, 0x10000000L, active1, 0L);
963 if ((active0 & 0x100000000L) != 0L)
968 else if ((active0 & 0x1000000000000L) != 0L)
969 return jjStartNfaWithStates_1(3, 48, 14);
970 else if ((active0 & 0x4000000000000000L) != 0L)
971 return jjStartNfaWithStates_1(3, 62, 14);
972 return jjMoveStringLiteralDfa4_1(active0, 0x820000080000000L, active1, 0x8120L);
975 return jjMoveStringLiteralDfa4_1(active0, 0L, active1, 0x10L);
978 return jjMoveStringLiteralDfa4_1(active0, 0x80000000000L, active1, 0x88L);
981 if ((active0 & 0x200000000000000L) != 0L)
982 return jjStartNfaWithStates_1(3, 57, 14);
983 else if ((active1 & 0x200L) != 0L)
988 else if ((active1 & 0x800L) != 0L)
989 return jjStartNfaWithStates_1(3, 75, 14);
990 return jjMoveStringLiteralDfa4_1(active0, 0x14000000000L, active1, 0x401L);
993 return jjMoveStringLiteralDfa4_1(active0, 0x1000000000L, active1, 0L);
996 if ((active0 & 0x2000000000L) != 0L)
997 return jjStartNfaWithStates_1(3, 37, 14);
998 else if ((active0 & 0x80000000000000L) != 0L)
999 return jjStartNfaWithStates_1(3, 55, 14);
1003 if ((active0 & 0x2000000000000000L) != 0L)
1004 return jjStartNfaWithStates_1(3, 61, 14);
1005 return jjMoveStringLiteralDfa4_1(active0, 0x8002000008000000L, active1, 0x4L);
1008 if ((active0 & 0x800000000L) != 0L)
1009 return jjStartNfaWithStates_1(3, 35, 14);
1010 return jjMoveStringLiteralDfa4_1(active0, 0x1004100000000000L, active1, 0L);
1013 return jjMoveStringLiteralDfa4_1(active0, 0x400028000000000L, active1, 0L);
1016 return jjMoveStringLiteralDfa4_1(active0, 0L, active1, 0x2L);
1020 return jjStartNfa_1(2, active0, active1, 0L);
1022 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
1024 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1025 return jjStartNfa_1(2, old0, old1, 0L);
1026 try { curChar = input_stream.readChar(); }
1027 catch(java.io.IOException e) {
1028 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
1035 return jjMoveStringLiteralDfa5_1(active0, 0x40000000000L, active1, 0x20L);
1038 return jjMoveStringLiteralDfa5_1(active0, 0x1000000000000000L, active1, 0x100L);
1041 if ((active0 & 0x8000000000000000L) != 0L)
1042 return jjStartNfaWithStates_1(4, 63, 14);
1043 else if ((active1 & 0x1L) != 0L)
1044 return jjStartNfaWithStates_1(4, 64, 14);
1045 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x400L);
1048 if ((active1 & 0x8L) != 0L)
1049 return jjStartNfaWithStates_1(4, 67, 14);
1053 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x8000L);
1056 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x2L);
1059 return jjMoveStringLiteralDfa5_1(active0, 0x4128080000000L, active1, 0L);
1062 if ((active0 & 0x400000000L) != 0L)
1063 return jjStartNfaWithStates_1(4, 34, 14);
1067 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x1000L);
1070 return jjMoveStringLiteralDfa5_1(active0, 0x20080000000000L, active1, 0x80L);
1073 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x10L);
1076 if ((active0 & 0x800000000000000L) != 0L)
1077 return jjStartNfaWithStates_1(4, 59, 14);
1078 return jjMoveStringLiteralDfa5_1(active0, 0x400000000000000L, active1, 0L);
1081 if ((active0 & 0x8000000L) != 0L)
1082 return jjStartNfaWithStates_1(4, 27, 14);
1086 if ((active0 & 0x1000000000L) != 0L)
1087 return jjStartNfaWithStates_1(4, 36, 14);
1088 else if ((active0 & 0x2000000000000L) != 0L)
1089 return jjStartNfaWithStates_1(4, 49, 14);
1090 else if ((active1 & 0x2000L) != 0L)
1091 return jjStartNfaWithStates_1(4, 77, 14);
1092 return jjMoveStringLiteralDfa5_1(active0, 0x10000000L, active1, 0L);
1095 return jjMoveStringLiteralDfa5_1(active0, 0x8014000000000L, active1, 0L);
1098 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x4L);
1101 if ((active0 & 0x200000000L) != 0L)
1102 return jjStartNfaWithStates_1(4, 33, 14);
1107 return jjStartNfa_1(3, active0, active1, 0L);
1109 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
1111 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1112 return jjStartNfa_1(3, old0, old1, 0L);
1113 try { curChar = input_stream.readChar(); }
1114 catch(java.io.IOException e) {
1115 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1122 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x400L);
1125 if ((active0 & 0x100000000000L) != 0L)
1126 return jjStartNfaWithStates_1(5, 44, 14);
1127 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x20L);
1130 return jjMoveStringLiteralDfa6_1(active0, 0x20014000000000L, active1, 0L);
1133 if ((active0 & 0x80000000000L) != 0L)
1134 return jjStartNfaWithStates_1(5, 43, 14);
1135 else if ((active1 & 0x1000L) != 0L)
1136 return jjStartNfaWithStates_1(5, 76, 14);
1137 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x8000L);
1140 if ((active0 & 0x80000000L) != 0L)
1141 return jjStartNfaWithStates_1(5, 31, 14);
1145 if ((active1 & 0x80L) != 0L)
1146 return jjStartNfaWithStates_1(5, 71, 14);
1150 if ((active0 & 0x1000000000000000L) != 0L)
1151 return jjStartNfaWithStates_1(5, 60, 14);
1155 return jjMoveStringLiteralDfa6_1(active0, 0x10000000L, active1, 0x6L);
1158 if ((active0 & 0x40000000000L) != 0L)
1159 return jjStartNfaWithStates_1(5, 42, 14);
1160 return jjMoveStringLiteralDfa6_1(active0, 0x8000000000000L, active1, 0L);
1163 if ((active0 & 0x400000000000000L) != 0L)
1164 return jjStartNfaWithStates_1(5, 58, 14);
1165 return jjMoveStringLiteralDfa6_1(active0, 0x4000000000000L, active1, 0L);
1168 if ((active1 & 0x10L) != 0L)
1169 return jjStartNfaWithStates_1(5, 68, 14);
1170 return jjMoveStringLiteralDfa6_1(active0, 0x28000000000L, active1, 0L);
1173 if ((active1 & 0x100L) != 0L)
1174 return jjStartNfaWithStates_1(5, 72, 14);
1179 return jjStartNfa_1(4, active0, active1, 0L);
1181 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1183 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1184 return jjStartNfa_1(4, old0, old1, 0L);
1185 try { curChar = input_stream.readChar(); }
1186 catch(java.io.IOException e) {
1187 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1194 if ((active0 & 0x4000000000L) != 0L)
1199 else if ((active0 & 0x8000000000L) != 0L)
1204 return jjMoveStringLiteralDfa7_1(active0, 0x30000000000L, active1, 0L);
1207 if ((active1 & 0x20L) != 0L)
1208 return jjStartNfaWithStates_1(6, 69, 14);
1212 return jjMoveStringLiteralDfa7_1(active0, 0L, active1, 0x2L);
1215 if ((active1 & 0x400L) != 0L)
1216 return jjStartNfaWithStates_1(6, 74, 14);
1220 return jjMoveStringLiteralDfa7_1(active0, 0x10000000L, active1, 0L);
1223 if ((active1 & 0x8000L) != 0L)
1224 return jjStartNfaWithStates_1(6, 79, 14);
1228 if ((active0 & 0x20000000000000L) != 0L)
1229 return jjStartNfaWithStates_1(6, 53, 14);
1233 if ((active0 & 0x8000000000000L) != 0L)
1234 return jjStartNfaWithStates_1(6, 51, 14);
1235 return jjMoveStringLiteralDfa7_1(active0, 0L, active1, 0x4L);
1238 return jjMoveStringLiteralDfa7_1(active0, 0x4000000000000L, active1, 0L);
1242 return jjStartNfa_1(5, active0, active1, 0L);
1244 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1246 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1247 return jjStartNfa_1(5, old0, old1, 0L);
1248 try { curChar = input_stream.readChar(); }
1249 catch(java.io.IOException e) {
1250 jjStopStringLiteralDfa_1(6, active0, active1, 0L);
1256 return jjMoveStringLiteralDfa8_1(active0, 0x30000000000L, active1, 0L);
1259 return jjMoveStringLiteralDfa8_1(active0, 0L, active1, 0x4L);
1262 if ((active0 & 0x4000000000000L) != 0L)
1263 return jjStartNfaWithStates_1(7, 50, 14);
1264 else if ((active1 & 0x2L) != 0L)
1265 return jjStartNfaWithStates_1(7, 65, 14);
1269 if ((active0 & 0x10000000L) != 0L)
1270 return jjStartNfaWithStates_1(7, 28, 14);
1275 return jjStartNfa_1(6, active0, active1, 0L);
1277 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0, long old1, long active1)
1279 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1280 return jjStartNfa_1(6, old0, old1, 0L);
1281 try { curChar = input_stream.readChar(); }
1282 catch(java.io.IOException e) {
1283 jjStopStringLiteralDfa_1(7, active0, active1, 0L);
1290 if ((active1 & 0x4L) != 0L)
1291 return jjStartNfaWithStates_1(8, 66, 14);
1295 return jjMoveStringLiteralDfa9_1(active0, 0x30000000000L, active1, 0L);
1299 return jjStartNfa_1(7, active0, active1, 0L);
1301 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0, long old1, long active1)
1303 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1304 return jjStartNfa_1(7, old0, old1, 0L);
1305 try { curChar = input_stream.readChar(); }
1306 catch(java.io.IOException e) {
1307 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1314 return jjMoveStringLiteralDfa10_1(active0, 0x30000000000L);
1318 return jjStartNfa_1(8, active0, 0L, 0L);
1320 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1322 if (((active0 &= old0)) == 0L)
1323 return jjStartNfa_1(8, old0, 0L, 0L);
1324 try { curChar = input_stream.readChar(); }
1325 catch(java.io.IOException e) {
1326 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1333 return jjMoveStringLiteralDfa11_1(active0, 0x30000000000L);
1337 return jjStartNfa_1(9, active0, 0L, 0L);
1339 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1341 if (((active0 &= old0)) == 0L)
1342 return jjStartNfa_1(9, old0, 0L, 0L);
1343 try { curChar = input_stream.readChar(); }
1344 catch(java.io.IOException e) {
1345 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1352 if ((active0 & 0x10000000000L) != 0L)
1353 return jjStartNfaWithStates_1(11, 40, 14);
1354 else if ((active0 & 0x20000000000L) != 0L)
1355 return jjStartNfaWithStates_1(11, 41, 14);
1360 return jjStartNfa_1(10, active0, 0L, 0L);
1362 static final long[] jjbitVec0 = {
1363 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
1365 static private final int jjMoveNfa_1(int startState, int curPos)
1371 jjstateSet[0] = startState;
1372 int j, kind = 0x7fffffff;
1375 if (++jjround == 0x7fffffff)
1379 long l = 1L << curChar;
1382 switch(jjstateSet[--i])
1385 if ((0x3ff000000000000L & l) != 0L)
1386 jjCheckNAddStates(0, 6);
1387 else if (curChar == 39)
1388 jjCheckNAddStates(7, 12);
1389 else if (curChar == 34)
1390 jjCheckNAddStates(13, 18);
1391 else if (curChar == 46)
1393 else if (curChar == 47)
1394 jjstateSet[jjnewStateCnt++] = 2;
1395 if ((0x3fe000000000000L & l) != 0L)
1399 jjCheckNAddTwoStates(5, 6);
1401 else if (curChar == 48)
1405 jjCheckNAddStates(19, 21);
1410 jjstateSet[jjnewStateCnt++] = 1;
1413 if ((0xffff7fffffffffffL & l) != 0L && kind > 18)
1418 jjstateSet[jjnewStateCnt++] = 0;
1421 if ((0x3fe000000000000L & l) == 0L)
1425 jjCheckNAddTwoStates(5, 6);
1428 if ((0x3ff000000000000L & l) == 0L)
1432 jjCheckNAddTwoStates(5, 6);
1439 if ((0x3ff000000000000L & l) == 0L)
1443 jjCheckNAddStates(22, 24);
1446 if ((0x280000000000L & l) != 0L)
1450 if ((0x3ff000000000000L & l) == 0L)
1454 jjCheckNAddTwoStates(11, 12);
1457 if ((0x3ff000000000000L & l) == 0L)
1461 jjstateSet[jjnewStateCnt++] = 14;
1464 if ((0x3ff000000000000L & l) != 0L)
1465 jjCheckNAddStates(0, 6);
1468 if ((0x3ff000000000000L & l) != 0L)
1469 jjCheckNAddTwoStates(16, 17);
1476 jjCheckNAddStates(25, 27);
1479 if ((0x3ff000000000000L & l) == 0L)
1483 jjCheckNAddStates(25, 27);
1486 if ((0x280000000000L & l) != 0L)
1490 if ((0x3ff000000000000L & l) == 0L)
1494 jjCheckNAddTwoStates(21, 12);
1497 if ((0x3ff000000000000L & l) != 0L)
1498 jjCheckNAddTwoStates(22, 23);
1501 if ((0x280000000000L & l) != 0L)
1505 if ((0x3ff000000000000L & l) == 0L)
1509 jjCheckNAddTwoStates(25, 12);
1512 if ((0x3ff000000000000L & l) != 0L)
1513 jjCheckNAddStates(28, 30);
1516 if ((0x280000000000L & l) != 0L)
1520 if ((0x3ff000000000000L & l) != 0L)
1521 jjCheckNAddTwoStates(29, 12);
1528 jjCheckNAddStates(19, 21);
1531 if ((0x3ff000000000000L & l) == 0L)
1535 jjCheckNAddTwoStates(32, 6);
1538 if ((0xff000000000000L & l) == 0L)
1542 jjCheckNAddTwoStates(33, 6);
1546 jjCheckNAddStates(13, 18);
1549 if ((0xfffffffbffffffffL & l) != 0L)
1550 jjCheckNAddStates(31, 33);
1553 jjCheckNAddStates(31, 33);
1556 if (curChar == 34 && kind > 108)
1560 if ((0xfffffffbffffffffL & l) != 0L)
1561 jjCheckNAddStates(34, 36);
1564 jjCheckNAddStates(34, 36);
1567 if (curChar == 34 && kind > 109)
1572 jjCheckNAddStates(7, 12);
1575 if ((0xffffff7fffffffffL & l) != 0L)
1576 jjCheckNAddStates(37, 39);
1579 jjCheckNAddStates(37, 39);
1582 if (curChar == 39 && kind > 108)
1586 if ((0xffffff7fffffffffL & l) != 0L)
1587 jjCheckNAddStates(40, 42);
1590 jjCheckNAddStates(40, 42);
1593 if (curChar == 39 && kind > 110)
1598 jjCheckNAddStates(43, 45);
1602 jjCheckNAddStates(46, 48);
1606 } while(i != startsAt);
1608 else if (curChar < 128)
1610 long l = 1L << (curChar & 077);
1613 switch(jjstateSet[--i])
1616 if ((0x87fffffe87fffffeL & l) != 0L)
1622 else if (curChar == 96)
1623 jjCheckNAddStates(49, 54);
1630 if ((0x100000001000L & l) != 0L && kind > 102)
1634 if ((0x2000000020L & l) != 0L)
1635 jjAddStates(55, 56);
1638 if ((0x5000000050L & l) != 0L && kind > 106)
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(32, 6);
1673 if ((0xffffffffefffffffL & l) != 0L)
1674 jjCheckNAddStates(31, 33);
1678 jjstateSet[jjnewStateCnt++] = 37;
1681 jjCheckNAddStates(31, 33);
1684 if ((0xffffffffefffffffL & l) != 0L)
1685 jjCheckNAddStates(34, 36);
1689 jjstateSet[jjnewStateCnt++] = 41;
1692 jjCheckNAddStates(34, 36);
1695 if ((0xffffffffefffffffL & l) != 0L)
1696 jjCheckNAddStates(37, 39);
1700 jjstateSet[jjnewStateCnt++] = 46;
1703 jjCheckNAddStates(37, 39);
1706 if ((0xffffffffefffffffL & l) != 0L)
1707 jjCheckNAddStates(40, 42);
1711 jjstateSet[jjnewStateCnt++] = 50;
1714 jjCheckNAddStates(40, 42);
1718 jjCheckNAddStates(49, 54);
1721 if ((0xfffffffeefffffffL & l) != 0L)
1722 jjCheckNAddStates(43, 45);
1726 jjstateSet[jjnewStateCnt++] = 55;
1729 jjCheckNAddStates(43, 45);
1732 if (curChar == 96 && kind > 108)
1736 if ((0xfffffffeefffffffL & l) != 0L)
1737 jjCheckNAddStates(46, 48);
1741 jjstateSet[jjnewStateCnt++] = 59;
1744 jjCheckNAddStates(46, 48);
1747 if (curChar == 96 && kind > 111)
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 > 18)
1776 if ((jjbitVec0[i2] & l2) != 0L)
1777 jjCheckNAddStates(31, 33);
1781 if ((jjbitVec0[i2] & l2) != 0L)
1782 jjCheckNAddStates(34, 36);
1786 if ((jjbitVec0[i2] & l2) != 0L)
1787 jjCheckNAddStates(37, 39);
1791 if ((jjbitVec0[i2] & l2) != 0L)
1792 jjCheckNAddStates(40, 42);
1796 if ((jjbitVec0[i2] & l2) != 0L)
1797 jjCheckNAddStates(43, 45);
1801 if ((jjbitVec0[i2] & l2) != 0L)
1802 jjCheckNAddStates(46, 48);
1806 } while(i != startsAt);
1808 if (kind != 0x7fffffff)
1810 jjmatchedKind = kind;
1811 jjmatchedPos = curPos;
1815 if ((i = jjnewStateCnt) == (startsAt = 61 - (jjnewStateCnt = startsAt)))
1817 try { curChar = input_stream.readChar(); }
1818 catch(java.io.IOException e) { return curPos; }
1821 static private final int jjMoveStringLiteralDfa0_4()
1826 return jjMoveStringLiteralDfa1_4(0x1000000L);
1829 return jjMoveStringLiteralDfa1_4(0x400000L);
1834 static private final int jjMoveStringLiteralDfa1_4(long active0)
1836 try { curChar = input_stream.readChar(); }
1837 catch(java.io.IOException e) {
1843 if ((active0 & 0x1000000L) != 0L)
1844 return jjStopAtPos(1, 24);
1848 return jjMoveStringLiteralDfa2_4(active0, 0x400000L);
1854 static private final int jjMoveStringLiteralDfa2_4(long old0, long active0)
1856 if (((active0 &= old0)) == 0L)
1858 try { curChar = input_stream.readChar(); }
1859 catch(java.io.IOException e) {
1866 return jjMoveStringLiteralDfa3_4(active0, 0x400000L);
1871 static private final int jjMoveStringLiteralDfa3_4(long old0, long active0)
1873 if (((active0 &= old0)) == 0L)
1875 try { curChar = input_stream.readChar(); }
1876 catch(java.io.IOException e) {
1883 if ((active0 & 0x400000L) != 0L)
1884 return jjStopAtPos(3, 22);
1891 private static final int jjStopStringLiteralDfa_3(int pos, long active0, long active1, long active2)
1896 if ((active1 & 0x3000000000L) != 0L)
1898 jjmatchedKind = 113;
1903 if ((active1 & 0x2000000000L) != 0L)
1905 if (jjmatchedPos != 1)
1907 jjmatchedKind = 113;
1912 if ((active1 & 0x1000000000L) != 0L)
1919 private static final int jjStartNfa_3(int pos, long active0, long active1, long active2)
1921 return jjMoveNfa_3(jjStopStringLiteralDfa_3(pos, active0, active1, active2), pos + 1);
1923 static private final int jjStartNfaWithStates_3(int pos, int kind, int state)
1925 jjmatchedKind = kind;
1927 try { curChar = input_stream.readChar(); }
1928 catch(java.io.IOException e) { return pos + 1; }
1929 return jjMoveNfa_3(state, pos + 1);
1931 static private final int jjMoveStringLiteralDfa0_3()
1936 return jjStopAtPos(0, 12);
1938 return jjStopAtPos(0, 13);
1940 return jjStopAtPos(0, 15);
1942 return jjStopAtPos(0, 14);
1944 return jjStopAtPos(0, 11);
1947 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x28L);
1949 return jjStopAtPos(0, 112);
1952 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x10000L);
1955 return jjMoveStringLiteralDfa1_3(0x0L, 0x400000L, 0x1000L);
1957 return jjStopAtPos(0, 117);
1959 return jjStopAtPos(0, 118);
1962 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x400L);
1965 return jjMoveStringLiteralDfa1_3(0x0L, 0x800000L, 0x100L);
1967 return jjStopAtPos(0, 124);
1970 return jjMoveStringLiteralDfa1_3(0x200000000000L, 0x1000000L, 0x200L);
1972 jjmatchedKind = 125;
1973 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x8000L);
1976 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x800L);
1979 return jjMoveStringLiteralDfa1_3(0x400000000000L, 0x0L, 0x0L);
1981 return jjStopAtPos(0, 123);
1983 jjmatchedKind = 127;
1984 return jjMoveStringLiteralDfa1_3(0x0L, 0x200000000L, 0x40012L);
1986 jjmatchedKind = 135;
1987 return jjMoveStringLiteralDfa1_3(0x800000000000L, 0x0L, 0x41L);
1989 jjmatchedKind = 126;
1990 return jjMoveStringLiteralDfa1_3(0x0L, 0xc00000000L, 0x80004L);
1993 return jjMoveStringLiteralDfa1_3(0x10L, 0x0L, 0x0L);
1995 return jjStopAtPos(0, 80);
1997 return jjStopAtPos(0, 121);
1999 return jjStopAtPos(0, 122);
2002 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x4000L);
2005 return jjMoveStringLiteralDfa1_3(0x0L, 0x2000000000L, 0x0L);
2008 return jjMoveStringLiteralDfa1_3(0x0L, 0x1000000000L, 0x0L);
2010 return jjStopAtPos(0, 119);
2013 return jjMoveStringLiteralDfa1_3(0x0L, 0x200000L, 0x2000L);
2015 return jjStopAtPos(0, 120);
2018 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x20000L);
2020 return jjMoveNfa_3(0, 0);
2023 static private final int jjMoveStringLiteralDfa1_3(long active0, long active1, long active2)
2025 try { curChar = input_stream.readChar(); }
2026 catch(java.io.IOException e) {
2027 jjStopStringLiteralDfa_3(0, active0, active1, active2);
2033 if ((active1 & 0x400000L) != 0L)
2034 return jjStopAtPos(1, 86);
2037 if ((active1 & 0x800000L) != 0L)
2038 return jjStopAtPos(1, 87);
2041 if ((active1 & 0x1000000L) != 0L)
2042 return jjStopAtPos(1, 88);
2045 if ((active0 & 0x400000000000L) != 0L)
2046 return jjStopAtPos(1, 46);
2049 if ((active1 & 0x200000000L) != 0L)
2054 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x40000L);
2056 if ((active2 & 0x1L) != 0L)
2058 jjmatchedKind = 128;
2061 else if ((active2 & 0x2L) != 0L)
2062 return jjStopAtPos(1, 129);
2063 else if ((active2 & 0x4L) != 0L)
2064 return jjStopAtPos(1, 130);
2065 else if ((active2 & 0x8L) != 0L)
2067 jjmatchedKind = 131;
2070 else if ((active2 & 0x100L) != 0L)
2071 return jjStopAtPos(1, 136);
2072 else if ((active2 & 0x200L) != 0L)
2073 return jjStopAtPos(1, 137);
2074 else if ((active2 & 0x400L) != 0L)
2075 return jjStopAtPos(1, 138);
2076 else if ((active2 & 0x800L) != 0L)
2077 return jjStopAtPos(1, 139);
2078 else if ((active2 & 0x1000L) != 0L)
2079 return jjStopAtPos(1, 140);
2080 else if ((active2 & 0x2000L) != 0L)
2081 return jjStopAtPos(1, 141);
2082 else if ((active2 & 0x4000L) != 0L)
2083 return jjStopAtPos(1, 142);
2084 else if ((active2 & 0x8000L) != 0L)
2085 return jjStopAtPos(1, 143);
2086 else if ((active2 & 0x10000L) != 0L)
2087 return jjStopAtPos(1, 144);
2088 else if ((active2 & 0x20000L) != 0L)
2089 return jjStopAtPos(1, 145);
2090 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x60L);
2092 if ((active0 & 0x10L) != 0L)
2093 return jjStopAtPos(1, 4);
2094 else if ((active0 & 0x200000000000L) != 0L)
2095 return jjStopAtPos(1, 45);
2096 else if ((active0 & 0x800000000000L) != 0L)
2097 return jjStopAtPos(1, 47);
2098 else if ((active1 & 0x400000000L) != 0L)
2103 else if ((active2 & 0x10L) != 0L)
2104 return jjStopAtPos(1, 132);
2105 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x800000000L, active2, 0x80000L);
2108 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x2000000000L, active2, 0L);
2111 if ((active1 & 0x1000000000L) != 0L)
2112 return jjStartNfaWithStates_3(1, 100, 1);
2115 if ((active1 & 0x200000L) != 0L)
2116 return jjStopAtPos(1, 85);
2121 return jjStartNfa_3(0, active0, active1, active2);
2123 static private final int jjMoveStringLiteralDfa2_3(long old0, long active0, long old1, long active1, long old2, long active2)
2125 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
2126 return jjStartNfa_3(0, old0, old1, old2);
2127 try { curChar = input_stream.readChar(); }
2128 catch(java.io.IOException e) {
2129 jjStopStringLiteralDfa_3(1, 0L, active1, active2);
2135 if ((active2 & 0x20L) != 0L)
2136 return jjStopAtPos(2, 133);
2137 else if ((active2 & 0x40L) != 0L)
2138 return jjStopAtPos(2, 134);
2139 else if ((active2 & 0x40000L) != 0L)
2140 return jjStopAtPos(2, 146);
2141 else if ((active2 & 0x80000L) != 0L)
2142 return jjStopAtPos(2, 147);
2145 if ((active1 & 0x800000000L) != 0L)
2146 return jjStopAtPos(2, 99);
2150 if ((active1 & 0x2000000000L) != 0L)
2151 return jjStartNfaWithStates_3(2, 101, 1);
2156 return jjStartNfa_3(1, 0L, active1, active2);
2158 static private final int jjMoveNfa_3(int startState, int curPos)
2164 jjstateSet[0] = startState;
2165 int j, kind = 0x7fffffff;
2168 if (++jjround == 0x7fffffff)
2172 long l = 1L << curChar;
2175 switch(jjstateSet[--i])
2178 if ((0x3ff000000000000L & l) == 0L)
2181 jjstateSet[jjnewStateCnt++] = 1;
2185 } while(i != startsAt);
2187 else if (curChar < 128)
2189 long l = 1L << (curChar & 077);
2192 switch(jjstateSet[--i])
2196 if ((0x87fffffe87fffffeL & l) == 0L)
2204 } while(i != startsAt);
2208 int i2 = (curChar & 0xff) >> 6;
2209 long l2 = 1L << (curChar & 077);
2212 switch(jjstateSet[--i])
2216 if ((jjbitVec0[i2] & l2) == 0L)
2224 } while(i != startsAt);
2226 if (kind != 0x7fffffff)
2228 jjmatchedKind = kind;
2229 jjmatchedPos = curPos;
2233 if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt)))
2235 try { curChar = input_stream.readChar(); }
2236 catch(java.io.IOException e) { return curPos; }
2239 static final int[] jjnextStates = {
2240 16, 17, 22, 23, 26, 27, 12, 44, 45, 47, 48, 49, 51, 35, 36, 38,
2241 39, 40, 42, 31, 33, 6, 8, 9, 12, 18, 19, 12, 26, 27, 12, 35,
2242 36, 38, 39, 40, 42, 44, 45, 47, 48, 49, 51, 53, 54, 56, 57, 58,
2243 60, 53, 54, 56, 57, 58, 60, 10, 11, 20, 21, 24, 25, 28, 29,
2245 public static final String[] jjstrLiteralImages = {
2246 "", "\74\77", null, "\74\77\75", "\77\76", null, null, null, null, null, null,
2247 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2248 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2249 null, null, null, null, null, null, "\55\76", "\72\72", "\75\76", null, null, null,
2250 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2251 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2252 null, "\100", "\41", "\176", "\77", "\72", "\174\174", "\46\46", "\53\53", "\55\55",
2253 "\53", "\55", "\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76",
2254 "\76\76\76", null, null, null, null, null, null, null, null, null, null, null, null, "\44",
2255 null, null, null, null, "\50", "\51", "\173", "\175", "\133", "\135", "\73", "\54",
2256 "\56", "\76", "\74", "\75\75", "\74\75", "\76\75", "\41\75", "\74\76", "\41\75\75",
2257 "\75\75\75", "\75", "\53\75", "\55\75", "\52\75", "\57\75", "\46\75", "\174\75", "\136\75",
2258 "\56\75", "\45\75", "\176\75", "\74\74\75", "\76\76\75", };
2259 public static final String[] lexStateNames = {
2262 "IN_SINGLE_LINE_COMMENT",
2264 "IN_FORMAL_COMMENT",
2265 "IN_MULTI_LINE_COMMENT",
2267 public static final int[] jjnewLexState = {
2268 -1, 1, 1, 1, 0, -1, -1, -1, -1, -1, -1, 1, 1, 1, 1, 1, 2, 2, 4, 5, 1, -1, -1, -1, 1,
2269 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,
2270 -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,
2271 -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,
2272 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 3, -1, -1, -1, -1, 1, 1, 1, 1, 1, 1, 1, 1,
2273 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2275 static final long[] jjtoToken = {
2276 0xfffffffff880001fL, 0xffe3f47fffffffffL, 0xfffffL,
2278 static final long[] jjtoSkip = {
2279 0x37fffe0L, 0x0L, 0x0L,
2281 static final long[] jjtoSpecial = {
2282 0x37ff800L, 0x0L, 0x0L,
2284 static final long[] jjtoMore = {
2285 0x4000000L, 0x0L, 0x0L,
2287 static protected SimpleCharStream input_stream;
2288 static private final int[] jjrounds = new int[61];
2289 static private final int[] jjstateSet = new int[122];
2290 static StringBuffer image;
2291 static int jjimageLen;
2292 static int lengthOfMatch;
2293 static protected char curChar;
2294 public PHPParserTokenManager(SimpleCharStream stream)
2296 if (input_stream != null)
2297 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
2298 input_stream = stream;
2300 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
2305 static public void ReInit(SimpleCharStream stream)
2307 jjmatchedPos = jjnewStateCnt = 0;
2308 curLexState = defaultLexState;
2309 input_stream = stream;
2312 static private final void ReInitRounds()
2315 jjround = 0x80000001;
2316 for (i = 61; i-- > 0;)
2317 jjrounds[i] = 0x80000000;
2319 static public void ReInit(SimpleCharStream stream, int lexState)
2324 static public void SwitchTo(int lexState)
2326 if (lexState >= 6 || lexState < 0)
2327 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
2329 curLexState = lexState;
2332 static protected Token jjFillToken()
2334 Token t = Token.newToken(jjmatchedKind);
2335 t.kind = jjmatchedKind;
2336 String im = jjstrLiteralImages[jjmatchedKind];
2337 t.image = (im == null) ? input_stream.GetImage() : im;
2338 t.beginLine = input_stream.getBeginLine();
2339 t.beginColumn = input_stream.getBeginColumn();
2340 t.endLine = input_stream.getEndLine();
2341 t.endColumn = input_stream.getEndColumn();
2345 static int curLexState = 0;
2346 static int defaultLexState = 0;
2347 static int jjnewStateCnt;
2349 static int jjmatchedPos;
2350 static int jjmatchedKind;
2352 public static Token getNextToken()
2355 Token specialToken = null;
2364 curChar = input_stream.BeginToken();
2366 catch(java.io.IOException e)
2369 matchedToken = jjFillToken();
2370 matchedToken.specialToken = specialToken;
2371 CommonTokenAction(matchedToken);
2372 return matchedToken;
2382 jjmatchedKind = 0x7fffffff;
2384 curPos = jjMoveStringLiteralDfa0_0();
2385 if (jjmatchedPos == 0 && jjmatchedKind > 5)
2391 try { input_stream.backup(0);
2392 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
2393 curChar = input_stream.BeginToken();
2395 catch (java.io.IOException e1) { continue EOFLoop; }
2396 jjmatchedKind = 0x7fffffff;
2398 curPos = jjMoveStringLiteralDfa0_1();
2401 jjmatchedKind = 0x7fffffff;
2403 curPos = jjMoveStringLiteralDfa0_2();
2404 if (jjmatchedPos == 0 && jjmatchedKind > 21)
2410 jjmatchedKind = 0x7fffffff;
2412 curPos = jjMoveStringLiteralDfa0_3();
2415 jjmatchedKind = 0x7fffffff;
2417 curPos = jjMoveStringLiteralDfa0_4();
2418 if (jjmatchedPos == 0 && jjmatchedKind > 26)
2424 jjmatchedKind = 0x7fffffff;
2426 curPos = jjMoveStringLiteralDfa0_5();
2427 if (jjmatchedPos == 0 && jjmatchedKind > 26)
2433 if (jjmatchedKind != 0x7fffffff)
2435 if (jjmatchedPos + 1 < curPos)
2436 input_stream.backup(curPos - jjmatchedPos - 1);
2437 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2439 matchedToken = jjFillToken();
2440 matchedToken.specialToken = specialToken;
2441 if (jjnewLexState[jjmatchedKind] != -1)
2442 curLexState = jjnewLexState[jjmatchedKind];
2443 CommonTokenAction(matchedToken);
2444 return matchedToken;
2446 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2448 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2450 matchedToken = jjFillToken();
2451 if (specialToken == null)
2452 specialToken = matchedToken;
2455 matchedToken.specialToken = specialToken;
2456 specialToken = (specialToken.next = matchedToken);
2458 SkipLexicalActions(matchedToken);
2461 SkipLexicalActions(null);
2462 if (jjnewLexState[jjmatchedKind] != -1)
2463 curLexState = jjnewLexState[jjmatchedKind];
2466 jjimageLen += jjmatchedPos + 1;
2467 if (jjnewLexState[jjmatchedKind] != -1)
2468 curLexState = jjnewLexState[jjmatchedKind];
2470 jjmatchedKind = 0x7fffffff;
2472 curChar = input_stream.readChar();
2475 catch (java.io.IOException e1) { }
2477 int error_line = input_stream.getEndLine();
2478 int error_column = input_stream.getEndColumn();
2479 String error_after = null;
2480 boolean EOFSeen = false;
2481 try { input_stream.readChar(); input_stream.backup(1); }
2482 catch (java.io.IOException e1) {
2484 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2485 if (curChar == '\n' || curChar == '\r') {
2493 input_stream.backup(1);
2494 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2496 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
2501 static void SkipLexicalActions(Token matchedToken)
2503 switch(jjmatchedKind)
2507 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2509 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2510 input_stream.backup(1);