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

📄 rqlparsertokenmanager.java

📁 这是外国一个开源推理机
💻 JAVA
📖 第 1 页 / 共 3 页
字号:
/* Generated By:JavaCC: Do not edit this line. RqlParserTokenManager.java */package org.openrdf.sesame.query.rql.parser;public class RqlParserTokenManager implements RqlParserConstants{  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 & 0xffffffe000000L) != 0L)         {            jjmatchedKind = 52;            return 30;         }         if ((active0 & 0x400000L) != 0L)            return 14;         if ((active0 & 0x100000L) != 0L)            return 31;         if ((active0 & 0x800000L) != 0L)            return 32;         return -1;      case 1:         if ((active0 & 0xd7bfffe000000L) != 0L)         {            if (jjmatchedPos != 1)            {               jjmatchedKind = 52;               jjmatchedPos = 1;            }            return 30;         }         if ((active0 & 0x2840000000000L) != 0L)            return 30;         return -1;      case 2:         if ((active0 & 0xf71fffe000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 2;            return 30;         }         if ((active0 & 0xa0000000000L) != 0L)            return 30;         return -1;      case 3:         if ((active0 & 0x7617ffa000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 3;            return 30;         }         if ((active0 & 0x8108004000000L) != 0L)            return 30;         return -1;      case 4:         if ((active0 & 0x2603fa2000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 4;            return 30;         }         if ((active0 & 0x5014058000000L) != 0L)            return 30;         return -1;      case 5:         if ((active0 & 0x2001ea0000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 5;            return 30;         }         if ((active0 & 0x602102000000L) != 0L)            return 30;         return -1;      case 6:         if ((active0 & 0x2001ea0000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 6;            return 30;         }         return -1;      case 7:         if ((active0 & 0x2001e20000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 7;            return 30;         }         if ((active0 & 0x80000000L) != 0L)            return 30;         return -1;      case 8:         if ((active0 & 0x2000020000000L) != 0L)            return 30;         if ((active0 & 0x1e00000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 8;            return 30;         }         return -1;      case 9:         if ((active0 & 0x200000000L) != 0L)            return 30;         if ((active0 & 0x1c00000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 9;            return 30;         }         return -1;      case 10:         if ((active0 & 0x1c00000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 10;            return 30;         }         return -1;      case 11:         if ((active0 & 0x400000000L) != 0L)            return 30;         if ((active0 & 0x1800000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 11;            return 30;         }         return -1;      case 12:         if ((active0 & 0x800000000L) != 0L)            return 30;         if ((active0 & 0x1000000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 12;            return 30;         }         return -1;      case 13:         if ((active0 & 0x1000000000L) != 0L)         {            jjmatchedKind = 52;            jjmatchedPos = 13;            return 30;         }         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(0x400L);      case 34:         return jjStartNfaWithStates_0(0, 23, 32);      case 38:         return jjStopAtPos(0, 11);      case 39:         return jjStartNfaWithStates_0(0, 22, 14);      case 40:         return jjStopAtPos(0, 12);      case 41:         return jjStopAtPos(0, 13);      case 42:         return jjStopAtPos(0, 18);      case 44:         return jjStopAtPos(0, 19);      case 46:         return jjStartNfaWithStates_0(0, 20, 31);      case 58:         return jjStopAtPos(0, 21);      case 60:         jjmatchedKind = 5;         return jjMoveStringLiteralDfa1_0(0x40L);      case 61:         return jjStopAtPos(0, 7);      case 62:         jjmatchedKind = 9;         return jjMoveStringLiteralDfa1_0(0x100L);      case 91:         return jjStopAtPos(0, 16);      case 93:         return jjStopAtPos(0, 17);      case 94:         return jjStopAtPos(0, 24);      case 65:      case 97:         return jjMoveStringLiteralDfa1_0(0x20000000000L);      case 67:      case 99:         return jjMoveStringLiteralDfa1_0(0x40000000L);      case 68:      case 100:         return jjMoveStringLiteralDfa1_0(0x2000000000L);      case 69:      case 101:         return jjMoveStringLiteralDfa1_0(0x200000000000L);      case 70:      case 102:         return jjMoveStringLiteralDfa1_0(0x410004000000L);      case 73:      case 105:         return jjMoveStringLiteralDfa1_0(0x2800000000000L);      case 76:      case 108:         return jjMoveStringLiteralDfa1_0(0x100000000000L);      case 77:      case 109:         return jjMoveStringLiteralDfa1_0(0x4000000000000L);      case 78:      case 110:         return jjMoveStringLiteralDfa1_0(0x8080020000000L);      case 79:      case 111:         return jjMoveStringLiteralDfa1_0(0x40000000000L);      case 80:      case 112:         return jjMoveStringLiteralDfa1_0(0x80000000L);      case 82:      case 114:         return jjMoveStringLiteralDfa1_0(0x4000000000L);      case 83:      case 115:         return jjMoveStringLiteralDfa1_0(0x1e02000000L);      case 84:      case 116:         return jjMoveStringLiteralDfa1_0(0x8100000000L);      case 85:      case 117:         return jjMoveStringLiteralDfa1_0(0x1000010000000L);      case 87:      case 119:         return jjMoveStringLiteralDfa1_0(0x8000000L);      case 123:         return jjStopAtPos(0, 14);      case 125:         return jjStopAtPos(0, 15);      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 61:         if ((active0 & 0x40L) != 0L)            return jjStopAtPos(1, 6);         else if ((active0 & 0x100L) != 0L)            return jjStopAtPos(1, 8);         else if ((active0 & 0x400L) != 0L)            return jjStopAtPos(1, 10);         break;      case 65:      case 97:         return jjMoveStringLiteralDfa2_0(active0, 0x14020000000L);      case 69:      case 101:         return jjMoveStringLiteralDfa2_0(active0, 0x2000000L);      case 72:      case 104:         return jjMoveStringLiteralDfa2_0(active0, 0x8000000L);      case 73:      case 105:         return jjMoveStringLiteralDfa2_0(active0, 0x4100000000000L);      case 76:      case 108:         return jjMoveStringLiteralDfa2_0(active0, 0x40000000L);      case 78:      case 110:         if ((active0 & 0x800000000000L) != 0L)         {            jjmatchedKind = 47;            jjmatchedPos = 1;         }         return jjMoveStringLiteralDfa2_0(active0, 0x3020000000000L);      case 79:      case 111:         return jjMoveStringLiteralDfa2_0(active0, 0x482000000000L);      case 82:      case 114:         if ((active0 & 0x40000000000L) != 0L)            return jjStartNfaWithStates_0(1, 42, 30);         return jjMoveStringLiteralDfa2_0(active0, 0x8084000000L);      case 83:      case 115:         return jjMoveStringLiteralDfa2_0(active0, 0x10000000L);      case 85:      case 117:         return jjMoveStringLiteralDfa2_0(active0, 0x8001e00000000L);      case 88:      case 120:         return jjMoveStringLiteralDfa2_0(active0, 0x200000000000L);      case 89:      case 121:         return jjMoveStringLiteralDfa2_0(active0, 0x100000000L);      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 65:      case 97:         return jjMoveStringLiteralDfa3_0(active0, 0x40000000L);      case 66:      case 98:         return jjMoveStringLiteralDfa3_0(active0, 0xa00000000L);      case 68:      case 100:         if ((active0 & 0x20000000000L) != 0L)            return jjStartNfaWithStates_0(2, 41, 30);         break;      case 69:      case 101:         return jjMoveStringLiteralDfa3_0(active0, 0x8000000L);      case 73:      case 105:         return jjMoveStringLiteralDfa3_0(active0, 0x1200010000000L);      case 75:      case 107:         return jjMoveStringLiteralDfa3_0(active0, 0x100000000000L);      case 76:      case 108:         return jjMoveStringLiteralDfa3_0(active0, 0x8010002000000L);      case 77:      case 109:         return jjMoveStringLiteralDfa3_0(active0, 0x2020000000L);      case 78:      case 110:         return jjMoveStringLiteralDfa3_0(active0, 0x4004000000000L);      case 79:      case 111:         return jjMoveStringLiteralDfa3_0(active0, 0x84000000L);      case 80:      case 112:         return jjMoveStringLiteralDfa3_0(active0, 0x1500000000L);      case 82:      case 114:         return jjMoveStringLiteralDfa3_0(active0, 0x400000000000L);      case 84:      case 116:         if ((active0 & 0x80000000000L) != 0L)            return jjStartNfaWithStates_0(2, 43, 30);         return jjMoveStringLiteralDfa3_0(active0, 0x2000000000000L);      case 85:      case 117:         return jjMoveStringLiteralDfa3_0(active0, 0x8000000000L);      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 65:      case 97:         return jjMoveStringLiteralDfa4_0(active0, 0x402000000000L);      case 67:      case 99:         return jjMoveStringLiteralDfa4_0(active0, 0x200000000L);      case 69:      case 101:         if ((active0 & 0x8000000000L) != 0L)            return jjStartNfaWithStates_0(3, 39, 30);         else if ((active0 & 0x100000000000L) != 0L)            return jjStartNfaWithStates_0(3, 44, 30);         return jjMoveStringLiteralDfa4_0(active0, 0x2001522000000L);      case 71:      case 103:         return jjMoveStringLiteralDfa4_0(active0, 0x4000000000L);      case 76:      case 108:         if ((active0 & 0x8000000000000L) != 0L)            return jjStartNfaWithStates_0(3, 51, 30);         break;      case 77:      case 109:         if ((active0 & 0x4000000L) != 0L)            return jjStartNfaWithStates_0(3, 26, 30);         break;      case 78:      case 110:         return jjMoveStringLiteralDfa4_0(active0, 0x10000000L);      case 79:      case 111:         return jjMoveStringLiteralDfa4_0(active0, 0x1000000000000L);      case 80:      case 112:         return jjMoveStringLiteralDfa4_0(active0, 0x880000000L);      case 82:      case 114:         return jjMoveStringLiteralDfa4_0(active0, 0x8000000L);      case 83:      case 115:         return jjMoveStringLiteralDfa4_0(active0, 0x210040000000L);      case 85:      case 117:         return jjMoveStringLiteralDfa4_0(active0, 0x4000000000000L);      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);

⌨️ 快捷键说明

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