1 /* Generated By:JavaCC: Do not edit this line. ExpressionParser.java */
2 package jde.debugger.expr;
5 import java.util.Stack;
7 import java.util.ArrayList;
9 public class ExpressionParser implements ExpressionParserConstants {
11 Stack stack = new Stack();
12 VirtualMachine vm = null;
13 GetFrame frameGetter = null;
16 return (LValue)stack.peek();
20 return (LValue)stack.pop();
23 void push(LValue lval) {
27 public interface GetFrame {
28 StackFrame get() throws IncompatibleThreadStateException;
31 public static Value evaluate(String expr, VirtualMachine vm,
32 GetFrame frameGetter) throws ParseException,
35 ClassNotLoadedException,
36 IncompatibleThreadStateException {
37 java.io.InputStream in = new java.io.ByteArrayInputStream(expr.getBytes());
38 ExpressionParser parser = new ExpressionParser(in);
40 parser.frameGetter = frameGetter;
43 return parser.pop().getValue();
46 public static void main(String args[]) {
47 ExpressionParser parser;
48 System.out.print("Java Expression Parser: ");
49 if (args.length == 0) {
50 System.out.println("Reading from standard input . . .");
51 parser = new ExpressionParser(System.in);
52 } else if (args.length == 1) {
53 System.out.println("Reading from file " + args[0] + " . . .");
55 parser = new ExpressionParser(new java.io.FileInputStream(args[0]));
56 } catch (java.io.FileNotFoundException e) {
57 System.out.println("Java Parser Version 1.0.2: File " +
58 args[0] + " not found.");
62 System.out.println("Usage is one of:");
63 System.out.println(" java ExpressionParser < inputfile");
64 System.out.println("OR");
65 System.out.println(" java ExpressionParser inputfile");
70 System.out.print("Java Expression Parser: ");
71 System.out.println("Java program parsed successfully.");
72 } catch (ParseException e) {
73 System.out.print("Java Expression Parser: ");
74 System.out.println("Encountered errors during parse.");
78 /*****************************************
79 * THE JAVA LANGUAGE GRAMMAR STARTS HERE *
80 *****************************************/
83 * Type, name and expression syntax follows.
85 final public void Type() throws ParseException {
86 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
102 jj_consume_token(-1);
103 throw new ParseException();
107 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
115 jj_consume_token(LBRACKET);
116 jj_consume_token(RBRACKET);
120 final public void PrimitiveType() throws ParseException {
121 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
123 jj_consume_token(BOOLEAN);
126 jj_consume_token(CHAR);
129 jj_consume_token(BYTE);
132 jj_consume_token(SHORT);
135 jj_consume_token(INT);
138 jj_consume_token(LONG);
141 jj_consume_token(FLOAT);
144 jj_consume_token(DOUBLE);
148 jj_consume_token(-1);
149 throw new ParseException();
153 final public String Name() throws ParseException {
154 StringBuffer sb = new StringBuffer();
155 jj_consume_token(IDENTIFIER);
164 jj_consume_token(DOT);
165 jj_consume_token(IDENTIFIER);
166 sb.append('.'); sb.append(token);
168 {if (true) return sb.toString();}
169 throw new Error("Missing return statement in function");
172 final public void NameList() throws ParseException {
176 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
184 jj_consume_token(COMMA);
190 * Expression syntax follows.
192 final public void Expression() throws ParseException {
193 if (jj_2_2(2147483647)) {
196 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
203 case INTEGER_LITERAL:
204 case FLOATING_POINT_LITERAL:
205 case CHARACTER_LITERAL:
215 ConditionalExpression();
219 jj_consume_token(-1);
220 throw new ParseException();
225 final public void Assignment() throws ParseException {
227 AssignmentOperator();
229 LValue exprVal = pop(); pop().setValue(exprVal); push(exprVal);
232 final public void AssignmentOperator() throws ParseException {
233 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
235 jj_consume_token(ASSIGN);
238 jj_consume_token(STARASSIGN);
241 jj_consume_token(SLASHASSIGN);
244 jj_consume_token(REMASSIGN);
247 jj_consume_token(PLUSASSIGN);
250 jj_consume_token(MINUSASSIGN);
253 jj_consume_token(LSHIFTASSIGN);
255 case RSIGNEDSHIFTASSIGN:
256 jj_consume_token(RSIGNEDSHIFTASSIGN);
258 case RUNSIGNEDSHIFTASSIGN:
259 jj_consume_token(RUNSIGNEDSHIFTASSIGN);
262 jj_consume_token(ANDASSIGN);
265 jj_consume_token(XORASSIGN);
268 jj_consume_token(ORASSIGN);
272 jj_consume_token(-1);
273 throw new ParseException();
277 final public void ConditionalExpression() throws ParseException {
278 ConditionalOrExpression();
279 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
281 jj_consume_token(HOOK);
283 jj_consume_token(COLON);
284 ConditionalExpression();
285 LValue falseBranch = pop(); LValue trueBranch = pop();
286 Value cond = pop().interiorGetValue();
287 if (cond instanceof BooleanValue) {
288 push(((BooleanValue)cond).booleanValue()?
289 trueBranch : falseBranch);
291 {if (true) throw new ParseException("Condition must be boolean");}
300 final public void ConditionalOrExpression() throws ParseException {
301 ConditionalAndExpression();
304 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
312 jj_consume_token(SC_OR);
313 ConditionalAndExpression();
314 {if (true) throw new ParseException("operation not yet supported");}
318 final public void ConditionalAndExpression() throws ParseException {
319 InclusiveOrExpression();
322 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
330 jj_consume_token(SC_AND);
331 InclusiveOrExpression();
332 {if (true) throw new ParseException("operation not yet supported");}
336 final public void InclusiveOrExpression() throws ParseException {
337 ExclusiveOrExpression();
340 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
348 jj_consume_token(BIT_OR);
349 ExclusiveOrExpression();
350 {if (true) throw new ParseException("operation not yet supported");}
354 final public void ExclusiveOrExpression() throws ParseException {
358 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
366 jj_consume_token(XOR);
368 {if (true) throw new ParseException("operation not yet supported");}
372 final public void AndExpression() throws ParseException {
373 EqualityExpression();
376 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
384 jj_consume_token(BIT_AND);
385 EqualityExpression();
386 {if (true) throw new ParseException("operation not yet supported");}
390 final public void EqualityExpression() throws ParseException {
392 InstanceOfExpression();
395 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
404 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
406 tok = jj_consume_token(EQ);
409 tok = jj_consume_token(NE);
413 jj_consume_token(-1);
414 throw new ParseException();
416 InstanceOfExpression();
418 push( LValue.booleanOperation(vm, tok, pop(), left) );
422 final public void InstanceOfExpression() throws ParseException {
423 RelationalExpression();
424 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
426 jj_consume_token(INSTANCEOF);
428 {if (true) throw new ParseException("operation not yet supported");}
436 final public void RelationalExpression() throws ParseException {
441 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
452 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
454 tok = jj_consume_token(LT);
457 tok = jj_consume_token(GT);
460 tok = jj_consume_token(LE);
463 tok = jj_consume_token(GE);
467 jj_consume_token(-1);
468 throw new ParseException();
472 push( LValue.booleanOperation(vm, tok, pop(), left) );
476 final public void ShiftExpression() throws ParseException {
477 AdditiveExpression();
480 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
490 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
492 jj_consume_token(LSHIFT);
495 jj_consume_token(RSIGNEDSHIFT);
498 jj_consume_token(RUNSIGNEDSHIFT);
502 jj_consume_token(-1);
503 throw new ParseException();
505 AdditiveExpression();
506 {if (true) throw new ParseException("operation not yet supported");}
510 final public void AdditiveExpression() throws ParseException {
512 MultiplicativeExpression();
515 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
524 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
526 tok = jj_consume_token(PLUS);
529 tok = jj_consume_token(MINUS);
533 jj_consume_token(-1);
534 throw new ParseException();
536 MultiplicativeExpression();
538 push( LValue.operation(vm, tok, pop(), left) );
542 final public void MultiplicativeExpression() throws ParseException {
547 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
557 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
559 tok = jj_consume_token(STAR);
562 tok = jj_consume_token(SLASH);
565 tok = jj_consume_token(REM);
569 jj_consume_token(-1);
570 throw new ParseException();
574 push( LValue.operation(vm, tok, pop(), left) );
578 final public void UnaryExpression() throws ParseException {
579 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
582 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
584 jj_consume_token(PLUS);
587 jj_consume_token(MINUS);
591 jj_consume_token(-1);
592 throw new ParseException();
595 {if (true) throw new ParseException("operation not yet supported");}
598 PreIncrementExpression();
601 PreDecrementExpression();
609 case INTEGER_LITERAL:
610 case FLOATING_POINT_LITERAL:
611 case CHARACTER_LITERAL:
617 UnaryExpressionNotPlusMinus();
621 jj_consume_token(-1);
622 throw new ParseException();
626 final public void PreIncrementExpression() throws ParseException {
627 jj_consume_token(INCR);
629 {if (true) throw new ParseException("operation not yet supported");}
632 final public void PreDecrementExpression() throws ParseException {
633 jj_consume_token(DECR);
635 {if (true) throw new ParseException("operation not yet supported");}
638 final public void UnaryExpressionNotPlusMinus() throws ParseException {
639 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
642 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
644 jj_consume_token(TILDE);
647 jj_consume_token(BANG);
651 jj_consume_token(-1);
652 throw new ParseException();
655 {if (true) throw new ParseException("operation not yet supported");}
659 if (jj_2_3(2147483647)) {
662 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
669 case INTEGER_LITERAL:
670 case FLOATING_POINT_LITERAL:
671 case CHARACTER_LITERAL:
679 jj_consume_token(-1);
680 throw new ParseException();
686 // This production is to determine lookahead only. The LOOKAHEAD specifications
687 // below are not used, but they are there just to indicate that we know about
689 final public void CastLookahead() throws ParseException {
691 jj_consume_token(LPAREN);
693 } else if (jj_2_5(2147483647)) {
694 jj_consume_token(LPAREN);
696 jj_consume_token(LBRACKET);
697 jj_consume_token(RBRACKET);
699 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
701 jj_consume_token(LPAREN);
703 jj_consume_token(RPAREN);
704 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
706 jj_consume_token(TILDE);
709 jj_consume_token(BANG);
712 jj_consume_token(LPAREN);
715 jj_consume_token(IDENTIFIER);
718 jj_consume_token(THIS);
721 jj_consume_token(SUPER);
724 jj_consume_token(NEW);
729 case INTEGER_LITERAL:
730 case FLOATING_POINT_LITERAL:
731 case CHARACTER_LITERAL:
737 jj_consume_token(-1);
738 throw new ParseException();
743 jj_consume_token(-1);
744 throw new ParseException();
749 final public void PostfixExpression() throws ParseException {
751 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
754 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
756 jj_consume_token(INCR);
759 jj_consume_token(DECR);
760 {if (true) throw new ParseException("operation not yet supported");}
764 jj_consume_token(-1);
765 throw new ParseException();
774 final public void CastExpression() throws ParseException {
776 jj_consume_token(LPAREN);
780 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
788 jj_consume_token(LBRACKET);
789 jj_consume_token(RBRACKET);
791 jj_consume_token(RPAREN);
794 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
796 jj_consume_token(LPAREN);
800 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
808 jj_consume_token(LBRACKET);
809 jj_consume_token(RBRACKET);
811 jj_consume_token(RPAREN);
812 UnaryExpressionNotPlusMinus();
816 jj_consume_token(-1);
817 throw new ParseException();
822 final public void PrimaryExpression() throws ParseException {
826 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
840 final public void PrimaryPrefix() throws ParseException {
842 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
846 case INTEGER_LITERAL:
847 case FLOATING_POINT_LITERAL:
848 case CHARACTER_LITERAL:
854 push(LValue.makeName(vm, frameGetter, name));
857 jj_consume_token(THIS);
858 push(LValue.makeThisObject(vm, frameGetter, token));
861 jj_consume_token(SUPER);
862 jj_consume_token(DOT);
863 jj_consume_token(IDENTIFIER);
864 {if (true) throw new ParseException("operation not yet supported");}
867 jj_consume_token(LPAREN);
869 jj_consume_token(RPAREN);
872 AllocationExpression();
876 jj_consume_token(-1);
877 throw new ParseException();
881 final public void PrimarySuffix() throws ParseException {
883 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
885 jj_consume_token(LBRACKET);
887 jj_consume_token(RBRACKET);
888 LValue index = pop();
889 push(pop().arrayElementLValue(index));
892 jj_consume_token(DOT);
893 jj_consume_token(IDENTIFIER);
894 push(pop().memberLValue(frameGetter, token.image));
897 argList = Arguments();
898 peek().invokeWith(argList);
902 jj_consume_token(-1);
903 throw new ParseException();
907 final public void Literal() throws ParseException {
908 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
909 case INTEGER_LITERAL:
910 jj_consume_token(INTEGER_LITERAL);
911 push(LValue.makeInteger(vm, token));
913 case FLOATING_POINT_LITERAL:
914 jj_consume_token(FLOATING_POINT_LITERAL);
915 push(LValue.makeFloat(vm, token));
917 case CHARACTER_LITERAL:
918 jj_consume_token(CHARACTER_LITERAL);
919 push(LValue.makeCharacter(vm, token));
922 jj_consume_token(STRING_LITERAL);
923 push(LValue.makeString(vm, token));
928 push(LValue.makeBoolean(vm, token));
932 push(LValue.makeNull(vm, token));
936 jj_consume_token(-1);
937 throw new ParseException();
941 final public void BooleanLiteral() throws ParseException {
942 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
944 jj_consume_token(TRUE);
947 jj_consume_token(FALSE);
951 jj_consume_token(-1);
952 throw new ParseException();
956 final public void NullLiteral() throws ParseException {
957 jj_consume_token(NULL);
960 final public List Arguments() throws ParseException {
961 List argList = new ArrayList();
962 jj_consume_token(LPAREN);
963 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
970 case INTEGER_LITERAL:
971 case FLOATING_POINT_LITERAL:
972 case CHARACTER_LITERAL:
982 ArgumentList(argList);
988 jj_consume_token(RPAREN);
989 {if (true) return argList;}
990 throw new Error("Missing return statement in function");
993 final public void ArgumentList(List argList) throws ParseException {
995 argList.add(pop().interiorGetValue());
998 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1003 jj_la1[41] = jj_gen;
1006 jj_consume_token(COMMA);
1008 argList.add(pop().interiorGetValue());
1012 final public void AllocationExpression() throws ParseException {
1013 List argList; String className;
1015 jj_consume_token(NEW);
1019 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1021 jj_consume_token(NEW);
1023 switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
1025 argList = Arguments();
1026 push(LValue.makeNewObject(vm, frameGetter, className, argList));
1030 {if (true) throw new ParseException("operation not yet supported");}
1033 jj_la1[42] = jj_gen;
1034 jj_consume_token(-1);
1035 throw new ParseException();
1039 jj_la1[43] = jj_gen;
1040 jj_consume_token(-1);
1041 throw new ParseException();
1047 * The second LOOKAHEAD specification below is to parse to PrimarySuffix
1048 * if there is an expression between the "[...]".
1050 final public void ArrayDimensions() throws ParseException {
1053 jj_consume_token(LBRACKET);
1055 jj_consume_token(RBRACKET);
1069 jj_consume_token(LBRACKET);
1070 jj_consume_token(RBRACKET);
1074 final private boolean jj_2_1(int xla) {
1075 jj_la = xla; jj_lastpos = jj_scanpos = token;
1076 boolean retval = !jj_3_1();
1081 final private boolean jj_2_2(int xla) {
1082 jj_la = xla; jj_lastpos = jj_scanpos = token;
1083 boolean retval = !jj_3_2();
1088 final private boolean jj_2_3(int xla) {
1089 jj_la = xla; jj_lastpos = jj_scanpos = token;
1090 boolean retval = !jj_3_3();
1095 final private boolean jj_2_4(int xla) {
1096 jj_la = xla; jj_lastpos = jj_scanpos = token;
1097 boolean retval = !jj_3_4();
1102 final private boolean jj_2_5(int xla) {
1103 jj_la = xla; jj_lastpos = jj_scanpos = token;
1104 boolean retval = !jj_3_5();
1109 final private boolean jj_2_6(int xla) {
1110 jj_la = xla; jj_lastpos = jj_scanpos = token;
1111 boolean retval = !jj_3_6();
1116 final private boolean jj_2_7(int xla) {
1117 jj_la = xla; jj_lastpos = jj_scanpos = token;
1118 boolean retval = !jj_3_7();
1123 final private boolean jj_2_8(int xla) {
1124 jj_la = xla; jj_lastpos = jj_scanpos = token;
1125 boolean retval = !jj_3_8();
1130 final private boolean jj_2_9(int xla) {
1131 jj_la = xla; jj_lastpos = jj_scanpos = token;
1132 boolean retval = !jj_3_9();
1137 final private boolean jj_3R_154() {
1138 if (jj_scan_token(INCR)) return true;
1139 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1143 final private boolean jj_3R_151() {
1148 if (jj_3R_155()) return true;
1149 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1150 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1154 final private boolean jj_3R_148() {
1159 if (jj_3R_150()) return true;
1160 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1161 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1165 final private boolean jj_3_6() {
1166 if (jj_scan_token(LPAREN)) return true;
1167 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1168 if (jj_3R_23()) return true;
1169 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1173 if (jj_3R_152()) { jj_scanpos = xsp; break; }
1174 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1176 if (jj_scan_token(RPAREN)) return true;
1177 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1178 if (jj_3R_115()) return true;
1179 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1183 final private boolean jj_3R_25() {
1188 if (jj_3R_51()) return true;
1189 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1190 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1194 final private boolean jj_3R_50() {
1195 if (jj_3R_67()) return true;
1196 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1200 final private boolean jj_3_5() {
1201 if (jj_scan_token(LPAREN)) return true;
1202 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1203 if (jj_3R_24()) return true;
1204 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1205 if (jj_scan_token(LBRACKET)) return true;
1206 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1210 final private boolean jj_3R_149() {
1211 if (jj_3R_20()) return true;
1212 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1215 if (jj_3R_151()) jj_scanpos = xsp;
1216 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1220 final private boolean jj_3R_41() {
1221 if (jj_scan_token(LPAREN)) return true;
1222 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1223 if (jj_3R_24()) return true;
1224 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1225 if (jj_scan_token(RPAREN)) return true;
1226 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1243 if (jj_3R_66()) return true;
1244 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1245 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1246 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1247 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1248 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1249 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1250 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1251 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1255 final private boolean jj_3R_40() {
1256 if (jj_scan_token(LPAREN)) return true;
1257 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1258 if (jj_3R_24()) return true;
1259 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1260 if (jj_scan_token(LBRACKET)) return true;
1261 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1262 if (jj_scan_token(RBRACKET)) return true;
1263 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1267 final private boolean jj_3R_123() {
1268 if (jj_scan_token(LBRACKET)) return true;
1269 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1270 if (jj_scan_token(RBRACKET)) return true;
1271 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1275 final private boolean jj_3_1() {
1276 if (jj_scan_token(DOT)) return true;
1277 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1278 if (jj_scan_token(IDENTIFIER)) return true;
1279 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1283 final private boolean jj_3_4() {
1284 if (jj_scan_token(LPAREN)) return true;
1285 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1286 if (jj_3R_23()) return true;
1287 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1291 final private boolean jj_3R_22() {
1298 if (jj_3R_41()) return true;
1299 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1300 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1301 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1305 final private boolean jj_3_3() {
1306 if (jj_3R_22()) return true;
1307 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1311 final private boolean jj_3R_24() {
1312 if (jj_scan_token(IDENTIFIER)) return true;
1313 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1317 if (jj_3_1()) { jj_scanpos = xsp; break; }
1318 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1323 final private boolean jj_3R_147() {
1324 if (jj_scan_token(BANG)) return true;
1325 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1329 final private boolean jj_3R_142() {
1330 if (jj_3R_149()) return true;
1331 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1335 final private boolean jj_3R_122() {
1336 if (jj_3R_24()) return true;
1337 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1341 final private boolean jj_3R_49() {
1342 if (jj_scan_token(DOUBLE)) return true;
1343 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1347 final private boolean jj_3R_141() {
1348 if (jj_3R_148()) return true;
1349 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1353 final private boolean jj_3R_48() {
1354 if (jj_scan_token(FLOAT)) return true;
1355 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1359 final private boolean jj_3R_146() {
1360 if (jj_scan_token(TILDE)) return true;
1361 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1365 final private boolean jj_3R_47() {
1366 if (jj_scan_token(LONG)) return true;
1367 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1371 final private boolean jj_3R_140() {
1376 if (jj_3R_147()) return true;
1377 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1378 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1379 if (jj_3R_115()) return true;
1380 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1384 final private boolean jj_3R_136() {
1391 if (jj_3R_142()) return true;
1392 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1393 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1394 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1398 final private boolean jj_3R_46() {
1399 if (jj_scan_token(INT)) return true;
1400 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1404 final private boolean jj_3R_145() {
1405 if (jj_scan_token(REM)) return true;
1406 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1410 final private boolean jj_3R_45() {
1411 if (jj_scan_token(SHORT)) return true;
1412 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1416 final private boolean jj_3R_44() {
1417 if (jj_scan_token(BYTE)) return true;
1418 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1422 final private boolean jj_3R_135() {
1423 if (jj_scan_token(DECR)) return true;
1424 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1425 if (jj_3R_20()) return true;
1426 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1430 final private boolean jj_3R_43() {
1431 if (jj_scan_token(CHAR)) return true;
1432 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1436 final private boolean jj_3R_23() {
1453 if (jj_3R_49()) return true;
1454 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1455 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1456 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1457 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1458 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1459 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1460 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1461 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1465 final private boolean jj_3R_42() {
1466 if (jj_scan_token(BOOLEAN)) return true;
1467 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1471 final private boolean jj_3_9() {
1472 if (jj_scan_token(LBRACKET)) return true;
1473 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1474 if (jj_scan_token(RBRACKET)) return true;
1475 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1479 final private boolean jj_3R_121() {
1480 if (jj_3R_23()) return true;
1481 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1485 final private boolean jj_3R_144() {
1486 if (jj_scan_token(SLASH)) return true;
1487 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1491 final private boolean jj_3R_134() {
1492 if (jj_scan_token(INCR)) return true;
1493 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1494 if (jj_3R_20()) return true;
1495 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1499 final private boolean jj_3R_114() {
1504 if (jj_3R_122()) return true;
1505 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1506 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1509 if (jj_3R_123()) { jj_scanpos = xsp; break; }
1510 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1515 final private boolean jj_3R_120() {
1516 if (jj_scan_token(GE)) return true;
1517 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1521 final private boolean jj_3R_133() {
1522 if (jj_scan_token(MINUS)) return true;
1523 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1527 final private boolean jj_3R_127() {
1528 if (jj_3R_136()) return true;
1529 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1533 final private boolean jj_3R_126() {
1534 if (jj_3R_135()) return true;
1535 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1539 final private boolean jj_3R_139() {
1540 if (jj_scan_token(MINUS)) return true;
1541 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1545 final private boolean jj_3R_125() {
1546 if (jj_3R_134()) return true;
1547 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1551 final private boolean jj_3R_132() {
1552 if (jj_scan_token(PLUS)) return true;
1553 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1557 final private boolean jj_3R_143() {
1558 if (jj_scan_token(STAR)) return true;
1559 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1563 final private boolean jj_3R_124() {
1568 if (jj_3R_133()) return true;
1569 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1570 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1571 if (jj_3R_115()) return true;
1572 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1576 final private boolean jj_3R_115() {
1585 if (jj_3R_127()) return true;
1586 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1587 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1588 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1589 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1593 final private boolean jj_3R_137() {
1600 if (jj_3R_145()) return true;
1601 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1602 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1603 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1604 if (jj_3R_115()) return true;
1605 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1609 final private boolean jj_3R_131() {
1610 if (jj_scan_token(RUNSIGNEDSHIFT)) return true;
1611 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1615 final private boolean jj_3R_119() {
1616 if (jj_scan_token(LE)) return true;
1617 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1621 final private boolean jj_3R_138() {
1622 if (jj_scan_token(PLUS)) return true;
1623 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1627 final private boolean jj_3R_112() {
1628 if (jj_3R_115()) return true;
1629 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1633 if (jj_3R_137()) { jj_scanpos = xsp; break; }
1634 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1639 final private boolean jj_3R_88() {
1640 if (jj_3R_86()) return true;
1641 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1645 final private boolean jj_3R_130() {
1646 if (jj_scan_token(RSIGNEDSHIFT)) return true;
1647 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1651 final private boolean jj_3R_128() {
1656 if (jj_3R_139()) return true;
1657 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1658 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1659 if (jj_3R_112()) return true;
1660 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1664 final private boolean jj_3R_87() {
1665 if (jj_3R_82()) return true;
1666 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1670 final private boolean jj_3R_118() {
1671 if (jj_scan_token(GT)) return true;
1672 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1676 final private boolean jj_3R_129() {
1677 if (jj_scan_token(LSHIFT)) return true;
1678 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1682 final private boolean jj_3R_116() {
1689 if (jj_3R_131()) return true;
1690 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1691 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1692 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1693 if (jj_3R_108()) return true;
1694 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1698 final private boolean jj_3R_108() {
1699 if (jj_3R_112()) return true;
1700 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1704 if (jj_3R_128()) { jj_scanpos = xsp; break; }
1705 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1710 final private boolean jj_3_8() {
1711 if (jj_scan_token(LBRACKET)) return true;
1712 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1713 if (jj_3R_25()) return true;
1714 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1715 if (jj_scan_token(RBRACKET)) return true;
1716 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1720 final private boolean jj_3R_86() {
1722 if (jj_3_8()) return true;
1723 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1726 if (jj_3_8()) { jj_scanpos = xsp; break; }
1727 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1731 if (jj_3_9()) { jj_scanpos = xsp; break; }
1732 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1737 final private boolean jj_3R_117() {
1738 if (jj_scan_token(LT)) return true;
1739 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1743 final private boolean jj_3R_106() {
1744 if (jj_3R_108()) return true;
1745 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1749 if (jj_3R_116()) { jj_scanpos = xsp; break; }
1750 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1755 final private boolean jj_3R_113() {
1764 if (jj_3R_120()) return true;
1765 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1766 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1767 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1768 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1769 if (jj_3R_106()) return true;
1770 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1774 final private boolean jj_3R_111() {
1775 if (jj_scan_token(NE)) return true;
1776 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1780 final private boolean jj_3R_109() {
1781 if (jj_scan_token(INSTANCEOF)) return true;
1782 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1783 if (jj_3R_114()) return true;
1784 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1788 final private boolean jj_3R_104() {
1789 if (jj_3R_106()) return true;
1790 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1794 if (jj_3R_113()) { jj_scanpos = xsp; break; }
1795 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1800 final private boolean jj_3R_81() {
1801 if (jj_scan_token(NEW)) return true;
1802 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1803 if (jj_3R_24()) return true;
1804 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1809 if (jj_3R_88()) return true;
1810 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1811 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1815 final private boolean jj_3_7() {
1816 if (jj_scan_token(NEW)) return true;
1817 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1818 if (jj_3R_23()) return true;
1819 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1820 if (jj_3R_86()) return true;
1821 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1825 final private boolean jj_3R_70() {
1830 if (jj_3R_81()) return true;
1831 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1832 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1836 final private boolean jj_3R_97() {
1837 if (jj_scan_token(COMMA)) return true;
1838 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1839 if (jj_3R_25()) return true;
1840 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1844 final private boolean jj_3R_39() {
1845 if (jj_scan_token(ORASSIGN)) return true;
1846 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1850 final private boolean jj_3R_110() {
1851 if (jj_scan_token(EQ)) return true;
1852 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1856 final private boolean jj_3R_102() {
1857 if (jj_3R_104()) return true;
1858 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1861 if (jj_3R_109()) jj_scanpos = xsp;
1862 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1866 final private boolean jj_3R_107() {
1871 if (jj_3R_111()) return true;
1872 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1873 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1874 if (jj_3R_102()) return true;
1875 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1879 final private boolean jj_3R_94() {
1880 if (jj_3R_25()) return true;
1881 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1885 if (jj_3R_97()) { jj_scanpos = xsp; break; }
1886 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1891 final private boolean jj_3R_89() {
1892 if (jj_3R_94()) return true;
1893 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1897 final private boolean jj_3R_38() {
1898 if (jj_scan_token(XORASSIGN)) return true;
1899 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1903 final private boolean jj_3R_82() {
1904 if (jj_scan_token(LPAREN)) return true;
1905 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1908 if (jj_3R_89()) jj_scanpos = xsp;
1909 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1910 if (jj_scan_token(RPAREN)) return true;
1911 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1915 final private boolean jj_3R_105() {
1916 if (jj_scan_token(BIT_AND)) return true;
1917 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1918 if (jj_3R_100()) return true;
1919 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1923 final private boolean jj_3R_100() {
1924 if (jj_3R_102()) return true;
1925 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1929 if (jj_3R_107()) { jj_scanpos = xsp; break; }
1930 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1935 final private boolean jj_3R_37() {
1936 if (jj_scan_token(ANDASSIGN)) return true;
1937 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1941 final private boolean jj_3R_85() {
1942 if (jj_scan_token(NULL)) return true;
1943 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1947 final private boolean jj_3R_103() {
1948 if (jj_scan_token(XOR)) return true;
1949 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1950 if (jj_3R_98()) return true;
1951 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1955 final private boolean jj_3R_98() {
1956 if (jj_3R_100()) return true;
1957 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1961 if (jj_3R_105()) { jj_scanpos = xsp; break; }
1962 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1967 final private boolean jj_3R_92() {
1968 if (jj_scan_token(FALSE)) return true;
1969 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1973 final private boolean jj_3R_36() {
1974 if (jj_scan_token(RUNSIGNEDSHIFTASSIGN)) return true;
1975 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1979 final private boolean jj_3R_91() {
1980 if (jj_scan_token(TRUE)) return true;
1981 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1985 final private boolean jj_3R_84() {
1990 if (jj_3R_92()) return true;
1991 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1992 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1996 final private boolean jj_3R_101() {
1997 if (jj_scan_token(BIT_OR)) return true;
1998 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
1999 if (jj_3R_95()) return true;
2000 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2004 final private boolean jj_3R_95() {
2005 if (jj_3R_98()) return true;
2006 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2010 if (jj_3R_103()) { jj_scanpos = xsp; break; }
2011 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2016 final private boolean jj_3R_35() {
2017 if (jj_scan_token(RSIGNEDSHIFTASSIGN)) return true;
2018 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2022 final private boolean jj_3R_80() {
2023 if (jj_3R_85()) return true;
2024 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2028 final private boolean jj_3R_66() {
2029 if (jj_3R_69()) return true;
2030 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2034 final private boolean jj_3R_79() {
2035 if (jj_3R_84()) return true;
2036 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2040 final private boolean jj_3R_78() {
2041 if (jj_scan_token(STRING_LITERAL)) return true;
2042 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2046 final private boolean jj_3R_99() {
2047 if (jj_scan_token(SC_AND)) return true;
2048 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2049 if (jj_3R_90()) return true;
2050 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2054 final private boolean jj_3R_90() {
2055 if (jj_3R_95()) return true;
2056 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2060 if (jj_3R_101()) { jj_scanpos = xsp; break; }
2061 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2066 final private boolean jj_3R_34() {
2067 if (jj_scan_token(LSHIFTASSIGN)) return true;
2068 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2072 final private boolean jj_3R_65() {
2073 if (jj_scan_token(NEW)) return true;
2074 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2078 final private boolean jj_3R_77() {
2079 if (jj_scan_token(CHARACTER_LITERAL)) return true;
2080 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2084 final private boolean jj_3R_76() {
2085 if (jj_scan_token(FLOATING_POINT_LITERAL)) return true;
2086 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2090 final private boolean jj_3R_33() {
2091 if (jj_scan_token(MINUSASSIGN)) return true;
2092 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2096 final private boolean jj_3R_69() {
2109 if (jj_3R_80()) return true;
2110 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2111 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2112 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2113 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2114 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2115 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2119 final private boolean jj_3R_75() {
2120 if (jj_scan_token(INTEGER_LITERAL)) return true;
2121 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2125 final private boolean jj_3R_96() {
2126 if (jj_scan_token(SC_OR)) return true;
2127 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2128 if (jj_3R_83()) return true;
2129 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2133 final private boolean jj_3R_83() {
2134 if (jj_3R_90()) return true;
2135 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2139 if (jj_3R_99()) { jj_scanpos = xsp; break; }
2140 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2145 final private boolean jj_3R_64() {
2146 if (jj_scan_token(SUPER)) return true;
2147 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2151 final private boolean jj_3R_32() {
2152 if (jj_scan_token(PLUSASSIGN)) return true;
2153 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2157 final private boolean jj_3R_73() {
2158 if (jj_3R_82()) return true;
2159 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2163 final private boolean jj_3R_72() {
2164 if (jj_scan_token(DOT)) return true;
2165 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2166 if (jj_scan_token(IDENTIFIER)) return true;
2167 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2171 final private boolean jj_3R_74() {
2172 if (jj_3R_83()) return true;
2173 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2177 if (jj_3R_96()) { jj_scanpos = xsp; break; }
2178 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2183 final private boolean jj_3R_63() {
2184 if (jj_scan_token(THIS)) return true;
2185 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2189 final private boolean jj_3R_31() {
2190 if (jj_scan_token(REMASSIGN)) return true;
2191 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2195 final private boolean jj_3R_58() {
2202 if (jj_3R_73()) return true;
2203 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2204 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2205 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2209 final private boolean jj_3R_71() {
2210 if (jj_scan_token(LBRACKET)) return true;
2211 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2212 if (jj_3R_25()) return true;
2213 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2214 if (jj_scan_token(RBRACKET)) return true;
2215 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2219 final private boolean jj_3R_93() {
2220 if (jj_scan_token(HOOK)) return true;
2221 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2222 if (jj_3R_25()) return true;
2223 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2224 if (jj_scan_token(COLON)) return true;
2225 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2226 if (jj_3R_68()) return true;
2227 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2231 final private boolean jj_3R_57() {
2232 if (jj_3R_70()) return true;
2233 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2237 final private boolean jj_3R_30() {
2238 if (jj_scan_token(SLASHASSIGN)) return true;
2239 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2243 final private boolean jj_3R_27() {
2244 if (jj_3R_58()) return true;
2245 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2249 final private boolean jj_3R_56() {
2250 if (jj_scan_token(LPAREN)) return true;
2251 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2252 if (jj_3R_25()) return true;
2253 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2254 if (jj_scan_token(RPAREN)) return true;
2255 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2259 final private boolean jj_3R_152() {
2260 if (jj_scan_token(LBRACKET)) return true;
2261 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2262 if (jj_scan_token(RBRACKET)) return true;
2263 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2267 final private boolean jj_3R_55() {
2268 if (jj_scan_token(SUPER)) return true;
2269 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2270 if (jj_scan_token(DOT)) return true;
2271 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2272 if (jj_scan_token(IDENTIFIER)) return true;
2273 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2277 final private boolean jj_3R_29() {
2278 if (jj_scan_token(STARASSIGN)) return true;
2279 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2283 final private boolean jj_3R_68() {
2284 if (jj_3R_74()) return true;
2285 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2288 if (jj_3R_93()) jj_scanpos = xsp;
2289 else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2293 final private boolean jj_3R_54() {
2294 if (jj_scan_token(THIS)) return true;
2295 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2299 final private boolean jj_3R_62() {
2300 if (jj_scan_token(IDENTIFIER)) return true;
2301 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2305 final private boolean jj_3R_53() {
2306 if (jj_3R_24()) return true;
2307 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2311 final private boolean jj_3R_153() {
2312 if (jj_scan_token(LBRACKET)) return true;
2313 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2314 if (jj_scan_token(RBRACKET)) return true;
2315 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2319 final private boolean jj_3R_26() {
2332 if (jj_3R_57()) return true;
2333 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2334 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2335 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2336 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2337 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2338 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2342 final private boolean jj_3R_52() {
2343 if (jj_3R_69()) return true;
2344 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2348 final private boolean jj_3R_21() {
2373 if (jj_3R_39()) return true;
2374 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2375 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2376 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2377 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2378 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2379 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2380 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2381 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2382 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2383 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2384 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2385 } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2389 final private boolean jj_3R_28() {
2390 if (jj_scan_token(ASSIGN)) return true;
2391 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2395 final private boolean jj_3R_61() {
2396 if (jj_scan_token(LPAREN)) return true;
2397 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2401 final private boolean jj_3_2() {
2402 if (jj_3R_20()) return true;
2403 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2404 if (jj_3R_21()) return true;
2405 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2409 final private boolean jj_3R_20() {
2410 if (jj_3R_26()) return true;
2411 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2415 if (jj_3R_27()) { jj_scanpos = xsp; break; }
2416 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2421 final private boolean jj_3R_60() {
2422 if (jj_scan_token(BANG)) return true;
2423 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2427 final private boolean jj_3R_155() {
2428 if (jj_scan_token(DECR)) return true;
2429 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2433 final private boolean jj_3R_67() {
2434 if (jj_3R_20()) return true;
2435 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2436 if (jj_3R_21()) return true;
2437 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2438 if (jj_3R_25()) return true;
2439 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2443 final private boolean jj_3R_150() {
2444 if (jj_scan_token(LPAREN)) return true;
2445 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2446 if (jj_3R_24()) return true;
2447 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2451 if (jj_3R_153()) { jj_scanpos = xsp; break; }
2452 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2454 if (jj_scan_token(RPAREN)) return true;
2455 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2456 if (jj_3R_136()) return true;
2457 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2461 final private boolean jj_3R_59() {
2462 if (jj_scan_token(TILDE)) return true;
2463 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2467 final private boolean jj_3R_51() {
2468 if (jj_3R_68()) return true;
2469 if (jj_la == 0 && jj_scanpos == jj_lastpos) return false;
2473 public ExpressionParserTokenManager token_source;
2474 ASCII_UCodeESC_CharStream jj_input_stream;
2475 public Token token, jj_nt;
2477 private Token jj_scanpos, jj_lastpos;
2479 public boolean lookingAhead = false;
2480 private boolean jj_semLA;
2482 final private int[] jj_la1 = new int[44];
2483 final private int[] jj_la1_0 = {0x8209400,0x0,0x8209400,0x0,0x1000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1000000,0x0,0x0,0x1000000,0x1000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1000000,0x0,0x1000000,0x1000000,0x1000000,0x0,0x0,0x0,};
2484 final private int[] jj_la1_1 = {0x2014,0x0,0x2014,0x0,0x884480c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x884480c0,0x0,0x0,0x884480c0,0x884480c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x884480c0,0x0,0x88400080,0x400000,0x884480c0,0x0,0x0,0x40,};
2485 final private int[] jj_la1_2 = {0x8,0x400,0x0,0x2000,0xf00c004e,0x8000,0x100000,0x4000000,0x8000000,0x0,0x0,0x0,0x2400000,0x2400000,0x0,0x1830000,0x1830000,0x0,0x0,0xc0000000,0xc0000000,0x0,0x0,0xc0000000,0xf00c004e,0xc0000,0xc0000,0x4e,0xc004e,0x40,0x30000000,0x30000000,0x400,0x400,0x40,0x4440,0x4e,0x4440,0x6,0x0,0xf00c004e,0x2000,0x440,0x0,};
2486 final private int[] jj_la1_3 = {0x0,0x0,0x0,0x0,0x0,0xffe00,0x0,0x0,0x0,0x8,0x10,0x4,0x0,0x0,0x0,0x0,0x0,0x1c0,0x1c0,0x0,0x0,0x23,0x23,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,};
2487 final private JJExpressionParserCalls[] jj_2_rtns = new JJExpressionParserCalls[9];
2488 private boolean jj_rescan = false;
2489 private int jj_gc = 0;
2491 public ExpressionParser(java.io.InputStream stream) {
2492 jj_input_stream = new ASCII_UCodeESC_CharStream(stream, 1, 1);
2493 token_source = new ExpressionParserTokenManager(jj_input_stream);
2494 token = new Token();
2497 for (int i = 0; i < 44; i++) jj_la1[i] = -1;
2498 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJExpressionParserCalls();
2501 public void ReInit(java.io.InputStream stream) {
2502 jj_input_stream.ReInit(stream, 1, 1);
2503 token_source.ReInit(jj_input_stream);
2504 token = new Token();
2507 for (int i = 0; i < 44; i++) jj_la1[i] = -1;
2508 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJExpressionParserCalls();
2511 public ExpressionParser(ExpressionParserTokenManager tm) {
2513 token = new Token();
2516 for (int i = 0; i < 44; i++) jj_la1[i] = -1;
2517 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJExpressionParserCalls();
2520 public void ReInit(ExpressionParserTokenManager tm) {
2522 token = new Token();
2525 for (int i = 0; i < 44; i++) jj_la1[i] = -1;
2526 for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJExpressionParserCalls();
2529 final private Token jj_consume_token(int kind) throws ParseException {
2531 if ((oldToken = token).next != null) token = token.next;
2532 else token = token.next = token_source.getNextToken();
2534 if (token.kind == kind) {
2536 if (++jj_gc > 100) {
2538 for (int i = 0; i < jj_2_rtns.length; i++) {
2539 JJExpressionParserCalls c = jj_2_rtns[i];
2541 if (c.gen < jj_gen) c.first = null;
2550 throw generateParseException();
2553 final private boolean jj_scan_token(int kind) {
2554 if (jj_scanpos == jj_lastpos) {
2556 if (jj_scanpos.next == null) {
2557 jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
2559 jj_lastpos = jj_scanpos = jj_scanpos.next;
2562 jj_scanpos = jj_scanpos.next;
2565 int i = 0; Token tok = token;
2566 while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; }
2567 if (tok != null) jj_add_error_token(kind, i);
2569 return (jj_scanpos.kind != kind);
2572 final public Token getNextToken() {
2573 if (token.next != null) token = token.next;
2574 else token = token.next = token_source.getNextToken();
2580 final public Token getToken(int index) {
2581 Token t = lookingAhead ? jj_scanpos : token;
2582 for (int i = 0; i < index; i++) {
2583 if (t.next != null) t = t.next;
2584 else t = t.next = token_source.getNextToken();
2589 final private int jj_ntk() {
2590 if ((jj_nt=token.next) == null)
2591 return (jj_ntk = (token.next=token_source.getNextToken()).kind);
2593 return (jj_ntk = jj_nt.kind);
2596 private java.util.Vector jj_expentries = new java.util.Vector();
2597 private int[] jj_expentry;
2598 private int jj_kind = -1;
2599 private int[] jj_lasttokens = new int[100];
2600 private int jj_endpos;
2602 private void jj_add_error_token(int kind, int pos) {
2603 if (pos >= 100) return;
2604 if (pos == jj_endpos + 1) {
2605 jj_lasttokens[jj_endpos++] = kind;
2606 } else if (jj_endpos != 0) {
2607 jj_expentry = new int[jj_endpos];
2608 for (int i = 0; i < jj_endpos; i++) {
2609 jj_expentry[i] = jj_lasttokens[i];
2611 boolean exists = false;
2612 for (java.util.Enumeration enum = jj_expentries.elements(); enum.hasMoreElements();) {
2613 int[] oldentry = (int[])(enum.nextElement());
2614 if (oldentry.length == jj_expentry.length) {
2616 for (int i = 0; i < jj_expentry.length; i++) {
2617 if (oldentry[i] != jj_expentry[i]) {
2625 if (!exists) jj_expentries.addElement(jj_expentry);
2626 if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind;
2630 final public ParseException generateParseException() {
2631 jj_expentries.removeAllElements();
2632 boolean[] la1tokens = new boolean[116];
2633 for (int i = 0; i < 116; i++) {
2634 la1tokens[i] = false;
2637 la1tokens[jj_kind] = true;
2640 for (int i = 0; i < 44; i++) {
2641 if (jj_la1[i] == jj_gen) {
2642 for (int j = 0; j < 32; j++) {
2643 if ((jj_la1_0[i] & (1<<j)) != 0) {
2644 la1tokens[j] = true;
2646 if ((jj_la1_1[i] & (1<<j)) != 0) {
2647 la1tokens[32+j] = true;
2649 if ((jj_la1_2[i] & (1<<j)) != 0) {
2650 la1tokens[64+j] = true;
2652 if ((jj_la1_3[i] & (1<<j)) != 0) {
2653 la1tokens[96+j] = true;
2658 for (int i = 0; i < 116; i++) {
2660 jj_expentry = new int[1];
2662 jj_expentries.addElement(jj_expentry);
2667 jj_add_error_token(0, 0);
2668 int[][] exptokseq = new int[jj_expentries.size()][];
2669 for (int i = 0; i < jj_expentries.size(); i++) {
2670 exptokseq[i] = (int[])jj_expentries.elementAt(i);
2672 return new ParseException(token, exptokseq, tokenImage);
2675 final public void enable_tracing() {
2678 final public void disable_tracing() {
2681 final private void jj_rescan_token() {
2683 for (int i = 0; i < 9; i++) {
2684 JJExpressionParserCalls p = jj_2_rtns[i];
2686 if (p.gen > jj_gen) {
2687 jj_la = p.arg; jj_lastpos = jj_scanpos = p.first;
2689 case 0: jj_3_1(); break;
2690 case 1: jj_3_2(); break;
2691 case 2: jj_3_3(); break;
2692 case 3: jj_3_4(); break;
2693 case 4: jj_3_5(); break;
2694 case 5: jj_3_6(); break;
2695 case 6: jj_3_7(); break;
2696 case 7: jj_3_8(); break;
2697 case 8: jj_3_9(); break;
2701 } while (p != null);
2706 final private void jj_save(int index, int xla) {
2707 JJExpressionParserCalls p = jj_2_rtns[index];
2708 while (p.gen > jj_gen) {
2709 if (p.next == null) { p = p.next = new JJExpressionParserCalls(); break; }
2712 p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla;
2717 final class JJExpressionParserCalls {
2721 JJExpressionParserCalls next;