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

📄 parsertokenmanager.java

📁 java1.6众多例子参考
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/* * @(#)ParserTokenManager.java	4.15 05/11/17 *  * Copyright 2006 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. *//* Generated By:JJTree&JavaCC: Do not edit this line. ParserTokenManager.java */package com.sun.jmx.snmp.IPAcl;import java.io.*;class ParserTokenManager implements ParserConstants{private final int jjStopStringLiteralDfa_0(int pos, long active0){   switch (pos)   {      case 0:         if ((active0 & 0x8000L) != 0L)            return 0;         if ((active0 & 0xfe5000L) != 0L)         {            jjmatchedKind = 31;            return 47;         }         if ((active0 & 0xd80L) != 0L)         {            jjmatchedKind = 31;            return 48;         }         return -1;      case 1:         if ((active0 & 0xfe5c00L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 1;            return 49;         }         if ((active0 & 0x180L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 1;            return 50;         }         return -1;      case 2:         if ((active0 & 0xfe5c00L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 2;            return 49;         }         if ((active0 & 0x100L) != 0L)            return 49;         if ((active0 & 0x80L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 2;            return 50;         }         return -1;      case 3:         if ((active0 & 0x565c00L) != 0L)         {            if (jjmatchedPos != 3)            {               jjmatchedKind = 31;               jjmatchedPos = 3;            }            return 49;         }         if ((active0 & 0xa80000L) != 0L)            return 49;         if ((active0 & 0x80L) != 0L)         {            if (jjmatchedPos != 3)            {               jjmatchedKind = 31;               jjmatchedPos = 3;            }            return 50;         }         return -1;      case 4:         if ((active0 & 0xa00000L) != 0L)            return 51;         if ((active0 & 0x60000L) != 0L)         {            if (jjmatchedPos < 3)            {               jjmatchedKind = 31;               jjmatchedPos = 3;            }            return 51;         }         if ((active0 & 0x1000L) != 0L)            return 49;         if ((active0 & 0x504c80L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 4;            return 49;         }         return -1;      case 5:         if ((active0 & 0x500080L) != 0L)            return 49;         if ((active0 & 0x4c00L) != 0L)         {            if (jjmatchedPos != 5)            {               jjmatchedKind = 31;               jjmatchedPos = 5;            }            return 49;         }         if ((active0 & 0xa60000L) != 0L)         {            if (jjmatchedPos != 5)            {               jjmatchedKind = 31;               jjmatchedPos = 5;            }            return 51;         }         return -1;      case 6:         if ((active0 & 0x400000L) != 0L)            return 51;         if ((active0 & 0x4c00L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 6;            return 49;         }         if ((active0 & 0xa60000L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 6;            return 51;         }         return -1;      case 7:         if ((active0 & 0x660000L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 7;            return 51;         }         if ((active0 & 0x800000L) != 0L)            return 51;         if ((active0 & 0x4000L) != 0L)            return 49;         if ((active0 & 0xc00L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 7;            return 49;         }         return -1;      case 8:         if ((active0 & 0x20000L) != 0L)            return 51;         if ((active0 & 0xc00L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 8;            return 49;         }         if ((active0 & 0x640000L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 8;            return 51;         }         return -1;      case 9:         if ((active0 & 0x40000L) != 0L)            return 51;         if ((active0 & 0x800L) != 0L)            return 49;         if ((active0 & 0x600000L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 9;            return 51;         }         if ((active0 & 0x400L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 9;            return 49;         }         return -1;      case 10:         if ((active0 & 0x600000L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 10;            return 51;         }         if ((active0 & 0x400L) != 0L)            return 49;         return -1;      case 11:         if ((active0 & 0x600000L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 11;            return 51;         }         return -1;      case 12:         if ((active0 & 0x600000L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 12;            return 51;         }         return -1;      case 13:         if ((active0 & 0x400000L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 13;            return 51;         }         if ((active0 & 0x200000L) != 0L)            return 51;         return -1;      case 14:         if ((active0 & 0x400000L) != 0L)         {            jjmatchedKind = 31;            jjmatchedPos = 14;            return 51;         }         return -1;      default :         return -1;   }}private final int jjStartNfa_0(int pos, long active0){   return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1);}private final int jjStopAtPos(int pos, int kind){   jjmatchedKind = kind;   jjmatchedPos = pos;   return pos + 1;}private final 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);}private final int jjMoveStringLiteralDfa0_0(){   switch(curChar)   {      case 33:         return jjStopAtPos(0, 38);      case 44:         return jjStopAtPos(0, 36);      case 45:         return jjStartNfaWithStates_0(0, 15, 0);      case 46:         return jjStopAtPos(0, 37);      case 47:         return jjStopAtPos(0, 39);      case 61:         return jjStopAtPos(0, 9);      case 97:         return jjMoveStringLiteralDfa1_0(0x180L);      case 99:         return jjMoveStringLiteralDfa1_0(0x400L);      case 101:         return jjMoveStringLiteralDfa1_0(0x800L);      case 104:         return jjMoveStringLiteralDfa1_0(0x1000L);      case 105:         return jjMoveStringLiteralDfa1_0(0x500000L);      case 109:         return jjMoveStringLiteralDfa1_0(0x4000L);      case 114:         return jjMoveStringLiteralDfa1_0(0x60000L);      case 116:         return jjMoveStringLiteralDfa1_0(0xa80000L);      case 123:         return jjStopAtPos(0, 13);      case 125:         return jjStopAtPos(0, 16);      default :         return jjMoveNfa_0(5, 0);   }}private final int jjMoveStringLiteralDfa1_0(long active0){   try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(0, active0);      return 1;   }   switch(curChar)   {      case 97:         return jjMoveStringLiteralDfa2_0(active0, 0x4000L);      case 99:         return jjMoveStringLiteralDfa2_0(active0, 0x180L);      case 101:         return jjMoveStringLiteralDfa2_0(active0, 0x60000L);      case 110:         return jjMoveStringLiteralDfa2_0(active0, 0x500800L);      case 111:         return jjMoveStringLiteralDfa2_0(active0, 0x1400L);      case 114:         return jjMoveStringLiteralDfa2_0(active0, 0xa80000L);      default :         break;   }   return jjStartNfa_0(0, active0);}private final 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 97:         return jjMoveStringLiteralDfa3_0(active0, 0xae0000L);      case 99:         return jjMoveStringLiteralDfa3_0(active0, 0x80L);      case 102:         return jjMoveStringLiteralDfa3_0(active0, 0x500000L);      case 108:         if ((active0 & 0x100L) != 0L)            return jjStartNfaWithStates_0(2, 8, 49);         break;      case 109:         return jjMoveStringLiteralDfa3_0(active0, 0x400L);      case 110:         return jjMoveStringLiteralDfa3_0(active0, 0x4000L);      case 115:         return jjMoveStringLiteralDfa3_0(active0, 0x1000L);      case 116:         return jjMoveStringLiteralDfa3_0(active0, 0x800L);      default :         break;   }   return jjStartNfa_0(1, active0);}private final 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 97:         return jjMoveStringLiteralDfa4_0(active0, 0x4000L);      case 100:         return jjMoveStringLiteralDfa4_0(active0, 0x60000L);      case 101:         return jjMoveStringLiteralDfa4_0(active0, 0x880L);      case 109:         return jjMoveStringLiteralDfa4_0(active0, 0x400L);      case 111:         return jjMoveStringLiteralDfa4_0(active0, 0x500000L);      case 112:         if ((active0 & 0x80000L) != 0L)         {            jjmatchedKind = 19;            jjmatchedPos = 3;         }         return jjMoveStringLiteralDfa4_0(active0, 0xa00000L);      case 116:         return jjMoveStringLiteralDfa4_0(active0, 0x1000L);      default :         break;   }   return jjStartNfa_0(2, active0);}private final 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 45:         return jjMoveStringLiteralDfa5_0(active0, 0xa60000L);      case 103:         return jjMoveStringLiteralDfa5_0(active0, 0x4000L);      case 114:         return jjMoveStringLiteralDfa5_0(active0, 0x500800L);      case 115:         if ((active0 & 0x1000L) != 0L)            return jjStartNfaWithStates_0(4, 12, 49);         return jjMoveStringLiteralDfa5_0(active0, 0x80L);      case 117:         return jjMoveStringLiteralDfa5_0(active0, 0x400L);      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 99:         return jjMoveStringLiteralDfa6_0(active0, 0x200000L);      case 101:         return jjMoveStringLiteralDfa6_0(active0, 0x4000L);      case 109:         if ((active0 & 0x100000L) != 0L)         {            jjmatchedKind = 20;            jjmatchedPos = 5;         }         return jjMoveStringLiteralDfa6_0(active0, 0x400000L);      case 110:         return jjMoveStringLiteralDfa6_0(active0, 0x800400L);      case 111:         return jjMoveStringLiteralDfa6_0(active0, 0x20000L);      case 112:         return jjMoveStringLiteralDfa6_0(active0, 0x800L);      case 115:         if ((active0 & 0x80L) != 0L)            return jjStartNfaWithStates_0(5, 7, 49);         break;      case 119:         return jjMoveStringLiteralDfa6_0(active0, 0x40000L);      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 45:         return jjMoveStringLiteralDfa7_0(active0, 0x400000L);      case 105:         return jjMoveStringLiteralDfa7_0(active0, 0x400L);      case 110:         return jjMoveStringLiteralDfa7_0(active0, 0x20000L);      case 111:         return jjMoveStringLiteralDfa7_0(active0, 0x200000L);      case 114:         return jjMoveStringLiteralDfa7_0(active0, 0x44800L);      case 117:         return jjMoveStringLiteralDfa7_0(active0, 0x800000L);      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;   }

⌨️ 快捷键说明

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