org.apache.commons.jexl2.parser.Parser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of commons-jexl Show documentation
Show all versions of commons-jexl Show documentation
Jexl is an implementation of the JSTL Expression Language with extensions.
/* Generated By:JJTree&JavaCC: Do not edit this line. Parser.java */
package org.apache.commons.jexl2.parser;
import java.io.Reader;
import org.apache.commons.jexl2.JexlInfo;
public class Parser extends StringParser/*@bgen(jjtree)*/implements ParserTreeConstants, ParserConstants {/*@bgen(jjtree)*/
protected JJTParserState jjtree = new JJTParserState();public ASTJexlScript parse(Reader reader, JexlInfo info)
throws ParseException
{
ReInit(reader);
/*
* lets do the 'Unique Init' in here to be
* safe - it's a pain to remember
*/
ASTJexlScript tree = JexlScript();
tree.value = info;
return tree;
}
void jjtreeOpenNodeScope(Node n) {}
void jjtreeCloseNodeScope(Node n) throws ParseException {
if (n instanceof ASTAmbiguous && n.jjtGetNumChildren() > 0) {
Token tok = this.getToken(0);
StringBuilder strb = new StringBuilder("Ambiguous statement ");
if (tok != null) {
strb.append("@");
strb.append(tok.beginLine);
strb.append(":");
strb.append(tok.beginColumn);
}
strb.append(", missing ';' between expressions");
throw new ParseException(strb.toString());
}
}
/***************************************
* Statements
***************************************/
final public ASTJexlScript JexlScript() throws ParseException {
/*@bgen(jjtree) JexlScript */
ASTJexlScript jjtn000 = new ASTJexlScript(JJTJEXLSCRIPT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
label_1:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case IF:
case FOR:
case FOREACH:
case WHILE:
case NEW:
case EMPTY:
case SIZE:
case NULL:
case TRUE:
case FALSE:
case LPAREN:
case LCURLY:
case LBRACKET:
case SEMICOL:
case 57:
case 63:
case 64:
case 65:
case IDENTIFIER:
case STRING_LITERAL:
;
break;
default:
jj_la1[0] = jj_gen;
break label_1;
}
Statement();
}
jj_consume_token(0);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtreeCloseNodeScope(jjtn000);
{if (true) return jjtn000;}
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
throw new Error("Missing return statement in function");
}
final public void Statement() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case SEMICOL:
jj_consume_token(SEMICOL);
break;
default:
jj_la1[1] = jj_gen;
if (jj_2_1(3)) {
Block();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IF:
IfStatement();
break;
case FOR:
case FOREACH:
ForeachStatement();
break;
case WHILE:
WhileStatement();
break;
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case NEW:
case EMPTY:
case SIZE:
case NULL:
case TRUE:
case FALSE:
case LPAREN:
case LCURLY:
case LBRACKET:
case 57:
case 63:
case 64:
case 65:
case IDENTIFIER:
case STRING_LITERAL:
ExpressionStatement();
break;
default:
jj_la1[2] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
final public void Block() throws ParseException {
/*@bgen(jjtree) Block */
ASTBlock jjtn000 = new ASTBlock(JJTBLOCK);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
jj_consume_token(LCURLY);
label_2:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case IF:
case FOR:
case FOREACH:
case WHILE:
case NEW:
case EMPTY:
case SIZE:
case NULL:
case TRUE:
case FALSE:
case LPAREN:
case LCURLY:
case LBRACKET:
case SEMICOL:
case 57:
case 63:
case 64:
case 65:
case IDENTIFIER:
case STRING_LITERAL:
;
break;
default:
jj_la1[3] = jj_gen;
break label_2;
}
Statement();
}
jj_consume_token(RCURLY);
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void ExpressionStatement() throws ParseException {
Expression();
label_3:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case NEW:
case EMPTY:
case SIZE:
case NULL:
case TRUE:
case FALSE:
case LPAREN:
case LCURLY:
case LBRACKET:
case 57:
case 63:
case 64:
case 65:
case IDENTIFIER:
case STRING_LITERAL:
;
break;
default:
jj_la1[4] = jj_gen;
break label_3;
}
ASTAmbiguous jjtn001 = new ASTAmbiguous(JJTAMBIGUOUS);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
Expression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, true);
jjtreeCloseNodeScope(jjtn001);
}
}
}
if (jj_2_2(2)) {
jj_consume_token(SEMICOL);
} else {
;
}
}
final public void IfStatement() throws ParseException {
/*@bgen(jjtree) IfStatement */
ASTIfStatement jjtn000 = new ASTIfStatement(JJTIFSTATEMENT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
jj_consume_token(IF);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
Statement();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case ELSE:
jj_consume_token(ELSE);
Statement();
break;
default:
jj_la1[5] = jj_gen;
;
}
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void WhileStatement() throws ParseException {
/*@bgen(jjtree) WhileStatement */
ASTWhileStatement jjtn000 = new ASTWhileStatement(JJTWHILESTATEMENT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
jj_consume_token(WHILE);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
Statement();
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void ForeachStatement() throws ParseException {
/*@bgen(jjtree) ForeachStatement */
ASTForeachStatement jjtn000 = new ASTForeachStatement(JJTFOREACHSTATEMENT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case FOR:
jj_consume_token(FOR);
jj_consume_token(LPAREN);
Reference();
jj_consume_token(COLON);
Expression();
jj_consume_token(RPAREN);
Statement();
break;
case FOREACH:
jj_consume_token(FOREACH);
jj_consume_token(LPAREN);
Reference();
jj_consume_token(IN);
Expression();
jj_consume_token(RPAREN);
Statement();
break;
default:
jj_la1[6] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
/***************************************
* Expression syntax
***************************************/
final public void Expression() throws ParseException {
if (jj_2_3(2147483647)) {
Assignment();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case NEW:
case EMPTY:
case SIZE:
case NULL:
case TRUE:
case FALSE:
case LPAREN:
case LCURLY:
case LBRACKET:
case 57:
case 63:
case 64:
case 65:
case IDENTIFIER:
case STRING_LITERAL:
ConditionalExpression();
break;
default:
jj_la1[7] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void Assignment() throws ParseException {
/*@bgen(jjtree) #Assignment( 2) */
ASTAssignment jjtn000 = new ASTAssignment(JJTASSIGNMENT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
Reference();
jj_consume_token(32);
Expression();
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, 2);
jjtreeCloseNodeScope(jjtn000);
}
}
}
/***************************************
* Conditional & relational
***************************************/
final public void ConditionalExpression() throws ParseException {
ConditionalOrExpression();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 33:
case 34:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 33:
jj_consume_token(33);
Expression();
jj_consume_token(COLON);
ASTTernaryNode jjtn001 = new ASTTernaryNode(JJTTERNARYNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
Expression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 3);
jjtreeCloseNodeScope(jjtn001);
}
}
break;
case 34:
jj_consume_token(34);
ASTTernaryNode jjtn002 = new ASTTernaryNode(JJTTERNARYNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
jjtreeOpenNodeScope(jjtn002);
try {
Expression();
} catch (Throwable jjte002) {
if (jjtc002) {
jjtree.clearNodeScope(jjtn002);
jjtc002 = false;
} else {
jjtree.popNode();
}
if (jjte002 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte002;}
}
if (jjte002 instanceof ParseException) {
{if (true) throw (ParseException)jjte002;}
}
{if (true) throw (Error)jjte002;}
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, 2);
jjtreeCloseNodeScope(jjtn002);
}
}
break;
default:
jj_la1[8] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
default:
jj_la1[9] = jj_gen;
;
}
}
final public void ConditionalOrExpression() throws ParseException {
ConditionalAndExpression();
label_4:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 35:
case 36:
;
break;
default:
jj_la1[10] = jj_gen;
break label_4;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 35:
jj_consume_token(35);
ASTOrNode jjtn001 = new ASTOrNode(JJTORNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
ConditionalAndExpression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 2);
jjtreeCloseNodeScope(jjtn001);
}
}
break;
case 36:
jj_consume_token(36);
ASTOrNode jjtn002 = new ASTOrNode(JJTORNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
jjtreeOpenNodeScope(jjtn002);
try {
ConditionalAndExpression();
} catch (Throwable jjte002) {
if (jjtc002) {
jjtree.clearNodeScope(jjtn002);
jjtc002 = false;
} else {
jjtree.popNode();
}
if (jjte002 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte002;}
}
if (jjte002 instanceof ParseException) {
{if (true) throw (ParseException)jjte002;}
}
{if (true) throw (Error)jjte002;}
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, 2);
jjtreeCloseNodeScope(jjtn002);
}
}
break;
default:
jj_la1[11] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void ConditionalAndExpression() throws ParseException {
InclusiveOrExpression();
label_5:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 37:
case 38:
;
break;
default:
jj_la1[12] = jj_gen;
break label_5;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 37:
jj_consume_token(37);
ASTAndNode jjtn001 = new ASTAndNode(JJTANDNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
InclusiveOrExpression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 2);
jjtreeCloseNodeScope(jjtn001);
}
}
break;
case 38:
jj_consume_token(38);
ASTAndNode jjtn002 = new ASTAndNode(JJTANDNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
jjtreeOpenNodeScope(jjtn002);
try {
InclusiveOrExpression();
} catch (Throwable jjte002) {
if (jjtc002) {
jjtree.clearNodeScope(jjtn002);
jjtc002 = false;
} else {
jjtree.popNode();
}
if (jjte002 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte002;}
}
if (jjte002 instanceof ParseException) {
{if (true) throw (ParseException)jjte002;}
}
{if (true) throw (Error)jjte002;}
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, 2);
jjtreeCloseNodeScope(jjtn002);
}
}
break;
default:
jj_la1[13] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void InclusiveOrExpression() throws ParseException {
ExclusiveOrExpression();
label_6:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 39:
;
break;
default:
jj_la1[14] = jj_gen;
break label_6;
}
jj_consume_token(39);
ASTBitwiseOrNode jjtn001 = new ASTBitwiseOrNode(JJTBITWISEORNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
ExclusiveOrExpression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 2);
jjtreeCloseNodeScope(jjtn001);
}
}
}
}
final public void ExclusiveOrExpression() throws ParseException {
AndExpression();
label_7:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 40:
;
break;
default:
jj_la1[15] = jj_gen;
break label_7;
}
jj_consume_token(40);
ASTBitwiseXorNode jjtn001 = new ASTBitwiseXorNode(JJTBITWISEXORNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
AndExpression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 2);
jjtreeCloseNodeScope(jjtn001);
}
}
}
}
final public void AndExpression() throws ParseException {
EqualityExpression();
label_8:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 41:
;
break;
default:
jj_la1[16] = jj_gen;
break label_8;
}
jj_consume_token(41);
ASTBitwiseAndNode jjtn001 = new ASTBitwiseAndNode(JJTBITWISEANDNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
EqualityExpression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 2);
jjtreeCloseNodeScope(jjtn001);
}
}
}
}
final public void EqualityExpression() throws ParseException {
RelationalExpression();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 42:
case 43:
case 44:
case 45:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 42:
jj_consume_token(42);
ASTEQNode jjtn001 = new ASTEQNode(JJTEQNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
RelationalExpression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 2);
jjtreeCloseNodeScope(jjtn001);
}
}
break;
case 43:
jj_consume_token(43);
ASTEQNode jjtn002 = new ASTEQNode(JJTEQNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
jjtreeOpenNodeScope(jjtn002);
try {
RelationalExpression();
} catch (Throwable jjte002) {
if (jjtc002) {
jjtree.clearNodeScope(jjtn002);
jjtc002 = false;
} else {
jjtree.popNode();
}
if (jjte002 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte002;}
}
if (jjte002 instanceof ParseException) {
{if (true) throw (ParseException)jjte002;}
}
{if (true) throw (Error)jjte002;}
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, 2);
jjtreeCloseNodeScope(jjtn002);
}
}
break;
case 44:
jj_consume_token(44);
ASTNENode jjtn003 = new ASTNENode(JJTNENODE);
boolean jjtc003 = true;
jjtree.openNodeScope(jjtn003);
jjtreeOpenNodeScope(jjtn003);
try {
RelationalExpression();
} catch (Throwable jjte003) {
if (jjtc003) {
jjtree.clearNodeScope(jjtn003);
jjtc003 = false;
} else {
jjtree.popNode();
}
if (jjte003 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte003;}
}
if (jjte003 instanceof ParseException) {
{if (true) throw (ParseException)jjte003;}
}
{if (true) throw (Error)jjte003;}
} finally {
if (jjtc003) {
jjtree.closeNodeScope(jjtn003, 2);
jjtreeCloseNodeScope(jjtn003);
}
}
break;
case 45:
jj_consume_token(45);
ASTNENode jjtn004 = new ASTNENode(JJTNENODE);
boolean jjtc004 = true;
jjtree.openNodeScope(jjtn004);
jjtreeOpenNodeScope(jjtn004);
try {
RelationalExpression();
} catch (Throwable jjte004) {
if (jjtc004) {
jjtree.clearNodeScope(jjtn004);
jjtc004 = false;
} else {
jjtree.popNode();
}
if (jjte004 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte004;}
}
if (jjte004 instanceof ParseException) {
{if (true) throw (ParseException)jjte004;}
}
{if (true) throw (Error)jjte004;}
} finally {
if (jjtc004) {
jjtree.closeNodeScope(jjtn004, 2);
jjtreeCloseNodeScope(jjtn004);
}
}
break;
default:
jj_la1[17] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
default:
jj_la1[18] = jj_gen;
;
}
}
final public void RelationalExpression() throws ParseException {
AdditiveExpression();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 46:
case 47:
case 48:
case 49:
case 50:
case 51:
case 52:
case 53:
case 54:
case 55:
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 46:
jj_consume_token(46);
ASTLTNode jjtn001 = new ASTLTNode(JJTLTNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
AdditiveExpression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 2);
jjtreeCloseNodeScope(jjtn001);
}
}
break;
case 47:
jj_consume_token(47);
ASTLTNode jjtn002 = new ASTLTNode(JJTLTNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
jjtreeOpenNodeScope(jjtn002);
try {
AdditiveExpression();
} catch (Throwable jjte002) {
if (jjtc002) {
jjtree.clearNodeScope(jjtn002);
jjtc002 = false;
} else {
jjtree.popNode();
}
if (jjte002 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte002;}
}
if (jjte002 instanceof ParseException) {
{if (true) throw (ParseException)jjte002;}
}
{if (true) throw (Error)jjte002;}
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, 2);
jjtreeCloseNodeScope(jjtn002);
}
}
break;
case 48:
jj_consume_token(48);
ASTGTNode jjtn003 = new ASTGTNode(JJTGTNODE);
boolean jjtc003 = true;
jjtree.openNodeScope(jjtn003);
jjtreeOpenNodeScope(jjtn003);
try {
AdditiveExpression();
} catch (Throwable jjte003) {
if (jjtc003) {
jjtree.clearNodeScope(jjtn003);
jjtc003 = false;
} else {
jjtree.popNode();
}
if (jjte003 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte003;}
}
if (jjte003 instanceof ParseException) {
{if (true) throw (ParseException)jjte003;}
}
{if (true) throw (Error)jjte003;}
} finally {
if (jjtc003) {
jjtree.closeNodeScope(jjtn003, 2);
jjtreeCloseNodeScope(jjtn003);
}
}
break;
case 49:
jj_consume_token(49);
ASTGTNode jjtn004 = new ASTGTNode(JJTGTNODE);
boolean jjtc004 = true;
jjtree.openNodeScope(jjtn004);
jjtreeOpenNodeScope(jjtn004);
try {
AdditiveExpression();
} catch (Throwable jjte004) {
if (jjtc004) {
jjtree.clearNodeScope(jjtn004);
jjtc004 = false;
} else {
jjtree.popNode();
}
if (jjte004 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte004;}
}
if (jjte004 instanceof ParseException) {
{if (true) throw (ParseException)jjte004;}
}
{if (true) throw (Error)jjte004;}
} finally {
if (jjtc004) {
jjtree.closeNodeScope(jjtn004, 2);
jjtreeCloseNodeScope(jjtn004);
}
}
break;
case 50:
jj_consume_token(50);
ASTLENode jjtn005 = new ASTLENode(JJTLENODE);
boolean jjtc005 = true;
jjtree.openNodeScope(jjtn005);
jjtreeOpenNodeScope(jjtn005);
try {
AdditiveExpression();
} catch (Throwable jjte005) {
if (jjtc005) {
jjtree.clearNodeScope(jjtn005);
jjtc005 = false;
} else {
jjtree.popNode();
}
if (jjte005 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte005;}
}
if (jjte005 instanceof ParseException) {
{if (true) throw (ParseException)jjte005;}
}
{if (true) throw (Error)jjte005;}
} finally {
if (jjtc005) {
jjtree.closeNodeScope(jjtn005, 2);
jjtreeCloseNodeScope(jjtn005);
}
}
break;
case 51:
jj_consume_token(51);
ASTLENode jjtn006 = new ASTLENode(JJTLENODE);
boolean jjtc006 = true;
jjtree.openNodeScope(jjtn006);
jjtreeOpenNodeScope(jjtn006);
try {
AdditiveExpression();
} catch (Throwable jjte006) {
if (jjtc006) {
jjtree.clearNodeScope(jjtn006);
jjtc006 = false;
} else {
jjtree.popNode();
}
if (jjte006 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte006;}
}
if (jjte006 instanceof ParseException) {
{if (true) throw (ParseException)jjte006;}
}
{if (true) throw (Error)jjte006;}
} finally {
if (jjtc006) {
jjtree.closeNodeScope(jjtn006, 2);
jjtreeCloseNodeScope(jjtn006);
}
}
break;
case 52:
jj_consume_token(52);
ASTGENode jjtn007 = new ASTGENode(JJTGENODE);
boolean jjtc007 = true;
jjtree.openNodeScope(jjtn007);
jjtreeOpenNodeScope(jjtn007);
try {
AdditiveExpression();
} catch (Throwable jjte007) {
if (jjtc007) {
jjtree.clearNodeScope(jjtn007);
jjtc007 = false;
} else {
jjtree.popNode();
}
if (jjte007 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte007;}
}
if (jjte007 instanceof ParseException) {
{if (true) throw (ParseException)jjte007;}
}
{if (true) throw (Error)jjte007;}
} finally {
if (jjtc007) {
jjtree.closeNodeScope(jjtn007, 2);
jjtreeCloseNodeScope(jjtn007);
}
}
break;
case 53:
jj_consume_token(53);
ASTGENode jjtn008 = new ASTGENode(JJTGENODE);
boolean jjtc008 = true;
jjtree.openNodeScope(jjtn008);
jjtreeOpenNodeScope(jjtn008);
try {
AdditiveExpression();
} catch (Throwable jjte008) {
if (jjtc008) {
jjtree.clearNodeScope(jjtn008);
jjtc008 = false;
} else {
jjtree.popNode();
}
if (jjte008 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte008;}
}
if (jjte008 instanceof ParseException) {
{if (true) throw (ParseException)jjte008;}
}
{if (true) throw (Error)jjte008;}
} finally {
if (jjtc008) {
jjtree.closeNodeScope(jjtn008, 2);
jjtreeCloseNodeScope(jjtn008);
}
}
break;
case 54:
jj_consume_token(54);
ASTERNode jjtn009 = new ASTERNode(JJTERNODE);
boolean jjtc009 = true;
jjtree.openNodeScope(jjtn009);
jjtreeOpenNodeScope(jjtn009);
try {
AdditiveExpression();
} catch (Throwable jjte009) {
if (jjtc009) {
jjtree.clearNodeScope(jjtn009);
jjtc009 = false;
} else {
jjtree.popNode();
}
if (jjte009 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte009;}
}
if (jjte009 instanceof ParseException) {
{if (true) throw (ParseException)jjte009;}
}
{if (true) throw (Error)jjte009;}
} finally {
if (jjtc009) {
jjtree.closeNodeScope(jjtn009, 2);
jjtreeCloseNodeScope(jjtn009);
}
}
break;
case 55:
jj_consume_token(55);
ASTNRNode jjtn010 = new ASTNRNode(JJTNRNODE);
boolean jjtc010 = true;
jjtree.openNodeScope(jjtn010);
jjtreeOpenNodeScope(jjtn010);
try {
AdditiveExpression();
} catch (Throwable jjte010) {
if (jjtc010) {
jjtree.clearNodeScope(jjtn010);
jjtc010 = false;
} else {
jjtree.popNode();
}
if (jjte010 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte010;}
}
if (jjte010 instanceof ParseException) {
{if (true) throw (ParseException)jjte010;}
}
{if (true) throw (Error)jjte010;}
} finally {
if (jjtc010) {
jjtree.closeNodeScope(jjtn010, 2);
jjtreeCloseNodeScope(jjtn010);
}
}
break;
default:
jj_la1[19] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
default:
jj_la1[20] = jj_gen;
;
}
}
/***************************************
* Arithmetic
***************************************/
final public void AdditiveExpression() throws ParseException {
/*@bgen(jjtree) #AdditiveNode(> 1) */
ASTAdditiveNode jjtn000 = new ASTAdditiveNode(JJTADDITIVENODE);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
MultiplicativeExpression();
label_9:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 56:
case 57:
;
break;
default:
jj_la1[21] = jj_gen;
break label_9;
}
AdditiveOperator();
MultiplicativeExpression();
}
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, jjtree.nodeArity() > 1);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void AdditiveOperator() throws ParseException {
/*@bgen(jjtree) AdditiveOperator */
ASTAdditiveOperator jjtn000 = new ASTAdditiveOperator(JJTADDITIVEOPERATOR);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 56:
jj_consume_token(56);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtreeCloseNodeScope(jjtn000);
jjtn000.image = "+";
break;
case 57:
jj_consume_token(57);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtreeCloseNodeScope(jjtn000);
jjtn000.image = "-";
break;
default:
jj_la1[22] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void MultiplicativeExpression() throws ParseException {
UnaryExpression();
label_10:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 58:
case 59:
case 60:
case 61:
case 62:
;
break;
default:
jj_la1[23] = jj_gen;
break label_10;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 58:
jj_consume_token(58);
ASTMulNode jjtn001 = new ASTMulNode(JJTMULNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
UnaryExpression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 2);
jjtreeCloseNodeScope(jjtn001);
}
}
break;
case 59:
jj_consume_token(59);
ASTDivNode jjtn002 = new ASTDivNode(JJTDIVNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
jjtreeOpenNodeScope(jjtn002);
try {
UnaryExpression();
} catch (Throwable jjte002) {
if (jjtc002) {
jjtree.clearNodeScope(jjtn002);
jjtc002 = false;
} else {
jjtree.popNode();
}
if (jjte002 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte002;}
}
if (jjte002 instanceof ParseException) {
{if (true) throw (ParseException)jjte002;}
}
{if (true) throw (Error)jjte002;}
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, 2);
jjtreeCloseNodeScope(jjtn002);
}
}
break;
case 60:
jj_consume_token(60);
ASTDivNode jjtn003 = new ASTDivNode(JJTDIVNODE);
boolean jjtc003 = true;
jjtree.openNodeScope(jjtn003);
jjtreeOpenNodeScope(jjtn003);
try {
UnaryExpression();
} catch (Throwable jjte003) {
if (jjtc003) {
jjtree.clearNodeScope(jjtn003);
jjtc003 = false;
} else {
jjtree.popNode();
}
if (jjte003 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte003;}
}
if (jjte003 instanceof ParseException) {
{if (true) throw (ParseException)jjte003;}
}
{if (true) throw (Error)jjte003;}
} finally {
if (jjtc003) {
jjtree.closeNodeScope(jjtn003, 2);
jjtreeCloseNodeScope(jjtn003);
}
}
break;
case 61:
jj_consume_token(61);
ASTModNode jjtn004 = new ASTModNode(JJTMODNODE);
boolean jjtc004 = true;
jjtree.openNodeScope(jjtn004);
jjtreeOpenNodeScope(jjtn004);
try {
UnaryExpression();
} catch (Throwable jjte004) {
if (jjtc004) {
jjtree.clearNodeScope(jjtn004);
jjtc004 = false;
} else {
jjtree.popNode();
}
if (jjte004 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte004;}
}
if (jjte004 instanceof ParseException) {
{if (true) throw (ParseException)jjte004;}
}
{if (true) throw (Error)jjte004;}
} finally {
if (jjtc004) {
jjtree.closeNodeScope(jjtn004, 2);
jjtreeCloseNodeScope(jjtn004);
}
}
break;
case 62:
jj_consume_token(62);
ASTModNode jjtn005 = new ASTModNode(JJTMODNODE);
boolean jjtc005 = true;
jjtree.openNodeScope(jjtn005);
jjtreeOpenNodeScope(jjtn005);
try {
UnaryExpression();
} catch (Throwable jjte005) {
if (jjtc005) {
jjtree.clearNodeScope(jjtn005);
jjtc005 = false;
} else {
jjtree.popNode();
}
if (jjte005 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte005;}
}
if (jjte005 instanceof ParseException) {
{if (true) throw (ParseException)jjte005;}
}
{if (true) throw (Error)jjte005;}
} finally {
if (jjtc005) {
jjtree.closeNodeScope(jjtn005, 2);
jjtreeCloseNodeScope(jjtn005);
}
}
break;
default:
jj_la1[24] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void UnaryExpression() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 57:
jj_consume_token(57);
ASTUnaryMinusNode jjtn001 = new ASTUnaryMinusNode(JJTUNARYMINUSNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
UnaryExpression();
} catch (Throwable jjte001) {
if (jjtc001) {
jjtree.clearNodeScope(jjtn001);
jjtc001 = false;
} else {
jjtree.popNode();
}
if (jjte001 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte001;}
}
if (jjte001 instanceof ParseException) {
{if (true) throw (ParseException)jjte001;}
}
{if (true) throw (Error)jjte001;}
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, 1);
jjtreeCloseNodeScope(jjtn001);
}
}
break;
case 63:
jj_consume_token(63);
ASTBitwiseComplNode jjtn002 = new ASTBitwiseComplNode(JJTBITWISECOMPLNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
jjtreeOpenNodeScope(jjtn002);
try {
UnaryExpression();
} catch (Throwable jjte002) {
if (jjtc002) {
jjtree.clearNodeScope(jjtn002);
jjtc002 = false;
} else {
jjtree.popNode();
}
if (jjte002 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte002;}
}
if (jjte002 instanceof ParseException) {
{if (true) throw (ParseException)jjte002;}
}
{if (true) throw (Error)jjte002;}
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, 1);
jjtreeCloseNodeScope(jjtn002);
}
}
break;
case 64:
jj_consume_token(64);
ASTNotNode jjtn003 = new ASTNotNode(JJTNOTNODE);
boolean jjtc003 = true;
jjtree.openNodeScope(jjtn003);
jjtreeOpenNodeScope(jjtn003);
try {
UnaryExpression();
} catch (Throwable jjte003) {
if (jjtc003) {
jjtree.clearNodeScope(jjtn003);
jjtc003 = false;
} else {
jjtree.popNode();
}
if (jjte003 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte003;}
}
if (jjte003 instanceof ParseException) {
{if (true) throw (ParseException)jjte003;}
}
{if (true) throw (Error)jjte003;}
} finally {
if (jjtc003) {
jjtree.closeNodeScope(jjtn003, 1);
jjtreeCloseNodeScope(jjtn003);
}
}
break;
case 65:
jj_consume_token(65);
ASTNotNode jjtn004 = new ASTNotNode(JJTNOTNODE);
boolean jjtc004 = true;
jjtree.openNodeScope(jjtn004);
jjtreeOpenNodeScope(jjtn004);
try {
UnaryExpression();
} catch (Throwable jjte004) {
if (jjtc004) {
jjtree.clearNodeScope(jjtn004);
jjtc004 = false;
} else {
jjtree.popNode();
}
if (jjte004 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte004;}
}
if (jjte004 instanceof ParseException) {
{if (true) throw (ParseException)jjte004;}
}
{if (true) throw (Error)jjte004;}
} finally {
if (jjtc004) {
jjtree.closeNodeScope(jjtn004, 1);
jjtreeCloseNodeScope(jjtn004);
}
}
break;
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case NEW:
case EMPTY:
case SIZE:
case NULL:
case TRUE:
case FALSE:
case LPAREN:
case LCURLY:
case LBRACKET:
case IDENTIFIER:
case STRING_LITERAL:
PrimaryExpression();
break;
default:
jj_la1[25] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
/***************************************
* Identifier & Literals
***************************************/
final public void Identifier() throws ParseException {
/*@bgen(jjtree) Identifier */
ASTIdentifier jjtn000 = new ASTIdentifier(JJTIDENTIFIER);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);Token t;
try {
t = jj_consume_token(IDENTIFIER);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtreeCloseNodeScope(jjtn000);
jjtn000.image = t.image;
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void Literal() throws ParseException {
Token t;
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
IntegerLiteral();
break;
case FLOAT_LITERAL:
FloatLiteral();
break;
case TRUE:
case FALSE:
BooleanLiteral();
break;
case STRING_LITERAL:
StringLiteral();
break;
case NULL:
NullLiteral();
break;
default:
jj_la1[26] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void NullLiteral() throws ParseException {
/*@bgen(jjtree) NullLiteral */
ASTNullLiteral jjtn000 = new ASTNullLiteral(JJTNULLLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
jj_consume_token(NULL);
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void BooleanLiteral() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case TRUE:
ASTTrueNode jjtn001 = new ASTTrueNode(JJTTRUENODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
jjtreeOpenNodeScope(jjtn001);
try {
jj_consume_token(TRUE);
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, true);
jjtreeCloseNodeScope(jjtn001);
}
}
break;
case FALSE:
ASTFalseNode jjtn002 = new ASTFalseNode(JJTFALSENODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
jjtreeOpenNodeScope(jjtn002);
try {
jj_consume_token(FALSE);
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, true);
jjtreeCloseNodeScope(jjtn002);
}
}
break;
default:
jj_la1[27] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void IntegerLiteral() throws ParseException {
/*@bgen(jjtree) IntegerLiteral */
ASTIntegerLiteral jjtn000 = new ASTIntegerLiteral(JJTINTEGERLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);Token t;
try {
t = jj_consume_token(INTEGER_LITERAL);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtreeCloseNodeScope(jjtn000);
jjtn000.image = t.image;
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void FloatLiteral() throws ParseException {
/*@bgen(jjtree) FloatLiteral */
ASTFloatLiteral jjtn000 = new ASTFloatLiteral(JJTFLOATLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);Token t;
try {
t = jj_consume_token(FLOAT_LITERAL);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtreeCloseNodeScope(jjtn000);
jjtn000.image = t.image;
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void StringLiteral() throws ParseException {
/*@bgen(jjtree) StringLiteral */
ASTStringLiteral jjtn000 = new ASTStringLiteral(JJTSTRINGLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);Token t;
try {
t = jj_consume_token(STRING_LITERAL);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtreeCloseNodeScope(jjtn000);
jjtn000.image = Parser.buildString(t.image, true);
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void ArrayLiteral() throws ParseException {
/*@bgen(jjtree) ArrayLiteral */
ASTArrayLiteral jjtn000 = new ASTArrayLiteral(JJTARRAYLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
jj_consume_token(LBRACKET);
Expression();
label_11:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[28] = jj_gen;
break label_11;
}
jj_consume_token(COMMA);
Expression();
}
jj_consume_token(RBRACKET);
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void MapLiteral() throws ParseException {
/*@bgen(jjtree) MapLiteral */
ASTMapLiteral jjtn000 = new ASTMapLiteral(JJTMAPLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
jj_consume_token(LCURLY);
MapEntry();
label_12:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[29] = jj_gen;
break label_12;
}
jj_consume_token(COMMA);
MapEntry();
}
jj_consume_token(RCURLY);
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void MapEntry() throws ParseException {
/*@bgen(jjtree) MapEntry */
ASTMapEntry jjtn000 = new ASTMapEntry(JJTMAPENTRY);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
Expression();
jj_consume_token(COLON);
Expression();
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
/***************************************
* Functions & Methods
***************************************/
final public void EmptyFunction() throws ParseException {
/*@bgen(jjtree) EmptyFunction */
ASTEmptyFunction jjtn000 = new ASTEmptyFunction(JJTEMPTYFUNCTION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
if (jj_2_4(3)) {
jj_consume_token(EMPTY);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case EMPTY:
jj_consume_token(EMPTY);
Reference();
break;
default:
jj_la1[30] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void SizeFunction() throws ParseException {
/*@bgen(jjtree) SizeFunction */
ASTSizeFunction jjtn000 = new ASTSizeFunction(JJTSIZEFUNCTION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
jj_consume_token(SIZE);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void Function() throws ParseException {
/*@bgen(jjtree) FunctionNode */
ASTFunctionNode jjtn000 = new ASTFunctionNode(JJTFUNCTIONNODE);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
Identifier();
jj_consume_token(COLON);
Identifier();
jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case NEW:
case EMPTY:
case SIZE:
case NULL:
case TRUE:
case FALSE:
case LPAREN:
case LCURLY:
case LBRACKET:
case 57:
case 63:
case 64:
case 65:
case IDENTIFIER:
case STRING_LITERAL:
Expression();
label_13:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[31] = jj_gen;
break label_13;
}
jj_consume_token(COMMA);
Expression();
}
break;
default:
jj_la1[32] = jj_gen;
;
}
jj_consume_token(RPAREN);
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void Method() throws ParseException {
/*@bgen(jjtree) MethodNode */
ASTMethodNode jjtn000 = new ASTMethodNode(JJTMETHODNODE);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
Identifier();
jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case NEW:
case EMPTY:
case SIZE:
case NULL:
case TRUE:
case FALSE:
case LPAREN:
case LCURLY:
case LBRACKET:
case 57:
case 63:
case 64:
case 65:
case IDENTIFIER:
case STRING_LITERAL:
Expression();
label_14:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[33] = jj_gen;
break label_14;
}
jj_consume_token(COMMA);
Expression();
}
break;
default:
jj_la1[34] = jj_gen;
;
}
jj_consume_token(RPAREN);
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void AnyMethod() throws ParseException {
if (jj_2_5(2147483647)) {
SizeMethod();
} else if (jj_2_6(2147483647)) {
Method();
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
final public void SizeMethod() throws ParseException {
/*@bgen(jjtree) SizeMethod */
ASTSizeMethod jjtn000 = new ASTSizeMethod(JJTSIZEMETHOD);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
jj_consume_token(SIZE);
jj_consume_token(LPAREN);
jj_consume_token(RPAREN);
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void Constructor() throws ParseException {
/*@bgen(jjtree) #ConstructorNode(true) */
ASTConstructorNode jjtn000 = new ASTConstructorNode(JJTCONSTRUCTORNODE);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
jj_consume_token(NEW);
jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case NEW:
case EMPTY:
case SIZE:
case NULL:
case TRUE:
case FALSE:
case LPAREN:
case LCURLY:
case LBRACKET:
case 57:
case 63:
case 64:
case 65:
case IDENTIFIER:
case STRING_LITERAL:
Expression();
label_15:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case COMMA:
;
break;
default:
jj_la1[35] = jj_gen;
break label_15;
}
jj_consume_token(COMMA);
Expression();
}
break;
default:
jj_la1[36] = jj_gen;
;
}
jj_consume_token(RPAREN);
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
/***************************************
* References
***************************************/
final public void PrimaryExpression() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case NULL:
case TRUE:
case FALSE:
case STRING_LITERAL:
Literal();
break;
default:
jj_la1[37] = jj_gen;
if (jj_2_7(3)) {
Reference();
} else if (jj_2_8(2147483647)) {
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
} else if (jj_2_9(2147483647)) {
EmptyFunction();
} else if (jj_2_10(2147483647)) {
SizeFunction();
} else if (jj_2_11(2147483647)) {
Constructor();
} else if (jj_2_12(2147483647)) {
MapLiteral();
} else if (jj_2_13(2147483647)) {
ArrayLiteral();
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void ArrayAccess() throws ParseException {
/*@bgen(jjtree) ArrayAccess */
ASTArrayAccess jjtn000 = new ASTArrayAccess(JJTARRAYACCESS);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
Identifier();
label_16:
while (true) {
jj_consume_token(LBRACKET);
Expression();
jj_consume_token(RBRACKET);
if (jj_2_14(2)) {
;
} else {
break label_16;
}
}
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
final public void DotReference() throws ParseException {
label_17:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 66:
;
break;
default:
jj_la1[38] = jj_gen;
break label_17;
}
jj_consume_token(66);
if (jj_2_16(2147483647)) {
ArrayAccess();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case SIZE:
case IDENTIFIER:
if (jj_2_15(3)) {
AnyMethod();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
Identifier();
break;
case INTEGER_LITERAL:
IntegerLiteral();
break;
default:
jj_la1[39] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
break;
default:
jj_la1[40] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
final public void Reference() throws ParseException {
/*@bgen(jjtree) Reference */
ASTReference jjtn000 = new ASTReference(JJTREFERENCE);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
jjtreeOpenNodeScope(jjtn000);
try {
if (jj_2_17(2147483647)) {
Constructor();
} else if (jj_2_18(2147483647)) {
ArrayAccess();
} else if (jj_2_19(2147483647)) {
Function();
} else if (jj_2_20(2147483647)) {
Method();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
Identifier();
break;
default:
jj_la1[41] = jj_gen;
if (jj_2_21(2147483647)) {
MapLiteral();
} else if (jj_2_22(2147483647)) {
ArrayLiteral();
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
}
DotReference();
} catch (Throwable jjte000) {
if (jjtc000) {
jjtree.clearNodeScope(jjtn000);
jjtc000 = false;
} else {
jjtree.popNode();
}
if (jjte000 instanceof RuntimeException) {
{if (true) throw (RuntimeException)jjte000;}
}
if (jjte000 instanceof ParseException) {
{if (true) throw (ParseException)jjte000;}
}
{if (true) throw (Error)jjte000;}
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
jjtreeCloseNodeScope(jjtn000);
}
}
}
private boolean jj_2_1(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_1(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(0, xla); }
}
private boolean jj_2_2(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_2(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(1, xla); }
}
private boolean jj_2_3(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_3(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(2, xla); }
}
private boolean jj_2_4(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_4(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(3, xla); }
}
private boolean jj_2_5(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_5(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(4, xla); }
}
private boolean jj_2_6(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_6(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(5, xla); }
}
private boolean jj_2_7(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_7(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(6, xla); }
}
private boolean jj_2_8(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_8(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(7, xla); }
}
private boolean jj_2_9(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_9(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(8, xla); }
}
private boolean jj_2_10(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_10(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(9, xla); }
}
private boolean jj_2_11(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_11(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(10, xla); }
}
private boolean jj_2_12(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_12(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(11, xla); }
}
private boolean jj_2_13(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_13(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(12, xla); }
}
private boolean jj_2_14(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_14(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(13, xla); }
}
private boolean jj_2_15(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_15(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(14, xla); }
}
private boolean jj_2_16(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_16(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(15, xla); }
}
private boolean jj_2_17(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_17(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(16, xla); }
}
private boolean jj_2_18(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_18(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(17, xla); }
}
private boolean jj_2_19(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_19(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(18, xla); }
}
private boolean jj_2_20(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_20(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(19, xla); }
}
private boolean jj_2_21(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_21(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(20, xla); }
}
private boolean jj_2_22(int xla) {
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return !jj_3_22(); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(21, xla); }
}
private boolean jj_3R_140() {
if (jj_3R_145()) return true;
return false;
}
private boolean jj_3R_139() {
if (jj_3R_144()) return true;
return false;
}
private boolean jj_3R_138() {
if (jj_3R_143()) return true;
return false;
}
private boolean jj_3R_137() {
if (jj_3R_142()) return true;
return false;
}
private boolean jj_3R_133() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_136()) {
jj_scanpos = xsp;
if (jj_3R_137()) {
jj_scanpos = xsp;
if (jj_3R_138()) {
jj_scanpos = xsp;
if (jj_3R_139()) {
jj_scanpos = xsp;
if (jj_3R_140()) return true;
}
}
}
}
return false;
}
private boolean jj_3R_136() {
if (jj_3R_77()) return true;
return false;
}
private boolean jj_3R_21() {
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
private boolean jj_3R_117() {
if (jj_3R_125()) return true;
return false;
}
private boolean jj_3R_116() {
if (jj_scan_token(65)) return true;
if (jj_3R_110()) return true;
return false;
}
private boolean jj_3R_115() {
if (jj_scan_token(64)) return true;
if (jj_3R_110()) return true;
return false;
}
private boolean jj_3R_99() {
if (jj_3R_112()) return true;
if (jj_3R_98()) return true;
return false;
}
private boolean jj_3R_114() {
if (jj_scan_token(63)) return true;
if (jj_3R_110()) return true;
return false;
}
private boolean jj_3R_110() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_113()) {
jj_scanpos = xsp;
if (jj_3R_114()) {
jj_scanpos = xsp;
if (jj_3R_115()) {
jj_scanpos = xsp;
if (jj_3R_116()) {
jj_scanpos = xsp;
if (jj_3R_117()) return true;
}
}
}
}
return false;
}
private boolean jj_3R_113() {
if (jj_scan_token(57)) return true;
if (jj_3R_110()) return true;
return false;
}
private boolean jj_3R_122() {
if (jj_scan_token(62)) return true;
if (jj_3R_110()) return true;
return false;
}
private boolean jj_3R_121() {
if (jj_scan_token(61)) return true;
if (jj_3R_110()) return true;
return false;
}
private boolean jj_3R_120() {
if (jj_scan_token(60)) return true;
if (jj_3R_110()) return true;
return false;
}
private boolean jj_3R_119() {
if (jj_scan_token(59)) return true;
if (jj_3R_110()) return true;
return false;
}
private boolean jj_3R_111() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_118()) {
jj_scanpos = xsp;
if (jj_3R_119()) {
jj_scanpos = xsp;
if (jj_3R_120()) {
jj_scanpos = xsp;
if (jj_3R_121()) {
jj_scanpos = xsp;
if (jj_3R_122()) return true;
}
}
}
}
return false;
}
private boolean jj_3R_118() {
if (jj_scan_token(58)) return true;
if (jj_3R_110()) return true;
return false;
}
private boolean jj_3R_98() {
if (jj_3R_110()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_111()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_124() {
if (jj_scan_token(57)) return true;
return false;
}
private boolean jj_3R_112() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_123()) {
jj_scanpos = xsp;
if (jj_3R_124()) return true;
}
return false;
}
private boolean jj_3R_123() {
if (jj_scan_token(56)) return true;
return false;
}
private boolean jj_3R_92() {
if (jj_3R_98()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_99()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_109() {
if (jj_scan_token(55)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_108() {
if (jj_scan_token(54)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_107() {
if (jj_scan_token(53)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_106() {
if (jj_scan_token(52)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_105() {
if (jj_scan_token(51)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_104() {
if (jj_scan_token(50)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_103() {
if (jj_scan_token(49)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_102() {
if (jj_scan_token(48)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_101() {
if (jj_scan_token(47)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_93() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_100()) {
jj_scanpos = xsp;
if (jj_3R_101()) {
jj_scanpos = xsp;
if (jj_3R_102()) {
jj_scanpos = xsp;
if (jj_3R_103()) {
jj_scanpos = xsp;
if (jj_3R_104()) {
jj_scanpos = xsp;
if (jj_3R_105()) {
jj_scanpos = xsp;
if (jj_3R_106()) {
jj_scanpos = xsp;
if (jj_3R_107()) {
jj_scanpos = xsp;
if (jj_3R_108()) {
jj_scanpos = xsp;
if (jj_3R_109()) return true;
}
}
}
}
}
}
}
}
}
return false;
}
private boolean jj_3R_100() {
if (jj_scan_token(46)) return true;
if (jj_3R_92()) return true;
return false;
}
private boolean jj_3R_90() {
if (jj_3R_92()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_93()) jj_scanpos = xsp;
return false;
}
private boolean jj_3R_97() {
if (jj_scan_token(45)) return true;
if (jj_3R_90()) return true;
return false;
}
private boolean jj_3R_96() {
if (jj_scan_token(44)) return true;
if (jj_3R_90()) return true;
return false;
}
private boolean jj_3R_95() {
if (jj_scan_token(43)) return true;
if (jj_3R_90()) return true;
return false;
}
private boolean jj_3R_91() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_94()) {
jj_scanpos = xsp;
if (jj_3R_95()) {
jj_scanpos = xsp;
if (jj_3R_96()) {
jj_scanpos = xsp;
if (jj_3R_97()) return true;
}
}
}
return false;
}
private boolean jj_3R_94() {
if (jj_scan_token(42)) return true;
if (jj_3R_90()) return true;
return false;
}
private boolean jj_3R_88() {
if (jj_3R_90()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_91()) jj_scanpos = xsp;
return false;
}
private boolean jj_3R_89() {
if (jj_scan_token(41)) return true;
if (jj_3R_88()) return true;
return false;
}
private boolean jj_3R_86() {
if (jj_3R_88()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_89()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_87() {
if (jj_scan_token(40)) return true;
if (jj_3R_86()) return true;
return false;
}
private boolean jj_3R_82() {
if (jj_3R_86()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_87()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_83() {
if (jj_scan_token(39)) return true;
if (jj_3R_82()) return true;
return false;
}
private boolean jj_3R_78() {
if (jj_3R_82()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_83()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_85() {
if (jj_scan_token(38)) return true;
if (jj_3R_78()) return true;
return false;
}
private boolean jj_3R_79() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_84()) {
jj_scanpos = xsp;
if (jj_3R_85()) return true;
}
return false;
}
private boolean jj_3R_84() {
if (jj_scan_token(37)) return true;
if (jj_3R_78()) return true;
return false;
}
private boolean jj_3R_70() {
if (jj_3R_78()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_79()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_81() {
if (jj_scan_token(36)) return true;
if (jj_3R_70()) return true;
return false;
}
private boolean jj_3R_71() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_80()) {
jj_scanpos = xsp;
if (jj_3R_81()) return true;
}
return false;
}
private boolean jj_3R_80() {
if (jj_scan_token(35)) return true;
if (jj_3R_70()) return true;
return false;
}
private boolean jj_3R_59() {
if (jj_3R_70()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_71()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3_2() {
if (jj_scan_token(SEMICOL)) return true;
return false;
}
private boolean jj_3R_73() {
if (jj_scan_token(34)) return true;
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3R_60() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_72()) {
jj_scanpos = xsp;
if (jj_3R_73()) return true;
}
return false;
}
private boolean jj_3R_72() {
if (jj_scan_token(33)) return true;
if (jj_3R_20()) return true;
if (jj_scan_token(COLON)) return true;
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3R_46() {
if (jj_3R_59()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_60()) jj_scanpos = xsp;
return false;
}
private boolean jj_3_3() {
if (jj_3R_19()) return true;
if (jj_scan_token(32)) return true;
return false;
}
private boolean jj_3R_45() {
if (jj_3R_19()) return true;
if (jj_scan_token(32)) return true;
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3R_34() {
if (jj_3R_46()) return true;
return false;
}
private boolean jj_3R_33() {
if (jj_3R_45()) return true;
return false;
}
private boolean jj_3R_20() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_33()) {
jj_scanpos = xsp;
if (jj_3R_34()) return true;
}
return false;
}
private boolean jj_3R_75() {
if (jj_scan_token(FOREACH)) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
private boolean jj_3R_62() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_74()) {
jj_scanpos = xsp;
if (jj_3R_75()) return true;
}
return false;
}
private boolean jj_3R_74() {
if (jj_scan_token(FOR)) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
private boolean jj_3R_76() {
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3R_63() {
if (jj_scan_token(WHILE)) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
private boolean jj_3R_61() {
if (jj_scan_token(IF)) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
private boolean jj_3R_24() {
if (jj_3R_37()) return true;
return false;
}
private boolean jj_3_22() {
if (jj_scan_token(LBRACKET)) return true;
return false;
}
private boolean jj_3R_64() {
if (jj_3R_20()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_76()) { jj_scanpos = xsp; break; }
}
xsp = jj_scanpos;
if (jj_3_2()) jj_scanpos = xsp;
return false;
}
private boolean jj_3_21() {
if (jj_scan_token(LCURLY)) return true;
return false;
}
private boolean jj_3_20() {
if (jj_3R_21()) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
private boolean jj_3R_18() {
if (jj_scan_token(LCURLY)) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_24()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RCURLY)) return true;
return false;
}
private boolean jj_3_19() {
if (jj_3R_21()) return true;
if (jj_scan_token(COLON)) return true;
if (jj_3R_21()) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
private boolean jj_3R_31() {
if (jj_3R_43()) return true;
return false;
}
private boolean jj_3_18() {
if (jj_3R_21()) return true;
if (jj_scan_token(LBRACKET)) return true;
return false;
}
private boolean jj_3R_51() {
if (jj_3R_64()) return true;
return false;
}
private boolean jj_3_17() {
if (jj_scan_token(NEW)) return true;
return false;
}
private boolean jj_3R_50() {
if (jj_3R_63()) return true;
return false;
}
private boolean jj_3R_30() {
if (jj_3R_42()) return true;
return false;
}
private boolean jj_3R_49() {
if (jj_3R_62()) return true;
return false;
}
private boolean jj_3R_48() {
if (jj_3R_61()) return true;
return false;
}
private boolean jj_3R_29() {
if (jj_3R_21()) return true;
return false;
}
private boolean jj_3_1() {
if (jj_3R_18()) return true;
return false;
}
private boolean jj_3R_28() {
if (jj_3R_41()) return true;
return false;
}
private boolean jj_3R_37() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(28)) {
jj_scanpos = xsp;
if (jj_3_1()) {
jj_scanpos = xsp;
if (jj_3R_48()) {
jj_scanpos = xsp;
if (jj_3R_49()) {
jj_scanpos = xsp;
if (jj_3R_50()) {
jj_scanpos = xsp;
if (jj_3R_51()) return true;
}
}
}
}
}
return false;
}
private boolean jj_3R_27() {
if (jj_3R_40()) return true;
return false;
}
private boolean jj_3R_26() {
if (jj_3R_39()) return true;
return false;
}
private boolean jj_3R_25() {
if (jj_3R_38()) return true;
return false;
}
private boolean jj_3R_69() {
if (jj_3R_77()) return true;
return false;
}
private boolean jj_3R_19() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_25()) {
jj_scanpos = xsp;
if (jj_3R_26()) {
jj_scanpos = xsp;
if (jj_3R_27()) {
jj_scanpos = xsp;
if (jj_3R_28()) {
jj_scanpos = xsp;
if (jj_3R_29()) {
jj_scanpos = xsp;
if (jj_3R_30()) {
jj_scanpos = xsp;
if (jj_3R_31()) return true;
}
}
}
}
}
}
if (jj_3R_32()) return true;
return false;
}
private boolean jj_3R_68() {
if (jj_3R_21()) return true;
return false;
}
private boolean jj_3_16() {
if (jj_3R_21()) return true;
if (jj_scan_token(LBRACKET)) return true;
return false;
}
private boolean jj_3_15() {
if (jj_3R_23()) return true;
return false;
}
private boolean jj_3_14() {
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_20()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_58() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_15()) {
jj_scanpos = xsp;
if (jj_3R_68()) {
jj_scanpos = xsp;
if (jj_3R_69()) return true;
}
}
return false;
}
private boolean jj_3R_57() {
if (jj_3R_39()) return true;
return false;
}
private boolean jj_3R_66() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3R_44() {
if (jj_scan_token(66)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_57()) {
jj_scanpos = xsp;
if (jj_3R_58()) return true;
}
return false;
}
private boolean jj_3R_32() {
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_44()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3_13() {
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3_12() {
if (jj_scan_token(LCURLY)) return true;
if (jj_3R_22()) return true;
return false;
}
private boolean jj_3R_39() {
if (jj_3R_21()) return true;
Token xsp;
if (jj_3_14()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3_14()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_65() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3_11() {
if (jj_scan_token(NEW)) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
private boolean jj_3_10() {
if (jj_scan_token(SIZE)) return true;
return false;
}
private boolean jj_3_9() {
if (jj_scan_token(EMPTY)) return true;
return false;
}
private boolean jj_3_8() {
if (jj_scan_token(LPAREN)) return true;
return false;
}
private boolean jj_3R_132() {
if (jj_3R_43()) return true;
return false;
}
private boolean jj_3R_53() {
if (jj_3R_20()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_66()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_67() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3R_131() {
if (jj_3R_42()) return true;
return false;
}
private boolean jj_3R_130() {
if (jj_3R_38()) return true;
return false;
}
private boolean jj_3R_129() {
if (jj_3R_135()) return true;
return false;
}
private boolean jj_3R_52() {
if (jj_3R_20()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_65()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3R_128() {
if (jj_3R_134()) return true;
return false;
}
private boolean jj_3R_127() {
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_20()) return true;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3_7() {
if (jj_3R_19()) return true;
return false;
}
private boolean jj_3R_125() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_126()) {
jj_scanpos = xsp;
if (jj_3_7()) {
jj_scanpos = xsp;
if (jj_3R_127()) {
jj_scanpos = xsp;
if (jj_3R_128()) {
jj_scanpos = xsp;
if (jj_3R_129()) {
jj_scanpos = xsp;
if (jj_3R_130()) {
jj_scanpos = xsp;
if (jj_3R_131()) {
jj_scanpos = xsp;
if (jj_3R_132()) return true;
}
}
}
}
}
}
}
return false;
}
private boolean jj_3R_126() {
if (jj_3R_133()) return true;
return false;
}
private boolean jj_3R_54() {
if (jj_3R_20()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_67()) { jj_scanpos = xsp; break; }
}
return false;
}
private boolean jj_3_6() {
if (jj_3R_21()) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
private boolean jj_3R_38() {
if (jj_scan_token(NEW)) return true;
if (jj_scan_token(LPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_52()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3_5() {
if (jj_scan_token(SIZE)) return true;
return false;
}
private boolean jj_3R_47() {
if (jj_scan_token(SIZE)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_36() {
if (jj_3R_41()) return true;
return false;
}
private boolean jj_3R_35() {
if (jj_3R_47()) return true;
return false;
}
private boolean jj_3R_23() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_35()) {
jj_scanpos = xsp;
if (jj_3R_36()) return true;
}
return false;
}
private boolean jj_3R_41() {
if (jj_3R_21()) return true;
if (jj_scan_token(LPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_54()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_40() {
if (jj_3R_21()) return true;
if (jj_scan_token(COLON)) return true;
if (jj_3R_21()) return true;
if (jj_scan_token(LPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_53()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_55() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_22()) return true;
return false;
}
private boolean jj_3R_135() {
if (jj_scan_token(SIZE)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_20()) return true;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_56() {
if (jj_scan_token(COMMA)) return true;
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3R_141() {
if (jj_scan_token(EMPTY)) return true;
if (jj_3R_19()) return true;
return false;
}
private boolean jj_3_4() {
if (jj_scan_token(EMPTY)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_20()) return true;
if (jj_scan_token(RPAREN)) return true;
return false;
}
private boolean jj_3R_134() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_4()) {
jj_scanpos = xsp;
if (jj_3R_141()) return true;
}
return false;
}
private boolean jj_3R_22() {
if (jj_3R_20()) return true;
if (jj_scan_token(COLON)) return true;
if (jj_3R_20()) return true;
return false;
}
private boolean jj_3R_42() {
if (jj_scan_token(LCURLY)) return true;
if (jj_3R_22()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_55()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RCURLY)) return true;
return false;
}
private boolean jj_3R_43() {
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_20()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_56()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACKET)) return true;
return false;
}
private boolean jj_3R_144() {
if (jj_scan_token(STRING_LITERAL)) return true;
return false;
}
private boolean jj_3R_142() {
if (jj_scan_token(FLOAT_LITERAL)) return true;
return false;
}
private boolean jj_3R_77() {
if (jj_scan_token(INTEGER_LITERAL)) return true;
return false;
}
private boolean jj_3R_147() {
if (jj_scan_token(FALSE)) return true;
return false;
}
private boolean jj_3R_146() {
if (jj_scan_token(TRUE)) return true;
return false;
}
private boolean jj_3R_143() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_146()) {
jj_scanpos = xsp;
if (jj_3R_147()) return true;
}
return false;
}
private boolean jj_3R_145() {
if (jj_scan_token(NULL)) return true;
return false;
}
/** Generated Token Manager. */
public ParserTokenManager token_source;
SimpleCharStream jj_input_stream;
/** Current token. */
public Token token;
/** Next token. */
public Token jj_nt;
private int jj_ntk;
private Token jj_scanpos, jj_lastpos;
private int jj_la;
private int jj_gen;
final private int[] jj_la1 = new int[42];
static private int[] jj_la1_0;
static private int[] jj_la1_1;
static private int[] jj_la1_2;
static {
jj_la1_init_0();
jj_la1_init_1();
jj_la1_init_2();
}
private static void jj_la1_init_0() {
jj_la1_0 = new int[] {0x157fee00,0x10000000,0x57fee00,0x157fee00,0x57f0600,0x1000,0x6000,0x57f0600,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x57f0600,0x380600,0x300000,0x40000000,0x40000000,0x20000,0x40000000,0x57f0600,0x40000000,0x57f0600,0x40000000,0x57f0600,0x380600,0x0,0x200,0x40200,0x0,};
}
private static void jj_la1_init_1() {
jj_la1_1 = new int[] {0x82000000,0x0,0x82000000,0x82000000,0x82000000,0x0,0x0,0x82000000,0x6,0x6,0x18,0x18,0x60,0x60,0x80,0x100,0x200,0x3c00,0x3c00,0xffc000,0xffc000,0x3000000,0x3000000,0x7c000000,0x7c000000,0x82000000,0x0,0x0,0x0,0x0,0x0,0x0,0x82000000,0x0,0x82000000,0x0,0x82000000,0x0,0x0,0x0,0x0,0x0,};
}
private static void jj_la1_init_2() {
jj_la1_2 = new int[] {0x4b,0x0,0x4b,0x4b,0x4b,0x0,0x0,0x4b,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x4b,0x40,0x0,0x0,0x0,0x0,0x0,0x4b,0x0,0x4b,0x0,0x4b,0x40,0x4,0x8,0x8,0x8,};
}
final private JJCalls[] jj_2_rtns = new JJCalls[22];
private boolean jj_rescan = false;
private int jj_gc = 0;
/** Constructor with InputStream. */
public Parser(java.io.InputStream stream) {
this(stream, null);
}
/** Constructor with InputStream and supplied encoding */
public Parser(java.io.InputStream stream, String encoding) {
try { jj_input_stream = new SimpleCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
token_source = new ParserTokenManager(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 42; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
public void ReInit(java.io.InputStream stream) {
ReInit(stream, null);
}
/** Reinitialise. */
public void ReInit(java.io.InputStream stream, String encoding) {
try { jj_input_stream.ReInit(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
for (int i = 0; i < 42; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Constructor. */
public Parser(java.io.Reader stream) {
jj_input_stream = new SimpleCharStream(stream, 1, 1);
token_source = new ParserTokenManager(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 42; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
public void ReInit(java.io.Reader stream) {
jj_input_stream.ReInit(stream, 1, 1);
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
for (int i = 0; i < 42; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Constructor with generated Token Manager. */
public Parser(ParserTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 42; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
public void ReInit(ParserTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
for (int i = 0; i < 42; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
private Token jj_consume_token(int kind) throws ParseException {
Token oldToken;
if ((oldToken = token).next != null) token = token.next;
else token = token.next = token_source.getNextToken();
jj_ntk = -1;
if (token.kind == kind) {
jj_gen++;
if (++jj_gc > 100) {
jj_gc = 0;
for (int i = 0; i < jj_2_rtns.length; i++) {
JJCalls c = jj_2_rtns[i];
while (c != null) {
if (c.gen < jj_gen) c.first = null;
c = c.next;
}
}
}
return token;
}
token = oldToken;
jj_kind = kind;
throw generateParseException();
}
static private final class LookaheadSuccess extends java.lang.Error { }
final private LookaheadSuccess jj_ls = new LookaheadSuccess();
private boolean jj_scan_token(int kind) {
if (jj_scanpos == jj_lastpos) {
jj_la--;
if (jj_scanpos.next == null) {
jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken();
} else {
jj_lastpos = jj_scanpos = jj_scanpos.next;
}
} else {
jj_scanpos = jj_scanpos.next;
}
if (jj_rescan) {
int i = 0; Token tok = token;
while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; }
if (tok != null) jj_add_error_token(kind, i);
}
if (jj_scanpos.kind != kind) return true;
if (jj_la == 0 && jj_scanpos == jj_lastpos) throw jj_ls;
return false;
}
/** Get the next Token. */
final public Token getNextToken() {
if (token.next != null) token = token.next;
else token = token.next = token_source.getNextToken();
jj_ntk = -1;
jj_gen++;
return token;
}
/** Get the specific Token. */
final public Token getToken(int index) {
Token t = token;
for (int i = 0; i < index; i++) {
if (t.next != null) t = t.next;
else t = t.next = token_source.getNextToken();
}
return t;
}
private int jj_ntk() {
if ((jj_nt=token.next) == null)
return (jj_ntk = (token.next=token_source.getNextToken()).kind);
else
return (jj_ntk = jj_nt.kind);
}
private java.util.List jj_expentries = new java.util.ArrayList();
private int[] jj_expentry;
private int jj_kind = -1;
private int[] jj_lasttokens = new int[100];
private int jj_endpos;
private void jj_add_error_token(int kind, int pos) {
if (pos >= 100) return;
if (pos == jj_endpos + 1) {
jj_lasttokens[jj_endpos++] = kind;
} else if (jj_endpos != 0) {
jj_expentry = new int[jj_endpos];
for (int i = 0; i < jj_endpos; i++) {
jj_expentry[i] = jj_lasttokens[i];
}
jj_entries_loop: for (java.util.Iterator> it = jj_expentries.iterator(); it.hasNext();) {
int[] oldentry = (int[])(it.next());
if (oldentry.length == jj_expentry.length) {
for (int i = 0; i < jj_expentry.length; i++) {
if (oldentry[i] != jj_expentry[i]) {
continue jj_entries_loop;
}
}
jj_expentries.add(jj_expentry);
break jj_entries_loop;
}
}
if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind;
}
}
/** Generate ParseException. */
public ParseException generateParseException() {
jj_expentries.clear();
boolean[] la1tokens = new boolean[71];
if (jj_kind >= 0) {
la1tokens[jj_kind] = true;
jj_kind = -1;
}
for (int i = 0; i < 42; i++) {
if (jj_la1[i] == jj_gen) {
for (int j = 0; j < 32; j++) {
if ((jj_la1_0[i] & (1< jj_gen) {
jj_la = p.arg; jj_lastpos = jj_scanpos = p.first;
switch (i) {
case 0: jj_3_1(); break;
case 1: jj_3_2(); break;
case 2: jj_3_3(); break;
case 3: jj_3_4(); break;
case 4: jj_3_5(); break;
case 5: jj_3_6(); break;
case 6: jj_3_7(); break;
case 7: jj_3_8(); break;
case 8: jj_3_9(); break;
case 9: jj_3_10(); break;
case 10: jj_3_11(); break;
case 11: jj_3_12(); break;
case 12: jj_3_13(); break;
case 13: jj_3_14(); break;
case 14: jj_3_15(); break;
case 15: jj_3_16(); break;
case 16: jj_3_17(); break;
case 17: jj_3_18(); break;
case 18: jj_3_19(); break;
case 19: jj_3_20(); break;
case 20: jj_3_21(); break;
case 21: jj_3_22(); break;
}
}
p = p.next;
} while (p != null);
} catch(LookaheadSuccess ls) { }
}
jj_rescan = false;
}
private void jj_save(int index, int xla) {
JJCalls p = jj_2_rtns[index];
while (p.gen > jj_gen) {
if (p.next == null) { p = p.next = new JJCalls(); break; }
p = p.next;
}
p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla;
}
static final class JJCalls {
int gen;
Token first;
int arg;
JJCalls next;
}
}