⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 axionsqlparsertokenmanager.java

📁 开源的axion的数据库代码
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/* Generated By:JavaCC: Do not edit this line. AxionSqlParserTokenManager.java */package org.axiondb.parser;import org.axiondb.*;import org.axiondb.constraints.*;import org.axiondb.types.*;import org.axiondb.functions.*;import org.axiondb.expression.*;import org.axiondb.engine.commands.*;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;import java.io.InputStream;import java.io.ByteArrayInputStream;import java.util.*;public class AxionSqlParserTokenManager implements AxionSqlParserConstants{  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 ((active1 & 0x80000000L) != 0L)            return 0;         if ((active1 & 0x20000L) != 0L)            return 14;         if ((active1 & 0x20000000L) != 0L)            return 6;         if ((active0 & 0xffffffffffffff80L) != 0L || (active1 & 0x3fL) != 0L)         {            jjmatchedKind = 74;            return 43;         }         return -1;      case 1:         if ((active0 & 0xe01fd00004000L) != 0L)            return 43;         if ((active0 & 0xfff1fe02ffffbf80L) != 0L || (active1 & 0x3fL) != 0L)         {            if (jjmatchedPos != 1)            {               jjmatchedKind = 74;               jjmatchedPos = 1;            }            return 43;         }         return -1;      case 2:         if ((active0 & 0xfdf9bafafbffb200L) != 0L || (active1 & 0x3fL) != 0L)         {            jjmatchedKind = 74;            jjmatchedPos = 2;            return 43;         }         if ((active0 & 0x200440004000d80L) != 0L)            return 43;         return -1;      case 3:         if ((active0 & 0x60009a8023408000L) != 0L || (active1 & 0x2aL) != 0L)            return 43;         if ((active0 & 0x9df9207ad8bf3200L) != 0L || (active1 & 0x15L) != 0L)         {            jjmatchedKind = 74;            jjmatchedPos = 3;            return 43;         }         return -1;      case 4:         if ((active0 & 0x1058203050011200L) != 0L || (active1 & 0x10L) != 0L)            return 43;         if ((active0 & 0x8da1004a88be2000L) != 0L || (active1 & 0x5L) != 0L)         {            jjmatchedKind = 74;            jjmatchedPos = 4;            return 43;         }         return -1;      case 5:         if ((active0 & 0x8481004088220000L) != 0L || (active1 & 0x5L) != 0L)            return 43;         if ((active0 & 0x920000a009c2000L) != 0L)         {            jjmatchedKind = 74;            jjmatchedPos = 5;            return 43;         }         return -1;      case 6:         if ((active0 & 0x820000000002000L) != 0L)            return 43;         if ((active0 & 0x100000a009c0000L) != 0L)         {            jjmatchedKind = 74;            jjmatchedPos = 6;            return 43;         }         return -1;      case 7:         if ((active0 & 0x100000000880000L) != 0L)            return 43;         if ((active0 & 0xa00140000L) != 0L)         {            jjmatchedKind = 74;            jjmatchedPos = 7;            return 43;         }         return -1;      case 8:         if ((active0 & 0xa00000000L) != 0L)            return 43;         if ((active0 & 0x140000L) != 0L)         {            jjmatchedKind = 74;            jjmatchedPos = 8;            return 43;         }         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, 0x800000L);      case 40:         jjmatchedKind = 90;         return jjMoveStringLiteralDfa1_0(0x0L, 0x2000000L);      case 41:         return jjStopAtPos(0, 91);      case 42:         return jjStopAtPos(0, 92);      case 43:         return jjStopAtPos(0, 94);      case 44:         return jjStopAtPos(0, 78);      case 45:         return jjStartNfaWithStates_0(0, 95, 0);      case 46:         return jjStartNfaWithStates_0(0, 81, 14);      case 47:         return jjStartNfaWithStates_0(0, 93, 6);      case 58:         return jjMoveStringLiteralDfa1_0(0x0L, 0x2000L);      case 59:         return jjStopAtPos(0, 80);      case 60:         jjmatchedKind = 82;         return jjMoveStringLiteralDfa1_0(0x0L, 0x1080000L);      case 61:         return jjStopAtPos(0, 86);      case 62:         jjmatchedKind = 84;         return jjMoveStringLiteralDfa1_0(0x0L, 0x200000L);      case 63:         return jjStopAtPos(0, 96);      case 65:      case 97:         return jjMoveStringLiteralDfa1_0(0xf80L, 0x0L);      case 66:      case 98:         return jjMoveStringLiteralDfa1_0(0x7000L, 0x0L);      case 67:      case 99:         return jjMoveStringLiteralDfa1_0(0x78000L, 0x0L);      case 68:      case 100:         return jjMoveStringLiteralDfa1_0(0x1f80000L, 0x0L);      case 69:      case 101:         return jjMoveStringLiteralDfa1_0(0xe000000L, 0x0L);      case 70:      case 102:         return jjMoveStringLiteralDfa1_0(0x30000000L, 0x0L);      case 71:      case 103:         return jjMoveStringLiteralDfa1_0(0x40000000L, 0x0L);      case 72:      case 104:         return jjMoveStringLiteralDfa1_0(0x80000000L, 0x0L);      case 73:      case 105:         return jjMoveStringLiteralDfa1_0(0x1ff00000000L, 0x0L);      case 74:      case 106:         return jjMoveStringLiteralDfa1_0(0x20000000000L, 0x0L);      case 75:      case 107:         return jjMoveStringLiteralDfa1_0(0x40000000000L, 0x0L);      case 76:      case 108:         return jjMoveStringLiteralDfa1_0(0x380000000000L, 0x0L);      case 78:      case 110:         return jjMoveStringLiteralDfa1_0(0xc00000000000L, 0x0L);      case 79:      case 111:         return jjMoveStringLiteralDfa1_0(0x1f000000000000L, 0x0L);      case 80:      case 112:         return jjMoveStringLiteralDfa1_0(0x20000000000000L, 0x0L);      case 82:      case 114:         return jjMoveStringLiteralDfa1_0(0x40000000000000L, 0x0L);      case 83:      case 115:         return jjMoveStringLiteralDfa1_0(0xf80000000000000L, 0x0L);      case 84:      case 116:         return jjMoveStringLiteralDfa1_0(0x7000000000000000L, 0x0L);      case 85:      case 117:         return jjMoveStringLiteralDfa1_0(0x8000000000000000L, 0x3L);      case 86:      case 118:         return jjMoveStringLiteralDfa1_0(0x0L, 0x4L);      case 87:      case 119:         return jjMoveStringLiteralDfa1_0(0x0L, 0x38L);      case 124:         return jjMoveStringLiteralDfa1_0(0x0L, 0x8000L);      default :         return jjMoveNfa_0(5, 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 43:         return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x2000000L);      case 61:         if ((active1 & 0x2000L) != 0L)            return jjStopAtPos(1, 77);         else if ((active1 & 0x80000L) != 0L)            return jjStopAtPos(1, 83);         else if ((active1 & 0x200000L) != 0L)            return jjStopAtPos(1, 85);         else if ((active1 & 0x800000L) != 0L)            return jjStopAtPos(1, 87);         break;      case 62:         if ((active1 & 0x1000000L) != 0L)            return jjStopAtPos(1, 88);         break;      case 65:      case 97:         return jjMoveStringLiteralDfa2_0(active0, 0x1000000090008000L, active1, 0x4L);      case 68:      case 100:         return jjMoveStringLiteralDfa2_0(active0, 0x80L, active1, 0L);      case 69:      case 101:         return jjMoveStringLiteralDfa2_0(active0, 0x3800c0000783000L, active1, 0L);      case 70:      case 102:         if ((active0 & 0x100000000L) != 0L)            return jjStartNfaWithStates_0(1, 32, 43);         return jjMoveStringLiteralDfa2_0(active0, 0x1000000000000L, active1, 0L);      case 72:      case 104:         return jjMoveStringLiteralDfa2_0(active0, 0x2000000000010000L, active1, 0x18L);      case 73:      case 105:         return jjMoveStringLiteralDfa2_0(active0, 0x40300000800000L, active1, 0x20L);      case 76:      case 108:         return jjMoveStringLiteralDfa2_0(active0, 0x2000300L, active1, 0L);      case 77:      case 109:         return jjMoveStringLiteralDfa2_0(active0, 0x200000000L, active1, 0L);      case 78:      case 110:         if ((active0 & 0x400000000L) != 0L)         {            jjmatchedKind = 34;            jjmatchedPos = 1;         }         else if ((active0 & 0x2000000000000L) != 0L)            return jjStartNfaWithStates_0(1, 49, 43);         return jjMoveStringLiteralDfa2_0(active0, 0x800000f804000400L, active1, 0L);      case 79:      case 111:         return jjMoveStringLiteralDfa2_0(active0, 0x420000040000L, active1, 0L);      case 80:      case 112:         return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x1L);      case 82:      case 114:         if ((active0 & 0x4000000000000L) != 0L)         {            jjmatchedKind = 50;            jjmatchedPos = 1;         }         return jjMoveStringLiteralDfa2_0(active0, 0x4028000061020000L, active1, 0L);      case 83:      case 115:         if ((active0 & 0x10000000000L) != 0L)            return jjStartNfaWithStates_0(1, 40, 43);         return jjMoveStringLiteralDfa2_0(active0, 0x800L, active1, 0x2L);      case 84:      case 116:         return jjMoveStringLiteralDfa2_0(active0, 0x400000000000000L, active1, 0L);      case 85:      case 117:         return jjMoveStringLiteralDfa2_0(active0, 0x10800000000000L, active1, 0L);      case 88:      case 120:         return jjMoveStringLiteralDfa2_0(active0, 0x8000000L, active1, 0L);      case 89:      case 121:         if ((active0 & 0x4000L) != 0L)            return jjStartNfaWithStates_0(1, 14, 43);         return jjMoveStringLiteralDfa2_0(active0, 0x800000000000000L, active1, 0L);      case 124:         if ((active1 & 0x8000L) != 0L)            return jjStopAtPos(1, 79);         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 41:         if ((active1 & 0x2000000L) != 0L)            return jjStopAtPos(2, 89);         break;      case 65:      case 97:         return jjMoveStringLiteralDfa3_0(active0, 0x400000000000000L, active1, 0L);      case 66:      case 98:         return jjMoveStringLiteralDfa3_0(active0, 0x1000000000000000L, active1, 0L);      case 67:      case 99:         if ((active0 & 0x800L) != 0L)            return jjStartNfaWithStates_0(2, 11, 43);         break;      case 68:      case 100:         if ((active0 & 0x80L) != 0L)            return jjStartNfaWithStates_0(2, 7, 43);         else if ((active0 & 0x400L) != 0L)            return jjStartNfaWithStates_0(2, 10, 43);         else if ((active0 & 0x4000000L) != 0L)            return jjStartNfaWithStates_0(2, 26, 43);         return jjMoveStringLiteralDfa3_0(active0, 0x8001000000000L, active1, 0x1L);      case 69:      case 101:         return jjMoveStringLiteralDfa3_0(active0, 0x2000000000030000L, active1, 0x1aL);      case 70:      case 102:         return jjMoveStringLiteralDfa3_0(active0, 0x1080000180000L, active1, 0L);      case 71:      case 103:         return jjMoveStringLiteralDfa3_0(active0, 0x40000000001000L, active1, 0L);      case 73:      case 105:         return jjMoveStringLiteralDfa3_0(active0, 0x8020020808000000L, active1, 0L);      case 75:      case 107:         return jjMoveStringLiteralDfa3_0(active0, 0x100000000000L, active1, 0L);      case 76:      case 108:         if ((active0 & 0x100L) != 0L)            return jjStartNfaWithStates_0(2, 8, 43);         return jjMoveStringLiteralDfa3_0(active0, 0x80800010200000L, active1, 0x4L);      case 77:      case 109:         return jjMoveStringLiteralDfa3_0(active0, 0x200200000000L, active1, 0L);      case 78:      case 110:         return jjMoveStringLiteralDfa3_0(active0, 0x2000040000L, active1, 0L);      case 79:      case 111:         return jjMoveStringLiteralDfa3_0(active0, 0x61000000L, active1, 0L);      case 81:      case 113:         return jjMoveStringLiteralDfa3_0(active0, 0x100000000000000L, active1, 0L);      case 83:      case 115:         return jjMoveStringLiteralDfa3_0(active0, 0x800004002c08000L, active1, 0L);      case 84:      case 116:         if ((active0 & 0x400000000000L) != 0L)            return jjStartNfaWithStates_0(2, 46, 43);         else if ((active0 & 0x200000000000000L) != 0L)            return jjStartNfaWithStates_0(2, 57, 43);         return jjMoveStringLiteralDfa3_0(active0, 0x10008000002200L, active1, 0x20L);      case 85:      case 117:         return jjMoveStringLiteralDfa3_0(active0, 0x4000000000000000L, active1, 0L);      case 86:      case 118:         return jjMoveStringLiteralDfa3_0(active0, 0x80000000L, active1, 0L);      case 89:      case 121:         if ((active0 & 0x40000000000L) != 0L)            return jjStartNfaWithStates_0(2, 42, 43);         break;      default :         break;   }   return jjStartNfa_0(1, active0, active1);}private final int jjMoveStringLiteralDfa3_0(long old0, long active0, long old1, long active1){   if (((active0 &= old0) | (active1 &= old1)) == 0L)      return jjStartNfa_0(1, old0, old1);    try { curChar = input_stream.readChar(); }   catch(java.io.IOException e) {      jjStopStringLiteralDfa_0(2, active0, active1);      return 3;   }   switch(curChar)   {      case 65:      case 97:         return jjMoveStringLiteralDfa4_0(active0, 0x20000L, active1, 0x1L);      case 67:      case 99:         if ((active0 & 0x400000L) != 0L)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -