import org.eclipse.jface.preference.IPreferenceStore;
import java.util.Hashtable;
import java.util.Enumeration;
+import java.util.ArrayList;
import java.io.StringReader;
import java.io.*;
import java.text.MessageFormat;
import net.sourceforge.phpeclipse.actions.PHPStartApacheAction;
import net.sourceforge.phpeclipse.PHPeclipsePlugin;
-import net.sourceforge.phpdt.internal.compiler.parser.*;
import net.sourceforge.phpdt.internal.compiler.ast.*;
+import net.sourceforge.phpdt.internal.compiler.parser.OutlineableWithChildren;
+import net.sourceforge.phpdt.internal.compiler.parser.PHPOutlineInfo;
public class PHPParserTokenManager implements PHPParserConstants
{
switch (pos)
{
case 0:
- if ((active0 & 0x4800L) != 0L || (active1 & 0x400000000000L) != 0L || (active2 & 0x4L) != 0L)
+ if ((active0 & 0x4800L) != 0L || (active1 & 0x200000L) != 0L || (active2 & 0x8L) != 0L)
return 2;
- if ((active1 & 0x40000000000000L) != 0L)
+ if ((active1 & 0x200L) != 0L)
return 16;
- if ((active1 & 0x4000100000000L) != 0L)
+ if ((active1 & 0x20000000000000L) != 0L || (active2 & 0x80L) != 0L)
return 8;
- if ((active0 & 0xffffff1ffff00000L) != 0L || (active1 & 0x3ffL) != 0L)
+ if ((active0 & 0xffffff1ffff00000L) != 0L || (active1 & 0x600000ffL) != 0L)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
return 14;
}
return -1;
case 1:
- if ((active0 & 0xbfffef1fff700000L) != 0L || (active1 & 0x2efL) != 0L)
+ if ((active0 & 0x4000L) != 0L)
+ return 0;
+ if ((active0 & 0xbfffef1fff700000L) != 0L || (active1 & 0x400000efL) != 0L)
{
if (jjmatchedPos != 1)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 1;
}
return 14;
}
- if ((active0 & 0x4000L) != 0L)
- return 0;
- if ((active0 & 0x4000100000800000L) != 0L || (active1 & 0x110L) != 0L)
+ if ((active0 & 0x4000100000800000L) != 0L || (active1 & 0x20000010L) != 0L)
return 14;
return -1;
case 2:
- if ((active0 & 0x2001400000400000L) != 0L || (active1 & 0x2c0L) != 0L)
+ if ((active0 & 0x2001400000400000L) != 0L || (active1 & 0x400000c0L) != 0L)
return 14;
if ((active0 & 0x9ffeaf1fff300000L) != 0L || (active1 & 0x3fL) != 0L)
{
if (jjmatchedPos != 2)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 2;
}
return 14;
{
if (jjmatchedPos != 3)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 3;
}
return 14;
}
return -1;
case 4:
+ if ((active0 & 0x98802002c100000L) != 0L || (active1 & 0x20L) != 0L)
+ return 14;
if ((active0 & 0xb6142c1f81200000L) != 0L || (active1 & 0x95L) != 0L)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 4;
return 14;
}
- if ((active0 & 0x98802002c100000L) != 0L || (active1 & 0x20L) != 0L)
- return 14;
return -1;
case 5:
if ((active0 & 0x9014001801000000L) != 0L || (active1 & 0x11L) != 0L)
return 14;
if ((active0 & 0x26002c0780200000L) != 0L || (active1 & 0x84L) != 0L)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 5;
return 14;
}
{
if (jjmatchedPos != 6)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 6;
}
return 14;
return 14;
if ((active0 & 0x400000600000000L) != 0L)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 7;
return 14;
}
return -1;
case 8:
+ if ((active0 & 0x400000000000000L) != 0L)
+ return 14;
if ((active0 & 0x600000000L) != 0L)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 8;
return 14;
}
- if ((active0 & 0x400000000000000L) != 0L)
- return 14;
return -1;
case 9:
if ((active0 & 0x600000000L) != 0L)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 9;
return 14;
}
case 10:
if ((active0 & 0x600000000L) != 0L)
{
- jjmatchedKind = 84;
+ jjmatchedKind = 105;
jjmatchedPos = 10;
return 14;
}
switch(curChar)
{
case 33:
- jjmatchedKind = 119;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x14000000000L, 0x0L);
+ jjmatchedKind = 74;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x2800000000000000L, 0x0L);
case 35:
return jjStopAtPos(0, 12);
case 36:
- return jjStartNfaWithStates_1(0, 118, 16);
+ return jjStartNfaWithStates_1(0, 73, 16);
case 37:
- jjmatchedKind = 134;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x8000000000000L, 0x0L);
+ jjmatchedKind = 89;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x100L);
case 38:
- jjmatchedKind = 131;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x1000800000000000L, 0x0L);
+ jjmatchedKind = 86;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x8000L, 0x10L);
case 40:
- return jjStopAtPos(0, 88);
+ return jjStopAtPos(0, 109);
case 41:
- return jjStopAtPos(0, 89);
+ return jjStopAtPos(0, 110);
case 42:
- jjmatchedKind = 129;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x200000000000L, 0x0L);
+ jjmatchedKind = 84;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x4L);
case 43:
- jjmatchedKind = 127;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x2000080000000000L, 0x0L);
+ jjmatchedKind = 82;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x10000L, 0x1L);
case 44:
- return jjStopAtPos(0, 95);
+ return jjStopAtPos(0, 116);
case 45:
- jjmatchedKind = 128;
- return jjMoveStringLiteralDfa1_1(0x2000000000L, 0x4000100000000000L, 0x0L);
+ jjmatchedKind = 83;
+ return jjMoveStringLiteralDfa1_1(0x2000000000L, 0x20000L, 0x2L);
case 46:
- jjmatchedKind = 96;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x4000000000000L, 0x0L);
+ jjmatchedKind = 117;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x80L);
case 47:
- jjmatchedKind = 130;
- return jjMoveStringLiteralDfa1_1(0x4800L, 0x400000000000L, 0x0L);
+ jjmatchedKind = 85;
+ return jjMoveStringLiteralDfa1_1(0x4800L, 0x0L, 0x8L);
case 58:
- jjmatchedKind = 122;
+ jjmatchedKind = 77;
return jjMoveStringLiteralDfa1_1(0x4000000000L, 0x0L, 0x0L);
case 59:
- return jjStopAtPos(0, 94);
+ return jjStopAtPos(0, 115);
case 60:
- jjmatchedKind = 98;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x9000000000L, 0x480L);
+ jjmatchedKind = 119;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x1200000004000000L, 0x400L);
case 61:
- jjmatchedKind = 106;
- return jjMoveStringLiteralDfa1_1(0x8000000000L, 0x20800000000L, 0x0L);
+ jjmatchedKind = 127;
+ return jjMoveStringLiteralDfa1_1(0x8000000000L, 0x4100000000000000L, 0x0L);
case 62:
- jjmatchedKind = 97;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x2000000000L, 0xb00L);
+ jjmatchedKind = 118;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x400000018000000L, 0x800L);
case 63:
- jjmatchedKind = 121;
+ jjmatchedKind = 76;
return jjMoveStringLiteralDfa1_1(0x10L, 0x0L, 0x0L);
case 64:
- return jjStopAtPos(0, 117);
+ return jjStopAtPos(0, 72);
case 91:
- return jjStopAtPos(0, 92);
+ return jjStopAtPos(0, 113);
case 93:
- return jjStopAtPos(0, 93);
+ return jjStopAtPos(0, 114);
case 94:
- jjmatchedKind = 133;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x2000000000000L, 0x0L);
+ jjmatchedKind = 88;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x40L);
case 65:
case 97:
- return jjMoveStringLiteralDfa1_1(0x4000000004000000L, 0x200L, 0x0L);
+ return jjMoveStringLiteralDfa1_1(0x4000000004000000L, 0x40000000L, 0x0L);
case 66:
case 98:
return jjMoveStringLiteralDfa1_1(0x8000000L, 0x6L, 0x0L);
return jjMoveStringLiteralDfa1_1(0x3000000000000L, 0x0L, 0x0L);
case 79:
case 111:
- return jjMoveStringLiteralDfa1_1(0x0L, 0x101L, 0x0L);
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x20000001L, 0x0L);
case 80:
case 112:
return jjMoveStringLiteralDfa1_1(0x20000000L, 0x0L, 0x0L);
case 119:
return jjMoveStringLiteralDfa1_1(0x100000000000000L, 0x0L, 0x0L);
case 123:
- return jjStopAtPos(0, 90);
+ return jjStopAtPos(0, 111);
case 124:
- jjmatchedKind = 132;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x801000000000000L, 0x0L);
+ jjmatchedKind = 87;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x4000L, 0x20L);
case 125:
- return jjStopAtPos(0, 91);
+ return jjStopAtPos(0, 112);
case 126:
- jjmatchedKind = 120;
- return jjMoveStringLiteralDfa1_1(0x0L, 0x10000000000000L, 0x0L);
+ jjmatchedKind = 75;
+ return jjMoveStringLiteralDfa1_1(0x0L, 0x0L, 0x200L);
default :
return jjMoveNfa_1(3, 0);
}
switch(curChar)
{
case 38:
- if ((active1 & 0x1000000000000000L) != 0L)
- return jjStopAtPos(1, 124);
+ if ((active1 & 0x8000L) != 0L)
+ return jjStopAtPos(1, 79);
break;
case 42:
if ((active0 & 0x4000L) != 0L)
return jjStartNfaWithStates_1(1, 14, 0);
break;
case 43:
- if ((active1 & 0x2000000000000000L) != 0L)
- return jjStopAtPos(1, 125);
+ if ((active1 & 0x10000L) != 0L)
+ return jjStopAtPos(1, 80);
break;
case 45:
- if ((active1 & 0x4000000000000000L) != 0L)
- return jjStopAtPos(1, 126);
+ if ((active1 & 0x20000L) != 0L)
+ return jjStopAtPos(1, 81);
break;
case 47:
if ((active0 & 0x800L) != 0L)
return jjStopAtPos(1, 38);
break;
case 60:
- if ((active2 & 0x80L) != 0L)
+ if ((active1 & 0x4000000L) != 0L)
{
- jjmatchedKind = 135;
+ jjmatchedKind = 90;
jjmatchedPos = 1;
}
return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0x400L);
case 61:
- if ((active1 & 0x800000000L) != 0L)
+ if ((active1 & 0x100000000000000L) != 0L)
{
- jjmatchedKind = 99;
+ jjmatchedKind = 120;
jjmatchedPos = 1;
}
- else if ((active1 & 0x1000000000L) != 0L)
- return jjStopAtPos(1, 100);
- else if ((active1 & 0x2000000000L) != 0L)
- return jjStopAtPos(1, 101);
- else if ((active1 & 0x4000000000L) != 0L)
+ else if ((active1 & 0x200000000000000L) != 0L)
+ return jjStopAtPos(1, 121);
+ else if ((active1 & 0x400000000000000L) != 0L)
+ return jjStopAtPos(1, 122);
+ else if ((active1 & 0x800000000000000L) != 0L)
{
- jjmatchedKind = 102;
+ jjmatchedKind = 123;
jjmatchedPos = 1;
}
- else if ((active1 & 0x80000000000L) != 0L)
- return jjStopAtPos(1, 107);
- else if ((active1 & 0x100000000000L) != 0L)
- return jjStopAtPos(1, 108);
- else if ((active1 & 0x200000000000L) != 0L)
- return jjStopAtPos(1, 109);
- else if ((active1 & 0x400000000000L) != 0L)
- return jjStopAtPos(1, 110);
- else if ((active1 & 0x800000000000L) != 0L)
- return jjStopAtPos(1, 111);
- else if ((active1 & 0x1000000000000L) != 0L)
- return jjStopAtPos(1, 112);
- else if ((active1 & 0x2000000000000L) != 0L)
- return jjStopAtPos(1, 113);
- else if ((active1 & 0x4000000000000L) != 0L)
- return jjStopAtPos(1, 114);
- else if ((active1 & 0x8000000000000L) != 0L)
- return jjStopAtPos(1, 115);
- else if ((active1 & 0x10000000000000L) != 0L)
- return jjStopAtPos(1, 116);
- return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x30000000000L, active2, 0L);
+ else if ((active2 & 0x1L) != 0L)
+ return jjStopAtPos(1, 128);
+ else if ((active2 & 0x2L) != 0L)
+ return jjStopAtPos(1, 129);
+ else if ((active2 & 0x4L) != 0L)
+ return jjStopAtPos(1, 130);
+ else if ((active2 & 0x8L) != 0L)
+ return jjStopAtPos(1, 131);
+ else if ((active2 & 0x10L) != 0L)
+ return jjStopAtPos(1, 132);
+ else if ((active2 & 0x20L) != 0L)
+ return jjStopAtPos(1, 133);
+ else if ((active2 & 0x40L) != 0L)
+ return jjStopAtPos(1, 134);
+ else if ((active2 & 0x80L) != 0L)
+ return jjStopAtPos(1, 135);
+ else if ((active2 & 0x100L) != 0L)
+ return jjStopAtPos(1, 136);
+ else if ((active2 & 0x200L) != 0L)
+ return jjStopAtPos(1, 137);
+ return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x6000000000000000L, active2, 0L);
case 62:
if ((active0 & 0x10L) != 0L)
return jjStopAtPos(1, 4);
return jjStopAtPos(1, 37);
else if ((active0 & 0x8000000000L) != 0L)
return jjStopAtPos(1, 39);
- else if ((active1 & 0x8000000000L) != 0L)
- return jjStopAtPos(1, 103);
- else if ((active2 & 0x100L) != 0L)
+ else if ((active1 & 0x8000000L) != 0L)
{
- jjmatchedKind = 136;
+ jjmatchedKind = 91;
jjmatchedPos = 1;
}
- return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0L, active2, 0xa00L);
+ else if ((active1 & 0x1000000000000000L) != 0L)
+ return jjStopAtPos(1, 124);
+ return jjMoveStringLiteralDfa2_1(active0, 0L, active1, 0x10000000L, active2, 0x800L);
case 65:
case 97:
return jjMoveStringLiteralDfa2_1(active0, 0x80010000400000L, active1, 0L, active2, 0L);
return jjMoveStringLiteralDfa2_1(active0, 0x803100000L, active1, 0x20L, active2, 0L);
case 78:
case 110:
- return jjMoveStringLiteralDfa2_1(active0, 0x1e00000280000000L, active1, 0x2c0L, active2, 0L);
+ return jjMoveStringLiteralDfa2_1(active0, 0x1e00000280000000L, active1, 0x400000c0L, active2, 0L);
case 79:
case 111:
if ((active0 & 0x100000000000L) != 0L)
return jjMoveStringLiteralDfa2_1(active0, 0x2000c60000000000L, active1, 0x16L, active2, 0L);
case 82:
case 114:
- if ((active1 & 0x100L) != 0L)
- return jjStartNfaWithStates_1(1, 72, 14);
+ if ((active1 & 0x20000000L) != 0L)
+ return jjStartNfaWithStates_1(1, 93, 14);
return jjMoveStringLiteralDfa2_1(active0, 0x4000002c000000L, active1, 0L, active2, 0L);
case 83:
case 115:
case 120:
return jjMoveStringLiteralDfa2_1(active0, 0x200000000000L, active1, 0L, active2, 0L);
case 124:
- if ((active1 & 0x800000000000000L) != 0L)
- return jjStopAtPos(1, 123);
+ if ((active1 & 0x4000L) != 0L)
+ return jjStopAtPos(1, 78);
break;
default :
break;
switch(curChar)
{
case 61:
- if ((active1 & 0x10000000000L) != 0L)
- return jjStopAtPos(2, 104);
- else if ((active1 & 0x20000000000L) != 0L)
- return jjStopAtPos(2, 105);
+ if ((active1 & 0x2000000000000000L) != 0L)
+ return jjStopAtPos(2, 125);
+ else if ((active1 & 0x4000000000000000L) != 0L)
+ return jjStopAtPos(2, 126);
else if ((active2 & 0x400L) != 0L)
return jjStopAtPos(2, 138);
else if ((active2 & 0x800L) != 0L)
return jjStopAtPos(2, 139);
break;
case 62:
- if ((active2 & 0x200L) != 0L)
- return jjStopAtPos(2, 137);
+ if ((active1 & 0x10000000L) != 0L)
+ return jjStopAtPos(2, 92);
break;
case 65:
case 97:
return jjMoveStringLiteralDfa3_1(active0, 0x280000000L, active1, 0L, active2, 0L);
case 68:
case 100:
- if ((active1 & 0x200L) != 0L)
- return jjStartNfaWithStates_1(2, 73, 14);
+ if ((active1 & 0x40000000L) != 0L)
+ return jjStartNfaWithStates_1(2, 94, 14);
return jjMoveStringLiteralDfa3_1(active0, 0x1e00000000000000L, active1, 0L, active2, 0L);
case 69:
case 101:
jjstateSet[jjnewStateCnt++] = 2;
if ((0x3fe000000000000L & l) != 0L)
{
- if (kind > 74)
- kind = 74;
+ if (kind > 95)
+ kind = 95;
jjCheckNAddTwoStates(5, 6);
}
else if (curChar == 48)
{
- if (kind > 74)
- kind = 74;
+ if (kind > 95)
+ kind = 95;
jjCheckNAddStates(21, 23);
}
break;
case 4:
if ((0x3fe000000000000L & l) == 0L)
break;
- if (kind > 74)
- kind = 74;
+ if (kind > 95)
+ kind = 95;
jjCheckNAddTwoStates(5, 6);
break;
case 5:
if ((0x3ff000000000000L & l) == 0L)
break;
- if (kind > 74)
- kind = 74;
+ if (kind > 95)
+ kind = 95;
jjCheckNAddTwoStates(5, 6);
break;
case 7:
case 8:
if ((0x3ff000000000000L & l) == 0L)
break;
- if (kind > 78)
- kind = 78;
+ if (kind > 99)
+ kind = 99;
jjCheckNAddStates(24, 26);
break;
case 10:
case 11:
if ((0x3ff000000000000L & l) == 0L)
break;
- if (kind > 78)
- kind = 78;
+ if (kind > 99)
+ kind = 99;
jjCheckNAddTwoStates(11, 12);
break;
case 14:
if ((0x3ff000000000000L & l) == 0L)
break;
- if (kind > 84)
- kind = 84;
+ if (kind > 105)
+ kind = 105;
jjstateSet[jjnewStateCnt++] = 14;
break;
case 15:
case 20:
if (curChar != 46)
break;
- if (kind > 78)
- kind = 78;
+ if (kind > 99)
+ kind = 99;
jjCheckNAddStates(27, 29);
break;
case 21:
if ((0x3ff000000000000L & l) == 0L)
break;
- if (kind > 78)
- kind = 78;
+ if (kind > 99)
+ kind = 99;
jjCheckNAddStates(27, 29);
break;
case 23:
case 24:
if ((0x3ff000000000000L & l) == 0L)
break;
- if (kind > 78)
- kind = 78;
+ if (kind > 99)
+ kind = 99;
jjCheckNAddTwoStates(24, 12);
break;
case 25:
case 28:
if ((0x3ff000000000000L & l) == 0L)
break;
- if (kind > 78)
- kind = 78;
+ if (kind > 99)
+ kind = 99;
jjCheckNAddTwoStates(28, 12);
break;
case 29:
case 33:
if (curChar != 48)
break;
- if (kind > 74)
- kind = 74;
+ if (kind > 95)
+ kind = 95;
jjCheckNAddStates(21, 23);
break;
case 35:
if ((0x3ff000000000000L & l) == 0L)
break;
- if (kind > 74)
- kind = 74;
+ if (kind > 95)
+ kind = 95;
jjCheckNAddTwoStates(35, 6);
break;
case 36:
if ((0xff000000000000L & l) == 0L)
break;
- if (kind > 74)
- kind = 74;
+ if (kind > 95)
+ kind = 95;
jjCheckNAddTwoStates(36, 6);
break;
case 37:
jjstateSet[jjnewStateCnt++] = 43;
break;
case 44:
- if (curChar == 34 && kind > 80)
- kind = 80;
+ if (curChar == 34 && kind > 101)
+ kind = 101;
break;
case 45:
if ((0xfffffffbffffffffL & l) != 0L)
jjstateSet[jjnewStateCnt++] = 50;
break;
case 51:
- if (curChar == 34 && kind > 81)
- kind = 81;
+ if (curChar == 34 && kind > 102)
+ kind = 102;
break;
case 52:
if (curChar == 39)
jjCheckNAddStates(41, 43);
break;
case 56:
- if (curChar == 39 && kind > 80)
- kind = 80;
+ if (curChar == 39 && kind > 101)
+ kind = 101;
break;
case 57:
if ((0xffffff7fffffffffL & l) != 0L)
jjCheckNAddStates(44, 46);
break;
case 60:
- if (curChar == 39 && kind > 82)
- kind = 82;
+ if (curChar == 39 && kind > 103)
+ kind = 103;
break;
case 62:
jjAddStates(47, 49);
case 3:
if ((0x87fffffe87fffffeL & l) != 0L)
{
- if (kind > 84)
- kind = 84;
+ if (kind > 105)
+ kind = 105;
jjCheckNAdd(14);
}
else if (curChar == 96)
kind = 13;
break;
case 6:
- if ((0x100000001000L & l) != 0L && kind > 74)
- kind = 74;
+ if ((0x100000001000L & l) != 0L && kind > 95)
+ kind = 95;
break;
case 9:
if ((0x2000000020L & l) != 0L)
jjAddStates(59, 60);
break;
case 12:
- if ((0x5000000050L & l) != 0L && kind > 78)
- kind = 78;
+ if ((0x5000000050L & l) != 0L && kind > 99)
+ kind = 99;
break;
case 13:
case 14:
if ((0x87fffffe87fffffeL & l) == 0L)
break;
- if (kind > 84)
- kind = 84;
+ if (kind > 105)
+ kind = 105;
jjCheckNAdd(14);
break;
case 16:
case 35:
if ((0x7e0000007eL & l) == 0L)
break;
- if (kind > 74)
- kind = 74;
+ if (kind > 95)
+ kind = 95;
jjCheckNAddTwoStates(35, 6);
break;
case 38:
jjstateSet[jjnewStateCnt++] = 63;
break;
case 65:
- if (curChar == 96 && kind > 80)
- kind = 80;
+ if (curChar == 96 && kind > 101)
+ kind = 101;
break;
case 66:
if ((0xfffffffeffffffffL & l) != 0L)
jjstateSet[jjnewStateCnt++] = 67;
break;
case 69:
- if (curChar == 96 && kind > 83)
- kind = 83;
+ if (curChar == 96 && kind > 104)
+ kind = 104;
break;
default : break;
}
case 14:
if ((jjbitVec0[i2] & l2) == 0L)
break;
- if (kind > 84)
- kind = 84;
+ if (kind > 105)
+ kind = 105;
jjCheckNAdd(14);
break;
case 1:
null, null, null, null, null, null, null, null, null, null, null, null, "\55\76",
"\72\72", "\75\76", null, null, null, null, null, null, null, null, null, null, null,
null, null, null, null, null, null, null, null, null, null, null, null, null, null,
-null, null, null, null, null, null, null, null, null, null, null, null, null, null,
-null, null, null, null, null, null, null, null, null, "\50", "\51", "\173", "\175",
-"\133", "\135", "\73", "\54", "\56", "\76", "\74", "\75\75", "\74\75", "\76\75",
-"\41\75", "\74\76", "\41\75\75", "\75\75\75", "\75", "\53\75", "\55\75", "\52\75",
-"\57\75", "\46\75", "\174\75", "\136\75", "\56\75", "\45\75", "\176\75", "\100", "\44",
-"\41", "\176", "\77", "\72", "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55",
-"\52", "\57", "\46", "\174", "\136", "\45", "\74\74", "\76\76", "\76\76\76",
+null, null, null, null, null, null, null, "\100", "\44", "\41", "\176", "\77",
+"\72", "\174\174", "\46\46", "\53\53", "\55\55", "\53", "\55", "\52", "\57", "\46",
+"\174", "\136", "\45", "\74\74", "\76\76", "\76\76\76", null, null, null, null, null,
+null, null, null, null, null, null, null, null, null, null, null, "\50", "\51",
+"\173", "\175", "\133", "\135", "\73", "\54", "\56", "\76", "\74", "\75\75", "\74\75",
+"\76\75", "\41\75", "\74\76", "\41\75\75", "\75\75\75", "\75", "\53\75", "\55\75",
+"\52\75", "\57\75", "\46\75", "\174\75", "\136\75", "\56\75", "\45\75", "\176\75",
"\74\74\75", "\76\76\75", null, };
public static final String[] lexStateNames = {
"DEFAULT",
-1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1, -1,
};
static final long[] jjtoToken = {
- 0xfffffffffff0001fL, 0xffffffffff1f47ffL, 0x1fffL,
+ 0xfffffffffff0001fL, 0xffffe3e8ffffffffL, 0x1fffL,
};
static final long[] jjtoSkip = {
0x7ffe0L, 0x0L, 0x0L,
{
matchedToken = jjFillToken();
matchedToken.specialToken = specialToken;
+ TokenLexicalActions(matchedToken);
if (jjnewLexState[jjmatchedKind] != -1)
curLexState = jjnewLexState[jjmatchedKind];
return matchedToken;
break;
}
}
+static void TokenLexicalActions(Token matchedToken)
+{
+ switch(jjmatchedKind)
+ {
+ case 1 :
+ if (image == null)
+ image = new StringBuffer(jjstrLiteralImages[1]);
+ else
+ image.append(jjstrLiteralImages[1]);
+ PHPParser.createNewHTMLCode();
+ break;
+ case 2 :
+ if (image == null)
+ image = new StringBuffer(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
+ else
+ image.append(new String(input_stream.GetSuffix(jjimageLen + (lengthOfMatch = jjmatchedPos + 1))));
+ PHPParser.createNewHTMLCode();
+ break;
+ case 3 :
+ if (image == null)
+ image = new StringBuffer(jjstrLiteralImages[3]);
+ else
+ image.append(jjstrLiteralImages[3]);
+ PHPParser.createNewHTMLCode();
+ break;
+ case 4 :
+ if (image == null)
+ image = new StringBuffer(jjstrLiteralImages[4]);
+ else
+ image.append(jjstrLiteralImages[4]);
+ PHPParser.htmlStart = SimpleCharStream.getPosition();
+ break;
+ default :
+ break;
+ }
+}
}