⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 rqlparsertokenmanager.java

📁 这是外国一个开源推理机
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(3, active0);      return 4;   }   switch(curChar)   {      case 67:      case 99:         return jjMoveStringLiteralDfa5_0(active0, 0x2000000L);      case 69:      case 101:         if ((active0 & 0x8000000L) != 0L)            return jjStartNfaWithStates_0(4, 27, 30);         else if ((active0 & 0x4000000000L) != 0L)            return jjStartNfaWithStates_0(4, 38, 30);         else if ((active0 & 0x10000000000L) != 0L)            return jjStartNfaWithStates_0(4, 40, 30);         return jjMoveStringLiteralDfa5_0(active0, 0x80000000L);      case 71:      case 103:         if ((active0 & 0x10000000L) != 0L)            return jjStartNfaWithStates_0(4, 28, 30);         break;      case 73:      case 105:         return jjMoveStringLiteralDfa5_0(active0, 0x2000000000L);      case 76:      case 108:         return jjMoveStringLiteralDfa5_0(active0, 0x400200000000L);      case 78:      case 110:         if ((active0 & 0x1000000000000L) != 0L)            return jjStartNfaWithStates_0(4, 48, 30);         break;      case 79:      case 111:         return jjMoveStringLiteralDfa5_0(active0, 0x100000000L);      case 82:      case 114:         return jjMoveStringLiteralDfa5_0(active0, 0x2001c00000000L);      case 83:      case 115:         if ((active0 & 0x40000000L) != 0L)            return jjStartNfaWithStates_0(4, 30, 30);         else if ((active0 & 0x4000000000000L) != 0L)            return jjStartNfaWithStates_0(4, 50, 30);         return jjMoveStringLiteralDfa5_0(active0, 0x20000000L);      case 84:      case 116:         return jjMoveStringLiteralDfa5_0(active0, 0x200000000000L);      default :         break;   }   return jjStartNfa_0(3, active0);}private final int jjMoveStringLiteralDfa5_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(3, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(4, active0);      return 5;   }   switch(curChar)   {      case 65:      case 97:         return jjMoveStringLiteralDfa6_0(active0, 0x200000000L);      case 67:      case 99:         return jjMoveStringLiteralDfa6_0(active0, 0x400000000L);      case 70:      case 102:         if ((active0 & 0x100000000L) != 0L)            return jjStartNfaWithStates_0(5, 32, 30);         break;      case 76:      case 108:         if ((active0 & 0x400000000000L) != 0L)            return jjStartNfaWithStates_0(5, 46, 30);         break;      case 78:      case 110:         if ((active0 & 0x2000000000L) != 0L)            return jjStartNfaWithStates_0(5, 37, 30);         break;      case 79:      case 111:         return jjMoveStringLiteralDfa6_0(active0, 0x800000000L);      case 80:      case 112:         return jjMoveStringLiteralDfa6_0(active0, 0x1020000000L);      case 82:      case 114:         return jjMoveStringLiteralDfa6_0(active0, 0x80000000L);      case 83:      case 115:         if ((active0 & 0x200000000000L) != 0L)            return jjStartNfaWithStates_0(5, 45, 30);         return jjMoveStringLiteralDfa6_0(active0, 0x2000000000000L);      case 84:      case 116:         if ((active0 & 0x2000000L) != 0L)            return jjStartNfaWithStates_0(5, 25, 30);         break;      default :         break;   }   return jjStartNfa_0(4, active0);}private final int jjMoveStringLiteralDfa6_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(4, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(5, active0);      return 6;   }   switch(curChar)   {      case 65:      case 97:         return jjMoveStringLiteralDfa7_0(active0, 0x20000000L);      case 69:      case 101:         return jjMoveStringLiteralDfa7_0(active0, 0x2000000000000L);      case 76:      case 108:         return jjMoveStringLiteralDfa7_0(active0, 0x400000000L);      case 80:      case 112:         return jjMoveStringLiteralDfa7_0(active0, 0x800000000L);      case 82:      case 114:         return jjMoveStringLiteralDfa7_0(active0, 0x1000000000L);      case 83:      case 115:         return jjMoveStringLiteralDfa7_0(active0, 0x200000000L);      case 84:      case 116:         return jjMoveStringLiteralDfa7_0(active0, 0x80000000L);      default :         break;   }   return jjStartNfa_0(5, active0);}private final int jjMoveStringLiteralDfa7_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(5, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(6, active0);      return 7;   }   switch(curChar)   {      case 65:      case 97:         return jjMoveStringLiteralDfa8_0(active0, 0x400000000L);      case 67:      case 99:         return jjMoveStringLiteralDfa8_0(active0, 0x2000020000000L);      case 69:      case 101:         return jjMoveStringLiteralDfa8_0(active0, 0x800000000L);      case 79:      case 111:         return jjMoveStringLiteralDfa8_0(active0, 0x1000000000L);      case 83:      case 115:         return jjMoveStringLiteralDfa8_0(active0, 0x200000000L);      case 89:      case 121:         if ((active0 & 0x80000000L) != 0L)            return jjStartNfaWithStates_0(7, 31, 30);         break;      default :         break;   }   return jjStartNfa_0(6, active0);}private final int jjMoveStringLiteralDfa8_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(6, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(7, active0);      return 8;   }   switch(curChar)   {      case 69:      case 101:         if ((active0 & 0x20000000L) != 0L)            return jjStartNfaWithStates_0(8, 29, 30);         break;      case 79:      case 111:         return jjMoveStringLiteralDfa9_0(active0, 0x200000000L);      case 80:      case 112:         return jjMoveStringLiteralDfa9_0(active0, 0x1000000000L);      case 82:      case 114:         return jjMoveStringLiteralDfa9_0(active0, 0x800000000L);      case 83:      case 115:         return jjMoveStringLiteralDfa9_0(active0, 0x400000000L);      case 84:      case 116:         if ((active0 & 0x2000000000000L) != 0L)            return jjStartNfaWithStates_0(8, 49, 30);         break;      default :         break;   }   return jjStartNfa_0(7, active0);}private final int jjMoveStringLiteralDfa9_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(7, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(8, active0);      return 9;   }   switch(curChar)   {      case 69:      case 101:         return jjMoveStringLiteralDfa10_0(active0, 0x1000000000L);      case 70:      case 102:         if ((active0 & 0x200000000L) != 0L)            return jjStartNfaWithStates_0(9, 33, 30);         break;      case 83:      case 115:         return jjMoveStringLiteralDfa10_0(active0, 0x400000000L);      case 84:      case 116:         return jjMoveStringLiteralDfa10_0(active0, 0x800000000L);      default :         break;   }   return jjStartNfa_0(8, active0);}private final int jjMoveStringLiteralDfa10_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(8, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(9, active0);      return 10;   }   switch(curChar)   {      case 79:      case 111:         return jjMoveStringLiteralDfa11_0(active0, 0x400000000L);      case 82:      case 114:         return jjMoveStringLiteralDfa11_0(active0, 0x1000000000L);      case 89:      case 121:         return jjMoveStringLiteralDfa11_0(active0, 0x800000000L);      default :         break;   }   return jjStartNfa_0(9, active0);}private final int jjMoveStringLiteralDfa11_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(9, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(10, active0);      return 11;   }   switch(curChar)   {      case 70:      case 102:         if ((active0 & 0x400000000L) != 0L)            return jjStartNfaWithStates_0(11, 34, 30);         break;      case 79:      case 111:         return jjMoveStringLiteralDfa12_0(active0, 0x800000000L);      case 84:      case 116:         return jjMoveStringLiteralDfa12_0(active0, 0x1000000000L);      default :         break;   }   return jjStartNfa_0(10, active0);}private final int jjMoveStringLiteralDfa12_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(10, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(11, active0);      return 12;   }   switch(curChar)   {      case 70:      case 102:         if ((active0 & 0x800000000L) != 0L)            return jjStartNfaWithStates_0(12, 35, 30);         break;      case 89:      case 121:         return jjMoveStringLiteralDfa13_0(active0, 0x1000000000L);      default :         break;   }   return jjStartNfa_0(11, active0);}private final int jjMoveStringLiteralDfa13_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(11, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(12, active0);      return 13;   }   switch(curChar)   {      case 79:      case 111:         return jjMoveStringLiteralDfa14_0(active0, 0x1000000000L);      default :         break;   }   return jjStartNfa_0(12, active0);}private final int jjMoveStringLiteralDfa14_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(12, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(13, active0);      return 14;   }   switch(curChar)   {      case 70:      case 102:         if ((active0 & 0x1000000000L) != 0L)            return jjStartNfaWithStates_0(14, 36, 30);         break;      default :         break;   }   return jjStartNfa_0(13, active0);}private final void jjCheckNAdd(int state){   if (jjrounds[state] != jjround)   {      jjstateSet[jjnewStateCnt++] = state;      jjrounds[state] = jjround;   }}private final void jjAddStates(int start, int end){   do {      jjstateSet[jjnewStateCnt++] = jjnextStates[start];   } while (start++ != end);}private final void jjCheckNAddTwoStates(int state1, int state2){   jjCheckNAdd(state1);   jjCheckNAdd(state2);}private final void jjCheckNAddStates(int start, int end){   do {      jjCheckNAdd(jjnextStates[start]);   } while (start++ != end);}private final void jjCheckNAddStates(int start){   jjCheckNAdd(jjnextStates[start]);   jjCheckNAdd(jjnextStates[start + 1]);}static final long[] jjbitVec0 = {   0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL};private final int jjMoveNfa_0(int startState, int curPos){   int[] nextStates;   int startsAt = 0;   jjnewStateCnt = 30;   int i = 1;   jjstateSet[0] = startState;   int j, kind = 0x7fffffff;   for (;;)   {      if (++jjround == 0x7fffffff)         ReInitRounds();      if (curChar < 64)      {         long l = 1L << curChar;         MatchLoop: do         {            switch(jjstateSet[--i])            {               case 0:                  if ((0x3ff680000000000L & l) != 0L)                     jjCheckNAddTwoStates(16, 17);                  else if (curChar == 39)                     jjstateSet[jjnewStateCnt++] = 14;                  else if (curChar == 34)                     jjCheckNAddTwoStates(11, 12);                  else if (curChar == 36)                     jjstateSet[jjnewStateCnt++] = 3;                  if ((0x3ff000000000000L & l) != 0L)                  {                     if (kind > 55)                        kind = 55;                     jjCheckNAddStates(0, 2);                  }                  else if (curChar == 46)                     jjCheckNAdd(9);                  break;               case 32:                  if ((0xfffffffbffffffffL & l) != 0L)                     jjCheckNAddTwoStates(11, 12);                  else if (curChar == 34)                  {                     if (kind > 57)                        kind = 57;                  }                  break;               case 31:                  if ((0x3ff680000000000L & l) != 0L)                     jjCheckNAddTwoStates(16, 17);                  else if (curChar == 58)                  {                     if (kind > 61)                        kind = 61;                     jjCheckNAddStates(3, 5);                  }                  if ((0x3ff000000000000L & l) != 0L)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -