1 /* Generated By:JavaCC: Do not edit this line. PHPParser.java */
4 import org.eclipse.core.resources.IFile;
5 import org.eclipse.core.resources.IMarker;
6 import org.eclipse.core.runtime.CoreException;
7 import org.eclipse.ui.texteditor.MarkerUtilities;
8 import org.eclipse.jface.preference.IPreferenceStore;
10 import java.io.CharArrayReader;
11 import java.util.Hashtable;
12 import java.io.StringReader;
13 import java.text.MessageFormat;
15 import net.sourceforge.phpeclipse.actions.PHPStartApacheAction;
16 import net.sourceforge.phpeclipse.PHPeclipsePlugin;
17 import net.sourceforge.phpdt.internal.compiler.parser.PHPOutlineInfo;
21 * This php parser is inspired by the Java 1.2 grammar example
22 * given with JavaCC. You can get JavaCC at http://www.webgain.com
23 * You can test the parser with the PHPParserTestCase2.java
24 * @author Matthieu Casanova
26 public class PHPParser extends PHPParserSuperclass implements PHPParserConstants {
28 private static PHPParser me;
30 private static IFile fileToParse;
32 private static final String PARSE_ERROR_STRING = "Parse error"; //$NON-NLS-1$
33 private static final String PARSE_WARNING_STRING = "Warning"; //$NON-NLS-1$
34 public static final int ERROR = 2;
35 public static final int WARNING = 1;
36 public static final int INFO = 0;
37 PHPOutlineInfo outlineInfo;
38 private static int errorLevel = ERROR;
39 private static String errorMessage;
44 public static PHPParser getInstance(IFile fileToParse) {
46 me = new PHPParser(fileToParse);
48 me.setFileToParse(fileToParse);
53 public void setFileToParse(IFile fileToParse) {
54 this.fileToParse = fileToParse;
57 public static PHPParser getInstance(java.io.Reader stream) {
59 me = new PHPParser(stream);
66 public PHPParser(IFile fileToParse) {
67 this(new StringReader(""));
68 this.fileToParse = fileToParse;
71 public void phpParserTester(String strEval) throws CoreException, ParseException {
72 PHPParserTokenManager.SwitchTo(PHPParserTokenManager.PHPPARSING);
73 StringReader stream = new StringReader(strEval);
74 if (jj_input_stream == null) {
75 jj_input_stream = new SimpleCharStream(stream, 1, 1);
77 ReInit(new StringReader(strEval));
81 public void htmlParserTester(String strEval) throws CoreException, ParseException {
82 StringReader stream = new StringReader(strEval);
83 if (jj_input_stream == null) {
84 jj_input_stream = new SimpleCharStream(stream, 1, 1);
90 public PHPOutlineInfo parseInfo(Object parent, String s) {
91 outlineInfo = new PHPOutlineInfo(parent);
92 StringReader stream = new StringReader(s);
93 if (jj_input_stream == null) {
94 jj_input_stream = new SimpleCharStream(stream, 1, 1);
99 } catch (ParseException e) {
100 if (errorMessage == null) {
101 PHPeclipsePlugin.log(e);
103 setMarker(errorMessage, e.currentToken.beginLine, errorLevel);
112 * Create marker for the parse error
114 private static void setMarker(String message, int lineNumber, int errorLevel) {
116 setMarker(fileToParse, message, lineNumber, errorLevel);
117 } catch (CoreException e) {
118 PHPeclipsePlugin.log(e);
122 public static void setMarker(IFile file, String message, int lineNumber, int errorLevel) throws CoreException {
124 Hashtable attributes = new Hashtable();
125 MarkerUtilities.setMessage(attributes, message);
126 switch (errorLevel) {
128 attributes.put(IMarker.SEVERITY, new Integer(IMarker.SEVERITY_ERROR));
131 attributes.put(IMarker.SEVERITY, new Integer(IMarker.SEVERITY_WARNING));
134 attributes.put(IMarker.SEVERITY, new Integer(IMarker.SEVERITY_INFO));
137 MarkerUtilities.setLineNumber(attributes, lineNumber);
138 MarkerUtilities.createMarker(file, attributes, IMarker.PROBLEM);
143 * Create markers according to the external parser output
145 private static void createMarkers(String output, IFile file) throws CoreException {
146 // delete all markers
147 file.deleteMarkers(IMarker.PROBLEM, false, 0);
152 while ((brIndx = output.indexOf("<br />", indx)) != -1) {
153 // newer php error output (tested with 4.2.3)
154 scanLine(output, file, indx, brIndx);
159 while ((brIndx = output.indexOf("<br>", indx)) != -1) {
160 // older php error output (tested with 4.2.3)
161 scanLine(output, file, indx, brIndx);
167 private static void scanLine(String output, IFile file, int indx, int brIndx) throws CoreException {
169 StringBuffer lineNumberBuffer = new StringBuffer(10);
171 current = output.substring(indx, brIndx);
173 if (current.indexOf(PARSE_WARNING_STRING) != -1 || current.indexOf(PARSE_ERROR_STRING) != -1) {
174 int onLine = current.indexOf("on line <b>");
176 lineNumberBuffer.delete(0, lineNumberBuffer.length());
177 for (int i = onLine; i < current.length(); i++) {
178 ch = current.charAt(i);
179 if ('0' <= ch && '9' >= ch) {
180 lineNumberBuffer.append(ch);
184 int lineNumber = Integer.parseInt(lineNumberBuffer.toString());
186 Hashtable attributes = new Hashtable();
188 current = current.replaceAll("\n", "");
189 current = current.replaceAll("<b>", "");
190 current = current.replaceAll("</b>", "");
191 MarkerUtilities.setMessage(attributes, current);
193 if (current.indexOf(PARSE_ERROR_STRING) != -1)
194 attributes.put(IMarker.SEVERITY, new Integer(IMarker.SEVERITY_ERROR));
195 else if (current.indexOf(PARSE_WARNING_STRING) != -1)
196 attributes.put(IMarker.SEVERITY, new Integer(IMarker.SEVERITY_WARNING));
198 attributes.put(IMarker.SEVERITY, new Integer(IMarker.SEVERITY_INFO));
199 MarkerUtilities.setLineNumber(attributes, lineNumber);
200 MarkerUtilities.createMarker(file, attributes, IMarker.PROBLEM);
205 public void parse(String s) throws CoreException {
206 ReInit(new StringReader(s));
209 } catch (ParseException e) {
210 PHPeclipsePlugin.log(e);
215 * Call the php parse command ( php -l -f <filename> )
216 * and create markers according to the external parser output
218 public static void phpExternalParse(IFile file) {
219 IPreferenceStore store = PHPeclipsePlugin.getDefault().getPreferenceStore();
220 String filename = file.getLocation().toString();
222 String[] arguments = { filename };
223 MessageFormat form = new MessageFormat(store.getString(PHPeclipsePlugin.EXTERNAL_PARSER_PREF));
224 String command = form.format(arguments);
226 String parserResult = PHPStartApacheAction.getParserOutput(command, "External parser: ");
229 // parse the buffer to find the errors and warnings
230 createMarkers(parserResult, file);
231 } catch (CoreException e) {
232 PHPeclipsePlugin.log(e);
236 public void parse() throws ParseException {
240 /*****************************************
241 * THE JAVA LANGUAGE GRAMMAR STARTS HERE *
242 *****************************************/
245 * Program structuring syntax follows.
247 static final public void phpTest() throws ParseException {
252 static final public void phpFile() throws ParseException {
255 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
265 jj_consume_token(128);
270 static final public void Php() throws ParseException {
273 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
297 case INTEGER_LITERAL:
298 case FLOATING_POINT_LITERAL:
322 static final public void ClassDeclaration() throws ParseException {
323 jj_consume_token(CLASS);
324 jj_consume_token(IDENTIFIER);
325 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
327 jj_consume_token(EXTENDS);
328 jj_consume_token(IDENTIFIER);
337 static final public void ClassBody() throws ParseException {
338 jj_consume_token(LBRACE);
341 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
350 ClassBodyDeclaration();
352 jj_consume_token(RBRACE);
355 static final public void ClassBodyDeclaration() throws ParseException {
356 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
365 jj_consume_token(-1);
366 throw new ParseException();
370 static final public void FieldDeclaration() throws ParseException {
371 jj_consume_token(VAR);
372 VariableDeclarator();
375 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
383 jj_consume_token(COMMA);
384 VariableDeclarator();
386 jj_consume_token(SEMICOLON);
389 static final public void VariableDeclarator() throws ParseException {
390 VariableDeclaratorId();
391 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
393 jj_consume_token(ASSIGN);
394 VariableInitializer();
402 static final public void VariableDeclaratorId() throws ParseException {
415 static final public void Variable() throws ParseException {
416 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
418 jj_consume_token(DOLLAR_ID);
421 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
429 jj_consume_token(LBRACE);
431 jj_consume_token(RBRACE);
435 jj_consume_token(DOLLAR);
440 jj_consume_token(-1);
441 throw new ParseException();
445 static final public void VariableName() throws ParseException {
446 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
448 jj_consume_token(LBRACE);
450 jj_consume_token(RBRACE);
453 jj_consume_token(IDENTIFIER);
456 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
464 jj_consume_token(LBRACE);
466 jj_consume_token(RBRACE);
470 jj_consume_token(DOLLAR);
475 jj_consume_token(-1);
476 throw new ParseException();
480 static final public void VariableInitializer() throws ParseException {
484 static final public void ArrayVariable() throws ParseException {
488 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
496 jj_consume_token(ARRAYASSIGN);
501 static final public void ArrayInitializer() throws ParseException {
502 jj_consume_token(LPAREN);
503 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
510 case INTEGER_LITERAL:
511 case FLOATING_POINT_LITERAL:
531 jj_consume_token(COMMA);
539 jj_consume_token(RPAREN);
542 static final public void MethodDeclaration() throws ParseException {
543 jj_consume_token(FUNCTION);
545 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
550 jj_consume_token(SEMICOLON);
554 jj_consume_token(-1);
555 throw new ParseException();
559 static final public void MethodDeclarator() throws ParseException {
560 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
562 jj_consume_token(BIT_AND);
568 jj_consume_token(IDENTIFIER);
572 static final public void FormalParameters() throws ParseException {
573 jj_consume_token(LPAREN);
574 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
581 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
589 jj_consume_token(COMMA);
597 jj_consume_token(RPAREN);
600 static final public void FormalParameter() throws ParseException {
601 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
603 jj_consume_token(BIT_AND);
609 VariableDeclarator();
612 static final public void Type() throws ParseException {
613 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
615 jj_consume_token(STRING);
618 jj_consume_token(BOOL);
621 jj_consume_token(BOOLEAN);
624 jj_consume_token(REAL);
627 jj_consume_token(DOUBLE);
630 jj_consume_token(FLOAT);
633 jj_consume_token(INT);
636 jj_consume_token(INTEGER);
640 jj_consume_token(-1);
641 throw new ParseException();
646 * Expression syntax follows.
648 static final public void Expression() throws ParseException {
649 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
658 case INTEGER_LITERAL:
659 case FLOATING_POINT_LITERAL:
671 ConditionalExpression();
672 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
684 case RSIGNEDSHIFTASSIGN:
685 case RUNSIGNEDSHIFTASSIGN:
686 AssignmentOperator();
696 jj_consume_token(-1);
697 throw new ParseException();
701 static final public void AssignmentOperator() throws ParseException {
702 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
704 jj_consume_token(ASSIGN);
707 jj_consume_token(STARASSIGN);
710 jj_consume_token(SLASHASSIGN);
713 jj_consume_token(REMASSIGN);
716 jj_consume_token(PLUSASSIGN);
719 jj_consume_token(MINUSASSIGN);
722 jj_consume_token(LSHIFTASSIGN);
724 case RSIGNEDSHIFTASSIGN:
725 jj_consume_token(RSIGNEDSHIFTASSIGN);
727 case RUNSIGNEDSHIFTASSIGN:
728 jj_consume_token(RUNSIGNEDSHIFTASSIGN);
731 jj_consume_token(ANDASSIGN);
734 jj_consume_token(XORASSIGN);
737 jj_consume_token(ORASSIGN);
740 jj_consume_token(DOTASSIGN);
744 jj_consume_token(-1);
745 throw new ParseException();
749 static final public void ConditionalExpression() throws ParseException {
750 ConditionalOrExpression();
751 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
753 jj_consume_token(HOOK);
755 jj_consume_token(COLON);
756 ConditionalExpression();
764 static final public void ConditionalOrExpression() throws ParseException {
765 ConditionalAndExpression();
768 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
777 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
779 jj_consume_token(SC_OR);
782 jj_consume_token(_ORL);
786 jj_consume_token(-1);
787 throw new ParseException();
789 ConditionalAndExpression();
793 static final public void ConditionalAndExpression() throws ParseException {
797 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
806 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
808 jj_consume_token(SC_AND);
811 jj_consume_token(_ANDL);
815 jj_consume_token(-1);
816 throw new ParseException();
822 static final public void ConcatExpression() throws ParseException {
823 InclusiveOrExpression();
826 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
834 jj_consume_token(DOT);
835 InclusiveOrExpression();
839 static final public void InclusiveOrExpression() throws ParseException {
840 ExclusiveOrExpression();
843 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
851 jj_consume_token(BIT_OR);
852 ExclusiveOrExpression();
856 static final public void ExclusiveOrExpression() throws ParseException {
860 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
868 jj_consume_token(XOR);
873 static final public void AndExpression() throws ParseException {
874 EqualityExpression();
877 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
885 jj_consume_token(BIT_AND);
886 EqualityExpression();
890 static final public void EqualityExpression() throws ParseException {
891 RelationalExpression();
894 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
903 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
905 jj_consume_token(EQ);
908 jj_consume_token(NE);
912 jj_consume_token(-1);
913 throw new ParseException();
915 RelationalExpression();
919 static final public void RelationalExpression() throws ParseException {
923 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
934 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
936 jj_consume_token(LT);
939 jj_consume_token(GT);
942 jj_consume_token(LE);
945 jj_consume_token(GE);
949 jj_consume_token(-1);
950 throw new ParseException();
956 static final public void ShiftExpression() throws ParseException {
957 AdditiveExpression();
960 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
970 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
972 jj_consume_token(LSHIFT);
975 jj_consume_token(RSIGNEDSHIFT);
978 jj_consume_token(RUNSIGNEDSHIFT);
982 jj_consume_token(-1);
983 throw new ParseException();
985 AdditiveExpression();
989 static final public void AdditiveExpression() throws ParseException {
990 MultiplicativeExpression();
993 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1002 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1004 jj_consume_token(PLUS);
1007 jj_consume_token(MINUS);
1010 jj_la1[38] = jj_gen;
1011 jj_consume_token(-1);
1012 throw new ParseException();
1014 MultiplicativeExpression();
1018 static final public void MultiplicativeExpression() throws ParseException {
1022 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1029 jj_la1[39] = jj_gen;
1032 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1034 jj_consume_token(STAR);
1037 jj_consume_token(SLASH);
1040 jj_consume_token(REM);
1043 jj_la1[40] = jj_gen;
1044 jj_consume_token(-1);
1045 throw new ParseException();
1051 static final public void UnaryExpression() throws ParseException {
1052 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1054 jj_consume_token(AT);
1059 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1061 jj_consume_token(PLUS);
1064 jj_consume_token(MINUS);
1067 jj_la1[41] = jj_gen;
1068 jj_consume_token(-1);
1069 throw new ParseException();
1074 PreIncrementExpression();
1077 PreDecrementExpression();
1084 case INTEGER_LITERAL:
1085 case FLOATING_POINT_LITERAL:
1086 case STRING_LITERAL:
1092 UnaryExpressionNotPlusMinus();
1095 jj_la1[42] = jj_gen;
1096 jj_consume_token(-1);
1097 throw new ParseException();
1101 static final public void PreIncrementExpression() throws ParseException {
1102 jj_consume_token(INCR);
1103 PrimaryExpression();
1106 static final public void PreDecrementExpression() throws ParseException {
1107 jj_consume_token(DECR);
1108 PrimaryExpression();
1111 static final public void UnaryExpressionNotPlusMinus() throws ParseException {
1112 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1114 jj_consume_token(BANG);
1118 jj_la1[43] = jj_gen;
1119 if (jj_2_3(2147483647)) {
1122 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1128 PostfixExpression();
1133 case INTEGER_LITERAL:
1134 case FLOATING_POINT_LITERAL:
1135 case STRING_LITERAL:
1139 jj_consume_token(LPAREN);
1141 jj_consume_token(RPAREN);
1144 jj_la1[44] = jj_gen;
1145 jj_consume_token(-1);
1146 throw new ParseException();
1152 static final public void CastExpression() throws ParseException {
1153 jj_consume_token(LPAREN);
1155 jj_consume_token(RPAREN);
1159 static final public void PostfixExpression() throws ParseException {
1160 PrimaryExpression();
1161 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1164 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1166 jj_consume_token(INCR);
1169 jj_consume_token(DECR);
1172 jj_la1[45] = jj_gen;
1173 jj_consume_token(-1);
1174 throw new ParseException();
1178 jj_la1[46] = jj_gen;
1183 static final public void PrimaryExpression() throws ParseException {
1185 jj_consume_token(IDENTIFIER);
1186 jj_consume_token(STATICCLASSACCESS);
1190 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1197 jj_la1[47] = jj_gen;
1203 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1211 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1218 jj_la1[48] = jj_gen;
1225 jj_consume_token(ARRAY);
1229 jj_la1[49] = jj_gen;
1230 jj_consume_token(-1);
1231 throw new ParseException();
1236 static final public void PrimaryPrefix() throws ParseException {
1237 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1239 jj_consume_token(IDENTIFIER);
1242 jj_consume_token(NEW);
1247 VariableDeclaratorId();
1250 jj_la1[50] = jj_gen;
1251 jj_consume_token(-1);
1252 throw new ParseException();
1256 static final public void ClassIdentifier() throws ParseException {
1257 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1259 jj_consume_token(IDENTIFIER);
1263 VariableDeclaratorId();
1266 jj_la1[51] = jj_gen;
1267 jj_consume_token(-1);
1268 throw new ParseException();
1272 static final public void PrimarySuffix() throws ParseException {
1273 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1282 jj_la1[52] = jj_gen;
1283 jj_consume_token(-1);
1284 throw new ParseException();
1288 static final public void VariableSuffix() throws ParseException {
1289 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1291 jj_consume_token(CLASSACCESS);
1295 jj_consume_token(LBRACKET);
1296 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1303 case INTEGER_LITERAL:
1304 case FLOATING_POINT_LITERAL:
1305 case STRING_LITERAL:
1319 jj_la1[53] = jj_gen;
1322 jj_consume_token(RBRACKET);
1325 jj_la1[54] = jj_gen;
1326 jj_consume_token(-1);
1327 throw new ParseException();
1331 static final public void Literal() throws ParseException {
1332 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1333 case INTEGER_LITERAL:
1334 jj_consume_token(INTEGER_LITERAL);
1336 case FLOATING_POINT_LITERAL:
1337 jj_consume_token(FLOATING_POINT_LITERAL);
1339 case STRING_LITERAL:
1340 jj_consume_token(STRING_LITERAL);
1350 jj_la1[55] = jj_gen;
1351 jj_consume_token(-1);
1352 throw new ParseException();
1356 static final public void BooleanLiteral() throws ParseException {
1357 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1359 jj_consume_token(TRUE);
1362 jj_consume_token(FALSE);
1365 jj_la1[56] = jj_gen;
1366 jj_consume_token(-1);
1367 throw new ParseException();
1371 static final public void NullLiteral() throws ParseException {
1372 jj_consume_token(NULL);
1375 static final public void Arguments() throws ParseException {
1376 jj_consume_token(LPAREN);
1377 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1384 case INTEGER_LITERAL:
1385 case FLOATING_POINT_LITERAL:
1386 case STRING_LITERAL:
1400 jj_la1[57] = jj_gen;
1403 jj_consume_token(RPAREN);
1406 static final public void ArgumentList() throws ParseException {
1410 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1415 jj_la1[58] = jj_gen;
1418 jj_consume_token(COMMA);
1424 * Statement syntax follows.
1426 static final public void Statement() throws ParseException {
1429 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1431 jj_consume_token(SEMICOLON);
1434 jj_consume_token(128);
1437 jj_la1[59] = jj_gen;
1438 jj_consume_token(-1);
1439 throw new ParseException();
1441 } else if (jj_2_6(2)) {
1444 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1458 StatementExpression();
1460 jj_consume_token(SEMICOLON);
1461 } catch (ParseException e) {
1462 errorMessage = "';' expected after expression";
1464 {if (true) throw e;}
1486 ContinueStatement();
1507 jj_la1[60] = jj_gen;
1508 jj_consume_token(-1);
1509 throw new ParseException();
1514 static final public void IncludeStatement() throws ParseException {
1515 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1517 jj_consume_token(REQUIRE);
1519 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1521 jj_consume_token(SEMICOLON);
1524 jj_consume_token(128);
1527 jj_la1[61] = jj_gen;
1528 jj_consume_token(-1);
1529 throw new ParseException();
1533 jj_consume_token(REQUIRE_ONCE);
1535 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1537 jj_consume_token(SEMICOLON);
1540 jj_consume_token(128);
1543 jj_la1[62] = jj_gen;
1544 jj_consume_token(-1);
1545 throw new ParseException();
1549 jj_consume_token(INCLUDE);
1551 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1553 jj_consume_token(SEMICOLON);
1556 jj_consume_token(128);
1559 jj_la1[63] = jj_gen;
1560 jj_consume_token(-1);
1561 throw new ParseException();
1565 jj_consume_token(INCLUDE_ONCE);
1567 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1569 jj_consume_token(SEMICOLON);
1572 jj_consume_token(128);
1575 jj_la1[64] = jj_gen;
1576 jj_consume_token(-1);
1577 throw new ParseException();
1581 jj_la1[65] = jj_gen;
1582 jj_consume_token(-1);
1583 throw new ParseException();
1587 static final public void PrintExpression() throws ParseException {
1588 jj_consume_token(PRINT);
1592 static final public void EchoStatement() throws ParseException {
1593 jj_consume_token(ECHO);
1597 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1602 jj_la1[66] = jj_gen;
1605 jj_consume_token(COMMA);
1609 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1611 jj_consume_token(SEMICOLON);
1614 jj_consume_token(128);
1617 jj_la1[67] = jj_gen;
1618 jj_consume_token(-1);
1619 throw new ParseException();
1621 } catch (ParseException e) {
1622 errorMessage = "';' expected after 'echo' statement";
1624 {if (true) throw e;}
1628 static final public void GlobalStatement() throws ParseException {
1629 jj_consume_token(GLOBAL);
1630 VariableDeclaratorId();
1633 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1638 jj_la1[68] = jj_gen;
1641 jj_consume_token(COMMA);
1642 VariableDeclaratorId();
1644 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1646 jj_consume_token(SEMICOLON);
1649 jj_consume_token(128);
1652 jj_la1[69] = jj_gen;
1653 jj_consume_token(-1);
1654 throw new ParseException();
1658 static final public void StaticStatement() throws ParseException {
1659 jj_consume_token(STATIC);
1660 VariableDeclarator();
1663 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1668 jj_la1[70] = jj_gen;
1671 jj_consume_token(COMMA);
1672 VariableDeclarator();
1674 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1676 jj_consume_token(SEMICOLON);
1679 jj_consume_token(128);
1682 jj_la1[71] = jj_gen;
1683 jj_consume_token(-1);
1684 throw new ParseException();
1688 static final public void LabeledStatement() throws ParseException {
1689 jj_consume_token(IDENTIFIER);
1690 jj_consume_token(COLON);
1694 static final public void Block() throws ParseException {
1695 jj_consume_token(LBRACE);
1698 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1722 case INTEGER_LITERAL:
1723 case FLOATING_POINT_LITERAL:
1724 case STRING_LITERAL:
1740 jj_la1[72] = jj_gen;
1745 jj_consume_token(RBRACE);
1748 static final public void BlockStatement() throws ParseException {
1749 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1771 case INTEGER_LITERAL:
1772 case FLOATING_POINT_LITERAL:
1773 case STRING_LITERAL:
1792 MethodDeclaration();
1795 jj_la1[73] = jj_gen;
1796 jj_consume_token(-1);
1797 throw new ParseException();
1801 static final public void LocalVariableDeclaration() throws ParseException {
1802 VariableDeclarator();
1805 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1810 jj_la1[74] = jj_gen;
1813 jj_consume_token(COMMA);
1814 VariableDeclarator();
1818 static final public void EmptyStatement() throws ParseException {
1819 jj_consume_token(SEMICOLON);
1822 static final public void StatementExpression() throws ParseException {
1823 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1825 PreIncrementExpression();
1828 PreDecrementExpression();
1835 PrimaryExpression();
1836 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1850 case RSIGNEDSHIFTASSIGN:
1851 case RUNSIGNEDSHIFTASSIGN:
1852 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1854 jj_consume_token(INCR);
1857 jj_consume_token(DECR);
1870 case RSIGNEDSHIFTASSIGN:
1871 case RUNSIGNEDSHIFTASSIGN:
1872 AssignmentOperator();
1876 jj_la1[75] = jj_gen;
1877 jj_consume_token(-1);
1878 throw new ParseException();
1882 jj_la1[76] = jj_gen;
1887 jj_la1[77] = jj_gen;
1888 jj_consume_token(-1);
1889 throw new ParseException();
1893 static final public void SwitchStatement() throws ParseException {
1894 jj_consume_token(SWITCH);
1895 jj_consume_token(LPAREN);
1897 jj_consume_token(RPAREN);
1898 jj_consume_token(LBRACE);
1901 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1907 jj_la1[78] = jj_gen;
1913 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1937 case INTEGER_LITERAL:
1938 case FLOATING_POINT_LITERAL:
1939 case STRING_LITERAL:
1955 jj_la1[79] = jj_gen;
1961 jj_consume_token(RBRACE);
1964 static final public void SwitchLabel() throws ParseException {
1965 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1967 jj_consume_token(CASE);
1969 jj_consume_token(COLON);
1972 jj_consume_token(_DEFAULT);
1973 jj_consume_token(COLON);
1976 jj_la1[80] = jj_gen;
1977 jj_consume_token(-1);
1978 throw new ParseException();
1982 static final public void IfStatement() throws ParseException {
1983 jj_consume_token(IF);
1986 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1991 jj_la1[81] = jj_gen;
1994 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1996 jj_consume_token(ELSE);
2000 jj_la1[82] = jj_gen;
2005 static final public void Condition(String keyword) throws ParseException {
2007 jj_consume_token(LPAREN);
2008 } catch (ParseException e) {
2009 errorMessage = "'(' expected after " + keyword + " keyword";
2011 {if (true) throw e;}
2015 jj_consume_token(RPAREN);
2016 } catch (ParseException e) {
2017 errorMessage = "')' expected after " + keyword + " keyword";
2019 {if (true) throw e;}
2023 static final public void ElseIfStatement() throws ParseException {
2024 jj_consume_token(ELSEIF);
2025 Condition("elseif");
2029 static final public void WhileStatement() throws ParseException {
2030 jj_consume_token(WHILE);
2035 static final public void WhileStatement0() throws ParseException {
2036 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2038 jj_consume_token(COLON);
2041 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2063 case INTEGER_LITERAL:
2064 case FLOATING_POINT_LITERAL:
2065 case STRING_LITERAL:
2081 jj_la1[83] = jj_gen;
2086 jj_consume_token(ENDWHILE);
2087 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2089 jj_consume_token(SEMICOLON);
2092 jj_consume_token(128);
2095 jj_la1[84] = jj_gen;
2096 jj_consume_token(-1);
2097 throw new ParseException();
2121 case INTEGER_LITERAL:
2122 case FLOATING_POINT_LITERAL:
2123 case STRING_LITERAL:
2139 jj_la1[85] = jj_gen;
2140 jj_consume_token(-1);
2141 throw new ParseException();
2145 static final public void DoStatement() throws ParseException {
2146 jj_consume_token(DO);
2148 jj_consume_token(WHILE);
2150 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2152 jj_consume_token(SEMICOLON);
2155 jj_consume_token(128);
2158 jj_la1[86] = jj_gen;
2159 jj_consume_token(-1);
2160 throw new ParseException();
2164 static final public void ForStatement() throws ParseException {
2165 jj_consume_token(FOR);
2166 jj_consume_token(LPAREN);
2167 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2178 jj_la1[87] = jj_gen;
2181 jj_consume_token(SEMICOLON);
2182 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2189 case INTEGER_LITERAL:
2190 case FLOATING_POINT_LITERAL:
2191 case STRING_LITERAL:
2205 jj_la1[88] = jj_gen;
2208 jj_consume_token(SEMICOLON);
2209 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2220 jj_la1[89] = jj_gen;
2223 jj_consume_token(RPAREN);
2227 static final public void ForInit() throws ParseException {
2228 if (jj_2_7(2147483647)) {
2229 LocalVariableDeclaration();
2231 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2239 StatementExpressionList();
2242 jj_la1[90] = jj_gen;
2243 jj_consume_token(-1);
2244 throw new ParseException();
2249 static final public void StatementExpressionList() throws ParseException {
2250 StatementExpression();
2253 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2258 jj_la1[91] = jj_gen;
2261 jj_consume_token(COMMA);
2262 StatementExpression();
2266 static final public void ForUpdate() throws ParseException {
2267 StatementExpressionList();
2270 static final public void BreakStatement() throws ParseException {
2271 jj_consume_token(BREAK);
2272 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2274 jj_consume_token(IDENTIFIER);
2277 jj_la1[92] = jj_gen;
2280 jj_consume_token(SEMICOLON);
2283 static final public void ContinueStatement() throws ParseException {
2284 jj_consume_token(CONTINUE);
2285 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2287 jj_consume_token(IDENTIFIER);
2290 jj_la1[93] = jj_gen;
2293 jj_consume_token(SEMICOLON);
2296 static final public void ReturnStatement() throws ParseException {
2297 jj_consume_token(RETURN);
2298 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
2305 case INTEGER_LITERAL:
2306 case FLOATING_POINT_LITERAL:
2307 case STRING_LITERAL:
2321 jj_la1[94] = jj_gen;
2324 jj_consume_token(SEMICOLON);
2327 static final private boolean jj_2_1(int xla) {
2328 jj_la = xla; jj_lastpos = jj_scanpos = token;
2329 boolean retval = !jj_3_1();
2334 static final private boolean jj_2_2(int xla) {
2335 jj_la = xla; jj_lastpos = jj_scanpos = token;
2336 boolean retval = !jj_3_2();
2341 static final private boolean jj_2_3(int xla) {
2342 jj_la = xla; jj_lastpos = jj_scanpos = token;
2343 boolean retval = !jj_3_3();
2348 static final private boolean jj_2_4(int xla) {
2349 jj_la = xla; jj_lastpos = jj_scanpos = token;
2350 boolean retval = !jj_3_4();
2355 static final private boolean jj_2_5(int xla) {
2356 jj_la = xla; jj_lastpos = jj_scanpos = token;
2357 boolean retval = !jj_3_5();
2362 static final private boolean jj_2_6(int xla) {
2363 jj_la = xla; jj_lastpos = jj_scanpos = token;
2364 boolean retval = !jj_3_6();
2369 static final private boolean jj_2_7(int xla) {
2370 jj_la = xla; jj_lastpos = jj_scanpos = token;
2371 boolean retval = !jj_3_7();
2376 static final private boolean jj_3R_77() {
2377 if (jj_scan_token(PLUSASSIGN)) return true;
2378 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2382 static final private boolean jj_3R_98() {
2383 if (jj_scan_token(BIT_OR)) return true;
2384 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2385 if (jj_3R_97()) return true;
2386 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2390 static final private boolean jj_3R_101() {
2391 if (jj_scan_token(XOR)) return true;
2392 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2393 if (jj_3R_100()) return true;
2394 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2398 static final private boolean jj_3R_104() {
2399 if (jj_3R_106()) return true;
2400 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2404 if (jj_3R_107()) { jj_scanpos = xsp; break; }
2405 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2410 static final private boolean jj_3R_91() {
2411 if (jj_scan_token(_ORL)) return true;
2412 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2416 static final private boolean jj_3R_96() {
2417 if (jj_scan_token(_ANDL)) return true;
2418 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2422 static final private boolean jj_3R_94() {
2423 if (jj_scan_token(DOT)) return true;
2424 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2425 if (jj_3R_93()) return true;
2426 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2430 static final private boolean jj_3R_102() {
2431 if (jj_3R_104()) return true;
2432 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2436 if (jj_3R_105()) { jj_scanpos = xsp; break; }
2437 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2442 static final private boolean jj_3R_90() {
2443 if (jj_scan_token(SC_OR)) return true;
2444 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2448 static final private boolean jj_3R_76() {
2449 if (jj_scan_token(REMASSIGN)) return true;
2450 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2454 static final private boolean jj_3R_100() {
2455 if (jj_3R_102()) return true;
2456 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2460 if (jj_3R_103()) { jj_scanpos = xsp; break; }
2461 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2466 static final private boolean jj_3R_72() {
2471 if (jj_3R_91()) return true;
2472 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2473 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2474 if (jj_3R_71()) return true;
2475 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2479 static final private boolean jj_3R_95() {
2480 if (jj_scan_token(SC_AND)) return true;
2481 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2485 static final private boolean jj_3R_89() {
2490 if (jj_3R_96()) return true;
2491 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2492 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2493 if (jj_3R_88()) return true;
2494 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2498 static final private boolean jj_3R_97() {
2499 if (jj_3R_100()) return true;
2500 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2504 if (jj_3R_101()) { jj_scanpos = xsp; break; }
2505 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2510 static final private boolean jj_3R_67() {
2511 if (jj_scan_token(HOOK)) return true;
2512 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2513 if (jj_3R_37()) return true;
2514 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2515 if (jj_scan_token(COLON)) return true;
2516 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2517 if (jj_3R_59()) return true;
2518 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2522 static final private boolean jj_3R_93() {
2523 if (jj_3R_97()) return true;
2524 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2528 if (jj_3R_98()) { jj_scanpos = xsp; break; }
2529 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2534 static final private boolean jj_3R_75() {
2535 if (jj_scan_token(SLASHASSIGN)) return true;
2536 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2540 static final private boolean jj_3R_88() {
2541 if (jj_3R_93()) return true;
2542 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2546 if (jj_3R_94()) { jj_scanpos = xsp; break; }
2547 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2552 static final private boolean jj_3R_71() {
2553 if (jj_3R_88()) return true;
2554 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2558 if (jj_3R_89()) { jj_scanpos = xsp; break; }
2559 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2564 static final private boolean jj_3R_66() {
2565 if (jj_3R_71()) return true;
2566 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2570 if (jj_3R_72()) { jj_scanpos = xsp; break; }
2571 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2576 static final private boolean jj_3R_74() {
2577 if (jj_scan_token(STARASSIGN)) return true;
2578 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2582 static final private boolean jj_3R_59() {
2583 if (jj_3R_66()) return true;
2584 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2587 if (jj_3R_67()) jj_scanpos = xsp;
2588 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2592 static final private boolean jj_3R_73() {
2593 if (jj_scan_token(ASSIGN)) return true;
2594 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2598 static final private boolean jj_3R_68() {
2625 if (jj_3R_85()) return true;
2626 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2627 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2628 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2629 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2630 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2631 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2632 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2633 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2634 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2635 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2636 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2637 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2638 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2642 static final private boolean jj_3R_60() {
2643 if (jj_3R_68()) return true;
2644 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2645 if (jj_3R_37()) return true;
2646 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2650 static final private boolean jj_3R_53() {
2651 if (jj_3R_59()) return true;
2652 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2655 if (jj_3R_60()) jj_scanpos = xsp;
2656 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2660 static final private boolean jj_3R_37() {
2665 if (jj_3R_53()) return true;
2666 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2667 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2671 static final private boolean jj_3R_52() {
2672 if (jj_3R_58()) return true;
2673 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2677 static final private boolean jj_3R_55() {
2678 if (jj_scan_token(COMMA)) return true;
2679 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2680 if (jj_3R_54()) return true;
2681 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2685 static final private boolean jj_3R_51() {
2686 if (jj_scan_token(INTEGER)) return true;
2687 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2691 static final private boolean jj_3R_50() {
2692 if (jj_scan_token(INT)) return true;
2693 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2697 static final private boolean jj_3R_49() {
2698 if (jj_scan_token(FLOAT)) return true;
2699 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2703 static final private boolean jj_3R_48() {
2704 if (jj_scan_token(DOUBLE)) return true;
2705 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2709 static final private boolean jj_3R_47() {
2710 if (jj_scan_token(REAL)) return true;
2711 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2715 static final private boolean jj_3R_46() {
2716 if (jj_scan_token(BOOLEAN)) return true;
2717 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2721 static final private boolean jj_3R_45() {
2722 if (jj_scan_token(BOOL)) return true;
2723 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2727 static final private boolean jj_3R_36() {
2744 if (jj_3R_51()) return true;
2745 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2746 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2747 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2748 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2749 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2750 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2751 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2752 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2756 static final private boolean jj_3R_44() {
2757 if (jj_scan_token(STRING)) return true;
2758 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2762 static final private boolean jj_3_2() {
2763 if (jj_scan_token(COMMA)) return true;
2764 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2765 if (jj_3R_35()) return true;
2766 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2770 static final private boolean jj_3R_41() {
2771 if (jj_3R_54()) return true;
2772 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2776 if (jj_3R_55()) { jj_scanpos = xsp; break; }
2777 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2782 static final private boolean jj_3R_175() {
2783 if (jj_3R_35()) return true;
2784 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2788 if (jj_3_2()) { jj_scanpos = xsp; break; }
2789 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2794 static final private boolean jj_3R_176() {
2795 if (jj_scan_token(ARRAYASSIGN)) return true;
2796 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2797 if (jj_3R_37()) return true;
2798 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2802 static final private boolean jj_3R_40() {
2803 if (jj_scan_token(IDENTIFIER)) return true;
2804 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2805 if (jj_scan_token(COLON)) return true;
2806 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2810 static final private boolean jj_3R_164() {
2811 if (jj_scan_token(LPAREN)) return true;
2812 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2815 if (jj_3R_175()) jj_scanpos = xsp;
2816 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2817 if (jj_scan_token(RPAREN)) return true;
2818 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2822 static final private boolean jj_3R_35() {
2823 if (jj_3R_37()) return true;
2824 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2828 if (jj_3R_176()) { jj_scanpos = xsp; break; }
2829 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2834 static final private boolean jj_3R_99() {
2835 if (jj_scan_token(LBRACE)) return true;
2836 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2837 if (jj_3R_37()) return true;
2838 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2839 if (jj_scan_token(RBRACE)) return true;
2840 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2844 static final private boolean jj_3R_70() {
2845 if (jj_3R_37()) return true;
2846 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2850 static final private boolean jj_3R_92() {
2851 if (jj_scan_token(LBRACE)) return true;
2852 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2853 if (jj_3R_37()) return true;
2854 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2855 if (jj_scan_token(RBRACE)) return true;
2856 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2860 static final private boolean jj_3R_62() {
2861 if (jj_scan_token(ASSIGN)) return true;
2862 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2863 if (jj_3R_70()) return true;
2864 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2868 static final private boolean jj_3R_65() {
2869 if (jj_scan_token(DOLLAR)) return true;
2870 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2871 if (jj_3R_56()) return true;
2872 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2876 static final private boolean jj_3R_64() {
2877 if (jj_scan_token(IDENTIFIER)) return true;
2878 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2882 if (jj_3R_99()) { jj_scanpos = xsp; break; }
2883 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2888 static final private boolean jj_3R_63() {
2889 if (jj_scan_token(LBRACE)) return true;
2890 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2891 if (jj_3R_37()) return true;
2892 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2893 if (jj_scan_token(RBRACE)) return true;
2894 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2898 static final private boolean jj_3R_56() {
2905 if (jj_3R_65()) return true;
2906 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2907 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2908 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2912 static final private boolean jj_3_1() {
2913 if (jj_3R_34()) return true;
2914 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2918 static final private boolean jj_3R_87() {
2919 if (jj_scan_token(DOLLAR)) return true;
2920 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2921 if (jj_3R_56()) return true;
2922 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2926 static final private boolean jj_3R_58() {
2927 if (jj_scan_token(PRINT)) return true;
2928 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2929 if (jj_3R_37()) return true;
2930 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2934 static final private boolean jj_3R_86() {
2935 if (jj_scan_token(DOLLAR_ID)) return true;
2936 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2940 if (jj_3R_92()) { jj_scanpos = xsp; break; }
2941 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2946 static final private boolean jj_3R_69() {
2951 if (jj_3R_87()) return true;
2952 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2953 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2957 static final private boolean jj_3R_61() {
2958 if (jj_3R_69()) return true;
2959 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2963 if (jj_3_1()) { jj_scanpos = xsp; break; }
2964 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2969 static final private boolean jj_3R_54() {
2970 if (jj_3R_61()) return true;
2971 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2974 if (jj_3R_62()) jj_scanpos = xsp;
2975 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2979 static final private boolean jj_3R_39() {
2980 if (jj_scan_token(128)) return true;
2981 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2985 static final private boolean jj_3R_38() {
2986 if (jj_scan_token(SEMICOLON)) return true;
2987 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2991 static final private boolean jj_3R_179() {
2992 if (jj_scan_token(COMMA)) return true;
2993 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2994 if (jj_3R_37()) return true;
2995 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2999 static final private boolean jj_3_6() {
3000 if (jj_3R_40()) return true;
3001 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3005 static final private boolean jj_3_5() {
3006 if (jj_3R_37()) return true;
3007 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3012 if (jj_3R_39()) return true;
3013 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3014 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3018 static final private boolean jj_3R_177() {
3019 if (jj_3R_178()) return true;
3020 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3024 static final private boolean jj_3R_178() {
3025 if (jj_3R_37()) return true;
3026 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3030 if (jj_3R_179()) { jj_scanpos = xsp; break; }
3031 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3036 static final private boolean jj_3R_174() {
3037 if (jj_scan_token(LPAREN)) return true;
3038 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3041 if (jj_3R_177()) jj_scanpos = xsp;
3042 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3043 if (jj_scan_token(RPAREN)) return true;
3044 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3048 static final private boolean jj_3R_162() {
3049 if (jj_scan_token(NULL)) return true;
3050 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3054 static final private boolean jj_3R_85() {
3055 if (jj_scan_token(DOTASSIGN)) return true;
3056 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3060 static final private boolean jj_3R_166() {
3061 if (jj_scan_token(FALSE)) return true;
3062 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3066 static final private boolean jj_3R_161() {
3071 if (jj_3R_166()) return true;
3072 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3073 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3077 static final private boolean jj_3R_165() {
3078 if (jj_scan_token(TRUE)) return true;
3079 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3083 static final private boolean jj_3R_171() {
3084 if (jj_3R_167()) return true;
3085 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3089 static final private boolean jj_3R_155() {
3090 if (jj_3R_162()) return true;
3091 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3095 static final private boolean jj_3R_57() {
3096 if (jj_3R_37()) return true;
3097 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3101 static final private boolean jj_3R_154() {
3102 if (jj_3R_161()) return true;
3103 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3107 static final private boolean jj_3R_84() {
3108 if (jj_scan_token(ORASSIGN)) return true;
3109 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3113 static final private boolean jj_3R_153() {
3114 if (jj_scan_token(STRING_LITERAL)) return true;
3115 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3119 static final private boolean jj_3R_152() {
3120 if (jj_scan_token(FLOATING_POINT_LITERAL)) return true;
3121 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3125 static final private boolean jj_3R_148() {
3136 if (jj_3R_155()) return true;
3137 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3138 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3139 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3140 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3141 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3145 static final private boolean jj_3R_151() {
3146 if (jj_scan_token(INTEGER_LITERAL)) return true;
3147 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3151 static final private boolean jj_3R_43() {
3152 if (jj_scan_token(LBRACKET)) return true;
3153 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3156 if (jj_3R_57()) jj_scanpos = xsp;
3157 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3158 if (jj_scan_token(RBRACKET)) return true;
3159 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3163 static final private boolean jj_3R_42() {
3164 if (jj_scan_token(CLASSACCESS)) return true;
3165 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3166 if (jj_3R_56()) return true;
3167 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3171 static final private boolean jj_3R_34() {
3176 if (jj_3R_43()) return true;
3177 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3178 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3182 static final private boolean jj_3R_83() {
3183 if (jj_scan_token(XORASSIGN)) return true;
3184 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3188 static final private boolean jj_3R_170() {
3189 if (jj_3R_34()) return true;
3190 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3194 static final private boolean jj_3R_167() {
3199 if (jj_3R_170()) return true;
3200 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3201 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3205 static final private boolean jj_3R_169() {
3206 if (jj_3R_174()) return true;
3207 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3211 static final private boolean jj_3R_160() {
3212 if (jj_scan_token(DECR)) return true;
3213 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3217 static final private boolean jj_3R_173() {
3218 if (jj_3R_61()) return true;
3219 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3223 static final private boolean jj_3R_172() {
3224 if (jj_scan_token(IDENTIFIER)) return true;
3225 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3229 static final private boolean jj_3R_82() {
3230 if (jj_scan_token(ANDASSIGN)) return true;
3231 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3235 static final private boolean jj_3R_163() {
3236 if (jj_3R_167()) return true;
3237 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3241 static final private boolean jj_3R_168() {
3246 if (jj_3R_173()) return true;
3247 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3248 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3252 static final private boolean jj_3R_150() {
3257 if (jj_3R_160()) return true;
3258 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3259 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3263 static final private boolean jj_3R_159() {
3264 if (jj_scan_token(INCR)) return true;
3265 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3269 static final private boolean jj_3R_158() {
3270 if (jj_3R_61()) return true;
3271 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3275 static final private boolean jj_3R_157() {
3276 if (jj_scan_token(NEW)) return true;
3277 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3278 if (jj_3R_168()) return true;
3279 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3283 static final private boolean jj_3R_149() {
3290 if (jj_3R_158()) return true;
3291 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3292 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3293 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3297 static final private boolean jj_3R_156() {
3298 if (jj_scan_token(IDENTIFIER)) return true;
3299 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3303 static final private boolean jj_3R_145() {
3304 if (jj_scan_token(ARRAY)) return true;
3305 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3306 if (jj_3R_164()) return true;
3307 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3311 static final private boolean jj_3R_144() {
3312 if (jj_3R_149()) return true;
3313 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3317 if (jj_3R_163()) { jj_scanpos = xsp; break; }
3318 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3323 static final private boolean jj_3_4() {
3324 if (jj_scan_token(IDENTIFIER)) return true;
3325 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3326 if (jj_scan_token(STATICCLASSACCESS)) return true;
3327 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3328 if (jj_3R_168()) return true;
3329 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3333 if (jj_3R_171()) { jj_scanpos = xsp; break; }
3334 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3339 static final private boolean jj_3R_138() {
3346 if (jj_3R_145()) return true;
3347 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3348 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3349 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3353 static final private boolean jj_3R_81() {
3354 if (jj_scan_token(RUNSIGNEDSHIFTASSIGN)) return true;
3355 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3359 static final private boolean jj_3R_147() {
3360 if (jj_3R_138()) return true;
3361 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3364 if (jj_3R_150()) jj_scanpos = xsp;
3365 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3369 static final private boolean jj_3R_146() {
3370 if (jj_scan_token(LPAREN)) return true;
3371 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3372 if (jj_3R_36()) return true;
3373 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3374 if (jj_scan_token(RPAREN)) return true;
3375 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3376 if (jj_3R_121()) return true;
3377 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3381 static final private boolean jj_3_3() {
3382 if (jj_scan_token(LPAREN)) return true;
3383 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3384 if (jj_3R_36()) return true;
3385 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3386 if (jj_scan_token(RPAREN)) return true;
3387 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3391 static final private boolean jj_3R_120() {
3392 if (jj_scan_token(RUNSIGNEDSHIFT)) return true;
3393 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3397 static final private boolean jj_3R_132() {
3398 if (jj_scan_token(REM)) return true;
3399 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3403 static final private boolean jj_3R_143() {
3404 if (jj_scan_token(LPAREN)) return true;
3405 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3406 if (jj_3R_37()) return true;
3407 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3408 if (jj_scan_token(RPAREN)) return true;
3409 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3413 static final private boolean jj_3R_142() {
3414 if (jj_3R_148()) return true;
3415 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3419 static final private boolean jj_3R_141() {
3420 if (jj_3R_147()) return true;
3421 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3425 static final private boolean jj_3R_124() {
3426 if (jj_scan_token(MINUS)) return true;
3427 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3431 static final private boolean jj_3R_140() {
3432 if (jj_3R_146()) return true;
3433 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3437 static final private boolean jj_3R_80() {
3438 if (jj_scan_token(RSIGNEDSHIFTASSIGN)) return true;
3439 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3443 static final private boolean jj_3R_137() {
3454 if (jj_3R_143()) return true;
3455 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3456 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3457 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3458 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3459 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3463 static final private boolean jj_3R_139() {
3464 if (jj_scan_token(BANG)) return true;
3465 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3466 if (jj_3R_121()) return true;
3467 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3471 static final private boolean jj_3R_131() {
3472 if (jj_scan_token(SLASH)) return true;
3473 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3477 static final private boolean jj_3R_136() {
3478 if (jj_scan_token(DECR)) return true;
3479 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3480 if (jj_3R_138()) return true;
3481 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3485 static final private boolean jj_3R_115() {
3486 if (jj_scan_token(GE)) return true;
3487 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3491 static final private boolean jj_3R_123() {
3492 if (jj_scan_token(PLUS)) return true;
3493 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3497 static final private boolean jj_3R_119() {
3498 if (jj_scan_token(RSIGNEDSHIFT)) return true;
3499 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3503 static final private boolean jj_3R_117() {
3508 if (jj_3R_124()) return true;
3509 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3510 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3511 if (jj_3R_116()) return true;
3512 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3516 static final private boolean jj_3R_130() {
3517 if (jj_scan_token(STAR)) return true;
3518 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3522 static final private boolean jj_3R_122() {
3529 if (jj_3R_132()) return true;
3530 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3531 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3532 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3533 if (jj_3R_121()) return true;
3534 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3538 static final private boolean jj_3R_135() {
3539 if (jj_scan_token(INCR)) return true;
3540 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3541 if (jj_3R_138()) return true;
3542 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3546 static final private boolean jj_3R_134() {
3547 if (jj_scan_token(MINUS)) return true;
3548 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3552 static final private boolean jj_3R_114() {
3553 if (jj_scan_token(LE)) return true;
3554 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3558 static final private boolean jj_3R_79() {
3559 if (jj_scan_token(LSHIFTASSIGN)) return true;
3560 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3564 static final private boolean jj_3R_129() {
3565 if (jj_3R_137()) return true;
3566 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3570 static final private boolean jj_3R_118() {
3571 if (jj_scan_token(LSHIFT)) return true;
3572 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3576 static final private boolean jj_3R_128() {
3577 if (jj_3R_136()) return true;
3578 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3582 static final private boolean jj_3R_111() {
3589 if (jj_3R_120()) return true;
3590 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3591 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3592 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3593 if (jj_3R_110()) return true;
3594 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3598 static final private boolean jj_3R_113() {
3599 if (jj_scan_token(GT)) return true;
3600 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3604 static final private boolean jj_3R_109() {
3605 if (jj_scan_token(NE)) return true;
3606 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3610 static final private boolean jj_3R_127() {
3611 if (jj_3R_135()) return true;
3612 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3616 static final private boolean jj_3R_133() {
3617 if (jj_scan_token(PLUS)) return true;
3618 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3622 static final private boolean jj_3R_126() {
3627 if (jj_3R_134()) return true;
3628 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3629 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3630 if (jj_3R_121()) return true;
3631 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3635 static final private boolean jj_3R_121() {
3646 if (jj_3R_129()) return true;
3647 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3648 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3649 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3650 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3651 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3655 static final private boolean jj_3R_125() {
3656 if (jj_scan_token(AT)) return true;
3657 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3658 if (jj_3R_121()) return true;
3659 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3663 static final private boolean jj_3R_112() {
3664 if (jj_scan_token(LT)) return true;
3665 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3669 static final private boolean jj_3R_108() {
3670 if (jj_scan_token(EQ)) return true;
3671 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3675 static final private boolean jj_3R_107() {
3684 if (jj_3R_115()) return true;
3685 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3686 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3687 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3688 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3689 if (jj_3R_106()) return true;
3690 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3694 static final private boolean jj_3R_105() {
3699 if (jj_3R_109()) return true;
3700 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3701 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3702 if (jj_3R_104()) return true;
3703 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3707 static final private boolean jj_3R_116() {
3708 if (jj_3R_121()) return true;
3709 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3713 if (jj_3R_122()) { jj_scanpos = xsp; break; }
3714 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3719 static final private boolean jj_3_7() {
3720 if (jj_3R_41()) return true;
3721 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3725 static final private boolean jj_3R_78() {
3726 if (jj_scan_token(MINUSASSIGN)) return true;
3727 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3731 static final private boolean jj_3R_110() {
3732 if (jj_3R_116()) return true;
3733 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3737 if (jj_3R_117()) { jj_scanpos = xsp; break; }
3738 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3743 static final private boolean jj_3R_103() {
3744 if (jj_scan_token(BIT_AND)) return true;
3745 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3746 if (jj_3R_102()) return true;
3747 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3751 static final private boolean jj_3R_106() {
3752 if (jj_3R_110()) return true;
3753 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3757 if (jj_3R_111()) { jj_scanpos = xsp; break; }
3758 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
3763 static private boolean jj_initialized_once = false;
3764 static public PHPParserTokenManager token_source;
3765 static SimpleCharStream jj_input_stream;
3766 static public Token token, jj_nt;
3767 static private int jj_ntk;
3768 static private Token jj_scanpos, jj_lastpos;
3769 static private int jj_la;
3770 static public boolean lookingAhead = false;
3771 static private boolean jj_semLA;
3772 static private int jj_gen;
3773 static final private int[] jj_la1 = new int[95];
3774 static final private int[] jj_la1_0 = {0x2,0xff960000,0x0,0xc0000,0xc0000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1800000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1800000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x800000,0x0,0x800000,0x0,0x0,0x0,0x0,0x800000,0x0,0x0,0x0,0x1800000,0x0,0x0,0x0,0x1800000,0x0,0x0,0xfe900000,0x0,0x0,0x0,0x0,0x3c000000,0x0,0x0,0x0,0x0,0x0,0x0,0xff960000,0xff960000,0x0,0x0,0x0,0x800000,0x0,0xff960000,0x0,0x200000,0x400000,0xff900000,0x0,0xff900000,0x0,0x800000,0x1800000,0x800000,0x800000,0x0,0x0,0x0,0x1800000,};
3775 static final private int[] jj_la1_1 = {0x0,0x1aed48,0x200,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4,0x86400,0x0,0x0,0x0,0x0,0x0,0x7f400000,0x0,0x86400,0x0,0x0,0x80000000,0x80000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x86400,0x0,0x86400,0x0,0x0,0x1,0x1,0x2000,0x2000,0x0,0x1,0x86400,0x1,0x84400,0x80400,0x86400,0x0,0x0,0x12a948,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1aed48,0x1aed48,0x0,0x0,0x0,0x2000,0x90,0x1aed48,0x90,0x0,0x0,0x1aed48,0x0,0x1aed48,0x0,0x2000,0x86400,0x2000,0x2000,0x0,0x0,0x0,0x86400,};
3776 static final private int[] jj_la1_2 = {0x0,0x232288a2,0x0,0x0,0x0,0x400000,0x4000000,0x20000,0x2000000,0x20000,0x2020800,0x0,0x230088a2,0x220000,0x0,0x400000,0x2000000,0x0,0x0,0x4000000,0x230088a2,0x4000000,0x40000000,0x0,0x0,0x1,0x1,0x800000,0x0,0x0,0x0,0x0,0x0,0x18000000,0x18000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x230088a2,0x20000000,0x20088a2,0x0,0x0,0x88000,0x88000,0x2000800,0x2000800,0x2000800,0x88000,0x230088a2,0x80000,0xa2,0x0,0x230088a2,0x400000,0x200000,0x2220800,0x200000,0x200000,0x200000,0x200000,0x0,0x400000,0x200000,0x400000,0x200000,0x400000,0x200000,0x232288a2,0x232288a2,0x400000,0x4000000,0x4000000,0x2000800,0x0,0x232288a2,0x0,0x0,0x0,0x232288a2,0x200000,0xa32288a2,0x200000,0x2000800,0x230088a2,0x2000800,0x2000800,0x400000,0x800,0x800,0x230088a2,};
3777 static final private int[] jj_la1_3 = {0x0,0x800003c0,0x0,0x0,0x0,0x0,0x0,0x0,0x80000000,0x0,0x0,0x0,0x800003c0,0x0,0x1000,0x0,0x80001000,0x1000,0x0,0x7ff80000,0x800003c0,0x7ff80000,0x0,0x10,0x10,0x20,0x20,0x0,0x2000,0x4000,0x1000,0x9,0x9,0x6,0x6,0x70000,0x70000,0x300,0x300,0x8c00,0x8c00,0x300,0x800003c0,0x0,0x80000000,0xc0,0xc0,0x0,0x0,0x80000000,0x80000000,0x80000000,0x0,0x800003c0,0x0,0x0,0x0,0x800003c0,0x0,0x0,0x800000c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x800003c0,0x800003c0,0x0,0x7ff800c0,0x7ff800c0,0x800000c0,0x0,0x800003c0,0x0,0x0,0x0,0x800003c0,0x0,0x800003c0,0x0,0x800000c0,0x800003c0,0x800000c0,0x800000c0,0x0,0x0,0x0,0x800003c0,};
3778 static final private int[] jj_la1_4 = {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x1,0x1,0x1,0x0,0x0,0x1,0x0,0x1,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1,0x0,0x1,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,};
3779 static final private JJCalls[] jj_2_rtns = new JJCalls[7];
3780 static private boolean jj_rescan = false;
3781 static private int jj_gc = 0;
3783 public PHPParser(java.io.InputStream stream) {
3784 if (jj_initialized_once) {
3785 System.out.println("ERROR: Second call to constructor of static parser. You must");
3786 System.out.println(" either use ReInit() or set the JavaCC option STATIC to false");
3787 System.out.println(" during parser generation.");
3790 jj_initialized_once = true;
3791 jj_input_stream = new SimpleCharStream(stream, 1, 1);
3792 token_source = new PHPParserTokenManager(jj_input_stream);
3793 token = new Token();
3796 for (int i = 0; i < 95; i++) jj_la1[i] = -1;
3797 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3800 static public void ReInit(java.io.InputStream stream) {
3801 jj_input_stream.ReInit(stream, 1, 1);
3802 token_source.ReInit(jj_input_stream);
3803 token = new Token();
3806 for (int i = 0; i < 95; i++) jj_la1[i] = -1;
3807 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3810 public PHPParser(java.io.Reader stream) {
3811 if (jj_initialized_once) {
3812 System.out.println("ERROR: Second call to constructor of static parser. You must");
3813 System.out.println(" either use ReInit() or set the JavaCC option STATIC to false");
3814 System.out.println(" during parser generation.");
3817 jj_initialized_once = true;
3818 jj_input_stream = new SimpleCharStream(stream, 1, 1);
3819 token_source = new PHPParserTokenManager(jj_input_stream);
3820 token = new Token();
3823 for (int i = 0; i < 95; i++) jj_la1[i] = -1;
3824 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3827 static public void ReInit(java.io.Reader stream) {
3828 jj_input_stream.ReInit(stream, 1, 1);
3829 token_source.ReInit(jj_input_stream);
3830 token = new Token();
3833 for (int i = 0; i < 95; i++) jj_la1[i] = -1;
3834 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3837 public PHPParser(PHPParserTokenManager tm) {
3838 if (jj_initialized_once) {
3839 System.out.println("ERROR: Second call to constructor of static parser. You must");
3840 System.out.println(" either use ReInit() or set the JavaCC option STATIC to false");
3841 System.out.println(" during parser generation.");
3844 jj_initialized_once = true;
3846 token = new Token();
3849 for (int i = 0; i < 95; i++) jj_la1[i] = -1;
3850 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3853 public void ReInit(PHPParserTokenManager tm) {
3855 token = new Token();
3858 for (int i = 0; i < 95; i++) jj_la1[i] = -1;
3859 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
3862 static final private Token jj_consume_token(int kind) throws ParseException {
3864 if ((oldToken = token).next != null) token = token.next;
3865 else token = token.next = token_source.getNextToken();
3867 if (token.kind == kind) {
3869 if (++jj_gc > 100) {
3871 for (int i = 0; i < jj_2_rtns.length; i++) {
3872 JJCalls c = jj_2_rtns[i];
3874 if (c.gen < jj_gen) c.first = null;
3883 throw generateParseException();
3886 static final private boolean jj_scan_token(int kind) {
3887 if (jj_scanpos == jj_lastpos) {
3889 if (jj_scanpos.next == null) {
3890 jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
3892 jj_lastpos = jj_scanpos = jj_scanpos.next;
3895 jj_scanpos = jj_scanpos.next;
3898 int i = 0; Token tok = token;
3899 while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; }
3900 if (tok != null) jj_add_error_token(kind, i);
3902 return (jj_scanpos.kind != kind);
3905 static final public Token getNextToken() {
3906 if (token.next != null) token = token.next;
3907 else token = token.next = token_source.getNextToken();
3913 static final public Token getToken(int index) {
3914 Token t = lookingAhead ? jj_scanpos : token;
3915 for (int i = 0; i < index; i++) {
3916 if (t.next != null) t = t.next;
3917 else t = t.next = token_source.getNextToken();
3922 static final private int jj_ntk() {
3923 if ((jj_nt=token.next) == null)
3924 return (jj_ntk = (token.next=token_source.getNextToken()).kind);
3926 return (jj_ntk = jj_nt.kind);
3929 static private java.util.Vector jj_expentries = new java.util.Vector();
3930 static private int[] jj_expentry;
3931 static private int jj_kind = -1;
3932 static private int[] jj_lasttokens = new int[100];
3933 static private int jj_endpos;
3935 static private void jj_add_error_token(int kind, int pos) {
3936 if (pos >= 100) return;
3937 if (pos == jj_endpos + 1) {
3938 jj_lasttokens[jj_endpos++] = kind;
3939 } else if (jj_endpos != 0) {
3940 jj_expentry = new int[jj_endpos];
3941 for (int i = 0; i < jj_endpos; i++) {
3942 jj_expentry[i] = jj_lasttokens[i];
3944 boolean exists = false;
3945 for (java.util.Enumeration enum = jj_expentries.elements(); enum.hasMoreElements();) {
3946 int[] oldentry = (int[])(enum.nextElement());
3947 if (oldentry.length == jj_expentry.length) {
3949 for (int i = 0; i < jj_expentry.length; i++) {
3950 if (oldentry[i] != jj_expentry[i]) {
3958 if (!exists) jj_expentries.addElement(jj_expentry);
3959 if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind;
3963 static final public ParseException generateParseException() {
3964 jj_expentries.removeAllElements();
3965 boolean[] la1tokens = new boolean[129];
3966 for (int i = 0; i < 129; i++) {
3967 la1tokens[i] = false;
3970 la1tokens[jj_kind] = true;
3973 for (int i = 0; i < 95; i++) {
3974 if (jj_la1[i] == jj_gen) {
3975 for (int j = 0; j < 32; j++) {
3976 if ((jj_la1_0[i] & (1<<j)) != 0) {
3977 la1tokens[j] = true;
3979 if ((jj_la1_1[i] & (1<<j)) != 0) {
3980 la1tokens[32+j] = true;
3982 if ((jj_la1_2[i] & (1<<j)) != 0) {
3983 la1tokens[64+j] = true;
3985 if ((jj_la1_3[i] & (1<<j)) != 0) {
3986 la1tokens[96+j] = true;
3988 if ((jj_la1_4[i] & (1<<j)) != 0) {
3989 la1tokens[128+j] = true;
3994 for (int i = 0; i < 129; i++) {
3996 jj_expentry = new int[1];
3998 jj_expentries.addElement(jj_expentry);
4003 jj_add_error_token(0, 0);
4004 int[][] exptokseq = new int[jj_expentries.size()][];
4005 for (int i = 0; i < jj_expentries.size(); i++) {
4006 exptokseq[i] = (int[])jj_expentries.elementAt(i);
4008 return new ParseException(token, exptokseq, tokenImage);
4011 static final public void enable_tracing() {
4014 static final public void disable_tracing() {
4017 static final private void jj_rescan_token() {
4019 for (int i = 0; i < 7; i++) {
4020 JJCalls p = jj_2_rtns[i];
4022 if (p.gen > jj_gen) {
4023 jj_la = p.arg; jj_lastpos = jj_scanpos = p.first;
4025 case 0: jj_3_1(); break;
4026 case 1: jj_3_2(); break;
4027 case 2: jj_3_3(); break;
4028 case 3: jj_3_4(); break;
4029 case 4: jj_3_5(); break;
4030 case 5: jj_3_6(); break;
4031 case 6: jj_3_7(); break;
4035 } while (p != null);
4040 static final private void jj_save(int index, int xla) {
4041 JJCalls p = jj_2_rtns[index];
4042 while (p.gen > jj_gen) {
4043 if (p.next == null) { p = p.next = new JJCalls(); break; }
4046 p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla;
4049 static final class JJCalls {