1 /* Generated By:JavaCC: Do not edit this line. PHPParserTokenManager.java */
4 public class PHPParserTokenManager implements PHPParserConstants
6 // CommonTokenAction: use the begins/ends fields added to the Jack
7 // CharStream class to set corresponding fields in each Token (which was
8 // also extended with new fields). By default Jack doesn't supply absolute
9 // offsets, just line/column offsets
10 static void CommonTokenAction(Token t) {
11 t.sourceStart = input_stream.beginOffset;
12 t.sourceEnd = input_stream.endOffset;
14 public static java.io.PrintStream debugStream = System.out;
15 public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
16 static private final int jjStopAtPos(int pos, int kind)
22 static private final int jjMoveStringLiteralDfa0_5()
27 return jjMoveStringLiteralDfa1_5(0x2000000L);
30 return jjMoveStringLiteralDfa1_5(0x400000L);
35 static private final int jjMoveStringLiteralDfa1_5(long active0)
37 try { curChar = input_stream.readChar(); }
38 catch(java.io.IOException e) {
44 if ((active0 & 0x2000000L) != 0L)
45 return jjStopAtPos(1, 25);
49 return jjMoveStringLiteralDfa2_5(active0, 0x400000L);
55 static private final int jjMoveStringLiteralDfa2_5(long old0, long active0)
57 if (((active0 &= old0)) == 0L)
59 try { curChar = input_stream.readChar(); }
60 catch(java.io.IOException e) {
67 return jjMoveStringLiteralDfa3_5(active0, 0x400000L);
72 static private final int jjMoveStringLiteralDfa3_5(long old0, long active0)
74 if (((active0 &= old0)) == 0L)
76 try { curChar = input_stream.readChar(); }
77 catch(java.io.IOException e) {
84 if ((active0 & 0x400000L) != 0L)
85 return jjStopAtPos(3, 22);
92 static private final int jjMoveStringLiteralDfa0_8()
97 return jjStopAtPos(0, 117);
102 private static final int jjStopStringLiteralDfa_9(int pos, long active0, long active1)
110 private static final int jjStartNfa_9(int pos, long active0, long active1)
112 return jjMoveNfa_9(jjStopStringLiteralDfa_9(pos, active0, active1), pos + 1);
114 static private final int jjStartNfaWithStates_9(int pos, int kind, int state)
116 jjmatchedKind = kind;
118 try { curChar = input_stream.readChar(); }
119 catch(java.io.IOException e) { return pos + 1; }
120 return jjMoveNfa_9(state, pos + 1);
122 static private final int jjMoveStringLiteralDfa0_9()
127 return jjStopAtPos(0, 119);
129 return jjMoveNfa_9(0, 0);
132 static private final void jjCheckNAdd(int state)
134 if (jjrounds[state] != jjround)
136 jjstateSet[jjnewStateCnt++] = state;
137 jjrounds[state] = jjround;
140 static private final void jjAddStates(int start, int end)
143 jjstateSet[jjnewStateCnt++] = jjnextStates[start];
144 } while (start++ != end);
146 static private final void jjCheckNAddTwoStates(int state1, int state2)
151 static private final void jjCheckNAddStates(int start, int end)
154 jjCheckNAdd(jjnextStates[start]);
155 } while (start++ != end);
157 static private final void jjCheckNAddStates(int start)
159 jjCheckNAdd(jjnextStates[start]);
160 jjCheckNAdd(jjnextStates[start + 1]);
162 static final long[] jjbitVec0 = {
163 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
165 static private final int jjMoveNfa_9(int startState, int curPos)
171 jjstateSet[0] = startState;
172 int j, kind = 0x7fffffff;
175 if (++jjround == 0x7fffffff)
179 long l = 1L << curChar;
182 switch(jjstateSet[--i])
186 jjstateSet[jjnewStateCnt++] = 0;
190 } while(i != startsAt);
192 else if (curChar < 128)
194 long l = 1L << (curChar & 077);
197 switch(jjstateSet[--i])
200 if ((0xdfffffffffffffffL & l) == 0L)
203 jjstateSet[jjnewStateCnt++] = 0;
207 } while(i != startsAt);
211 int i2 = (curChar & 0xff) >> 6;
212 long l2 = 1L << (curChar & 077);
215 switch(jjstateSet[--i])
218 if ((jjbitVec0[i2] & l2) == 0L)
222 jjstateSet[jjnewStateCnt++] = 0;
226 } while(i != startsAt);
228 if (kind != 0x7fffffff)
230 jjmatchedKind = kind;
231 jjmatchedPos = curPos;
235 if ((i = jjnewStateCnt) == (startsAt = 1 - (jjnewStateCnt = startsAt)))
237 try { curChar = input_stream.readChar(); }
238 catch(java.io.IOException e) { return curPos; }
241 static private final int jjMoveStringLiteralDfa0_0()
246 return jjMoveStringLiteralDfa1_0(0xeL);
249 return jjMoveStringLiteralDfa1_0(0x800000L);
254 static private final int jjMoveStringLiteralDfa1_0(long active0)
256 try { curChar = input_stream.readChar(); }
257 catch(java.io.IOException e) {
263 if ((active0 & 0x2L) != 0L)
268 return jjMoveStringLiteralDfa2_0(active0, 0xcL);
271 return jjMoveStringLiteralDfa2_0(active0, 0x800000L);
276 static private final int jjMoveStringLiteralDfa2_0(long old0, long active0)
278 if (((active0 &= old0)) == 0L)
280 try { curChar = input_stream.readChar(); }
281 catch(java.io.IOException e) {
287 if ((active0 & 0x8L) != 0L)
288 return jjStopAtPos(2, 3);
292 return jjMoveStringLiteralDfa3_0(active0, 0x800000L);
295 return jjMoveStringLiteralDfa3_0(active0, 0x4L);
301 static private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
303 if (((active0 &= old0)) == 0L)
305 try { curChar = input_stream.readChar(); }
306 catch(java.io.IOException e) {
313 return jjMoveStringLiteralDfa4_0(active0, 0x4L);
316 if ((active0 & 0x800000L) != 0L)
317 return jjStopAtPos(3, 23);
324 static private final int jjMoveStringLiteralDfa4_0(long old0, long active0)
326 if (((active0 &= old0)) == 0L)
328 try { curChar = input_stream.readChar(); }
329 catch(java.io.IOException e) {
336 if ((active0 & 0x4L) != 0L)
337 return jjStopAtPos(4, 2);
344 static private final int jjMoveStringLiteralDfa0_4()
349 return jjMoveStringLiteralDfa1_4(0x1000000L);
352 return jjMoveStringLiteralDfa1_4(0x400000L);
357 static private final int jjMoveStringLiteralDfa1_4(long active0)
359 try { curChar = input_stream.readChar(); }
360 catch(java.io.IOException e) {
366 if ((active0 & 0x1000000L) != 0L)
367 return jjStopAtPos(1, 24);
371 return jjMoveStringLiteralDfa2_4(active0, 0x400000L);
377 static private final int jjMoveStringLiteralDfa2_4(long old0, long active0)
379 if (((active0 &= old0)) == 0L)
381 try { curChar = input_stream.readChar(); }
382 catch(java.io.IOException e) {
389 return jjMoveStringLiteralDfa3_4(active0, 0x400000L);
394 static private final int jjMoveStringLiteralDfa3_4(long old0, long active0)
396 if (((active0 &= old0)) == 0L)
398 try { curChar = input_stream.readChar(); }
399 catch(java.io.IOException e) {
406 if ((active0 & 0x400000L) != 0L)
407 return jjStopAtPos(3, 22);
414 private static final int jjStopStringLiteralDfa_3(int pos, long active0, long active1, long active2)
419 if ((active1 & 0x3000000000L) != 0L)
426 if ((active1 & 0x1000000000L) != 0L)
428 if ((active1 & 0x2000000000L) != 0L)
430 if (jjmatchedPos != 1)
442 private static final int jjStartNfa_3(int pos, long active0, long active1, long active2)
444 return jjMoveNfa_3(jjStopStringLiteralDfa_3(pos, active0, active1, active2), pos + 1);
446 static private final int jjStartNfaWithStates_3(int pos, int kind, int state)
448 jjmatchedKind = kind;
450 try { curChar = input_stream.readChar(); }
451 catch(java.io.IOException e) { return pos + 1; }
452 return jjMoveNfa_3(state, pos + 1);
454 static private final int jjMoveStringLiteralDfa0_3()
459 return jjStopAtPos(0, 12);
461 return jjStopAtPos(0, 13);
463 return jjStopAtPos(0, 15);
465 return jjStopAtPos(0, 14);
467 return jjStopAtPos(0, 11);
470 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x28000L);
472 return jjStopAtPos(0, 123);
475 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x10000000L);
478 return jjMoveStringLiteralDfa1_3(0x0L, 0x400000L, 0x1000000L);
480 return jjStopAtPos(0, 129);
482 return jjStopAtPos(0, 130);
485 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x400000L);
488 return jjMoveStringLiteralDfa1_3(0x0L, 0x800000L, 0x100000L);
490 return jjStopAtPos(0, 136);
493 return jjMoveStringLiteralDfa1_3(0x200000000000L, 0x1000000L, 0x200000L);
496 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x8000000L);
499 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x800000L);
502 return jjMoveStringLiteralDfa1_3(0x400000000000L, 0x0L, 0x0L);
504 return jjStopAtPos(0, 135);
507 return jjMoveStringLiteralDfa1_3(0x0L, 0x200000000L, 0x40012000L);
510 return jjMoveStringLiteralDfa1_3(0x800000000000L, 0x0L, 0x41000L);
513 return jjMoveStringLiteralDfa1_3(0x0L, 0xc00000000L, 0x80004000L);
516 return jjMoveStringLiteralDfa1_3(0x10L, 0x0L, 0x0L);
518 return jjStopAtPos(0, 80);
520 return jjStopAtPos(0, 133);
522 return jjStopAtPos(0, 134);
525 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x4000000L);
528 return jjMoveStringLiteralDfa1_3(0x0L, 0x2000000000L, 0x0L);
531 return jjMoveStringLiteralDfa1_3(0x0L, 0x1000000000L, 0x0L);
533 return jjStopAtPos(0, 131);
536 return jjMoveStringLiteralDfa1_3(0x0L, 0x200000L, 0x2000000L);
538 return jjStopAtPos(0, 132);
541 return jjMoveStringLiteralDfa1_3(0x0L, 0x0L, 0x20000000L);
543 return jjMoveNfa_3(0, 0);
546 static private final int jjMoveStringLiteralDfa1_3(long active0, long active1, long active2)
548 try { curChar = input_stream.readChar(); }
549 catch(java.io.IOException e) {
550 jjStopStringLiteralDfa_3(0, active0, active1, active2);
556 if ((active1 & 0x400000L) != 0L)
557 return jjStopAtPos(1, 86);
560 if ((active1 & 0x800000L) != 0L)
561 return jjStopAtPos(1, 87);
564 if ((active1 & 0x1000000L) != 0L)
565 return jjStopAtPos(1, 88);
568 if ((active0 & 0x400000000000L) != 0L)
569 return jjStopAtPos(1, 46);
572 if ((active1 & 0x200000000L) != 0L)
577 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x40000000L);
579 if ((active2 & 0x1000L) != 0L)
584 else if ((active2 & 0x2000L) != 0L)
585 return jjStopAtPos(1, 141);
586 else if ((active2 & 0x4000L) != 0L)
587 return jjStopAtPos(1, 142);
588 else if ((active2 & 0x8000L) != 0L)
593 else if ((active2 & 0x100000L) != 0L)
594 return jjStopAtPos(1, 148);
595 else if ((active2 & 0x200000L) != 0L)
596 return jjStopAtPos(1, 149);
597 else if ((active2 & 0x400000L) != 0L)
598 return jjStopAtPos(1, 150);
599 else if ((active2 & 0x800000L) != 0L)
600 return jjStopAtPos(1, 151);
601 else if ((active2 & 0x1000000L) != 0L)
602 return jjStopAtPos(1, 152);
603 else if ((active2 & 0x2000000L) != 0L)
604 return jjStopAtPos(1, 153);
605 else if ((active2 & 0x4000000L) != 0L)
606 return jjStopAtPos(1, 154);
607 else if ((active2 & 0x8000000L) != 0L)
608 return jjStopAtPos(1, 155);
609 else if ((active2 & 0x10000000L) != 0L)
610 return jjStopAtPos(1, 156);
611 else if ((active2 & 0x20000000L) != 0L)
612 return jjStopAtPos(1, 157);
613 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0L, active2, 0x60000L);
615 if ((active0 & 0x10L) != 0L)
616 return jjStopAtPos(1, 4);
617 else if ((active0 & 0x200000000000L) != 0L)
618 return jjStopAtPos(1, 45);
619 else if ((active0 & 0x800000000000L) != 0L)
620 return jjStopAtPos(1, 47);
621 else if ((active1 & 0x400000000L) != 0L)
626 else if ((active2 & 0x10000L) != 0L)
627 return jjStopAtPos(1, 144);
628 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x800000000L, active2, 0x80000000L);
631 return jjMoveStringLiteralDfa2_3(active0, 0L, active1, 0x2000000000L, active2, 0L);
634 if ((active1 & 0x1000000000L) != 0L)
635 return jjStartNfaWithStates_3(1, 100, 1);
638 if ((active1 & 0x200000L) != 0L)
639 return jjStopAtPos(1, 85);
644 return jjStartNfa_3(0, active0, active1, active2);
646 static private final int jjMoveStringLiteralDfa2_3(long old0, long active0, long old1, long active1, long old2, long active2)
648 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
649 return jjStartNfa_3(0, old0, old1, old2);
650 try { curChar = input_stream.readChar(); }
651 catch(java.io.IOException e) {
652 jjStopStringLiteralDfa_3(1, 0L, active1, active2);
658 if ((active2 & 0x20000L) != 0L)
659 return jjStopAtPos(2, 145);
660 else if ((active2 & 0x40000L) != 0L)
661 return jjStopAtPos(2, 146);
662 else if ((active2 & 0x40000000L) != 0L)
663 return jjStopAtPos(2, 158);
664 else if ((active2 & 0x80000000L) != 0L)
665 return jjStopAtPos(2, 159);
668 if ((active1 & 0x800000000L) != 0L)
669 return jjStopAtPos(2, 99);
673 if ((active1 & 0x2000000000L) != 0L)
674 return jjStartNfaWithStates_3(2, 101, 1);
679 return jjStartNfa_3(1, 0L, active1, active2);
681 static private final int jjMoveNfa_3(int startState, int curPos)
687 jjstateSet[0] = startState;
688 int j, kind = 0x7fffffff;
691 if (++jjround == 0x7fffffff)
695 long l = 1L << curChar;
698 switch(jjstateSet[--i])
701 if ((0x3ff000000000000L & l) == 0L)
704 jjstateSet[jjnewStateCnt++] = 1;
708 } while(i != startsAt);
710 else if (curChar < 128)
712 long l = 1L << (curChar & 077);
715 switch(jjstateSet[--i])
719 if ((0x87fffffe87fffffeL & l) == 0L)
727 } while(i != startsAt);
731 int i2 = (curChar & 0xff) >> 6;
732 long l2 = 1L << (curChar & 077);
735 switch(jjstateSet[--i])
739 if ((jjbitVec0[i2] & l2) == 0L)
747 } while(i != startsAt);
749 if (kind != 0x7fffffff)
751 jjmatchedKind = kind;
752 jjmatchedPos = curPos;
756 if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt)))
758 try { curChar = input_stream.readChar(); }
759 catch(java.io.IOException e) { return curPos; }
762 private static final int jjStopStringLiteralDfa_6(int pos, long active0, long active1)
770 private static final int jjStartNfa_6(int pos, long active0, long active1)
772 return jjMoveNfa_6(jjStopStringLiteralDfa_6(pos, active0, active1), pos + 1);
774 static private final int jjStartNfaWithStates_6(int pos, int kind, int state)
776 jjmatchedKind = kind;
778 try { curChar = input_stream.readChar(); }
779 catch(java.io.IOException e) { return pos + 1; }
780 return jjMoveNfa_6(state, pos + 1);
782 static private final int jjMoveStringLiteralDfa0_6()
787 return jjStopAtPos(0, 114);
789 return jjStopAtPos(0, 113);
791 return jjStopAtPos(0, 116);
793 return jjMoveNfa_6(0, 0);
796 static private final int jjMoveNfa_6(int startState, int curPos)
802 jjstateSet[0] = startState;
803 int j, kind = 0x7fffffff;
806 if (++jjround == 0x7fffffff)
810 long l = 1L << curChar;
813 switch(jjstateSet[--i])
820 } while(i != startsAt);
822 else if (curChar < 128)
824 long l = 1L << (curChar & 077);
827 switch(jjstateSet[--i])
831 jjstateSet[jjnewStateCnt++] = 1;
839 } while(i != startsAt);
843 int i2 = (curChar & 0xff) >> 6;
844 long l2 = 1L << (curChar & 077);
847 switch(jjstateSet[--i])
850 if ((jjbitVec0[i2] & l2) != 0L && kind > 111)
855 } while(i != startsAt);
857 if (kind != 0x7fffffff)
859 jjmatchedKind = kind;
860 jjmatchedPos = curPos;
864 if ((i = jjnewStateCnt) == (startsAt = 2 - (jjnewStateCnt = startsAt)))
866 try { curChar = input_stream.readChar(); }
867 catch(java.io.IOException e) { return curPos; }
870 private static final int jjStopStringLiteralDfa_2(int pos, long active0)
878 private static final int jjStartNfa_2(int pos, long active0)
880 return jjMoveNfa_2(jjStopStringLiteralDfa_2(pos, active0), pos + 1);
882 static private final int jjStartNfaWithStates_2(int pos, int kind, int state)
884 jjmatchedKind = kind;
886 try { curChar = input_stream.readChar(); }
887 catch(java.io.IOException e) { return pos + 1; }
888 return jjMoveNfa_2(state, pos + 1);
890 static private final int jjMoveStringLiteralDfa0_2()
895 return jjMoveStringLiteralDfa1_2(0x10L);
898 return jjMoveStringLiteralDfa1_2(0x400000L);
900 return jjMoveNfa_2(0, 0);
903 static private final int jjMoveStringLiteralDfa1_2(long active0)
905 try { curChar = input_stream.readChar(); }
906 catch(java.io.IOException e) {
907 jjStopStringLiteralDfa_2(0, active0);
913 if ((active0 & 0x10L) != 0L)
914 return jjStopAtPos(1, 4);
918 return jjMoveStringLiteralDfa2_2(active0, 0x400000L);
922 return jjStartNfa_2(0, active0);
924 static private final int jjMoveStringLiteralDfa2_2(long old0, long active0)
926 if (((active0 &= old0)) == 0L)
927 return jjStartNfa_2(0, old0);
928 try { curChar = input_stream.readChar(); }
929 catch(java.io.IOException e) {
930 jjStopStringLiteralDfa_2(1, active0);
937 return jjMoveStringLiteralDfa3_2(active0, 0x400000L);
941 return jjStartNfa_2(1, active0);
943 static private final int jjMoveStringLiteralDfa3_2(long old0, long active0)
945 if (((active0 &= old0)) == 0L)
946 return jjStartNfa_2(1, old0);
947 try { curChar = input_stream.readChar(); }
948 catch(java.io.IOException e) {
949 jjStopStringLiteralDfa_2(2, active0);
956 if ((active0 & 0x400000L) != 0L)
957 return jjStopAtPos(3, 22);
962 return jjStartNfa_2(2, active0);
964 static private final int jjMoveNfa_2(int startState, int curPos)
970 jjstateSet[0] = startState;
971 int j, kind = 0x7fffffff;
974 if (++jjround == 0x7fffffff)
978 long l = 1L << curChar;
981 switch(jjstateSet[--i])
984 if ((0x2400L & l) != 0L)
990 jjstateSet[jjnewStateCnt++] = 1;
993 if (curChar == 10 && kind > 20)
998 jjstateSet[jjnewStateCnt++] = 1;
1002 } while(i != startsAt);
1004 else if (curChar < 128)
1006 long l = 1L << (curChar & 077);
1009 switch(jjstateSet[--i])
1013 } while(i != startsAt);
1017 int i2 = (curChar & 0xff) >> 6;
1018 long l2 = 1L << (curChar & 077);
1021 switch(jjstateSet[--i])
1025 } while(i != startsAt);
1027 if (kind != 0x7fffffff)
1029 jjmatchedKind = kind;
1030 jjmatchedPos = curPos;
1034 if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
1036 try { curChar = input_stream.readChar(); }
1037 catch(java.io.IOException e) { return curPos; }
1040 private static final int jjStopStringLiteralDfa_1(int pos, long active0, long active1, long active2)
1045 if ((active0 & 0xffff1ffff8000000L) != 0L || (active1 & 0x300000ffffL) != 0L)
1047 jjmatchedKind = 124;
1050 if ((active0 & 0x90000L) != 0L || (active1 & 0x10000000L) != 0L || (active2 & 0x800000L) != 0L)
1052 if ((active2 & 0x8000200L) != 0L)
1056 if ((active0 & 0x80000L) != 0L)
1058 if ((active0 & 0x10000040000000L) != 0L || (active1 & 0x1000001040L) != 0L)
1060 if ((active0 & 0xffef1fffb8000000L) != 0L || (active1 & 0x200000efbfL) != 0L)
1062 if (jjmatchedPos != 1)
1064 jjmatchedKind = 124;
1071 if ((active0 & 0x140000020000000L) != 0L || (active1 & 0x200000c020L) != 0L)
1073 if ((active0 & 0xfeaf1fff98000000L) != 0L || (active1 & 0x3f9fL) != 0L)
1075 if (jjmatchedPos != 2)
1077 jjmatchedKind = 124;
1084 if ((active0 & 0x9c2e1fd618000000L) != 0L || (active1 & 0xb1bfL) != 0L)
1086 if (jjmatchedPos != 3)
1088 jjmatchedKind = 124;
1093 if ((active0 & 0x6281002980000000L) != 0L || (active1 & 0xe00L) != 0L)
1097 if ((active0 & 0x8802001608000000L) != 0L || (active1 & 0x2009L) != 0L)
1099 if ((active0 & 0x142c1fc090000000L) != 0L || (active1 & 0x95b6L) != 0L)
1101 jjmatchedKind = 124;
1107 if ((active0 & 0x14001c0080000000L) != 0L || (active1 & 0x1190L) != 0L)
1109 if ((active0 & 0x2c03c010000000L) != 0L || (active1 & 0x8426L) != 0L)
1111 jjmatchedKind = 124;
1117 if ((active0 & 0x2803c000000000L) != 0L || (active1 & 0x8420L) != 0L)
1119 if ((active0 & 0x4000010000000L) != 0L || (active1 & 0x6L) != 0L)
1121 if (jjmatchedPos != 6)
1123 jjmatchedKind = 124;
1130 if ((active0 & 0x30000000000L) != 0L || (active1 & 0x4L) != 0L)
1132 jjmatchedKind = 124;
1136 if ((active0 & 0x4000010000000L) != 0L || (active1 & 0x2L) != 0L)
1140 if ((active1 & 0x4L) != 0L)
1142 if ((active0 & 0x30000000000L) != 0L)
1144 jjmatchedKind = 124;
1150 if ((active0 & 0x30000000000L) != 0L)
1152 jjmatchedKind = 124;
1158 if ((active0 & 0x30000000000L) != 0L)
1160 jjmatchedKind = 124;
1169 private static final int jjStartNfa_1(int pos, long active0, long active1, long active2)
1171 return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0, active1, active2), pos + 1);
1173 static private final int jjStartNfaWithStates_1(int pos, int kind, int state)
1175 jjmatchedKind = kind;
1177 try { curChar = input_stream.readChar(); }
1178 catch(java.io.IOException e) { return pos + 1; }
1179 return jjMoveNfa_1(state, pos + 1);
1181 static private final int jjMoveStringLiteralDfa0_1()
1187 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x28000L);
1189 return jjStopAtPos(0, 112);
1191 return jjStopAtPos(0, 17);
1193 return jjStopAtPos(0, 123);
1196 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x10000000L);
1199 return jjMoveStringLiteralDfa1_1(0x0L, 0x400000L, 0x1000000L);
1201 return jjStopAtPos(0, 129);
1203 return jjStopAtPos(0, 130);
1206 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x400000L);
1209 return jjMoveStringLiteralDfa1_1(0x0L, 0x800000L, 0x100000L);
1211 return jjStopAtPos(0, 136);
1214 return jjMoveStringLiteralDfa1_1(0x200000000000L, 0x1000000L, 0x200000L);
1216 jjmatchedKind = 137;
1217 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x8000000L);
1220 return jjMoveStringLiteralDfa1_1(0x90000L, 0x0L, 0x800000L);
1223 return jjMoveStringLiteralDfa1_1(0x400000000000L, 0x0L, 0x0L);
1225 return jjStopAtPos(0, 135);
1227 jjmatchedKind = 139;
1228 return jjMoveStringLiteralDfa1_1(0x0L, 0x200000000L, 0x40012000L);
1230 jjmatchedKind = 147;
1231 return jjMoveStringLiteralDfa1_1(0x800000000000L, 0x0L, 0x41000L);
1233 jjmatchedKind = 138;
1234 return jjMoveStringLiteralDfa1_1(0x0L, 0xc00000000L, 0x80004000L);
1237 return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L);
1239 return jjStopAtPos(0, 80);
1241 return jjStopAtPos(0, 133);
1243 return jjStopAtPos(0, 134);
1246 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x4000000L);
1249 return jjMoveStringLiteralDfa1_1(0x200000000L, 0x2000000040L, 0x0L);
1252 return jjMoveStringLiteralDfa1_1(0x400000000L, 0x600L, 0x0L);
1255 return jjMoveStringLiteralDfa1_1(0x7000008000000L, 0x0L, 0x0L);
1258 return jjMoveStringLiteralDfa1_1(0x18080000000000L, 0x1000L, 0x0L);
1261 return jjMoveStringLiteralDfa1_1(0x20002180000000L, 0x1eL, 0x0L);
1264 return jjMoveStringLiteralDfa1_1(0x8040000010000000L, 0x2020L, 0x0L);
1267 return jjMoveStringLiteralDfa1_1(0x80040000000000L, 0x0L, 0x0L);
1270 return jjMoveStringLiteralDfa1_1(0x14040000000L, 0xc000L, 0x0L);
1273 return jjMoveStringLiteralDfa1_1(0x800000000L, 0x0L, 0x0L);
1276 return jjMoveStringLiteralDfa1_1(0x300000000000000L, 0x0L, 0x0L);
1279 return jjMoveStringLiteralDfa1_1(0x0L, 0x1000000100L, 0x0L);
1282 return jjMoveStringLiteralDfa1_1(0x1000000000L, 0x0L, 0x0L);
1285 return jjMoveStringLiteralDfa1_1(0x400028000000000L, 0x800L, 0x0L);
1288 return jjMoveStringLiteralDfa1_1(0x1800100000000000L, 0x80L, 0x0L);
1291 return jjMoveStringLiteralDfa1_1(0x6000000000000000L, 0x0L, 0x0L);
1294 return jjMoveStringLiteralDfa1_1(0x20000000L, 0x0L, 0x0L);
1297 return jjMoveStringLiteralDfa1_1(0x0L, 0x1L, 0x0L);
1299 return jjStopAtPos(0, 131);
1302 return jjMoveStringLiteralDfa1_1(0x0L, 0x200000L, 0x2000000L);
1304 return jjStopAtPos(0, 132);
1307 return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x20000000L);
1309 return jjMoveNfa_1(3, 0);
1312 static private final int jjMoveStringLiteralDfa1_1(long active0, long active1, long active2)
1314 try { curChar = input_stream.readChar(); }
1315 catch(java.io.IOException e) {
1316 jjStopStringLiteralDfa_1(0, active0, active1, active2);
1322 if ((active1 & 0x400000L) != 0L)
1323 return jjStopAtPos(1, 86);
1326 if ((active0 & 0x80000L) != 0L)
1327 return jjStartNfaWithStates_1(1, 19, 0);
1330 if ((active1 & 0x800000L) != 0L)
1331 return jjStopAtPos(1, 87);
1334 if ((active1 & 0x1000000L) != 0L)
1335 return jjStopAtPos(1, 88);
1338 if ((active0 & 0x10000L) != 0L)
1339 return jjStopAtPos(1, 16);
1342 if ((active0 & 0x400000000000L) != 0L)
1343 return jjStopAtPos(1, 46);
1346 if ((active1 & 0x200000000L) != 0L)
1351 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x40000000L);
1353 if ((active2 & 0x1000L) != 0L)
1355 jjmatchedKind = 140;
1358 else if ((active2 & 0x2000L) != 0L)
1359 return jjStopAtPos(1, 141);
1360 else if ((active2 & 0x4000L) != 0L)
1361 return jjStopAtPos(1, 142);
1362 else if ((active2 & 0x8000L) != 0L)
1364 jjmatchedKind = 143;
1367 else if ((active2 & 0x100000L) != 0L)
1368 return jjStopAtPos(1, 148);
1369 else if ((active2 & 0x200000L) != 0L)
1370 return jjStopAtPos(1, 149);
1371 else if ((active2 & 0x400000L) != 0L)
1372 return jjStopAtPos(1, 150);
1373 else if ((active2 & 0x800000L) != 0L)
1374 return jjStopAtPos(1, 151);
1375 else if ((active2 & 0x1000000L) != 0L)
1376 return jjStopAtPos(1, 152);
1377 else if ((active2 & 0x2000000L) != 0L)
1378 return jjStopAtPos(1, 153);
1379 else if ((active2 & 0x4000000L) != 0L)
1380 return jjStopAtPos(1, 154);
1381 else if ((active2 & 0x8000000L) != 0L)
1382 return jjStopAtPos(1, 155);
1383 else if ((active2 & 0x10000000L) != 0L)
1384 return jjStopAtPos(1, 156);
1385 else if ((active2 & 0x20000000L) != 0L)
1386 return jjStopAtPos(1, 157);
1387 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x60000L);
1389 if ((active0 & 0x10L) != 0L)
1390 return jjStopAtPos(1, 4);
1391 else if ((active0 & 0x200000000000L) != 0L)
1392 return jjStopAtPos(1, 45);
1393 else if ((active0 & 0x800000000000L) != 0L)
1394 return jjStopAtPos(1, 47);
1395 else if ((active1 & 0x400000000L) != 0L)
1400 else if ((active2 & 0x10000L) != 0L)
1401 return jjStopAtPos(1, 144);
1402 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x800000000L, active2, 0x80000000L);
1405 return jjMoveStringLiteralDfa2_1(active0, 0x8001000020000000L, active1, 0L, active2, 0L);
1408 return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x100L, active2, 0L);
1411 return jjMoveStringLiteralDfa2_1(active0, 0x2000000000L, active1, 0L, active2, 0L);
1414 return jjMoveStringLiteralDfa2_1(active0, 0x5080a8000000000L, active1, 0x800L, active2, 0L);
1417 if ((active0 & 0x40000000L) != 0L)
1418 return jjStartNfaWithStates_1(1, 30, 14);
1422 return jjMoveStringLiteralDfa2_1(active0, 0x2000000000000000L, active1, 0x1L, active2, 0L);
1425 return jjMoveStringLiteralDfa2_1(active0, 0x800000000L, active1, 0L, active2, 0L);
1428 return jjMoveStringLiteralDfa2_1(active0, 0x40188000000L, active1, 0x2000L, active2, 0L);
1431 return jjMoveStringLiteralDfa2_1(active0, 0x14000000000L, active1, 0x200000c01eL, active2, 0L);
1434 if ((active0 & 0x10000000000000L) != 0L)
1439 return jjMoveStringLiteralDfa2_1(active0, 0xc6000000000000L, active1, 0x1620L, active2, 0L);
1442 if ((active1 & 0x1000000000L) != 0L)
1443 return jjStartNfaWithStates_1(1, 100, 14);
1444 return jjMoveStringLiteralDfa2_1(active0, 0x4000001600000000L, active1, 0L, active2, 0L);
1447 if ((active1 & 0x40L) != 0L)
1448 return jjStartNfaWithStates_1(1, 70, 14);
1452 return jjMoveStringLiteralDfa2_1(active0, 0x100000000000L, active1, 0x80L, active2, 0L);
1455 return jjMoveStringLiteralDfa2_1(active0, 0xa00000010000000L, active1, 0L, active2, 0L);
1458 return jjMoveStringLiteralDfa2_1(active0, 0x1000000000000000L, active1, 0L, active2, 0L);
1461 return jjMoveStringLiteralDfa2_1(active0, 0x20000000000000L, active1, 0L, active2, 0L);
1463 if ((active1 & 0x200000L) != 0L)
1464 return jjStopAtPos(1, 85);
1469 return jjStartNfa_1(0, active0, active1, active2);
1471 static private final int jjMoveStringLiteralDfa2_1(long old0, long active0, long old1, long active1, long old2, long active2)
1473 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
1474 return jjStartNfa_1(0, old0, old1, old2);
1475 try { curChar = input_stream.readChar(); }
1476 catch(java.io.IOException e) {
1477 jjStopStringLiteralDfa_1(1, active0, active1, active2);
1483 if ((active2 & 0x20000L) != 0L)
1484 return jjStopAtPos(2, 145);
1485 else if ((active2 & 0x40000L) != 0L)
1486 return jjStopAtPos(2, 146);
1487 else if ((active2 & 0x40000000L) != 0L)
1488 return jjStopAtPos(2, 158);
1489 else if ((active2 & 0x80000000L) != 0L)
1490 return jjStopAtPos(2, 159);
1493 if ((active1 & 0x800000000L) != 0L)
1494 return jjStopAtPos(2, 99);
1498 return jjMoveStringLiteralDfa3_1(active0, 0x100008000000L, active1, 0x800L, active2, 0L);
1501 return jjMoveStringLiteralDfa3_1(active0, 0x14000000000L, active1, 0L, active2, 0L);
1504 if ((active1 & 0x2000000000L) != 0L)
1505 return jjStartNfaWithStates_1(2, 101, 14);
1506 return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x1eL, active2, 0L);
1509 return jjMoveStringLiteralDfa3_1(active0, 0x400000000L, active1, 0L, active2, 0L);
1512 return jjMoveStringLiteralDfa3_1(active0, 0x8080000000000L, active1, 0L, active2, 0L);
1515 return jjMoveStringLiteralDfa3_1(active0, 0x2000000000L, active1, 0L, active2, 0L);
1518 return jjMoveStringLiteralDfa3_1(active0, 0x3000001000000000L, active1, 0x1L, active2, 0L);
1521 return jjMoveStringLiteralDfa3_1(active0, 0L, active1, 0x100L, active2, 0L);
1524 return jjMoveStringLiteralDfa3_1(active0, 0x8200000000000000L, active1, 0L, active2, 0L);
1527 return jjMoveStringLiteralDfa3_1(active0, 0x6000010000000L, active1, 0L, active2, 0L);
1530 return jjMoveStringLiteralDfa3_1(active0, 0x40000000000L, active1, 0x2600L, active2, 0L);
1533 return jjMoveStringLiteralDfa3_1(active0, 0x800000000000000L, active1, 0L, active2, 0L);
1536 return jjMoveStringLiteralDfa3_1(active0, 0x28000000000L, active1, 0L, active2, 0L);
1539 if ((active0 & 0x20000000L) != 0L)
1540 return jjStartNfaWithStates_1(2, 29, 14);
1541 else if ((active0 & 0x40000000000000L) != 0L)
1546 return jjMoveStringLiteralDfa3_1(active0, 0x200000000L, active1, 0xa0L, active2, 0L);
1549 return jjMoveStringLiteralDfa3_1(active0, 0x1000980000000L, active1, 0L, active2, 0L);
1552 if ((active1 & 0x4000L) != 0L)
1557 return jjMoveStringLiteralDfa3_1(active0, 0x4a0000000000000L, active1, 0x8000L, active2, 0L);
1560 return jjMoveStringLiteralDfa3_1(active0, 0x4000000000000000L, active1, 0x1000L, active2, 0L);
1563 if ((active0 & 0x100000000000000L) != 0L)
1564 return jjStartNfaWithStates_1(2, 56, 14);
1569 return jjStartNfa_1(1, active0, active1, active2);
1571 static private final int jjMoveStringLiteralDfa3_1(long old0, long active0, long old1, long active1, long old2, long active2)
1573 if (((active0 &= old0) | (active1 &= old1) | (active2 &= old2)) == 0L)
1574 return jjStartNfa_1(1, old0, old1, old2);
1575 try { curChar = input_stream.readChar(); }
1576 catch(java.io.IOException e) {
1577 jjStopStringLiteralDfa_1(2, active0, active1, 0L);
1584 return jjMoveStringLiteralDfa4_1(active0, 0x8000600000000L, active1, 0x2000L);
1587 return jjMoveStringLiteralDfa4_1(active0, 0x40000000000L, active1, 0x1000L);
1590 return jjMoveStringLiteralDfa4_1(active0, 0x10000000L, active1, 0L);
1593 if ((active0 & 0x100000000L) != 0L)
1598 else if ((active0 & 0x1000000000000L) != 0L)
1599 return jjStartNfaWithStates_1(3, 48, 14);
1600 else if ((active0 & 0x4000000000000000L) != 0L)
1601 return jjStartNfaWithStates_1(3, 62, 14);
1602 return jjMoveStringLiteralDfa4_1(active0, 0x820000080000000L, active1, 0x8120L);
1605 return jjMoveStringLiteralDfa4_1(active0, 0L, active1, 0x10L);
1608 return jjMoveStringLiteralDfa4_1(active0, 0x80000000000L, active1, 0x88L);
1611 if ((active0 & 0x200000000000000L) != 0L)
1612 return jjStartNfaWithStates_1(3, 57, 14);
1613 else if ((active1 & 0x200L) != 0L)
1618 else if ((active1 & 0x800L) != 0L)
1619 return jjStartNfaWithStates_1(3, 75, 14);
1620 return jjMoveStringLiteralDfa4_1(active0, 0x14000000000L, active1, 0x401L);
1623 return jjMoveStringLiteralDfa4_1(active0, 0x1000000000L, active1, 0L);
1626 if ((active0 & 0x2000000000L) != 0L)
1627 return jjStartNfaWithStates_1(3, 37, 14);
1628 else if ((active0 & 0x80000000000000L) != 0L)
1629 return jjStartNfaWithStates_1(3, 55, 14);
1633 if ((active0 & 0x2000000000000000L) != 0L)
1634 return jjStartNfaWithStates_1(3, 61, 14);
1635 return jjMoveStringLiteralDfa4_1(active0, 0x8002000008000000L, active1, 0x4L);
1638 if ((active0 & 0x800000000L) != 0L)
1639 return jjStartNfaWithStates_1(3, 35, 14);
1640 return jjMoveStringLiteralDfa4_1(active0, 0x1004100000000000L, active1, 0L);
1643 return jjMoveStringLiteralDfa4_1(active0, 0x400028000000000L, active1, 0L);
1646 return jjMoveStringLiteralDfa4_1(active0, 0L, active1, 0x2L);
1650 return jjStartNfa_1(2, active0, active1, 0L);
1652 static private final int jjMoveStringLiteralDfa4_1(long old0, long active0, long old1, long active1)
1654 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1655 return jjStartNfa_1(2, old0, old1, 0L);
1656 try { curChar = input_stream.readChar(); }
1657 catch(java.io.IOException e) {
1658 jjStopStringLiteralDfa_1(3, active0, active1, 0L);
1665 return jjMoveStringLiteralDfa5_1(active0, 0x40000000000L, active1, 0x20L);
1668 return jjMoveStringLiteralDfa5_1(active0, 0x1000000000000000L, active1, 0x100L);
1671 if ((active0 & 0x8000000000000000L) != 0L)
1672 return jjStartNfaWithStates_1(4, 63, 14);
1673 else if ((active1 & 0x1L) != 0L)
1674 return jjStartNfaWithStates_1(4, 64, 14);
1675 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x400L);
1678 if ((active1 & 0x8L) != 0L)
1679 return jjStartNfaWithStates_1(4, 67, 14);
1683 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x8000L);
1686 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x2L);
1689 return jjMoveStringLiteralDfa5_1(active0, 0x4128080000000L, active1, 0L);
1692 if ((active0 & 0x400000000L) != 0L)
1693 return jjStartNfaWithStates_1(4, 34, 14);
1697 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x1000L);
1700 return jjMoveStringLiteralDfa5_1(active0, 0x20080000000000L, active1, 0x80L);
1703 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x10L);
1706 if ((active0 & 0x800000000000000L) != 0L)
1707 return jjStartNfaWithStates_1(4, 59, 14);
1708 return jjMoveStringLiteralDfa5_1(active0, 0x400000000000000L, active1, 0L);
1711 if ((active0 & 0x8000000L) != 0L)
1712 return jjStartNfaWithStates_1(4, 27, 14);
1716 if ((active0 & 0x1000000000L) != 0L)
1717 return jjStartNfaWithStates_1(4, 36, 14);
1718 else if ((active0 & 0x2000000000000L) != 0L)
1719 return jjStartNfaWithStates_1(4, 49, 14);
1720 else if ((active1 & 0x2000L) != 0L)
1721 return jjStartNfaWithStates_1(4, 77, 14);
1722 return jjMoveStringLiteralDfa5_1(active0, 0x10000000L, active1, 0L);
1725 return jjMoveStringLiteralDfa5_1(active0, 0x8014000000000L, active1, 0L);
1728 return jjMoveStringLiteralDfa5_1(active0, 0L, active1, 0x4L);
1731 if ((active0 & 0x200000000L) != 0L)
1732 return jjStartNfaWithStates_1(4, 33, 14);
1737 return jjStartNfa_1(3, active0, active1, 0L);
1739 static private final int jjMoveStringLiteralDfa5_1(long old0, long active0, long old1, long active1)
1741 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1742 return jjStartNfa_1(3, old0, old1, 0L);
1743 try { curChar = input_stream.readChar(); }
1744 catch(java.io.IOException e) {
1745 jjStopStringLiteralDfa_1(4, active0, active1, 0L);
1752 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x400L);
1755 if ((active0 & 0x100000000000L) != 0L)
1756 return jjStartNfaWithStates_1(5, 44, 14);
1757 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x20L);
1760 return jjMoveStringLiteralDfa6_1(active0, 0x20014000000000L, active1, 0L);
1763 if ((active0 & 0x80000000000L) != 0L)
1764 return jjStartNfaWithStates_1(5, 43, 14);
1765 else if ((active1 & 0x1000L) != 0L)
1766 return jjStartNfaWithStates_1(5, 76, 14);
1767 return jjMoveStringLiteralDfa6_1(active0, 0L, active1, 0x8000L);
1770 if ((active0 & 0x80000000L) != 0L)
1771 return jjStartNfaWithStates_1(5, 31, 14);
1775 if ((active1 & 0x80L) != 0L)
1776 return jjStartNfaWithStates_1(5, 71, 14);
1780 if ((active0 & 0x1000000000000000L) != 0L)
1781 return jjStartNfaWithStates_1(5, 60, 14);
1785 return jjMoveStringLiteralDfa6_1(active0, 0x10000000L, active1, 0x6L);
1788 if ((active0 & 0x40000000000L) != 0L)
1789 return jjStartNfaWithStates_1(5, 42, 14);
1790 return jjMoveStringLiteralDfa6_1(active0, 0x8000000000000L, active1, 0L);
1793 if ((active0 & 0x400000000000000L) != 0L)
1794 return jjStartNfaWithStates_1(5, 58, 14);
1795 return jjMoveStringLiteralDfa6_1(active0, 0x4000000000000L, active1, 0L);
1798 if ((active1 & 0x10L) != 0L)
1799 return jjStartNfaWithStates_1(5, 68, 14);
1800 return jjMoveStringLiteralDfa6_1(active0, 0x28000000000L, active1, 0L);
1803 if ((active1 & 0x100L) != 0L)
1804 return jjStartNfaWithStates_1(5, 72, 14);
1809 return jjStartNfa_1(4, active0, active1, 0L);
1811 static private final int jjMoveStringLiteralDfa6_1(long old0, long active0, long old1, long active1)
1813 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1814 return jjStartNfa_1(4, old0, old1, 0L);
1815 try { curChar = input_stream.readChar(); }
1816 catch(java.io.IOException e) {
1817 jjStopStringLiteralDfa_1(5, active0, active1, 0L);
1824 if ((active0 & 0x4000000000L) != 0L)
1829 else if ((active0 & 0x8000000000L) != 0L)
1834 return jjMoveStringLiteralDfa7_1(active0, 0x30000000000L, active1, 0L);
1837 if ((active1 & 0x20L) != 0L)
1838 return jjStartNfaWithStates_1(6, 69, 14);
1842 return jjMoveStringLiteralDfa7_1(active0, 0L, active1, 0x2L);
1845 if ((active1 & 0x400L) != 0L)
1846 return jjStartNfaWithStates_1(6, 74, 14);
1850 return jjMoveStringLiteralDfa7_1(active0, 0x10000000L, active1, 0L);
1853 if ((active1 & 0x8000L) != 0L)
1854 return jjStartNfaWithStates_1(6, 79, 14);
1858 if ((active0 & 0x20000000000000L) != 0L)
1859 return jjStartNfaWithStates_1(6, 53, 14);
1863 if ((active0 & 0x8000000000000L) != 0L)
1864 return jjStartNfaWithStates_1(6, 51, 14);
1865 return jjMoveStringLiteralDfa7_1(active0, 0L, active1, 0x4L);
1868 return jjMoveStringLiteralDfa7_1(active0, 0x4000000000000L, active1, 0L);
1872 return jjStartNfa_1(5, active0, active1, 0L);
1874 static private final int jjMoveStringLiteralDfa7_1(long old0, long active0, long old1, long active1)
1876 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1877 return jjStartNfa_1(5, old0, old1, 0L);
1878 try { curChar = input_stream.readChar(); }
1879 catch(java.io.IOException e) {
1880 jjStopStringLiteralDfa_1(6, active0, active1, 0L);
1886 return jjMoveStringLiteralDfa8_1(active0, 0x30000000000L, active1, 0L);
1889 return jjMoveStringLiteralDfa8_1(active0, 0L, active1, 0x4L);
1892 if ((active0 & 0x4000000000000L) != 0L)
1893 return jjStartNfaWithStates_1(7, 50, 14);
1894 else if ((active1 & 0x2L) != 0L)
1895 return jjStartNfaWithStates_1(7, 65, 14);
1899 if ((active0 & 0x10000000L) != 0L)
1900 return jjStartNfaWithStates_1(7, 28, 14);
1905 return jjStartNfa_1(6, active0, active1, 0L);
1907 static private final int jjMoveStringLiteralDfa8_1(long old0, long active0, long old1, long active1)
1909 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1910 return jjStartNfa_1(6, old0, old1, 0L);
1911 try { curChar = input_stream.readChar(); }
1912 catch(java.io.IOException e) {
1913 jjStopStringLiteralDfa_1(7, active0, active1, 0L);
1920 if ((active1 & 0x4L) != 0L)
1921 return jjStartNfaWithStates_1(8, 66, 14);
1925 return jjMoveStringLiteralDfa9_1(active0, 0x30000000000L, active1, 0L);
1929 return jjStartNfa_1(7, active0, active1, 0L);
1931 static private final int jjMoveStringLiteralDfa9_1(long old0, long active0, long old1, long active1)
1933 if (((active0 &= old0) | (active1 &= old1)) == 0L)
1934 return jjStartNfa_1(7, old0, old1, 0L);
1935 try { curChar = input_stream.readChar(); }
1936 catch(java.io.IOException e) {
1937 jjStopStringLiteralDfa_1(8, active0, 0L, 0L);
1944 return jjMoveStringLiteralDfa10_1(active0, 0x30000000000L);
1948 return jjStartNfa_1(8, active0, 0L, 0L);
1950 static private final int jjMoveStringLiteralDfa10_1(long old0, long active0)
1952 if (((active0 &= old0)) == 0L)
1953 return jjStartNfa_1(8, old0, 0L, 0L);
1954 try { curChar = input_stream.readChar(); }
1955 catch(java.io.IOException e) {
1956 jjStopStringLiteralDfa_1(9, active0, 0L, 0L);
1963 return jjMoveStringLiteralDfa11_1(active0, 0x30000000000L);
1967 return jjStartNfa_1(9, active0, 0L, 0L);
1969 static private final int jjMoveStringLiteralDfa11_1(long old0, long active0)
1971 if (((active0 &= old0)) == 0L)
1972 return jjStartNfa_1(9, old0, 0L, 0L);
1973 try { curChar = input_stream.readChar(); }
1974 catch(java.io.IOException e) {
1975 jjStopStringLiteralDfa_1(10, active0, 0L, 0L);
1982 if ((active0 & 0x10000000000L) != 0L)
1983 return jjStartNfaWithStates_1(11, 40, 14);
1984 else if ((active0 & 0x20000000000L) != 0L)
1985 return jjStartNfaWithStates_1(11, 41, 14);
1990 return jjStartNfa_1(10, active0, 0L, 0L);
1992 static private final int jjMoveNfa_1(int startState, int curPos)
1998 jjstateSet[0] = startState;
1999 int j, kind = 0x7fffffff;
2002 if (++jjround == 0x7fffffff)
2006 long l = 1L << curChar;
2009 switch(jjstateSet[--i])
2012 if ((0x3ff000000000000L & l) != 0L)
2013 jjCheckNAddStates(0, 6);
2014 else if (curChar == 39)
2015 jjCheckNAddStates(7, 12);
2016 else if (curChar == 46)
2018 else if (curChar == 47)
2019 jjstateSet[jjnewStateCnt++] = 2;
2020 if ((0x3fe000000000000L & l) != 0L)
2024 jjCheckNAddTwoStates(5, 6);
2026 else if (curChar == 48)
2030 jjCheckNAddStates(13, 15);
2035 jjstateSet[jjnewStateCnt++] = 1;
2038 if ((0xffff7fffffffffffL & l) != 0L && kind > 18)
2043 jjstateSet[jjnewStateCnt++] = 0;
2046 if ((0x3fe000000000000L & l) == 0L)
2050 jjCheckNAddTwoStates(5, 6);
2053 if ((0x3ff000000000000L & l) == 0L)
2057 jjCheckNAddTwoStates(5, 6);
2064 if ((0x3ff000000000000L & l) == 0L)
2068 jjCheckNAddStates(16, 18);
2071 if ((0x280000000000L & l) != 0L)
2075 if ((0x3ff000000000000L & l) == 0L)
2079 jjCheckNAddTwoStates(11, 12);
2082 if ((0x3ff000000000000L & l) == 0L)
2086 jjstateSet[jjnewStateCnt++] = 14;
2089 if ((0x3ff000000000000L & l) != 0L)
2090 jjCheckNAddStates(0, 6);
2093 if ((0x3ff000000000000L & l) != 0L)
2094 jjCheckNAddTwoStates(16, 17);
2101 jjCheckNAddStates(19, 21);
2104 if ((0x3ff000000000000L & l) == 0L)
2108 jjCheckNAddStates(19, 21);
2111 if ((0x280000000000L & l) != 0L)
2115 if ((0x3ff000000000000L & l) == 0L)
2119 jjCheckNAddTwoStates(21, 12);
2122 if ((0x3ff000000000000L & l) != 0L)
2123 jjCheckNAddTwoStates(22, 23);
2126 if ((0x280000000000L & l) != 0L)
2130 if ((0x3ff000000000000L & l) == 0L)
2134 jjCheckNAddTwoStates(25, 12);
2137 if ((0x3ff000000000000L & l) != 0L)
2138 jjCheckNAddStates(22, 24);
2141 if ((0x280000000000L & l) != 0L)
2145 if ((0x3ff000000000000L & l) != 0L)
2146 jjCheckNAddTwoStates(29, 12);
2153 jjCheckNAddStates(13, 15);
2156 if ((0x3ff000000000000L & l) == 0L)
2160 jjCheckNAddTwoStates(32, 6);
2163 if ((0xff000000000000L & l) == 0L)
2167 jjCheckNAddTwoStates(33, 6);
2171 jjCheckNAddStates(7, 12);
2174 if ((0xffffff7fffffffffL & l) != 0L)
2175 jjCheckNAddStates(25, 27);
2178 jjCheckNAddStates(25, 27);
2181 if (curChar == 39 && kind > 108)
2185 if ((0xffffff7fffffffffL & l) != 0L)
2186 jjCheckNAddStates(28, 30);
2189 jjCheckNAddStates(28, 30);
2192 if (curChar == 39 && kind > 109)
2197 jjCheckNAddStates(31, 33);
2201 jjCheckNAddStates(34, 36);
2205 } while(i != startsAt);
2207 else if (curChar < 128)
2209 long l = 1L << (curChar & 077);
2212 switch(jjstateSet[--i])
2215 if ((0x87fffffe87fffffeL & l) != 0L)
2221 else if (curChar == 96)
2222 jjCheckNAddStates(37, 42);
2229 if ((0x100000001000L & l) != 0L && kind > 102)
2233 if ((0x2000000020L & l) != 0L)
2234 jjAddStates(43, 44);
2237 if ((0x5000000050L & l) != 0L && kind > 106)
2242 if ((0x87fffffe87fffffeL & l) == 0L)
2249 if ((0x2000000020L & l) != 0L)
2250 jjAddStates(45, 46);
2253 if ((0x2000000020L & l) != 0L)
2254 jjAddStates(47, 48);
2257 if ((0x2000000020L & l) != 0L)
2258 jjAddStates(49, 50);
2261 if ((0x100000001000000L & l) != 0L)
2265 if ((0x7e0000007eL & l) == 0L)
2269 jjCheckNAddTwoStates(32, 6);
2272 if ((0xffffffffefffffffL & l) != 0L)
2273 jjCheckNAddStates(25, 27);
2277 jjstateSet[jjnewStateCnt++] = 37;
2280 jjCheckNAddStates(25, 27);
2283 if ((0xffffffffefffffffL & l) != 0L)
2284 jjCheckNAddStates(28, 30);
2288 jjstateSet[jjnewStateCnt++] = 41;
2291 jjCheckNAddStates(28, 30);
2295 jjCheckNAddStates(37, 42);
2298 if ((0xfffffffeefffffffL & l) != 0L)
2299 jjCheckNAddStates(31, 33);
2303 jjstateSet[jjnewStateCnt++] = 46;
2306 jjCheckNAddStates(31, 33);
2309 if (curChar == 96 && kind > 108)
2313 if ((0xfffffffeefffffffL & l) != 0L)
2314 jjCheckNAddStates(34, 36);
2318 jjstateSet[jjnewStateCnt++] = 50;
2321 jjCheckNAddStates(34, 36);
2324 if (curChar == 96 && kind > 110)
2329 } while(i != startsAt);
2333 int i2 = (curChar & 0xff) >> 6;
2334 long l2 = 1L << (curChar & 077);
2337 switch(jjstateSet[--i])
2341 if ((jjbitVec0[i2] & l2) == 0L)
2348 if ((jjbitVec0[i2] & l2) != 0L && kind > 18)
2353 if ((jjbitVec0[i2] & l2) != 0L)
2354 jjCheckNAddStates(25, 27);
2358 if ((jjbitVec0[i2] & l2) != 0L)
2359 jjCheckNAddStates(28, 30);
2363 if ((jjbitVec0[i2] & l2) != 0L)
2364 jjCheckNAddStates(31, 33);
2368 if ((jjbitVec0[i2] & l2) != 0L)
2369 jjCheckNAddStates(34, 36);
2373 } while(i != startsAt);
2375 if (kind != 0x7fffffff)
2377 jjmatchedKind = kind;
2378 jjmatchedPos = curPos;
2382 if ((i = jjnewStateCnt) == (startsAt = 52 - (jjnewStateCnt = startsAt)))
2384 try { curChar = input_stream.readChar(); }
2385 catch(java.io.IOException e) { return curPos; }
2388 private static final int jjStopStringLiteralDfa_7(int pos, long active0, long active1)
2396 private static final int jjStartNfa_7(int pos, long active0, long active1)
2398 return jjMoveNfa_7(jjStopStringLiteralDfa_7(pos, active0, active1), pos + 1);
2400 static private final int jjStartNfaWithStates_7(int pos, int kind, int state)
2402 jjmatchedKind = kind;
2404 try { curChar = input_stream.readChar(); }
2405 catch(java.io.IOException e) { return pos + 1; }
2406 return jjMoveNfa_7(state, pos + 1);
2408 static private final int jjMoveStringLiteralDfa0_7()
2413 return jjStopAtPos(0, 114);
2415 return jjStopAtPos(0, 115);
2417 return jjMoveNfa_7(0, 0);
2420 static private final int jjMoveNfa_7(int startState, int curPos)
2426 jjstateSet[0] = startState;
2427 int j, kind = 0x7fffffff;
2430 if (++jjround == 0x7fffffff)
2434 long l = 1L << curChar;
2437 switch(jjstateSet[--i])
2444 if ((0x3ff000000000000L & l) == 0L)
2448 jjstateSet[jjnewStateCnt++] = 3;
2452 } while(i != startsAt);
2454 else if (curChar < 128)
2456 long l = 1L << (curChar & 077);
2459 switch(jjstateSet[--i])
2462 if ((0x87fffffe87fffffeL & l) != 0L)
2468 else if (curChar == 92)
2469 jjstateSet[jjnewStateCnt++] = 1;
2477 if ((0x87fffffe87fffffeL & l) == 0L)
2485 } while(i != startsAt);
2489 int i2 = (curChar & 0xff) >> 6;
2490 long l2 = 1L << (curChar & 077);
2493 switch(jjstateSet[--i])
2497 if ((jjbitVec0[i2] & l2) == 0L)
2504 if ((jjbitVec0[i2] & l2) != 0L && kind > 111)
2509 } while(i != startsAt);
2511 if (kind != 0x7fffffff)
2513 jjmatchedKind = kind;
2514 jjmatchedPos = curPos;
2518 if ((i = jjnewStateCnt) == (startsAt = 4 - (jjnewStateCnt = startsAt)))
2520 try { curChar = input_stream.readChar(); }
2521 catch(java.io.IOException e) { return curPos; }
2524 static final int[] jjnextStates = {
2525 16, 17, 22, 23, 26, 27, 12, 35, 36, 38, 39, 40, 42, 31, 33, 6,
2526 8, 9, 12, 18, 19, 12, 26, 27, 12, 35, 36, 38, 39, 40, 42, 44,
2527 45, 47, 48, 49, 51, 44, 45, 47, 48, 49, 51, 10, 11, 20, 21, 24,
2530 public static final String[] jjstrLiteralImages = {
2531 "", "\74\77", null, "\74\77\75", "\77\76", null, null, null, null, null, null,
2532 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2533 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2534 null, null, null, null, null, null, "\55\76", "\72\72", "\75\76", null, null, null,
2535 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2536 null, null, null, null, null, null, null, null, null, null, null, null, null, null,
2537 null, "\100", "\41", "\176", "\77", "\72", "\174\174", "\46\46", "\53\53", "\55\55",
2538 "\53", "\55", "\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76",
2539 "\76\76\76", null, null, null, null, null, null, null, null, null, null, null, null, "\42",
2540 "\44", "\42", "\173", null, null, null, "\175", null, null, null, "\44", null, null,
2541 null, null, null, "\50", "\51", "\173", "\175", "\133", "\135", "\73", "\54", "\56",
2542 "\76", "\74", "\75\75", "\74\75", "\76\75", "\41\75", "\74\76", "\41\75\75",
2543 "\75\75\75", "\75", "\53\75", "\55\75", "\52\75", "\57\75", "\46\75", "\174\75", "\136\75",
2544 "\56\75", "\45\75", "\176\75", "\74\74\75", "\76\76\75", };
2545 public static final String[] lexStateNames = {
2548 "IN_SINGLE_LINE_COMMENT",
2550 "IN_FORMAL_COMMENT",
2551 "IN_MULTI_LINE_COMMENT",
2555 "DOLLAR_IN_STRING_EXPR",
2557 public static final int[] jjnewLexState = {
2558 -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,
2559 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,
2560 -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,
2561 -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,
2562 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,
2563 -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,
2564 1, 1, 1, 1, 1, 1, 1, 1, 1, 1,
2566 static final long[] jjtoToken = {
2567 0xfffffffff880001fL, 0x198f747fffffffffL, 0xfffffffeL,
2569 static final long[] jjtoSkip = {
2570 0x37fffe0L, 0x670800000000000L, 0x1L,
2572 static final long[] jjtoSpecial = {
2573 0x37ff800L, 0x30000000000000L, 0x1L,
2575 static final long[] jjtoMore = {
2576 0x4000000L, 0x0L, 0x0L,
2578 static protected SimpleCharStream input_stream;
2579 static private final int[] jjrounds = new int[52];
2580 static private final int[] jjstateSet = new int[104];
2581 static StringBuffer image;
2582 static int jjimageLen;
2583 static int lengthOfMatch;
2584 static protected char curChar;
2585 public PHPParserTokenManager(SimpleCharStream stream)
2587 if (input_stream != null)
2588 throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
2589 input_stream = stream;
2591 public PHPParserTokenManager(SimpleCharStream stream, int lexState)
2596 static public void ReInit(SimpleCharStream stream)
2598 jjmatchedPos = jjnewStateCnt = 0;
2599 curLexState = defaultLexState;
2600 input_stream = stream;
2603 static private final void ReInitRounds()
2606 jjround = 0x80000001;
2607 for (i = 52; i-- > 0;)
2608 jjrounds[i] = 0x80000000;
2610 static public void ReInit(SimpleCharStream stream, int lexState)
2615 static public void SwitchTo(int lexState)
2617 if (lexState >= 10 || lexState < 0)
2618 throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
2620 curLexState = lexState;
2623 static protected Token jjFillToken()
2625 Token t = Token.newToken(jjmatchedKind);
2626 t.kind = jjmatchedKind;
2627 if (jjmatchedPos < 0)
2630 t.beginLine = t.endLine = input_stream.getBeginLine();
2631 t.beginColumn = t.endColumn = input_stream.getBeginColumn();
2635 String im = jjstrLiteralImages[jjmatchedKind];
2636 t.image = (im == null) ? input_stream.GetImage() : im;
2637 t.beginLine = input_stream.getBeginLine();
2638 t.beginColumn = input_stream.getBeginColumn();
2639 t.endLine = input_stream.getEndLine();
2640 t.endColumn = input_stream.getEndColumn();
2645 static int curLexState = 0;
2646 static int defaultLexState = 0;
2647 static int jjnewStateCnt;
2649 static int jjmatchedPos;
2650 static int jjmatchedKind;
2652 public static Token getNextToken()
2655 Token specialToken = null;
2664 curChar = input_stream.BeginToken();
2666 catch(java.io.IOException e)
2669 matchedToken = jjFillToken();
2670 matchedToken.specialToken = specialToken;
2671 CommonTokenAction(matchedToken);
2672 return matchedToken;
2682 jjmatchedKind = 0x7fffffff;
2684 curPos = jjMoveStringLiteralDfa0_0();
2685 if (jjmatchedPos == 0 && jjmatchedKind > 5)
2691 try { input_stream.backup(0);
2692 while (curChar <= 32 && (0x100003600L & (1L << curChar)) != 0L)
2693 curChar = input_stream.BeginToken();
2695 catch (java.io.IOException e1) { continue EOFLoop; }
2696 jjmatchedKind = 0x7fffffff;
2698 curPos = jjMoveStringLiteralDfa0_1();
2701 jjmatchedKind = 0x7fffffff;
2703 curPos = jjMoveStringLiteralDfa0_2();
2704 if (jjmatchedPos == 0 && jjmatchedKind > 21)
2710 jjmatchedKind = 0x7fffffff;
2712 curPos = jjMoveStringLiteralDfa0_3();
2715 jjmatchedKind = 0x7fffffff;
2717 curPos = jjMoveStringLiteralDfa0_4();
2718 if (jjmatchedPos == 0 && jjmatchedKind > 26)
2724 jjmatchedKind = 0x7fffffff;
2726 curPos = jjMoveStringLiteralDfa0_5();
2727 if (jjmatchedPos == 0 && jjmatchedKind > 26)
2733 jjmatchedKind = 0x7fffffff;
2735 curPos = jjMoveStringLiteralDfa0_6();
2736 if (jjmatchedPos == 0 && jjmatchedKind > 121)
2738 jjmatchedKind = 121;
2742 jjmatchedKind = 0x7fffffff;
2744 curPos = jjMoveStringLiteralDfa0_7();
2745 if (jjmatchedPos == 0 && jjmatchedKind > 128)
2747 jjmatchedKind = 128;
2751 jjmatchedKind = 0x7fffffff;
2753 curPos = jjMoveStringLiteralDfa0_8();
2754 if (jjmatchedPos == 0 && jjmatchedKind > 118)
2756 jjmatchedKind = 118;
2760 jjmatchedKind = 120;
2763 curPos = jjMoveStringLiteralDfa0_9();
2764 if (jjmatchedPos < 0 || (jjmatchedPos == 0 && jjmatchedKind > 122))
2766 jjmatchedKind = 122;
2771 if (jjmatchedKind != 0x7fffffff)
2773 if (jjmatchedPos + 1 < curPos)
2774 input_stream.backup(curPos - jjmatchedPos - 1);
2775 if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2777 matchedToken = jjFillToken();
2778 matchedToken.specialToken = specialToken;
2779 TokenLexicalActions(matchedToken);
2780 if (jjnewLexState[jjmatchedKind] != -1)
2781 curLexState = jjnewLexState[jjmatchedKind];
2782 CommonTokenAction(matchedToken);
2783 return matchedToken;
2785 else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2787 if ((jjtoSpecial[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
2789 matchedToken = jjFillToken();
2790 if (specialToken == null)
2791 specialToken = matchedToken;
2794 matchedToken.specialToken = specialToken;
2795 specialToken = (specialToken.next = matchedToken);
2797 SkipLexicalActions(matchedToken);
2800 SkipLexicalActions(null);
2801 if (jjnewLexState[jjmatchedKind] != -1)
2802 curLexState = jjnewLexState[jjmatchedKind];
2805 jjimageLen += jjmatchedPos + 1;
2806 if (jjnewLexState[jjmatchedKind] != -1)
2807 curLexState = jjnewLexState[jjmatchedKind];
2809 jjmatchedKind = 0x7fffffff;
2811 curChar = input_stream.readChar();
2814 catch (java.io.IOException e1) { }
2816 int error_line = input_stream.getEndLine();
2817 int error_column = input_stream.getEndColumn();
2818 String error_after = null;
2819 boolean EOFSeen = false;
2820 try { input_stream.readChar(); input_stream.backup(1); }
2821 catch (java.io.IOException e1) {
2823 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2824 if (curChar == '\n' || curChar == '\r') {
2832 input_stream.backup(1);
2833 error_after = curPos <= 1 ? "" : input_stream.GetImage();
2835 throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
2840 static void SkipLexicalActions(Token matchedToken)
2842 switch(jjmatchedKind)
2846 image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2848 image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
2849 input_stream.backup(1);
2855 static void TokenLexicalActions(Token matchedToken)
2857 switch(jjmatchedKind)