📄 cmmtokenmanager.java
字号:
/* Generated By:JJTree&JavaCC: Do not edit this line. CmmTokenManager.java */
package cmm;
/** Token Manager. */
@SuppressWarnings("all")public class CmmTokenManager implements CmmConstants
{
/** Debug output. */
public static java.io.PrintStream debugStream = System.out;
/** Set debug output. */
public static void setDebugStream(java.io.PrintStream ds) { debugStream = ds; }
private static final int jjStopStringLiteralDfa_0(int pos, long active0){
switch (pos) {
case 0:
if ((active0 & 0xff800L) != 0L)
{
jjmatchedKind = 21;
return 33;
}
if ((active0 & 0x100000000L) != 0L)
return 7;
return -1;
case 1:
if ((active0 & 0xfd800L) != 0L)
{
jjmatchedKind = 21;
jjmatchedPos = 1;
return 33;
}
if ((active0 & 0x2000L) != 0L)
return 33;
return -1;
case 2:
if ((active0 & 0x7d000L) != 0L)
{
jjmatchedKind = 21;
jjmatchedPos = 2;
return 33;
}
if ((active0 & 0x80800L) != 0L)
return 33;
return -1;
case 3:
if ((active0 & 0x68000L) != 0L)
{
jjmatchedKind = 21;
jjmatchedPos = 3;
return 33;
}
if ((active0 & 0x15000L) != 0L)
return 33;
return -1;
default :
return -1;
}
}
private static final int jjStartNfa_0(int pos, long active0){
return jjMoveNfa_0(jjStopStringLiteralDfa_0(pos, active0), pos + 1);
}
static private int jjStopAtPos(int pos, int kind)
{
jjmatchedKind = kind;
jjmatchedPos = pos;
return pos + 1;
}
static private int jjMoveStringLiteralDfa0_0()
{
switch(curChar)
{
case 40:
return jjStopAtPos(0, 33);
case 41:
return jjStopAtPos(0, 34);
case 44:
return jjStopAtPos(0, 30);
case 59:
return jjStopAtPos(0, 31);
case 61:
return jjStartNfaWithStates_0(0, 32, 7);
case 98:
return jjMoveStringLiteralDfa1_0(0x40000L);
case 101:
return jjMoveStringLiteralDfa1_0(0x84000L);
case 105:
return jjMoveStringLiteralDfa1_0(0x2800L);
case 114:
return jjMoveStringLiteralDfa1_0(0x11000L);
case 119:
return jjMoveStringLiteralDfa1_0(0x28000L);
default :
return jjMoveNfa_0(2, 0);
}
}
static private int jjMoveStringLiteralDfa1_0(long active0)
{
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(0, active0);
return 1;
}
switch(curChar)
{
case 101:
return jjMoveStringLiteralDfa2_0(active0, 0x51000L);
case 102:
if ((active0 & 0x2000L) != 0L)
return jjStartNfaWithStates_0(1, 13, 33);
break;
case 104:
return jjMoveStringLiteralDfa2_0(active0, 0x8000L);
case 108:
return jjMoveStringLiteralDfa2_0(active0, 0x4000L);
case 110:
return jjMoveStringLiteralDfa2_0(active0, 0x80800L);
case 114:
return jjMoveStringLiteralDfa2_0(active0, 0x20000L);
default :
break;
}
return jjStartNfa_0(0, active0);
}
static private 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 97:
return jjMoveStringLiteralDfa3_0(active0, 0x11000L);
case 100:
if ((active0 & 0x80000L) != 0L)
return jjStartNfaWithStates_0(2, 19, 33);
break;
case 103:
return jjMoveStringLiteralDfa3_0(active0, 0x40000L);
case 105:
return jjMoveStringLiteralDfa3_0(active0, 0x28000L);
case 115:
return jjMoveStringLiteralDfa3_0(active0, 0x4000L);
case 116:
if ((active0 & 0x800L) != 0L)
return jjStartNfaWithStates_0(2, 11, 33);
break;
default :
break;
}
return jjStartNfa_0(1, active0);
}
static private 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 100:
if ((active0 & 0x10000L) != 0L)
return jjStartNfaWithStates_0(3, 16, 33);
break;
case 101:
if ((active0 & 0x4000L) != 0L)
return jjStartNfaWithStates_0(3, 14, 33);
break;
case 105:
return jjMoveStringLiteralDfa4_0(active0, 0x40000L);
case 108:
if ((active0 & 0x1000L) != 0L)
return jjStartNfaWithStates_0(3, 12, 33);
return jjMoveStringLiteralDfa4_0(active0, 0x8000L);
case 116:
return jjMoveStringLiteralDfa4_0(active0, 0x20000L);
default :
break;
}
return jjStartNfa_0(2, active0);
}
static private 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 101:
if ((active0 & 0x8000L) != 0L)
return jjStartNfaWithStates_0(4, 15, 33);
else if ((active0 & 0x20000L) != 0L)
return jjStartNfaWithStates_0(4, 17, 33);
break;
case 110:
if ((active0 & 0x40000L) != 0L)
return jjStartNfaWithStates_0(4, 18, 33);
break;
default :
break;
}
return jjStartNfa_0(3, active0);
}
static private 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 final long[] jjbitVec0 = { 0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL};
static private int jjMoveNfa_0(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 33;
int i = 1;
jjstateSet[0] = startState;
int kind = 0x7fffffff;
for (;;)
{
if (++jjround == 0x7fffffff)
ReInitRounds();
if (curChar < 64)
{
long l = 1L << curChar;
do
{
switch(jjstateSet[--i])
{
case 2:
if ((0x3ff000000000000L & l) != 0L)
{
if (kind > 7)
kind = 7;
jjCheckNAddStates(0, 2);
}
else if ((0x840000000000L & l) != 0L)
{
if (kind > 10)
kind = 10;
}
else if ((0x280000000000L & l) != 0L)
{
if (kind > 9)
kind = 9;
}
else if (curChar == 61)
jjstateSet[jjnewStateCnt++] = 7;
else if (curChar == 60)
jjstateSet[jjnewStateCnt++] = 5;
else if (curChar == 46)
jjCheckNAdd(1);
if (curChar == 47)
jjAddStates(3, 4);
else if (curChar == 60)
{
if (kind > 20)
kind = 20;
}
break;
case 33:
if ((0x3ff000000000000L & l) != 0L)
jjCheckNAddTwoStates(28, 29);
if ((0x3ff000000000000L & l) != 0L)
jjCheckNAddStates(5, 7);
if ((0x3ff000000000000L & l) != 0L)
{
if (kind > 21)
kind = 21;
jjCheckNAddTwoStates(25, 26);
}
if ((0x3ff000000000000L & l) != 0L)
jjCheckNAddTwoStates(25, 26);
break;
case 0:
if (curChar == 46)
jjCheckNAdd(1);
break;
case 1:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 8)
kind = 8;
jjCheckNAdd(1);
break;
case 3:
if ((0x840000000000L & l) != 0L && kind > 10)
kind = 10;
break;
case 4:
if (curChar == 60 && kind > 20)
kind = 20;
break;
case 5:
if (curChar == 62 && kind > 20)
kind = 20;
break;
case 6:
if (curChar == 60)
jjstateSet[jjnewStateCnt++] = 5;
break;
case 7:
if (curChar == 61 && kind > 20)
kind = 20;
break;
case 8:
if (curChar == 61)
jjstateSet[jjnewStateCnt++] = 7;
break;
case 9:
if (curChar == 47)
jjAddStates(3, 4);
break;
case 10:
if (curChar == 47)
jjCheckNAddStates(8, 10);
break;
case 11:
if ((0xffffffffffffdbffL & l) != 0L)
jjCheckNAddStates(8, 10);
break;
case 12:
if ((0x2400L & l) != 0L && kind > 5)
kind = 5;
break;
case 13:
if (curChar == 10 && kind > 5)
kind = 5;
break;
case 14:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 13;
break;
case 15:
if (curChar == 42)
jjCheckNAddTwoStates(16, 17);
break;
case 16:
if ((0xfffffbffffffffffL & l) != 0L)
jjCheckNAddTwoStates(16, 17);
break;
case 17:
if (curChar == 42)
jjAddStates(11, 12);
break;
case 18:
if ((0xffff7fffffffffffL & l) != 0L)
jjCheckNAddTwoStates(19, 17);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -