📄 psqltokenmanager.java
字号:
/* Generated By:JavaCC: Do not edit this line. PSQLTokenManager.java */package pier.parsers.PSQL;import org.apache.log4j.Logger;import pier.logical.*;import pier.parsers.ParseException;import pier.parsers.Parser;import pier.parsers.SimpleCharStream;import pier.parsers.Token;import pier.parsers.TokenMgrError;import services.Output;import java.util.Set;import java.util.HashSet;import java.util.Iterator;import java.lang.reflect.Constructor;import java.net.InetSocketAddress;import util.logging.LogMessage;import pier.query.QueryPlan;public class PSQLTokenManager implements PSQLConstants{ 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 & 0x10000000L) != 0L) return 6; if ((active0 & 0xbfffeL) != 0L) { jjmatchedKind = 21; return 1; } return -1; case 1: if ((active0 & 0xaa0L) != 0L) return 1; if ((active0 & 0xbf55eL) != 0L) { jjmatchedKind = 21; jjmatchedPos = 1; return 1; } return -1; case 2: if ((active0 & 0x8345eL) != 0L) { jjmatchedKind = 21; jjmatchedPos = 2; return 1; } if ((active0 & 0x3c100L) != 0L) return 1; return -1; case 3: if ((active0 & 0x404L) != 0L) return 1; if ((active0 & 0x8305aL) != 0L) { jjmatchedKind = 21; jjmatchedPos = 3; return 1; } return -1; case 4: if ((active0 & 0x81042L) != 0L) { jjmatchedKind = 21; jjmatchedPos = 4; return 1; } if ((active0 & 0x2018L) != 0L) return 1; return -1; case 5: if ((active0 & 0x81000L) != 0L) { jjmatchedKind = 21; jjmatchedPos = 5; return 1; } if ((active0 & 0x42L) != 0L) return 1; return -1; case 6: if ((active0 & 0x81000L) != 0L) { jjmatchedKind = 21; jjmatchedPos = 6; return 1; } return -1; case 7: if ((active0 & 0x80000L) != 0L) { jjmatchedKind = 21; jjmatchedPos = 7; return 1; } if ((active0 & 0x1000L) != 0L) return 1; return -1; case 8: if ((active0 & 0x80000L) != 0L) { jjmatchedKind = 21; jjmatchedPos = 8; return 1; } 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 40: return jjStopAtPos(0, 30); case 41: return jjStopAtPos(0, 31); case 42: return jjStopAtPos(0, 20); case 44: return jjStopAtPos(0, 27); case 46: return jjStartNfaWithStates_0(0, 28, 6); case 58: jjmatchedKind = 29; return jjMoveStringLiteralDfa1_0(0x40000L); case 65: case 97: return jjMoveStringLiteralDfa1_0(0x20180L); case 66: case 98: return jjMoveStringLiteralDfa1_0(0x20L); case 67: case 99: return jjMoveStringLiteralDfa1_0(0x82000L); case 68: case 100: return jjMoveStringLiteralDfa1_0(0x1000L); case 70: case 102: return jjMoveStringLiteralDfa1_0(0x4L); case 71: case 103: return jjMoveStringLiteralDfa1_0(0x10L); case 72: case 104: return jjMoveStringLiteralDfa1_0(0x40L); case 77: case 109: return jjMoveStringLiteralDfa1_0(0x18000L); case 79: case 111: return jjMoveStringLiteralDfa1_0(0x200L); case 83: case 115: return jjMoveStringLiteralDfa1_0(0x4402L); case 84: case 116: return jjMoveStringLiteralDfa1_0(0x800L); case 87: case 119: return jjMoveStringLiteralDfa1_0(0x8L); default : return jjMoveNfa_0(0, 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 58: if ((active0 & 0x40000L) != 0L) return jjStopAtPos(1, 18); break; case 65: case 97: return jjMoveStringLiteralDfa2_0(active0, 0x10040L); case 69: case 101: return jjMoveStringLiteralDfa2_0(active0, 0x402L); case 72: case 104: return jjMoveStringLiteralDfa2_0(active0, 0x8L); case 73: case 105: return jjMoveStringLiteralDfa2_0(active0, 0x9000L); case 78: case 110: return jjMoveStringLiteralDfa2_0(active0, 0x100L); case 79: case 111: if ((active0 & 0x800L) != 0L) return jjStartNfaWithStates_0(1, 11, 1); return jjMoveStringLiteralDfa2_0(active0, 0x2000L); case 82: case 114: if ((active0 & 0x200L) != 0L) return jjStartNfaWithStates_0(1, 9, 1); return jjMoveStringLiteralDfa2_0(active0, 0x14L); case 83: case 115: if ((active0 & 0x80L) != 0L) return jjStartNfaWithStates_0(1, 7, 1); return jjMoveStringLiteralDfa2_0(active0, 0x80000L); case 85: case 117: return jjMoveStringLiteralDfa2_0(active0, 0x4000L); case 86: case 118: return jjMoveStringLiteralDfa2_0(active0, 0x20000L); case 89: case 121: if ((active0 & 0x20L) != 0L) return jjStartNfaWithStates_0(1, 5, 1); 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 68: case 100: if ((active0 & 0x100L) != 0L) return jjStartNfaWithStates_0(2, 8, 1); break; case 69: case 101: return jjMoveStringLiteralDfa3_0(active0, 0x8L); case 71: case 103: if ((active0 & 0x20000L) != 0L) return jjStartNfaWithStates_0(2, 17, 1); break; case 76: case 108: return jjMoveStringLiteralDfa3_0(active0, 0x2L); case 77: case 109: if ((active0 & 0x4000L) != 0L) return jjStartNfaWithStates_0(2, 14, 1); break; case 78: case 110: if ((active0 & 0x8000L) != 0L) return jjStartNfaWithStates_0(2, 15, 1); return jjMoveStringLiteralDfa3_0(active0, 0x400L); case 79: case 111: return jjMoveStringLiteralDfa3_0(active0, 0x14L); case 83: case 115: return jjMoveStringLiteralDfa3_0(active0, 0x1000L); case 85: case 117: return jjMoveStringLiteralDfa3_0(active0, 0x2000L); case 86: case 118: return jjMoveStringLiteralDfa3_0(active0, 0x80040L); case 88: case 120: if ((active0 & 0x10000L) != 0L) return jjStartNfaWithStates_0(2, 16, 1); 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 68: case 100: if ((active0 & 0x400L) != 0L) return jjStartNfaWithStates_0(3, 10, 1); break; case 69: case 101: return jjMoveStringLiteralDfa4_0(active0, 0x2L); case 73: case 105: return jjMoveStringLiteralDfa4_0(active0, 0x40L); case 77: case 109: if ((active0 & 0x4L) != 0L) return jjStartNfaWithStates_0(3, 2, 1); break; case 78: case 110: return jjMoveStringLiteralDfa4_0(active0, 0x2000L); case 80: case 112: return jjMoveStringLiteralDfa4_0(active0, 0x80000L); case 82: case 114: return jjMoveStringLiteralDfa4_0(active0, 0x8L); case 84: case 116: return jjMoveStringLiteralDfa4_0(active0, 0x1000L); case 85: case 117: return jjMoveStringLiteralDfa4_0(active0, 0x10L); 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 65: case 97: return jjMoveStringLiteralDfa5_0(active0, 0x80000L); case 67: case 99: return jjMoveStringLiteralDfa5_0(active0, 0x2L); case 69: case 101: if ((active0 & 0x8L) != 0L) return jjStartNfaWithStates_0(4, 3, 1); break; case 73: case 105: return jjMoveStringLiteralDfa5_0(active0, 0x1000L); case 78: case 110: return jjMoveStringLiteralDfa5_0(active0, 0x40L); case 80: case 112: if ((active0 & 0x10L) != 0L) return jjStartNfaWithStates_0(4, 4, 1); break; case 84: case 116: if ((active0 & 0x2000L) != 0L) return jjStartNfaWithStates_0(4, 13, 1); 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: if ((active0 & 0x40L) != 0L) return jjStartNfaWithStates_0(5, 6, 1); break; case 78: case 110: return jjMoveStringLiteralDfa6_0(active0, 0x1000L); case 82: case 114: return jjMoveStringLiteralDfa6_0(active0, 0x80000L); case 84: case 116: if ((active0 & 0x2L) != 0L) return jjStartNfaWithStates_0(5, 1, 1); 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 67: case 99: return jjMoveStringLiteralDfa7_0(active0, 0x1000L); case 83: case 115:
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -