zoomba.lang.parser.ParserTokenManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of zoomba.lang.core Show documentation
Show all versions of zoomba.lang.core Show documentation
ZoomBA is a multi paradigm Micro Language for JVM Scripting
used for business development and software testing
The newest version!
/* ParserTokenManager.java */
/* Generated By:JJTree&JavaCC: Do not edit this line. ParserTokenManager.java */
package zoomba.lang.parser;
import java.io.Reader;
/** Token Manager. */
@SuppressWarnings ("unused")
public class ParserTokenManager implements ParserConstants {
/** Debug output. */
public java.io.PrintStream debugStream = System.out;
/** Set debug output. */
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 & 0x400040L) != 0L)
{
jjmatchedKind = 68;
return 98;
}
if ((active1 & 0x2400L) != 0L)
return 17;
if ((active0 & 0x18L) != 0L)
return 99;
if ((active1 & 0x20L) != 0L)
{
jjmatchedKind = 67;
return 100;
}
if ((active0 & 0x400000001fffe80L) != 0L)
{
jjmatchedKind = 89;
return 40;
}
if ((active0 & 0x200000000000000L) != 0L || (active1 & 0x3L) != 0L)
return 72;
if ((active0 & 0x380000000e000000L) != 0L || (active1 & 0x10e0000L) != 0L)
return 54;
if ((active0 & 0x80000000000000L) != 0L || (active1 & 0x300000L) != 0L)
return 40;
if ((active1 & 0x4800L) != 0L)
return 23;
return -1;
case 1:
if ((active0 & 0x400000000fffe00L) != 0L)
{
if (jjmatchedPos != 1)
{
jjmatchedKind = 89;
jjmatchedPos = 1;
}
return 40;
}
if ((active0 & 0x1000080L) != 0L)
return 40;
return -1;
case 2:
if ((active0 & 0xbf9c00L) != 0L)
{
jjmatchedKind = 89;
jjmatchedPos = 2;
return 40;
}
if ((active0 & 0x400000000406200L) != 0L)
return 40;
return -1;
case 3:
if ((active0 & 0x118000L) != 0L)
return 40;
if ((active0 & 0xae1c00L) != 0L)
{
jjmatchedKind = 89;
jjmatchedPos = 3;
return 40;
}
return -1;
case 4:
if ((active0 & 0xa81000L) != 0L)
{
jjmatchedKind = 89;
jjmatchedPos = 4;
return 40;
}
if ((active0 & 0x60c00L) != 0L)
return 40;
return -1;
case 5:
if ((active0 & 0x80000L) != 0L)
{
jjmatchedKind = 89;
jjmatchedPos = 5;
return 40;
}
if ((active0 & 0xa01000L) != 0L)
return 40;
return -1;
case 6:
if ((active0 & 0x80000L) != 0L)
{
jjmatchedKind = 89;
jjmatchedPos = 6;
return 40;
}
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 int jjStopAtPos(int pos, int kind)
{
jjmatchedKind = kind;
jjmatchedPos = pos;
return pos + 1;
}
private int jjMoveStringLiteralDfa0_0(){
switch(curChar)
{
case 9:
return jjStartNfaWithStates_0(0, 4, 99);
case 32:
return jjStartNfaWithStates_0(0, 3, 99);
case 33:
jjmatchedKind = 66;
return jjMoveStringLiteralDfa1_0(0x105000000000000L, 0x0L);
case 35:
jjmatchedKind = 81;
return jjMoveStringLiteralDfa1_0(0x380000000e000000L, 0x10c0000L);
case 37:
jjmatchedKind = 63;
return jjMoveStringLiteralDfa1_0(0x0L, 0x10000L);
case 38:
jjmatchedKind = 74;
return jjMoveStringLiteralDfa1_0(0x0L, 0x2000L);
case 40:
return jjStopAtPos(0, 28);
case 41:
return jjStopAtPos(0, 29);
case 42:
jjmatchedKind = 71;
return jjMoveStringLiteralDfa1_0(0x0L, 0x100L);
case 43:
return jjMoveStringLiteralDfa1_0(0x0L, 0x20L);
case 45:
return jjMoveStringLiteralDfa1_0(0x0L, 0x400040L);
case 46:
jjmatchedKind = 37;
return jjMoveStringLiteralDfa1_0(0x800000000000L, 0x0L);
case 47:
jjmatchedKind = 64;
return jjMoveStringLiteralDfa1_0(0x200000000000000L, 0x2L);
case 58:
jjmatchedKind = 35;
return jjMoveStringLiteralDfa1_0(0x0L, 0x800000L);
case 59:
return jjStopAtPos(0, 34);
case 60:
jjmatchedKind = 53;
return jjMoveStringLiteralDfa1_0(0x40000000000000L, 0x0L);
case 61:
jjmatchedKind = 62;
return jjMoveStringLiteralDfa1_0(0x2600000000000L, 0x0L);
case 62:
jjmatchedKind = 51;
return jjMoveStringLiteralDfa1_0(0x10000000000000L, 0x0L);
case 63:
jjmatchedKind = 40;
return jjMoveStringLiteralDfa1_0(0x60000000000L, 0x0L);
case 64:
return jjStartNfaWithStates_0(0, 55, 40);
case 91:
return jjStopAtPos(0, 32);
case 93:
return jjStopAtPos(0, 33);
case 94:
jjmatchedKind = 76;
return jjMoveStringLiteralDfa1_0(0x0L, 0x8000L);
case 95:
jjmatchedKind = 85;
return jjMoveStringLiteralDfa1_0(0x0L, 0x100000L);
case 97:
return jjMoveStringLiteralDfa1_0(0x1000000L, 0x0L);
case 98:
return jjMoveStringLiteralDfa1_0(0x40000L, 0x0L);
case 99:
return jjMoveStringLiteralDfa1_0(0x180000L, 0x0L);
case 100:
return jjMoveStringLiteralDfa1_0(0x402000L, 0x0L);
case 102:
return jjMoveStringLiteralDfa1_0(0x20200L, 0x0L);
case 105:
return jjMoveStringLiteralDfa1_0(0x400000000800080L, 0x0L);
case 110:
return jjMoveStringLiteralDfa1_0(0xc000L, 0x0L);
case 114:
return jjMoveStringLiteralDfa1_0(0x200000L, 0x0L);
case 115:
return jjMoveStringLiteralDfa1_0(0x1000L, 0x0L);
case 116:
return jjMoveStringLiteralDfa1_0(0x10000L, 0x0L);
case 119:
return jjMoveStringLiteralDfa1_0(0xc00L, 0x0L);
case 123:
return jjStopAtPos(0, 30);
case 124:
jjmatchedKind = 75;
return jjMoveStringLiteralDfa1_0(0x0L, 0x4000L);
case 125:
return jjStopAtPos(0, 31);
case 126:
return jjStopAtPos(0, 73);
default :
return jjMoveNfa_0(0, 0);
}
}
private 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 36:
if ((active0 & 0x1000000000000000L) != 0L)
return jjStopAtPos(1, 60);
break;
case 40:
if ((active1 & 0x80000L) != 0L)
return jjStopAtPos(1, 83);
break;
case 47:
if ((active1 & 0x100000L) != 0L)
return jjStopAtPos(1, 84);
break;
case 58:
if ((active0 & 0x20000000000L) != 0L)
return jjStopAtPos(1, 41);
else if ((active1 & 0x800000L) != 0L)
return jjStopAtPos(1, 87);
break;
case 60:
if ((active1 & 0x1000000L) != 0L)
return jjStopAtPos(1, 88);
break;
case 61:
if ((active0 & 0x200000000000L) != 0L)
{
jjmatchedKind = 45;
jjmatchedPos = 1;
}
else if ((active0 & 0x800000000000L) != 0L)
return jjStopAtPos(1, 47);
else if ((active0 & 0x1000000000000L) != 0L)
return jjStopAtPos(1, 48);
else if ((active0 & 0x10000000000000L) != 0L)
return jjStopAtPos(1, 52);
else if ((active0 & 0x40000000000000L) != 0L)
return jjStopAtPos(1, 54);
else if ((active1 & 0x2L) != 0L)
return jjStopAtPos(1, 65);
else if ((active1 & 0x20L) != 0L)
return jjStopAtPos(1, 69);
else if ((active1 & 0x40L) != 0L)
return jjStopAtPos(1, 70);
else if ((active1 & 0x100L) != 0L)
return jjStopAtPos(1, 72);
else if ((active1 & 0x2000L) != 0L)
return jjStopAtPos(1, 77);
else if ((active1 & 0x4000L) != 0L)
return jjStopAtPos(1, 78);
else if ((active1 & 0x8000L) != 0L)
return jjStopAtPos(1, 79);
else if ((active1 & 0x10000L) != 0L)
return jjStopAtPos(1, 80);
return jjMoveStringLiteralDfa2_0(active0, 0x400000000000L, active1, 0L);
case 62:
if ((active1 & 0x400000L) != 0L)
return jjStopAtPos(1, 86);
break;
case 63:
if ((active0 & 0x40000000000L) != 0L)
return jjStopAtPos(1, 42);
else if ((active0 & 0x200000000000000L) != 0L)
return jjStopAtPos(1, 57);
break;
case 64:
if ((active0 & 0x100000000000000L) != 0L)
return jjStopAtPos(1, 56);
else if ((active0 & 0x2000000000000000L) != 0L)
return jjStopAtPos(1, 61);
break;
case 94:
if ((active0 & 0x800000000000000L) != 0L)
return jjStopAtPos(1, 59);
break;
case 97:
return jjMoveStringLiteralDfa2_0(active0, 0x2120000L, active1, 0L);
case 98:
return jjMoveStringLiteralDfa2_0(active0, 0x8000000L, active1, 0L);
case 99:
return jjMoveStringLiteralDfa2_0(active0, 0x4000000L, active1, 0L);
case 101:
return jjMoveStringLiteralDfa2_0(active0, 0x606000L, active1, 0L);
case 102:
if ((active0 & 0x80L) != 0L)
return jjStartNfaWithStates_0(1, 7, 40);
break;
case 104:
return jjMoveStringLiteralDfa2_0(active0, 0xc00L, active1, 0L);
case 109:
return jjMoveStringLiteralDfa2_0(active0, 0x800000L, active1, 0L);
case 111:
return jjMoveStringLiteralDfa2_0(active0, 0x80200L, active1, 0L);
case 114:
return jjMoveStringLiteralDfa2_0(active0, 0x50000L, active1, 0L);
case 115:
if ((active0 & 0x1000000L) != 0L)
return jjStartNfaWithStates_0(1, 24, 40);
return jjMoveStringLiteralDfa2_0(active0, 0x400000000000000L, active1, 0L);
case 117:
return jjMoveStringLiteralDfa2_0(active0, 0x8000L, active1, 0L);
case 119:
return jjMoveStringLiteralDfa2_0(active0, 0x1000L, active1, 0L);
case 124:
if ((active1 & 0x40000L) != 0L)
return jjStopAtPos(1, 82);
break;
case 126:
if ((active0 & 0x2000000000000L) != 0L)
return jjStopAtPos(1, 49);
else if ((active0 & 0x4000000000000L) != 0L)
return jjStopAtPos(1, 50);
break;
default :
break;
}
return jjStartNfa_0(0, active0, active1);
}
private 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 61:
if ((active0 & 0x400000000000L) != 0L)
return jjStopAtPos(2, 46);
break;
case 97:
if ((active0 & 0x400000000000000L) != 0L)
return jjStartNfaWithStates_0(2, 58, 40);
break;
case 101:
return jjMoveStringLiteralDfa3_0(active0, 0x40800L);
case 102:
if ((active0 & 0x400000L) != 0L)
return jjStartNfaWithStates_0(2, 22, 40);
break;
case 105:
return jjMoveStringLiteralDfa3_0(active0, 0x1400L);
case 108:
if ((active0 & 0x2000L) != 0L)
return jjStartNfaWithStates_0(2, 13, 40);
return jjMoveStringLiteralDfa3_0(active0, 0x4028000L);
case 110:
return jjMoveStringLiteralDfa3_0(active0, 0x80000L);
case 112:
if ((active0 & 0x8000000L) != 0L)
return jjStopAtPos(2, 27);
return jjMoveStringLiteralDfa3_0(active0, 0x800000L);
case 114:
if ((active0 & 0x200L) != 0L)
return jjStartNfaWithStates_0(2, 9, 40);
break;
case 115:
return jjMoveStringLiteralDfa3_0(active0, 0x100000L);
case 116:
return jjMoveStringLiteralDfa3_0(active0, 0x2200000L);
case 117:
return jjMoveStringLiteralDfa3_0(active0, 0x10000L);
case 119:
if ((active0 & 0x4000L) != 0L)
return jjStartNfaWithStates_0(2, 14, 40);
break;
default :
break;
}
return jjStartNfa_0(1, active0, 0L);
}
private 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;
}
switch(curChar)
{
case 97:
return jjMoveStringLiteralDfa4_0(active0, 0x40000L);
case 101:
if ((active0 & 0x10000L) != 0L)
return jjStartNfaWithStates_0(3, 16, 40);
else if ((active0 & 0x100000L) != 0L)
return jjStartNfaWithStates_0(3, 20, 40);
break;
case 108:
if ((active0 & 0x8000L) != 0L)
return jjStartNfaWithStates_0(3, 15, 40);
return jjMoveStringLiteralDfa4_0(active0, 0x400L);
case 111:
return jjMoveStringLiteralDfa4_0(active0, 0x6800000L);
case 114:
return jjMoveStringLiteralDfa4_0(active0, 0x800L);
case 115:
return jjMoveStringLiteralDfa4_0(active0, 0x20000L);
case 116:
return jjMoveStringLiteralDfa4_0(active0, 0x81000L);
case 117:
return jjMoveStringLiteralDfa4_0(active0, 0x200000L);
default :
break;
}
return jjStartNfa_0(2, active0, 0L);
}
private int jjMoveStringLiteralDfa4_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(2, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(3, active0, 0L);
return 4;
}
switch(curChar)
{
case 99:
return jjMoveStringLiteralDfa5_0(active0, 0x4001000L);
case 101:
if ((active0 & 0x400L) != 0L)
return jjStartNfaWithStates_0(4, 10, 40);
else if ((active0 & 0x800L) != 0L)
return jjStartNfaWithStates_0(4, 11, 40);
else if ((active0 & 0x20000L) != 0L)
return jjStartNfaWithStates_0(4, 17, 40);
break;
case 105:
return jjMoveStringLiteralDfa5_0(active0, 0x80000L);
case 107:
if ((active0 & 0x40000L) != 0L)
return jjStartNfaWithStates_0(4, 18, 40);
break;
case 109:
return jjMoveStringLiteralDfa5_0(active0, 0x2000000L);
case 114:
return jjMoveStringLiteralDfa5_0(active0, 0xa00000L);
default :
break;
}
return jjStartNfa_0(3, active0, 0L);
}
private int jjMoveStringLiteralDfa5_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(3, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(4, active0, 0L);
return 5;
}
switch(curChar)
{
case 104:
if ((active0 & 0x1000L) != 0L)
return jjStartNfaWithStates_0(5, 12, 40);
break;
case 105:
return jjMoveStringLiteralDfa6_0(active0, 0x2000000L);
case 107:
if ((active0 & 0x4000000L) != 0L)
return jjStopAtPos(5, 26);
break;
case 110:
if ((active0 & 0x200000L) != 0L)
return jjStartNfaWithStates_0(5, 21, 40);
return jjMoveStringLiteralDfa6_0(active0, 0x80000L);
case 116:
if ((active0 & 0x800000L) != 0L)
return jjStartNfaWithStates_0(5, 23, 40);
break;
default :
break;
}
return jjStartNfa_0(4, active0, 0L);
}
private int jjMoveStringLiteralDfa6_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(4, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(5, active0, 0L);
return 6;
}
switch(curChar)
{
case 99:
if ((active0 & 0x2000000L) != 0L)
return jjStopAtPos(6, 25);
break;
case 117:
return jjMoveStringLiteralDfa7_0(active0, 0x80000L);
default :
break;
}
return jjStartNfa_0(5, active0, 0L);
}
private int jjMoveStringLiteralDfa7_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(5, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(6, active0, 0L);
return 7;
}
switch(curChar)
{
case 101:
if ((active0 & 0x80000L) != 0L)
return jjStartNfaWithStates_0(7, 19, 40);
break;
default :
break;
}
return jjStartNfa_0(6, active0, 0L);
}
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 = {
0xfffffffefffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL
};
static final long[] jjbitVec2 = {
0x0L, 0x0L, 0xffffffffffffffffL, 0xffffffffffffffffL
};
static final long[] jjbitVec3 = {
0xfffffcffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL
};
static final long[] jjbitVec4 = {
0xfffffffffffffffeL, 0xffffffffffffffffL, 0xffffffffffffffffL, 0xffffffffffffffffL
};
private int jjMoveNfa_0(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 98;
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 72:
if (curChar == 47)
{
if (kind > 39)
kind = 39;
{ jjCheckNAdd(84); }
}
else if (curChar == 42)
{ jjCheckNAddTwoStates(73, 74); }
if (curChar == 47)
{
if (kind > 2)
kind = 2;
{ jjCheckNAddStates(0, 2); }
}
break;
case 98:
if ((0x2400L & l) != 0L)
{
if (kind > 68)
kind = 68;
}
else if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(3, 5); }
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 37;
break;
case 100:
if ((0x2400L & l) != 0L)
{
if (kind > 67)
kind = 67;
}
else if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(6, 8); }
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 32;
break;
case 99:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddTwoStates(94, 95); }
else if ((0x2400L & l) != 0L)
{
if (kind > 38)
kind = 38;
}
else if (curChar == 47)
{ jjCheckNAdd(83); }
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(9, 11); }
else if ((0x2400L & l) != 0L)
{ jjCheckNAddStates(12, 15); }
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(16, 18); }
else if (curChar == 13)
{ jjCheckNAdd(92); }
if (curChar == 13)
{ jjCheckNAdd(88); }
break;
case 0:
if ((0x3ff000000000000L & l) != 0L)
{
if (kind > 93)
kind = 93;
{ jjCheckNAddStates(19, 23); }
}
else if ((0x2400L & l) != 0L)
{
if (kind > 38)
kind = 38;
{ jjCheckNAddStates(12, 15); }
}
else if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(24, 31); }
else if (curChar == 47)
{ jjCheckNAddStates(32, 34); }
else if (curChar == 35)
jjstateSet[jjnewStateCnt++] = 54;
else if (curChar == 39)
{ jjCheckNAddStates(35, 37); }
else if (curChar == 34)
{ jjCheckNAddStates(38, 40); }
else if (curChar == 36)
{
if (kind > 89)
kind = 89;
{ jjCheckNAdd(40); }
}
else if (curChar == 45)
{
if (kind > 68)
kind = 68;
{ jjCheckNAddStates(3, 5); }
}
else if (curChar == 43)
{
if (kind > 67)
kind = 67;
{ jjCheckNAddStates(6, 8); }
}
else if (curChar == 38)
jjstateSet[jjnewStateCnt++] = 17;
else if (curChar == 44)
{
if (kind > 36)
kind = 36;
{ jjCheckNAddStates(41, 43); }
}
if ((0x3fe000000000000L & l) != 0L)
{
if (kind > 92)
kind = 92;
{ jjCheckNAddTwoStates(42, 43); }
}
else if (curChar == 13)
{ jjCheckNAddTwoStates(88, 92); }
else if (curChar == 48)
{
if (kind > 92)
kind = 92;
{ jjCheckNAddStates(44, 46); }
}
break;
case 1:
if ((0x2400L & l) != 0L && kind > 6)
kind = 6;
break;
case 2:
if (curChar == 10 && kind > 6)
kind = 6;
break;
case 3:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 2;
break;
case 5:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(47, 49); }
break;
case 6:
if ((0x2400L & l) == 0L)
break;
if (kind > 8)
kind = 8;
{ jjCheckNAddStates(47, 49); }
break;
case 7:
if (curChar != 10)
break;
if (kind > 8)
kind = 8;
{ jjCheckNAddStates(47, 49); }
break;
case 8:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 7;
break;
case 12:
if (curChar != 44)
break;
if (kind > 36)
kind = 36;
{ jjCheckNAddStates(41, 43); }
break;
case 13:
if ((0x100000200L & l) == 0L)
break;
if (kind > 36)
kind = 36;
{ jjCheckNAddStates(41, 43); }
break;
case 14:
if ((0x2400L & l) != 0L && kind > 36)
kind = 36;
break;
case 15:
if (curChar == 10 && kind > 36)
kind = 36;
break;
case 16:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 15;
break;
case 17:
if (curChar != 38)
break;
if (kind > 43)
kind = 43;
{ jjCheckNAddStates(50, 52); }
break;
case 18:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(50, 52); }
break;
case 19:
if ((0x2400L & l) != 0L && kind > 43)
kind = 43;
break;
case 20:
if (curChar == 10 && kind > 43)
kind = 43;
break;
case 21:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 20;
break;
case 22:
if (curChar == 38)
jjstateSet[jjnewStateCnt++] = 17;
break;
case 24:
if ((0x100000200L & l) != 0L)
{ jjAddStates(53, 55); }
break;
case 25:
if ((0x2400L & l) != 0L && kind > 44)
kind = 44;
break;
case 26:
if (curChar == 10 && kind > 44)
kind = 44;
break;
case 27:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 26;
break;
case 29:
if (curChar != 43)
break;
if (kind > 67)
kind = 67;
{ jjCheckNAddStates(6, 8); }
break;
case 30:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(6, 8); }
break;
case 31:
if ((0x2400L & l) != 0L && kind > 67)
kind = 67;
break;
case 32:
if (curChar == 10 && kind > 67)
kind = 67;
break;
case 33:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 32;
break;
case 34:
if (curChar != 45)
break;
if (kind > 68)
kind = 68;
{ jjCheckNAddStates(3, 5); }
break;
case 35:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(3, 5); }
break;
case 36:
if ((0x2400L & l) != 0L && kind > 68)
kind = 68;
break;
case 37:
if (curChar == 10 && kind > 68)
kind = 68;
break;
case 38:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 37;
break;
case 39:
if (curChar != 36)
break;
if (kind > 89)
kind = 89;
{ jjCheckNAdd(40); }
break;
case 40:
if ((0x3ff001000000000L & l) == 0L)
break;
if (kind > 89)
kind = 89;
{ jjCheckNAdd(40); }
break;
case 41:
if ((0x3fe000000000000L & l) == 0L)
break;
if (kind > 92)
kind = 92;
{ jjCheckNAddTwoStates(42, 43); }
break;
case 42:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 92)
kind = 92;
{ jjCheckNAddTwoStates(42, 43); }
break;
case 44:
if (curChar == 34)
{ jjCheckNAddStates(38, 40); }
break;
case 45:
if ((0xfffffffbffffffffL & l) != 0L)
{ jjCheckNAddStates(38, 40); }
break;
case 47:
{ jjCheckNAddStates(38, 40); }
break;
case 48:
if (curChar == 34 && kind > 94)
kind = 94;
break;
case 49:
if (curChar == 39)
{ jjCheckNAddStates(35, 37); }
break;
case 50:
if ((0xffffff7fffffffffL & l) != 0L)
{ jjCheckNAddStates(35, 37); }
break;
case 52:
{ jjCheckNAddStates(35, 37); }
break;
case 53:
if (curChar == 39 && kind > 94)
kind = 94;
break;
case 54:
if (curChar == 35)
{ jjCheckNAddTwoStates(55, 56); }
break;
case 55:
if ((0xfffffff7ffffffffL & l) != 0L)
{ jjCheckNAddTwoStates(55, 56); }
break;
case 56:
if (curChar != 35)
break;
if (kind > 95)
kind = 95;
jjstateSet[jjnewStateCnt++] = 57;
break;
case 58:
if (curChar == 35)
jjstateSet[jjnewStateCnt++] = 54;
break;
case 59:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 93)
kind = 93;
{ jjCheckNAddStates(19, 23); }
break;
case 60:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddTwoStates(60, 61); }
break;
case 61:
if (curChar == 46)
{ jjCheckNAdd(62); }
break;
case 62:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 93)
kind = 93;
{ jjCheckNAddStates(56, 58); }
break;
case 64:
if ((0x280000000000L & l) != 0L)
{ jjCheckNAdd(65); }
break;
case 65:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 93)
kind = 93;
{ jjCheckNAddTwoStates(65, 66); }
break;
case 67:
if (curChar != 48)
break;
if (kind > 92)
kind = 92;
{ jjCheckNAddStates(44, 46); }
break;
case 68:
if ((0xff000000000000L & l) == 0L)
break;
if (kind > 92)
kind = 92;
{ jjCheckNAddTwoStates(68, 43); }
break;
case 70:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 92)
kind = 92;
{ jjCheckNAddTwoStates(70, 43); }
break;
case 71:
if (curChar == 47)
{ jjCheckNAddStates(32, 34); }
break;
case 73:
if ((0xfffffbffffffffffL & l) != 0L)
{ jjCheckNAddTwoStates(73, 74); }
break;
case 74:
if (curChar == 42)
{ jjCheckNAddStates(59, 61); }
break;
case 75:
if ((0xffff7bffffffffffL & l) != 0L)
{ jjCheckNAddTwoStates(76, 74); }
break;
case 76:
if ((0xfffffbffffffffffL & l) != 0L)
{ jjCheckNAddTwoStates(76, 74); }
break;
case 77:
if (curChar == 47 && kind > 1)
kind = 1;
break;
case 78:
if (curChar != 47)
break;
if (kind > 2)
kind = 2;
{ jjCheckNAddStates(0, 2); }
break;
case 79:
if ((0xffffffffffffdbffL & l) == 0L)
break;
if (kind > 2)
kind = 2;
{ jjCheckNAddStates(0, 2); }
break;
case 80:
if ((0x2400L & l) != 0L && kind > 2)
kind = 2;
break;
case 81:
if (curChar == 10 && kind > 2)
kind = 2;
break;
case 82:
if (curChar == 13)
jjstateSet[jjnewStateCnt++] = 81;
break;
case 83:
if (curChar != 47)
break;
if (kind > 39)
kind = 39;
{ jjCheckNAdd(84); }
break;
case 84:
if ((0xffffffffffffdbffL & l) == 0L)
break;
if (kind > 39)
kind = 39;
{ jjCheckNAdd(84); }
break;
case 85:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(24, 31); }
break;
case 86:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(16, 18); }
break;
case 87:
if ((0x2400L & l) != 0L)
{ jjCheckNAddStates(12, 15); }
break;
case 88:
if (curChar == 10)
{ jjCheckNAddStates(12, 15); }
break;
case 89:
if (curChar == 13)
{ jjCheckNAdd(88); }
break;
case 90:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(9, 11); }
break;
case 91:
if ((0x2400L & l) != 0L && kind > 38)
kind = 38;
break;
case 92:
if (curChar == 10 && kind > 38)
kind = 38;
break;
case 93:
if (curChar == 13)
{ jjCheckNAdd(92); }
break;
case 94:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddTwoStates(94, 95); }
break;
case 95:
if (curChar == 47)
{ jjCheckNAdd(83); }
break;
case 96:
if ((0x2400L & l) == 0L)
break;
if (kind > 38)
kind = 38;
{ jjCheckNAddStates(12, 15); }
break;
case 97:
if (curChar == 13)
{ jjCheckNAddTwoStates(88, 92); }
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 0:
if ((0x7fffffe87ffffffL & l) != 0L)
{
if (kind > 89)
kind = 89;
{ jjCheckNAdd(40); }
}
else if (curChar == 124)
jjstateSet[jjnewStateCnt++] = 23;
else if (curChar == 92)
{ jjAddStates(62, 63); }
if (curChar == 101)
jjstateSet[jjnewStateCnt++] = 10;
break;
case 4:
if (curChar != 101)
break;
if (kind > 8)
kind = 8;
{ jjAddStates(47, 49); }
break;
case 9:
if (curChar == 115)
jjstateSet[jjnewStateCnt++] = 4;
break;
case 10:
if (curChar == 108)
jjstateSet[jjnewStateCnt++] = 9;
break;
case 11:
if (curChar == 101)
jjstateSet[jjnewStateCnt++] = 10;
break;
case 23:
if (curChar != 124)
break;
if (kind > 44)
kind = 44;
{ jjAddStates(53, 55); }
break;
case 28:
if (curChar == 124)
jjstateSet[jjnewStateCnt++] = 23;
break;
case 39:
case 40:
if ((0x7fffffe87ffffffL & l) == 0L)
break;
if (kind > 89)
kind = 89;
{ jjCheckNAdd(40); }
break;
case 43:
if ((0x100000001000L & l) != 0L && kind > 92)
kind = 92;
break;
case 45:
if ((0xffffffffefffffffL & l) != 0L)
{ jjCheckNAddStates(38, 40); }
break;
case 46:
if (curChar == 92)
jjstateSet[jjnewStateCnt++] = 47;
break;
case 47:
{ jjCheckNAddStates(38, 40); }
break;
case 50:
if ((0xffffffffefffffffL & l) != 0L)
{ jjCheckNAddStates(35, 37); }
break;
case 51:
if (curChar == 92)
jjstateSet[jjnewStateCnt++] = 52;
break;
case 52:
{ jjCheckNAddStates(35, 37); }
break;
case 55:
{ jjAddStates(64, 65); }
break;
case 57:
if ((0x228000000000L & l) == 0L)
break;
if (kind > 95)
kind = 95;
jjstateSet[jjnewStateCnt++] = 57;
break;
case 63:
if ((0x2000000020L & l) != 0L)
{ jjAddStates(66, 67); }
break;
case 66:
if ((0x1000000010L & l) != 0L && kind > 93)
kind = 93;
break;
case 69:
if ((0x100000001000000L & l) != 0L)
{ jjCheckNAdd(70); }
break;
case 70:
if ((0x7e0000007eL & l) == 0L)
break;
if (kind > 92)
kind = 92;
{ jjCheckNAddTwoStates(70, 43); }
break;
case 73:
{ jjCheckNAddTwoStates(73, 74); }
break;
case 75:
case 76:
{ jjCheckNAddTwoStates(76, 74); }
break;
case 79:
if (kind > 2)
kind = 2;
{ jjAddStates(0, 2); }
break;
case 84:
if (kind > 39)
kind = 39;
jjstateSet[jjnewStateCnt++] = 84;
break;
default : break;
}
} while(i != startsAt);
}
else
{
int hiByte = (curChar >> 8);
int i1 = hiByte >> 6;
long l1 = 1L << (hiByte & 077);
int i2 = (curChar & 0xff) >> 6;
long l2 = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 45:
case 47:
if (jjCanMove_0(hiByte, i1, i2, l1, l2))
{ jjCheckNAddStates(38, 40); }
break;
case 50:
case 52:
if (jjCanMove_0(hiByte, i1, i2, l1, l2))
{ jjCheckNAddStates(35, 37); }
break;
case 55:
if (jjCanMove_1(hiByte, i1, i2, l1, l2))
{ jjAddStates(64, 65); }
break;
case 73:
if (jjCanMove_1(hiByte, i1, i2, l1, l2))
{ jjCheckNAddTwoStates(73, 74); }
break;
case 75:
case 76:
if (jjCanMove_1(hiByte, i1, i2, l1, l2))
{ jjCheckNAddTwoStates(76, 74); }
break;
case 79:
if (!jjCanMove_1(hiByte, i1, i2, l1, l2))
break;
if (kind > 2)
kind = 2;
{ jjAddStates(0, 2); }
break;
case 84:
if (!jjCanMove_1(hiByte, i1, i2, l1, l2))
break;
if (kind > 39)
kind = 39;
jjstateSet[jjnewStateCnt++] = 84;
break;
default : if (i1 == 0 || l1 == 0 || i2 == 0 || l2 == 0) break; else break;
}
} while(i != startsAt);
}
if (kind != 0x7fffffff)
{
jjmatchedKind = kind;
jjmatchedPos = curPos;
kind = 0x7fffffff;
}
++curPos;
if ((i = jjnewStateCnt) == (startsAt = 98 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return curPos; }
}
}
/** Token literal values. */
public static final String[] jjstrLiteralImages = {
"", null, null, null, null, null, null, "\151\146", null, "\146\157\162",
"\167\150\151\154\145", "\167\150\145\162\145", "\163\167\151\164\143\150", "\144\145\154",
"\156\145\167", "\156\165\154\154", "\164\162\165\145", "\146\141\154\163\145",
"\142\162\145\141\153", "\143\157\156\164\151\156\165\145", "\143\141\163\145",
"\162\145\164\165\162\156", "\144\145\146", "\151\155\160\157\162\164", "\141\163",
"\43\141\164\157\155\151\143", "\43\143\154\157\143\153", "\43\142\160", "\50", "\51", "\173", "\175",
"\133", "\135", "\73", "\72", null, "\56", null, null, "\77", "\77\72", "\77\77", null,
null, "\75\75", "\75\75\75", "\56\75", "\41\75", "\75\176", "\41\176", "\76",
"\76\75", "\74", "\74\75", "\100", "\41\100", "\57\77", "\151\163\141", "\43\136",
"\43\44", "\43\100", "\75", "\45", "\57", "\57\75", "\41", null, null, "\53\75",
"\55\75", "\52", "\52\75", "\176", "\46", "\174", "\136", "\46\75", "\174\75",
"\136\75", "\45\75", "\43", "\43\174", "\43\50", "\137\57", "\137", "\55\76", "\72\72",
"\43\74", null, null, null, null, null, null, null, };
protected Token jjFillToken()
{
final Token t;
final String curTokenImage;
final int beginLine;
final int endLine;
final int beginColumn;
final int endColumn;
String im = jjstrLiteralImages[jjmatchedKind];
curTokenImage = (im == null) ? input_stream.GetImage() : im;
beginLine = input_stream.getBeginLine();
beginColumn = input_stream.getBeginColumn();
endLine = input_stream.getEndLine();
endColumn = input_stream.getEndColumn();
t = Token.newToken(jjmatchedKind, curTokenImage);
t.beginLine = beginLine;
t.endLine = endLine;
t.beginColumn = beginColumn;
t.endColumn = endColumn;
return t;
}
static final int[] jjnextStates = {
79, 80, 82, 35, 36, 38, 30, 31, 33, 90, 91, 93, 86, 87, 89, 11,
86, 87, 89, 60, 61, 62, 63, 66, 86, 87, 89, 90, 91, 93, 94, 95,
72, 78, 83, 50, 51, 53, 45, 46, 48, 13, 14, 16, 68, 69, 43, 5,
6, 8, 18, 19, 21, 24, 25, 27, 62, 63, 66, 74, 75, 77, 1, 3,
55, 56, 64, 65,
};
private static final boolean jjCanMove_0(int hiByte, int i1, int i2, long l1, long l2)
{
switch(hiByte)
{
case 0:
return ((jjbitVec2[i2] & l2) != 0L);
case 32:
return ((jjbitVec3[i2] & l2) != 0L);
default :
if ((jjbitVec0[i1] & l1) != 0L)
return true;
return false;
}
}
private static final boolean jjCanMove_1(int hiByte, int i1, int i2, long l1, long l2)
{
switch(hiByte)
{
case 0:
return ((jjbitVec2[i2] & l2) != 0L);
default :
if ((jjbitVec4[i1] & l1) != 0L)
return true;
return false;
}
}
int curLexState = 0;
int defaultLexState = 0;
int jjnewStateCnt;
int jjround;
int jjmatchedPos;
int jjmatchedKind;
/** Get the next Token. */
public Token getNextToken()
{
Token matchedToken;
int curPos = 0;
EOFLoop :
for (;;)
{
try
{
curChar = input_stream.BeginToken();
}
catch(Exception e)
{
jjmatchedKind = 0;
jjmatchedPos = -1;
matchedToken = jjFillToken();
return matchedToken;
}
try { input_stream.backup(0);
while (curChar <= 12 && (0x1000L & (1L << curChar)) != 0L)
curChar = input_stream.BeginToken();
}
catch (java.io.IOException e1) { continue EOFLoop; }
jjmatchedKind = 0x7fffffff;
jjmatchedPos = 0;
curPos = jjMoveStringLiteralDfa0_0();
if (jjmatchedKind != 0x7fffffff)
{
if (jjmatchedPos + 1 < curPos)
input_stream.backup(curPos - jjmatchedPos - 1);
if ((jjtoToken[jjmatchedKind >> 6] & (1L << (jjmatchedKind & 077))) != 0L)
{
matchedToken = jjFillToken();
return matchedToken;
}
else
{
continue EOFLoop;
}
}
int error_line = input_stream.getEndLine();
int error_column = input_stream.getEndColumn();
String error_after = null;
boolean EOFSeen = false;
try { input_stream.readChar(); input_stream.backup(1); }
catch (java.io.IOException e1) {
EOFSeen = true;
error_after = curPos <= 1 ? "" : input_stream.GetImage();
if (curChar == '\n' || curChar == '\r') {
error_line++;
error_column = 0;
}
else
error_column++;
}
if (!EOFSeen) {
input_stream.backup(1);
error_after = curPos <= 1 ? "" : input_stream.GetImage();
}
throw new TokenMgrError(EOFSeen, curLexState, error_line, error_column, error_after, curChar, TokenMgrError.LEXICAL_ERROR);
}
}
void SkipLexicalActions(Token matchedToken)
{
switch(jjmatchedKind)
{
default :
break;
}
}
void MoreLexicalActions()
{
jjimageLen += (lengthOfMatch = jjmatchedPos + 1);
switch(jjmatchedKind)
{
default :
break;
}
}
void TokenLexicalActions(Token matchedToken)
{
switch(jjmatchedKind)
{
default :
break;
}
}
private void jjCheckNAdd(int state)
{
if (jjrounds[state] != jjround)
{
jjstateSet[jjnewStateCnt++] = state;
jjrounds[state] = jjround;
}
}
private void jjAddStates(int start, int end)
{
do {
jjstateSet[jjnewStateCnt++] = jjnextStates[start];
} while (start++ != end);
}
private void jjCheckNAddTwoStates(int state1, int state2)
{
jjCheckNAdd(state1);
jjCheckNAdd(state2);
}
private void jjCheckNAddStates(int start, int end)
{
do {
jjCheckNAdd(jjnextStates[start]);
} while (start++ != end);
}
/** Constructor. */
public ParserTokenManager(SimpleCharStream stream){
if (SimpleCharStream.staticFlag)
throw new Error("ERROR: Cannot use a static CharStream class with a non-static lexical analyzer.");
input_stream = stream;
}
/** Constructor. */
public ParserTokenManager (SimpleCharStream stream, int lexState){
ReInit(stream);
SwitchTo(lexState);
}
/** Reinitialise parser. */
public void ReInit(SimpleCharStream stream)
{
jjmatchedPos =
jjnewStateCnt =
0;
curLexState = defaultLexState;
input_stream = stream;
ReInitRounds();
}
private void ReInitRounds()
{
int i;
jjround = 0x80000001;
for (i = 98; i-- > 0;)
jjrounds[i] = 0x80000000;
}
/** Reinitialise parser. */
public void ReInit(SimpleCharStream stream, int lexState)
{
ReInit(stream);
SwitchTo(lexState);
}
/** Switch to specified lex state. */
public void SwitchTo(int lexState)
{
if (lexState >= 1 || lexState < 0)
throw new TokenMgrError("Error: Ignoring invalid lexical state : " + lexState + ". State unchanged.", TokenMgrError.INVALID_LEXICAL_STATE);
else
curLexState = lexState;
}
/** Lexer state names. */
public static final String[] lexStateNames = {
"DEFAULT",
};
/** Lex State array. */
public static final int[] jjnewLexState = {
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
};
static final long[] jjtoToken = {
0xffffffffffffff81L, 0xf3ffffffL,
};
static final long[] jjtoSkip = {
0x7eL, 0x0L,
};
static final long[] jjtoSpecial = {
0x0L, 0x0L,
};
static final long[] jjtoMore = {
0x0L, 0x0L,
};
protected SimpleCharStream input_stream;
private final int[] jjrounds = new int[98];
private final int[] jjstateSet = new int[2 * 98];
private final StringBuilder jjimage = new StringBuilder();
private StringBuilder image = jjimage;
private int jjimageLen;
private int lengthOfMatch;
protected int curChar;
}