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

📄 queryparsertokenmanager.java

📁 Lucene a java open-source SearchEngine Framework
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
                     break;                  if (kind > 18)                     kind = 18;                  jjCheckNAddStates(3, 7);                  break;               case 29:                  if ((0x97ffffff87ffffffL & l) == 0L)                     break;                  if (kind > 18)                     kind = 18;                  jjCheckNAddTwoStates(29, 30);                  break;               case 30:                  if (curChar == 92)                     jjCheckNAddTwoStates(31, 31);                  break;               case 31:                  if (kind > 18)                     kind = 18;                  jjCheckNAddTwoStates(29, 30);                  break;               case 32:                  if ((0x97ffffff87ffffffL & l) != 0L)                     jjCheckNAddStates(10, 12);                  break;               case 33:                  if (curChar == 92)                     jjCheckNAddTwoStates(34, 34);                  break;               case 34:                  jjCheckNAddStates(10, 12);                  break;               case 35:                  if (curChar == 92)                     jjCheckNAddStates(13, 15);                  break;               default : break;            }         } while(i != startsAt);      }      else      {         int hiByte = (int)(curChar >> 8);         int i1 = hiByte >> 6;         long l1 = 1L << (hiByte & 077);         int i2 = (curChar & 0xff) >> 6;         long l2 = 1L << (curChar & 077);         MatchLoop: do         {            switch(jjstateSet[--i])            {               case 36:               case 25:               case 27:                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))                     break;                  if (kind > 21)                     kind = 21;                  jjCheckNAddTwoStates(25, 26);                  break;               case 0:                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))                  {                     if (kind > 21)                        kind = 21;                     jjCheckNAddTwoStates(25, 26);                  }                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))                  {                     if (kind > 18)                        kind = 18;                     jjCheckNAddStates(3, 7);                  }                  break;               case 15:                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))                     jjAddStates(0, 2);                  break;               case 24:                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))                     break;                  if (kind > 21)                     kind = 21;                  jjCheckNAddTwoStates(25, 26);                  break;               case 28:                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))                     break;                  if (kind > 18)                     kind = 18;                  jjCheckNAddStates(3, 7);                  break;               case 29:               case 31:                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))                     break;                  if (kind > 18)                     kind = 18;                  jjCheckNAddTwoStates(29, 30);                  break;               case 32:               case 34:                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))                     jjCheckNAddStates(10, 12);                  break;               default : break;            }         } while(i != startsAt);      }      if (kind != 0x7fffffff)      {         jjmatchedKind = kind;         jjmatchedPos = curPos;         kind = 0x7fffffff;      }      ++curPos;      if ((i = jjnewStateCnt) == (startsAt = 36 - (jjnewStateCnt = startsAt)))         return curPos;      try { curChar = input_stream.readChar(); }      catch(java.io.IOException e) { return curPos; }   }}private final int jjStopStringLiteralDfa_1(int pos, long active0){   switch (pos)   {      case 0:         if ((active0 & 0x20000000L) != 0L)         {            jjmatchedKind = 32;            return 6;         }         return -1;      default :         return -1;   }}private final int jjStartNfa_1(int pos, long active0){   return jjMoveNfa_1(jjStopStringLiteralDfa_1(pos, active0), pos + 1);}private final int jjStartNfaWithStates_1(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_1(state, pos + 1);}private final int jjMoveStringLiteralDfa0_1(){   switch(curChar)   {      case 84:         return jjMoveStringLiteralDfa1_1(0x20000000L);      case 125:         return jjStopAtPos(0, 30);      default :         return jjMoveNfa_1(0, 0);   }}private final int jjMoveStringLiteralDfa1_1(long active0){   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_1(0, active0);      return 1;   }   switch(curChar)   {      case 79:         if ((active0 & 0x20000000L) != 0L)            return jjStartNfaWithStates_1(1, 29, 6);         break;      default :         break;   }   return jjStartNfa_1(0, active0);}private final int jjMoveNfa_1(int startState, int curPos){   int[] nextStates;   int startsAt = 0;   jjnewStateCnt = 7;   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 ((0xfffffffeffffffffL & l) != 0L)                  {                     if (kind > 32)                        kind = 32;                     jjCheckNAdd(6);                  }                  if ((0x100002600L & l) != 0L)                  {                     if (kind > 6)                        kind = 6;                  }                  else if (curChar == 34)                     jjCheckNAddTwoStates(2, 4);                  break;               case 1:                  if (curChar == 34)                     jjCheckNAddTwoStates(2, 4);                  break;               case 2:                  if ((0xfffffffbffffffffL & l) != 0L)                     jjCheckNAddStates(16, 18);                  break;               case 3:                  if (curChar == 34)                     jjCheckNAddStates(16, 18);                  break;               case 5:                  if (curChar == 34 && kind > 31)                     kind = 31;                  break;               case 6:                  if ((0xfffffffeffffffffL & l) == 0L)                     break;                  if (kind > 32)                     kind = 32;                  jjCheckNAdd(6);                  break;               default : break;            }         } while(i != startsAt);      }      else if (curChar < 128)      {         long l = 1L << (curChar & 077);         MatchLoop: do         {            switch(jjstateSet[--i])            {               case 0:               case 6:                  if ((0xdfffffffffffffffL & l) == 0L)                     break;                  if (kind > 32)                     kind = 32;                  jjCheckNAdd(6);                  break;               case 2:                  jjAddStates(16, 18);                  break;               case 4:                  if (curChar == 92)                     jjstateSet[jjnewStateCnt++] = 3;                  break;               default : break;            }         } while(i != startsAt);      }      else      {         int hiByte = (int)(curChar >> 8);         int i1 = hiByte >> 6;         long l1 = 1L << (hiByte & 077);         int i2 = (curChar & 0xff) >> 6;         long l2 = 1L << (curChar & 077);         MatchLoop: do         {            switch(jjstateSet[--i])            {               case 0:               case 6:                  if (!jjCanMove_0(hiByte, i1, i2, l1, l2))                     break;                  if (kind > 32)                     kind = 32;                  jjCheckNAdd(6);                  break;               case 2:                  if (jjCanMove_0(hiByte, i1, i2, l1, l2))                     jjAddStates(16, 18);                  break;               default : break;            }         } while(i != startsAt);      }      if (kind != 0x7fffffff)      {         jjmatchedKind = kind;         jjmatchedPos = curPos;         kind = 0x7fffffff;      }      ++curPos;      if ((i = jjnewStateCnt) == (startsAt = 7 - (jjnewStateCnt = startsAt)))         return curPos;      try { curChar = input_stream.readChar(); }      catch(java.io.IOException e) { return curPos; }   }}private final int jjMoveStringLiteralDfa0_0(){   return jjMoveNfa_0(0, 0);}private final int jjMoveNfa_0(int startState, int curPos){   int[] nextStates;   int startsAt = 0;   jjnewStateCnt = 3;   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 ((0x3ff000000000000L & l) == 0L)                     break;                  if (kind > 24)                     kind = 24;                  jjAddStates(19, 20);                  break;               case 1:                  if (curChar == 46)                     jjCheckNAdd(2);                  break;               case 2:                  if ((0x3ff000000000000L & l) == 0L)                     break;                  if (kind > 24)                     kind = 24;                  jjCheckNAdd(2);                  break;               default : break;            }         } while(i != startsAt);      }      else if (curChar < 128)      {         long l = 1L << (curChar & 077);         MatchLoop: do         {            switch(jjstateSet[--i])            {               default : break;            }         } while(i != startsAt);      }      else      {         int hiByte = (int)(curChar >> 8);         int i1 = hiByte >> 6;         long l1 = 1L << (hiByte & 077);         int i2 = (curChar & 0xff) >> 6;         long l2 = 1L << (curChar & 077);         MatchLoop: do         {            switch(jjstateSet[--i])            {               default : break;            }         } while(i != startsAt);      }      if (kind != 0x7fffffff)      {

⌨️ 快捷键说明

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