in src/main/java/org/apache/sling/commons/html/impl/parser/TagParserTokenManager.java [700:840]
private int jjMoveNfa_3(int startState, int curPos)
{
int startsAt = 0;
jjnewStateCnt = 8;
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 ((0xbfffff7affffd9ffL & l) != 0L)
{
if (kind > 18)
kind = 18;
jjCheckNAdd(1);
}
else if (curChar == 34)
jjCheckNAddTwoStates(6, 7);
else if (curChar == 39)
jjCheckNAddTwoStates(3, 4);
if ((0x100003600L & l) != 0L)
{
if (kind > 13)
kind = 13;
jjCheckNAdd(0);
}
break;
case 0:
if ((0x100003600L & l) == 0L)
break;
if (kind > 13)
kind = 13;
jjCheckNAdd(0);
break;
case 1:
if ((0xbfffff7affffd9ffL & l) == 0L)
break;
if (kind > 18)
kind = 18;
jjCheckNAdd(1);
break;
case 3:
if ((0xffffff7fffffffffL & l) != 0L)
jjCheckNAddTwoStates(3, 4);
break;
case 4:
if (curChar == 39 && kind > 20)
kind = 20;
break;
case 5:
if (curChar == 34)
jjCheckNAddTwoStates(6, 7);
break;
case 6:
if ((0xfffffffbffffffffL & l) != 0L)
jjCheckNAddTwoStates(6, 7);
break;
case 7:
if (curChar == 34 && kind > 20)
kind = 20;
break;
default : break;
}
} while(i != startsAt);
}
else if (curChar < 128)
{
long l = 1L << (curChar & 077);
do
{
switch(jjstateSet[--i])
{
case 2:
case 1:
if (kind > 18)
kind = 18;
jjCheckNAdd(1);
break;
case 3:
jjAddStates(4, 5);
break;
case 6:
jjAddStates(6, 7);
break;
default : break;
}
} while(i != startsAt);
}
else
{
int hiByte = (int)(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 2:
case 1:
if (!jjCanMove_0(hiByte, i1, i2, l1, l2))
break;
if (kind > 18)
kind = 18;
jjCheckNAdd(1);
break;
case 3:
if (jjCanMove_0(hiByte, i1, i2, l1, l2))
jjAddStates(4, 5);
break;
case 6:
if (jjCanMove_0(hiByte, i1, i2, l1, l2))
jjAddStates(6, 7);
break;
default : break;
}
} while(i != startsAt);
}
if (kind != 0x7fffffff)
{
jjmatchedKind = kind;
jjmatchedPos = curPos;
kind = 0x7fffffff;
}
++curPos;
if ((i = jjnewStateCnt) == (startsAt = 8 - (jjnewStateCnt = startsAt)))
return curPos;
try { curChar = input_stream.readChar(); }
catch(java.io.IOException e) { return curPos; }
}
}