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_5()
44 return jjMoveStringLiteralDfa1_5(0x2000000L);
47 return jjMoveStringLiteralDfa1_5(0x400000L);
52 static private final int jjMoveStringLiteralDfa1_5(long active0)
54 try { curChar = input_stream.readChar(); }
55 catch(java.io.IOException e) {
61 if ((active0 & 0x2000000L) != 0L)
62 return jjStopAtPos(1, 25);
66 return jjMoveStringLiteralDfa2_5(active0, 0x400000L);
72 static private final int jjMoveStringLiteralDfa2_5(long old0, long active0)
74 if (((active0 &= old0)) == 0L)
76 try { curChar = input_stream.readChar(); }
77 catch(java.io.IOException e) {
84 return jjMoveStringLiteralDfa3_5(active0, 0x400000L);
89 static private final int jjMoveStringLiteralDfa3_5(long old0, long active0)
91 if (((active0 &= old0)) == 0L)
93 try { curChar = input_stream.readChar(); }
94 catch(java.io.IOException e) {
101 if ((active0 & 0x400000L) != 0L)
102 return jjStopAtPos(3, 22);
109 static private final int jjMoveStringLiteralDfa0_8()
114 return jjStopAtPos(0, 117);
119 private static final int jjStopStringLiteralDfa_9(int pos, long active0, long active1)
127 private static final int jjStartNfa_9(int pos, long active0, long active1)
129 return jjMoveNfa_9(jjStopStringLiteralDfa_9(pos, active0, active1), pos + 1);
131 static private final int jjStartNfaWithStates_9(int pos, int kind, int state)
133 jjmatchedKind = kind;
135 try { curChar = input_stream.readChar(); }
136 catch(java.io.IOException e) { return pos + 1; }
137 return jjMoveNfa_9(state, pos + 1);
139 static private final int jjMoveStringLiteralDfa0_9()
144 return jjStopAtPos(0, 119);
146 return jjMoveNfa_9(0, 0);
149 static private final void jjCheckNAdd(int state)
151 if (jjrounds[state] != jjround)
153 jjstateSet[jjnewStateCnt++] = state;
154 jjrounds[state] = jjround;
157 static private final void jjAddStates(int start, int end)
160 jjstateSet[jjnewStateCnt++] = jjnextStates[start];
161 } while (start++ != end);
163 static private final void jjCheckNAddTwoStates(int state1, int state2)
168 static private final void jjCheckNAddStates(int start, int end)
171 jjCheckNAdd(jjnextStates[start]);
172 } while (start++ != end);
174 static private final void jjCheckNAddStates(int start)
176 jjCheckNAdd(jjnextStates[start]);
177 jjCheckNAdd(jjnextStates[start + 1]);
179 static final long[] jjbitVec0 = {
180 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
182 static private final int jjMoveNfa_9(int startState, int curPos)
188 jjstateSet[0] = startState;
189 int j, kind = 0x7fffffff;
192 if (++jjround == 0x7fffffff)
196 long l = 1L << curChar;
199 switch(jjstateSet[--i])
203 jjstateSet[jjnewStateCnt++] = 0;
207 } while(i != startsAt);
209 else if (curChar < 128)
211 long l = 1L << (curChar & 077);
214 switch(jjstateSet[--i])
217 if ((0xdfffffffffffffffL & l) == 0L)
220 jjstateSet[jjnewStateCnt++] = 0;
224 } while(i != startsAt);
228 int i2 = (curChar & 0xff) >> 6;
229 long l2 = 1L << (curChar & 077);
232 switch(jjstateSet[--i])
235 if ((jjbitVec0[i2] & l2) == 0L)
239 jjstateSet[jjnewStateCnt++] = 0;
243 } while(i != startsAt);
245 if (kind != 0x7fffffff)
247 jjmatchedKind = kind;
248 jjmatchedPos = curPos;
252 if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt)))
254 try { curChar = input_stream.readChar(); }
255 catch(java.io.IOException e) { return curPos; }
258 static private final int jjMoveStringLiteralDfa0_0()
263 return jjMoveStringLiteralDfa1_0(0xeL);
266 return jjMoveStringLiteralDfa1_0(0x800000L);
271 static private final int jjMoveStringLiteralDfa1_0(long active0)
273 try { curChar = input_stream.readChar(); }
274 catch(java.io.IOException e) {
280 if ((active0 & 0x2L) != 0L)
285 return jjMoveStringLiteralDfa2_0(active0, 0xcL);
288 return jjMoveStringLiteralDfa2_0(active0, 0x800000L);
293 static private final int jjMoveStringLiteralDfa2_0(long old0, long active0)
295 if (((active0 &= old0)) == 0L)
297 try { curChar = input_stream.readChar(); }
298 catch(java.io.IOException e) {
304 if ((active0 & 0x8L) != 0L)
305 return jjStopAtPos(2, 3);
309 return jjMoveStringLiteralDfa3_0(active0, 0x800000L);
312 return jjMoveStringLiteralDfa3_0(active0, 0x4L);
318 static private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
320 if (((active0 &= old0)) == 0L)
322 try { curChar = input_stream.readChar(); }
323 catch(java.io.IOException e) {
330 return jjMoveStringLiteralDfa4_0(active0, 0x4L);
333 if ((active0 & 0x800000L) != 0L)
334 return jjStopAtPos(3, 23);
341 static private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
343 if (((active0 &= old0)) == 0L)
345 try { curChar = input_stream.readChar(); }
346 catch(java.io.IOException e) {
353 if ((active0 & 0x4L) != 0L)
354 return jjStopAtPos(4, 2);
361 static private final int jjMoveStringLiteralDfa0_4()
366 return jjMoveStringLiteralDfa1_4(0x1000000L);
369 return jjMoveStringLiteralDfa1_4(0x400000L);
374 static private final int jjMoveStringLiteralDfa1_4(long active0)
376 try { curChar = input_stream.readChar(); }
377 catch(java.io.IOException e) {
383 if ((active0 & 0x1000000L) != 0L)
384 return jjStopAtPos(1, 24);
388 return jjMoveStringLiteralDfa2_4(active0, 0x400000L);
394 static private final int jjMoveStringLiteralDfa2_4(long old0, long active0)
396 if (((active0 &= old0)) == 0L)
398 try { curChar = input_stream.readChar(); }
399 catch(java.io.IOException e) {
406 return jjMoveStringLiteralDfa3_4(active0, 0x400000L);
411 static private final int jjMoveStringLiteralDfa3_4(long old0, long active0)
413 if (((active0 &= old0)) == 0L)
415 try { curChar = input_stream.readChar(); }
416 catch(java.io.IOException e) {
423 if ((active0 & 0x400000L) != 0L)
424 return jjStopAtPos(3, 22);
431 private static final int jjStopStringLiteralDfa_3(int pos, long active0, long active1, long active2)
436 if ((active1 & 0x3000000000L) != 0L)
443 if ((active1 & 0x1000000000L) != 0L)
445 if ((active1 & 0x2000000000L) != 0L)
447 if (jjmatchedPos != 1)
459 private static final int jjStartNfa_3(int pos, long active0, long active1, long active2)
461 return jjMoveNfa_3(jjStopStringLiteralDfa_3(pos, active0, active1, active2), pos + 1);
463 static private final int jjStartNfaWithStates_3(int pos, int kind, int state)
465 jjmatchedKind = kind;
467 try { curChar = input_stream.readChar(); }
468 catch(java.io.IOException e) { return pos + 1; }
469 return jjMoveNfa_3(state, pos + 1);
471 static private final int jjMoveStringLiteralDfa0_3()
476 return jjStopAtPos(0, 12);
478 return jjStopAtPos(0, 13);
480 return jjStopAtPos(0, 15);
482 return jjStopAtPos(0, 14);
484 return jjStopAtPos(0, 11);
487 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x28000L);
489 return jjStopAtPos(0, 123);
492 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x10000000L);
495 return jjMoveStringLiteralDfa1_3(0x0L, 0x400000L, 0x1000000L);
497 return jjStopAtPos(0, 129);
499 return jjStopAtPos(0, 130);
502 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x400000L);
505 return jjMoveStringLiteralDfa1_3(0x0L, 0x800000L, 0x100000L);
507 return jjStopAtPos(0, 136);
510 return jjMoveStringLiteralDfa1_3(0x200000000000L, 0x1000000L, 0x200000L);
513 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x8000000L);
516 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x800000L);
519 return jjMoveStringLiteralDfa1_3(0x400000000000L, 0x0L, 0x0L);
521 return jjStopAtPos(0, 135);
524 return jjMoveStringLiteralDfa1_3(0x0L, 0x200000000L, 0x40012000L);
527 return jjMoveStringLiteralDfa1_3(0x800000000000L, 0x0L, 0x41000L);
530 return jjMoveStringLiteralDfa1_3(0x0L, 0xc00000000L, 0x80004000L);
533 return jjMoveStringLiteralDfa1_3(0x10L, 0x0L, 0x0L);
535 return jjStopAtPos(0, 80);
537 return jjStopAtPos(0, 133);
539 return jjStopAtPos(0, 134);
542 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x4000000L);
545 return jjMoveStringLiteralDfa1_3(0x0L, 0x2000000000L, 0x0L);
548 return jjMoveStringLiteralDfa1_3(0x0L, 0x1000000000L, 0x0L);
550 return jjStopAtPos(0, 131);
553 return jjMoveStringLiteralDfa1_3(0x0L, 0x200000L, 0x2000000L);
555 return jjStopAtPos(0, 132);
558 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x20000000L);
560 return jjMoveNfa_3(0, 0);
563 static private final int jjMoveStringLiteralDfa1_3(long active0, long active1, long active2)
565 try { curChar = input_stream.readChar(); }
566 catch(java.io.IOException e) {
567 jjStopStringLiteralDfa_3(0, active0, active1, active2);
573 if ((active1 & 0x400000L) != 0L)
574 return jjStopAtPos(1, 86);
577 if ((active1 & 0x800000L) != 0L)
578 return jjStopAtPos(1, 87);
581 if ((active1 & 0x1000000L) != 0L)
582 return jjStopAtPos(1, 88);
585 if ((active0 & 0x400000000000L) != 0L)
586 return jjStopAtPos(1, 46);
589 if ((active1 & 0x200000000L) != 0L)
594 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x40000000L);
596 if ((active2 & 0x1000L) != 0L)
601 else if ((active2 & 0x2000L) != 0L)
602 return jjStopAtPos(1, 141);
603 else if ((active2 & 0x4000L) != 0L)
604 return jjStopAtPos(1, 142);
605 else if ((active2 & 0x8000L) != 0L)
610 else if ((active2 & 0x100000L) != 0L)
611 return jjStopAtPos(1, 148);
612 else if ((active2 & 0x200000L) != 0L)
613 return jjStopAtPos(1, 149);
614 else if ((active2 & 0x400000L) != 0L)
615 return jjStopAtPos(1, 150);
616 else if ((active2 & 0x800000L) != 0L)
617 return jjStopAtPos(1, 151);
618 else if ((active2 & 0x1000000L) != 0L)
619 return jjStopAtPos(1, 152);
620 else if ((active2 & 0x2000000L) != 0L)
621 return jjStopAtPos(1, 153);
622 else if ((active2 & 0x4000000L) != 0L)
623 return jjStopAtPos(1, 154);
624 else if ((active2 & 0x8000000L) != 0L)
625 return jjStopAtPos(1, 155);
626 else if ((active2 & 0x10000000L) != 0L)
627 return jjStopAtPos(1, 156);
628 else if ((active2 & 0x20000000L) != 0L)
629 return jjStopAtPos(1, 157);
630 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x60000L);
632 if ((active0 & 0x10L) != 0L)
633 return jjStopAtPos(1, 4);
634 else if ((active0 & 0x200000000000L) != 0L)
635 return jjStopAtPos(1, 45);
636 else if ((active0 & 0x800000000000L) != 0L)
637 return jjStopAtPos(1, 47);
638 else if ((active1 & 0x400000000L) != 0L)
643 else if ((active2 & 0x10000L) != 0L)
644 return jjStopAtPos(1, 144);
645 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x800000000L, active2, 0x80000000L);
648 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x2000000000L, active2, 0L);
651 if ((active1 & 0x1000000000L) != 0L)
652 return jjStartNfaWithStates_3(1, 100, 1);
655 if ((active1 & 0x200000L) != 0L)
656 return jjStopAtPos(1, 85);
661 return jjStartNfa_3(0, active0, active1, active2);
663 static private final int jjMoveStringLiteralDfa2_3(long old0, long active0, long old1, long active1, long old2, long active2)
665 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
666 return jjStartNfa_3(0, old0, old1, old2);
667 try { curChar = input_stream.readChar(); }
668 catch(java.io.IOException e) {
669 jjStopStringLiteralDfa_3(1, 0L, active1, active2);
675 if ((active2 & 0x20000L) != 0L)
676 return jjStopAtPos(2, 145);
677 else if ((active2 & 0x40000L) != 0L)
678 return jjStopAtPos(2, 146);
679 else if ((active2 & 0x40000000L) != 0L)
680 return jjStopAtPos(2, 158);
681 else if ((active2 & 0x80000000L) != 0L)
682 return jjStopAtPos(2, 159);
685 if ((active1 & 0x800000000L) != 0L)
686 return jjStopAtPos(2, 99);
690 if ((active1 & 0x2000000000L) != 0L)
691 return jjStartNfaWithStates_3(2, 101, 1);
696 return jjStartNfa_3(1, 0L, active1, active2);
698 static private final int jjMoveNfa_3(int startState, int curPos)
704 jjstateSet[0] = startState;
705 int j, kind = 0x7fffffff;
708 if (++jjround == 0x7fffffff)
712 long l = 1L << curChar;
715 switch(jjstateSet[--i])
718 if ((0x3ff000000000000L & l) == 0L)
721 jjstateSet[jjnewStateCnt++] = 1;
725 } while(i != startsAt);
727 else if (curChar < 128)
729 long l = 1L << (curChar & 077);
732 switch(jjstateSet[--i])
736 if ((0x87fffffe87fffffeL & l) == 0L)
744 } while(i != startsAt);
748 int i2 = (curChar & 0xff) >> 6;
749 long l2 = 1L << (curChar & 077);
752 switch(jjstateSet[--i])
756 if ((jjbitVec0[i2] & l2) == 0L)
764 } while(i != startsAt);
766 if (kind != 0x7fffffff)
768 jjmatchedKind = kind;
769 jjmatchedPos = curPos;
773 if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt)))
775 try { curChar = input_stream.readChar(); }
776 catch(java.io.IOException e) { return curPos; }
779 private static final int jjStopStringLiteralDfa_6(int pos, long active0, long active1)
787 private static final int jjStartNfa_6(int pos, long active0, long active1)
789 return jjMoveNfa_6(jjStopStringLiteralDfa_6(pos, active0, active1), pos + 1);
791 static private final int jjStartNfaWithStates_6(int pos, int kind, int state)
793 jjmatchedKind = kind;
795 try { curChar = input_stream.readChar(); }
796 catch(java.io.IOException e) { return pos + 1; }
797 return jjMoveNfa_6(state, pos + 1);
799 static private final int jjMoveStringLiteralDfa0_6()
804 return jjStopAtPos(0, 114);
806 return jjStopAtPos(0, 113);
808 return jjStopAtPos(0, 116);
810 return jjMoveNfa_6(0, 0);
813 static private final int jjMoveNfa_6(int startState, int curPos)
819 jjstateSet[0] = startState;
820 int j, kind = 0x7fffffff;
823 if (++jjround == 0x7fffffff)
827 long l = 1L << curChar;
830 switch(jjstateSet[--i])
837 } while(i != startsAt);
839 else if (curChar < 128)
841 long l = 1L << (curChar & 077);
844 switch(jjstateSet[--i])
848 jjstateSet[jjnewStateCnt++] = 1;
856 } while(i != startsAt);
860 int i2 = (curChar & 0xff) >> 6;
861 long l2 = 1L << (curChar & 077);
864 switch(jjstateSet[--i])
867 if ((jjbitVec0[i2] & l2) != 0L && kind > 111)
872 } while(i != startsAt);
874 if (kind != 0x7fffffff)
876 jjmatchedKind = kind;
877 jjmatchedPos = curPos;
881 if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt)))
883 try { curChar = input_stream.readChar(); }
884 catch(java.io.IOException e) { return curPos; }
887 private static final int jjStopStringLiteralDfa_2(int pos, long active0)
895 private static final int jjStartNfa_2(int pos, long active0)
897 return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
899 static private final int jjStartNfaWithStates_2(int pos, int kind, int state)
901 jjmatchedKind = kind;
903 try { curChar = input_stream.readChar(); }
904 catch(java.io.IOException e) { return pos + 1; }
905 return jjMoveNfa_2(state, pos + 1);
907 static private final int jjMoveStringLiteralDfa0_2()
912 return jjMoveStringLiteralDfa1_2(0x10L);
915 return jjMoveStringLiteralDfa1_2(0x400000L);
917 return jjMoveNfa_2(0, 0);
920 static private final int jjMoveStringLiteralDfa1_2(long active0)
922 try { curChar = input_stream.readChar(); }
923 catch(java.io.IOException e) {
924 jjStopStringLiteralDfa_2(0, active0);
930 if ((active0 & 0x10L) != 0L)
931 return jjStopAtPos(1, 4);
935 return jjMoveStringLiteralDfa2_2(active0, 0x400000L);
939 return jjStartNfa_2(0, active0);
941 static private final int jjMoveStringLiteralDfa2_2(long old0, long active0)
943 if (((active0 &= old0)) == 0L)
944 return jjStartNfa_2(0, old0);
945 try { curChar = input_stream.readChar(); }
946 catch(java.io.IOException e) {
947 jjStopStringLiteralDfa_2(1, active0);
954 return jjMoveStringLiteralDfa3_2(active0, 0x400000L);
958 return jjStartNfa_2(1, active0);
960 static private final int jjMoveStringLiteralDfa3_2(long old0, long active0)
962 if (((active0 &= old0)) == 0L)
963 return jjStartNfa_2(1, old0);
964 try { curChar = input_stream.readChar(); }
965 catch(java.io.IOException e) {
966 jjStopStringLiteralDfa_2(2, active0);
973 if ((active0 & 0x400000L) != 0L)
974 return jjStopAtPos(3, 22);
979 return jjStartNfa_2(2, active0);
981 static private final int jjMoveNfa_2(int startState, int curPos)
987 jjstateSet[0] = startState;
988 int j, kind = 0x7fffffff;
991 if (++jjround == 0x7fffffff)
995 long l = 1L << curChar;
998 switch(jjstateSet[--i])
1001 if ((0x2400L & l) != 0L)
1007 jjstateSet[jjnewStateCnt++] = 1;
1010 if (curChar == 10 && kind > 20)
1015 jjstateSet[jjnewStateCnt++] = 1;
1019 } while(i != startsAt);
1021 else if (curChar < 128)
1023 long l = 1L << (curChar & 077);
1026 switch(jjstateSet[--i])
1030 } while(i != startsAt);
1034 int i2 = (curChar & 0xff) >> 6;
1035 long l2 = 1L << (curChar & 077);
1038 switch(jjstateSet[--i])
1042 } while(i != startsAt);
1044 if (kind != 0x7fffffff)
1046 jjmatchedKind = kind;
1047 jjmatchedPos = curPos;
1051 if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
1053 try { curChar = input_stream.readChar(); }
1054 catch(java.io.IOException e) { return curPos; }
1057 private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1, long active2)
1062 if ((active0 & 0xffff1ffff8000000L) != 0L || (active1 & 0x300000ffffL) != 0L)
1064 jjmatchedKind = 124;
1067 if ((active0 & 0x90000L) != 0L || (active1 & 0x10000000L) != 0L || (active2 & 0x800000L) != 0L)
1069 if ((active2 & 0x8000200L) != 0L)
1073 if ((active0 & 0x80000L) != 0L)
1075 if ((active0 & 0x10000040000000L) != 0L || (active1 & 0x1000001040L) != 0L)
1077 if ((active0 & 0xffef1fffb8000000L) != 0L || (active1 & 0x200000efbfL) != 0L)
1079 if (jjmatchedPos != 1)
1081 jjmatchedKind = 124;
1088 if ((active0 & 0x140000020000000L) != 0L || (active1 & 0x200000c020L) != 0L)
1090 if ((active0 & 0xfeaf1fff98000000L) != 0L || (active1 & 0x3f9fL) != 0L)
1092 if (jjmatchedPos != 2)
1094 jjmatchedKind = 124;
1101 if ((active0 & 0x9c2e1fd618000000L) != 0L || (active1 & 0xb1bfL) != 0L)
1103 if (jjmatchedPos != 3)
1105 jjmatchedKind = 124;
1110 if ((active0 & 0x6281002980000000L) != 0L || (active1 & 0xe00L) != 0L)
1114 if ((active0 & 0x8802001608000000L) != 0L || (active1 & 0x2009L) != 0L)
1116 if ((active0 & 0x142c1fc090000000L) != 0L || (active1 & 0x95b6L) != 0L)
1118 jjmatchedKind = 124;
1124 if ((active0 & 0x14001c0080000000L) != 0L || (active1 & 0x1190L) != 0L)
1126 if ((active0 & 0x2c03c010000000L) != 0L || (active1 & 0x8426L) != 0L)
1128 jjmatchedKind = 124;
1134 if ((active0 & 0x2803c000000000L) != 0L || (active1 & 0x8420L) != 0L)
1136 if ((active0 & 0x4000010000000L) != 0L || (active1 & 0x6L) != 0L)
1138 if (jjmatchedPos != 6)
1140 jjmatchedKind = 124;
1147 if ((active0 & 0x30000000000L) != 0L || (active1 & 0x4L) != 0L)
1149 jjmatchedKind = 124;
1153 if ((active0 & 0x4000010000000L) != 0L || (active1 & 0x2L) != 0L)
1157 if ((active1 & 0x4L) != 0L)
1159 if ((active0 & 0x30000000000L) != 0L)
1161 jjmatchedKind = 124;
1167 if ((active0 & 0x30000000000L) != 0L)
1169 jjmatchedKind = 124;
1175 if ((active0 & 0x30000000000L) != 0L)
1177 jjmatchedKind = 124;
1186 private static final int jjStartNfa_1(int pos, long active0, long active1, long active2)
1188 return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1, active2), pos + 1);
1190 static private final int jjStartNfaWithStates_1(int pos, int kind, int state)
1192 jjmatchedKind = kind;
1194 try { curChar = input_stream.readChar(); }
1195 catch(java.io.IOException e) { return pos + 1; }
1196 return jjMoveNfa_1(state, pos + 1);
1198 static private final int jjMoveStringLiteralDfa0_1()
1204 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x28000L);
1206 return jjStopAtPos(0, 112);
1208 return jjStopAtPos(0, 17);
1210 return jjStopAtPos(0, 123);
1213 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x10000000L);
1216 return jjMoveStringLiteralDfa1_1(0x0L, 0x400000L, 0x1000000L);
1218 return jjStopAtPos(0, 129);
1220 return jjStopAtPos(0, 130);
1223 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x400000L);
1226 return jjMoveStringLiteralDfa1_1(0x0L, 0x800000L, 0x100000L);
1228 return jjStopAtPos(0, 136);
1231 return jjMoveStringLiteralDfa1_1(0x200000000000L, 0x1000000L, 0x200000L);
1233 jjmatchedKind = 137;
1234 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x8000000L);
1237 return jjMoveStringLiteralDfa1_1(0x90000L, 0x0L, 0x800000L);
1240 return jjMoveStringLiteralDfa1_1(0x400000000000L, 0x0L, 0x0L);
1242 return jjStopAtPos(0, 135);
1244 jjmatchedKind = 139;
1245 return jjMoveStringLiteralDfa1_1(0x0L, 0x200000000L, 0x40012000L);
1247 jjmatchedKind = 147;
1248 return jjMoveStringLiteralDfa1_1(0x800000000000L, 0x0L, 0x41000L);
1250 jjmatchedKind = 138;
1251 return jjMoveStringLiteralDfa1_1(0x0L, 0xc00000000L, 0x80004000L);
1254 return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L);
1256 return jjStopAtPos(0, 80);
1258 return jjStopAtPos(0, 133);
1260 return jjStopAtPos(0, 134);
1263 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x4000000L);
1266 return jjMoveStringLiteralDfa1_1(0x200000000L, 0x2000000040L, 0x0L);
1269 return jjMoveStringLiteralDfa1_1(0x400000000L, 0x600L, 0x0L);
1272 return jjMoveStringLiteralDfa1_1(0x7000008000000L, 0x0L, 0x0L);
1275 return jjMoveStringLiteralDfa1_1(0x18080000000000L, 0x1000L, 0x0L);
1278 return jjMoveStringLiteralDfa1_1(0x20002180000000L, 0x1eL, 0x0L);
1281 return jjMoveStringLiteralDfa1_1(0x8040000010000000L, 0x2020L, 0x0L);
1284 return jjMoveStringLiteralDfa1_1(0x80040000000000L, 0x0L, 0x0L);
1287 return jjMoveStringLiteralDfa1_1(0x14040000000L, 0xc000L, 0x0L);
1290 return jjMoveStringLiteralDfa1_1(0x800000000L, 0x0L, 0x0L);
1293 return jjMoveStringLiteralDfa1_1(0x300000000000000L, 0x0L, 0x0L);
1296 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000000100L, 0x0L);
1299 return jjMoveStringLiteralDfa1_1(0x1000000000L, 0x0L, 0x0L);
1302 return jjMoveStringLiteralDfa1_1(0x400028000000000L, 0x800L, 0x0L);
1305 return jjMoveStringLiteralDfa1_1(0x1800100000000000L, 0x80L, 0x0L);
1308 return jjMoveStringLiteralDfa1_1(0x6000000000000000L, 0x0L, 0x0L);
1311 return jjMoveStringLiteralDfa1_1(0x20000000L, 0x0L, 0x0L);
1314 return jjMoveStringLiteralDfa1_1(0x0L, 0x1L, 0x0L);
1316 return jjStopAtPos(0, 131);
1319 return jjMoveStringLiteralDfa1_1(0x0L, 0x200000L, 0x2000000L);
1321 return jjStopAtPos(0, 132);
1324 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x20000000L);
1326 return jjMoveNfa_1(3, 0);
1329 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
1331 try { curChar = input_stream.readChar(); }
1332 catch(java.io.IOException e) {
1333 jjStopStringLiteralDfa_1(0, active0, active1, active2);
1339 if ((active1 & 0x400000L) != 0L)
1340 return jjStopAtPos(1, 86);
1343 if ((active0 & 0x80000L) != 0L)
1344 return jjStartNfaWithStates_1(1, 19, 0);
1347 if ((active1 & 0x800000L) != 0L)
1348 return jjStopAtPos(1, 87);
1351 if ((active1 & 0x1000000L) != 0L)
1352 return jjStopAtPos(1, 88);
1355 if ((active0 & 0x10000L) != 0L)
1356 return jjStopAtPos(1, 16);
1359 if ((active0 & 0x400000000000L) != 0L)
1360 return jjStopAtPos(1, 46);
1363 if ((active1 & 0x200000000L) != 0L)
1368 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x40000000L);
1370 if ((active2 & 0x1000L) != 0L)
1372 jjmatchedKind = 140;
1375 else if ((active2 & 0x2000L) != 0L)
1376 return jjStopAtPos(1, 141);
1377 else if ((active2 & 0x4000L) != 0L)
1378 return jjStopAtPos(1, 142);
1379 else if ((active2 & 0x8000L) != 0L)
1381 jjmatchedKind = 143;
1384 else if ((active2 & 0x100000L) != 0L)
1385 return jjStopAtPos(1, 148);
1386 else if ((active2 & 0x200000L) != 0L)
1387 return jjStopAtPos(1, 149);
1388 else if ((active2 & 0x400000L) != 0L)
1389 return jjStopAtPos(1, 150);
1390 else if ((active2 & 0x800000L) != 0L)
1391 return jjStopAtPos(1, 151);
1392 else if ((active2 & 0x1000000L) != 0L)
1393 return jjStopAtPos(1, 152);
1394 else if ((active2 & 0x2000000L) != 0L)
1395 return jjStopAtPos(1, 153);
1396 else if ((active2 & 0x4000000L) != 0L)
1397 return jjStopAtPos(1, 154);
1398 else if ((active2 & 0x8000000L) != 0L)
1399 return jjStopAtPos(1, 155);
1400 else if ((active2 & 0x10000000L) != 0L)
1401 return jjStopAtPos(1, 156);
1402 else if ((active2 & 0x20000000L) != 0L)
1403 return jjStopAtPos(1, 157);
1404 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x60000L);
1406 if ((active0 & 0x10L) != 0L)
1407 return jjStopAtPos(1, 4);
1408 else if ((active0 & 0x200000000000L) != 0L)
1409 return jjStopAtPos(1, 45);
1410 else if ((active0 & 0x800000000000L) != 0L)
1411 return jjStopAtPos(1, 47);
1412 else if ((active1 & 0x400000000L) != 0L)
1417 else if ((active2 & 0x10000L) != 0L)
1418 return jjStopAtPos(1, 144);
1419 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x800000000L, active2, 0x80000000L);
1422 return jjMoveStringLiteralDfa2_1(active0, 0x8001000020000000L, active1, 0L, active2, 0L);
1425 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x100L, active2, 0L);
1428 return jjMoveStringLiteralDfa2_1(active0, 0x2000000000L, active1, 0L, active2, 0L);
1431 return jjMoveStringLiteralDfa2_1(active0, 0x5080a8000000000L, active1, 0x800L, active2, 0L);
1434 if ((active0 & 0x40000000L) != 0L)
1435 return jjStartNfaWithStates_1(1, 30, 14);
1439 return jjMoveStringLiteralDfa2_1(active0, 0x2000000000000000L, active1, 0x1L, active2, 0L);
1442 return jjMoveStringLiteralDfa2_1(active0, 0x800000000L, active1, 0L, active2, 0L);
1445 return jjMoveStringLiteralDfa2_1(active0, 0x40188000000L, active1, 0x2000L, active2, 0L);
1448 return jjMoveStringLiteralDfa2_1(active0, 0x14000000000L, active1, 0x200000c01eL, active2, 0L);
1451 if ((active0 & 0x10000000000000L) != 0L)
1456 return jjMoveStringLiteralDfa2_1(active0, 0xc6000000000000L, active1, 0x1620L, active2, 0L);
1459 if ((active1 & 0x1000000000L) != 0L)
1460 return jjStartNfaWithStates_1(1, 100, 14);
1461 return jjMoveStringLiteralDfa2_1(active0, 0x4000001600000000L, active1, 0L, active2, 0L);
1464 if ((active1 & 0x40L) != 0L)
1465 return jjStartNfaWithStates_1(1, 70, 14);
1469 return jjMoveStringLiteralDfa2_1(active0, 0x100000000000L, active1, 0x80L, active2, 0L);
1472 return jjMoveStringLiteralDfa2_1(active0, 0xa00000010000000L, active1, 0L, active2, 0L);
1475 return jjMoveStringLiteralDfa2_1(active0, 0x1000000000000000L, active1, 0L, active2, 0L);
1478 return jjMoveStringLiteralDfa2_1(active0, 0x20000000000000L, active1, 0L, active2, 0L);
1480 if ((active1 & 0x200000L) != 0L)
1481 return jjStopAtPos(1, 85);
1486 return jjStartNfa_1(0, active0, active1, active2);
1488 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
1490 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
1491 return jjStartNfa_1(0, old0, old1, old2);
1492 try { curChar = input_stream.readChar(); }
1493 catch(java.io.IOException e) {
1494 jjStopStringLiteralDfa_1(1, active0, active1, active2);
1500 if ((active2 & 0x20000L) != 0L)
1501 return jjStopAtPos(2, 145);
1502 else if ((active2 & 0x40000L) != 0L)
1503 return jjStopAtPos(2, 146);
1504 else if ((active2 & 0x40000000L) != 0L)
1505 return jjStopAtPos(2, 158);
1506 else if ((active2 & 0x80000000L) != 0L)
1507 return jjStopAtPos(2, 159);
1510 if ((active1 & 0x800000000L) != 0L)
1511 return jjStopAtPos(2, 99);
1515 return jjMoveStringLiteralDfa3_1(active0, 0x100008000000L, active1, 0x800L, active2, 0L);
1518 return jjMoveStringLiteralDfa3_1(active0, 0x14000000000L, active1, 0L, active2, 0L);
1521 if ((active1 & 0x2000000000L) != 0L)
1522 return jjStartNfaWithStates_1(2, 101, 14);
1523 return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x1eL, active2, 0L);
1526 return jjMoveStringLiteralDfa3_1(active0, 0x400000000L, active1, 0L, active2, 0L);
1529 return jjMoveStringLiteralDfa3_1(active0, 0x8080000000000L, active1, 0L, active2, 0L);
1532 return jjMoveStringLiteralDfa3_1(active0, 0x2000000000L, active1, 0L, active2, 0L);
1535 return jjMoveStringLiteralDfa3_1(active0, 0x3000001000000000L, active1, 0x1L, active2, 0L);
1538 return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x100L, active2, 0L);
1541 return jjMoveStringLiteralDfa3_1(active0, 0x8200000000000000L, active1, 0L, active2, 0L);
1544 return jjMoveStringLiteralDfa3_1(active0, 0x6000010000000L, active1, 0L, active2, 0L);
1547 return jjMoveStringLiteralDfa3_1(active0, 0x40000000000L, active1, 0x2600L, active2, 0L);
1550 return jjMoveStringLiteralDfa3_1(active0, 0x800000000000000L, active1, 0L, active2, 0L);
1553 return jjMoveStringLiteralDfa3_1(active0, 0x28000000000L, active1, 0L, active2, 0L);
1556 if ((active0 & 0x20000000L) != 0L)
1557 return jjStartNfaWithStates_1(2, 29, 14);
1558 else if ((active0 & 0x40000000000000L) != 0L)
1563 return jjMoveStringLiteralDfa3_1(active0, 0x200000000L, active1, 0xa0L, active2, 0L);
1566 return jjMoveStringLiteralDfa3_1(active0, 0x1000980000000L, active1, 0L, active2, 0L);
1569 if ((active1 & 0x4000L) != 0L)
1574 return jjMoveStringLiteralDfa3_1(active0, 0x4a0000000000000L, active1, 0x8000L, active2, 0L);
1577 return jjMoveStringLiteralDfa3_1(active0, 0x4000000000000000L, active1, 0x1000L, active2, 0L);
1580 if ((active0 & 0x100000000000000L) != 0L)
1581 return jjStartNfaWithStates_1(2, 56, 14);
1586 return jjStartNfa_1(1, active0, active1, active2);
1588 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
1590 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
1591 return jjStartNfa_1(1, old0, old1, old2);
1592 try { curChar = input_stream.readChar(); }
1593 catch(java.io.IOException e) {
1594 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
1601 return jjMoveStringLiteralDfa4_1(active0, 0x8000600000000L, active1, 0x2000L);
1604 return jjMoveStringLiteralDfa4_1(active0, 0x40000000000L, active1, 0x1000L);
1607 return jjMoveStringLiteralDfa4_1(active0, 0x10000000L, active1, 0L);
1610 if ((active0 & 0x100000000L) != 0L)
1615 else if ((active0 & 0x1000000000000L) != 0L)
1616 return jjStartNfaWithStates_1(3, 48, 14);
1617 else if ((active0 & 0x4000000000000000L) != 0L)
1618 return jjStartNfaWithStates_1(3, 62, 14);
1619 return jjMoveStringLiteralDfa4_1(active0, 0x820000080000000L, active1, 0x8120L);
1622 return jjMoveStringLiteralDfa4_1(active0, 0L, active1, 0x10L);
1625 return jjMoveStringLiteralDfa4_1(active0, 0x80000000000L, active1, 0x88L);
1628 if ((active0 & 0x200000000000000L) != 0L)
1629 return jjStartNfaWithStates_1(3, 57, 14);
1630 else if ((active1 & 0x200L) != 0L)
1635 else if ((active1 & 0x800L) != 0L)
1636 return jjStartNfaWithStates_1(3, 75, 14);
1637 return jjMoveStringLiteralDfa4_1(active0, 0x14000000000L, active1, 0x401L);
1640 return jjMoveStringLiteralDfa4_1(active0, 0x1000000000L, active1, 0L);
1643 if ((active0 & 0x2000000000L) != 0L)
1644 return jjStartNfaWithStates_1(3, 37, 14);
1645 else if ((active0 & 0x80000000000000L) != 0L)
1646 return jjStartNfaWithStates_1(3, 55, 14);
1650 if ((active0 & 0x2000000000000000L) != 0L)
1651 return jjStartNfaWithStates_1(3, 61, 14);
1652 return jjMoveStringLiteralDfa4_1(active0, 0x8002000008000000L, active1, 0x4L);
1655 if ((active0 & 0x800000000L) != 0L)
1656 return jjStartNfaWithStates_1(3, 35, 14);
1657 return jjMoveStringLiteralDfa4_1(active0, 0x1004100000000000L, active1, 0L);
1660 return jjMoveStringLiteralDfa4_1(active0, 0x400028000000000L, active1, 0L);
1663 return jjMoveStringLiteralDfa4_1(active0, 0L, active1, 0x2L);
1667 return jjStartNfa_1(2, active0, active1, 0L);
1669 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
1671 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1672 return jjStartNfa_1(2, old0, old1, 0L);
1673 try { curChar = input_stream.readChar(); }
1674 catch(java.io.IOException e) {
1675 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
1682 return jjMoveStringLiteralDfa5_1(active0, 0x40000000000L, active1, 0x20L);
1685 return jjMoveStringLiteralDfa5_1(active0, 0x1000000000000000L, active1, 0x100L);
1688 if ((active0 & 0x8000000000000000L) != 0L)
1689 return jjStartNfaWithStates_1(4, 63, 14);
1690 else if ((active1 & 0x1L) != 0L)
1691 return jjStartNfaWithStates_1(4, 64, 14);
1692 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x400L);
1695 if ((active1 & 0x8L) != 0L)
1696 return jjStartNfaWithStates_1(4, 67, 14);
1700 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x8000L);
1703 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x2L);
1706 return jjMoveStringLiteralDfa5_1(active0, 0x4128080000000L, active1, 0L);
1709 if ((active0 & 0x400000000L) != 0L)
1710 return jjStartNfaWithStates_1(4, 34, 14);
1714 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x1000L);
1717 return jjMoveStringLiteralDfa5_1(active0, 0x20080000000000L, active1, 0x80L);
1720 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x10L);
1723 if ((active0 & 0x800000000000000L) != 0L)
1724 return jjStartNfaWithStates_1(4, 59, 14);
1725 return jjMoveStringLiteralDfa5_1(active0, 0x400000000000000L, active1, 0L);
1728 if ((active0 & 0x8000000L) != 0L)
1729 return jjStartNfaWithStates_1(4, 27, 14);
1733 if ((active0 & 0x1000000000L) != 0L)
1734 return jjStartNfaWithStates_1(4, 36, 14);
1735 else if ((active0 & 0x2000000000000L) != 0L)
1736 return jjStartNfaWithStates_1(4, 49, 14);
1737 else if ((active1 & 0x2000L) != 0L)
1738 return jjStartNfaWithStates_1(4, 77, 14);
1739 return jjMoveStringLiteralDfa5_1(active0, 0x10000000L, active1, 0L);
1742 return jjMoveStringLiteralDfa5_1(active0, 0x8014000000000L, active1, 0L);
1745 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x4L);
1748 if ((active0 & 0x200000000L) != 0L)
1749 return jjStartNfaWithStates_1(4, 33, 14);
1754 return jjStartNfa_1(3, active0, active1, 0L);
1756 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
1758 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1759 return jjStartNfa_1(3, old0, old1, 0L);
1760 try { curChar = input_stream.readChar(); }
1761 catch(java.io.IOException e) {
1762 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1769 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x400L);
1772 if ((active0 & 0x100000000000L) != 0L)
1773 return jjStartNfaWithStates_1(5, 44, 14);
1774 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x20L);
1777 return jjMoveStringLiteralDfa6_1(active0, 0x20014000000000L, active1, 0L);
1780 if ((active0 & 0x80000000000L) != 0L)
1781 return jjStartNfaWithStates_1(5, 43, 14);
1782 else if ((active1 & 0x1000L) != 0L)
1783 return jjStartNfaWithStates_1(5, 76, 14);
1784 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x8000L);
1787 if ((active0 & 0x80000000L) != 0L)
1788 return jjStartNfaWithStates_1(5, 31, 14);
1792 if ((active1 & 0x80L) != 0L)
1793 return jjStartNfaWithStates_1(5, 71, 14);
1797 if ((active0 & 0x1000000000000000L) != 0L)
1798 return jjStartNfaWithStates_1(5, 60, 14);
1802 return jjMoveStringLiteralDfa6_1(active0, 0x10000000L, active1, 0x6L);
1805 if ((active0 & 0x40000000000L) != 0L)
1806 return jjStartNfaWithStates_1(5, 42, 14);
1807 return jjMoveStringLiteralDfa6_1(active0, 0x8000000000000L, active1, 0L);
1810 if ((active0 & 0x400000000000000L) != 0L)
1811 return jjStartNfaWithStates_1(5, 58, 14);
1812 return jjMoveStringLiteralDfa6_1(active0, 0x4000000000000L, active1, 0L);
1815 if ((active1 & 0x10L) != 0L)
1816 return jjStartNfaWithStates_1(5, 68, 14);
1817 return jjMoveStringLiteralDfa6_1(active0, 0x28000000000L, active1, 0L);
1820 if ((active1 & 0x100L) != 0L)
1821 return jjStartNfaWithStates_1(5, 72, 14);
1826 return jjStartNfa_1(4, active0, active1, 0L);
1828 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1830 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1831 return jjStartNfa_1(4, old0, old1, 0L);
1832 try { curChar = input_stream.readChar(); }
1833 catch(java.io.IOException e) {
1834 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1841 if ((active0 & 0x4000000000L) != 0L)
1846 else if ((active0 & 0x8000000000L) != 0L)
1851 return jjMoveStringLiteralDfa7_1(active0, 0x30000000000L, active1, 0L);
1854 if ((active1 & 0x20L) != 0L)
1855 return jjStartNfaWithStates_1(6, 69, 14);
1859 return jjMoveStringLiteralDfa7_1(active0, 0L, active1, 0x2L);
1862 if ((active1 & 0x400L) != 0L)
1863 return jjStartNfaWithStates_1(6, 74, 14);
1867 return jjMoveStringLiteralDfa7_1(active0, 0x10000000L, active1, 0L);
1870 if ((active1 & 0x8000L) != 0L)
1871 return jjStartNfaWithStates_1(6, 79, 14);
1875 if ((active0 & 0x20000000000000L) != 0L)
1876 return jjStartNfaWithStates_1(6, 53, 14);
1880 if ((active0 & 0x8000000000000L) != 0L)
1881 return jjStartNfaWithStates_1(6, 51, 14);
1882 return jjMoveStringLiteralDfa7_1(active0, 0L, active1, 0x4L);
1885 return jjMoveStringLiteralDfa7_1(active0, 0x4000000000000L, active1, 0L);
1889 return jjStartNfa_1(5, active0, active1, 0L);
1891 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1893 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1894 return jjStartNfa_1(5, old0, old1, 0L);
1895 try { curChar = input_stream.readChar(); }
1896 catch(java.io.IOException e) {
1897 jjStopStringLiteralDfa_1(6, active0, active1, 0L);
1903 return jjMoveStringLiteralDfa8_1(active0, 0x30000000000L, active1, 0L);
1906 return jjMoveStringLiteralDfa8_1(active0, 0L, active1, 0x4L);
1909 if ((active0 & 0x4000000000000L) != 0L)
1910 return jjStartNfaWithStates_1(7, 50, 14);
1911 else if ((active1 & 0x2L) != 0L)
1912 return jjStartNfaWithStates_1(7, 65, 14);
1916 if ((active0 & 0x10000000L) != 0L)
1917 return jjStartNfaWithStates_1(7, 28, 14);
1922 return jjStartNfa_1(6, active0, active1, 0L);
1924 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0, long old1, long active1)
1926 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1927 return jjStartNfa_1(6, old0, old1, 0L);
1928 try { curChar = input_stream.readChar(); }
1929 catch(java.io.IOException e) {
1930 jjStopStringLiteralDfa_1(7, active0, active1, 0L);
1937 if ((active1 & 0x4L) != 0L)
1938 return jjStartNfaWithStates_1(8, 66, 14);
1942 return jjMoveStringLiteralDfa9_1(active0, 0x30000000000L, active1, 0L);
1946 return jjStartNfa_1(7, active0, active1, 0L);
1948 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0, long old1, long active1)
1950 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1951 return jjStartNfa_1(7, old0, old1, 0L);
1952 try { curChar = input_stream.readChar(); }
1953 catch(java.io.IOException e) {
1954 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1961 return jjMoveStringLiteralDfa10_1(active0, 0x30000000000L);
1965 return jjStartNfa_1(8, active0, 0L, 0L);
1967 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1969 if (((active0 &= old0)) == 0L)
1970 return jjStartNfa_1(8, old0, 0L, 0L);
1971 try { curChar = input_stream.readChar(); }
1972 catch(java.io.IOException e) {
1973 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1980 return jjMoveStringLiteralDfa11_1(active0, 0x30000000000L);
1984 return jjStartNfa_1(9, active0, 0L, 0L);
1986 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1988 if (((active0 &= old0)) == 0L)
1989 return jjStartNfa_1(9, old0, 0L, 0L);
1990 try { curChar = input_stream.readChar(); }
1991 catch(java.io.IOException e) {
1992 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1999 if ((active0 & 0x10000000000L) != 0L)
2000 return jjStartNfaWithStates_1(11, 40, 14);
2001 else if ((active0 & 0x20000000000L) != 0L)
2002 return jjStartNfaWithStates_1(11, 41, 14);
2007 return jjStartNfa_1(10, active0, 0L, 0L);
2009 static private final int jjMoveNfa_1(int startState, int curPos)
2015 jjstateSet[0] = startState;
2016 int j, kind = 0x7fffffff;
2019 if (++jjround == 0x7fffffff)
2023 long l = 1L << curChar;
2026 switch(jjstateSet[--i])
2029 if ((0x3ff000000000000L & l) != 0L)
2030 jjCheckNAddStates(0, 6);
2031 else if (curChar == 39)
2032 jjCheckNAddStates(7, 12);
2033 else if (curChar == 46)
2035 else if (curChar == 47)
2036 jjstateSet[jjnewStateCnt++] = 2;
2037 if ((0x3fe000000000000L & l) != 0L)
2041 jjCheckNAddTwoStates(5, 6);
2043 else if (curChar == 48)
2047 jjCheckNAddStates(13, 15);
2052 jjstateSet[jjnewStateCnt++] = 1;
2055 if ((0xffff7fffffffffffL & l) != 0L && kind > 18)
2060 jjstateSet[jjnewStateCnt++] = 0;
2063 if ((0x3fe000000000000L & l) == 0L)
2067 jjCheckNAddTwoStates(5, 6);
2070 if ((0x3ff000000000000L & l) == 0L)
2074 jjCheckNAddTwoStates(5, 6);
2081 if ((0x3ff000000000000L & l) == 0L)
2085 jjCheckNAddStates(16, 18);
2088 if ((0x280000000000L & l) != 0L)
2092 if ((0x3ff000000000000L & l) == 0L)
2096 jjCheckNAddTwoStates(11, 12);
2099 if ((0x3ff000000000000L & l) == 0L)
2103 jjstateSet[jjnewStateCnt++] = 14;
2106 if ((0x3ff000000000000L & l) != 0L)
2107 jjCheckNAddStates(0, 6);
2110 if ((0x3ff000000000000L & l) != 0L)
2111 jjCheckNAddTwoStates(16, 17);
2118 jjCheckNAddStates(19, 21);
2121 if ((0x3ff000000000000L & l) == 0L)
2125 jjCheckNAddStates(19, 21);
2128 if ((0x280000000000L & l) != 0L)
2132 if ((0x3ff000000000000L & l) == 0L)
2136 jjCheckNAddTwoStates(21, 12);
2139 if ((0x3ff000000000000L & l) != 0L)
2140 jjCheckNAddTwoStates(22, 23);
2143 if ((0x280000000000L & l) != 0L)
2147 if ((0x3ff000000000000L & l) == 0L)
2151 jjCheckNAddTwoStates(25, 12);
2154 if ((0x3ff000000000000L & l) != 0L)
2155 jjCheckNAddStates(22, 24);
2158 if ((0x280000000000L & l) != 0L)
2162 if ((0x3ff000000000000L & l) != 0L)
2163 jjCheckNAddTwoStates(29, 12);
2170 jjCheckNAddStates(13, 15);
2173 if ((0x3ff000000000000L & l) == 0L)
2177 jjCheckNAddTwoStates(32, 6);
2180 if ((0xff000000000000L & l) == 0L)
2184 jjCheckNAddTwoStates(33, 6);
2188 jjCheckNAddStates(7, 12);
2191 if ((0xffffff7fffffffffL & l) != 0L)
2192 jjCheckNAddStates(25, 27);
2195 jjCheckNAddStates(25, 27);
2198 if (curChar == 39 && kind > 108)
2202 if ((0xffffff7fffffffffL & l) != 0L)
2203 jjCheckNAddStates(28, 30);
2206 jjCheckNAddStates(28, 30);
2209 if (curChar == 39 && kind > 109)
2214 jjCheckNAddStates(31, 33);
2218 jjCheckNAddStates(34, 36);
2222 } while(i != startsAt);
2224 else if (curChar < 128)
2226 long l = 1L << (curChar & 077);
2229 switch(jjstateSet[--i])
2232 if ((0x87fffffe87fffffeL & l) != 0L)
2238 else if (curChar == 96)
2239 jjCheckNAddStates(37, 42);
2246 if ((0x100000001000L & l) != 0L && kind > 102)
2250 if ((0x2000000020L & l) != 0L)
2251 jjAddStates(43, 44);
2254 if ((0x5000000050L & l) != 0L && kind > 106)
2259 if ((0x87fffffe87fffffeL & l) == 0L)
2266 if ((0x2000000020L & l) != 0L)
2267 jjAddStates(45, 46);
2270 if ((0x2000000020L & l) != 0L)
2271 jjAddStates(47, 48);
2274 if ((0x2000000020L & l) != 0L)
2275 jjAddStates(49, 50);
2278 if ((0x100000001000000L & l) != 0L)
2282 if ((0x7e0000007eL & l) == 0L)
2286 jjCheckNAddTwoStates(32, 6);
2289 if ((0xffffffffefffffffL & l) != 0L)
2290 jjCheckNAddStates(25, 27);
2294 jjstateSet[jjnewStateCnt++] = 37;
2297 jjCheckNAddStates(25, 27);
2300 if ((0xffffffffefffffffL & l) != 0L)
2301 jjCheckNAddStates(28, 30);
2305 jjstateSet[jjnewStateCnt++] = 41;
2308 jjCheckNAddStates(28, 30);
2312 jjCheckNAddStates(37, 42);
2315 if ((0xfffffffeefffffffL & l) != 0L)
2316 jjCheckNAddStates(31, 33);
2320 jjstateSet[jjnewStateCnt++] = 46;
2323 jjCheckNAddStates(31, 33);
2326 if (curChar == 96 && kind > 108)
2330 if ((0xfffffffeefffffffL & l) != 0L)
2331 jjCheckNAddStates(34, 36);
2335 jjstateSet[jjnewStateCnt++] = 50;
2338 jjCheckNAddStates(34, 36);
2341 if (curChar == 96 && kind > 110)
2346 } while(i != startsAt);
2350 int i2 = (curChar & 0xff) >> 6;
2351 long l2 = 1L << (curChar & 077);
2354 switch(jjstateSet[--i])
2358 if ((jjbitVec0[i2] & l2) == 0L)
2365 if ((jjbitVec0[i2] & l2) != 0L && kind > 18)
2370 if ((jjbitVec0[i2] & l2) != 0L)
2371 jjCheckNAddStates(25, 27);
2375 if ((jjbitVec0[i2] & l2) != 0L)
2376 jjCheckNAddStates(28, 30);
2380 if ((jjbitVec0[i2] & l2) != 0L)
2381 jjCheckNAddStates(31, 33);
2385 if ((jjbitVec0[i2] & l2) != 0L)
2386 jjCheckNAddStates(34, 36);
2390 } while(i != startsAt);
2392 if (kind != 0x7fffffff)
2394 jjmatchedKind = kind;
2395 jjmatchedPos = curPos;
2399 if ((i = jjnewStateCnt) == (startsAt = 52 - (jjnewStateCnt = startsAt)))
2401 try { curChar = input_stream.readChar(); }
2402 catch(java.io.IOException e) { return curPos; }
2405 private static final int jjStopStringLiteralDfa_7(int pos, long active0, long active1)
2413 private static final int jjStartNfa_7(int pos, long active0, long active1)
2415 return jjMoveNfa_7(jjStopStringLiteralDfa_7(pos, active0, active1), pos + 1);
2417 static private final int jjStartNfaWithStates_7(int pos, int kind, int state)
2419 jjmatchedKind = kind;
2421 try { curChar = input_stream.readChar(); }
2422 catch(java.io.IOException e) { return pos + 1; }
2423 return jjMoveNfa_7(state, pos + 1);
2425 static private final int jjMoveStringLiteralDfa0_7()
2430 return jjStopAtPos(0, 114);
2432 return jjStopAtPos(0, 115);
2434 return jjMoveNfa_7(0, 0);
2437 static private final int jjMoveNfa_7(int startState, int curPos)
2443 jjstateSet[0] = startState;
2444 int j, kind = 0x7fffffff;
2447 if (++jjround == 0x7fffffff)
2451 long l = 1L << curChar;
2454 switch(jjstateSet[--i])
2461 if ((0x3ff000000000000L & l) == 0L)
2465 jjstateSet[jjnewStateCnt++] = 3;
2469 } while(i != startsAt);
2471 else if (curChar < 128)
2473 long l = 1L << (curChar & 077);
2476 switch(jjstateSet[--i])
2479 if ((0x87fffffe87fffffeL & l) != 0L)
2485 else if (curChar == 92)
2486 jjstateSet[jjnewStateCnt++] = 1;
2494 if ((0x87fffffe87fffffeL & l) == 0L)
2502 } while(i != startsAt);
2506 int i2 = (curChar & 0xff) >> 6;
2507 long l2 = 1L << (curChar & 077);
2510 switch(jjstateSet[--i])
2514 if ((jjbitVec0[i2] & l2) == 0L)
2521 if ((jjbitVec0[i2] & l2) != 0L && kind > 111)
2526 } while(i != startsAt);
2528 if (kind != 0x7fffffff)
2530 jjmatchedKind = kind;
2531 jjmatchedPos = curPos;
2535 if ((i = jjnewStateCnt) == (startsAt = 4 - (jjnewStateCnt = startsAt)))
2537 try { curChar = input_stream.readChar(); }
2538 catch(java.io.IOException e) { return curPos; }
2541 static final int[] jjnextStates = {
2542 16, 17, 22, 23, 26, 27, 12, 35, 36, 38, 39, 40, 42, 31, 33, 6,
2543 8, 9, 12, 18, 19, 12, 26, 27, 12, 35, 36, 38, 39, 40, 42, 44,
2544 45, 47, 48, 49, 51, 44, 45, 47, 48, 49, 51, 10, 11, 20, 21, 24,
2547 public static final String[] jjstrLiteralImages = {
2548 "", "\74\77", null, "\74\77\75", "\77\76", null, null, null, null, null, null,
2549 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2550 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2551 null, null, null, null, null, null, "\55\76", "\72\72", "\75\76", null, null, null,
2552 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2553 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2554 null, "\100", "\41", "\176", "\77", "\72", "\174\174", "\46\46", "\53\53", "\55\55",
2555 "\53", "\55", "\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76",
2556 "\76\76\76", null, null, null, null, null, null, null, null, null, null, null, null, "\42",
2557 "\44", "\42", "\173", null, null, null, "\175", null, null, null, "\44", null, null,
2558 null, null, null, "\50", "\51", "\173", "\175", "\133", "\135", "\73", "\54", "\56",
2559 "\76", "\74", "\75\75", "\74\75", "\76\75", "\41\75", "\74\76", "\41\75\75",
2560 "\75\75\75", "\75", "\53\75", "\55\75", "\52\75", "\57\75", "\46\75", "\174\75", "\136\75",
2561 "\56\75", "\45\75", "\176\75", "\74\74\75", "\76\76\75", };
2562 public static final String[] lexStateNames = {
2565 "IN_SINGLE_LINE_COMMENT",
2567 "IN_FORMAL_COMMENT",
2568 "IN_MULTI_LINE_COMMENT",
2572 "DOLLAR_IN_STRING_EXPR",
2574 public static final int[] jjnewLexState = {
2575 -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,
2576 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,
2577 -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,
2578 -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,
2579 1, 1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 6, 6, 7, 1, 9, 8, 6, -1, 7, -1, -1, -1, 3, -1,
2580 -1, -1, -1, 6, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2581 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2583 static final long[] jjtoToken = {
2584 0xfffffffff880001fL, 0x198f747fffffffffL, 0xfffffffeL,
2586 static final long[] jjtoSkip = {
2587 0x37fffe0L, 0x670800000000000L, 0x1L,
2589 static final long[] jjtoSpecial = {
2590 0x37ff800L, 0x30000000000000L, 0x1L,
2592 static final long[] jjtoMore = {
2593 0x4000000L, 0x0L, 0x0L,
2595 static protected SimpleCharStream input_stream;
2596 static private final int[] jjrounds = new int[52];
2597 static private final int[] jjstateSet = new int[104];
2598 static StringBuffer image;
2599 static int jjimageLen;
2600 static int lengthOfMatch;
2601 static protected char curChar;
2602 public PHPParserTokenManager(SimpleCharStream stream)
2604 if (input_stream != null)
2605 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
2606 input_stream = stream;
2608 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
2613 static public void ReInit(SimpleCharStream stream)
2615 jjmatchedPos = jjnewStateCnt = 0;
2616 curLexState = defaultLexState;
2617 input_stream = stream;
2620 static private final void ReInitRounds()
2623 jjround = 0x80000001;
2624 for (i = 52; i-- > 0;)
2625 jjrounds[i] = 0x80000000;
2627 static public void ReInit(SimpleCharStream stream, int lexState)
2632 static public void SwitchTo(int lexState)
2634 if (lexState >= 10 || lexState < 0)
2635 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
2637 curLexState = lexState;
2640 static protected Token jjFillToken()
2642 Token t = Token.newToken(jjmatchedKind);
2643 t.kind = jjmatchedKind;
2644 if (jjmatchedPos < 0)
2647 t.beginLine = t.endLine = input_stream.getBeginLine();
2648 t.beginColumn = t.endColumn = input_stream.getBeginColumn();
2652 String im = jjstrLiteralImages[jjmatchedKind];
2653 t.image = (im == null) ? input_stream.GetImage() : im;
2654 t.beginLine = input_stream.getBeginLine();
2655 t.beginColumn = input_stream.getBeginColumn();
2656 t.endLine = input_stream.getEndLine();
2657 t.endColumn = input_stream.getEndColumn();
2662 static int curLexState = 0;
2663 static int defaultLexState = 0;
2664 static int jjnewStateCnt;
2666 static int jjmatchedPos;
2667 static int jjmatchedKind;
2669 public static Token getNextToken()
2672 Token specialToken = null;
2681 curChar = input_stream.BeginToken();
2683 catch(java.io.IOException e)
2686 matchedToken = jjFillToken();
2687 matchedToken.specialToken = specialToken;
2688 CommonTokenAction(matchedToken);
2689 return matchedToken;
2699 jjmatchedKind = 0x7fffffff;
2701 curPos = jjMoveStringLiteralDfa0_0();
2702 if (jjmatchedPos == 0 && jjmatchedKind > 5)
2708 try { input_stream.backup(0);
2709 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
2710 curChar = input_stream.BeginToken();
2712 catch (java.io.IOException e1) { continue EOFLoop; }
2713 jjmatchedKind = 0x7fffffff;
2715 curPos = jjMoveStringLiteralDfa0_1();
2718 jjmatchedKind = 0x7fffffff;
2720 curPos = jjMoveStringLiteralDfa0_2();
2721 if (jjmatchedPos == 0 && jjmatchedKind > 21)
2727 jjmatchedKind = 0x7fffffff;
2729 curPos = jjMoveStringLiteralDfa0_3();
2732 jjmatchedKind = 0x7fffffff;
2734 curPos = jjMoveStringLiteralDfa0_4();
2735 if (jjmatchedPos == 0 && jjmatchedKind > 26)
2741 jjmatchedKind = 0x7fffffff;
2743 curPos = jjMoveStringLiteralDfa0_5();
2744 if (jjmatchedPos == 0 && jjmatchedKind > 26)
2750 jjmatchedKind = 0x7fffffff;
2752 curPos = jjMoveStringLiteralDfa0_6();
2753 if (jjmatchedPos == 0 && jjmatchedKind > 121)
2755 jjmatchedKind = 121;
2759 jjmatchedKind = 0x7fffffff;
2761 curPos = jjMoveStringLiteralDfa0_7();
2762 if (jjmatchedPos == 0 && jjmatchedKind > 128)
2764 jjmatchedKind = 128;
2768 jjmatchedKind = 0x7fffffff;
2770 curPos = jjMoveStringLiteralDfa0_8();
2771 if (jjmatchedPos == 0 && jjmatchedKind > 118)
2773 jjmatchedKind = 118;
2777 jjmatchedKind = 120;
2780 curPos = jjMoveStringLiteralDfa0_9();
2781 if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 122))
2783 jjmatchedKind = 122;
2788 if (jjmatchedKind != 0x7fffffff)
2790 if (jjmatchedPos + 1 < curPos)
2791 input_stream.backup(curPos - jjmatchedPos - 1);
2792 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2794 matchedToken = jjFillToken();
2795 matchedToken.specialToken = specialToken;
2796 TokenLexicalActions(matchedToken);
2797 if (jjnewLexState[jjmatchedKind] != -1)
2798 curLexState = jjnewLexState[jjmatchedKind];
2799 CommonTokenAction(matchedToken);
2800 return matchedToken;
2802 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2804 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2806 matchedToken = jjFillToken();
2807 if (specialToken == null)
2808 specialToken = matchedToken;
2811 matchedToken.specialToken = specialToken;
2812 specialToken = (specialToken.next = matchedToken);
2814 SkipLexicalActions(matchedToken);
2817 SkipLexicalActions(null);
2818 if (jjnewLexState[jjmatchedKind] != -1)
2819 curLexState = jjnewLexState[jjmatchedKind];
2822 jjimageLen += jjmatchedPos + 1;
2823 if (jjnewLexState[jjmatchedKind] != -1)
2824 curLexState = jjnewLexState[jjmatchedKind];
2826 jjmatchedKind = 0x7fffffff;
2828 curChar = input_stream.readChar();
2831 catch (java.io.IOException e1) { }
2833 int error_line = input_stream.getEndLine();
2834 int error_column = input_stream.getEndColumn();
2835 String error_after = null;
2836 boolean EOFSeen = false;
2837 try { input_stream.readChar(); input_stream.backup(1); }
2838 catch (java.io.IOException e1) {
2840 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2841 if (curChar == '\n' || curChar == '\r') {
2849 input_stream.backup(1);
2850 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2852 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
2857 static void SkipLexicalActions(Token matchedToken)
2859 switch(jjmatchedKind)
2863 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2865 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2866 input_stream.backup(1);
2872 static void TokenLexicalActions(Token matchedToken)
2874 switch(jjmatchedKind)