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

📄 htmlparsertokenmanager.java

📁 HTML解释器JAVA源码
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
                  break;               default : break;            }         } while(i != startsAt);      }      else      {         int i2 = (curChar & 0xff) >> 6;         long l2 = 1L << (curChar & 077);         MatchLoop: do         {            switch(jjstateSet[--i])            {               case 0:               case 1:                  if ((jjbitVec0[i2] & l2) == 0L)                     break;                  if (kind > 31)                     kind = 31;                  jjCheckNAdd(1);                  break;               case 3:                  if ((jjbitVec0[i2] & l2) != 0L)                     jjAddStates(7, 8);                  break;               case 6:                  if ((jjbitVec0[i2] & l2) != 0L)                     jjAddStates(3, 4);                  break;               default : break;            }         } while(i != startsAt);      }      if (kind != 0x7fffffff)      {         jjmatchedKind = kind;         jjmatchedPos = curPos;         kind = 0x7fffffff;      }      ++curPos;      if ((i = jjnewStateCnt) == (startsAt = 8 - (jjnewStateCnt = startsAt)))         return curPos;      try { curChar = input_stream.readChar(); }      catch(java.io.IOException e) { return curPos; }   }}private final int jjStopStringLiteralDfa_6(int pos, long active0){   switch (pos)   {      case 0:         if ((active0 & 0x180000L) != 0L)         {            jjmatchedKind = 21;            return 1;         }         return -1;      case 1:         if ((active0 & 0x180000L) != 0L)         {            jjmatchedKind = 21;            jjmatchedPos = 1;            return 1;         }         return -1;      case 2:         if ((active0 & 0x180000L) != 0L)         {            jjmatchedKind = 21;            jjmatchedPos = 2;            return 1;         }         return -1;      case 3:         if ((active0 & 0x180000L) != 0L)         {            jjmatchedKind = 21;            jjmatchedPos = 3;            return 1;         }         return -1;      case 4:         if ((active0 & 0x80000L) != 0L)         {            jjmatchedKind = 21;            jjmatchedPos = 4;            return 1;         }         if ((active0 & 0x100000L) != 0L)            return 1;         return -1;      default :         return -1;   }}private final int jjStartNfa_6(int pos, long active0){   return jjMoveNfa_6(jjStopStringLiteralDfa_6(pos, active0), pos + 1);}private final int jjStartNfaWithStates_6(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_6(state, pos + 1);}private final int jjMoveStringLiteralDfa0_6(){   switch(curChar)   {      case 83:      case 115:         return jjMoveStringLiteralDfa1_6(0x180000L);      default :         return jjMoveNfa_6(0, 0);   }}private final int jjMoveStringLiteralDfa1_6(long active0){   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_6(0, active0);      return 1;   }   switch(curChar)   {      case 67:      case 99:         return jjMoveStringLiteralDfa2_6(active0, 0x80000L);      case 84:      case 116:         return jjMoveStringLiteralDfa2_6(active0, 0x100000L);      default :         break;   }   return jjStartNfa_6(0, active0);}private final int jjMoveStringLiteralDfa2_6(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_6(0, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_6(1, active0);      return 2;   }   switch(curChar)   {      case 82:      case 114:         return jjMoveStringLiteralDfa3_6(active0, 0x80000L);      case 89:      case 121:         return jjMoveStringLiteralDfa3_6(active0, 0x100000L);      default :         break;   }   return jjStartNfa_6(1, active0);}private final int jjMoveStringLiteralDfa3_6(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_6(1, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_6(2, active0);      return 3;   }   switch(curChar)   {      case 73:      case 105:         return jjMoveStringLiteralDfa4_6(active0, 0x80000L);      case 76:      case 108:         return jjMoveStringLiteralDfa4_6(active0, 0x100000L);      default :         break;   }   return jjStartNfa_6(2, active0);}private final int jjMoveStringLiteralDfa4_6(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_6(2, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_6(3, active0);      return 4;   }   switch(curChar)   {      case 69:      case 101:         if ((active0 & 0x100000L) != 0L)            return jjStartNfaWithStates_6(4, 20, 1);         break;      case 80:      case 112:         return jjMoveStringLiteralDfa5_6(active0, 0x80000L);      default :         break;   }   return jjStartNfa_6(3, active0);}private final int jjMoveStringLiteralDfa5_6(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_6(3, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_6(4, active0);      return 5;   }   switch(curChar)   {      case 84:      case 116:         if ((active0 & 0x80000L) != 0L)            return jjStartNfaWithStates_6(5, 19, 1);         break;      default :         break;   }   return jjStartNfa_6(4, active0);}private final int jjMoveNfa_6(int startState, int curPos){   int[] nextStates;   int startsAt = 0;   jjnewStateCnt = 2;   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 1:                  if ((0x3ff600000000000L & l) == 0L)                     break;                  kind = 21;                  jjstateSet[jjnewStateCnt++] = 1;                  break;               default : break;            }         } while(i != startsAt);      }      else if (curChar < 128)      {         long l = 1L << (curChar & 077);         MatchLoop: do         {            switch(jjstateSet[--i])            {               case 0:                  if ((0x7fffffe07fffffeL & l) == 0L)                     break;                  if (kind > 21)                     kind = 21;                  jjCheckNAdd(1);                  break;               case 1:                  if ((0x7fffffe87fffffeL & l) == 0L)                     break;                  if (kind > 21)                     kind = 21;                  jjCheckNAdd(1);                  break;               default : break;            }         } while(i != startsAt);      }      else      {         int i2 = (curChar & 0xff) >> 6;         long l2 = 1L << (curChar & 077);         MatchLoop: do         {            switch(jjstateSet[--i])            {               default : break;            }         } while(i != startsAt);      }      if (kind != 0x7fffffff)      {         jjmatchedKind = kind;         jjmatchedPos = curPos;         kind = 0x7fffffff;      }      ++curPos;      if ((i = jjnewStateCnt) == (startsAt = 2 - (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)   {      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 60:         jjmatchedKind = 42;         return jjMoveStringLiteralDfa1_1(0x8000000000L);      default :         return jjMoveNfa_1(1, 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 47:         return jjMoveStringLiteralDfa2_1(active0, 0x8000000000L);      default :         break;   }   return jjStartNfa_1(0, active0);}private final int jjMoveStringLiteralDfa2_1(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_1(0, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_1(1, active0);      return 2;   }   switch(curChar)   {      case 83:      case 115:         return jjMoveStringLiteralDfa3_1(active0, 0x8000000000L);      default :         break;   }   return jjStartNfa_1(1, active0);}private final int jjMoveStringLiteralDfa3_1(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_1(1, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_1(2, active0);      return 3;   }   switch(curChar)   {      case 67:      case 99:         return jjMoveStringLiteralDfa4_1(active0, 0x8000000000L);      default :         break;   }   return jjStartNfa_1(2, active0);}private final int jjMoveStringLiteralDfa4_1(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_1(2, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_1(3, active0);      return 4;   }   switch(curChar)   {      case 82:      case 114:         return jjMoveStringLiteralDfa5_1(active0, 0x8000000000L);      default :         break;   }   return jjStartNfa_1(3, active0);}private final int jjMoveStringLiteralDfa5_1(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_1(3, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_1(4, active0);      return 5;   }   switch(curChar)   {      case 73:      case 105:         return jjMoveStringLiteralDfa6_1(active0, 0x8000000000L);      default :         break;   }   return jjStartNfa_1(4, active0);}private final int jjMoveStringLiteralDfa6_1(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_1(4, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_1(5, active0);      return 6;   }   switch(curChar)   {      case 80:      case 112:         return jjMoveStringLiteralDfa7_1(active0, 0x8000000000L);      default :         break;   }   return jjStartNfa_1(5, active0);}private final int jjMoveStringLiteralDfa7_1(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_1(5, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_1(6, active0);      return 7;   }   switch(curChar)   {      case 84:      case 116:         return jjMoveStringLiteralDfa8_1(active0, 0x8000000000L);      default :         break;   }   return jjStartNfa_1(6, active0);}private final int jjMoveStringLiteralDfa8_1(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_1(6, old0);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_1(7, active0);      return 8;   }   switch(curChar)   {      case 62:         if ((active0 & 0x8000000000L) != 0L)            return jjStopAtPos(8, 39);         break;      default :         break;   }   return jjStartNfa_1(7, active0);}private final int jjMoveNfa_1(int startState, int curPos){   int[] nextStates;   int startsAt = 0;   jjnewStateCnt = 11;   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 1:                  if ((0xefffff7bffffdbffL & l) != 0L)                  {                     if (kind > 43)                        kind = 43;                     jjCheckNAdd(3);                  }                  else if ((0x8400000000L & l) != 0L)                  {                     if (kind > 43)                        kind = 43;                  }                  else if ((0x2400L & l) != 0L)                  {                     if (kind > 41)                        kind = 41;                  }                  if (curChar == 39)                     jjCheckNAddTwoStates(8, 9);                  else if (curChar == 34)                     jjCheckNAddTwoStates(5, 6);                  else if (curChar == 13)                     jjstateSet[jjnewStateCnt++] = 0;                  break;               case 0:

⌨️ 快捷键说明

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