From: kpouer Date: Sun, 2 Mar 2003 22:03:45 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: http://secure.phpeclipse.com *** empty log message *** --- diff --git a/net.sourceforge.phpeclipse/src/test/PHPParser.java b/net.sourceforge.phpeclipse/src/test/PHPParser.java index cdb51d8..52c4d3d 100644 --- a/net.sourceforge.phpeclipse/src/test/PHPParser.java +++ b/net.sourceforge.phpeclipse/src/test/PHPParser.java @@ -299,6 +299,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: ; break; @@ -440,7 +441,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants } } - static final public void VariableName() throws ParseException { + static final public String VariableName() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LBRACE: jj_consume_token(LBRACE); @@ -517,6 +518,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: ArrayVariable(); label_9: @@ -655,9 +657,6 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants } } -/* - * Expression syntax follows. - */ static final public void Expression() throws ParseException { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PRINT: @@ -680,6 +679,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: ConditionalExpression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { @@ -1101,6 +1101,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case LPAREN: case DOLLAR: case BANG: + case BIT_AND: case DOLLAR_ID: UnaryExpressionNotPlusMinus(); break; @@ -1137,6 +1138,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case NEW: case IDENTIFIER: case DOLLAR: + case BIT_AND: case DOLLAR_ID: PostfixExpression(); break; @@ -1217,6 +1219,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case NEW: case IDENTIFIER: case DOLLAR: + case BIT_AND: case DOLLAR_ID: PrimaryPrefix(); label_23: @@ -1252,6 +1255,15 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(IDENTIFIER); break; case NEW: + case BIT_AND: + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case BIT_AND: + jj_consume_token(BIT_AND); + break; + default: + jj_la1[50] = jj_gen; + ; + } jj_consume_token(NEW); ClassIdentifier(); break; @@ -1260,7 +1272,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants VariableDeclaratorId(); break; default: - jj_la1[50] = jj_gen; + jj_la1[51] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1276,7 +1288,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants VariableDeclaratorId(); break; default: - jj_la1[51] = jj_gen; + jj_la1[52] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1292,7 +1304,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants VariableSuffix(); break; default: - jj_la1[52] = jj_gen; + jj_la1[53] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1325,17 +1337,18 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: Expression(); break; default: - jj_la1[53] = jj_gen; + jj_la1[54] = jj_gen; ; } jj_consume_token(RBRACKET); break; default: - jj_la1[54] = jj_gen; + jj_la1[55] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1350,7 +1363,13 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(FLOATING_POINT_LITERAL); break; case STRING_LITERAL: - jj_consume_token(STRING_LITERAL); + try { + jj_consume_token(STRING_LITERAL); + } catch (TokenMgrError e) { + errorMessage = "unterminated string"; + errorLevel = ERROR; + {if (true) throw generateParseException();} + } break; case FALSE: case TRUE: @@ -1360,7 +1379,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants NullLiteral(); break; default: - jj_la1[55] = jj_gen; + jj_la1[56] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1375,7 +1394,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(FALSE); break; default: - jj_la1[56] = jj_gen; + jj_la1[57] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1406,11 +1425,12 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: ArgumentList(); break; default: - jj_la1[57] = jj_gen; + jj_la1[58] = jj_gen; ; } try { @@ -1431,7 +1451,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants ; break; default: - jj_la1[58] = jj_gen; + jj_la1[59] = jj_gen; break label_24; } jj_consume_token(COMMA); @@ -1459,7 +1479,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[59] = jj_gen; + jj_la1[60] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1479,6 +1499,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DOLLAR: case INCR: case DECR: + case BIT_AND: case DOLLAR_ID: StatementExpression(); try { @@ -1529,7 +1550,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants GlobalStatement(); break; default: - jj_la1[60] = jj_gen; + jj_la1[61] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1549,7 +1570,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[61] = jj_gen; + jj_la1[62] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1565,7 +1586,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[62] = jj_gen; + jj_la1[63] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1581,7 +1602,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[63] = jj_gen; + jj_la1[64] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1597,13 +1618,13 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[64] = jj_gen; + jj_la1[65] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: - jj_la1[65] = jj_gen; + jj_la1[66] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1624,7 +1645,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants ; break; default: - jj_la1[66] = jj_gen; + jj_la1[67] = jj_gen; break label_25; } jj_consume_token(COMMA); @@ -1639,7 +1660,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[67] = jj_gen; + jj_la1[68] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1660,7 +1681,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants ; break; default: - jj_la1[68] = jj_gen; + jj_la1[69] = jj_gen; break label_26; } jj_consume_token(COMMA); @@ -1674,7 +1695,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[69] = jj_gen; + jj_la1[70] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1690,7 +1711,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants ; break; default: - jj_la1[70] = jj_gen; + jj_la1[71] = jj_gen; break label_27; } jj_consume_token(COMMA); @@ -1704,7 +1725,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[71] = jj_gen; + jj_la1[72] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1758,11 +1779,12 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: ; break; default: - jj_la1[72] = jj_gen; + jj_la1[73] = jj_gen; break label_28; } BlockStatement(); @@ -1807,6 +1829,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: Statement(); break; @@ -1817,7 +1840,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants MethodDeclaration(); break; default: - jj_la1[73] = jj_gen; + jj_la1[74] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1832,7 +1855,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants ; break; default: - jj_la1[74] = jj_gen; + jj_la1[75] = jj_gen; break label_29; } jj_consume_token(COMMA); @@ -1856,6 +1879,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case NEW: case IDENTIFIER: case DOLLAR: + case BIT_AND: case DOLLAR_ID: PrimaryExpression(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { @@ -1898,18 +1922,18 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants Expression(); break; default: - jj_la1[75] = jj_gen; + jj_la1[76] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: - jj_la1[76] = jj_gen; + jj_la1[77] = jj_gen; ; } break; default: - jj_la1[77] = jj_gen; + jj_la1[78] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -1929,7 +1953,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants ; break; default: - jj_la1[78] = jj_gen; + jj_la1[79] = jj_gen; break label_30; } SwitchLabel(); @@ -1973,11 +1997,12 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: ; break; default: - jj_la1[79] = jj_gen; + jj_la1[80] = jj_gen; break label_31; } BlockStatement(); @@ -1998,7 +2023,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(COLON); break; default: - jj_la1[80] = jj_gen; + jj_la1[81] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -2008,13 +2033,17 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(IF); Condition("if"); Statement(); - switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { - case ELSEIF: + label_32: + while (true) { + switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { + case ELSEIF: + ; + break; + default: + jj_la1[82] = jj_gen; + break label_32; + } ElseIfStatement(); - break; - default: - jj_la1[81] = jj_gen; - ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ELSE: @@ -2022,7 +2051,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants Statement(); break; default: - jj_la1[82] = jj_gen; + jj_la1[83] = jj_gen; ; } } @@ -2061,7 +2090,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COLON: jj_consume_token(COLON); - label_32: + label_33: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IF: @@ -2099,12 +2128,13 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: ; break; default: - jj_la1[83] = jj_gen; - break label_32; + jj_la1[84] = jj_gen; + break label_33; } Statement(); } @@ -2117,7 +2147,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[84] = jj_gen; + jj_la1[85] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -2157,11 +2187,12 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: Statement(); break; default: - jj_la1[85] = jj_gen; + jj_la1[86] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -2180,7 +2211,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(127); break; default: - jj_la1[86] = jj_gen; + jj_la1[87] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -2196,11 +2227,12 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DOLLAR: case INCR: case DECR: + case BIT_AND: case DOLLAR_ID: ForInit(); break; default: - jj_la1[87] = jj_gen; + jj_la1[88] = jj_gen; ; } jj_consume_token(SEMICOLON); @@ -2223,11 +2255,12 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: Expression(); break; default: - jj_la1[88] = jj_gen; + jj_la1[89] = jj_gen; ; } jj_consume_token(SEMICOLON); @@ -2238,11 +2271,12 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DOLLAR: case INCR: case DECR: + case BIT_AND: case DOLLAR_ID: ForUpdate(); break; default: - jj_la1[89] = jj_gen; + jj_la1[90] = jj_gen; ; } jj_consume_token(RPAREN); @@ -2260,11 +2294,12 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DOLLAR: case INCR: case DECR: + case BIT_AND: case DOLLAR_ID: StatementExpressionList(); break; default: - jj_la1[90] = jj_gen; + jj_la1[91] = jj_gen; jj_consume_token(-1); throw new ParseException(); } @@ -2273,15 +2308,15 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants static final public void StatementExpressionList() throws ParseException { StatementExpression(); - label_33: + label_34: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case COMMA: ; break; default: - jj_la1[91] = jj_gen; - break label_33; + jj_la1[92] = jj_gen; + break label_34; } jj_consume_token(COMMA); StatementExpression(); @@ -2299,7 +2334,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(IDENTIFIER); break; default: - jj_la1[92] = jj_gen; + jj_la1[93] = jj_gen; ; } jj_consume_token(SEMICOLON); @@ -2312,7 +2347,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_consume_token(IDENTIFIER); break; default: - jj_la1[93] = jj_gen; + jj_la1[94] = jj_gen; ; } jj_consume_token(SEMICOLON); @@ -2339,11 +2374,12 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants case DECR: case PLUS: case MINUS: + case BIT_AND: case DOLLAR_ID: Expression(); break; default: - jj_la1[94] = jj_gen; + jj_la1[95] = jj_gen; ; } jj_consume_token(SEMICOLON); @@ -2398,87 +2434,165 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants return retval; } - static final private boolean jj_3R_93() { + static final private boolean jj_3R_91() { + if (jj_scan_token(SC_OR)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_77() { + if (jj_scan_token(REMASSIGN)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_101() { + if (jj_3R_103()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_104()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_73() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_91()) { + jj_scanpos = xsp; + if (jj_3R_92()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_72()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_96() { + if (jj_scan_token(SC_AND)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_90() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_96()) { + jj_scanpos = xsp; if (jj_3R_97()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_89()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_98() { + if (jj_3R_101()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_98()) { jj_scanpos = xsp; break; } + if (jj_3R_102()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_75() { + static final private boolean jj_3R_68() { + if (jj_scan_token(HOOK)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_38()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_scan_token(COLON)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_60()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_94() { + if (jj_3R_98()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_99()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } + return false; + } + + static final private boolean jj_3R_76() { if (jj_scan_token(SLASHASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_88() { - if (jj_3R_93()) return true; + static final private boolean jj_3R_89() { + if (jj_3R_94()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_94()) { jj_scanpos = xsp; break; } + if (jj_3R_95()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_71() { - if (jj_3R_88()) return true; + static final private boolean jj_3R_72() { + if (jj_3R_89()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_89()) { jj_scanpos = xsp; break; } + if (jj_3R_90()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_66() { - if (jj_3R_71()) return true; + static final private boolean jj_3R_67() { + if (jj_3R_72()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_72()) { jj_scanpos = xsp; break; } + if (jj_3R_73()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_74() { + static final private boolean jj_3R_75() { if (jj_scan_token(STARASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_59() { - if (jj_3R_66()) return true; + static final private boolean jj_3R_60() { + if (jj_3R_67()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_67()) jj_scanpos = xsp; + if (jj_3R_68()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_73() { + static final private boolean jj_3R_74() { if (jj_scan_token(ASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_68() { + static final private boolean jj_3R_69() { Token xsp; xsp = jj_scanpos; - if (jj_3R_73()) { - jj_scanpos = xsp; if (jj_3R_74()) { jj_scanpos = xsp; if (jj_3R_75()) { @@ -2501,7 +2615,9 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_scanpos = xsp; if (jj_3R_84()) { jj_scanpos = xsp; - if (jj_3R_85()) return true; + if (jj_3R_85()) { + jj_scanpos = xsp; + if (jj_3R_86()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -2518,108 +2634,106 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants return false; } - static final private boolean jj_3R_60() { - if (jj_3R_68()) return true; + static final private boolean jj_3R_61() { + if (jj_3R_69()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_37()) return true; + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_53() { - if (jj_3R_59()) return true; + static final private boolean jj_3R_56() { + if (jj_scan_token(COMMA)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + if (jj_3R_55()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_54() { + if (jj_3R_60()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_60()) jj_scanpos = xsp; + if (jj_3R_61()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_37() { + static final private boolean jj_3R_38() { Token xsp; xsp = jj_scanpos; - if (jj_3R_52()) { + if (jj_3R_53()) { jj_scanpos = xsp; - if (jj_3R_53()) return true; + if (jj_3R_54()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_52() { - if (jj_3R_58()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_55() { - if (jj_scan_token(COMMA)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_54()) return true; + static final private boolean jj_3R_53() { + if (jj_3R_59()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_51() { + static final private boolean jj_3R_52() { if (jj_scan_token(INTEGER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_50() { + static final private boolean jj_3R_51() { if (jj_scan_token(INT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_49() { + static final private boolean jj_3R_50() { if (jj_scan_token(FLOAT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_41() { - if (jj_3R_54()) return true; + static final private boolean jj_3R_49() { + if (jj_scan_token(DOUBLE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_55()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } return false; } static final private boolean jj_3R_48() { - if (jj_scan_token(DOUBLE)) return true; + if (jj_scan_token(REAL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } static final private boolean jj_3R_47() { - if (jj_scan_token(REAL)) return true; + if (jj_scan_token(BOOLEAN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } static final private boolean jj_3R_46() { - if (jj_scan_token(BOOLEAN)) return true; + if (jj_scan_token(BOOL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_45() { - if (jj_scan_token(BOOL)) return true; + static final private boolean jj_3R_42() { + if (jj_3R_55()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + Token xsp; + while (true) { + xsp = jj_scanpos; + if (jj_3R_56()) { jj_scanpos = xsp; break; } + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } return false; } - static final private boolean jj_3R_36() { + static final private boolean jj_3R_37() { Token xsp; xsp = jj_scanpos; - if (jj_3R_44()) { - jj_scanpos = xsp; if (jj_3R_45()) { jj_scanpos = xsp; if (jj_3R_46()) { @@ -2632,7 +2746,9 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants jj_scanpos = xsp; if (jj_3R_50()) { jj_scanpos = xsp; - if (jj_3R_51()) return true; + if (jj_3R_51()) { + jj_scanpos = xsp; + if (jj_3R_52()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -2644,13 +2760,13 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants return false; } - static final private boolean jj_3R_44() { + static final private boolean jj_3R_45() { if (jj_scan_token(STRING)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_40() { + static final private boolean jj_3R_41() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(COLON)) return true; @@ -2661,13 +2777,13 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants static final private boolean jj_3_2() { if (jj_scan_token(COMMA)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_35()) return true; + if (jj_3R_36()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_175() { - if (jj_3R_35()) return true; + static final private boolean jj_3R_177() { + if (jj_3R_36()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { @@ -2678,124 +2794,118 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants return false; } - static final private boolean jj_3R_58() { - if (jj_scan_token(PRINT)) return true; + static final private boolean jj_3R_178() { + if (jj_scan_token(ARRAYASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_37()) return true; + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_176() { - if (jj_scan_token(ARRAYASSIGN)) return true; + static final private boolean jj_3R_59() { + if (jj_scan_token(PRINT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_37()) return true; + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_164() { + static final private boolean jj_3R_166() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_175()) jj_scanpos = xsp; + if (jj_3R_177()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_35() { - if (jj_3R_37()) return true; + static final private boolean jj_3R_36() { + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_176()) { jj_scanpos = xsp; break; } + if (jj_3R_178()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_99() { + static final private boolean jj_3R_100() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_37()) return true; + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_70() { - if (jj_3R_37()) return true; + static final private boolean jj_3R_71() { + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_92() { + static final private boolean jj_3R_93() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_37()) return true; + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_62() { + static final private boolean jj_3R_63() { if (jj_scan_token(ASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_70()) return true; + if (jj_3R_71()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_65() { + static final private boolean jj_3R_66() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_56()) return true; + if (jj_3R_57()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_39() { - if (jj_scan_token(127)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_64() { + static final private boolean jj_3R_65() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_99()) { jj_scanpos = xsp; break; } + if (jj_3R_100()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_63() { + static final private boolean jj_3R_64() { if (jj_scan_token(LBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_37()) return true; + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RBRACE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_56() { + static final private boolean jj_3R_57() { Token xsp; xsp = jj_scanpos; - if (jj_3R_63()) { - jj_scanpos = xsp; if (jj_3R_64()) { jj_scanpos = xsp; - if (jj_3R_65()) return true; + if (jj_3R_65()) { + jj_scanpos = xsp; + if (jj_3R_66()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -2803,50 +2913,50 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants } static final private boolean jj_3_1() { - if (jj_3R_34()) return true; + if (jj_3R_35()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_87() { + static final private boolean jj_3R_40() { + if (jj_scan_token(127)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_88() { if (jj_scan_token(DOLLAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_56()) return true; + if (jj_3R_57()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_86() { + static final private boolean jj_3R_87() { if (jj_scan_token(DOLLAR_ID)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_92()) { jj_scanpos = xsp; break; } + if (jj_3R_93()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_69() { + static final private boolean jj_3R_70() { Token xsp; xsp = jj_scanpos; - if (jj_3R_86()) { + if (jj_3R_87()) { jj_scanpos = xsp; - if (jj_3R_87()) return true; + if (jj_3R_88()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_38() { - if (jj_scan_token(SEMICOLON)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_61() { - if (jj_3R_69()) return true; + static final private boolean jj_3R_62() { + if (jj_3R_70()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { @@ -2857,110 +2967,116 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants return false; } - static final private boolean jj_3R_54() { - if (jj_3R_61()) return true; + static final private boolean jj_3R_39() { + if (jj_scan_token(SEMICOLON)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_55() { + if (jj_3R_62()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_62()) jj_scanpos = xsp; + if (jj_3R_63()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } static final private boolean jj_3_6() { - if (jj_3R_40()) return true; + if (jj_3R_41()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } static final private boolean jj_3_5() { - if (jj_3R_37()) return true; + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_38()) { + if (jj_3R_39()) { jj_scanpos = xsp; - if (jj_3R_39()) return true; + if (jj_3R_40()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_179() { + static final private boolean jj_3R_181() { if (jj_scan_token(COMMA)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_37()) return true; + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_178() { - if (jj_3R_37()) return true; + static final private boolean jj_3R_180() { + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_179()) { jj_scanpos = xsp; break; } + if (jj_3R_181()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_177() { - if (jj_3R_178()) return true; + static final private boolean jj_3R_179() { + if (jj_3R_180()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_174() { + static final private boolean jj_3R_176() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_177()) jj_scanpos = xsp; + if (jj_3R_179()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_162() { + static final private boolean jj_3R_163() { if (jj_scan_token(NULL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_85() { - if (jj_scan_token(DOTASSIGN)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_166() { + static final private boolean jj_3R_168() { if (jj_scan_token(FALSE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_161() { + static final private boolean jj_3R_162() { Token xsp; xsp = jj_scanpos; - if (jj_3R_165()) { + if (jj_3R_167()) { jj_scanpos = xsp; - if (jj_3R_166()) return true; + if (jj_3R_168()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_165() { + static final private boolean jj_3R_167() { if (jj_scan_token(TRUE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_171() { - if (jj_3R_167()) return true; + static final private boolean jj_3R_86() { + if (jj_scan_token(DOTASSIGN)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_156() { + if (jj_3R_163()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } @@ -2971,48 +3087,48 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants return false; } - static final private boolean jj_3R_57() { - if (jj_3R_37()) return true; + static final private boolean jj_3R_173() { + if (jj_3R_169()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_154() { - if (jj_3R_161()) return true; + static final private boolean jj_3R_58() { + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_84() { + static final private boolean jj_3R_85() { if (jj_scan_token(ORASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_153() { + static final private boolean jj_3R_154() { if (jj_scan_token(STRING_LITERAL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_152() { + static final private boolean jj_3R_153() { if (jj_scan_token(FLOATING_POINT_LITERAL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_148() { + static final private boolean jj_3R_149() { Token xsp; xsp = jj_scanpos; - if (jj_3R_151()) { - jj_scanpos = xsp; if (jj_3R_152()) { jj_scanpos = xsp; if (jj_3R_153()) { jj_scanpos = xsp; if (jj_3R_154()) { jj_scanpos = xsp; - if (jj_3R_155()) return true; + if (jj_3R_155()) { + jj_scanpos = xsp; + if (jj_3R_156()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -3021,179 +3137,189 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants return false; } - static final private boolean jj_3R_151() { + static final private boolean jj_3R_152() { if (jj_scan_token(INTEGER_LITERAL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_43() { + static final private boolean jj_3R_44() { if (jj_scan_token(LBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_57()) jj_scanpos = xsp; + if (jj_3R_58()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RBRACKET)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_42() { + static final private boolean jj_3R_43() { if (jj_scan_token(CLASSACCESS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_56()) return true; + if (jj_3R_57()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_34() { + static final private boolean jj_3R_35() { Token xsp; xsp = jj_scanpos; - if (jj_3R_42()) { + if (jj_3R_43()) { jj_scanpos = xsp; - if (jj_3R_43()) return true; + if (jj_3R_44()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_83() { + static final private boolean jj_3R_84() { if (jj_scan_token(XORASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_170() { - if (jj_3R_34()) return true; + static final private boolean jj_3R_172() { + if (jj_3R_35()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_167() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_169()) { - jj_scanpos = xsp; - if (jj_3R_170()) return true; + static final private boolean jj_3R_171() { + if (jj_3R_176()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } static final private boolean jj_3R_169() { - if (jj_3R_174()) return true; + Token xsp; + xsp = jj_scanpos; + if (jj_3R_171()) { + jj_scanpos = xsp; + if (jj_3R_172()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_160() { + static final private boolean jj_3R_161() { if (jj_scan_token(DECR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_173() { - if (jj_3R_61()) return true; + static final private boolean jj_3R_175() { + if (jj_3R_62()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_172() { + static final private boolean jj_3R_174() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_82() { + static final private boolean jj_3R_83() { if (jj_scan_token(ANDASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_163() { - if (jj_3R_167()) return true; + static final private boolean jj_3R_165() { + if (jj_3R_169()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_168() { + static final private boolean jj_3R_170() { Token xsp; xsp = jj_scanpos; - if (jj_3R_172()) { + if (jj_3R_174()) { jj_scanpos = xsp; - if (jj_3R_173()) return true; + if (jj_3R_175()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_150() { + static final private boolean jj_3R_151() { Token xsp; xsp = jj_scanpos; - if (jj_3R_159()) { + if (jj_3R_160()) { jj_scanpos = xsp; - if (jj_3R_160()) return true; + if (jj_3R_161()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_159() { + static final private boolean jj_3R_160() { if (jj_scan_token(INCR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_158() { - if (jj_3R_61()) return true; + static final private boolean jj_3R_159() { + if (jj_3R_62()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_157() { + static final private boolean jj_3R_164() { + if (jj_scan_token(BIT_AND)) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_158() { + Token xsp; + xsp = jj_scanpos; + if (jj_3R_164()) jj_scanpos = xsp; + else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(NEW)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_168()) return true; + if (jj_3R_170()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_149() { + static final private boolean jj_3R_150() { Token xsp; xsp = jj_scanpos; - if (jj_3R_156()) { - jj_scanpos = xsp; if (jj_3R_157()) { jj_scanpos = xsp; - if (jj_3R_158()) return true; + if (jj_3R_158()) { + jj_scanpos = xsp; + if (jj_3R_159()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_156() { + static final private boolean jj_3R_157() { if (jj_scan_token(IDENTIFIER)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_145() { + static final private boolean jj_3R_146() { if (jj_scan_token(ARRAY)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_164()) return true; + if (jj_3R_166()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_144() { - if (jj_3R_149()) return true; + static final private boolean jj_3R_145() { + if (jj_3R_150()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_163()) { jj_scanpos = xsp; break; } + if (jj_3R_165()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; @@ -3204,55 +3330,55 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(STATICCLASSACCESS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_168()) return true; + if (jj_3R_170()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_171()) { jj_scanpos = xsp; break; } + if (jj_3R_173()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_138() { + static final private boolean jj_3R_139() { Token xsp; xsp = jj_scanpos; if (jj_3_4()) { jj_scanpos = xsp; - if (jj_3R_144()) { + if (jj_3R_145()) { jj_scanpos = xsp; - if (jj_3R_145()) return true; + if (jj_3R_146()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_81() { + static final private boolean jj_3R_82() { if (jj_scan_token(RUNSIGNEDSHIFTASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_147() { - if (jj_3R_138()) return true; + static final private boolean jj_3R_148() { + if (jj_3R_139()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; xsp = jj_scanpos; - if (jj_3R_150()) jj_scanpos = xsp; + if (jj_3R_151()) jj_scanpos = xsp; else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_146() { + static final private boolean jj_3R_147() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_36()) return true; + if (jj_3R_37()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_121()) return true; + if (jj_3R_122()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } @@ -3260,77 +3386,77 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants static final private boolean jj_3_3() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_36()) return true; + if (jj_3R_37()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_120() { + static final private boolean jj_3R_121() { if (jj_scan_token(RUNSIGNEDSHIFT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_132() { + static final private boolean jj_3R_133() { if (jj_scan_token(REM)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_143() { + static final private boolean jj_3R_144() { if (jj_scan_token(LPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_37()) return true; + if (jj_3R_38()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; if (jj_scan_token(RPAREN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_142() { - if (jj_3R_148()) return true; + static final private boolean jj_3R_143() { + if (jj_3R_149()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_141() { - if (jj_3R_147()) return true; + static final private boolean jj_3R_142() { + if (jj_3R_148()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_124() { + static final private boolean jj_3R_125() { if (jj_scan_token(MINUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_140() { - if (jj_3R_146()) return true; + static final private boolean jj_3R_141() { + if (jj_3R_147()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_80() { + static final private boolean jj_3R_81() { if (jj_scan_token(RSIGNEDSHIFTASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_137() { + static final private boolean jj_3R_138() { Token xsp; xsp = jj_scanpos; - if (jj_3R_139()) { - jj_scanpos = xsp; if (jj_3R_140()) { jj_scanpos = xsp; if (jj_3R_141()) { jj_scanpos = xsp; if (jj_3R_142()) { jj_scanpos = xsp; - if (jj_3R_143()) return true; + if (jj_3R_143()) { + jj_scanpos = xsp; + if (jj_3R_144()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -3339,196 +3465,196 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants return false; } - static final private boolean jj_3R_139() { + static final private boolean jj_3R_140() { if (jj_scan_token(BANG)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_121()) return true; + if (jj_3R_122()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_131() { + static final private boolean jj_3R_132() { if (jj_scan_token(SLASH)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_136() { + static final private boolean jj_3R_137() { if (jj_scan_token(DECR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_138()) return true; + if (jj_3R_139()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_115() { + static final private boolean jj_3R_116() { if (jj_scan_token(GE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_123() { + static final private boolean jj_3R_124() { if (jj_scan_token(PLUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_119() { + static final private boolean jj_3R_120() { if (jj_scan_token(RSIGNEDSHIFT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_117() { + static final private boolean jj_3R_118() { Token xsp; xsp = jj_scanpos; - if (jj_3R_123()) { + if (jj_3R_124()) { jj_scanpos = xsp; - if (jj_3R_124()) return true; + if (jj_3R_125()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_116()) return true; + if (jj_3R_117()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_130() { + static final private boolean jj_3R_131() { if (jj_scan_token(STAR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_122() { + static final private boolean jj_3_7() { + if (jj_3R_42()) return true; + if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; + return false; + } + + static final private boolean jj_3R_123() { Token xsp; xsp = jj_scanpos; - if (jj_3R_130()) { - jj_scanpos = xsp; if (jj_3R_131()) { jj_scanpos = xsp; - if (jj_3R_132()) return true; + if (jj_3R_132()) { + jj_scanpos = xsp; + if (jj_3R_133()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_121()) return true; + if (jj_3R_122()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_135() { + static final private boolean jj_3R_136() { if (jj_scan_token(INCR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_138()) return true; + if (jj_3R_139()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_134() { + static final private boolean jj_3R_135() { if (jj_scan_token(MINUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_114() { + static final private boolean jj_3R_115() { if (jj_scan_token(LE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3_7() { - if (jj_3R_41()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_79() { + static final private boolean jj_3R_80() { if (jj_scan_token(LSHIFTASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_129() { - if (jj_3R_137()) return true; + static final private boolean jj_3R_130() { + if (jj_3R_138()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_118() { + static final private boolean jj_3R_119() { if (jj_scan_token(LSHIFT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_128() { - if (jj_3R_136()) return true; + static final private boolean jj_3R_129() { + if (jj_3R_137()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_111() { + static final private boolean jj_3R_112() { Token xsp; xsp = jj_scanpos; - if (jj_3R_118()) { - jj_scanpos = xsp; if (jj_3R_119()) { jj_scanpos = xsp; - if (jj_3R_120()) return true; + if (jj_3R_120()) { + jj_scanpos = xsp; + if (jj_3R_121()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_110()) return true; + if (jj_3R_111()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_113() { + static final private boolean jj_3R_114() { if (jj_scan_token(GT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_109() { + static final private boolean jj_3R_110() { if (jj_scan_token(NE)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_127() { - if (jj_3R_135()) return true; + static final private boolean jj_3R_128() { + if (jj_3R_136()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_133() { + static final private boolean jj_3R_134() { if (jj_scan_token(PLUS)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_126() { + static final private boolean jj_3R_127() { Token xsp; xsp = jj_scanpos; - if (jj_3R_133()) { + if (jj_3R_134()) { jj_scanpos = xsp; - if (jj_3R_134()) return true; + if (jj_3R_135()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_121()) return true; + if (jj_3R_122()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_121() { + static final private boolean jj_3R_122() { Token xsp; xsp = jj_scanpos; - if (jj_3R_125()) { - jj_scanpos = xsp; if (jj_3R_126()) { jj_scanpos = xsp; if (jj_3R_127()) { jj_scanpos = xsp; if (jj_3R_128()) { jj_scanpos = xsp; - if (jj_3R_129()) return true; + if (jj_3R_129()) { + jj_scanpos = xsp; + if (jj_3R_130()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; @@ -3537,254 +3663,174 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants return false; } - static final private boolean jj_3R_125() { + static final private boolean jj_3R_126() { if (jj_scan_token(AT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_121()) return true; + if (jj_3R_122()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_112() { + static final private boolean jj_3R_113() { if (jj_scan_token(LT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_108() { + static final private boolean jj_3R_109() { if (jj_scan_token(EQ)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_107() { + static final private boolean jj_3R_108() { Token xsp; xsp = jj_scanpos; - if (jj_3R_112()) { - jj_scanpos = xsp; if (jj_3R_113()) { jj_scanpos = xsp; if (jj_3R_114()) { jj_scanpos = xsp; - if (jj_3R_115()) return true; + if (jj_3R_115()) { + jj_scanpos = xsp; + if (jj_3R_116()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_106()) return true; + if (jj_3R_107()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_105() { + static final private boolean jj_3R_106() { Token xsp; xsp = jj_scanpos; - if (jj_3R_108()) { + if (jj_3R_109()) { jj_scanpos = xsp; - if (jj_3R_109()) return true; + if (jj_3R_110()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_104()) return true; + if (jj_3R_105()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_116() { - if (jj_3R_121()) return true; + static final private boolean jj_3R_117() { + if (jj_3R_122()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_122()) { jj_scanpos = xsp; break; } + if (jj_3R_123()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_78() { + static final private boolean jj_3R_79() { if (jj_scan_token(MINUSASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_110() { - if (jj_3R_116()) return true; + static final private boolean jj_3R_111() { + if (jj_3R_117()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_117()) { jj_scanpos = xsp; break; } + if (jj_3R_118()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_103() { + static final private boolean jj_3R_104() { if (jj_scan_token(BIT_AND)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_102()) return true; + if (jj_3R_103()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_106() { - if (jj_3R_110()) return true; + static final private boolean jj_3R_107() { + if (jj_3R_111()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_111()) { jj_scanpos = xsp; break; } + if (jj_3R_112()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_77() { + static final private boolean jj_3R_78() { if (jj_scan_token(PLUSASSIGN)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_98() { + static final private boolean jj_3R_99() { if (jj_scan_token(BIT_OR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_97()) return true; + if (jj_3R_98()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_101() { + static final private boolean jj_3R_102() { if (jj_scan_token(XOR)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_100()) return true; + if (jj_3R_101()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_104() { - if (jj_3R_106()) return true; + static final private boolean jj_3R_105() { + if (jj_3R_107()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_107()) { jj_scanpos = xsp; break; } + if (jj_3R_108()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_91() { + static final private boolean jj_3R_92() { if (jj_scan_token(_ORL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_96() { + static final private boolean jj_3R_97() { if (jj_scan_token(_ANDL)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_94() { - if (jj_scan_token(DOT)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_93()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_102() { - if (jj_3R_104()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_105()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } - return false; - } - - static final private boolean jj_3R_90() { - if (jj_scan_token(SC_OR)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_76() { - if (jj_scan_token(REMASSIGN)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_100() { - if (jj_3R_102()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - Token xsp; - while (true) { - xsp = jj_scanpos; - if (jj_3R_103()) { jj_scanpos = xsp; break; } - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } - return false; - } - - static final private boolean jj_3R_72() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_90()) { - jj_scanpos = xsp; - if (jj_3R_91()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_71()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - static final private boolean jj_3R_95() { - if (jj_scan_token(SC_AND)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - - static final private boolean jj_3R_89() { - Token xsp; - xsp = jj_scanpos; - if (jj_3R_95()) { - jj_scanpos = xsp; - if (jj_3R_96()) return true; + if (jj_scan_token(DOT)) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - } else if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_88()) return true; + if (jj_3R_94()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; return false; } - static final private boolean jj_3R_97() { - if (jj_3R_100()) return true; + static final private boolean jj_3R_103() { + if (jj_3R_105()) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; Token xsp; while (true) { xsp = jj_scanpos; - if (jj_3R_101()) { jj_scanpos = xsp; break; } + if (jj_3R_106()) { jj_scanpos = xsp; break; } if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; } return false; } - static final private boolean jj_3R_67() { - if (jj_scan_token(HOOK)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_37()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_scan_token(COLON)) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - if (jj_3R_59()) return true; - if (jj_la == 0 && jj_scanpos == jj_lastpos) return false; - return false; - } - static private boolean jj_initialized_once = false; static public PHPParserTokenManager token_source; static SimpleCharStream jj_input_stream; @@ -3795,11 +3841,11 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants static public boolean lookingAhead = false; static private boolean jj_semLA; static private int jj_gen; - static final private int[] jj_la1 = new int[95]; - static final private int[] jj_la1_0 = {0x2,0x7fcb0000,0x0,0x60000,0x60000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc00000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc00000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x0,0x400000,0x0,0x0,0x80000000,0x80000000,0x400000,0x0,0x0,0x80000000,0xc00000,0x80000000,0x0,0x0,0xc00000,0x0,0x0,0x7f480000,0x0,0x0,0x0,0x0,0x1e000000,0x0,0x0,0x0,0x0,0x0,0x0,0x7fcb0000,0x7fcb0000,0x0,0x0,0x0,0x400000,0x0,0x7fcb0000,0x0,0x100000,0x200000,0x7fc80000,0x0,0x7fc80000,0x0,0x400000,0xc00000,0x400000,0x400000,0x0,0x0,0x0,0xc00000,}; - static final private int[] jj_la1_1 = {0x0,0xd76a4,0x100,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x43200,0x0,0x0,0x0,0x0,0x0,0x3fa00000,0x0,0x43200,0x0,0x0,0x40000000,0x40000000,0x80000000,0x80000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x43200,0x0,0x43200,0x0,0x0,0x0,0x0,0x1000,0x1000,0x0,0x0,0x43200,0x0,0x42200,0x40200,0x43200,0x0,0x0,0x954a4,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xd76a4,0xd76a4,0x0,0x0,0x0,0x1000,0x48,0xd76a4,0x48,0x0,0x0,0xd76a4,0x0,0xd76a4,0x0,0x1000,0x43200,0x1000,0x1000,0x0,0x0,0x0,0x43200,}; - static final private int[] jj_la1_2 = {0x0,0x11914451,0x0,0x0,0x0,0x200000,0x2000000,0x10000,0x1000000,0x10000,0x1010400,0x0,0x11804451,0x110000,0x0,0x200000,0x1000000,0x0,0x0,0x2000000,0x11804451,0x2000000,0x20000000,0x0,0x0,0x0,0x0,0x400000,0x0,0x0,0x0,0x80000000,0x80000000,0xc000000,0xc000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x11804451,0x10000000,0x1004451,0x0,0x0,0x44000,0x44000,0x1000400,0x1000400,0x1000400,0x44000,0x11804451,0x40000,0x51,0x0,0x11804451,0x200000,0x100000,0x1110400,0x100000,0x100000,0x100000,0x100000,0x0,0x200000,0x100000,0x200000,0x100000,0x200000,0x100000,0x11914451,0x11914451,0x200000,0x2000000,0x2000000,0x1000400,0x0,0x11914451,0x0,0x0,0x0,0x11914451,0x100000,0x51914451,0x100000,0x1000400,0x11804451,0x1000400,0x1000400,0x200000,0x400,0x400,0x11804451,}; - static final private int[] jj_la1_3 = {0x0,0x400001e0,0x0,0x0,0x0,0x0,0x0,0x0,0x40000000,0x0,0x0,0x0,0x400001e0,0x0,0x800,0x0,0x40000800,0x800,0x0,0x3ffc0000,0x400001e0,0x3ffc0000,0x0,0x8,0x8,0x10,0x10,0x0,0x1000,0x2000,0x800,0x4,0x4,0x3,0x3,0x38000,0x38000,0x180,0x180,0x4600,0x4600,0x180,0x400001e0,0x0,0x40000000,0x60,0x60,0x0,0x0,0x40000000,0x40000000,0x40000000,0x0,0x400001e0,0x0,0x0,0x0,0x400001e0,0x0,0x80000000,0x40000060,0x80000000,0x80000000,0x80000000,0x80000000,0x0,0x0,0x80000000,0x0,0x80000000,0x0,0x80000000,0x400001e0,0x400001e0,0x0,0x3ffc0060,0x3ffc0060,0x40000060,0x0,0x400001e0,0x0,0x0,0x0,0x400001e0,0x80000000,0x400001e0,0x80000000,0x40000060,0x400001e0,0x40000060,0x40000060,0x0,0x0,0x0,0x400001e0,}; + static final private int[] jj_la1 = new int[96]; + static final private int[] jj_la1_0 = {0x2,0x7fcb0000,0x0,0x60000,0x60000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc00000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc00000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x400000,0x0,0x400000,0x0,0x0,0x80000000,0x80000000,0x400000,0x0,0x0,0x0,0x80000000,0xc00000,0x80000000,0x0,0x0,0xc00000,0x0,0x0,0x7f480000,0x0,0x0,0x0,0x0,0x1e000000,0x0,0x0,0x0,0x0,0x0,0x0,0x7fcb0000,0x7fcb0000,0x0,0x0,0x0,0x400000,0x0,0x7fcb0000,0x0,0x100000,0x200000,0x7fc80000,0x0,0x7fc80000,0x0,0x400000,0xc00000,0x400000,0x400000,0x0,0x0,0x0,0xc00000,}; + static final private int[] jj_la1_1 = {0x0,0xd76a4,0x100,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x43200,0x0,0x0,0x0,0x0,0x0,0x3fa00000,0x0,0x43200,0x0,0x0,0x40000000,0x40000000,0x80000000,0x80000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x43200,0x0,0x43200,0x0,0x0,0x0,0x0,0x1000,0x0,0x1000,0x0,0x0,0x43200,0x0,0x42200,0x40200,0x43200,0x0,0x0,0x954a4,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xd76a4,0xd76a4,0x0,0x0,0x0,0x1000,0x48,0xd76a4,0x48,0x0,0x0,0xd76a4,0x0,0xd76a4,0x0,0x1000,0x43200,0x1000,0x1000,0x0,0x0,0x0,0x43200,}; + static final private int[] jj_la1_2 = {0x0,0x11914451,0x0,0x0,0x0,0x200000,0x2000000,0x10000,0x1000000,0x10000,0x1010400,0x0,0x11804451,0x110000,0x0,0x200000,0x1000000,0x0,0x0,0x2000000,0x11804451,0x2000000,0x20000000,0x0,0x0,0x0,0x0,0x400000,0x0,0x0,0x0,0x80000000,0x80000000,0xc000000,0xc000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x11804451,0x10000000,0x1004451,0x0,0x0,0x44000,0x44000,0x1000400,0x0,0x1000400,0x1000400,0x44000,0x11804451,0x40000,0x51,0x0,0x11804451,0x200000,0x100000,0x1110400,0x100000,0x100000,0x100000,0x100000,0x0,0x200000,0x100000,0x200000,0x100000,0x200000,0x100000,0x11914451,0x11914451,0x200000,0x2000000,0x2000000,0x1000400,0x0,0x11914451,0x0,0x0,0x0,0x11914451,0x100000,0x51914451,0x100000,0x1000400,0x11804451,0x1000400,0x1000400,0x200000,0x400,0x400,0x11804451,}; + static final private int[] jj_la1_3 = {0x0,0x400009e0,0x0,0x0,0x0,0x0,0x0,0x0,0x40000000,0x0,0x0,0x0,0x400009e0,0x0,0x800,0x0,0x40000800,0x800,0x0,0x3ffc0000,0x400009e0,0x3ffc0000,0x0,0x8,0x8,0x10,0x10,0x0,0x1000,0x2000,0x800,0x4,0x4,0x3,0x3,0x38000,0x38000,0x180,0x180,0x4600,0x4600,0x180,0x400009e0,0x0,0x40000800,0x60,0x60,0x0,0x0,0x40000800,0x800,0x40000800,0x40000000,0x0,0x400009e0,0x0,0x0,0x0,0x400009e0,0x0,0x80000000,0x40000860,0x80000000,0x80000000,0x80000000,0x80000000,0x0,0x0,0x80000000,0x0,0x80000000,0x0,0x80000000,0x400009e0,0x400009e0,0x0,0x3ffc0060,0x3ffc0060,0x40000860,0x0,0x400009e0,0x0,0x0,0x0,0x400009e0,0x80000000,0x400009e0,0x80000000,0x40000860,0x400009e0,0x40000860,0x40000860,0x0,0x0,0x0,0x400009e0,}; static final private JJCalls[] jj_2_rtns = new JJCalls[7]; static private boolean jj_rescan = false; static private int jj_gc = 0; @@ -3817,7 +3863,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 95; i++) jj_la1[i] = -1; + for (int i = 0; i < 96; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -3827,7 +3873,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 95; i++) jj_la1[i] = -1; + for (int i = 0; i < 96; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -3844,7 +3890,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 95; i++) jj_la1[i] = -1; + for (int i = 0; i < 96; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -3854,7 +3900,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 95; i++) jj_la1[i] = -1; + for (int i = 0; i < 96; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -3870,7 +3916,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 95; i++) jj_la1[i] = -1; + for (int i = 0; i < 96; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -3879,7 +3925,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants token = new Token(); jj_ntk = -1; jj_gen = 0; - for (int i = 0; i < 95; i++) jj_la1[i] = -1; + for (int i = 0; i < 96; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } @@ -3994,7 +4040,7 @@ public class PHPParser extends PHPParserSuperclass implements PHPParserConstants la1tokens[jj_kind] = true; jj_kind = -1; } - for (int i = 0; i < 95; i++) { + for (int i = 0; i < 96; i++) { if (jj_la1[i] == jj_gen) { for (int j = 0; j < 32; j++) { if ((jj_la1_0[i] & (1< VariableName() } -void VariableName(): +String VariableName(): {} { Expression() @@ -701,20 +701,7 @@ void Type() : } -/* - * Expression syntax follows. - */ - void Expression() : -/* - * This expansion has been written this way instead of: - * Assignment() | ConditionalExpression() - * for performance reasons. - * However, it is a weakening of the grammar for it allows the LHS of - * assignments to be any conditional expression whereas it can only be - * a primary expression. Consider adding a semantic predicate to work - * around this. - */ {} { PrintExpression() @@ -872,7 +859,7 @@ void PrimaryPrefix() : { | - ClassIdentifier() + [] ClassIdentifier() | VariableDeclaratorId() } @@ -908,7 +895,13 @@ void Literal() : | | - + try { + + } catch (TokenMgrError e) { + errorMessage = "unterminated string"; + errorLevel = ERROR; + throw generateParseException(); + } | BooleanLiteral() | @@ -1131,7 +1124,7 @@ void IfStatement() : */ {} { - Condition("if") Statement() [ LOOKAHEAD(1) ElseIfStatement() ] [ LOOKAHEAD(1) Statement() ] + Condition("if") Statement() ( LOOKAHEAD(1) ElseIfStatement() )* [ LOOKAHEAD(1) Statement() ] } void Condition(String keyword) :