📄 josqlparsertokenmanager.java
字号:
/* Generated By:JavaCC: Do not edit this line. JoSQLParserTokenManager.java */
package org.josql.parser;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import org.josql.Query;
import org.josql.internal.OrderBy;
import org.josql.internal.Limit;
import org.josql.internal.Utilities;
import org.josql.internal.ColumnReference;
import org.josql.expressions.*;
public class JoSQLParserTokenManager implements JoSQLParserConstants
{
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, long active1){
switch (pos) {
case 0:
if ((active0 & 0x2000000000L) != 0L || (active1 & 0x100L) != 0L)
return 12;
if ((active1 & 0x200L) != 0L)
return 25;
if ((active0 & 0x10000000000000L) != 0L)
return 8;
if ((active0 & 0x1fffffffe0L) != 0L)
{
jjmatchedKind = 38;
return 33;
}
return -1;
case 1:
if ((active0 & 0x1fff7bb800L) != 0L)
{
if (jjmatchedPos != 1)
{
jjmatchedKind = 38;
jjmatchedPos = 1;
}
return 33;
}
if ((active0 & 0x8447e0L) != 0L)
return 33;
return -1;
case 2:
if ((active0 & 0x1010007800L) != 0L)
return 33;
if ((active0 & 0xfefff8000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 2;
return 33;
}
return -1;
case 3:
if ((active0 & 0xfcff40000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 3;
return 33;
}
if ((active0 & 0x200b8000L) != 0L)
return 33;
return -1;
case 4:
if ((active0 & 0xa40f00000L) != 0L)
return 33;
if ((active0 & 0x58f040000L) != 0L)
{
if (jjmatchedPos != 4)
{
jjmatchedKind = 38;
jjmatchedPos = 4;
}
return 33;
}
return -1;
case 5:
if ((active0 & 0xa00000000L) != 0L)
{
if (jjmatchedPos != 5)
{
jjmatchedKind = 38;
jjmatchedPos = 5;
}
return 1;
}
if ((active0 & 0x403040000L) != 0L)
return 33;
if ((active0 & 0x18c000000L) != 0L)
{
if (jjmatchedPos != 5)
{
jjmatchedKind = 38;
jjmatchedPos = 5;
}
return 33;
}
return -1;
case 6:
if ((active0 & 0x8000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 6;
return 33;
}
if ((active0 & 0xe00000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 6;
return 1;
}
if ((active0 & 0x184000000L) != 0L)
return 33;
return -1;
case 7:
if ((active0 & 0x8000000L) != 0L)
return 33;
if ((active0 & 0xe00000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 7;
return 1;
}
return -1;
case 8:
if ((active0 & 0xe00000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 8;
return 1;
}
return -1;
case 9:
if ((active0 & 0xe00000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 9;
return 1;
}
return -1;
case 10:
if ((active0 & 0xe00000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 10;
return 1;
}
return -1;
case 11:
if ((active0 & 0xe00000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 11;
return 1;
}
return -1;
case 12:
if ((active0 & 0x200000000L) != 0L)
return 1;
if ((active0 & 0xc00000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 12;
return 1;
}
return -1;
case 13:
if ((active0 & 0x400000000L) != 0L)
return 1;
if ((active0 & 0x800000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 13;
return 1;
}
return -1;
case 14:
if ((active0 & 0x800000000L) != 0L)
{
jjmatchedKind = 38;
jjmatchedPos = 14;
return 1;
}
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:
return jjMoveStringLiteralDfa1_0(0x0L, 0x40L);
case 36:
return jjStopAtPos(0, 63);
case 37:
return jjStopAtPos(0, 74);
case 40:
return jjStopAtPos(0, 59);
case 41:
return jjStopAtPos(0, 60);
case 42:
return jjStopAtPos(0, 56);
case 43:
return jjStopAtPos(0, 71);
case 44:
return jjStopAtPos(0, 55);
case 45:
jjmatchedKind = 72;
return jjMoveStringLiteralDfa1_0(0x2000000000L, 0x0L);
case 46:
return jjStartNfaWithStates_0(0, 52, 8);
case 47:
return jjStartNfaWithStates_0(0, 73, 25);
case 58:
jjmatchedKind = 49;
return jjMoveStringLiteralDfa1_0(0x4000000000000L, 0x0L);
case 59:
return jjStopAtPos(0, 54);
case 60:
jjmatchedKind = 65;
return jjMoveStringLiteralDfa1_0(0x0L, 0x30L);
case 61:
return jjStopAtPos(0, 66);
case 62:
jjmatchedKind = 64;
return jjMoveStringLiteralDfa1_0(0x0L, 0x8L);
case 63:
return jjStopAtPos(0, 51);
case 64:
return jjStopAtPos(0, 53);
case 91:
return jjStopAtPos(0, 57);
case 93:
return jjStopAtPos(0, 58);
case 65:
case 97:
return jjMoveStringLiteralDfa1_0(0x5820L, 0x0L);
case 66:
case 98:
return jjMoveStringLiteralDfa1_0(0x4000040L, 0x0L);
case 68:
case 100:
return jjMoveStringLiteralDfa1_0(0x8008000L, 0x0L);
case 69:
case 101:
return jjMoveStringLiteralDfa1_0(0x80000000L, 0x0L);
case 70:
case 102:
return jjMoveStringLiteralDfa1_0(0x40080000L, 0x0L);
case 71:
case 103:
return jjMoveStringLiteralDfa1_0(0x800200000L, 0x0L);
case 72:
case 104:
return jjMoveStringLiteralDfa1_0(0x402000000L, 0x0L);
case 73:
case 105:
return jjMoveStringLiteralDfa1_0(0x40180L, 0x0L);
case 76:
case 108:
return jjMoveStringLiteralDfa1_0(0x420000L, 0x0L);
case 78:
case 110:
return jjMoveStringLiteralDfa1_0(0x1000012000L, 0x0L);
case 79:
case 111:
return jjMoveStringLiteralDfa1_0(0x800600L, 0x0L);
case 82:
case 114:
return jjMoveStringLiteralDfa1_0(0x100000000L, 0x0L);
case 83:
case 115:
return jjMoveStringLiteralDfa1_0(0x1000000L, 0x0L);
case 84:
case 116:
return jjMoveStringLiteralDfa1_0(0x20000000L, 0x0L);
case 85:
case 117:
return jjMoveStringLiteralDfa1_0(0x10000000L, 0x0L);
case 87:
case 119:
return jjMoveStringLiteralDfa1_0(0x200100000L, 0x0L);
case 123:
return jjStopAtPos(0, 61);
case 125:
return jjStopAtPos(0, 62);
default :
return jjMoveNfa_0(2, 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 61:
if ((active1 & 0x8L) != 0L)
return jjStopAtPos(1, 67);
else if ((active1 & 0x10L) != 0L)
return jjStopAtPos(1, 68);
else if ((active1 & 0x40L) != 0L)
return jjStopAtPos(1, 70);
break;
case 62:
if ((active0 & 0x2000000000L) != 0L)
return jjStopAtPos(1, 37);
else if ((active1 & 0x20L) != 0L)
return jjStopAtPos(1, 69);
break;
case 95:
if ((active0 & 0x4000000000000L) != 0L)
return jjStopAtPos(1, 50);
break;
case 65:
case 97:
return jjMoveStringLiteralDfa2_0(active0, 0x442000000L, active1, 0L);
case 69:
case 101:
return jjMoveStringLiteralDfa2_0(active0, 0x1105008000L, active1, 0L);
case 72:
case 104:
return jjMoveStringLiteralDfa2_0(active0, 0x200100000L, active1, 0L);
case 73:
case 105:
return jjMoveStringLiteralDfa2_0(active0, 0x8420000L, active1, 0L);
case 76:
case 108:
return jjMoveStringLiteralDfa2_0(active0, 0x800L, active1, 0L);
case 78:
case 110:
if ((active0 & 0x100L) != 0L)
{
jjmatchedKind = 8;
jjmatchedPos = 1;
}
else if ((active0 & 0x400L) != 0L)
return jjStartNfaWithStates_0(1, 10, 33);
return jjMoveStringLiteralDfa2_0(active0, 0x41000L, active1, 0L);
case 79:
case 111:
return jjMoveStringLiteralDfa2_0(active0, 0x2000L, active1, 0L);
case 82:
case 114:
if ((active0 & 0x200L) != 0L)
{
jjmatchedKind = 9;
jjmatchedPos = 1;
}
return jjMoveStringLiteralDfa2_0(active0, 0x820a80000L, active1, 0L);
case 83:
case 115:
if ((active0 & 0x20L) != 0L)
{
jjmatchedKind = 5;
jjmatchedPos = 1;
}
else if ((active0 & 0x80L) != 0L)
return jjStartNfaWithStates_0(1, 7, 33);
return jjMoveStringLiteralDfa2_0(active0, 0x10004000L, active1, 0L);
case 85:
case 117:
return jjMoveStringLiteralDfa2_0(active0, 0x10000L, active1, 0L);
case 88:
case 120:
return jjMoveStringLiteralDfa2_0(active0, 0x80000000L, active1, 0L);
case 89:
case 121:
if ((active0 & 0x40L) != 0L)
return jjStartNfaWithStates_0(1, 6, 33);
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, 0L);
return 2;
}
switch(curChar)
{
case 67:
case 99:
if ((active0 & 0x4000L) != 0L)
return jjStartNfaWithStates_0(2, 14, 33);
break;
case 68:
case 100:
if ((active0 & 0x1000L) != 0L)
return jjStartNfaWithStates_0(2, 12, 33);
return jjMoveStringLiteralDfa3_0(active0, 0x800000L);
case 69:
case 101:
if ((active0 & 0x10000000L) != 0L)
return jjStartNfaWithStates_0(2, 28, 33);
return jjMoveStringLiteralDfa3_0(active0, 0x280100000L);
case 75:
case 107:
return jjMoveStringLiteralDfa3_0(active0, 0x20000L);
case 76:
case 108:
if ((active0 & 0x800L) != 0L)
return jjStartNfaWithStates_0(2, 11, 33);
return jjMoveStringLiteralDfa3_0(active0, 0x41050000L);
case 77:
case 109:
return jjMoveStringLiteralDfa3_0(active0, 0x400000L);
case 79:
case 111:
return jjMoveStringLiteralDfa3_0(active0, 0x800280000L);
case 83:
case 115:
return jjMoveStringLiteralDfa3_0(active0, 0x108008000L);
case 84:
case 116:
if ((active0 & 0x2000L) != 0L)
return jjStartNfaWithStates_0(2, 13, 33);
return jjMoveStringLiteralDfa3_0(active0, 0x4000000L);
case 85:
case 117:
return jjMoveStringLiteralDfa3_0(active0, 0x20000000L);
case 86:
case 118:
return jjMoveStringLiteralDfa3_0(active0, 0x402000000L);
case 87:
case 119:
if ((active0 & 0x1000000000L) != 0L)
return jjStartNfaWithStates_0(2, 36, 33);
break;
default :
break;
}
return jjStartNfa_0(1, active0, 0L);
}
private final int jjMoveStringLiteralDfa3_0(long old0, long active0)
{
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(1, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(2, active0, 0L);
return 3;
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -