Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
org.apache.commons.jexl.parser.Parser Maven / Gradle / Ivy
Go to download
Jexl is an implementation of the JSTL Expression Language with extensions.
/*
* Licensed to the Apache Software Foundation (ASF) under one or more
* contributor license agreements. See the NOTICE file distributed with
* this work for additional information regarding copyright ownership.
* The ASF licenses this file to You under the Apache License, Version 2.0
* (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
/* Generated By:JJTree&JavaCC: Do not edit this line. Parser.java */
package org.apache.commons.jexl.parser;
import org.apache.commons.jexl.util.Introspector;
import org.apache.commons.jexl.util.introspection.Uberspect;
import java.io.Reader;
public class Parser/*@bgen(jjtree)*/implements ParserTreeConstants, ParserConstants {/*@bgen(jjtree)*/
protected JJTParserState jjtree = new JJTParserState();
private Uberspect uberspect = Introspector.getUberspect();
public void setUberspect(Uberspect uberspect)
{
this.uberspect = uberspect;
}
protected Uberspect getUberspect()
{
return uberspect;
}
public SimpleNode parse(Reader reader)
throws Exception
{
ReInit(reader);
/*
* lets do the 'Unique Init' in here to be
* safe - it's a pain to remember
*/
SimpleNode tree = JexlScript();
return tree;
}
/*
* Program structuring syntax follows.
*/
final public SimpleNode JexlScript() throws ParseException {
/*@bgen(jjtree) JexlScript */
ASTJexlScript jjtn000 = new ASTJexlScript(this, JJTJEXLSCRIPT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);String name;
try {
label_1:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case 9:
case 11:
case 12:
case 14:
case 36:
case 42:
case 43:
case 44:
case 45:
case 46:
case 47:
case 48:
case 49:
case 51:
case 52:
case 54:
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;
{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);
}
}
throw new Error("Missing return statement in function");
}
final public void Block() throws ParseException {
/*@bgen(jjtree) Block */
ASTBlock jjtn000 = new ASTBlock(this, JJTBLOCK);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(9);
label_2:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case 9:
case 11:
case 12:
case 14:
case 36:
case 42:
case 43:
case 44:
case 45:
case 46:
case 47:
case 48:
case 49:
case 51:
case 52:
case 54:
case IDENTIFIER:
case STRING_LITERAL:
;
break;
default:
jj_la1[1] = jj_gen;
break label_2;
}
Statement();
}
jj_consume_token(10);
} 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);
}
}
}
final public void EmptyFunction() throws ParseException {
/*@bgen(jjtree) EmptyFunction */
ASTEmptyFunction jjtn000 = new ASTEmptyFunction(this, JJTEMPTYFUNCTION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(11);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 54:
case IDENTIFIER:
Reference();
break;
case 12:
jj_consume_token(12);
Reference();
jj_consume_token(13);
break;
default:
jj_la1[2] = 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);
}
}
}
final public void SizeFunction() throws ParseException {
/*@bgen(jjtree) SizeFunction */
ASTSizeFunction jjtn000 = new ASTSizeFunction(this, JJTSIZEFUNCTION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(14);
jj_consume_token(12);
Reference();
jj_consume_token(13);
} 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);
}
}
}
final public void Identifier() throws ParseException {
/*@bgen(jjtree) Identifier */
ASTIdentifier jjtn000 = new ASTIdentifier(this, JJTIDENTIFIER);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);Token t;
try {
t = jj_consume_token(IDENTIFIER);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtn000.val = t.image;
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
}
}
}
/*
* Expression syntax follows.
*/
final public void Expression() throws ParseException {
/*@bgen(jjtree) Expression */
ASTExpression jjtn000 = new ASTExpression(this, JJTEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
if (jj_2_1(2147483647)) {
Assignment();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case 11:
case 12:
case 14:
case 36:
case 42:
case 43:
case 44:
case 45:
case 46:
case 47:
case 54:
case IDENTIFIER:
case STRING_LITERAL:
ConditionalOrExpression();
break;
default:
jj_la1[3] = 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);
}
}
}
final public void Assignment() throws ParseException {
/*@bgen(jjtree) #Assignment( 2) */
ASTAssignment jjtn000 = new ASTAssignment(this, JJTASSIGNMENT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
PrimaryExpression();
jj_consume_token(15);
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);
}
}
}
final public void ConditionalOrExpression() throws ParseException {
ConditionalAndExpression();
label_3:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 16:
case 17:
;
break;
default:
jj_la1[4] = jj_gen;
break label_3;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 16:
jj_consume_token(16);
ASTOrNode jjtn001 = new ASTOrNode(this, JJTORNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(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);
}
}
break;
case 17:
jj_consume_token(17);
ASTOrNode jjtn002 = new ASTOrNode(this, JJTORNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(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);
}
}
break;
default:
jj_la1[5] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void ConditionalAndExpression() throws ParseException {
InclusiveOrExpression();
label_4:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 18:
case 19:
;
break;
default:
jj_la1[6] = jj_gen;
break label_4;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 18:
jj_consume_token(18);
ASTAndNode jjtn001 = new ASTAndNode(this, JJTANDNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(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);
}
}
break;
case 19:
jj_consume_token(19);
ASTAndNode jjtn002 = new ASTAndNode(this, JJTANDNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(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);
}
}
break;
default:
jj_la1[7] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void InclusiveOrExpression() throws ParseException {
ExclusiveOrExpression();
label_5:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 20:
;
break;
default:
jj_la1[8] = jj_gen;
break label_5;
}
jj_consume_token(20);
ASTBitwiseOrNode jjtn001 = new ASTBitwiseOrNode(this, JJTBITWISEORNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(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);
}
}
}
}
final public void ExclusiveOrExpression() throws ParseException {
AndExpression();
label_6:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 21:
;
break;
default:
jj_la1[9] = jj_gen;
break label_6;
}
jj_consume_token(21);
ASTBitwiseXorNode jjtn001 = new ASTBitwiseXorNode(this, JJTBITWISEXORNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(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);
}
}
}
}
final public void AndExpression() throws ParseException {
EqualityExpression();
label_7:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 22:
;
break;
default:
jj_la1[10] = jj_gen;
break label_7;
}
jj_consume_token(22);
ASTBitwiseAndNode jjtn001 = new ASTBitwiseAndNode(this, JJTBITWISEANDNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(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);
}
}
}
}
final public void EqualityExpression() throws ParseException {
RelationalExpression();
label_8:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 23:
case 24:
case 25:
case 26:
;
break;
default:
jj_la1[11] = jj_gen;
break label_8;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 23:
jj_consume_token(23);
ASTEQNode jjtn001 = new ASTEQNode(this, JJTEQNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(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);
}
}
break;
case 24:
jj_consume_token(24);
ASTEQNode jjtn002 = new ASTEQNode(this, JJTEQNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(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);
}
}
break;
case 25:
jj_consume_token(25);
ASTNENode jjtn003 = new ASTNENode(this, JJTNENODE);
boolean jjtc003 = true;
jjtree.openNodeScope(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);
}
}
break;
case 26:
jj_consume_token(26);
ASTNENode jjtn004 = new ASTNENode(this, JJTNENODE);
boolean jjtc004 = true;
jjtree.openNodeScope(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);
}
}
break;
default:
jj_la1[12] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void RelationalExpression() throws ParseException {
AdditiveExpression();
label_9:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 27:
case 28:
case 29:
case 30:
case 31:
case 32:
case 33:
case 34:
;
break;
default:
jj_la1[13] = jj_gen;
break label_9;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 27:
jj_consume_token(27);
ASTLTNode jjtn001 = new ASTLTNode(this, JJTLTNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(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);
}
}
break;
case 28:
jj_consume_token(28);
ASTLTNode jjtn002 = new ASTLTNode(this, JJTLTNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(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);
}
}
break;
case 29:
jj_consume_token(29);
ASTGTNode jjtn003 = new ASTGTNode(this, JJTGTNODE);
boolean jjtc003 = true;
jjtree.openNodeScope(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);
}
}
break;
case 30:
jj_consume_token(30);
ASTGTNode jjtn004 = new ASTGTNode(this, JJTGTNODE);
boolean jjtc004 = true;
jjtree.openNodeScope(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);
}
}
break;
case 31:
jj_consume_token(31);
ASTLENode jjtn005 = new ASTLENode(this, JJTLENODE);
boolean jjtc005 = true;
jjtree.openNodeScope(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);
}
}
break;
case 32:
jj_consume_token(32);
ASTLENode jjtn006 = new ASTLENode(this, JJTLENODE);
boolean jjtc006 = true;
jjtree.openNodeScope(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);
}
}
break;
case 33:
jj_consume_token(33);
ASTGENode jjtn007 = new ASTGENode(this, JJTGENODE);
boolean jjtc007 = true;
jjtree.openNodeScope(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);
}
}
break;
case 34:
jj_consume_token(34);
ASTGENode jjtn008 = new ASTGENode(this, JJTGENODE);
boolean jjtc008 = true;
jjtree.openNodeScope(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);
}
}
break;
default:
jj_la1[14] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void AdditiveExpression() throws ParseException {
MultiplicativeExpression();
label_10:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 35:
case 36:
;
break;
default:
jj_la1[15] = jj_gen;
break label_10;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 35:
jj_consume_token(35);
ASTAddNode jjtn001 = new ASTAddNode(this, JJTADDNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
try {
MultiplicativeExpression();
} 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);
}
}
break;
case 36:
jj_consume_token(36);
ASTSubtractNode jjtn002 = new ASTSubtractNode(this, JJTSUBTRACTNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
try {
MultiplicativeExpression();
} 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);
}
}
break;
default:
jj_la1[16] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void MultiplicativeExpression() throws ParseException {
UnaryExpression();
label_11:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 37:
case 38:
case 39:
case 40:
case 41:
;
break;
default:
jj_la1[17] = jj_gen;
break label_11;
}
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 37:
jj_consume_token(37);
ASTMulNode jjtn001 = new ASTMulNode(this, JJTMULNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(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);
}
}
break;
case 38:
jj_consume_token(38);
ASTDivNode jjtn002 = new ASTDivNode(this, JJTDIVNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(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);
}
}
break;
case 39:
jj_consume_token(39);
ASTDivNode jjtn003 = new ASTDivNode(this, JJTDIVNODE);
boolean jjtc003 = true;
jjtree.openNodeScope(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);
}
}
break;
case 40:
jj_consume_token(40);
ASTModNode jjtn004 = new ASTModNode(this, JJTMODNODE);
boolean jjtc004 = true;
jjtree.openNodeScope(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);
}
}
break;
case 41:
jj_consume_token(41);
ASTModNode jjtn005 = new ASTModNode(this, JJTMODNODE);
boolean jjtc005 = true;
jjtree.openNodeScope(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);
}
}
break;
default:
jj_la1[18] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final public void UnaryExpression() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 36:
jj_consume_token(36);
ASTUnaryMinusNode jjtn001 = new ASTUnaryMinusNode(this, JJTUNARYMINUSNODE);
boolean jjtc001 = true;
jjtree.openNodeScope(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);
}
}
break;
case 42:
jj_consume_token(42);
ASTBitwiseComplNode jjtn002 = new ASTBitwiseComplNode(this, JJTBITWISECOMPLNODE);
boolean jjtc002 = true;
jjtree.openNodeScope(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);
}
}
break;
case 43:
jj_consume_token(43);
ASTNotNode jjtn003 = new ASTNotNode(this, JJTNOTNODE);
boolean jjtc003 = true;
jjtree.openNodeScope(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);
}
}
break;
case 44:
jj_consume_token(44);
ASTNotNode jjtn004 = new ASTNotNode(this, JJTNOTNODE);
boolean jjtc004 = true;
jjtree.openNodeScope(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);
}
}
break;
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case 11:
case 12:
case 14:
case 45:
case 46:
case 47:
case 54:
case IDENTIFIER:
case STRING_LITERAL:
PrimaryExpression();
break;
default:
jj_la1[19] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void PrimaryExpression() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case 45:
case 46:
case 47:
case STRING_LITERAL:
Literal();
break;
default:
jj_la1[20] = jj_gen;
if (jj_2_2(3)) {
Reference();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 12:
jj_consume_token(12);
Expression();
jj_consume_token(13);
break;
case 11:
EmptyFunction();
break;
case 14:
SizeFunction();
break;
default:
jj_la1[21] = jj_gen;
if (jj_2_3(3)) {
ArrayLiteral();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 54:
MapLiteral();
break;
default:
jj_la1[22] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
}
}
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 46:
case 47:
BooleanLiteral();
break;
case STRING_LITERAL:
StringLiteral();
break;
case 45:
NullLiteral();
break;
default:
jj_la1[23] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void NullLiteral() throws ParseException {
/*@bgen(jjtree) NullLiteral */
ASTNullLiteral jjtn000 = new ASTNullLiteral(this, JJTNULLLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(45);
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
}
}
}
final public void BooleanLiteral() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 46:
ASTTrueNode jjtn001 = new ASTTrueNode(this, JJTTRUENODE);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
try {
jj_consume_token(46);
} finally {
if (jjtc001) {
jjtree.closeNodeScope(jjtn001, true);
}
}
break;
case 47:
ASTFalseNode jjtn002 = new ASTFalseNode(this, JJTFALSENODE);
boolean jjtc002 = true;
jjtree.openNodeScope(jjtn002);
try {
jj_consume_token(47);
} finally {
if (jjtc002) {
jjtree.closeNodeScope(jjtn002, true);
}
}
break;
default:
jj_la1[24] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
final public void IntegerLiteral() throws ParseException {
/*@bgen(jjtree) IntegerLiteral */
ASTIntegerLiteral jjtn000 = new ASTIntegerLiteral(this, JJTINTEGERLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);Token t;
try {
t = jj_consume_token(INTEGER_LITERAL);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtn000.val = Integer.valueOf(t.image);
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
}
}
}
final public void FloatLiteral() throws ParseException {
/*@bgen(jjtree) FloatLiteral */
ASTFloatLiteral jjtn000 = new ASTFloatLiteral(this, JJTFLOATLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);Token t;
try {
t = jj_consume_token(FLOAT_LITERAL);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtn000.val = Float.valueOf(t.image);
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
}
}
}
final public void StringLiteral() throws ParseException {
/*@bgen(jjtree) StringLiteral */
ASTStringLiteral jjtn000 = new ASTStringLiteral(this, JJTSTRINGLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);Token t;
try {
t = jj_consume_token(STRING_LITERAL);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
jjtn000.literal = t.image.substring(1,t.image.length()-1);
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
}
}
}
/*
* Statement syntax follows.
*/
final public void Statement() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 48:
jj_consume_token(48);
break;
default:
jj_la1[25] = jj_gen;
if (jj_2_4(3)) {
Block();
} else if (jj_2_5(2147483647)) {
ReferenceExpression();
} else if (jj_2_6(2147483647)) {
StatementExpression();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case 11:
case 12:
case 14:
case 36:
case 42:
case 43:
case 44:
case 45:
case 46:
case 47:
case 54:
case IDENTIFIER:
case STRING_LITERAL:
ExpressionExpression();
break;
case 49:
IfStatement();
break;
case 52:
ForeachStatement();
break;
case 51:
WhileStatement();
break;
default:
jj_la1[26] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
final public void ExpressionExpression() throws ParseException {
/*@bgen(jjtree) ExpressionExpression */
ASTExpressionExpression jjtn000 = new ASTExpressionExpression(this, JJTEXPRESSIONEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
Expression();
jj_consume_token(48);
} 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);
}
}
}
final public void StatementExpression() throws ParseException {
/*@bgen(jjtree) StatementExpression */
ASTStatementExpression jjtn000 = new ASTStatementExpression(this, JJTSTATEMENTEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
Assignment();
jj_consume_token(48);
} 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);
}
}
}
final public void ReferenceExpression() throws ParseException {
/*@bgen(jjtree) ReferenceExpression */
ASTReferenceExpression jjtn000 = new ASTReferenceExpression(this, JJTREFERENCEEXPRESSION);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
Reference();
jj_consume_token(48);
} 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);
}
}
}
final public void IfStatement() throws ParseException {
/*@bgen(jjtree) IfStatement */
ASTIfStatement jjtn000 = new ASTIfStatement(this, JJTIFSTATEMENT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(49);
jj_consume_token(12);
Expression();
jj_consume_token(13);
Statement();
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 50:
jj_consume_token(50);
Statement();
break;
default:
jj_la1[27] = 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);
}
}
}
final public void WhileStatement() throws ParseException {
/*@bgen(jjtree) WhileStatement */
ASTWhileStatement jjtn000 = new ASTWhileStatement(this, JJTWHILESTATEMENT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(51);
jj_consume_token(12);
Expression();
jj_consume_token(13);
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);
}
}
}
final public void ForeachStatement() throws ParseException {
/*@bgen(jjtree) ForeachStatement */
ASTForeachStatement jjtn000 = new ASTForeachStatement(this, JJTFOREACHSTATEMENT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(52);
jj_consume_token(12);
Reference();
jj_consume_token(53);
Reference();
jj_consume_token(13);
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);
}
}
}
final public void MapLiteral() throws ParseException {
/*@bgen(jjtree) MapLiteral */
ASTMapLiteral jjtn000 = new ASTMapLiteral(this, JJTMAPLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(54);
MapEntry();
label_12:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 55:
;
break;
default:
jj_la1[28] = jj_gen;
break label_12;
}
jj_consume_token(55);
MapEntry();
}
jj_consume_token(56);
} 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);
}
}
}
final public void ArrayLiteral() throws ParseException {
/*@bgen(jjtree) ArrayLiteral */
ASTArrayLiteral jjtn000 = new ASTArrayLiteral(this, JJTARRAYLITERAL);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(54);
Parameter();
label_13:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 55:
;
break;
default:
jj_la1[29] = jj_gen;
break label_13;
}
jj_consume_token(55);
Parameter();
}
jj_consume_token(56);
} 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);
}
}
}
final public void MapEntry() throws ParseException {
/*@bgen(jjtree) MapEntry */
ASTMapEntry jjtn000 = new ASTMapEntry(this, JJTMAPENTRY);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
Parameter();
jj_consume_token(57);
Parameter();
} 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);
}
}
}
final public void Method() throws ParseException {
/*@bgen(jjtree) Method */
ASTMethod jjtn000 = new ASTMethod(this, JJTMETHOD);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
Identifier();
jj_consume_token(12);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case 11:
case 12:
case 14:
case 36:
case 42:
case 43:
case 44:
case 45:
case 46:
case 47:
case 54:
case IDENTIFIER:
case STRING_LITERAL:
Parameter();
label_14:
while (true) {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 55:
;
break;
default:
jj_la1[30] = jj_gen;
break label_14;
}
jj_consume_token(55);
Parameter();
}
break;
default:
jj_la1[31] = jj_gen;
;
}
jj_consume_token(13);
} 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);
}
}
}
final public void ArrayAccess() throws ParseException {
/*@bgen(jjtree) ArrayAccess */
ASTArrayAccess jjtn000 = new ASTArrayAccess(this, JJTARRAYACCESS);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
Identifier();
label_15:
while (true) {
jj_consume_token(54);
if (jj_2_7(3)) {
Expression();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
IntegerLiteral();
break;
case 54:
case IDENTIFIER:
Reference();
break;
default:
jj_la1[32] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
jj_consume_token(56);
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 54:
;
break;
default:
jj_la1[33] = jj_gen;
break label_15;
}
}
} 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);
}
}
}
final public void SizeMethod() throws ParseException {
/*@bgen(jjtree) SizeMethod */
ASTSizeMethod jjtn000 = new ASTSizeMethod(this, JJTSIZEMETHOD);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jj_consume_token(14);
jj_consume_token(12);
jj_consume_token(13);
} finally {
if (jjtc000) {
jjtree.closeNodeScope(jjtn000, true);
}
}
}
final public void Reference() throws ParseException {
/*@bgen(jjtree) Reference */
ASTReference jjtn000 = new ASTReference(this, JJTREFERENCE);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
if (jj_2_8(2147483647)) {
ArrayAccess();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case IDENTIFIER:
Identifier();
break;
default:
jj_la1[34] = jj_gen;
if (jj_2_9(3)) {
MapLiteral();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 54:
ArrayLiteral();
break;
default:
jj_la1[35] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
label_16:
while (true) {
if (jj_2_10(2)) {
;
} else {
break label_16;
}
jj_consume_token(58);
if (jj_2_12(2147483647)) {
ArrayAccess();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case 14:
case IDENTIFIER:
if (jj_2_11(3)) {
Method();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case 14:
SizeMethod();
break;
case IDENTIFIER:
Identifier();
break;
case INTEGER_LITERAL:
IntegerLiteral();
break;
default:
jj_la1[36] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
break;
default:
jj_la1[37] = 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);
}
}
}
final public void Parameter() throws ParseException {
if (jj_2_13(3)) {
Expression();
} else {
switch ((jj_ntk==-1)?jj_ntk():jj_ntk) {
case INTEGER_LITERAL:
case FLOAT_LITERAL:
case 45:
case 46:
case 47:
case STRING_LITERAL:
Literal();
break;
case 54:
case IDENTIFIER:
Reference();
break;
default:
jj_la1[38] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final 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); }
}
final private boolean jj_3_4() {
if (jj_3R_20()) return true;
return false;
}
final private boolean jj_3R_98() {
if (jj_scan_token(20)) return true;
if (jj_3R_97()) return true;
return false;
}
final private boolean jj_3R_58() {
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(48)) {
jj_scanpos = xsp;
if (jj_3_4()) {
jj_scanpos = xsp;
if (jj_3R_71()) {
jj_scanpos = xsp;
if (jj_3R_72()) {
jj_scanpos = xsp;
if (jj_3R_73()) {
jj_scanpos = xsp;
if (jj_3R_74()) {
jj_scanpos = xsp;
if (jj_3R_75()) {
jj_scanpos = xsp;
if (jj_3R_76()) return true;
}
}
}
}
}
}
}
return false;
}
final private boolean jj_3R_91() {
if (jj_3R_97()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_98()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_100() {
if (jj_scan_token(19)) return true;
if (jj_3R_91()) return true;
return false;
}
final private boolean jj_3R_99() {
if (jj_scan_token(18)) return true;
if (jj_3R_91()) return true;
return false;
}
final private boolean jj_3R_92() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_99()) {
jj_scanpos = xsp;
if (jj_3R_100()) return true;
}
return false;
}
final private boolean jj_3R_77() {
if (jj_3R_91()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_92()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_81() {
if (jj_scan_token(STRING_LITERAL)) return true;
return false;
}
final private boolean jj_3R_94() {
if (jj_scan_token(17)) return true;
if (jj_3R_77()) return true;
return false;
}
final private boolean jj_3R_93() {
if (jj_scan_token(16)) return true;
if (jj_3R_77()) return true;
return false;
}
final private boolean jj_3R_78() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_93()) {
jj_scanpos = xsp;
if (jj_3R_94()) return true;
}
return false;
}
final private boolean jj_3R_60() {
if (jj_3R_77()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_78()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_32() {
if (jj_3R_18()) return true;
return false;
}
final private boolean jj_3R_79() {
if (jj_scan_token(FLOAT_LITERAL)) return true;
return false;
}
final private boolean jj_3_1() {
if (jj_3R_17()) return true;
if (jj_scan_token(15)) return true;
return false;
}
final private boolean jj_3R_59() {
if (jj_3R_17()) return true;
if (jj_scan_token(15)) return true;
if (jj_3R_21()) return true;
return false;
}
final private boolean jj_3R_51() {
if (jj_3R_46()) return true;
return false;
}
final private boolean jj_3R_45() {
if (jj_3R_60()) return true;
return false;
}
final private boolean jj_3R_21() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_44()) {
jj_scanpos = xsp;
if (jj_3R_45()) return true;
}
return false;
}
final private boolean jj_3R_44() {
if (jj_3R_59()) return true;
return false;
}
final private boolean jj_3R_46() {
if (jj_scan_token(INTEGER_LITERAL)) return true;
return false;
}
final private boolean jj_3R_25() {
if (jj_3R_18()) return true;
return false;
}
final private boolean jj_3R_57() {
if (jj_3R_18()) return true;
return false;
}
final private boolean jj_3R_31() {
if (jj_3R_46()) return true;
return false;
}
final private boolean jj_3R_84() {
if (jj_3R_18()) return true;
return false;
}
final private boolean jj_3R_68() {
if (jj_scan_token(12)) return true;
if (jj_3R_18()) return true;
if (jj_scan_token(13)) return true;
return false;
}
final private boolean jj_3R_96() {
if (jj_scan_token(47)) return true;
return false;
}
final private boolean jj_3R_50() {
if (jj_3R_22()) return true;
return false;
}
final private boolean jj_3R_95() {
if (jj_scan_token(46)) return true;
return false;
}
final private boolean jj_3R_80() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_95()) {
jj_scanpos = xsp;
if (jj_3R_96()) return true;
}
return false;
}
final private boolean jj_3R_22() {
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
final private boolean jj_3R_82() {
if (jj_scan_token(45)) return true;
return false;
}
final private boolean jj_3R_56() {
if (jj_3R_53()) return true;
return false;
}
final private boolean jj_3R_55() {
if (jj_scan_token(14)) return true;
if (jj_scan_token(12)) return true;
if (jj_3R_18()) return true;
if (jj_scan_token(13)) return true;
return false;
}
final private boolean jj_3R_67() {
if (jj_3R_18()) return true;
return false;
}
final private boolean jj_3R_66() {
if (jj_3R_82()) return true;
return false;
}
final private boolean jj_3R_30() {
if (jj_3R_21()) return true;
return false;
}
final private boolean jj_3R_24() {
if (jj_3R_46()) return true;
return false;
}
final private boolean jj_3R_65() {
if (jj_3R_81()) return true;
return false;
}
final private boolean jj_3R_54() {
if (jj_scan_token(11)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_67()) {
jj_scanpos = xsp;
if (jj_3R_68()) return true;
}
return false;
}
final private boolean jj_3R_49() {
if (jj_3R_61()) return true;
return false;
}
final private boolean jj_3R_43() {
if (jj_3R_58()) return true;
return false;
}
final private boolean jj_3R_64() {
if (jj_3R_80()) return true;
return false;
}
final private boolean jj_3R_83() {
if (jj_3R_46()) return true;
return false;
}
final private boolean jj_3R_63() {
if (jj_3R_79()) return true;
return false;
}
final private boolean jj_3R_53() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_62()) {
jj_scanpos = xsp;
if (jj_3R_63()) {
jj_scanpos = xsp;
if (jj_3R_64()) {
jj_scanpos = xsp;
if (jj_3R_65()) {
jj_scanpos = xsp;
if (jj_3R_66()) return true;
}
}
}
}
return false;
}
final private boolean jj_3R_62() {
if (jj_3R_46()) return true;
return false;
}
final private boolean jj_3R_20() {
if (jj_scan_token(9)) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_43()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(10)) return true;
return false;
}
final private boolean jj_3R_23() {
if (jj_3R_21()) return true;
return false;
}
final private boolean jj_3R_37() {
if (jj_3R_26()) return true;
return false;
}
final private boolean jj_3_12() {
if (jj_3R_22()) return true;
if (jj_scan_token(54)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_30()) {
jj_scanpos = xsp;
if (jj_3R_31()) {
jj_scanpos = xsp;
if (jj_3R_32()) return true;
}
}
if (jj_scan_token(56)) return true;
return false;
}
final private boolean jj_3_3() {
if (jj_3R_19()) return true;
return false;
}
final private boolean jj_3R_36() {
if (jj_3R_55()) return true;
return false;
}
final private boolean jj_3_13() {
if (jj_3R_21()) return true;
return false;
}
final private boolean jj_3R_41() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_13()) {
jj_scanpos = xsp;
if (jj_3R_56()) {
jj_scanpos = xsp;
if (jj_3R_57()) return true;
}
}
return false;
}
final private boolean jj_3R_35() {
if (jj_3R_54()) return true;
return false;
}
final private boolean jj_3R_34() {
if (jj_scan_token(12)) return true;
if (jj_3R_21()) return true;
if (jj_scan_token(13)) return true;
return false;
}
final private boolean jj_3R_101() {
if (jj_scan_token(55)) return true;
if (jj_3R_41()) return true;
return false;
}
final private boolean jj_3_11() {
if (jj_3R_29()) return true;
return false;
}
final private boolean jj_3R_28() {
Token xsp;
xsp = jj_scanpos;
if (jj_3_11()) {
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;
}
final private boolean jj_3_2() {
if (jj_3R_18()) return true;
return false;
}
final private boolean jj_3R_27() {
if (jj_3R_48()) return true;
return false;
}
final private boolean jj_3R_33() {
if (jj_3R_53()) return true;
return false;
}
final private boolean jj_3R_17() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_33()) {
jj_scanpos = xsp;
if (jj_3_2()) {
jj_scanpos = xsp;
if (jj_3R_34()) {
jj_scanpos = xsp;
if (jj_3R_35()) {
jj_scanpos = xsp;
if (jj_3R_36()) {
jj_scanpos = xsp;
if (jj_3_3()) {
jj_scanpos = xsp;
if (jj_3R_37()) return true;
}
}
}
}
}
}
return false;
}
final private boolean jj_3_7() {
if (jj_3R_21()) return true;
return false;
}
final private boolean jj_3R_40() {
if (jj_3R_19()) return true;
return false;
}
final private boolean jj_3_8() {
if (jj_3R_22()) return true;
if (jj_scan_token(54)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_23()) {
jj_scanpos = xsp;
if (jj_3R_24()) {
jj_scanpos = xsp;
if (jj_3R_25()) return true;
}
}
if (jj_scan_token(56)) return true;
return false;
}
final private boolean jj_3_10() {
if (jj_scan_token(58)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_27()) {
jj_scanpos = xsp;
if (jj_3R_28()) return true;
}
return false;
}
final private boolean jj_3_9() {
if (jj_3R_26()) return true;
return false;
}
final private boolean jj_3R_132() {
if (jj_3R_17()) return true;
return false;
}
final private boolean jj_3R_39() {
if (jj_3R_22()) return true;
return false;
}
final private boolean jj_3R_131() {
if (jj_scan_token(44)) return true;
if (jj_3R_124()) return true;
return false;
}
final private boolean jj_3R_70() {
if (jj_scan_token(54)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3_7()) {
jj_scanpos = xsp;
if (jj_3R_83()) {
jj_scanpos = xsp;
if (jj_3R_84()) return true;
}
}
if (jj_scan_token(56)) return true;
return false;
}
final private boolean jj_3R_130() {
if (jj_scan_token(43)) return true;
if (jj_3R_124()) return true;
return false;
}
final private boolean jj_3R_52() {
if (jj_3R_41()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_101()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_129() {
if (jj_scan_token(42)) return true;
if (jj_3R_124()) return true;
return false;
}
final private boolean jj_3R_38() {
if (jj_3R_48()) return true;
return false;
}
final private boolean jj_3R_61() {
if (jj_scan_token(14)) return true;
if (jj_scan_token(12)) return true;
if (jj_scan_token(13)) return true;
return false;
}
final private boolean jj_3R_128() {
if (jj_scan_token(36)) return true;
if (jj_3R_124()) return true;
return false;
}
final private boolean jj_3R_124() {
Token xsp;
xsp = jj_scanpos;
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;
}
final private boolean jj_3R_18() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_38()) {
jj_scanpos = xsp;
if (jj_3R_39()) {
jj_scanpos = xsp;
if (jj_3_9()) {
jj_scanpos = xsp;
if (jj_3R_40()) return true;
}
}
}
while (true) {
xsp = jj_scanpos;
if (jj_3_10()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_137() {
if (jj_scan_token(41)) return true;
if (jj_3R_124()) return true;
return false;
}
final private boolean jj_3R_42() {
if (jj_scan_token(55)) return true;
if (jj_3R_41()) return true;
return false;
}
final private boolean jj_3R_136() {
if (jj_scan_token(40)) return true;
if (jj_3R_124()) return true;
return false;
}
final private boolean jj_3R_48() {
if (jj_3R_22()) return true;
Token xsp;
if (jj_3R_70()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_70()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_135() {
if (jj_scan_token(39)) return true;
if (jj_3R_124()) return true;
return false;
}
final private boolean jj_3R_134() {
if (jj_scan_token(38)) return true;
if (jj_3R_124()) return true;
return false;
}
final private boolean jj_3R_69() {
if (jj_scan_token(55)) return true;
if (jj_3R_47()) return true;
return false;
}
final private boolean jj_3R_133() {
if (jj_scan_token(37)) return true;
if (jj_3R_124()) return true;
return false;
}
final private boolean jj_3R_125() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_133()) {
jj_scanpos = xsp;
if (jj_3R_134()) {
jj_scanpos = xsp;
if (jj_3R_135()) {
jj_scanpos = xsp;
if (jj_3R_136()) {
jj_scanpos = xsp;
if (jj_3R_137()) return true;
}
}
}
}
return false;
}
final private boolean jj_3R_29() {
if (jj_3R_22()) return true;
if (jj_scan_token(12)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_52()) jj_scanpos = xsp;
if (jj_scan_token(13)) return true;
return false;
}
final private boolean jj_3R_114() {
if (jj_3R_124()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_125()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_47() {
if (jj_3R_41()) return true;
if (jj_scan_token(57)) return true;
if (jj_3R_41()) return true;
return false;
}
final private boolean jj_3R_127() {
if (jj_scan_token(36)) return true;
if (jj_3R_114()) return true;
return false;
}
final private boolean jj_3R_126() {
if (jj_scan_token(35)) return true;
if (jj_3R_114()) return true;
return false;
}
final private boolean jj_3R_115() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_126()) {
jj_scanpos = xsp;
if (jj_3R_127()) return true;
}
return false;
}
final private boolean jj_3R_19() {
if (jj_scan_token(54)) return true;
if (jj_3R_41()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_42()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(56)) return true;
return false;
}
final private boolean jj_3R_108() {
if (jj_3R_114()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_115()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_26() {
if (jj_scan_token(54)) return true;
if (jj_3R_47()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_69()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(56)) return true;
return false;
}
final private boolean jj_3R_123() {
if (jj_scan_token(34)) return true;
if (jj_3R_108()) return true;
return false;
}
final private boolean jj_3R_122() {
if (jj_scan_token(33)) return true;
if (jj_3R_108()) return true;
return false;
}
final private boolean jj_3R_89() {
if (jj_scan_token(52)) return true;
if (jj_scan_token(12)) return true;
return false;
}
final private boolean jj_3R_121() {
if (jj_scan_token(32)) return true;
if (jj_3R_108()) return true;
return false;
}
final private boolean jj_3R_120() {
if (jj_scan_token(31)) return true;
if (jj_3R_108()) return true;
return false;
}
final private boolean jj_3R_119() {
if (jj_scan_token(30)) return true;
if (jj_3R_108()) return true;
return false;
}
final private boolean jj_3R_90() {
if (jj_scan_token(51)) return true;
if (jj_scan_token(12)) return true;
return false;
}
final private boolean jj_3R_118() {
if (jj_scan_token(29)) return true;
if (jj_3R_108()) return true;
return false;
}
final private boolean jj_3R_117() {
if (jj_scan_token(28)) return true;
if (jj_3R_108()) return true;
return false;
}
final private boolean jj_3R_116() {
if (jj_scan_token(27)) return true;
if (jj_3R_108()) return true;
return false;
}
final private boolean jj_3R_109() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_116()) {
jj_scanpos = xsp;
if (jj_3R_117()) {
jj_scanpos = xsp;
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()) {
jj_scanpos = xsp;
if (jj_3R_123()) return true;
}
}
}
}
}
}
}
return false;
}
final private boolean jj_3R_88() {
if (jj_scan_token(49)) return true;
if (jj_scan_token(12)) return true;
return false;
}
final private boolean jj_3R_106() {
if (jj_3R_108()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_109()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_85() {
if (jj_3R_18()) return true;
if (jj_scan_token(48)) return true;
return false;
}
final private boolean jj_3R_113() {
if (jj_scan_token(26)) return true;
if (jj_3R_106()) return true;
return false;
}
final private boolean jj_3R_112() {
if (jj_scan_token(25)) return true;
if (jj_3R_106()) return true;
return false;
}
final private boolean jj_3R_86() {
if (jj_3R_59()) return true;
return false;
}
final private boolean jj_3R_111() {
if (jj_scan_token(24)) return true;
if (jj_3R_106()) return true;
return false;
}
final private boolean jj_3R_110() {
if (jj_scan_token(23)) return true;
if (jj_3R_106()) return true;
return false;
}
final private boolean jj_3R_107() {
Token xsp;
xsp = jj_scanpos;
if (jj_3R_110()) {
jj_scanpos = xsp;
if (jj_3R_111()) {
jj_scanpos = xsp;
if (jj_3R_112()) {
jj_scanpos = xsp;
if (jj_3R_113()) return true;
}
}
}
return false;
}
final private boolean jj_3R_87() {
if (jj_3R_21()) return true;
if (jj_scan_token(48)) return true;
return false;
}
final private boolean jj_3R_104() {
if (jj_3R_106()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_107()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3_6() {
if (jj_3R_17()) return true;
if (jj_scan_token(15)) return true;
return false;
}
final private boolean jj_3_5() {
if (jj_3R_18()) return true;
if (jj_scan_token(48)) return true;
return false;
}
final private boolean jj_3R_76() {
if (jj_3R_90()) return true;
return false;
}
final private boolean jj_3R_105() {
if (jj_scan_token(22)) return true;
if (jj_3R_104()) return true;
return false;
}
final private boolean jj_3R_75() {
if (jj_3R_89()) return true;
return false;
}
final private boolean jj_3R_102() {
if (jj_3R_104()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_105()) { jj_scanpos = xsp; break; }
}
return false;
}
final private boolean jj_3R_74() {
if (jj_3R_88()) return true;
return false;
}
final private boolean jj_3R_73() {
if (jj_3R_87()) return true;
return false;
}
final private boolean jj_3R_103() {
if (jj_scan_token(21)) return true;
if (jj_3R_102()) return true;
return false;
}
final private boolean jj_3R_72() {
if (jj_3R_86()) return true;
return false;
}
final private boolean jj_3R_71() {
if (jj_3R_85()) return true;
return false;
}
final private boolean jj_3R_97() {
if (jj_3R_102()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_103()) { jj_scanpos = xsp; break; }
}
return false;
}
public ParserTokenManager token_source;
SimpleCharStream jj_input_stream;
public Token token, jj_nt;
private int jj_ntk;
private Token jj_scanpos, jj_lastpos;
private int jj_la;
public boolean lookingAhead = false;
private boolean jj_semLA;
private int jj_gen;
final private int[] jj_la1 = new int[39];
static private int[] jj_la1_0;
static private int[] jj_la1_1;
static {
jj_la1_0();
jj_la1_1();
}
private static void jj_la1_0() {
jj_la1_0 = new int[] {0x5b80,0x5b80,0x1000,0x5980,0x30000,0x30000,0xc0000,0xc0000,0x100000,0x200000,0x400000,0x7800000,0x7800000,0xf8000000,0xf8000000,0x0,0x0,0x0,0x0,0x5980,0x180,0x5800,0x0,0x180,0x0,0x0,0x5980,0x0,0x0,0x0,0x0,0x5980,0x80,0x0,0x0,0x0,0x4080,0x4080,0x180,};
}
private static void jj_la1_1() {
jj_la1_1 = new int[] {0x485bfc10,0x485bfc10,0x8400000,0x4840fc10,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x7,0x7,0x18,0x18,0x3e0,0x3e0,0x4840fc10,0x4000e000,0x0,0x400000,0x4000e000,0xc000,0x10000,0x485afc10,0x40000,0x800000,0x800000,0x800000,0x4840fc10,0x8400000,0x400000,0x8000000,0x400000,0x8000000,0x8000000,0x4840e000,};
}
final private JJCalls[] jj_2_rtns = new JJCalls[13];
private boolean jj_rescan = false;
private int jj_gc = 0;
public Parser(java.io.InputStream stream) {
this(stream, null);
}
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 < 39; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
public void ReInit(java.io.InputStream stream) {
ReInit(stream, null);
}
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 < 39; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
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 < 39; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
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 < 39; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
public Parser(ParserTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 39; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
public void ReInit(ParserTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
for (int i = 0; i < 39; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
final 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();
final 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;
}
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;
}
final public Token getToken(int index) {
Token t = lookingAhead ? jj_scanpos : token;
for (int i = 0; i < index; i++) {
if (t.next != null) t = t.next;
else t = t.next = token_source.getNextToken();
}
return t;
}
final 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.Vector jj_expentries = new java.util.Vector();
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];
}
boolean exists = false;
for (java.util.Enumeration e = jj_expentries.elements(); e.hasMoreElements();) {
int[] oldentry = (int[])(e.nextElement());
if (oldentry.length == jj_expentry.length) {
exists = true;
for (int i = 0; i < jj_expentry.length; i++) {
if (oldentry[i] != jj_expentry[i]) {
exists = false;
break;
}
}
if (exists) break;
}
}
if (!exists) jj_expentries.addElement(jj_expentry);
if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind;
}
}
public ParseException generateParseException() {
jj_expentries.removeAllElements();
boolean[] la1tokens = new boolean[63];
for (int i = 0; i < 63; i++) {
la1tokens[i] = false;
}
if (jj_kind >= 0) {
la1tokens[jj_kind] = true;
jj_kind = -1;
}
for (int i = 0; i < 39; 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;
}
}
p = p.next;
} while (p != null);
} catch(LookaheadSuccess ls) { }
}
jj_rescan = false;
}
final 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;
}
}