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

📄 scriptedittokenmanager.java

📁 脚本开发工具和源代码,用于J2me中RPG游戏的脚本开发和执行,相当好用的一套工具,并含有脚本开发工具的源代码和一个现成的游戏脚本
💻 JAVA
📖 第 1 页 / 共 4 页
字号:
/* Generated By:JavaCC: Do not edit this line. ScriptEditTokenManager.java */
package scriptedit;
import java.io.*;
import java.util.*;
import scriptedit.data.*;

public class ScriptEditTokenManager implements ScriptEditConstants
{
  public static  java.io.PrintStream debugStream = System.out;
  public static  void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
private static final int jjStopStringLiteralDfa_0(int pos, long active0, long active1){
   switch (pos)   {
      case 0:
         if ((active0 & 0x40000000000L) != 0L)
            return 4;
         if ((active0 & 0x2000000000000000L) != 0L || (active1 & 0x100L) != 0L)
            return 49;
         if ((active0 & 0x7fff00L) != 0L)
         {
            jjmatchedKind = 31;
            return 28;
         }
         return -1;
      case 1:
         if ((active0 & 0x4000L) != 0L)
            return 28;
         if ((active0 & 0x7fbf00L) != 0L)
         {
            if (jjmatchedPos != 1)
            {
               jjmatchedKind = 31;
               jjmatchedPos = 1;
            }
            return 28;
         }
         return -1;
      case 2:
         if ((active0 & 0x7fbf00L) != 0L)
         {
            if (jjmatchedPos != 2)
            {
               jjmatchedKind = 31;
               jjmatchedPos = 2;
            }
            return 28;
         }
         return -1;
      case 3:
         if ((active0 & 0x288000L) != 0L)
            return 28;
         if ((active0 & 0x573f00L) != 0L)
         {
            jjmatchedKind = 31;
            jjmatchedPos = 3;
            return 28;
         }
         return -1;
      case 4:
         if ((active0 & 0x432000L) != 0L)
            return 28;
         if ((active0 & 0x141f00L) != 0L)
         {
            jjmatchedKind = 31;
            jjmatchedPos = 4;
            return 28;
         }
         return -1;
      case 5:
         if ((active0 & 0x40e00L) != 0L)
         {
            jjmatchedKind = 31;
            jjmatchedPos = 5;
            return 28;
         }
         if ((active0 & 0x101100L) != 0L)
            return 28;
         return -1;
      case 6:
         if ((active0 & 0x40e00L) != 0L)
         {
            jjmatchedKind = 31;
            jjmatchedPos = 6;
            return 28;
         }
         return -1;
      default :
         return -1;
   }
}
private static final int jjStartNfa_0(int pos, long active0, long active1){
   return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0, active1), pos + 1);
}
static private final int jjStopAtPos(int pos, int kind)
{
   jjmatchedKind = kind;
   jjmatchedPos = pos;
   return pos + 1;
}
static 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);
}
static private final int jjMoveStringLiteralDfa0_0()
{
   switch(curChar)
   {
      case 33:
         jjmatchedKind = 46;
         return jjMoveStringLiteralDfa1_0(0x20000000000000L, 0x0L);
      case 37:
         jjmatchedKind = 65;
         return jjMoveStringLiteralDfa1_0(0x0L, 0x1000L);
      case 38:
         jjmatchedKind = 62;
         return jjMoveStringLiteralDfa1_0(0x80000000000000L, 0x200L);
      case 40:
         return jjStopAtPos(0, 34);
      case 41:
         return jjStopAtPos(0, 35);
      case 42:
         jjmatchedKind = 60;
         return jjMoveStringLiteralDfa1_0(0x0L, 0x80L);
      case 43:
         jjmatchedKind = 58;
         return jjMoveStringLiteralDfa1_0(0x100000000000000L, 0x20L);
      case 44:
         return jjStopAtPos(0, 41);
      case 45:
         jjmatchedKind = 59;
         return jjMoveStringLiteralDfa1_0(0x200000000000000L, 0x40L);
      case 46:
         return jjStartNfaWithStates_0(0, 42, 4);
      case 47:
         jjmatchedKind = 61;
         return jjMoveStringLiteralDfa1_0(0x0L, 0x100L);
      case 58:
         return jjStopAtPos(0, 49);
      case 59:
         return jjStopAtPos(0, 40);
      case 60:
         jjmatchedKind = 45;
         return jjMoveStringLiteralDfa1_0(0x8000000000000L, 0x2004L);
      case 61:
         jjmatchedKind = 43;
         return jjMoveStringLiteralDfa1_0(0x4000000000000L, 0x0L);
      case 62:
         jjmatchedKind = 44;
         return jjMoveStringLiteralDfa1_0(0x10000000000000L, 0xc018L);
      case 63:
         return jjStopAtPos(0, 48);
      case 67:
         return jjMoveStringLiteralDfa1_0(0x500L, 0x0L);
      case 70:
         return jjMoveStringLiteralDfa1_0(0x800L, 0x0L);
      case 83:
         return jjMoveStringLiteralDfa1_0(0x3000L, 0x0L);
      case 86:
         return jjMoveStringLiteralDfa1_0(0x200L, 0x0L);
      case 91:
         return jjStopAtPos(0, 38);
      case 93:
         return jjStopAtPos(0, 39);
      case 94:
         jjmatchedKind = 64;
         return jjMoveStringLiteralDfa1_0(0x0L, 0x800L);
      case 98:
         return jjMoveStringLiteralDfa1_0(0x20000L, 0x0L);
      case 99:
         return jjMoveStringLiteralDfa1_0(0x40000L, 0x0L);
      case 101:
         return jjMoveStringLiteralDfa1_0(0x8000L, 0x0L);
      case 102:
         return jjMoveStringLiteralDfa1_0(0x400000L, 0x0L);
      case 105:
         return jjMoveStringLiteralDfa1_0(0x4000L, 0x0L);
      case 114:
         return jjMoveStringLiteralDfa1_0(0x100000L, 0x0L);
      case 115:
         return jjMoveStringLiteralDfa1_0(0x80000L, 0x0L);
      case 116:
         return jjMoveStringLiteralDfa1_0(0x200000L, 0x0L);
      case 119:
         return jjMoveStringLiteralDfa1_0(0x10000L, 0x0L);
      case 123:
         return jjStopAtPos(0, 36);
      case 124:
         jjmatchedKind = 63;
         return jjMoveStringLiteralDfa1_0(0x40000000000000L, 0x400L);
      case 125:
         return jjStopAtPos(0, 37);
      case 126:
         return jjStopAtPos(0, 47);
      default :
         return jjMoveNfa_0(0, 0);
   }
}
static 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 38:
         if ((active0 & 0x80000000000000L) != 0L)
            return jjStopAtPos(1, 55);
         break;
      case 43:
         if ((active0 & 0x100000000000000L) != 0L)
            return jjStopAtPos(1, 56);
         break;
      case 45:
         if ((active0 & 0x200000000000000L) != 0L)
            return jjStopAtPos(1, 57);
         break;
      case 60:
         if ((active1 & 0x4L) != 0L)
         {
            jjmatchedKind = 66;
            jjmatchedPos = 1;
         }
         return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0x2000L);
      case 61:
         if ((active0 & 0x4000000000000L) != 0L)
            return jjStopAtPos(1, 50);
         else if ((active0 & 0x8000000000000L) != 0L)
            return jjStopAtPos(1, 51);
         else if ((active0 & 0x10000000000000L) != 0L)
            return jjStopAtPos(1, 52);
         else if ((active0 & 0x20000000000000L) != 0L)
            return jjStopAtPos(1, 53);
         else if ((active1 & 0x20L) != 0L)
            return jjStopAtPos(1, 69);
         else if ((active1 & 0x40L) != 0L)
            return jjStopAtPos(1, 70);
         else if ((active1 & 0x80L) != 0L)
            return jjStopAtPos(1, 71);
         else if ((active1 & 0x100L) != 0L)
            return jjStopAtPos(1, 72);
         else if ((active1 & 0x200L) != 0L)
            return jjStopAtPos(1, 73);
         else if ((active1 & 0x400L) != 0L)
            return jjStopAtPos(1, 74);
         else if ((active1 & 0x800L) != 0L)
            return jjStopAtPos(1, 75);
         else if ((active1 & 0x1000L) != 0L)
            return jjStopAtPos(1, 76);
         break;
      case 62:
         if ((active1 & 0x8L) != 0L)
         {
            jjmatchedKind = 67;
            jjmatchedPos = 1;
         }
         return jjMoveStringLiteralDfa2_0(active0, 0L, active1, 0xc010L);
      case 65:
         return jjMoveStringLiteralDfa2_0(active0, 0x200L, active1, 0L);
      case 67:
         return jjMoveStringLiteralDfa2_0(active0, 0x1000L, active1, 0L);
      case 79:
         return jjMoveStringLiteralDfa2_0(active0, 0x400L, active1, 0L);
      case 85:
         return jjMoveStringLiteralDfa2_0(active0, 0x800L, active1, 0L);
      case 97:
         return jjMoveStringLiteralDfa2_0(active0, 0x400000L, active1, 0L);
      case 101:
         return jjMoveStringLiteralDfa2_0(active0, 0x100000L, active1, 0L);
      case 102:
         if ((active0 & 0x4000L) != 0L)
            return jjStartNfaWithStates_0(1, 14, 28);
         break;
      case 104:
         return jjMoveStringLiteralDfa2_0(active0, 0x10000L, active1, 0L);
      case 108:
         return jjMoveStringLiteralDfa2_0(active0, 0x8000L, active1, 0L);
      case 111:
         return jjMoveStringLiteralDfa2_0(active0, 0x40100L, active1, 0L);
      case 114:
         return jjMoveStringLiteralDfa2_0(active0, 0x220000L, active1, 0L);
      case 116:
         return jjMoveStringLiteralDfa2_0(active0, 0x82000L, active1, 0L);
      case 124:
         if ((active0 & 0x40000000000000L) != 0L)
            return jjStopAtPos(1, 54);
         break;
      default :
         break;
   }
   return jjStartNfa_0(0, active0, active1);
}
static 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 61:
         if ((active1 & 0x2000L) != 0L)
            return jjStopAtPos(2, 77);
         else if ((active1 & 0x4000L) != 0L)
            return jjStopAtPos(2, 78);
         break;
      case 62:
         if ((active1 & 0x10L) != 0L)
         {
            jjmatchedKind = 68;
            jjmatchedPos = 2;
         }
         return jjMoveStringLiteralDfa3_0(active0, 0L, active1, 0x8000L);
      case 67:
         return jjMoveStringLiteralDfa3_0(active0, 0x100L, active1, 0L);
      case 78:
         return jjMoveStringLiteralDfa3_0(active0, 0xc00L, active1, 0L);
      case 82:
         return jjMoveStringLiteralDfa3_0(active0, 0x1200L, active1, 0L);
      case 97:
         return jjMoveStringLiteralDfa3_0(active0, 0x2000L, active1, 0L);
      case 101:
         return jjMoveStringLiteralDfa3_0(active0, 0x20000L, active1, 0L);
      case 105:
         return jjMoveStringLiteralDfa3_0(active0, 0x10000L, active1, 0L);
      case 108:
         return jjMoveStringLiteralDfa3_0(active0, 0x400000L, active1, 0L);
      case 110:
         return jjMoveStringLiteralDfa3_0(active0, 0x40000L, active1, 0L);
      case 111:
         return jjMoveStringLiteralDfa3_0(active0, 0x80000L, active1, 0L);
      case 115:
         return jjMoveStringLiteralDfa3_0(active0, 0x8000L, active1, 0L);
      case 116:
         return jjMoveStringLiteralDfa3_0(active0, 0x100000L, active1, 0L);
      case 117:
         return jjMoveStringLiteralDfa3_0(active0, 0x200000L, active1, 0L);
      default :
         break;
   }
   return jjStartNfa_0(1, active0, active1);
}
static 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 61:
         if ((active1 & 0x8000L) != 0L)
            return jjStopAtPos(3, 79);
         break;
      case 67:
         return jjMoveStringLiteralDfa4_0(active0, 0x800L, active1, 0L);
      case 73:
         return jjMoveStringLiteralDfa4_0(active0, 0x1200L, active1, 0L);
      case 83:
         return jjMoveStringLiteralDfa4_0(active0, 0x400L, active1, 0L);
      case 97:
         return jjMoveStringLiteralDfa4_0(active0, 0x20000L, active1, 0L);
      case 101:
         if ((active0 & 0x8000L) != 0L)
            return jjStartNfaWithStates_0(3, 15, 28);
         else if ((active0 & 0x200000L) != 0L)
            return jjStartNfaWithStates_0(3, 21, 28);
         break;
      case 108:
         return jjMoveStringLiteralDfa4_0(active0, 0x10000L, active1, 0L);
      case 111:
         return jjMoveStringLiteralDfa4_0(active0, 0x100L, active1, 0L);
      case 112:
         if ((active0 & 0x80000L) != 0L)

⌨️ 快捷键说明

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