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

📄 jsonparserjavacctokenmanager.java

📁 地图生成的一个文件
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/* Generated By:JavaCC: Do not edit this line. JsonParserJavaccTokenManager.java */package com.google.gson;/** Token Manager. */@SuppressWarnings("all")final class JsonParserJavaccTokenManager implements JsonParserJavaccConstants{  /** Debug output. */  public  java.io.PrintStream debugStream = System.out;  /** Set debug output. */  public  void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }private int jjMoveStringLiteralDfa0_3(){   return jjMoveNfa_3(0, 0);}private int jjMoveNfa_3(int startState, int curPos){   int startsAt = 0;   jjnewStateCnt = 4;   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 0:                  if ((0x3ff000000000000L & l) != 0L)                     jjstateSet[jjnewStateCnt++] = 1;                  break;               case 1:                  if ((0x3ff000000000000L & l) != 0L)                     jjstateSet[jjnewStateCnt++] = 2;                  break;               case 2:                  if ((0x3ff000000000000L & l) != 0L)                     jjstateSet[jjnewStateCnt++] = 3;                  break;               case 3:                  if ((0x3ff000000000000L & l) != 0L && kind > 25)                     kind = 25;                  break;               default : break;            }         } while(i != startsAt);      }      else if (curChar < 128)      {         long l = 1L << (curChar & 077);         do         {            switch(jjstateSet[--i])            {               case 0:                  if ((0x7e0000007eL & l) != 0L)                     jjstateSet[jjnewStateCnt++] = 1;                  break;               case 1:                  if ((0x7e0000007eL & l) != 0L)                     jjstateSet[jjnewStateCnt++] = 2;                  break;               case 2:                  if ((0x7e0000007eL & l) != 0L)                     jjstateSet[jjnewStateCnt++] = 3;                  break;               case 3:                  if ((0x7e0000007eL & l) != 0L && kind > 25)                     kind = 25;                  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);         do         {            switch(jjstateSet[--i])            {               default : break;            }         } while(i != startsAt);      }      if (kind != 0x7fffffff)      {         jjmatchedKind = kind;         jjmatchedPos = curPos;         kind = 0x7fffffff;      }      ++curPos;      if ((i = jjnewStateCnt) == (startsAt = 4 - (jjnewStateCnt = startsAt)))         return curPos;      try { curChar = input_stream.readChar(); }      catch(java.io.IOException e) { return curPos; }   }}private final int jjStopStringLiteralDfa_0(int pos, long active0){   switch (pos)   {      case 0:         if ((active0 & 0x380L) != 0L)         {            jjmatchedKind = 11;            return 10;         }         if ((active0 & 0x40000L) != 0L)            return 43;         return -1;      case 1:         if ((active0 & 0x380L) != 0L)         {            jjmatchedKind = 11;            jjmatchedPos = 1;            return 10;         }         return -1;      case 2:         if ((active0 & 0x100L) != 0L)            return 10;         if ((active0 & 0x280L) != 0L)         {            jjmatchedKind = 11;            jjmatchedPos = 2;            return 10;         }         return -1;      case 3:         if ((active0 & 0x80L) != 0L)            return 10;         if ((active0 & 0x200L) != 0L)         {            jjmatchedKind = 11;            jjmatchedPos = 3;            return 10;         }         return -1;      case 4:         if ((active0 & 0x200L) != 0L)         {            jjmatchedKind = 11;            jjmatchedPos = 4;            return 10;         }         return -1;      case 5:         if ((active0 & 0x200L) != 0L)         {            jjmatchedKind = 11;            jjmatchedPos = 5;            return 10;         }         return -1;      case 6:         if ((active0 & 0x200L) != 0L)         {            jjmatchedKind = 11;            jjmatchedPos = 6;            return 10;         }         return -1;      default :         return -1;   }}private final int jjStartNfa_0(int pos, long active0){   return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1);}private int jjStopAtPos(int pos, int kind){   jjmatchedKind = kind;   jjmatchedPos = pos;   return pos + 1;}private int jjMoveStringLiteralDfa0_0(){   switch(curChar)   {      case 34:         return jjStartNfaWithStates_0(0, 18, 43);      case 41:         return jjMoveStringLiteralDfa1_0(0x4000000L);      case 44:         return jjStopAtPos(0, 29);      case 45:         return jjStopAtPos(0, 33);      case 46:         return jjStopAtPos(0, 34);      case 58:         return jjStopAtPos(0, 30);      case 73:         return jjMoveStringLiteralDfa1_0(0x200L);      case 78:         return jjMoveStringLiteralDfa1_0(0x100L);      case 91:         return jjStopAtPos(0, 31);      case 93:         return jjStopAtPos(0, 32);      case 110:         return jjMoveStringLiteralDfa1_0(0x80L);      case 123:         return jjStopAtPos(0, 27);      case 125:         return jjStopAtPos(0, 28);      default :         return jjMoveNfa_0(4, 0);   }}private int jjMoveStringLiteralDfa1_0(long active0){   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(0, active0);      return 1;   }   switch(curChar)   {      case 93:         return jjMoveStringLiteralDfa2_0(active0, 0x4000000L);      case 97:         return jjMoveStringLiteralDfa2_0(active0, 0x100L);      case 110:         return jjMoveStringLiteralDfa2_0(active0, 0x200L);      case 117:         return jjMoveStringLiteralDfa2_0(active0, 0x80L);      default :         break;   }   return jjStartNfa_0(0, active0);}private int jjMoveStringLiteralDfa2_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(0, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(1, active0);      return 2;   }   switch(curChar)   {      case 78:         if ((active0 & 0x100L) != 0L)            return jjStartNfaWithStates_0(2, 8, 10);         break;      case 102:         return jjMoveStringLiteralDfa3_0(active0, 0x200L);      case 108:         return jjMoveStringLiteralDfa3_0(active0, 0x80L);      case 125:         return jjMoveStringLiteralDfa3_0(active0, 0x4000000L);      default :         break;   }   return jjStartNfa_0(1, active0);}private int jjMoveStringLiteralDfa3_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(1, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(2, active0);      return 3;   }   switch(curChar)   {      case 39:         return jjMoveStringLiteralDfa4_0(active0, 0x4000000L);      case 105:         return jjMoveStringLiteralDfa4_0(active0, 0x200L);      case 108:         if ((active0 & 0x80L) != 0L)            return jjStartNfaWithStates_0(3, 7, 10);         break;      default :         break;   }   return jjStartNfa_0(2, active0);}private int jjMoveStringLiteralDfa4_0(long old0, long active0){   if (((active0 &= old0)) == 0L)      return jjStartNfa_0(2, old0);   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(3, active0);      return 4;   }   switch(curChar)   {      case 10:         if ((active0 & 0x4000000L) != 0L)            return jjStopAtPos(4, 26);         break;      case 110:         return jjMoveStringLiteralDfa5_0(active0, 0x200L);      default :         break;   }   return jjStartNfa_0(3, active0);}private 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 105:         return jjMoveStringLiteralDfa6_0(active0, 0x200L);      default :         break;   }   return jjStartNfa_0(4, active0);}private 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 116:         return jjMoveStringLiteralDfa7_0(active0, 0x200L);      default :         break;   }   return jjStartNfa_0(5, active0);}private 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 121:         if ((active0 & 0x200L) != 0L)            return jjStartNfaWithStates_0(7, 9, 10);         break;      default :         break;   }   return jjStartNfa_0(6, active0);}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 = {   0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL};static final long[] jjbitVec2 = {   0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL};private int jjMoveNfa_0(int startState, int curPos){   int startsAt = 0;   jjnewStateCnt = 43;   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 43:                  if ((0xfffffffbffffdbffL & l) != 0L)                     jjCheckNAddStates(0, 3);                  else if (curChar == 34)                  {

⌨️ 快捷键说明

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