📄 pythongrammartokenmanager.java
字号:
kind = 119; break; case 2: if ((0xffffffffffffdbffL & l) != 0L && kind > 120) kind = 120; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (kind > 119) kind = 119; if (curChar == 92) jjstateSet[jjnewStateCnt++] = 2; break; case 1: if (curChar == 92) jjstateSet[jjnewStateCnt++] = 2; break; case 2: if (kind > 120) kind = 120; 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); MatchLoop: do { switch(jjstateSet[--i]) { case 0: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 119) kind = 119; break; case 2: if (jjCanMove_0(hiByte, i1, i2, l1, l2) && kind > 120) kind = 120; break; default : break; } } while(i != startsAt); } if (kind != 0x7fffffff) { jjmatchedKind = kind; jjmatchedPos = curPos; kind = 0x7fffffff; } ++curPos; if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt))) return curPos; try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { return curPos; } }}private final int jjStopStringLiteralDfa_4(int pos, long active0){ switch (pos) { default : return -1; }}private final int jjStartNfa_4(int pos, long active0){ return jjMoveNfa_4(jjStopStringLiteralDfa_4(pos, active0), pos + 1);}private final int jjStartNfaWithStates_4(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_4(state, pos + 1);}private final int jjMoveStringLiteralDfa0_4(){ switch(curChar) { case 9: return jjStopAtPos(0, 9); case 12: return jjStopAtPos(0, 11); case 32: return jjStopAtPos(0, 10); default : return jjMoveNfa_4(1, 0); }}private final int jjMoveNfa_4(int startState, int curPos){ int[] nextStates; int startsAt = 0; jjnewStateCnt = 8; 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 ((0x2400L & l) != 0L) { if (kind > 12) kind = 12; } else if (curChar == 35) jjCheckNAddStates(2, 4); if (curChar == 13) jjstateSet[jjnewStateCnt++] = 0; break; case 0: if (curChar == 10 && kind > 12) kind = 12; break; case 2: if ((0x2400L & l) != 0L && kind > 12) kind = 12; break; case 3: if (curChar == 35) jjCheckNAddStates(2, 4); break; case 4: if ((0xffffffffffffdbffL & l) != 0L) jjCheckNAddStates(2, 4); break; case 5: if (curChar == 10 && kind > 17) kind = 17; break; case 6: if (curChar == 13) jjstateSet[jjnewStateCnt++] = 5; break; case 7: if ((0x2400L & l) != 0L && kind > 17) kind = 17; break; default : break; } } while(i != startsAt); } else if (curChar < 128) { long l = 1L << (curChar & 077); MatchLoop: do { switch(jjstateSet[--i]) { case 4: jjAddStates(2, 4); 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); MatchLoop: do { switch(jjstateSet[--i]) { case 4: if (jjCanMove_0(hiByte, i1, i2, l1, l2)) jjAddStates(2, 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_0(int pos, long active0, long active1){ switch (pos) { case 0: if ((active0 & 0xe000000000000000L) != 0L || (active1 & 0x7bdffffL) != 0L) { jjmatchedKind = 91; return 10; } if ((active0 & 0x4000000L) != 0L) return 70; if ((active1 & 0x420000L) != 0L) { jjmatchedKind = 91; return 71; } return -1; case 1: if ((active0 & 0x2000000000000000L) != 0L || (active1 & 0x600000bL) != 0L) return 10; if ((active0 & 0xc000000000000000L) != 0L || (active1 & 0x1fffff4L) != 0L) { if (jjmatchedPos != 1) { jjmatchedKind = 91; jjmatchedPos = 1; } return 10; } return -1; case 2: if ((active1 & 0x3dffa74L) != 0L) { jjmatchedKind = 91; jjmatchedPos = 2; return 10; } if ((active0 & 0xc000000000000000L) != 0L || (active1 & 0x200580L) != 0L) return 10; return -1; case 3: if ((active1 & 0x1104030L) != 0L) return 10; if ((active1 & 0x2cfba44L) != 0L) { jjmatchedKind = 91; jjmatchedPos = 3; return 10; } return -1; case 4: if ((active1 & 0x44a840L) != 0L) return 10; if ((active1 & 0x28b1204L) != 0L) { jjmatchedKind = 91; jjmatchedPos = 4; return 10; } return -1; case 5: if ((active1 & 0x28a0204L) != 0L) return 10; if ((active1 & 0x11000L) != 0L) { jjmatchedKind = 91; jjmatchedPos = 5; return 10; } return -1; case 6: if ((active1 & 0x1000L) != 0L) return 10; if ((active1 & 0x10000L) != 0L) { jjmatchedKind = 91; jjmatchedPos = 6; return 10; } 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 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 jjMoveStringLiteralDfa1_0(0x1000000000000L, 0x0L); case 37: jjmatchedKind = 36; return jjMoveStringLiteralDfa1_0(0x40000000000000L, 0x0L); case 38: jjmatchedKind = 40; return jjMoveStringLiteralDfa1_0(0x80000000000000L, 0x0L); case 40: return jjStopAtPos(0, 18); case 41: return jjStopAtPos(0, 19); case 42: jjmatchedKind = 30; return jjMoveStringLiteralDfa1_0(0x1008000200000000L, 0x0L); case 43: jjmatchedKind = 28; return jjMoveStringLiteralDfa1_0(0x2000000000000L, 0x0L); case 44: return jjStopAtPos(0, 25); case 45: jjmatchedKind = 29; return jjMoveStringLiteralDfa1_0(0x4000000000000L, 0x0L); case 46: return jjStartNfaWithStates_0(0, 26, 70); case 47: jjmatchedKind = 31; return jjMoveStringLiteralDfa1_0(0x30000100000000L, 0x0L); case 58: return jjStopAtPos(0, 27); case 59: return jjStopAtPos(0, 24); case 60: jjmatchedKind = 43; return jjMoveStringLiteralDfa1_0(0x400a00400000000L, 0x0L); case 61: jjmatchedKind = 41; return jjMoveStringLiteralDfa1_0(0x100000000000L, 0x0L); case 62: jjmatchedKind = 42; return jjMoveStringLiteralDfa1_0(0x800400800000000L, 0x0L); case 91: return jjStopAtPos(0, 22); case 93: return jjStopAtPos(0, 23); case 94: jjmatchedKind = 38; return jjMoveStringLiteralDfa1_0(0x200000000000000L, 0x0L); case 96: return jjStopAtPos(0, 121); case 97: return jjMoveStringLiteralDfa1_0(0x4000000000000000L, 0x6000000L); case 98: return jjMoveStringLiteralDfa1_0(0x0L, 0x8000L); case 99: return jjMoveStringLiteralDfa1_0(0x0L, 0x10800L); case 100: return jjMoveStringLiteralDfa1_0(0x0L, 0x200400L); case 101: return jjMoveStringLiteralDfa1_0(0x0L, 0x1000230L); case 102: return jjMoveStringLiteralDfa1_0(0x0L, 0x101080L); case 103: return jjMoveStringLiteralDfa1_0(0x0L, 0x800000L); case 105: return jjMoveStringLiteralDfa1_0(0x0L, 0x8000bL); case 108: return jjMoveStringLiteralDfa1_0(0x0L, 0x4L); case 110: return jjMoveStringLiteralDfa1_0(0x8000000000000000L, 0x0L); case 111: return jjMoveStringLiteralDfa1_0(0x2000000000000000L, 0x0L); case 112: return jjMoveStringLiteralDfa1_0(0x0L, 0x6000L); case 114: return jjMoveStringLiteralDfa1_0(0x0L, 0x420000L); case 116: return jjMoveStringLiteralDfa1_0(0x0L, 0x100L); case 119: return jjMoveStringLiteralDfa1_0(0x0L, 0x40L); case 121: return jjMoveStringLiteralDfa1_0(0x0L, 0x40000L); case 123: return jjStopAtPos(0, 20); case 124: jjmatchedKind = 39; return jjMoveStringLiteralDfa1_0(0x100000000000000L, 0x0L); case 125: return jjStopAtPos(0, 21); case 126: return jjStopAtPos(0, 37); 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 42: if ((active0 & 0x200000000L) != 0L) { jjmatchedKind = 33; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x1000000000000000L, active1, 0L); case 47: if ((active0 & 0x100000000L) != 0L) { jjmatchedKind = 32; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x20000000000000L, active1, 0L); case 60: if ((active0 & 0x400000000L) != 0L) { jjmatchedKind = 34; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x400000000000000L, active1, 0L); case 61: if ((active0 & 0x100000000000L) != 0L) return jjStopAtPos(1, 44); else if ((active0 & 0x200000000000L) != 0L)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -