private int JjMoveNfa_0(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 3;
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 0:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 23)
kind = 23;
JjAddStates(17, 18);
break;
case 1:
if (curChar == 46)
JjCheckNAdd(2);
break;
case 2:
if ((0x3ff000000000000L & l) == 0L)
break;
if (kind > 23)
kind = 23;
JjCheckNAdd(2);
break;
default: break;
}
} while (i != startsAt);
}
else if (curChar < 128)
{
//long l = 1L << (curChar & 077);
ulong l = (ulong)(1L << (curChar & 63));
do
{
switch (jjstateSet[--i])
{
default: break;
}
} while (i != startsAt);
}
else
{
int hiByte = (int)(curChar >> 8);
int i1 = hiByte >> 6;
//long l1 = 1L << (hiByte & 077);
ulong l1 = (ulong)(1L << (hiByte & 63));
int i2 = (curChar & 0xff) >> 6;
//long l2 = 1L << (curChar & 077);
ulong l2 = (ulong)(1L << (curChar & 63));
do
{
switch (jjstateSet[--i])
{
default: break;
}
} while (i != startsAt);
}
if (kind != 0x7fffffff)
{
jjmatchedKind = kind;
jjmatchedPos = curPos;
kind = 0x7fffffff;
}
++curPos;
if ((i = jjnewStateCnt) == (startsAt = 3 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.ReadChar(); }
catch (System.IO.IOException /*e*/) { return curPos; }
}
}
internal static readonly int[] jjnextStates = {