expressionparsertokenmanager.java
来自「jpda例子文件」· Java 代码 · 共 1,570 行 · 第 1/4 页
JAVA
1,570 行
/* * @(#)ExpressionParserTokenManager.java 1.6 03/01/23 * * Copyright 2003 Sun Microsystems, Inc. All rights reserved. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms. *//* Generated By:JavaCC: Do not edit this line. ExpressionParserTokenManager.java */package com.sun.tools.example.debug.expr;import com.sun.jdi.*;import java.util.Stack;import java.util.List;import java.util.ArrayList;public class ExpressionParserTokenManager implements ExpressionParserConstants{private final int jjStopStringLiteralDfa_0(int pos, long active0, long active1){ switch (pos) { case 0: if ((active1 & 0x4000L) != 0L) return 4; if ((active0 & 0x7fffffffffffe00L) != 0L) { jjmatchedKind = 67; return 28; } if ((active1 & 0x100200000000L) != 0L) return 49; return -1; case 1: if ((active0 & 0x7ffffffbfcffe00L) != 0L) { if (jjmatchedPos != 1) { jjmatchedKind = 67; jjmatchedPos = 1; } return 28; } if ((active0 & 0x40300000L) != 0L) return 28; return -1; case 2: if ((active0 & 0x77fffb3afeffe00L) != 0L) { if (jjmatchedPos != 2) { jjmatchedKind = 67; jjmatchedPos = 2; } return 28; } if ((active0 & 0x80004c10000000L) != 0L) return 28; return -1; case 3: if ((active0 & 0x63bff2b8faf4e00L) != 0L) { jjmatchedKind = 67; jjmatchedPos = 3; return 28; } if ((active0 & 0x14400902040b000L) != 0L) return 28; return -1; case 4: if ((active0 & 0x2235f2b80ac0600L) != 0L) { if (jjmatchedPos != 4) { jjmatchedKind = 67; jjmatchedPos = 4; } return 28; } if ((active0 & 0x418a0000f034800L) != 0L) return 28; return -1; case 5: if ((active0 & 0x222070a848c0600L) != 0L) { jjmatchedKind = 67; jjmatchedPos = 5; return 28; } if ((active0 & 0x11582100200000L) != 0L) return 28; return -1; case 6: if ((active0 & 0x222040a80040200L) != 0L) { jjmatchedKind = 67; jjmatchedPos = 6; return 28; } if ((active0 & 0x30004880400L) != 0L) return 28; return -1; case 7: if ((active0 & 0x22040a80000000L) != 0L) { jjmatchedKind = 67; jjmatchedPos = 7; return 28; } if ((active0 & 0x200000000040200L) != 0L) return 28; return -1; case 8: if ((active0 & 0x2000280000000L) != 0L) { jjmatchedKind = 67; jjmatchedPos = 8; return 28; } if ((active0 & 0x20040800000000L) != 0L) return 28; return -1; case 9: if ((active0 & 0x2000000000000L) != 0L) { jjmatchedKind = 67; jjmatchedPos = 9; return 28; } if ((active0 & 0x280000000L) != 0L) return 28; return -1; case 10: if ((active0 & 0x2000000000000L) != 0L) { jjmatchedKind = 67; jjmatchedPos = 10; return 28; } return -1; default : return -1; }}private final int jjStartNfa_0(int pos, long active0, long active1){ return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), 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: jjmatchedKind = 82; return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000L); case 37: jjmatchedKind = 101; return jjMoveStringLiteralDfa1_0(0x0L, 0x1000000000000L); case 38: jjmatchedKind = 98; return jjMoveStringLiteralDfa1_0(0x0L, 0x200008000000L); case 40: return jjStopAtPos(0, 70); case 41: return jjStopAtPos(0, 71); case 42: jjmatchedKind = 96; return jjMoveStringLiteralDfa1_0(0x0L, 0x80000000000L); case 43: jjmatchedKind = 94; return jjMoveStringLiteralDfa1_0(0x0L, 0x20010000000L); case 44: return jjStopAtPos(0, 77); case 45: jjmatchedKind = 95; return jjMoveStringLiteralDfa1_0(0x0L, 0x40020000000L); case 46: return jjStartNfaWithStates_0(0, 78, 4); case 47: jjmatchedKind = 97; return jjMoveStringLiteralDfa1_0(0x0L, 0x100000000000L); case 58: return jjStopAtPos(0, 85); case 59: return jjStopAtPos(0, 76); case 60: jjmatchedKind = 81; return jjMoveStringLiteralDfa1_0(0x0L, 0x2004000800000L); case 61: jjmatchedKind = 79; return jjMoveStringLiteralDfa1_0(0x0L, 0x400000L); case 62: jjmatchedKind = 80; return jjMoveStringLiteralDfa1_0(0x0L, 0xc018001000000L); case 63: return jjStopAtPos(0, 84); case 91: return jjStopAtPos(0, 74); case 93: return jjStopAtPos(0, 75); case 94: jjmatchedKind = 100; return jjMoveStringLiteralDfa1_0(0x0L, 0x800000000000L); case 97: return jjMoveStringLiteralDfa1_0(0x200L, 0x0L); case 98: return jjMoveStringLiteralDfa1_0(0x1c00L, 0x0L); case 99: return jjMoveStringLiteralDfa1_0(0x7e000L, 0x0L); case 100: return jjMoveStringLiteralDfa1_0(0x380000L, 0x0L); case 101: return jjMoveStringLiteralDfa1_0(0xc00000L, 0x0L); case 102: return jjMoveStringLiteralDfa1_0(0x1f000000L, 0x0L); case 103: return jjMoveStringLiteralDfa1_0(0x20000000L, 0x0L); case 105: return jjMoveStringLiteralDfa1_0(0xfc0000000L, 0x0L); case 108: return jjMoveStringLiteralDfa1_0(0x1000000000L, 0x0L); case 110: return jjMoveStringLiteralDfa1_0(0xe000000000L, 0x0L); case 112: return jjMoveStringLiteralDfa1_0(0xf0000000000L, 0x0L); case 114: return jjMoveStringLiteralDfa1_0(0x100000000000L, 0x0L); case 115: return jjMoveStringLiteralDfa1_0(0x3e00000000000L, 0x0L); case 116: return jjMoveStringLiteralDfa1_0(0xfc000000000000L, 0x0L); case 118: return jjMoveStringLiteralDfa1_0(0x300000000000000L, 0x0L); case 119: return jjMoveStringLiteralDfa1_0(0x400000000000000L, 0x0L); case 123: return jjStopAtPos(0, 72); case 124: jjmatchedKind = 99; return jjMoveStringLiteralDfa1_0(0x0L, 0x400004000000L); case 125: return jjStopAtPos(0, 73); case 126: return jjStopAtPos(0, 83); default : return jjMoveNfa_0(0, 0); }}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 38: if ((active1 & 0x8000000L) != 0L) return jjStopAtPos(1, 91); break; case 43: if ((active1 & 0x10000000L) != 0L) return jjStopAtPos(1, 92); break; case 45: if ((active1 & 0x20000000L) != 0L) return jjStopAtPos(1, 93); break; case 60: if ((active1 & 0x4000000000L) != 0L) { jjmatchedKind = 102; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x2000000000000L); case 61: if ((active1 & 0x400000L) != 0L) return jjStopAtPos(1, 86); else if ((active1 & 0x800000L) != 0L) return jjStopAtPos(1, 87); else if ((active1 & 0x1000000L) != 0L) return jjStopAtPos(1, 88); else if ((active1 & 0x2000000L) != 0L) return jjStopAtPos(1, 89); else if ((active1 & 0x20000000000L) != 0L) return jjStopAtPos(1, 105); else if ((active1 & 0x40000000000L) != 0L) return jjStopAtPos(1, 106); else if ((active1 & 0x80000000000L) != 0L) return jjStopAtPos(1, 107); else if ((active1 & 0x100000000000L) != 0L) return jjStopAtPos(1, 108); else if ((active1 & 0x200000000000L) != 0L) return jjStopAtPos(1, 109); else if ((active1 & 0x400000000000L) != 0L) return jjStopAtPos(1, 110); else if ((active1 & 0x800000000000L) != 0L) return jjStopAtPos(1, 111); else if ((active1 & 0x1000000000000L) != 0L) return jjStopAtPos(1, 112); break; case 62: if ((active1 & 0x8000000000L) != 0L) { jjmatchedKind = 103; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0xc010000000000L); case 97: return jjMoveStringLiteralDfa2_0(active0, 0x12001006000L, active1, 0L); case 98: return jjMoveStringLiteralDfa2_0(active0, 0x200L, active1, 0L); case 101: return jjMoveStringLiteralDfa2_0(active0, 0x104000080000L, active1, 0L); case 102: if ((active0 & 0x40000000L) != 0L) return jjStartNfaWithStates_0(1, 30, 28); break; case 104: return jjMoveStringLiteralDfa2_0(active0, 0x41c200000008000L, active1, 0L); case 105: return jjMoveStringLiteralDfa2_0(active0, 0x6000000L, active1, 0L); case 108: return jjMoveStringLiteralDfa2_0(active0, 0x8410000L, active1, 0L); case 109: return jjMoveStringLiteralDfa2_0(active0, 0x180000000L, active1, 0L); case 110: return jjMoveStringLiteralDfa2_0(active0, 0xe00000000L, active1, 0L); case 111: if ((active0 & 0x100000L) != 0L) { jjmatchedKind = 20; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x300001030260400L, active1, 0L); case 114: return jjMoveStringLiteralDfa2_0(active0, 0xe0060000000800L, active1, 0L); case 116: return jjMoveStringLiteralDfa2_0(active0, 0x400000000000L, active1, 0L); case 117: return jjMoveStringLiteralDfa2_0(active0, 0x888000000000L, active1, 0L); case 119: return jjMoveStringLiteralDfa2_0(active0, 0x1000000000000L, active1, 0L); case 120: return jjMoveStringLiteralDfa2_0(active0, 0x800000L, active1, 0L); case 121: return jjMoveStringLiteralDfa2_0(active0, 0x2000000001000L, active1, 0L); case 124: if ((active1 & 0x4000000L) != 0L) return jjStopAtPos(1, 90); break; default : break; } return jjStartNfa_0(0, active0, active1);}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 & 0x2000000000000L) != 0L) return jjStopAtPos(2, 113); else if ((active1 & 0x4000000000000L) != 0L) return jjStopAtPos(2, 114); break; case 62: if ((active1 & 0x10000000000L) != 0L) { jjmatchedKind = 104; jjmatchedPos = 2; } return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x8000000000000L);
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?