📄 eqlparsergenericimpltokenmanager.java
字号:
/* * Copyright 2006-2007 Queplix Corp. * * Licensed under the Queplix Public License, Version 1.1.1 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.queplix.com/solutions/commercial-open-source/queplix-public-license/ * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the * License for the specific language governing permissions and limitations under * the License. *//* Generated By:JavaCC: Do not edit this line. EQLParserGenericImplTokenManager.java */package com.queplix.core.modules.eql.parser.generic.jj;public class EQLParserGenericImplTokenManager implements EQLParserGenericImplConstants{ public java.io.PrintStream debugStream = System.out; public void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }private final int jjStopStringLiteralDfa_0(int pos, long active0){ switch (pos) { case 0: if ((active0 & 0x20000000L) != 0L) return 4; if ((active0 & 0x40000000L) != 0L) return 0; if ((active0 & 0x103fffc0L) != 0L) { jjmatchedKind = 36; return 26; } return -1; case 1: if ((active0 & 0x23c00L) != 0L) return 26; if ((active0 & 0x103dc3c0L) != 0L) { if (jjmatchedPos != 1) { jjmatchedKind = 36; jjmatchedPos = 1; } return 26; } return -1; case 2: if ((active0 & 0x103886c0L) != 0L) { jjmatchedKind = 36; jjmatchedPos = 2; return 26; } if ((active0 & 0x54100L) != 0L) return 26; return -1; case 3: if ((active0 & 0x2006c0L) != 0L) { jjmatchedKind = 36; jjmatchedPos = 3; return 26; } if ((active0 & 0x10188000L) != 0L) return 26; return -1; case 4: if ((active0 & 0xc0L) != 0L) { jjmatchedKind = 36; jjmatchedPos = 4; return 26; } if ((active0 & 0x200600L) != 0L) return 26; return -1; case 5: if ((active0 & 0x80L) != 0L) { jjmatchedKind = 36; jjmatchedPos = 5; return 26; } if ((active0 & 0x40L) != 0L) return 26; return -1; case 6: if ((active0 & 0x80L) != 0L) { jjmatchedKind = 36; jjmatchedPos = 6; return 26; } return -1; case 7: if ((active0 & 0x80L) != 0L) { jjmatchedKind = 36; jjmatchedPos = 7; return 26; } 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 jjMoveStringLiteralDfa1_0(0x800000L); case 40: return jjStopAtPos(0, 45); case 41: return jjStopAtPos(0, 46); case 42: jjmatchedKind = 32; return jjMoveStringLiteralDfa1_0(0x40000000000L); case 43: return jjStartNfaWithStates_0(0, 29, 4); case 44: return jjStopAtPos(0, 44); case 45: return jjStartNfaWithStates_0(0, 30, 0); case 47: jjmatchedKind = 31; return jjMoveStringLiteralDfa1_0(0x20000000000L); case 59: return jjStopAtPos(0, 43); case 60: jjmatchedKind = 25; return jjMoveStringLiteralDfa1_0(0x8000000L); case 61: return jjStopAtPos(0, 22); case 62: jjmatchedKind = 24; return jjMoveStringLiteralDfa1_0(0x4000000L); case 63: return jjStopAtPos(0, 33); case 65: case 97: return jjMoveStringLiteralDfa1_0(0x50080L); case 66: case 98: return jjMoveStringLiteralDfa1_0(0x800L); case 68: case 100: return jjMoveStringLiteralDfa1_0(0x80000L); case 70: case 102: return jjMoveStringLiteralDfa1_0(0x200000L); case 73: case 105: return jjMoveStringLiteralDfa1_0(0x3000L); case 76: case 108: return jjMoveStringLiteralDfa1_0(0x10000000L); case 78: case 110: return jjMoveStringLiteralDfa1_0(0xc100L); case 79: case 111: return jjMoveStringLiteralDfa1_0(0x20400L); case 83: case 115: return jjMoveStringLiteralDfa1_0(0x40L); case 84: case 116: return jjMoveStringLiteralDfa1_0(0x100000L); case 87: case 119: return jjMoveStringLiteralDfa1_0(0x200L); default : return jjMoveNfa_0(2, 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 42: if ((active0 & 0x20000000000L) != 0L) return jjStopAtPos(1, 41); break; case 47: if ((active0 & 0x40000000000L) != 0L) return jjStopAtPos(1, 42); break; case 61: if ((active0 & 0x800000L) != 0L) return jjStopAtPos(1, 23); else if ((active0 & 0x4000000L) != 0L) return jjStopAtPos(1, 26); else if ((active0 & 0x8000000L) != 0L) return jjStopAtPos(1, 27); break; case 65: case 97: return jjMoveStringLiteralDfa2_0(active0, 0x200000L); case 69: case 101: return jjMoveStringLiteralDfa2_0(active0, 0x80140L); case 71: case 103: return jjMoveStringLiteralDfa2_0(active0, 0x80L); case 72: case 104: return jjMoveStringLiteralDfa2_0(active0, 0x200L); case 73: case 105: return jjMoveStringLiteralDfa2_0(active0, 0x10000000L); case 78: case 110: if ((active0 & 0x2000L) != 0L) return jjStartNfaWithStates_0(1, 13, 26); return jjMoveStringLiteralDfa2_0(active0, 0x10000L); case 79: case 111: return jjMoveStringLiteralDfa2_0(active0, 0x4000L); case 82: case 114: if ((active0 & 0x20000L) != 0L) { jjmatchedKind = 17; jjmatchedPos = 1; } return jjMoveStringLiteralDfa2_0(active0, 0x100400L); case 83: case 115: if ((active0 & 0x1000L) != 0L) return jjStartNfaWithStates_0(1, 12, 26); return jjMoveStringLiteralDfa2_0(active0, 0x40000L); case 85: case 117: return jjMoveStringLiteralDfa2_0(active0, 0x8000L); case 89: case 121: if ((active0 & 0x800L) != 0L) return jjStartNfaWithStates_0(1, 11, 26); break; 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 67: case 99: if ((active0 & 0x40000L) != 0L) return jjStartNfaWithStates_0(2, 18, 26); break; case 68: case 100: if ((active0 & 0x10000L) != 0L) return jjStartNfaWithStates_0(2, 16, 26); return jjMoveStringLiteralDfa3_0(active0, 0x400L); case 69: case 101: return jjMoveStringLiteralDfa3_0(active0, 0x200L); case 71: case 103: return jjMoveStringLiteralDfa3_0(active0, 0x80L); case 75: case 107: return jjMoveStringLiteralDfa3_0(active0, 0x10000000L); case 76: case 108: return jjMoveStringLiteralDfa3_0(active0, 0x208040L); case 83: case 115: return jjMoveStringLiteralDfa3_0(active0, 0x80000L); case 84: case 116: if ((active0 & 0x4000L) != 0L) return jjStartNfaWithStates_0(2, 14, 26); break; case 85: case 117: return jjMoveStringLiteralDfa3_0(active0, 0x100000L); case 87: case 119: if ((active0 & 0x100L) != 0L) return jjStartNfaWithStates_0(2, 8, 26); break; 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 67: case 99: if ((active0 & 0x80000L) != 0L) return jjStartNfaWithStates_0(3, 19, 26); break; case 69: case 101: if ((active0 & 0x100000L) != 0L) return jjStartNfaWithStates_0(3, 20, 26); else if ((active0 & 0x10000000L) != 0L) return jjStartNfaWithStates_0(3, 28, 26); return jjMoveStringLiteralDfa4_0(active0, 0x440L); case 76: case 108: if ((active0 & 0x8000L) != 0L) return jjStartNfaWithStates_0(3, 15, 26); break; case 82: case 114: return jjMoveStringLiteralDfa4_0(active0, 0x280L); case 83: case 115: return jjMoveStringLiteralDfa4_0(active0, 0x200000L); 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 67: case 99: return jjMoveStringLiteralDfa5_0(active0, 0x40L); case 69: case 101: if ((active0 & 0x200L) != 0L) return jjStartNfaWithStates_0(4, 9, 26); else if ((active0 & 0x200000L) != 0L) return jjStartNfaWithStates_0(4, 21, 26); return jjMoveStringLiteralDfa5_0(active0, 0x80L); case 82: case 114: if ((active0 & 0x400L) != 0L) return jjStartNfaWithStates_0(4, 10, 26); break; 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 71: case 103: return jjMoveStringLiteralDfa6_0(active0, 0x80L); case 84: case 116: if ((active0 & 0x40L) != 0L) return jjStartNfaWithStates_0(5, 6, 26); break; 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 65: case 97: return jjMoveStringLiteralDfa7_0(active0, 0x80L); 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; } switch(curChar) { case 84: case 116: return jjMoveStringLiteralDfa8_0(active0, 0x80L); default : break; } return jjStartNfa_0(6, active0);}private final int jjMoveStringLiteralDfa8_0(long old0, long active0){ if (((active0 &= old0)) == 0L) return jjStartNfa_0(6, old0); try { curChar = input_stream.readChar(); } catch(java.io.IOException e) { jjStopStringLiteralDfa_0(7, active0); return 8; } switch(curChar) { case 69: case 101: if ((active0 & 0x80L) != 0L) return jjStartNfaWithStates_0(8, 7, 26); break; default : break; } return jjStartNfa_0(7, active0);}private final void jjCheckNAdd(int state){ if (jjrounds[state] != jjround) { jjstateSet[jjnewStateCnt++] = state; jjrounds[state] = jjround; }}private final void jjAddStates(int start, int end){ do { jjstateSet[jjnewStateCnt++] = jjnextStates[start]; } while (start++ != end);}private final void jjCheckNAddTwoStates(int state1, int state2){ jjCheckNAdd(state1); jjCheckNAdd(state2);}private final void jjCheckNAddStates(int start, int end){ do { jjCheckNAdd(jjnextStates[start]); } while (start++ != end);}private final void jjCheckNAddStates(int start){
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -