All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.jplag.cpp.CPPScannerTokenManager Maven / Gradle / Ivy

There is a newer version: 5.1.0
Show newest version
/* CPPScannerTokenManager.java */
/* Generated by: ParserGeneratorCC: Do not edit this line. CPPScannerTokenManager.java */
package de.jplag.cpp;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStream;
import de.jplag.ParsingException;
import static de.jplag.cpp.CPPTokenType.*;

/** Token Manager. */
@SuppressWarnings ("unused")
public class CPPScannerTokenManager implements CPPScannerConstants {
private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1){
   switch (pos)
   {
      case 0:
         if ((active1 & 0x2000000L) != 0x0L)
         {
            jjmatchedKind = 136;
            return 78;
         }
         if ((active0 & 0x40000000L) != 0x0L || (active1 & 0x5L) != 0x0L)
            return 1;
         if ((active1 & 0x7ffffffdfffff0L) != 0x0L)
         {
            jjmatchedKind = 136;
            return 29;
         }
         return -1;
      case 1:
         if ((active1 & 0x406000L) != 0x0L)
            return 29;
         if ((active1 & 0x7fffffffbf9ff0L) != 0x0L)
         {
            if (jjmatchedPos != 1)
            {
               jjmatchedKind = 136;
               jjmatchedPos = 1;
            }
            return 29;
         }
         return -1;
      case 2:
         if ((active1 & 0x40005080000L) != 0x0L)
            return 29;
         if ((active1 & 0x7ffbfffab7dff0L) != 0x0L)
         {
            jjmatchedKind = 136;
            jjmatchedPos = 2;
            return 29;
         }
         return -1;
      case 3:
         if ((active1 & 0x48820002218150L) != 0x0L)
            return 29;
         if ((active1 & 0x3779fff8965ea0L) != 0x0L)
         {
            jjmatchedKind = 136;
            jjmatchedPos = 3;
            return 29;
         }
         return -1;
      case 4:
         if ((active1 & 0x321042000402a0L) != 0x0L)
            return 29;
         if ((active1 & 0x569bdf8925c00L) != 0x0L)
         {
            jjmatchedKind = 136;
            jjmatchedPos = 4;
            return 29;
         }
         return -1;
      case 5:
         if ((active1 & 0xbd20925000L) != 0x0L)
            return 29;
         if ((active1 & 0x56900d8000c00L) != 0x0L)
         {
            jjmatchedKind = 136;
            jjmatchedPos = 5;
            return 29;
         }
         return -1;
      case 6:
         if ((active1 & 0x480008000800L) != 0x0L)
            return 29;
         if ((active1 & 0x52100d0000400L) != 0x0L)
         {
            jjmatchedKind = 136;
            jjmatchedPos = 6;
            return 29;
         }
         return -1;
      case 7:
         if ((active1 & 0x5210080000400L) != 0x0L)
            return 29;
         if ((active1 & 0x50000000L) != 0x0L)
         {
            jjmatchedKind = 136;
            jjmatchedPos = 7;
            return 29;
         }
         return -1;
      case 8:
         if ((active1 & 0x10000000L) != 0x0L)
            return 29;
         if ((active1 & 0x40000000L) != 0x0L)
         {
            jjmatchedKind = 136;
            jjmatchedPos = 8;
            return 29;
         }
         return -1;
      default :
         return -1;
   }
}
private final int jjStartNfa_0(int pos, long active0, long active1){
   return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), pos + 1);
}
private int jjStopAtPos(int pos, int kind)
{
   jjmatchedKind = kind;
   jjmatchedPos = pos;
   return pos + 1;
}
private int jjMoveStringLiteralDfa0_0(){
   switch(curChar)
   {
      case '!':
         jjmatchedKind = 63;
         return jjMoveStringLiteralDfa1_0(0x1000000000000L, 0x0L);
      case '#':
         return jjStopAtPos(0, 9);
      case '%':
         jjmatchedKind = 59;
         return jjMoveStringLiteralDfa1_0(0x400000000L, 0x0L);
      case '&':
         jjmatchedKind = 46;
         return jjMoveStringLiteralDfa1_0(0x88000000000L, 0x0L);
      case '(':
         return jjStopAtPos(0, 23);
      case ')':
         return jjStopAtPos(0, 24);
      case '*':
         jjmatchedKind = 57;
         return jjMoveStringLiteralDfa1_0(0x100000000L, 0x0L);
      case '+':
         jjmatchedKind = 55;
         return jjMoveStringLiteralDfa1_0(0x1000000800000000L, 0x0L);
      case ',':
         return jjStopAtPos(0, 28);
      case '-':
         jjmatchedKind = 56;
         return jjMoveStringLiteralDfa1_0(0x2000001000000000L, 0xaL);
      case '.':
         jjmatchedKind = 64;
         return jjMoveStringLiteralDfa1_0(0x40000000L, 0x4L);
      case '/':
         jjmatchedKind = 58;
         return jjMoveStringLiteralDfa1_0(0x200000180L, 0x0L);
      case ':':
         jjmatchedKind = 26;
         return jjMoveStringLiteralDfa1_0(0x2000000L, 0x0L);
      case ';':
         return jjStopAtPos(0, 27);
      case '<':
         jjmatchedKind = 49;
         return jjMoveStringLiteralDfa1_0(0x28002000000000L, 0x0L);
      case '=':
         jjmatchedKind = 31;
         return jjMoveStringLiteralDfa1_0(0x800000000000L, 0x0L);
      case '>':
         jjmatchedKind = 50;
         return jjMoveStringLiteralDfa1_0(0x50004000000000L, 0x0L);
      case '?':
         return jjStopAtPos(0, 29);
      case '[':
         return jjStopAtPos(0, 21);
      case '\\':
         return jjStopAtPos(0, 119);
      case ']':
         return jjStopAtPos(0, 22);
      case '^':
         jjmatchedKind = 45;
         return jjMoveStringLiteralDfa1_0(0x10000000000L, 0x0L);
      case 'A':
      case 'a':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x10L);
      case 'B':
      case 'b':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x20L);
      case 'C':
      case 'c':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x40000007c0L);
      case 'D':
      case 'd':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x7800L);
      case 'E':
      case 'e':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x38000L);
      case 'F':
      case 'f':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x100000001c0000L);
      case 'G':
      case 'g':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x200000L);
      case 'I':
      case 'i':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x1c00000L);
      case 'L':
      case 'l':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000L);
      case 'N':
      case 'n':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x40000004000000L);
      case 'O':
      case 'o':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x4000000000000L);
      case 'P':
      case 'p':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x38000000L);
      case 'R':
      case 'r':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x1c0000000L);
      case 'S':
      case 's':
         return jjMoveStringLiteralDfa1_0(0x0L, 0xbe00000000L);
      case 'T':
      case 't':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x280f0000000000L);
      case 'U':
      case 'u':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x300000000000L);
      case 'V':
      case 'v':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x1c00000000000L);
      case 'W':
      case 'w':
         return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000000000L);
      case '{':
         return jjStopAtPos(0, 19);
      case '|':
         jjmatchedKind = 44;
         return jjMoveStringLiteralDfa1_0(0x60000000000L, 0x0L);
      case '}':
         return jjStopAtPos(0, 20);
      case '~':
         return jjStopAtPos(0, 62);
      default :
         return jjMoveNfa_0(28, 0);
   }
}
private int jjMoveStringLiteralDfa1_0(long active0, long active1){
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(0, active0, active1);
      return 1;
   }
   switch(curChar)
   {
      case '&':
         if ((active0 & 0x80000000000L) != 0x0L)
            return jjStopAtPos(1, 43);
         break;
      case '*':
         if ((active0 & 0x100L) != 0x0L)
            return jjStopAtPos(1, 8);
         else if ((active1 & 0x4L) != 0x0L)
            return jjStopAtPos(1, 66);
         break;
      case '+':
         if ((active0 & 0x1000000000000000L) != 0x0L)
            return jjStopAtPos(1, 60);
         break;
      case '-':
         if ((active0 & 0x2000000000000000L) != 0x0L)
            return jjStopAtPos(1, 61);
         break;
      case '.':
         return jjMoveStringLiteralDfa2_0(active0, 0x40000000L, active1, 0x0L);
      case '/':
         if ((active0 & 0x80L) != 0x0L)
            return jjStopAtPos(1, 7);
         break;
      case ':':
         if ((active0 & 0x2000000L) != 0x0L)
            return jjStopAtPos(1, 25);
         break;
      case '<':
         if ((active0 & 0x20000000000000L) != 0x0L)
         {
            jjmatchedKind = 53;
            jjmatchedPos = 1;
         }
         return jjMoveStringLiteralDfa2_0(active0, 0x2000000000L, active1, 0x0L);
      case '=':
         if ((active0 & 0x100000000L) != 0x0L)
            return jjStopAtPos(1, 32);
         else if ((active0 & 0x200000000L) != 0x0L)
            return jjStopAtPos(1, 33);
         else if ((active0 & 0x400000000L) != 0x0L)
            return jjStopAtPos(1, 34);
         else if ((active0 & 0x800000000L) != 0x0L)
            return jjStopAtPos(1, 35);
         else if ((active0 & 0x1000000000L) != 0x0L)
            return jjStopAtPos(1, 36);
         else if ((active0 & 0x8000000000L) != 0x0L)
            return jjStopAtPos(1, 39);
         else if ((active0 & 0x10000000000L) != 0x0L)
            return jjStopAtPos(1, 40);
         else if ((active0 & 0x20000000000L) != 0x0L)
            return jjStopAtPos(1, 41);
         else if ((active0 & 0x800000000000L) != 0x0L)
            return jjStopAtPos(1, 47);
         else if ((active0 & 0x1000000000000L) != 0x0L)
            return jjStopAtPos(1, 48);
         else if ((active0 & 0x8000000000000L) != 0x0L)
            return jjStopAtPos(1, 51);
         else if ((active0 & 0x10000000000000L) != 0x0L)
            return jjStopAtPos(1, 52);
         break;
      case '>':
         if ((active0 & 0x40000000000000L) != 0x0L)
         {
            jjmatchedKind = 54;
            jjmatchedPos = 1;
         }
         else if ((active1 & 0x2L) != 0x0L)
         {
            jjmatchedKind = 65;
            jjmatchedPos = 1;
         }
         return jjMoveStringLiteralDfa2_0(active0, 0x4000000000L, active1, 0x8L);
      case 'A':
      case 'a':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x100000000000c0L);
      case 'E':
      case 'e':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x101c4001800L);
      case 'F':
      case 'f':
         if ((active1 & 0x400000L) != 0x0L)
            return jjStartNfaWithStates_0(1, 86, 29);
         break;
      case 'H':
      case 'h':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x22020200000100L);
      case 'I':
      case 'i':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x400c00000000L);
      case 'L':
      case 'l':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x4000048000L);
      case 'N':
      case 'n':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x300001810000L);
      case 'O':
      case 'o':
         if ((active1 & 0x2000L) != 0x0L)
         {
            jjmatchedKind = 77;
            jjmatchedPos = 1;
         }
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x1800002284600L);
      case 'P':
      case 'p':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x4000000000000L);
      case 'R':
      case 'r':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x8040018100020L);
      case 'T':
      case 't':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x3000000000L);
      case 'U':
      case 'u':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x40000020000010L);
      case 'W':
      case 'w':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x8000000000L);
      case 'X':
      case 'x':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x20000L);
      case 'Y':
      case 'y':
         return jjMoveStringLiteralDfa2_0(active0, 0x0L, active1, 0x80000000000L);
      case '|':
         if ((active0 & 0x40000000000L) != 0x0L)
            return jjStopAtPos(1, 42);
         break;
      default :
         break;
   }
   return jjStartNfa_0(0, active0, active1);
}
private int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1){
   if (((active0 &= old0) | (active1 &= old1)) == 0L)
      return jjStartNfa_0(0, old0, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(1, active0, active1);
      return 2;
   }
   switch(curChar)
   {
      case '*':
         if ((active1 & 0x8L) != 0x0L)
            return jjStopAtPos(2, 67);
         break;
      case '.':
         if ((active0 & 0x40000000L) != 0x0L)
            return jjStopAtPos(2, 30);
         break;
      case '=':
         if ((active0 & 0x2000000000L) != 0x0L)
            return jjStopAtPos(2, 37);
         else if ((active0 & 0x4000000000L) != 0x0L)
            return jjStopAtPos(2, 38);
         break;
      case 'A':
      case 'a':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x5000000100L);
      case 'B':
      case 'b':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x20000000L);
      case 'D':
      case 'd':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x40000000L);
      case 'E':
      case 'e':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x4000000000020L);
      case 'F':
      case 'f':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x800L);
      case 'G':
      case 'g':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x480000000L);
      case 'I':
      case 'i':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x2928008100000L);
      case 'L':
      case 'l':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x51000000801000L);
      case 'M':
      case 'm':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x10000000000L);
      case 'N':
      case 'n':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x2000600L);
      case 'O':
      case 'o':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x210040000L);
      case 'P':
      case 'p':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x80000000000L);
      case 'R':
      case 'r':
         if ((active1 & 0x80000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 83, 29);
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x20402000000000L);
      case 'S':
      case 's':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x200000008040L);
      case 'T':
      case 't':
         if ((active1 & 0x1000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 88, 29);
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x100220090L);
      case 'U':
      case 'u':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x8000000014000L);
      case 'W':
      case 'w':
         if ((active1 & 0x4000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 90, 29);
         break;
      case 'Y':
      case 'y':
         if ((active1 & 0x40000000000L) != 0x0L)
            return jjStartNfaWithStates_0(2, 106, 29);
         break;
      case 'Z':
      case 'z':
         return jjMoveStringLiteralDfa3_0(active0, 0x0L, active1, 0x800000000L);
      default :
         break;
   }
   return jjStartNfa_0(1, active0, active1);
}
private int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1){
   if (((active0 &= old0) | (active1 &= old1)) == 0L)
      return jjStartNfa_0(1, old0, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(2, 0L, active1);
      return 3;
   }
   switch(curChar)
   {
      case 'A':
      case 'a':
         return jjMoveStringLiteralDfa4_0(active1, 0x1000000040820L);
      case 'B':
      case 'b':
         return jjMoveStringLiteralDfa4_0(active1, 0x4000L);
      case 'C':
      case 'c':
         return jjMoveStringLiteralDfa4_0(active1, 0x80L);
      case 'D':
      case 'd':
         if ((active1 & 0x800000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 111, 29);
         break;
      case 'E':
      case 'e':
         if ((active1 & 0x40L) != 0x0L)
            return jjStartNfaWithStates_0(3, 70, 29);
         else if ((active1 & 0x8000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 79, 29);
         else if ((active1 & 0x8000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 115, 29);
         return jjMoveStringLiteralDfa4_0(active1, 0x80840121000L);
      case 'G':
      case 'g':
         if ((active1 & 0x2000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 89, 29);
         break;
      case 'I':
      case 'i':
         return jjMoveStringLiteralDfa4_0(active1, 0x200080800000L);
      case 'L':
      case 'l':
         if ((active1 & 0x40000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 118, 29);
         return jjMoveStringLiteralDfa4_0(active1, 0x2000020000000L);
      case 'M':
      case 'm':
         if ((active1 & 0x10000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 80, 29);
         break;
      case 'N':
      case 'n':
         return jjMoveStringLiteralDfa4_0(active1, 0x400000000L);
      case 'O':
      case 'o':
         if ((active1 & 0x10L) != 0x0L)
            return jjStartNfaWithStates_0(3, 68, 29);
         else if ((active1 & 0x200000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 85, 29);
         return jjMoveStringLiteralDfa4_0(active1, 0x20100000000000L);
      case 'P':
      case 'p':
         return jjMoveStringLiteralDfa4_0(active1, 0x10000000000L);
      case 'R':
      case 'r':
         if ((active1 & 0x100L) != 0x0L)
            return jjStartNfaWithStates_0(3, 72, 29);
         return jjMoveStringLiteralDfa4_0(active1, 0x4000200000000L);
      case 'S':
      case 's':
         if ((active1 & 0x20000000000L) != 0x0L)
            return jjStartNfaWithStates_0(3, 105, 29);
         return jjMoveStringLiteralDfa4_0(active1, 0x10004000000200L);
      case 'T':
      case 't':
         return jjMoveStringLiteralDfa4_0(active1, 0x409010000400L);
      case 'U':
      case 'u':
         return jjMoveStringLiteralDfa4_0(active1, 0x2100000000L);
      case 'V':
      case 'v':
         return jjMoveStringLiteralDfa4_0(active1, 0x8000000L);
      default :
         break;
   }
   return jjStartNfa_0(2, 0L, active1);
}
private int jjMoveStringLiteralDfa4_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(2, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(3, 0L, active1);
      return 4;
   }
   switch(curChar)
   {
      case 'A':
      case 'a':
         return jjMoveStringLiteralDfa5_0(active1, 0x4000008000000L);
      case 'C':
      case 'c':
         return jjMoveStringLiteralDfa5_0(active1, 0xa040000000L);
      case 'D':
      case 'd':
         return jjMoveStringLiteralDfa5_0(active1, 0x80000000000L);
      case 'E':
      case 'e':
         if ((active1 & 0x2000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 113, 29);
         else if ((active1 & 0x10000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 116, 29);
         return jjMoveStringLiteralDfa5_0(active1, 0x410000000L);
      case 'G':
      case 'g':
         return jjMoveStringLiteralDfa5_0(active1, 0x200000000000L);
      case 'H':
      case 'h':
         if ((active1 & 0x80L) != 0x0L)
            return jjStartNfaWithStates_0(4, 71, 29);
         break;
      case 'I':
      case 'i':
         return jjMoveStringLiteralDfa5_0(active1, 0x1020000400L);
      case 'K':
      case 'k':
         if ((active1 & 0x20L) != 0x0L)
            return jjStartNfaWithStates_0(4, 69, 29);
         break;
      case 'L':
      case 'l':
         return jjMoveStringLiteralDfa5_0(active1, 0x10000004000L);
      case 'N':
      case 'n':
         if ((active1 & 0x100000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 108, 29);
         return jjMoveStringLiteralDfa5_0(active1, 0x900000L);
      case 'O':
      case 'o':
         return jjMoveStringLiteralDfa5_0(active1, 0x800000000L);
      case 'R':
      case 'r':
         return jjMoveStringLiteralDfa5_0(active1, 0x100020000L);
      case 'S':
      case 's':
         if ((active1 & 0x4000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 102, 29);
         return jjMoveStringLiteralDfa5_0(active1, 0x80000000L);
      case 'T':
      case 't':
         if ((active1 & 0x200L) != 0x0L)
            return jjStartNfaWithStates_0(4, 73, 29);
         else if ((active1 & 0x40000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 82, 29);
         else if ((active1 & 0x200000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 97, 29);
         return jjMoveStringLiteralDfa5_0(active1, 0x1000000001000L);
      case 'U':
      case 'u':
         return jjMoveStringLiteralDfa5_0(active1, 0x400000000800L);
      case 'W':
      case 'w':
         if ((active1 & 0x20000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(4, 117, 29);
         break;
      default :
         break;
   }
   return jjStartNfa_0(3, 0L, active1);
}
private int jjMoveStringLiteralDfa5_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(3, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(4, 0L, active1);
      return 5;
   }
   switch(curChar)
   {
      case 'A':
      case 'a':
         return jjMoveStringLiteralDfa6_0(active1, 0x410000000000L);
      case 'C':
      case 'c':
         if ((active1 & 0x20000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 93, 29);
         else if ((active1 & 0x1000000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 100, 29);
         return jjMoveStringLiteralDfa6_0(active1, 0x10000000L);
      case 'D':
      case 'd':
         if ((active1 & 0x100000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 84, 29);
         else if ((active1 & 0x400000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 98, 29);
         break;
      case 'E':
      case 'e':
         if ((active1 & 0x1000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 76, 29);
         else if ((active1 & 0x4000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 78, 29);
         else if ((active1 & 0x800000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 87, 29);
         return jjMoveStringLiteralDfa6_0(active1, 0x80000000000L);
      case 'F':
      case 'f':
         if ((active1 & 0x800000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 99, 29);
         break;
      case 'H':
      case 'h':
         if ((active1 & 0x8000000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 103, 29);
         break;
      case 'I':
      case 'i':
         return jjMoveStringLiteralDfa6_0(active1, 0x1000000000000L);
      case 'L':
      case 'l':
         return jjMoveStringLiteralDfa6_0(active1, 0x40000800L);
      case 'N':
      case 'n':
         if ((active1 & 0x20000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 81, 29);
         else if ((active1 & 0x100000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 96, 29);
         return jjMoveStringLiteralDfa6_0(active1, 0x200000000400L);
      case 'T':
      case 't':
         if ((active1 & 0x2000000000L) != 0x0L)
            return jjStartNfaWithStates_0(5, 101, 29);
         return jjMoveStringLiteralDfa6_0(active1, 0x4000088000000L);
      default :
         break;
   }
   return jjStartNfa_0(4, 0L, active1);
}
private int jjMoveStringLiteralDfa6_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(4, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(5, 0L, active1);
      return 6;
   }
   switch(curChar)
   {
      case 'A':
      case 'a':
         return jjMoveStringLiteralDfa7_0(active1, 0x40000000L);
      case 'E':
      case 'e':
         if ((active1 & 0x8000000L) != 0x0L)
            return jjStartNfaWithStates_0(6, 91, 29);
         return jjMoveStringLiteralDfa7_0(active1, 0x200080000000L);
      case 'F':
      case 'f':
         if ((active1 & 0x80000000000L) != 0x0L)
            return jjStartNfaWithStates_0(6, 107, 29);
         break;
      case 'L':
      case 'l':
         if ((active1 & 0x400000000000L) != 0x0L)
            return jjStartNfaWithStates_0(6, 110, 29);
         return jjMoveStringLiteralDfa7_0(active1, 0x1000000000000L);
      case 'O':
      case 'o':
         return jjMoveStringLiteralDfa7_0(active1, 0x4000000000000L);
      case 'T':
      case 't':
         if ((active1 & 0x800L) != 0x0L)
            return jjStartNfaWithStates_0(6, 75, 29);
         return jjMoveStringLiteralDfa7_0(active1, 0x10010000000L);
      case 'U':
      case 'u':
         return jjMoveStringLiteralDfa7_0(active1, 0x400L);
      default :
         break;
   }
   return jjStartNfa_0(5, 0L, active1);
}
private int jjMoveStringLiteralDfa7_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(5, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(6, 0L, active1);
      return 7;
   }
   switch(curChar)
   {
      case 'D':
      case 'd':
         if ((active1 & 0x200000000000L) != 0x0L)
            return jjStartNfaWithStates_0(7, 109, 29);
         break;
      case 'E':
      case 'e':
         if ((active1 & 0x400L) != 0x0L)
            return jjStartNfaWithStates_0(7, 74, 29);
         else if ((active1 & 0x10000000000L) != 0x0L)
            return jjStartNfaWithStates_0(7, 104, 29);
         else if ((active1 & 0x1000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(7, 112, 29);
         return jjMoveStringLiteralDfa8_0(active1, 0x10000000L);
      case 'R':
      case 'r':
         if ((active1 & 0x80000000L) != 0x0L)
            return jjStartNfaWithStates_0(7, 95, 29);
         else if ((active1 & 0x4000000000000L) != 0x0L)
            return jjStartNfaWithStates_0(7, 114, 29);
         return jjMoveStringLiteralDfa8_0(active1, 0x40000000L);
      default :
         break;
   }
   return jjStartNfa_0(6, 0L, active1);
}
private int jjMoveStringLiteralDfa8_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(6, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(7, 0L, active1);
      return 8;
   }
   switch(curChar)
   {
      case 'D':
      case 'd':
         if ((active1 & 0x10000000L) != 0x0L)
            return jjStartNfaWithStates_0(8, 92, 29);
         break;
      case 'E':
      case 'e':
         return jjMoveStringLiteralDfa9_0(active1, 0x40000000L);
      default :
         break;
   }
   return jjStartNfa_0(7, 0L, active1);
}
private int jjMoveStringLiteralDfa9_0(long old1, long active1){
   if (((active1 &= old1)) == 0L)
      return jjStartNfa_0(7, 0L, old1);
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      jjStopStringLiteralDfa_0(8, 0L, active1);
      return 9;
   }
   switch(curChar)
   {
      case 'D':
      case 'd':
         if ((active1 & 0x40000000L) != 0x0L)
            return jjStartNfaWithStates_0(9, 94, 29);
         break;
      default :
         break;
   }
   return jjStartNfa_0(8, 0L, active1);
}
private int jjStartNfaWithStates_0(int pos, int kind, int state)
{
   jjmatchedKind = kind;
   jjmatchedPos = pos;
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) { return pos + 1; }
   return jjMoveNfa_0(state, pos + 1);
}
static final long[] jjbitVec0 = {
   0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
};
private int jjMoveNfa_0(int startState, int curPos)
{
   int startsAt = 0;
   jjnewStateCnt = 78;
   int i = 1;
   jjstateSet[0] = startState;
   int kind = 0x7fffffff;
   for (;;)
   {
      if (++jjround == 0x7fffffff)
         ReInitRounds();
      if (curChar < 64)
      {
         long l = 1L << curChar;
         do
         {
            switch(jjstateSet[--i])
            {
               case 28:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddStates(0, 5); }
                  else if (curChar == 34)
                     { jjCheckNAddStates(6, 8); }
                  else if (curChar == 39)
                     { jjAddStates(9, 10); }
                  else if (curChar == 46)
                     { jjCheckNAdd(1); }
                  if ((0x3fe000000000000L & l) != 0x0L)
                  {
                     if (kind > 124)
                        kind = 124;
                     { jjCheckNAddStates(11, 18); }
                  }
                  else if (curChar == 48)
                     { jjAddStates(19, 22); }
                  if (curChar == 48)
                  {
                     if (kind > 120)
                        kind = 120;
                     { jjCheckNAddStates(23, 30); }
                  }
                  break;
               case 78:
                  if ((0x3ff000000000000L & l) != 0x0L)
                  {
                     if (kind > 136)
                        kind = 136;
                     { jjCheckNAdd(29); }
                  }
                  else if (curChar == 34)
                     { jjCheckNAddStates(6, 8); }
                  else if (curChar == 39)
                     { jjAddStates(9, 10); }
                  break;
               case 0:
                  if (curChar == 46)
                     { jjCheckNAdd(1); }
                  break;
               case 1:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 132)
                     kind = 132;
                  { jjCheckNAddStates(31, 33); }
                  break;
               case 3:
                  if ((0x280000000000L & l) != 0x0L)
                     { jjCheckNAdd(4); }
                  break;
               case 4:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 132)
                     kind = 132;
                  { jjCheckNAddTwoStates(4, 5); }
                  break;
               case 6:
                  if (curChar == 39)
                     { jjAddStates(9, 10); }
                  break;
               case 7:
                  if ((0xffffff7fffffdbffL & l) != 0x0L)
                     { jjCheckNAdd(8); }
                  break;
               case 8:
                  if (curChar == 39 && kind > 134)
                     kind = 134;
                  break;
               case 10:
                  if ((0x8000008400000000L & l) != 0x0L)
                     { jjCheckNAdd(8); }
                  break;
               case 11:
                  if (curChar == 48)
                     { jjCheckNAddTwoStates(12, 8); }
                  break;
               case 12:
                  if ((0xff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(12, 8); }
                  break;
               case 13:
                  if ((0x3fe000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(14, 8); }
                  break;
               case 14:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(14, 8); }
                  break;
               case 16:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(16, 8); }
                  break;
               case 17:
                  if (curChar == 34)
                     { jjCheckNAddStates(6, 8); }
                  break;
               case 18:
                  if ((0xfffffffbffffffffL & l) != 0x0L)
                     { jjCheckNAddStates(6, 8); }
                  break;
               case 20:
                  if ((0x8000008400000400L & l) != 0x0L)
                     { jjCheckNAddStates(6, 8); }
                  break;
               case 21:
                  if (curChar == 34 && kind > 135)
                     kind = 135;
                  break;
               case 22:
                  if (curChar == 48)
                     { jjCheckNAddStates(34, 37); }
                  break;
               case 23:
                  if ((0xff000000000000L & l) != 0x0L)
                     { jjCheckNAddStates(34, 37); }
                  break;
               case 24:
                  if ((0x3fe000000000000L & l) != 0x0L)
                     { jjCheckNAddStates(38, 41); }
                  break;
               case 25:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddStates(38, 41); }
                  break;
               case 27:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddStates(42, 45); }
                  break;
               case 29:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 136)
                     kind = 136;
                  { jjCheckNAdd(29); }
                  break;
               case 30:
                  if (curChar != 48)
                     break;
                  if (kind > 120)
                     kind = 120;
                  { jjCheckNAddStates(23, 30); }
                  break;
               case 31:
                  if ((0xff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 120)
                     kind = 120;
                  { jjCheckNAdd(31); }
                  break;
               case 32:
                  if ((0xff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(32, 33); }
                  break;
               case 34:
                  if ((0xff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(34, 35); }
                  break;
               case 36:
                  if ((0xff000000000000L & l) != 0x0L)
                     { jjCheckNAddStates(46, 48); }
                  break;
               case 41:
                  if ((0x3fe000000000000L & l) == 0x0L)
                     break;
                  if (kind > 124)
                     kind = 124;
                  { jjCheckNAddStates(11, 18); }
                  break;
               case 42:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 124)
                     kind = 124;
                  { jjCheckNAdd(42); }
                  break;
               case 43:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(43, 44); }
                  break;
               case 45:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(45, 46); }
                  break;
               case 47:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddStates(49, 51); }
                  break;
               case 52:
                  if (curChar == 48)
                     { jjAddStates(19, 22); }
                  break;
               case 54:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 128)
                     kind = 128;
                  jjstateSet[jjnewStateCnt++] = 54;
                  break;
               case 56:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 129)
                     kind = 129;
                  { jjAddStates(52, 53); }
                  break;
               case 59:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjAddStates(54, 55); }
                  break;
               case 62:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjAddStates(56, 58); }
                  break;
               case 67:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddStates(0, 5); }
                  break;
               case 68:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(68, 69); }
                  break;
               case 69:
                  if (curChar != 46)
                     break;
                  if (kind > 132)
                     kind = 132;
                  { jjCheckNAddStates(59, 61); }
                  break;
               case 70:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 132)
                     kind = 132;
                  { jjCheckNAddStates(59, 61); }
                  break;
               case 71:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(71, 0); }
                  break;
               case 72:
                  if ((0x3ff000000000000L & l) != 0x0L)
                     { jjCheckNAddTwoStates(72, 73); }
                  break;
               case 74:
                  if ((0x280000000000L & l) != 0x0L)
                     { jjCheckNAdd(75); }
                  break;
               case 75:
                  if ((0x3ff000000000000L & l) == 0x0L)
                     break;
                  if (kind > 133)
                     kind = 133;
                  { jjCheckNAddTwoStates(75, 76); }
                  break;
               default : break;
            }
         } while(i != startsAt);
      }
      else if (curChar < 128)
      {
         long l = 1L << (curChar & 077);
         do
         {
            switch(jjstateSet[--i])
            {
               case 28:
                  if ((0x7fffffe87fffffeL & l) != 0x0L)
                  {
                     if (kind > 136)
                        kind = 136;
                     { jjCheckNAdd(29); }
                  }
                  if ((0x100000001000L & l) != 0x0L)
                     { jjAddStates(62, 63); }
                  break;
               case 78:
               case 29:
                  if ((0x7fffffe87fffffeL & l) == 0x0L)
                     break;
                  if (kind > 136)
                     kind = 136;
                  { jjCheckNAdd(29); }
                  break;
               case 2:
                  if ((0x2000000020L & l) != 0x0L)
                     { jjAddStates(64, 65); }
                  break;
               case 5:
                  if ((0x104000001040L & l) != 0x0L && kind > 132)
                     kind = 132;
                  break;
               case 7:
                  if ((0xffffffffefffffffL & l) != 0x0L)
                     { jjCheckNAdd(8); }
                  break;
               case 9:
                  if (curChar == 92)
                     { jjAddStates(66, 69); }
                  break;
               case 10:
                  if ((0x54404610544046L & l) != 0x0L)
                     { jjCheckNAdd(8); }
                  break;
               case 15:
                  if ((0x120000001200000L & l) != 0x0L)
                     { jjCheckNAdd(16); }
                  break;
               case 16:
                  if ((0x7e0000007eL & l) != 0x0L)
                     { jjCheckNAddTwoStates(16, 8); }
                  break;
               case 18:
                  if ((0xffffffffefffffffL & l) != 0x0L)
                     { jjCheckNAddStates(6, 8); }
                  break;
               case 19:
                  if (curChar == 92)
                     { jjAddStates(70, 73); }
                  break;
               case 20:
                  if ((0x54404610544046L & l) != 0x0L)
                     { jjCheckNAddStates(6, 8); }
                  break;
               case 26:
                  if ((0x120000001200000L & l) != 0x0L)
                     { jjCheckNAdd(27); }
                  break;
               case 27:
                  if ((0x7e0000007eL & l) != 0x0L)
                     { jjCheckNAddStates(42, 45); }
                  break;
               case 33:
                  if ((0x100000001000L & l) != 0x0L && kind > 121)
                     kind = 121;
                  break;
               case 35:
                  if ((0x20000000200000L & l) != 0x0L && kind > 122)
                     kind = 122;
                  break;
               case 37:
                  if ((0x100000001000L & l) != 0x0L && kind > 123)
                     kind = 123;
                  break;
               case 38:
                  if ((0x20000000200000L & l) != 0x0L)
                     jjstateSet[jjnewStateCnt++] = 37;
                  break;
               case 39:
                  if ((0x20000000200000L & l) != 0x0L && kind > 123)
                     kind = 123;
                  break;
               case 40:
                  if ((0x100000001000L & l) != 0x0L)
                     jjstateSet[jjnewStateCnt++] = 39;
                  break;
               case 44:
                  if ((0x20100000201000L & l) != 0x0L && kind > 125)
                     kind = 125;
                  break;
               case 46:
                  if ((0x20000000200000L & l) != 0x0L && kind > 126)
                     kind = 126;
                  break;
               case 48:
                  if ((0x100000001000L & l) != 0x0L && kind > 127)
                     kind = 127;
                  break;
               case 49:
                  if ((0x20000000200000L & l) != 0x0L)
                     jjstateSet[jjnewStateCnt++] = 48;
                  break;
               case 50:
                  if ((0x20000000200000L & l) != 0x0L && kind > 127)
                     kind = 127;
                  break;
               case 51:
                  if ((0x100000001000L & l) != 0x0L)
                     jjstateSet[jjnewStateCnt++] = 50;
                  break;
               case 53:
                  if ((0x100000001000000L & l) != 0x0L)
                     { jjCheckNAdd(54); }
                  break;
               case 54:
                  if ((0x7e0000007eL & l) == 0x0L)
                     break;
                  if (kind > 128)
                     kind = 128;
                  { jjCheckNAdd(54); }
                  break;
               case 55:
                  if ((0x100000001000000L & l) != 0x0L)
                     { jjCheckNAdd(56); }
                  break;
               case 56:
                  if ((0x7e0000007eL & l) == 0x0L)
                     break;
                  if (kind > 129)
                     kind = 129;
                  { jjCheckNAddTwoStates(56, 57); }
                  break;
               case 57:
                  if ((0x20100000201000L & l) != 0x0L && kind > 129)
                     kind = 129;
                  break;
               case 58:
                  if ((0x100000001000000L & l) != 0x0L)
                     { jjCheckNAdd(59); }
                  break;
               case 59:
                  if ((0x7e0000007eL & l) != 0x0L)
                     { jjCheckNAddTwoStates(59, 60); }
                  break;
               case 60:
                  if ((0x20000000200000L & l) != 0x0L && kind > 130)
                     kind = 130;
                  break;
               case 61:
                  if ((0x100000001000000L & l) != 0x0L)
                     { jjCheckNAdd(62); }
                  break;
               case 62:
                  if ((0x7e0000007eL & l) != 0x0L)
                     { jjCheckNAddStates(56, 58); }
                  break;
               case 63:
                  if ((0x100000001000L & l) != 0x0L && kind > 131)
                     kind = 131;
                  break;
               case 64:
                  if ((0x20000000200000L & l) != 0x0L)
                     jjstateSet[jjnewStateCnt++] = 63;
                  break;
               case 65:
                  if ((0x20000000200000L & l) != 0x0L && kind > 131)
                     kind = 131;
                  break;
               case 66:
                  if ((0x100000001000L & l) != 0x0L)
                     jjstateSet[jjnewStateCnt++] = 65;
                  break;
               case 73:
                  if ((0x2000000020L & l) != 0x0L)
                     { jjAddStates(74, 75); }
                  break;
               case 76:
                  if ((0x104000001040L & l) != 0x0L && kind > 133)
                     kind = 133;
                  break;
               case 77:
                  if ((0x100000001000L & l) != 0x0L)
                     { jjAddStates(62, 63); }
                  break;
               default : break;
            }
         } while(i != startsAt);
      }
      else
      {
         int i2 = (curChar & 0xff) >> 6;
         long l2 = 1L << (curChar & 077);
         do
         {
            switch(jjstateSet[--i])
            {
               case 7:
                  if ((jjbitVec0[i2] & l2) != 0L)
                     jjstateSet[jjnewStateCnt++] = 8;
                  break;
               case 18:
                  if ((jjbitVec0[i2] & l2) != 0L)
                     { jjAddStates(6, 8); }
                  break;
               default : break;
            }
         } while(i != startsAt);
      }
      if (kind != 0x7fffffff)
      {
         jjmatchedKind = kind;
         jjmatchedPos = curPos;
         kind = 0x7fffffff;
      }
      ++curPos;
      i = jjnewStateCnt;
      jjnewStateCnt = startsAt;
      startsAt = 78 - jjnewStateCnt;
      if (i == startsAt)
         return curPos;
      try { curChar = input_stream.readChar(); }
      catch(final java.io.IOException e) { return curPos; }
   }
}
private int jjMoveStringLiteralDfa0_1(){
   switch(curChar)
   {
      case 10:
         return jjStopAtPos(0, 10);
      default :
         return 1;
   }
}
private int jjMoveStringLiteralDfa0_2(){
   switch(curChar)
   {
      case '*':
         return jjMoveStringLiteralDfa1_2(0x1000L);
      default :
         return 1;
   }
}
private int jjMoveStringLiteralDfa1_2(long active0){
   try { curChar = input_stream.readChar(); }
   catch(java.io.IOException e) {
      return 1;
   }
   switch(curChar)
   {
      case '/':
         if ((active0 & 0x1000L) != 0x0L)
            return jjStopAtPos(1, 12);
         break;
      default :
         return 2;
   }
   return 2;
}
private int jjMoveStringLiteralDfa0_3(){
   switch(curChar)
   {
      case 10:
         return jjStopAtPos(0, 16);
      case '\\':
         return jjStopAtPos(0, 14);
      default :
         return 1;
   }
}
private int jjMoveStringLiteralDfa0_4(){
   switch(curChar)
   {
      case 10:
         return jjStopAtPos(0, 17);
      case '\\':
         return jjStopAtPos(0, 15);
      default :
         return 1;
   }
}

/** Token literal values. */
public static final String[] jjstrLiteralImages = {
"", null, null, null, null, null, null, null, null, null, null, null, null, 
null, null, null, null, null, null, "\173", "\175", "\133", "\135", "\50", "\51", 
"\72\72", "\72", "\73", "\54", "\77", "\56\56\56", "\75", "\52\75", "\57\75", "\45\75", 
"\53\75", "\55\75", "\74\74\75", "\76\76\75", "\46\75", "\136\75", "\174\75", "\174\174", 
"\46\46", "\174", "\136", "\46", "\75\75", "\41\75", "\74", "\76", "\74\75", "\76\75", 
"\74\74", "\76\76", "\53", "\55", "\52", "\57", "\45", "\53\53", "\55\55", "\176", "\41", 
"\56", "\55\76", "\56\52", "\55\76\52", null, null, null, null, null, null, null, 
null, null, null, null, null, null, null, null, null, null, null, null, null, null, 
null, null, null, null, null, null, null, null, null, null, null, null, null, null, 
null, null, null, null, null, null, null, null, null, null, null, null, null, null, 
null, null, "\134", null, null, null, null, null, null, null, null, null, null, null, 
null, null, null, null, null, null, };
protected Token jjFillToken()
{
   final Token t;
   final String curTokenImage;
   final int beginLine;
   final int endLine;
   final int beginColumn;
   final int endColumn;
   String im = jjstrLiteralImages[jjmatchedKind];
   curTokenImage = im == null ? input_stream.getImage() : im;
   beginLine = input_stream.getBeginLine();
   beginColumn = input_stream.getBeginColumn();
   endLine = input_stream.getEndLine();
   endColumn = input_stream.getEndColumn();
   t = Token.newToken(jjmatchedKind);
   t.kind = jjmatchedKind;
   t.image = curTokenImage;

   t.beginLine = beginLine;
   t.endLine = endLine;
   t.beginColumn = beginColumn;
   t.endColumn = endColumn;

   return t;
}
static final int[] jjnextStates = {
   68, 69, 71, 0, 72, 73, 18, 19, 21, 7, 9, 42, 43, 44, 45, 46, 
   47, 49, 51, 53, 55, 58, 61, 31, 32, 33, 34, 35, 36, 38, 40, 1, 
   2, 5, 18, 19, 23, 21, 18, 19, 25, 21, 18, 19, 27, 21, 36, 38, 
   40, 47, 49, 51, 56, 57, 59, 60, 62, 64, 66, 70, 2, 5, 6, 17, 
   3, 4, 10, 11, 13, 15, 20, 22, 24, 26, 74, 75, 
};

int curLexState = 0;
int defaultLexState = 0;
int jjnewStateCnt;
int jjround;
int jjmatchedPos;
int jjmatchedKind;

/** Get the next Token. */
public Token getNextToken() 
{
  Token matchedToken;
  int curPos = 0;

  EOFLoop:
  for (;;)
  {
   try
   {
      curChar = input_stream.beginToken();
   }
   catch(final Exception e)
   {
      jjmatchedKind = 0;
      jjmatchedPos = -1;
      matchedToken = jjFillToken();
      return matchedToken;
   }

   for (;;)
   {
     switch(curLexState)
     {
       case 0:
         try {
           input_stream.backup(0);
            while (curChar <= 32 && (0x104003600L & (1L << curChar)) != 0x0L)
               curChar = input_stream.beginToken();
         }
         catch (final java.io.IOException e1) {
           continue EOFLoop;
         }
         jjmatchedKind = 0x7fffffff;
         jjmatchedPos = 0;
         curPos = jjMoveStringLiteralDfa0_0();
         break;
       case 1:
         jjmatchedKind = 0x7fffffff;
         jjmatchedPos = 0;
         curPos = jjMoveStringLiteralDfa0_1();
         if (jjmatchedPos == 0 && jjmatchedKind > 11)
         {
            jjmatchedKind = 11;
         }
         break;
       case 2:
         jjmatchedKind = 0x7fffffff;
         jjmatchedPos = 0;
         curPos = jjMoveStringLiteralDfa0_2();
         if (jjmatchedPos == 0 && jjmatchedKind > 13)
         {
            jjmatchedKind = 13;
         }
         break;
       case 3:
         jjmatchedKind = 0x7fffffff;
         jjmatchedPos = 0;
         curPos = jjMoveStringLiteralDfa0_3();
         if (jjmatchedPos == 0 && jjmatchedKind > 18)
         {
            jjmatchedKind = 18;
         }
         break;
       case 4:
         jjmatchedKind = 0x7fffffff;
         jjmatchedPos = 0;
         curPos = jjMoveStringLiteralDfa0_4();
         if (jjmatchedPos == 0 && jjmatchedKind > 18)
         {
            jjmatchedKind = 18;
         }
         break;
     }
     if (jjmatchedKind != 0x7fffffff)
     {
        if (jjmatchedPos + 1 < curPos)
           input_stream.backup(curPos - jjmatchedPos - 1);
        if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
        {
           matchedToken = jjFillToken();
       if (jjnewLexState[jjmatchedKind] != -1)
         curLexState = jjnewLexState[jjmatchedKind];
           return matchedToken;
        }
        else if ((jjtoSkip[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
        {
         if (jjnewLexState[jjmatchedKind] != -1)
           curLexState = jjnewLexState[jjmatchedKind];
           continue EOFLoop;
        }
      if (jjnewLexState[jjmatchedKind] != -1)
        curLexState = jjnewLexState[jjmatchedKind];
        curPos = 0;
        jjmatchedKind = 0x7fffffff;
        try {
           curChar = input_stream.readChar();
           continue;
        }
        catch (final java.io.IOException e1) { }
     }
     int error_line = input_stream.getEndLine();
     int error_column = input_stream.getEndColumn();
     String error_after = null;
     boolean EOFSeen = false;
     try {
       input_stream.readChar();
       input_stream.backup(1);
     }
     catch (final java.io.IOException e1) {
        EOFSeen = true;
        error_after = curPos <= 1 ? "" : input_stream.getImage();
        if (curChar == '\n' || curChar == '\r') {
           error_line++;
           error_column = 0;
        }
        else
           error_column++;
     }
     if (!EOFSeen) {
        input_stream.backup(1);
        error_after = curPos <= 1 ? "" : input_stream.getImage();
     }
     throw new TokenMgrException(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrException.LEXICAL_ERROR);
   }
  }
}

void SkipLexicalActions(Token matchedToken)
{
   switch(jjmatchedKind)
   {
      default :
         break;
   }
}
void MoreLexicalActions()
{
   jjimageLen += (lengthOfMatch = jjmatchedPos + 1);
   switch(jjmatchedKind)
   {
      default :
         break;
   }
}
void TokenLexicalActions(Token matchedToken)
{
   switch(jjmatchedKind)
   {
      default :
         break;
   }
}
private void jjCheckNAdd(int state)
{
   if (jjrounds[state] != jjround)
   {
      jjstateSet[jjnewStateCnt++] = state;
      jjrounds[state] = jjround;
   }
}
private void jjAddStates(int start, int end)
{
   do {
      jjstateSet[jjnewStateCnt++] = jjnextStates[start];
   } while (start++ != end);
}
private void jjCheckNAddTwoStates(int state1, int state2)
{
   jjCheckNAdd(state1);
   jjCheckNAdd(state2);
}

private void jjCheckNAddStates(int start, int end)
{
   do {
      jjCheckNAdd(jjnextStates[start]);
   } while (start++ != end);
}

    /** Constructor. */
    public CPPScannerTokenManager(SimpleCharStream stream){
    input_stream = stream;
  }

  /** Constructor. */
  public CPPScannerTokenManager (SimpleCharStream stream, int lexState){
    ReInit(stream);
    SwitchTo(lexState);
  }

  /** Reinitialise parser. */
  
  public void ReInit(SimpleCharStream stream)
  {


    jjmatchedPos =
    jjnewStateCnt =
    0;
    curLexState = defaultLexState;
    input_stream = stream;
    ReInitRounds();
  }

  private void ReInitRounds()
  {
    int i;
    jjround = 0x80000001;
    for (i = 78; i-- > 0;)
      jjrounds[i] = 0x80000000;
  }

  /** Reinitialise parser. */
  public void ReInit(SimpleCharStream stream, int lexState)
  {
    ReInit(stream);
    SwitchTo(lexState);
  }

  /** Switch to specified lex state. */
  public void SwitchTo(int lexState)
  {
    if (lexState >= 5 || lexState < 0)
      throw new TokenMgrException("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrException.INVALID_LEXICAL_STATE);
    else
      curLexState = lexState;
  }


/** Lexer state names. */
public static final String[] lexStateNames = {
   "DEFAULT",
   "IN_LINE_COMMENT",
   "IN_COMMENT",
   "PREPROCESSOR_OUTPUT",
   "PREPROCESSOR_OUTPUT2",
};

/** Lex State array. */
public static final int[] jjnewLexState = {
   -1, -1, -1, -1, -1, -1, -1, 1, 2, 3, 0, -1, 0, -1, 4, 3, 0, 3, -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, -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, -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, -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, -1, -1, -1, -1, -1, -1, -1, 
   -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, 
};
static final long[] jjtoToken = {
   0xfffffffffff80001L, 0xffffffffffffffffL, 0x1ffL, 
};
static final long[] jjtoSkip = {
   0x357feL, 0x0L, 0x0L, 
};
static final long[] jjtoSpecial = {
   0x0L, 0x0L, 0x0L, 
};
static final long[] jjtoMore = {
   0x4a800L, 0x0L, 0x0L, 
};
    protected SimpleCharStream  input_stream;

    private final int[] jjrounds = new int[78];
    private final int[] jjstateSet = new int[2 * 78];
    private final StringBuilder jjimage = new StringBuilder();
    private StringBuilder image = jjimage;
    private int jjimageLen;
    private int lengthOfMatch;
    protected int curChar;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy