📄 parsemibtokenmanager.java
字号:
// This file is part of the OpenNMS(R) MIB Parser.//// Copyright (C) 2002-2003 John Rodriguez//// OpenNMS(R) is a registered trademark of The OpenNMS Group, Inc.//// This library is free software; you can redistribute it and/or// modify it under the terms of the GNU Lesser General Public// License as published by the Free Software Foundation; either// version 2.1 of the License, or (at your option) any later version.// // This library is distributed in the hope that it will be useful,// but WITHOUT ANY WARRANTY; without even the implied warranty of// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU// Lesser General Public License for more details.// // You should have received a copy of the GNU Lesser General Public// License along with this library; if not, write to the Free Software// Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA//// See: http://www.fsf.org/copyleft/lesser.html///* Generated By:JJTree&JavaCC: Do not edit this line. ParseMibTokenManager.java */import java.util.Vector;public class ParseMibTokenManager implements ParseMibConstants{ public static java.io.PrintStream debugStream = System.out; public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }private static final int jjStopStringLiteralDfa_0(int pos, long active0, long active1){ switch (pos) { case 0: if ((active0 & 0x1ffffffffffc0L) != 0L) { jjmatchedKind = 64; return 17; } if ((active0 & 0x200000000000000L) != 0L) return 24; return -1; case 1: if ((active0 & 0x1ffffdfffffc0L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 1; return 17; } if ((active0 & 0x20000000L) != 0L) return 17; return -1; case 2: if ((active0 & 0x1ffffdfffbfc0L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 2; return 17; } if ((active0 & 0x4000L) != 0L) return 17; return -1; case 3: if ((active0 & 0x8000100L) != 0L) return 17; if ((active0 & 0x1ffffd7ffbec0L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 3; return 17; } return -1; case 4: if ((active0 & 0x1fefb97febe40L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 4; return 17; } if ((active0 & 0x10440010080L) != 0L) return 17; return -1; case 5: if ((active0 & 0x10cf2177c2c40L) != 0L) { if (jjmatchedPos != 5) { jjmatchedKind = 64; jjmatchedPos = 5; } return 17; } if ((active0 & 0xf20980829200L) != 0L) return 17; return -1; case 6: if ((active0 & 0x800000000040L) != 0L) return 17; if ((active0 & 0x13cfa97fc2c00L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 6; return 17; } return -1; case 7: if ((active0 & 0x13cfa83fc0c00L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 7; return 17; } if ((active0 & 0x14002000L) != 0L) return 17; return -1; case 8: if ((active0 & 0x134fa83dc0400L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 8; return 17; } if ((active0 & 0x80000200800L) != 0L) return 17; return -1; case 9: if ((active0 & 0x30fa83d00400L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 9; return 17; } if ((active0 & 0x10400000c0000L) != 0L) return 17; return -1; case 10: if ((active0 & 0x20fa83d00000L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 10; return 17; } if ((active0 & 0x100000000400L) != 0L) return 17; return -1; case 11: if ((active0 & 0x207280900000L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 11; return 17; } if ((active0 & 0x8803400000L) != 0L) return 17; return -1; case 12: if ((active0 & 0x205280900000L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 12; return 17; } if ((active0 & 0x2000000000L) != 0L) return 17; return -1; case 13: if ((active0 & 0x205280900000L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 13; return 17; } return -1; case 14: if ((active0 & 0x5280100000L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 14; return 17; } if ((active0 & 0x200000800000L) != 0L) return 17; return -1; case 15: if ((active0 & 0x5080100000L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 15; return 17; } if ((active0 & 0x200000000L) != 0L) return 17; return -1; case 16: if ((active0 & 0x5000000000L) != 0L) { jjmatchedKind = 64; jjmatchedPos = 16; return 17; } if ((active0 & 0x80100000L) != 0L) return 17; return -1; default : return -1; }}private static final int jjStartNfa_0(int pos, long active0, long active1){ return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), pos + 1);}static private final int jjStopAtPos(int pos, int kind){ jjmatchedKind = kind; jjmatchedPos = pos; return pos + 1;}static 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);}static private final int jjMoveStringLiteralDfa0_0(){ switch(curChar) { case 34: return jjStartNfaWithStates_0(0, 57, 24); case 40: return jjStopAtPos(0, 49); case 41: return jjStopAtPos(0, 50); case 44: return jjStopAtPos(0, 56); case 46: return jjStopAtPos(0, 68); case 58: return jjMoveStringLiteralDfa1_0(0x0L, 0x8L); case 59: return jjStopAtPos(0, 55); case 65: return jjMoveStringLiteralDfa1_0(0x22000L, 0x0L); case 66: return jjMoveStringLiteralDfa1_0(0x80L, 0x0L); case 67: return jjMoveStringLiteralDfa1_0(0x2000000L, 0x0L); case 68: return jjMoveStringLiteralDfa1_0(0x8000001400L, 0x0L); case 69: return jjMoveStringLiteralDfa1_0(0x40000004000L, 0x0L); case 70: return jjMoveStringLiteralDfa1_0(0x100L, 0x0L); case 71: return jjMoveStringLiteralDfa1_0(0x400000000L, 0x0L); case 73: return jjMoveStringLiteralDfa1_0(0x1000040000040L, 0x0L); case 76: return jjMoveStringLiteralDfa1_0(0x400000L, 0x0L); case 77: return jjMoveStringLiteralDfa1_0(0x3808c0000L, 0x0L); case 78: return jjMoveStringLiteralDfa1_0(0x3000100000L, 0x0L); case 79: return jjMoveStringLiteralDfa1_0(0xf10821000000L, 0x0L); case 82: return jjMoveStringLiteralDfa1_0(0x4000800L, 0x0L); case 83: return jjMoveStringLiteralDfa1_0(0x20018008200L, 0x0L); case 84: return jjMoveStringLiteralDfa1_0(0x4000200000L, 0x0L); case 85: return jjMoveStringLiteralDfa1_0(0x10000L, 0x0L); case 86: return jjMoveStringLiteralDfa1_0(0x80000000000L, 0x0L); case 91: return jjStopAtPos(0, 53); case 93: return jjStopAtPos(0, 54); case 123: return jjStopAtPos(0, 51); case 124: return jjStopAtPos(0, 69); case 125: return jjStopAtPos(0, 52); default : return jjMoveNfa_0(5, 0); }}static private final int jjMoveStringLiteralDfa1_0(long active0, long active1){ try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(0, active0, active1); return 1; } switch(curChar) { case 58: return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x8L); case 65: return jjMoveStringLiteralDfa2_0(active0, 0x80200440000L, active1, 0L); case 66: return jjMoveStringLiteralDfa2_0(active0, 0xf00800000000L, active1, 0L); case 67: return jjMoveStringLiteralDfa2_0(active0, 0x10000020000L, active1, 0L); case 68: return jjMoveStringLiteralDfa2_0(active0, 0x1000000000000L, active1, 0L); case 69: return jjMoveStringLiteralDfa2_0(active0, 0x4014001c80L, active1, 0L); case 70: if ((active0 & 0x20000000L) != 0L) return jjStartNfaWithStates_0(1, 29, 17); break; case 73: return jjMoveStringLiteralDfa2_0(active0, 0x8008080000L, active1, 0L); case 77: return jjMoveStringLiteralDfa2_0(active0, 0x40L, active1, 0L); case 78: return jjMoveStringLiteralDfa2_0(active0, 0x40040014000L, active1, 0L); case 79: return jjMoveStringLiteralDfa2_0(active0, 0x3182900000L, active1, 0L); case 82: return jjMoveStringLiteralDfa2_0(active0, 0x401200100L, active1, 0L); case 84: return jjMoveStringLiteralDfa2_0(active0, 0x20000000200L, active1, 0L); case 85: return jjMoveStringLiteralDfa2_0(active0, 0x2000L, active1, 0L); case 89: return jjMoveStringLiteralDfa2_0(active0, 0x8000L, active1, 0L); default : break; } return jjStartNfa_0(0, active0, active1);}static private final int jjMoveStringLiteralDfa2_0(long old0, long active0, long old1, long active1){ if (((active0 &= old0) | (active1 &= old1)) == 0L) return jjStartNfa_0(0, old0, old1); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(1, active0, active1); return 2; } switch(curChar) { case 61: if ((active1 & 0x8L) != 0L) return jjStopAtPos(2, 67);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -