javacc-7.0.1.test.tmp.CORBA-IDL.IDLParserTokenManager Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacc Show documentation
Show all versions of javacc Show documentation
JavaCC is a parser/scanner generator for Java.
/* IDLParserTokenManager.java */
/* Generated By:JavaCC: Do not edit this line. IDLParserTokenManager.java */
/** Token Manager. */
public class IDLParserTokenManager implements IDLParserConstants {
/** 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, long active1){
switch (pos)
{
case 0:
if ((active0 & 0x4000000L) != 0L)
return 58;
if ((active0 & 0xff93ffff80011200L) != 0L || (active1 & 0x1L) != 0L)
{
jjmatchedKind = 65;
return 13;
}
return -1;
case 1:
if ((active0 & 0xaf93ffff80010200L) != 0L || (active1 & 0x1L) != 0L)
{
if (jjmatchedPos != 1)
{
jjmatchedKind = 65;
jjmatchedPos = 1;
}
return 13;
}
if ((active0 & 0x5000000000001000L) != 0L)
return 13;
return -1;
case 2:
if ((active0 & 0xcf93fbff80011200L) != 0L || (active1 & 0x1L) != 0L)
{
jjmatchedKind = 65;
jjmatchedPos = 2;
return 13;
}
if ((active0 & 0x2000040000000000L) != 0L)
return 13;
return -1;
case 3:
if ((active0 & 0x801409080000000L) != 0L)
return 13;
if ((active0 & 0xc792bb6f00011200L) != 0L || (active1 & 0x1L) != 0L)
{
jjmatchedKind = 65;
jjmatchedPos = 3;
return 13;
}
return -1;
case 4:
if ((active0 & 0x8792a94a00001200L) != 0L || (active1 & 0x1L) != 0L)
{
jjmatchedKind = 65;
jjmatchedPos = 4;
return 13;
}
if ((active0 & 0x4000122500010000L) != 0L)
return 13;
return -1;
case 5:
if ((active0 & 0x382814200001000L) != 0L || (active1 & 0x1L) != 0L)
{
jjmatchedKind = 65;
jjmatchedPos = 5;
return 13;
}
if ((active0 & 0x8410280800000200L) != 0L)
return 13;
return -1;
case 6:
if ((active0 & 0x382004000001000L) != 0L)
{
jjmatchedKind = 65;
jjmatchedPos = 6;
return 13;
}
if ((active0 & 0x810200000000L) != 0L || (active1 & 0x1L) != 0L)
return 13;
return -1;
case 7:
if ((active0 & 0x300000000001000L) != 0L)
{
jjmatchedKind = 65;
jjmatchedPos = 7;
return 13;
}
if ((active0 & 0x82004000000000L) != 0L)
return 13;
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 int jjStopAtPos(int pos, int kind)
{
jjmatchedKind = kind;
jjmatchedPos = pos;
return pos + 1;
}
static private int jjMoveStringLiteralDfa0_0(){
switch(curChar)
{
case 37:
return jjStopAtPos(0, 27);
case 38:
return jjStopAtPos(0, 20);
case 40:
return jjStopAtPos(0, 29);
case 41:
return jjStopAtPos(0, 30);
case 42:
return jjStopAtPos(0, 25);
case 43:
return jjStopAtPos(0, 23);
case 44:
return jjStopAtPos(0, 14);
case 45:
return jjStopAtPos(0, 24);
case 47:
return jjStartNfaWithStates_0(0, 26, 58);
case 58:
jjmatchedKind = 13;
return jjMoveStringLiteralDfa1_0(0x8000L, 0x0L);
case 59:
return jjStopAtPos(0, 8);
case 60:
jjmatchedKind = 50;
return jjMoveStringLiteralDfa1_0(0x400000L, 0x0L);
case 61:
return jjStopAtPos(0, 17);
case 62:
jjmatchedKind = 51;
return jjMoveStringLiteralDfa1_0(0x200000L, 0x0L);
case 70:
return jjMoveStringLiteralDfa1_0(0x100000000L, 0x0L);
case 84:
return jjMoveStringLiteralDfa1_0(0x80000000L, 0x0L);
case 91:
return jjStopAtPos(0, 53);
case 93:
return jjStopAtPos(0, 54);
case 94:
return jjStopAtPos(0, 19);
case 97:
return jjMoveStringLiteralDfa1_0(0x100040000000000L, 0x0L);
case 98:
return jjMoveStringLiteralDfa1_0(0x10000000000L, 0x0L);
case 99:
return jjMoveStringLiteralDfa1_0(0x408000010000L, 0x1L);
case 100:
return jjMoveStringLiteralDfa1_0(0x800800000000L, 0x0L);
case 101:
return jjMoveStringLiteralDfa1_0(0x201000000000000L, 0x0L);
case 102:
return jjMoveStringLiteralDfa1_0(0x400000000L, 0x0L);
case 105:
return jjMoveStringLiteralDfa1_0(0x5000000000001000L, 0x0L);
case 108:
return jjMoveStringLiteralDfa1_0(0x1000000000L, 0x0L);
case 109:
return jjMoveStringLiteralDfa1_0(0x200L, 0x0L);
case 111:
return jjMoveStringLiteralDfa1_0(0x2400020000000000L, 0x0L);
case 114:
return jjMoveStringLiteralDfa1_0(0x8080000000000000L, 0x0L);
case 115:
return jjMoveStringLiteralDfa1_0(0x12282000000000L, 0x0L);
case 116:
return jjMoveStringLiteralDfa1_0(0x200000000L, 0x0L);
case 117:
return jjMoveStringLiteralDfa1_0(0x104000000000L, 0x0L);
case 118:
return jjMoveStringLiteralDfa1_0(0x800000000000000L, 0x0L);
case 123:
return jjStopAtPos(0, 10);
case 124:
return jjStopAtPos(0, 18);
case 125:
return jjStopAtPos(0, 11);
case 126:
return jjStopAtPos(0, 28);
default :
return jjMoveNfa_0(0, 0);
}
}
static 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 58:
if ((active0 & 0x8000L) != 0L)
return jjStopAtPos(1, 15);
break;
case 60:
if ((active0 & 0x400000L) != 0L)
return jjStopAtPos(1, 22);
break;
case 62:
if ((active0 & 0x200000L) != 0L)
return jjStopAtPos(1, 21);
break;
case 65:
return jjMoveStringLiteralDfa2_0(active0, 0x100000000L, active1, 0L);
case 82:
return jjMoveStringLiteralDfa2_0(active0, 0x80000000L, active1, 0L);
case 97:
return jjMoveStringLiteralDfa2_0(active0, 0x8000400000000000L, active1, 0L);
case 99:
return jjMoveStringLiteralDfa2_0(active0, 0x20000000000L, active1, 0L);
case 101:
return jjMoveStringLiteralDfa2_0(active0, 0x82800000000000L, active1, 0L);
case 104:
return jjMoveStringLiteralDfa2_0(active0, 0xa000000000L, active1, 0L);
case 108:
return jjMoveStringLiteralDfa2_0(active0, 0x400000000L, active1, 0L);
case 110:
if ((active0 & 0x1000000000000000L) != 0L)
{
jjmatchedKind = 60;
jjmatchedPos = 1;
}
return jjMoveStringLiteralDfa2_0(active0, 0x4401144000001000L, active1, 0L);
case 111:
return jjMoveStringLiteralDfa2_0(active0, 0x800011800010200L, active1, 0x1L);
case 116:
return jjMoveStringLiteralDfa2_0(active0, 0x110080000000000L, active1, 0L);
case 117:
return jjMoveStringLiteralDfa2_0(active0, 0x2000000000000000L, active1, 0L);
case 119:
return jjMoveStringLiteralDfa2_0(active0, 0x200000000000L, active1, 0L);
case 120:
return jjMoveStringLiteralDfa2_0(active0, 0x200000000000000L, active1, 0L);
case 121:
return jjMoveStringLiteralDfa2_0(active0, 0x200000000L, active1, 0L);
default :
break;
}
return jjStartNfa_0(0, active0, active1);
}
static 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, active1);
return 2;
}
switch(curChar)
{
case 76:
return jjMoveStringLiteralDfa3_0(active0, 0x100000000L, active1, 0L);
case 85:
return jjMoveStringLiteralDfa3_0(active0, 0x80000000L, active1, 0L);
case 97:
return jjMoveStringLiteralDfa3_0(active0, 0x80008000000000L, active1, 0L);
case 99:
return jjMoveStringLiteralDfa3_0(active0, 0x200000000000000L, active1, 0L);
case 100:
return jjMoveStringLiteralDfa3_0(active0, 0x200L, active1, 0L);
case 101:
return jjMoveStringLiteralDfa3_0(active0, 0x400000000000000L, active1, 0L);
case 102:
return jjMoveStringLiteralDfa3_0(active0, 0x800000000000L, active1, 0L);
case 105:
return jjMoveStringLiteralDfa3_0(active0, 0x8800300000000000L, active1, 0L);
case 110:
return jjMoveStringLiteralDfa3_0(active0, 0x1000010000L, active1, 0x1L);
case 111:
return jjMoveStringLiteralDfa3_0(active0, 0x4000012400000000L, active1, 0L);
case 112:
return jjMoveStringLiteralDfa3_0(active0, 0x200000000L, active1, 0L);
case 113:
return jjMoveStringLiteralDfa3_0(active0, 0x2000000000000L, active1, 0L);
case 114:
return jjMoveStringLiteralDfa3_0(active0, 0x10080000000000L, active1, 0L);
case 115:
return jjMoveStringLiteralDfa3_0(active0, 0x404000000000L, active1, 0L);
case 116:
if ((active0 & 0x2000000000000000L) != 0L)
return jjStartNfaWithStates_0(2, 61, 13);
return jjMoveStringLiteralDfa3_0(active0, 0x100020000001000L, active1, 0L);
case 117:
return jjMoveStringLiteralDfa3_0(active0, 0x1000800000000L, active1, 0L);
case 121:
if ((active0 & 0x40000000000L) != 0L)
return jjStartNfaWithStates_0(2, 42, 13);
break;
default :
break;
}
return jjStartNfa_0(1, active0, active1);
}
static private 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 69:
if ((active0 & 0x80000000L) != 0L)
return jjStartNfaWithStates_0(3, 31, 13);
break;
case 83:
return jjMoveStringLiteralDfa4_0(active0, 0x100000000L, active1, 0L);
case 97:
return jjMoveStringLiteralDfa4_0(active0, 0x800400000000L, active1, 0L);
case 98:
return jjMoveStringLiteralDfa4_0(active0, 0x800000000L, active1, 0L);
case 100:
if ((active0 & 0x800000000000000L) != 0L)
return jjStartNfaWithStates_0(3, 59, 13);
return jjMoveStringLiteralDfa4_0(active0, 0x80000000000000L, active1, 0L);
case 101:
if ((active0 & 0x400000000000L) != 0L)
return jjStartNfaWithStates_0(3, 46, 13);
return jjMoveStringLiteralDfa4_0(active0, 0x200020200001000L, active1, 0L);
case 103:
if ((active0 & 0x1000000000L) != 0L)
return jjStartNfaWithStates_0(3, 36, 13);
break;
case 105:
return jjMoveStringLiteralDfa4_0(active0, 0x10004000000000L, active1, 0L);
case 108:
return jjMoveStringLiteralDfa4_0(active0, 0x10000000000L, active1, 0L);
case 109:
if ((active0 & 0x1000000000000L) != 0L)
return jjStartNfaWithStates_0(3, 48, 13);
break;
case 111:
return jjMoveStringLiteralDfa4_0(active0, 0x100000000000L, active1, 0L);
case 114:
if ((active0 & 0x8000000000L) != 0L)
return jjStartNfaWithStates_0(3, 39, 13);
return jjMoveStringLiteralDfa4_0(active0, 0x100002000000000L, active1, 0L);
case 115:
return jjMoveStringLiteralDfa4_0(active0, 0x8000000000010000L, active1, 0L);
case 116:
return jjMoveStringLiteralDfa4_0(active0, 0x200000000000L, active1, 0x1L);
case 117:
return jjMoveStringLiteralDfa4_0(active0, 0x4002080000000200L, active1, 0L);
case 119:
return jjMoveStringLiteralDfa4_0(active0, 0x400000000000000L, active1, 0L);
default :
break;
}
return jjStartNfa_0(2, active0, active1);
}
static private int jjMoveStringLiteralDfa4_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(2, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(3, active0, active1);
return 4;
}
switch(curChar)
{
case 69:
if ((active0 & 0x100000000L) != 0L)
return jjStartNfaWithStates_0(4, 32, 13);
break;
case 97:
return jjMoveStringLiteralDfa5_0(active0, 0x400000000000000L, active1, 0L);
case 99:
return jjMoveStringLiteralDfa5_0(active0, 0x280000000000L, active1, 0L);
case 100:
return jjMoveStringLiteralDfa5_0(active0, 0x200000000L, active1, 0L);
case 101:
return jjMoveStringLiteralDfa5_0(active0, 0x8002010000000000L, active1, 0x1L);
case 103:
return jjMoveStringLiteralDfa5_0(active0, 0x4000000000L, active1, 0L);
case 105:
return jjMoveStringLiteralDfa5_0(active0, 0x100000000000000L, active1, 0L);
case 108:
return jjMoveStringLiteralDfa5_0(active0, 0x800000200L, active1, 0L);
case 110:
if ((active0 & 0x100000000000L) != 0L)
return jjStartNfaWithStates_0(4, 44, 13);
return jjMoveStringLiteralDfa5_0(active0, 0x10000000000000L, active1, 0L);
case 111:
return jjMoveStringLiteralDfa5_0(active0, 0x80000000000000L, active1, 0L);
case 112:
return jjMoveStringLiteralDfa5_0(active0, 0x200000000000000L, active1, 0L);
case 114:
return jjMoveStringLiteralDfa5_0(active0, 0x1000L, active1, 0L);
case 116:
if ((active0 & 0x10000L) != 0L)
return jjStartNfaWithStates_0(4, 16, 13);
else if ((active0 & 0x400000000L) != 0L)
return jjStartNfaWithStates_0(4, 34, 13);
else if ((active0 & 0x2000000000L) != 0L)
return jjStartNfaWithStates_0(4, 37, 13);
else if ((active0 & 0x20000000000L) != 0L)
return jjStartNfaWithStates_0(4, 41, 13);
else if ((active0 & 0x4000000000000000L) != 0L)
return jjStartNfaWithStates_0(4, 62, 13);
break;
case 117:
return jjMoveStringLiteralDfa5_0(active0, 0x800000000000L, active1, 0L);
default :
break;
}
return jjStartNfa_0(3, active0, active1);
}
static private int jjMoveStringLiteralDfa5_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(3, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(4, active0, active1);
return 5;
}
switch(curChar)
{
case 97:
return jjMoveStringLiteralDfa6_0(active0, 0x10000000000L, active1, 0L);
case 98:
return jjMoveStringLiteralDfa6_0(active0, 0x100000000000000L, active1, 0L);
case 101:
if ((active0 & 0x200L) != 0L)
return jjStartNfaWithStates_0(5, 9, 13);
else if ((active0 & 0x800000000L) != 0L)
return jjStartNfaWithStates_0(5, 35, 13);
return jjMoveStringLiteralDfa6_0(active0, 0x200000000L, active1, 0L);
case 102:
return jjMoveStringLiteralDfa6_0(active0, 0x1000L, active1, 0L);
case 103:
if ((active0 & 0x10000000000000L) != 0L)
return jjStartNfaWithStates_0(5, 52, 13);
break;
case 104:
if ((active0 & 0x200000000000L) != 0L)
return jjStartNfaWithStates_0(5, 45, 13);
break;
case 108:
return jjMoveStringLiteralDfa6_0(active0, 0x800000000000L, active1, 0L);
case 110:
return jjMoveStringLiteralDfa6_0(active0, 0x82004000000000L, active1, 0L);
case 115:
if ((active0 & 0x8000000000000000L) != 0L)
return jjStartNfaWithStates_0(5, 63, 13);
break;
case 116:
if ((active0 & 0x80000000000L) != 0L)
return jjStartNfaWithStates_0(5, 43, 13);
return jjMoveStringLiteralDfa6_0(active0, 0x200000000000000L, active1, 0L);
case 120:
return jjMoveStringLiteralDfa6_0(active0, 0L, active1, 0x1L);
case 121:
if ((active0 & 0x400000000000000L) != 0L)
return jjStartNfaWithStates_0(5, 58, 13);
break;
default :
break;
}
return jjStartNfa_0(4, active0, active1);
}
static private int jjMoveStringLiteralDfa6_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(4, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(5, active0, active1);
return 6;
}
switch(curChar)
{
case 97:
return jjMoveStringLiteralDfa7_0(active0, 0x1000L, active1, 0L);
case 99:
return jjMoveStringLiteralDfa7_0(active0, 0x2000000000000L, active1, 0L);
case 101:
return jjMoveStringLiteralDfa7_0(active0, 0x4000000000L, active1, 0L);
case 102:
if ((active0 & 0x200000000L) != 0L)
return jjStartNfaWithStates_0(6, 33, 13);
break;
case 105:
return jjMoveStringLiteralDfa7_0(active0, 0x200000000000000L, active1, 0L);
case 108:
return jjMoveStringLiteralDfa7_0(active0, 0x80000000000000L, active1, 0L);
case 110:
if ((active0 & 0x10000000000L) != 0L)
return jjStartNfaWithStates_0(6, 40, 13);
break;
case 116:
if ((active0 & 0x800000000000L) != 0L)
return jjStartNfaWithStates_0(6, 47, 13);
else if ((active1 & 0x1L) != 0L)
return jjStartNfaWithStates_0(6, 64, 13);
break;
case 117:
return jjMoveStringLiteralDfa7_0(active0, 0x100000000000000L, active1, 0L);
default :
break;
}
return jjStartNfa_0(5, active0, active1);
}
static private int jjMoveStringLiteralDfa7_0(long old0, long active0, long old1, long active1){
if (((active0 &= old0) | (active1 &= old1)) == 0L)
return jjStartNfa_0(5, old0, old1);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(6, active0, 0L);
return 7;
}
switch(curChar)
{
case 99:
return jjMoveStringLiteralDfa8_0(active0, 0x1000L);
case 100:
if ((active0 & 0x4000000000L) != 0L)
return jjStartNfaWithStates_0(7, 38, 13);
break;
case 101:
if ((active0 & 0x2000000000000L) != 0L)
return jjStartNfaWithStates_0(7, 49, 13);
break;
case 111:
return jjMoveStringLiteralDfa8_0(active0, 0x200000000000000L);
case 116:
return jjMoveStringLiteralDfa8_0(active0, 0x100000000000000L);
case 121:
if ((active0 & 0x80000000000000L) != 0L)
return jjStartNfaWithStates_0(7, 55, 13);
break;
default :
break;
}
return jjStartNfa_0(6, active0, 0L);
}
static private int jjMoveStringLiteralDfa8_0(long old0, long active0){
if (((active0 &= old0)) == 0L)
return jjStartNfa_0(6, old0, 0L);
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) {
jjStopStringLiteralDfa_0(7, active0, 0L);
return 8;
}
switch(curChar)
{
case 101:
if ((active0 & 0x1000L) != 0L)
return jjStartNfaWithStates_0(8, 12, 13);
else if ((active0 & 0x100000000000000L) != 0L)
return jjStartNfaWithStates_0(8, 56, 13);
break;
case 110:
if ((active0 & 0x200000000000000L) != 0L)
return jjStartNfaWithStates_0(8, 57, 13);
break;
default :
break;
}
return jjStartNfa_0(7, active0, 0L);
}
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 = 77;
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 58:
if (curChar == 42)
{ jjCheckNAddTwoStates(62, 63); }
else if (curChar == 47)
{ jjCheckNAddTwoStates(59, 60); }
break;
case 0:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(0, 5); }
else if (curChar == 47)
{ jjAddStates(6, 7); }
else if (curChar == 34)
{ jjCheckNAddStates(8, 10); }
else if (curChar == 39)
{ jjAddStates(11, 12); }
else if (curChar == 46)
{ jjCheckNAdd(21); }
else if (curChar == 35)
{ jjCheckNAddTwoStates(1, 2); }
if ((0x3fe000000000000L & l) != 0L)
{
if (kind > 67)
kind = 67;
{ jjCheckNAddTwoStates(18, 19); }
}
else if (curChar == 48)
{ jjAddStates(13, 14); }
if (curChar == 48)
{
if (kind > 66)
kind = 66;
{ jjCheckNAddTwoStates(15, 16); }
}
break;
case 1:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddTwoStates(1, 2); }
break;
case 2:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(15, 18); }
break;
case 3:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddTwoStates(3, 4); }
break;
case 4:
if (curChar == 34)
{ jjCheckNAdd(5); }
break;
case 5:
if ((0xfffffffbffffffffL & l) != 0L)
{ jjCheckNAddTwoStates(5, 6); }
break;
case 6:
if (curChar == 34)
{ jjCheckNAddStates(19, 21); }
break;
case 7:
if (curChar == 10 && kind > 7)
kind = 7;
break;
case 8:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(22, 25); }
break;
case 9:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(26, 28); }
break;
case 10:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddTwoStates(10, 7); }
break;
case 11:
if ((0x100000200L & l) != 0L)
{ jjCheckNAddStates(29, 33); }
break;
case 13:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 65)
kind = 65;
jjstateSet[jjnewStateCnt++] = 13;
break;
case 14:
if (curChar != 48)
break;
if (kind > 66)
kind = 66;
{ jjCheckNAddTwoStates(15, 16); }
break;
case 15:
if ((0xff000000000000L & l) == 0L)
break;
if (kind > 66)
kind = 66;
{ jjCheckNAddTwoStates(15, 16); }
break;
case 17:
if ((0x3fe000000000000L & l) == 0L)
break;
if (kind > 67)
kind = 67;
{ jjCheckNAddTwoStates(18, 19); }
break;
case 18:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 67)
kind = 67;
{ jjCheckNAddTwoStates(18, 19); }
break;
case 20:
if (curChar == 46)
{ jjCheckNAdd(21); }
break;
case 21:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 69)
kind = 69;
{ jjCheckNAddStates(34, 36); }
break;
case 23:
if ((0x280000000000L & l) != 0L)
{ jjCheckNAdd(24); }
break;
case 24:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 69)
kind = 69;
{ jjCheckNAddTwoStates(24, 25); }
break;
case 26:
if (curChar == 39)
{ jjAddStates(11, 12); }
break;
case 27:
if ((0xffffff7fffffdbffL & l) != 0L)
{ jjCheckNAdd(28); }
break;
case 28:
if (curChar == 39 && kind > 71)
kind = 71;
break;
case 30:
if ((0x8000008400000000L & l) != 0L)
{ jjCheckNAdd(28); }
break;
case 31:
if (curChar == 48)
{ jjCheckNAddTwoStates(32, 28); }
break;
case 32:
if ((0xff000000000000L & l) != 0L)
{ jjCheckNAddTwoStates(32, 28); }
break;
case 33:
if ((0x3fe000000000000L & l) != 0L)
{ jjCheckNAddTwoStates(34, 28); }
break;
case 34:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddTwoStates(34, 28); }
break;
case 35:
if (curChar == 48)
{ jjAddStates(37, 38); }
break;
case 37:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddTwoStates(37, 28); }
break;
case 39:
if (curChar == 34)
{ jjCheckNAddStates(8, 10); }
break;
case 40:
if ((0xfffffffbffffdbffL & l) != 0L)
{ jjCheckNAddStates(8, 10); }
break;
case 42:
if ((0x8000008400000000L & l) != 0L)
{ jjCheckNAddStates(8, 10); }
break;
case 43:
if (curChar == 34 && kind > 72)
kind = 72;
break;
case 44:
if (curChar == 48)
{ jjCheckNAddStates(39, 42); }
break;
case 45:
if ((0xff000000000000L & l) != 0L)
{ jjCheckNAddStates(39, 42); }
break;
case 46:
if ((0x3fe000000000000L & l) != 0L)
{ jjCheckNAddStates(43, 46); }
break;
case 47:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(43, 46); }
break;
case 48:
if (curChar == 48)
{ jjAddStates(47, 48); }
break;
case 50:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(49, 52); }
break;
case 52:
if (curChar == 48)
{ jjAddStates(13, 14); }
break;
case 54:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 68)
kind = 68;
{ jjAddStates(53, 54); }
break;
case 57:
if (curChar == 47)
{ jjAddStates(6, 7); }
break;
case 59:
if ((0xfffffffffffffbffL & l) != 0L)
{ jjCheckNAddTwoStates(59, 60); }
break;
case 60:
if (curChar == 10 && kind > 5)
kind = 5;
break;
case 61:
if (curChar == 42)
{ jjCheckNAddTwoStates(62, 63); }
break;
case 62:
if ((0xfffffbffffffffffL & l) != 0L)
{ jjCheckNAddTwoStates(62, 63); }
break;
case 63:
if (curChar == 42)
{ jjAddStates(55, 56); }
break;
case 64:
if ((0xffff7fffffffffffL & l) != 0L)
{ jjCheckNAddTwoStates(65, 63); }
break;
case 65:
if ((0xfffffbffffffffffL & l) != 0L)
{ jjCheckNAddTwoStates(65, 63); }
break;
case 66:
if (curChar == 47 && kind > 6)
kind = 6;
break;
case 67:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddStates(0, 5); }
break;
case 68:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddTwoStates(68, 69); }
break;
case 69:
if (curChar != 46)
break;
if (kind > 69)
kind = 69;
{ jjCheckNAddStates(57, 59); }
break;
case 70:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 69)
kind = 69;
{ jjCheckNAddStates(57, 59); }
break;
case 71:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddTwoStates(71, 20); }
break;
case 72:
if ((0x3ff000000000000L & l) != 0L)
{ jjCheckNAddTwoStates(72, 73); }
break;
case 74:
if ((0x280000000000L & l) != 0L)
{ jjCheckNAdd(75); }
break;
case 75:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 70)
kind = 70;
{ jjCheckNAddTwoStates(75, 76); }
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 0:
case 13:
if ((0x7fffffe87fffffeL & l) == 0L)
break;
if (kind > 65)
kind = 65;
{ jjCheckNAdd(13); }
break;
case 5:
{ jjAddStates(60, 61); }
break;
case 16:
if ((0x20100000201000L & l) != 0L && kind > 66)
kind = 66;
break;
case 19:
if ((0x20100000201000L & l) != 0L && kind > 67)
kind = 67;
break;
case 22:
if ((0x2000000020L & l) != 0L)
{ jjAddStates(62, 63); }
break;
case 25:
if ((0x104000001040L & l) != 0L && kind > 69)
kind = 69;
break;
case 27:
if ((0xffffffffefffffffL & l) != 0L)
{ jjCheckNAdd(28); }
break;
case 29:
if (curChar == 92)
{ jjAddStates(64, 67); }
break;
case 30:
if ((0x54404610000000L & l) != 0L)
{ jjCheckNAdd(28); }
break;
case 36:
if (curChar == 120)
{ jjCheckNAdd(37); }
break;
case 37:
if ((0x7e0000007eL & l) != 0L)
{ jjCheckNAddTwoStates(37, 28); }
break;
case 38:
if (curChar == 88)
{ jjCheckNAdd(37); }
break;
case 40:
if ((0xffffffffefffffffL & l) != 0L)
{ jjCheckNAddStates(8, 10); }
break;
case 41:
if (curChar == 92)
{ jjAddStates(68, 71); }
break;
case 42:
if ((0x54404610000000L & l) != 0L)
{ jjCheckNAddStates(8, 10); }
break;
case 49:
if (curChar == 120)
{ jjCheckNAdd(50); }
break;
case 50:
if ((0x7e0000007eL & l) != 0L)
{ jjCheckNAddStates(49, 52); }
break;
case 51:
if (curChar == 88)
{ jjCheckNAdd(50); }
break;
case 53:
if (curChar == 120)
{ jjCheckNAdd(54); }
break;
case 54:
if ((0x7e0000007eL & l) == 0L)
break;
if (kind > 68)
kind = 68;
{ jjCheckNAddTwoStates(54, 55); }
break;
case 55:
if ((0x20100000201000L & l) != 0L && kind > 68)
kind = 68;
break;
case 56:
if (curChar == 88)
{ jjCheckNAdd(54); }
break;
case 59:
{ jjAddStates(72, 73); }
break;
case 62:
{ jjCheckNAddTwoStates(62, 63); }
break;
case 64:
case 65:
{ jjCheckNAddTwoStates(65, 63); }
break;
case 73:
if ((0x2000000020L & l) != 0L)
{ jjAddStates(74, 75); }
break;
case 76:
if ((0x104000001040L & l) != 0L && kind > 70)
kind = 70;
break;
default : break;
}
} while(i != startsAt);
}
else
{
int i2 = (curChar & 0xff) >> 6;
long l2 = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 5:
if ((jjbitVec0[i2] & l2) != 0L)
{ jjAddStates(60, 61); }
break;
case 27:
if ((jjbitVec0[i2] & l2) != 0L)
jjstateSet[jjnewStateCnt++] = 28;
break;
case 40:
if ((jjbitVec0[i2] & l2) != 0L)
{ jjAddStates(8, 10); }
break;
case 59:
if ((jjbitVec0[i2] & l2) != 0L)
{ jjAddStates(72, 73); }
break;
case 62:
if ((jjbitVec0[i2] & l2) != 0L)
{ jjCheckNAddTwoStates(62, 63); }
break;
case 64:
case 65:
if ((jjbitVec0[i2] & l2) != 0L)
{ jjCheckNAddTwoStates(65, 63); }
break;
default : break;
}
} while(i != startsAt);
}
if (kind != 0x7fffffff)
{
jjmatchedKind = kind;
jjmatchedPos = curPos;
kind = 0x7fffffff;
}
++curPos;
if ((i = jjnewStateCnt) == (startsAt = 77 - (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, null, "\73",
"\155\157\144\165\154\145", "\173", "\175", "\151\156\164\145\162\146\141\143\145", "\72", "\54",
"\72\72", "\143\157\156\163\164", "\75", "\174", "\136", "\46", "\76\76", "\74\74",
"\53", "\55", "\52", "\57", "\45", "\176", "\50", "\51", "\124\122\125\105",
"\106\101\114\123\105", "\164\171\160\145\144\145\146", "\146\154\157\141\164",
"\144\157\165\142\154\145", "\154\157\156\147", "\163\150\157\162\164",
"\165\156\163\151\147\156\145\144", "\143\150\141\162", "\142\157\157\154\145\141\156", "\157\143\164\145\164",
"\141\156\171", "\163\164\162\165\143\164", "\165\156\151\157\156",
"\163\167\151\164\143\150", "\143\141\163\145", "\144\145\146\141\165\154\164", "\145\156\165\155",
"\163\145\161\165\145\156\143\145", "\74", "\76", "\163\164\162\151\156\147", "\133", "\135",
"\162\145\141\144\157\156\154\171", "\141\164\164\162\151\142\165\164\145",
"\145\170\143\145\160\164\151\157\156", "\157\156\145\167\141\171", "\166\157\151\144", "\151\156", "\157\165\164",
"\151\156\157\165\164", "\162\141\151\163\145\163", "\143\157\156\164\145\170\164", null, null, null,
null, null, null, null, null, };
static 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);
t.kind = jjmatchedKind;
t.image = curTokenImage;
t.beginLine = beginLine;
t.endLine = endLine;
t.beginColumn = beginColumn;
t.endColumn = endColumn;
return t;
}
static final int[] jjnextStates = {
68, 69, 71, 20, 72, 73, 58, 61, 40, 41, 43, 27, 29, 53, 56, 2,
3, 4, 7, 7, 8, 11, 9, 10, 7, 8, 9, 10, 7, 9, 10, 7,
8, 11, 21, 22, 25, 36, 38, 40, 41, 45, 43, 40, 41, 47, 43, 49,
51, 40, 41, 50, 43, 54, 55, 64, 66, 70, 22, 25, 5, 6, 23, 24,
30, 31, 33, 35, 42, 44, 46, 48, 59, 60, 74, 75,
};
static int curLexState = 0;
static int defaultLexState = 0;
static int jjnewStateCnt;
static int jjround;
static int jjmatchedPos;
static int jjmatchedKind;
/** Get the next Token. */
public static 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 <= 32 && (0x100002600L & (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);
}
}
static void SkipLexicalActions(Token matchedToken)
{
switch(jjmatchedKind)
{
default :
break;
}
}
static void MoreLexicalActions()
{
jjimageLen += (lengthOfMatch = jjmatchedPos + 1);
switch(jjmatchedKind)
{
default :
break;
}
}
static void TokenLexicalActions(Token matchedToken)
{
switch(jjmatchedKind)
{
default :
break;
}
}
static private void jjCheckNAdd(int state)
{
if (jjrounds[state] != jjround)
{
jjstateSet[jjnewStateCnt++] = state;
jjrounds[state] = jjround;
}
}
static private void jjAddStates(int start, int end)
{
do {
jjstateSet[jjnewStateCnt++] = jjnextStates[start];
} while (start++ != end);
}
static private void jjCheckNAddTwoStates(int state1, int state2)
{
jjCheckNAdd(state1);
jjCheckNAdd(state2);
}
static private void jjCheckNAddStates(int start, int end)
{
do {
jjCheckNAdd(jjnextStates[start]);
} while (start++ != end);
}
/** Constructor. */
public IDLParserTokenManager(SimpleCharStream stream){
if (input_stream != null)
throw new TokenMgrError("ERROR: Second call to constructor of static lexer. You must use ReInit() to initialize the static variables.", TokenMgrError.STATIC_LEXER_ERROR);
input_stream = stream;
}
/** Constructor. */
public IDLParserTokenManager (SimpleCharStream stream, int lexState){
ReInit(stream);
SwitchTo(lexState);
}
/** Reinitialise parser. */
static public void ReInit(SimpleCharStream stream)
{
jjmatchedPos =
jjnewStateCnt =
0;
curLexState = defaultLexState;
input_stream = stream;
ReInitRounds();
}
static private void ReInitRounds()
{
int i;
jjround = 0x80000001;
for (i = 77; i-- > 0;)
jjrounds[i] = 0x80000000;
}
/** Reinitialise parser. */
static public void ReInit(SimpleCharStream stream, int lexState)
{
ReInit(stream);
SwitchTo(lexState);
}
/** Switch to specified lex state. */
public static 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,
};
static final long[] jjtoToken = {
0xffffffffffffff01L, 0x1ffL,
};
static final long[] jjtoSkip = {
0xfeL, 0x0L,
};
static final long[] jjtoSpecial = {
0x0L, 0x0L,
};
static final long[] jjtoMore = {
0x0L, 0x0L,
};
static protected SimpleCharStream input_stream;
static private final int[] jjrounds = new int[77];
static private final int[] jjstateSet = new int[2 * 77];
private static final StringBuilder jjimage = new StringBuilder();
private static StringBuilder image = jjimage;
private static int jjimageLen;
private static int lengthOfMatch;
static protected int curChar;
}