javacc-7.0.1.test.tmp.Transformer.ToyParser Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of javacc Show documentation
Show all versions of javacc Show documentation
JavaCC is a parser/scanner generator for Java.
/* ToyParser.java */
/* Generated By:JJTree&JavaCC: Do not edit this line. ToyParser.java */
import java.io.*;
public class ToyParser/*@bgen(jjtree)*/implements ToyParserTreeConstants, ToyParserConstants {/*@bgen(jjtree)*/
protected static JJTToyParserState jjtree = new JJTToyParserState();
public static void main(String args[]) throws Exception {
ToyParser parser;
ASTCompilationUnit node;
if (args.length == 2) {
System.out.println("Toy Preprocessor: Reading from file " + args[0] + " . . .");
try {
parser = new ToyParser(new FileInputStream(args[0]));
} catch (FileNotFoundException e) {
System.out.println("Toy Preprocessor: File " + args[0] + " not found.");
return;
}
} else {
System.out.println("Toy Preprocessor: Usage is \"java ToyParser inputfile outputfile\"");
return;
}
try {
node = parser.CompilationUnit();
PrintWriter ostr = new PrintWriter(new FileWriter(args[1]));
node.process(ostr);
ostr.close();
System.out.println("Toy Preprocessor: Transformation completed successfully.");
} catch (ParseException e) {
System.out.println("Toy Preprocessor: Encountered errors during parse.");
} catch (IOException e) {
System.out.println("Toy Preprocessor: Could not create file " + args[1]);
}
}
/*****************************************
* THE JAVA LANGUAGE GRAMMAR STARTS HERE *
*****************************************/
/*
* Program structuring syntax follows.
*/
static final public
ASTCompilationUnit CompilationUnit() throws ParseException {/*@bgen(jjtree) CompilationUnit */
ASTCompilationUnit jjtn000 = new ASTCompilationUnit(JJTCOMPILATIONUNIT);
boolean jjtc000 = true;
jjtree.openNodeScope(jjtn000);
try {
jjtn000.setFirstToken(getToken(1));
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PACKAGE:{
PackageDeclaration();
break;
}
default:
jj_la1[0] = jj_gen;
;
}
label_1:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case IMPORT:{
;
break;
}
default:
jj_la1[1] = jj_gen;
break label_1;
}
ImportDeclaration();
}
label_2:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case CLASS:
case FINAL:
case INTERFACE:
case PUBLIC:
case SEMICOLON:{
;
break;
}
default:
jj_la1[2] = jj_gen;
break label_2;
}
TypeDeclaration();
}
jj_consume_token(0);
jjtree.closeNodeScope(jjtn000, true);
jjtc000 = false;
{if ("" != null) 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");
}
static final public void PackageDeclaration() throws ParseException {
jj_consume_token(PACKAGE);
Name();
jj_consume_token(SEMICOLON);
}
static final public void ImportDeclaration() throws ParseException {
jj_consume_token(IMPORT);
Name();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case DOT:{
jj_consume_token(DOT);
jj_consume_token(STAR);
break;
}
default:
jj_la1[3] = jj_gen;
;
}
jj_consume_token(SEMICOLON);
}
static final public void TypeDeclaration() throws ParseException {
if (jj_2_1(2147483647)) {
ClassDeclaration();
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case INTERFACE:
case PUBLIC:{
InterfaceDeclaration();
break;
}
case SEMICOLON:{
jj_consume_token(SEMICOLON);
break;
}
default:
jj_la1[4] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
/*
* Declaration syntax follows.
*/
static final public
void ClassDeclaration() throws ParseException {
label_3:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case FINAL:
case PUBLIC:{
;
break;
}
default:
jj_la1[5] = jj_gen;
break label_3;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:{
jj_consume_token(ABSTRACT);
break;
}
case FINAL:{
jj_consume_token(FINAL);
break;
}
case PUBLIC:{
jj_consume_token(PUBLIC);
break;
}
default:
jj_la1[6] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
UnmodifiedClassDeclaration();
}
static final public void UnmodifiedClassDeclaration() throws ParseException {
jj_consume_token(CLASS);
jj_consume_token(IDENTIFIER);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case EXTENDS:{
jj_consume_token(EXTENDS);
Name();
break;
}
default:
jj_la1[7] = jj_gen;
;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case IMPLEMENTS:{
jj_consume_token(IMPLEMENTS);
NameList();
break;
}
default:
jj_la1[8] = jj_gen;
;
}
ClassBody();
}
static final public void ClassBody() throws ParseException {
jj_consume_token(LBRACE);
label_4:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case BOOLEAN:
case BYTE:
case CHAR:
case CLASS:
case DOUBLE:
case FINAL:
case FLOAT:
case INT:
case INTERFACE:
case LONG:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case SHORT:
case STATIC:
case SYNCHRONIZED:
case TRANSIENT:
case VOID:
case VOLATILE:
case IDENTIFIER:
case LBRACE:{
;
break;
}
default:
jj_la1[9] = jj_gen;
break label_4;
}
ClassBodyDeclaration();
}
jj_consume_token(RBRACE);
}
static final public void NestedClassDeclaration() throws ParseException {
label_5:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case FINAL:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:{
;
break;
}
default:
jj_la1[10] = jj_gen;
break label_5;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case STATIC:{
jj_consume_token(STATIC);
break;
}
case ABSTRACT:{
jj_consume_token(ABSTRACT);
break;
}
case FINAL:{
jj_consume_token(FINAL);
break;
}
case PUBLIC:{
jj_consume_token(PUBLIC);
break;
}
case PROTECTED:{
jj_consume_token(PROTECTED);
break;
}
case PRIVATE:{
jj_consume_token(PRIVATE);
break;
}
default:
jj_la1[11] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
UnmodifiedClassDeclaration();
}
static final public void ClassBodyDeclaration() throws ParseException {
if (jj_2_2(2)) {
Initializer();
} else if (jj_2_3(2147483647)) {
NestedClassDeclaration();
} else if (jj_2_4(2147483647)) {
NestedInterfaceDeclaration();
} else if (jj_2_5(2147483647)) {
ConstructorDeclaration();
} else if (jj_2_6(2147483647)) {
MethodDeclaration();
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FINAL:
case FLOAT:
case INT:
case LONG:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case SHORT:
case STATIC:
case TRANSIENT:
case VOLATILE:
case IDENTIFIER:{
FieldDeclaration();
break;
}
default:
jj_la1[12] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
// This production is to determine lookahead only.
static final public void MethodDeclarationLookahead() throws ParseException {
label_6:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case FINAL:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case SYNCHRONIZED:{
;
break;
}
default:
jj_la1[13] = jj_gen;
break label_6;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PUBLIC:{
jj_consume_token(PUBLIC);
break;
}
case PROTECTED:{
jj_consume_token(PROTECTED);
break;
}
case PRIVATE:{
jj_consume_token(PRIVATE);
break;
}
case STATIC:{
jj_consume_token(STATIC);
break;
}
case ABSTRACT:{
jj_consume_token(ABSTRACT);
break;
}
case FINAL:{
jj_consume_token(FINAL);
break;
}
case NATIVE:{
jj_consume_token(NATIVE);
break;
}
case SYNCHRONIZED:{
jj_consume_token(SYNCHRONIZED);
break;
}
default:
jj_la1[14] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
ResultType();
jj_consume_token(IDENTIFIER);
jj_consume_token(LPAREN);
}
static final public void InterfaceDeclaration() throws ParseException {
label_7:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case PUBLIC:{
;
break;
}
default:
jj_la1[15] = jj_gen;
break label_7;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:{
jj_consume_token(ABSTRACT);
break;
}
case PUBLIC:{
jj_consume_token(PUBLIC);
break;
}
default:
jj_la1[16] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
UnmodifiedInterfaceDeclaration();
}
static final public void NestedInterfaceDeclaration() throws ParseException {
label_8:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case FINAL:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:{
;
break;
}
default:
jj_la1[17] = jj_gen;
break label_8;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case STATIC:{
jj_consume_token(STATIC);
break;
}
case ABSTRACT:{
jj_consume_token(ABSTRACT);
break;
}
case FINAL:{
jj_consume_token(FINAL);
break;
}
case PUBLIC:{
jj_consume_token(PUBLIC);
break;
}
case PROTECTED:{
jj_consume_token(PROTECTED);
break;
}
case PRIVATE:{
jj_consume_token(PRIVATE);
break;
}
default:
jj_la1[18] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
UnmodifiedInterfaceDeclaration();
}
static final public void UnmodifiedInterfaceDeclaration() throws ParseException {
jj_consume_token(INTERFACE);
jj_consume_token(IDENTIFIER);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case EXTENDS:{
jj_consume_token(EXTENDS);
NameList();
break;
}
default:
jj_la1[19] = jj_gen;
;
}
jj_consume_token(LBRACE);
label_9:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case BOOLEAN:
case BYTE:
case CHAR:
case CLASS:
case DOUBLE:
case FINAL:
case FLOAT:
case INT:
case INTERFACE:
case LONG:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case SHORT:
case STATIC:
case SYNCHRONIZED:
case TRANSIENT:
case VOID:
case VOLATILE:
case IDENTIFIER:{
;
break;
}
default:
jj_la1[20] = jj_gen;
break label_9;
}
InterfaceMemberDeclaration();
}
jj_consume_token(RBRACE);
}
static final public void InterfaceMemberDeclaration() throws ParseException {
if (jj_2_7(2147483647)) {
NestedClassDeclaration();
} else if (jj_2_8(2147483647)) {
NestedInterfaceDeclaration();
} else if (jj_2_9(2147483647)) {
MethodDeclaration();
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FINAL:
case FLOAT:
case INT:
case LONG:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case SHORT:
case STATIC:
case TRANSIENT:
case VOLATILE:
case IDENTIFIER:{
FieldDeclaration();
break;
}
default:
jj_la1[21] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
static final public void FieldDeclaration() throws ParseException {
label_10:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FINAL:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case TRANSIENT:
case VOLATILE:{
;
break;
}
default:
jj_la1[22] = jj_gen;
break label_10;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PUBLIC:{
jj_consume_token(PUBLIC);
break;
}
case PROTECTED:{
jj_consume_token(PROTECTED);
break;
}
case PRIVATE:{
jj_consume_token(PRIVATE);
break;
}
case STATIC:{
jj_consume_token(STATIC);
break;
}
case FINAL:{
jj_consume_token(FINAL);
break;
}
case TRANSIENT:{
jj_consume_token(TRANSIENT);
break;
}
case VOLATILE:{
jj_consume_token(VOLATILE);
break;
}
default:
jj_la1[23] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
Type();
VariableDeclarator();
label_11:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case COMMA:{
;
break;
}
default:
jj_la1[24] = jj_gen;
break label_11;
}
jj_consume_token(COMMA);
VariableDeclarator();
}
jj_consume_token(SEMICOLON);
}
static final public void VariableDeclarator() throws ParseException {
VariableDeclaratorId();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ASSIGN:{
jj_consume_token(ASSIGN);
VariableInitializer();
break;
}
default:
jj_la1[25] = jj_gen;
;
}
}
static final public void VariableDeclaratorId() throws ParseException {
jj_consume_token(IDENTIFIER);
label_12:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACKET:{
;
break;
}
default:
jj_la1[26] = jj_gen;
break label_12;
}
jj_consume_token(LBRACKET);
jj_consume_token(RBRACKET);
}
}
static final public void VariableInitializer() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACE:{
ArrayInitializer();
break;
}
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:{
Expression();
break;
}
default:
jj_la1[27] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void ArrayInitializer() throws ParseException {
jj_consume_token(LBRACE);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case LBRACE:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:{
VariableInitializer();
label_13:
while (true) {
if (jj_2_10(2)) {
;
} else {
break label_13;
}
jj_consume_token(COMMA);
VariableInitializer();
}
break;
}
default:
jj_la1[28] = jj_gen;
;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case COMMA:{
jj_consume_token(COMMA);
break;
}
default:
jj_la1[29] = jj_gen;
;
}
jj_consume_token(RBRACE);
}
static final public void MethodDeclaration() throws ParseException {Token t;
label_14:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ABSTRACT:
case FINAL:
case NATIVE:
case PRIVATE:
case PROTECTED:
case PUBLIC:
case STATIC:
case SYNCHRONIZED:{
;
break;
}
default:
jj_la1[30] = jj_gen;
break label_14;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PUBLIC:{
jj_consume_token(PUBLIC);
break;
}
case PROTECTED:{
jj_consume_token(PROTECTED);
break;
}
case PRIVATE:{
jj_consume_token(PRIVATE);
break;
}
case STATIC:{
jj_consume_token(STATIC);
break;
}
case ABSTRACT:{
jj_consume_token(ABSTRACT);
break;
}
case FINAL:{
jj_consume_token(FINAL);
break;
}
case NATIVE:{
jj_consume_token(NATIVE);
break;
}
case SYNCHRONIZED:{
jj_consume_token(SYNCHRONIZED);
break;
}
default:
jj_la1[31] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
ResultType();
MethodDeclarator();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case THROWS:{
jj_consume_token(THROWS);
NameList();
break;
}
default:
jj_la1[32] = jj_gen;
;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACE:{
t = getToken(1);
Block();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case CATCH:
case FINALLY:{
ASTSpecialBlock jjtn001 = new ASTSpecialBlock(JJTSPECIALBLOCK);
boolean jjtc001 = true;
jjtree.openNodeScope(jjtn001);
try {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case CATCH:{
label_15:
while (true) {
jj_consume_token(CATCH);
jj_consume_token(LPAREN);
FormalParameter();
jj_consume_token(RPAREN);
Block();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case CATCH:{
;
break;
}
default:
jj_la1[33] = jj_gen;
break label_15;
}
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FINALLY:{
jj_consume_token(FINALLY);
Block();
break;
}
default:
jj_la1[34] = jj_gen;
;
}
break;
}
case FINALLY:{
jj_consume_token(FINALLY);
Block();
break;
}
default:
jj_la1[35] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
jjtree.closeNodeScope(jjtn001, true);
jjtc001 = false;
jjtn001.setFirstToken(t);
jjtn001.setLastToken(getToken(0));
} 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);
}
}
break;
}
default:
jj_la1[36] = jj_gen;
;
}
break;
}
case SEMICOLON:{
jj_consume_token(SEMICOLON);
break;
}
default:
jj_la1[37] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void MethodDeclarator() throws ParseException {
jj_consume_token(IDENTIFIER);
FormalParameters();
label_16:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACKET:{
;
break;
}
default:
jj_la1[38] = jj_gen;
break label_16;
}
jj_consume_token(LBRACKET);
jj_consume_token(RBRACKET);
}
}
static final public void FormalParameters() throws ParseException {
jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FINAL:
case FLOAT:
case INT:
case LONG:
case SHORT:
case IDENTIFIER:{
FormalParameter();
label_17:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case COMMA:{
;
break;
}
default:
jj_la1[39] = jj_gen;
break label_17;
}
jj_consume_token(COMMA);
FormalParameter();
}
break;
}
default:
jj_la1[40] = jj_gen;
;
}
jj_consume_token(RPAREN);
}
static final public void FormalParameter() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FINAL:{
jj_consume_token(FINAL);
break;
}
default:
jj_la1[41] = jj_gen;
;
}
Type();
VariableDeclaratorId();
}
static final public void ConstructorDeclaration() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PRIVATE:
case PROTECTED:
case PUBLIC:{
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PUBLIC:{
jj_consume_token(PUBLIC);
break;
}
case PROTECTED:{
jj_consume_token(PROTECTED);
break;
}
case PRIVATE:{
jj_consume_token(PRIVATE);
break;
}
default:
jj_la1[42] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
}
default:
jj_la1[43] = jj_gen;
;
}
jj_consume_token(IDENTIFIER);
FormalParameters();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case THROWS:{
jj_consume_token(THROWS);
NameList();
break;
}
default:
jj_la1[44] = jj_gen;
;
}
jj_consume_token(LBRACE);
if (jj_2_11(2147483647)) {
ExplicitConstructorInvocation();
} else {
;
}
label_18:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BOOLEAN:
case BREAK:
case BYTE:
case CHAR:
case CLASS:
case CONTINUE:
case DO:
case DOUBLE:
case FALSE:
case FINAL:
case FLOAT:
case FOR:
case IF:
case INT:
case INTERFACE:
case LONG:
case NEW:
case NULL:
case RETURN:
case SHORT:
case SUPER:
case SWITCH:
case SYNCHRONIZED:
case THIS:
case THROW:
case TRUE:
case TRY:
case WHILE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case LBRACE:
case SEMICOLON:
case INCR:
case DECR:{
;
break;
}
default:
jj_la1[45] = jj_gen;
break label_18;
}
BlockStatement();
}
jj_consume_token(RBRACE);
}
static final public void ExplicitConstructorInvocation() throws ParseException {
if (jj_2_13(2147483647)) {
jj_consume_token(THIS);
Arguments();
jj_consume_token(SEMICOLON);
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:{
if (jj_2_12(2)) {
PrimaryExpression();
jj_consume_token(DOT);
} else {
;
}
jj_consume_token(SUPER);
Arguments();
jj_consume_token(SEMICOLON);
break;
}
default:
jj_la1[46] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
static final public void Initializer() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case STATIC:{
jj_consume_token(STATIC);
break;
}
default:
jj_la1[47] = jj_gen;
;
}
Block();
}
/*
* Type, name and expression syntax follows.
*/
static final public
void Type() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case SHORT:{
PrimitiveType();
break;
}
case IDENTIFIER:{
Name();
break;
}
default:
jj_la1[48] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
label_19:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACKET:{
;
break;
}
default:
jj_la1[49] = jj_gen;
break label_19;
}
jj_consume_token(LBRACKET);
jj_consume_token(RBRACKET);
}
}
static final public void PrimitiveType() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BOOLEAN:{
jj_consume_token(BOOLEAN);
break;
}
case CHAR:{
jj_consume_token(CHAR);
break;
}
case BYTE:{
jj_consume_token(BYTE);
break;
}
case SHORT:{
jj_consume_token(SHORT);
break;
}
case INT:{
jj_consume_token(INT);
break;
}
case LONG:{
jj_consume_token(LONG);
break;
}
case FLOAT:{
jj_consume_token(FLOAT);
break;
}
case DOUBLE:{
jj_consume_token(DOUBLE);
break;
}
default:
jj_la1[50] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void ResultType() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case VOID:{
jj_consume_token(VOID);
break;
}
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FLOAT:
case INT:
case LONG:
case SHORT:
case IDENTIFIER:{
Type();
break;
}
default:
jj_la1[51] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void Name() throws ParseException {
jj_consume_token(IDENTIFIER);
label_20:
while (true) {
if (jj_2_14(2)) {
;
} else {
break label_20;
}
jj_consume_token(DOT);
jj_consume_token(IDENTIFIER);
}
}
static final public void NameList() throws ParseException {
Name();
label_21:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case COMMA:{
;
break;
}
default:
jj_la1[52] = jj_gen;
break label_21;
}
jj_consume_token(COMMA);
Name();
}
}
/*
* Expression syntax follows.
*/
static final public
void Expression() throws ParseException {
if (jj_2_15(2147483647)) {
Assignment();
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:{
ConditionalExpression();
break;
}
default:
jj_la1[53] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
static final public void Assignment() throws ParseException {
PrimaryExpression();
AssignmentOperator();
Expression();
}
static final public void AssignmentOperator() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ASSIGN:{
jj_consume_token(ASSIGN);
break;
}
case STARASSIGN:{
jj_consume_token(STARASSIGN);
break;
}
case SLASHASSIGN:{
jj_consume_token(SLASHASSIGN);
break;
}
case REMASSIGN:{
jj_consume_token(REMASSIGN);
break;
}
case PLUSASSIGN:{
jj_consume_token(PLUSASSIGN);
break;
}
case MINUSASSIGN:{
jj_consume_token(MINUSASSIGN);
break;
}
case LSHIFTASSIGN:{
jj_consume_token(LSHIFTASSIGN);
break;
}
case RSIGNEDSHIFTASSIGN:{
jj_consume_token(RSIGNEDSHIFTASSIGN);
break;
}
case RUNSIGNEDSHIFTASSIGN:{
jj_consume_token(RUNSIGNEDSHIFTASSIGN);
break;
}
case ANDASSIGN:{
jj_consume_token(ANDASSIGN);
break;
}
case XORASSIGN:{
jj_consume_token(XORASSIGN);
break;
}
case ORASSIGN:{
jj_consume_token(ORASSIGN);
break;
}
default:
jj_la1[54] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void ConditionalExpression() throws ParseException {
ConditionalOrExpression();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case HOOK:{
jj_consume_token(HOOK);
Expression();
jj_consume_token(COLON);
ConditionalExpression();
break;
}
default:
jj_la1[55] = jj_gen;
;
}
}
static final public void ConditionalOrExpression() throws ParseException {
ConditionalAndExpression();
label_22:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case SC_OR:{
;
break;
}
default:
jj_la1[56] = jj_gen;
break label_22;
}
jj_consume_token(SC_OR);
ConditionalAndExpression();
}
}
static final public void ConditionalAndExpression() throws ParseException {
InclusiveOrExpression();
label_23:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case SC_AND:{
;
break;
}
default:
jj_la1[57] = jj_gen;
break label_23;
}
jj_consume_token(SC_AND);
InclusiveOrExpression();
}
}
static final public void InclusiveOrExpression() throws ParseException {
ExclusiveOrExpression();
label_24:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BIT_OR:{
;
break;
}
default:
jj_la1[58] = jj_gen;
break label_24;
}
jj_consume_token(BIT_OR);
ExclusiveOrExpression();
}
}
static final public void ExclusiveOrExpression() throws ParseException {
AndExpression();
label_25:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case XOR:{
;
break;
}
default:
jj_la1[59] = jj_gen;
break label_25;
}
jj_consume_token(XOR);
AndExpression();
}
}
static final public void AndExpression() throws ParseException {
EqualityExpression();
label_26:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BIT_AND:{
;
break;
}
default:
jj_la1[60] = jj_gen;
break label_26;
}
jj_consume_token(BIT_AND);
EqualityExpression();
}
}
static final public void EqualityExpression() throws ParseException {
InstanceOfExpression();
label_27:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case EQ:
case NE:{
;
break;
}
default:
jj_la1[61] = jj_gen;
break label_27;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case EQ:{
jj_consume_token(EQ);
break;
}
case NE:{
jj_consume_token(NE);
break;
}
default:
jj_la1[62] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
InstanceOfExpression();
}
}
static final public void InstanceOfExpression() throws ParseException {
RelationalExpression();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case INSTANCEOF:{
jj_consume_token(INSTANCEOF);
Type();
break;
}
default:
jj_la1[63] = jj_gen;
;
}
}
static final public void RelationalExpression() throws ParseException {
ShiftExpression();
label_28:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case GT:
case LT:
case LE:
case GE:{
;
break;
}
default:
jj_la1[64] = jj_gen;
break label_28;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LT:{
jj_consume_token(LT);
break;
}
case GT:{
jj_consume_token(GT);
break;
}
case LE:{
jj_consume_token(LE);
break;
}
case GE:{
jj_consume_token(GE);
break;
}
default:
jj_la1[65] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
ShiftExpression();
}
}
static final public void ShiftExpression() throws ParseException {
AdditiveExpression();
label_29:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LSHIFT:
case RSIGNEDSHIFT:
case RUNSIGNEDSHIFT:{
;
break;
}
default:
jj_la1[66] = jj_gen;
break label_29;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LSHIFT:{
jj_consume_token(LSHIFT);
break;
}
case RSIGNEDSHIFT:{
jj_consume_token(RSIGNEDSHIFT);
break;
}
case RUNSIGNEDSHIFT:{
jj_consume_token(RUNSIGNEDSHIFT);
break;
}
default:
jj_la1[67] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
AdditiveExpression();
}
}
static final public void AdditiveExpression() throws ParseException {
MultiplicativeExpression();
label_30:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PLUS:
case MINUS:{
;
break;
}
default:
jj_la1[68] = jj_gen;
break label_30;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PLUS:{
jj_consume_token(PLUS);
break;
}
case MINUS:{
jj_consume_token(MINUS);
break;
}
default:
jj_la1[69] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
MultiplicativeExpression();
}
}
static final public void MultiplicativeExpression() throws ParseException {
UnaryExpression();
label_31:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case STAR:
case SLASH:
case REM:{
;
break;
}
default:
jj_la1[70] = jj_gen;
break label_31;
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case STAR:{
jj_consume_token(STAR);
break;
}
case SLASH:{
jj_consume_token(SLASH);
break;
}
case REM:{
jj_consume_token(REM);
break;
}
default:
jj_la1[71] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
UnaryExpression();
}
}
static final public void UnaryExpression() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PLUS:
case MINUS:{
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case PLUS:{
jj_consume_token(PLUS);
break;
}
case MINUS:{
jj_consume_token(MINUS);
break;
}
default:
jj_la1[72] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
UnaryExpression();
break;
}
case INCR:{
PreIncrementExpression();
break;
}
case DECR:{
PreDecrementExpression();
break;
}
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case BANG:
case TILDE:{
UnaryExpressionNotPlusMinus();
break;
}
default:
jj_la1[73] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void PreIncrementExpression() throws ParseException {
jj_consume_token(INCR);
PrimaryExpression();
}
static final public void PreDecrementExpression() throws ParseException {
jj_consume_token(DECR);
PrimaryExpression();
}
static final public void UnaryExpressionNotPlusMinus() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BANG:
case TILDE:{
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case TILDE:{
jj_consume_token(TILDE);
break;
}
case BANG:{
jj_consume_token(BANG);
break;
}
default:
jj_la1[74] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
UnaryExpression();
break;
}
default:
jj_la1[75] = jj_gen;
if (jj_2_16(2147483647)) {
CastExpression();
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:{
PostfixExpression();
break;
}
default:
jj_la1[76] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
// This production is to determine lookahead only. The LOOKAHEAD specifications
// below are not used, but they are there just to indicate that we know about
// this.
static final public void CastLookahead() throws ParseException {
if (jj_2_17(2)) {
jj_consume_token(LPAREN);
PrimitiveType();
} else if (jj_2_18(2147483647)) {
jj_consume_token(LPAREN);
Name();
jj_consume_token(LBRACKET);
jj_consume_token(RBRACKET);
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LPAREN:{
jj_consume_token(LPAREN);
Name();
jj_consume_token(RPAREN);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case TILDE:{
jj_consume_token(TILDE);
break;
}
case BANG:{
jj_consume_token(BANG);
break;
}
case LPAREN:{
jj_consume_token(LPAREN);
break;
}
case IDENTIFIER:{
jj_consume_token(IDENTIFIER);
break;
}
case THIS:{
jj_consume_token(THIS);
break;
}
case SUPER:{
jj_consume_token(SUPER);
break;
}
case NEW:{
jj_consume_token(NEW);
break;
}
case FALSE:
case NULL:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:{
Literal();
break;
}
default:
jj_la1[77] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
}
default:
jj_la1[78] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
static final public void PostfixExpression() throws ParseException {
PrimaryExpression();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case INCR:
case DECR:{
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case INCR:{
jj_consume_token(INCR);
break;
}
case DECR:{
jj_consume_token(DECR);
break;
}
default:
jj_la1[79] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
}
default:
jj_la1[80] = jj_gen;
;
}
}
static final public void CastExpression() throws ParseException {
if (jj_2_19(2147483647)) {
jj_consume_token(LPAREN);
Type();
jj_consume_token(RPAREN);
UnaryExpression();
} else if (jj_2_20(2147483647)) {
jj_consume_token(LPAREN);
Type();
jj_consume_token(RPAREN);
UnaryExpressionNotPlusMinus();
} else {
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void PrimaryExpression() throws ParseException {
PrimaryPrefix();
label_32:
while (true) {
if (jj_2_21(2)) {
;
} else {
break label_32;
}
PrimarySuffix();
}
}
static final public void PrimaryPrefix() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NULL:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:{
Literal();
break;
}
case IDENTIFIER:{
Name();
break;
}
case THIS:{
jj_consume_token(THIS);
break;
}
case SUPER:{
jj_consume_token(SUPER);
jj_consume_token(DOT);
jj_consume_token(IDENTIFIER);
break;
}
case LPAREN:{
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
break;
}
case NEW:{
AllocationExpression();
break;
}
default:
jj_la1[81] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void PrimarySuffix() throws ParseException {
if (jj_2_22(2)) {
jj_consume_token(DOT);
jj_consume_token(THIS);
} else if (jj_2_23(2)) {
jj_consume_token(DOT);
jj_consume_token(CLASS);
} else if (jj_2_24(2)) {
jj_consume_token(DOT);
AllocationExpression();
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACKET:{
jj_consume_token(LBRACKET);
Expression();
jj_consume_token(RBRACKET);
break;
}
case DOT:{
jj_consume_token(DOT);
jj_consume_token(IDENTIFIER);
break;
}
case LPAREN:{
Arguments();
break;
}
default:
jj_la1[82] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
static final public void Literal() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case INTEGER_LITERAL:{
jj_consume_token(INTEGER_LITERAL);
break;
}
case FLOATING_POINT_LITERAL:{
jj_consume_token(FLOATING_POINT_LITERAL);
break;
}
case CHARACTER_LITERAL:{
jj_consume_token(CHARACTER_LITERAL);
break;
}
case STRING_LITERAL:{
jj_consume_token(STRING_LITERAL);
break;
}
case FALSE:
case TRUE:{
BooleanLiteral();
break;
}
case NULL:{
NullLiteral();
break;
}
default:
jj_la1[83] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void BooleanLiteral() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case TRUE:{
jj_consume_token(TRUE);
break;
}
case FALSE:{
jj_consume_token(FALSE);
break;
}
default:
jj_la1[84] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void NullLiteral() throws ParseException {
jj_consume_token(NULL);
}
static final public void Arguments() throws ParseException {
jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:{
ArgumentList();
break;
}
default:
jj_la1[85] = jj_gen;
;
}
jj_consume_token(RPAREN);
}
static final public void ArgumentList() throws ParseException {
Expression();
label_33:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case COMMA:{
;
break;
}
default:
jj_la1[86] = jj_gen;
break label_33;
}
jj_consume_token(COMMA);
Expression();
}
}
static final public void AllocationExpression() throws ParseException {
if (jj_2_25(2)) {
jj_consume_token(NEW);
PrimitiveType();
ArrayDimensions();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACE:{
ArrayInitializer();
break;
}
default:
jj_la1[87] = jj_gen;
;
}
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case NEW:{
jj_consume_token(NEW);
Name();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACKET:{
ArrayDimensions();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACE:{
ArrayInitializer();
break;
}
default:
jj_la1[88] = jj_gen;
;
}
break;
}
case LPAREN:{
Arguments();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACE:{
ClassBody();
break;
}
default:
jj_la1[89] = jj_gen;
;
}
break;
}
default:
jj_la1[90] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
break;
}
default:
jj_la1[91] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
/*
* The second LOOKAHEAD specification below is to parse to PrimarySuffix
* if there is an expression between the "[...]".
*/
static final public void ArrayDimensions() throws ParseException {
label_34:
while (true) {
jj_consume_token(LBRACKET);
Expression();
jj_consume_token(RBRACKET);
if (jj_2_26(2)) {
;
} else {
break label_34;
}
}
label_35:
while (true) {
if (jj_2_27(2)) {
;
} else {
break label_35;
}
jj_consume_token(LBRACKET);
jj_consume_token(RBRACKET);
}
}
/*
* Statement syntax follows.
*/
static final public
void Statement() throws ParseException {
if (jj_2_28(2)) {
LabeledStatement();
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case LBRACE:{
Block();
break;
}
case SEMICOLON:{
EmptyStatement();
break;
}
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case INCR:
case DECR:{
StatementExpression();
jj_consume_token(SEMICOLON);
break;
}
case SWITCH:{
SwitchStatement();
break;
}
case IF:{
IfStatement();
break;
}
case WHILE:{
WhileStatement();
break;
}
case DO:{
DoStatement();
break;
}
case FOR:{
ForStatement();
break;
}
case BREAK:{
BreakStatement();
break;
}
case CONTINUE:{
ContinueStatement();
break;
}
case RETURN:{
ReturnStatement();
break;
}
case THROW:{
ThrowStatement();
break;
}
case SYNCHRONIZED:{
SynchronizedStatement();
break;
}
case TRY:{
TryStatement();
break;
}
default:
jj_la1[92] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
static final public void LabeledStatement() throws ParseException {
jj_consume_token(IDENTIFIER);
jj_consume_token(COLON);
Statement();
}
static final public void Block() throws ParseException {
jj_consume_token(LBRACE);
label_36:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BOOLEAN:
case BREAK:
case BYTE:
case CHAR:
case CLASS:
case CONTINUE:
case DO:
case DOUBLE:
case FALSE:
case FINAL:
case FLOAT:
case FOR:
case IF:
case INT:
case INTERFACE:
case LONG:
case NEW:
case NULL:
case RETURN:
case SHORT:
case SUPER:
case SWITCH:
case SYNCHRONIZED:
case THIS:
case THROW:
case TRUE:
case TRY:
case WHILE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case LBRACE:
case SEMICOLON:
case INCR:
case DECR:{
;
break;
}
default:
jj_la1[93] = jj_gen;
break label_36;
}
BlockStatement();
}
jj_consume_token(RBRACE);
}
static final public void BlockStatement() throws ParseException {
if (jj_2_29(2147483647)) {
LocalVariableDeclaration();
jj_consume_token(SEMICOLON);
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BREAK:
case CONTINUE:
case DO:
case FALSE:
case FOR:
case IF:
case NEW:
case NULL:
case RETURN:
case SUPER:
case SWITCH:
case SYNCHRONIZED:
case THIS:
case THROW:
case TRUE:
case TRY:
case WHILE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case LBRACE:
case SEMICOLON:
case INCR:
case DECR:{
Statement();
break;
}
case CLASS:{
UnmodifiedClassDeclaration();
break;
}
case INTERFACE:{
UnmodifiedInterfaceDeclaration();
break;
}
default:
jj_la1[94] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
static final public void LocalVariableDeclaration() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FINAL:{
jj_consume_token(FINAL);
break;
}
default:
jj_la1[95] = jj_gen;
;
}
Type();
VariableDeclarator();
label_37:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case COMMA:{
;
break;
}
default:
jj_la1[96] = jj_gen;
break label_37;
}
jj_consume_token(COMMA);
VariableDeclarator();
}
}
static final public void EmptyStatement() throws ParseException {
jj_consume_token(SEMICOLON);
}
static final public void StatementExpression() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case INCR:{
PreIncrementExpression();
break;
}
case DECR:{
PreDecrementExpression();
break;
}
default:
jj_la1[97] = jj_gen;
if (jj_2_30(2147483647)) {
Assignment();
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:{
PostfixExpression();
break;
}
default:
jj_la1[98] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
}
static final public void SwitchStatement() throws ParseException {
jj_consume_token(SWITCH);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
jj_consume_token(LBRACE);
label_38:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case CASE:
case _DEFAULT:{
;
break;
}
default:
jj_la1[99] = jj_gen;
break label_38;
}
SwitchLabel();
label_39:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BOOLEAN:
case BREAK:
case BYTE:
case CHAR:
case CLASS:
case CONTINUE:
case DO:
case DOUBLE:
case FALSE:
case FINAL:
case FLOAT:
case FOR:
case IF:
case INT:
case INTERFACE:
case LONG:
case NEW:
case NULL:
case RETURN:
case SHORT:
case SUPER:
case SWITCH:
case SYNCHRONIZED:
case THIS:
case THROW:
case TRUE:
case TRY:
case WHILE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case LBRACE:
case SEMICOLON:
case INCR:
case DECR:{
;
break;
}
default:
jj_la1[100] = jj_gen;
break label_39;
}
BlockStatement();
}
}
jj_consume_token(RBRACE);
}
static final public void SwitchLabel() throws ParseException {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case CASE:{
jj_consume_token(CASE);
Expression();
jj_consume_token(COLON);
break;
}
case _DEFAULT:{
jj_consume_token(_DEFAULT);
jj_consume_token(COLON);
break;
}
default:
jj_la1[101] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
static final public void IfStatement() throws ParseException {
jj_consume_token(IF);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
Statement();
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case ELSE:{
jj_consume_token(ELSE);
Statement();
break;
}
default:
jj_la1[102] = jj_gen;
;
}
}
static final public void WhileStatement() throws ParseException {
jj_consume_token(WHILE);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
Statement();
}
static final public void DoStatement() throws ParseException {
jj_consume_token(DO);
Statement();
jj_consume_token(WHILE);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
jj_consume_token(SEMICOLON);
}
static final public void ForStatement() throws ParseException {
jj_consume_token(FOR);
jj_consume_token(LPAREN);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case BOOLEAN:
case BYTE:
case CHAR:
case DOUBLE:
case FALSE:
case FINAL:
case FLOAT:
case INT:
case LONG:
case NEW:
case NULL:
case SHORT:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case INCR:
case DECR:{
ForInit();
break;
}
default:
jj_la1[103] = jj_gen;
;
}
jj_consume_token(SEMICOLON);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:{
Expression();
break;
}
default:
jj_la1[104] = jj_gen;
;
}
jj_consume_token(SEMICOLON);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case INCR:
case DECR:{
ForUpdate();
break;
}
default:
jj_la1[105] = jj_gen;
;
}
jj_consume_token(RPAREN);
Statement();
}
static final public void ForInit() throws ParseException {
if (jj_2_31(2147483647)) {
LocalVariableDeclaration();
} else {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case INCR:
case DECR:{
StatementExpressionList();
break;
}
default:
jj_la1[106] = jj_gen;
jj_consume_token(-1);
throw new ParseException();
}
}
}
static final public void StatementExpressionList() throws ParseException {
StatementExpression();
label_40:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case COMMA:{
;
break;
}
default:
jj_la1[107] = jj_gen;
break label_40;
}
jj_consume_token(COMMA);
StatementExpression();
}
}
static final public void ForUpdate() throws ParseException {
StatementExpressionList();
}
static final public void BreakStatement() throws ParseException {
jj_consume_token(BREAK);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case IDENTIFIER:{
jj_consume_token(IDENTIFIER);
break;
}
default:
jj_la1[108] = jj_gen;
;
}
jj_consume_token(SEMICOLON);
}
static final public void ContinueStatement() throws ParseException {
jj_consume_token(CONTINUE);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case IDENTIFIER:{
jj_consume_token(IDENTIFIER);
break;
}
default:
jj_la1[109] = jj_gen;
;
}
jj_consume_token(SEMICOLON);
}
static final public void ReturnStatement() throws ParseException {
jj_consume_token(RETURN);
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FALSE:
case NEW:
case NULL:
case SUPER:
case THIS:
case TRUE:
case INTEGER_LITERAL:
case FLOATING_POINT_LITERAL:
case CHARACTER_LITERAL:
case STRING_LITERAL:
case IDENTIFIER:
case LPAREN:
case BANG:
case TILDE:
case INCR:
case DECR:
case PLUS:
case MINUS:{
Expression();
break;
}
default:
jj_la1[110] = jj_gen;
;
}
jj_consume_token(SEMICOLON);
}
static final public void ThrowStatement() throws ParseException {
jj_consume_token(THROW);
Expression();
jj_consume_token(SEMICOLON);
}
static final public void SynchronizedStatement() throws ParseException {
jj_consume_token(SYNCHRONIZED);
jj_consume_token(LPAREN);
Expression();
jj_consume_token(RPAREN);
Block();
}
static final public void TryStatement() throws ParseException {
jj_consume_token(TRY);
Block();
label_41:
while (true) {
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case CATCH:{
;
break;
}
default:
jj_la1[111] = jj_gen;
break label_41;
}
jj_consume_token(CATCH);
jj_consume_token(LPAREN);
FormalParameter();
jj_consume_token(RPAREN);
Block();
}
switch ((jj_ntk==-1)?jj_ntk_f():jj_ntk) {
case FINALLY:{
jj_consume_token(FINALLY);
Block();
break;
}
default:
jj_la1[112] = jj_gen;
;
}
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static 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); }
}
static private boolean jj_2_23(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return (!jj_3_23()); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(22, xla); }
}
static private boolean jj_2_24(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return (!jj_3_24()); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(23, xla); }
}
static private boolean jj_2_25(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return (!jj_3_25()); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(24, xla); }
}
static private boolean jj_2_26(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return (!jj_3_26()); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(25, xla); }
}
static private boolean jj_2_27(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return (!jj_3_27()); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(26, xla); }
}
static private boolean jj_2_28(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return (!jj_3_28()); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(27, xla); }
}
static private boolean jj_2_29(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return (!jj_3_29()); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(28, xla); }
}
static private boolean jj_2_30(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return (!jj_3_30()); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(29, xla); }
}
static private boolean jj_2_31(int xla)
{
jj_la = xla; jj_lastpos = jj_scanpos = token;
try { return (!jj_3_31()); }
catch(LookaheadSuccess ls) { return true; }
finally { jj_save(30, xla); }
}
static private boolean jj_3R_243()
{
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_62()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_211()) return true;
return false;
}
static private boolean jj_3R_238()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_243()) {
jj_scanpos = xsp;
if (jj_3R_244()) return true;
}
return false;
}
static private boolean jj_3R_192()
{
if (jj_scan_token(EXTENDS)) return true;
if (jj_3R_47()) return true;
return false;
}
static private boolean jj_3R_162()
{
if (jj_3R_169()) return true;
return false;
}
static private boolean jj_3R_159()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3_2()) {
jj_scanpos = xsp;
if (jj_3R_162()) {
jj_scanpos = xsp;
if (jj_3R_163()) {
jj_scanpos = xsp;
if (jj_3R_164()) {
jj_scanpos = xsp;
if (jj_3R_165()) {
jj_scanpos = xsp;
if (jj_3R_166()) return true;
}
}
}
}
}
return false;
}
static private boolean jj_3_2()
{
if (jj_3R_43()) return true;
return false;
}
static private boolean jj_3_18()
{
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_47()) return true;
if (jj_scan_token(LBRACKET)) return true;
return false;
}
static private boolean jj_3R_157()
{
if (jj_3R_53()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_245()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_176()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(9)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) return true;
}
}
}
}
}
return false;
}
static private boolean jj_3R_169()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_176()) { jj_scanpos = xsp; break; }
}
if (jj_3R_107()) return true;
return false;
}
static private boolean jj_3R_153()
{
if (jj_3R_159()) return true;
return false;
}
static private boolean jj_3R_73()
{
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_47()) return true;
if (jj_scan_token(RPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(83)) {
jj_scanpos = xsp;
if (jj_scan_token(82)) {
jj_scanpos = xsp;
if (jj_scan_token(70)) {
jj_scanpos = xsp;
if (jj_scan_token(67)) {
jj_scanpos = xsp;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_scan_token(47)) {
jj_scanpos = xsp;
if (jj_scan_token(38)) {
jj_scanpos = xsp;
if (jj_3R_92()) return true;
}
}
}
}
}
}
}
return false;
}
static private boolean jj_3R_72()
{
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_47()) return true;
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
static private boolean jj_3R_146()
{
if (jj_scan_token(LBRACE)) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_153()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
static private boolean jj_3R_56()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3_17()) {
jj_scanpos = xsp;
if (jj_3R_72()) {
jj_scanpos = xsp;
if (jj_3R_73()) return true;
}
}
return false;
}
static private boolean jj_3_17()
{
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_57()) return true;
return false;
}
static private boolean jj_3_16()
{
if (jj_3R_56()) return true;
return false;
}
static private boolean jj_3R_107()
{
if (jj_scan_token(CLASS)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_192()) jj_scanpos = xsp;
xsp = jj_scanpos;
if (jj_3R_193()) jj_scanpos = xsp;
if (jj_3R_146()) return true;
return false;
}
static private boolean jj_3R_229()
{
if (jj_3R_157()) return true;
return false;
}
static private boolean jj_3R_228()
{
if (jj_3R_238()) return true;
return false;
}
static private boolean jj_3R_227()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(83)) {
jj_scanpos = xsp;
if (jj_scan_token(82)) return true;
}
if (jj_3R_211()) return true;
return false;
}
static private boolean jj_3R_225()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_227()) {
jj_scanpos = xsp;
if (jj_3R_228()) {
jj_scanpos = xsp;
if (jj_3R_229()) return true;
}
}
return false;
}
static private boolean jj_3R_42()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(9)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(43)) return true;
}
}
return false;
}
static private boolean jj_3_1()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_42()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(CLASS)) return true;
return false;
}
static private boolean jj_3R_156()
{
if (jj_scan_token(DECR)) return true;
if (jj_3R_53()) return true;
return false;
}
static private boolean jj_3R_223()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(94)) {
jj_scanpos = xsp;
if (jj_scan_token(95)) return true;
}
if (jj_3R_202()) return true;
return false;
}
static private boolean jj_3R_226()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(96)) {
jj_scanpos = xsp;
if (jj_scan_token(97)) {
jj_scanpos = xsp;
if (jj_scan_token(101)) return true;
}
}
if (jj_3R_211()) return true;
return false;
}
static private boolean jj_3R_155()
{
if (jj_scan_token(INCR)) return true;
if (jj_3R_53()) return true;
return false;
}
static private boolean jj_3R_222()
{
if (jj_3R_225()) return true;
return false;
}
static private boolean jj_3R_212()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(102)) {
jj_scanpos = xsp;
if (jj_scan_token(103)) {
jj_scanpos = xsp;
if (jj_scan_token(104)) return true;
}
}
if (jj_3R_190()) return true;
return false;
}
static private boolean jj_3R_221()
{
if (jj_3R_156()) return true;
return false;
}
static private boolean jj_3R_220()
{
if (jj_3R_155()) return true;
return false;
}
static private boolean jj_3R_219()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(94)) {
jj_scanpos = xsp;
if (jj_scan_token(95)) return true;
}
if (jj_3R_211()) return true;
return false;
}
static private boolean jj_3R_211()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_219()) {
jj_scanpos = xsp;
if (jj_3R_220()) {
jj_scanpos = xsp;
if (jj_3R_221()) {
jj_scanpos = xsp;
if (jj_3R_222()) return true;
}
}
}
return false;
}
static private boolean jj_3R_203()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(81)) {
jj_scanpos = xsp;
if (jj_scan_token(80)) {
jj_scanpos = xsp;
if (jj_scan_token(87)) {
jj_scanpos = xsp;
if (jj_scan_token(88)) return true;
}
}
}
if (jj_3R_174()) return true;
return false;
}
static private boolean jj_3R_191()
{
if (jj_scan_token(INSTANCEOF)) return true;
if (jj_3R_62()) return true;
return false;
}
static private boolean jj_3R_202()
{
if (jj_3R_211()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_226()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_175()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(86)) {
jj_scanpos = xsp;
if (jj_scan_token(89)) return true;
}
if (jj_3R_160()) return true;
return false;
}
static private boolean jj_3R_237()
{
if (jj_scan_token(FINALLY)) return true;
if (jj_3R_63()) return true;
return false;
}
static private boolean jj_3R_190()
{
if (jj_3R_202()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_223()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_236()
{
if (jj_scan_token(CATCH)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_205()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_63()) return true;
return false;
}
static private boolean jj_3R_143()
{
if (jj_scan_token(TRY)) return true;
if (jj_3R_63()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_236()) { jj_scanpos = xsp; break; }
}
xsp = jj_scanpos;
if (jj_3R_237()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_174()
{
if (jj_3R_190()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_212()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_168()
{
if (jj_scan_token(BIT_AND)) return true;
if (jj_3R_154()) return true;
return false;
}
static private boolean jj_3R_167()
{
if (jj_3R_174()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_203()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_234()
{
if (jj_3R_242()) return true;
return false;
}
static private boolean jj_3R_142()
{
if (jj_scan_token(SYNCHRONIZED)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_63()) return true;
return false;
}
static private boolean jj_3R_235()
{
if (jj_3R_60()) return true;
return false;
}
static private boolean jj_3R_158()
{
if (jj_scan_token(BIT_OR)) return true;
if (jj_3R_131()) return true;
return false;
}
static private boolean jj_3R_161()
{
if (jj_scan_token(XOR)) return true;
if (jj_3R_147()) return true;
return false;
}
static private boolean jj_3R_160()
{
if (jj_3R_167()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_191()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_141()
{
if (jj_scan_token(THROW)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3R_152()
{
if (jj_scan_token(SC_AND)) return true;
if (jj_3R_114()) return true;
return false;
}
static private boolean jj_3R_154()
{
if (jj_3R_160()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_175()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_144()
{
if (jj_scan_token(SC_OR)) return true;
if (jj_3R_104()) return true;
return false;
}
static private boolean jj_3R_251()
{
if (jj_scan_token(COMMA)) return true;
if (jj_3R_132()) return true;
return false;
}
static private boolean jj_3R_140()
{
if (jj_scan_token(RETURN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_235()) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3R_147()
{
if (jj_3R_154()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_168()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_139()
{
if (jj_scan_token(CONTINUE)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(67)) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3R_128()
{
if (jj_scan_token(HOOK)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(COLON)) return true;
if (jj_3R_94()) return true;
return false;
}
static private boolean jj_3R_233()
{
if (jj_3R_60()) return true;
return false;
}
static private boolean jj_3R_131()
{
if (jj_3R_147()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_161()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_138()
{
if (jj_scan_token(BREAK)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(67)) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3R_114()
{
if (jj_3R_131()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_158()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_231()
{
if (jj_scan_token(ELSE)) return true;
if (jj_3R_106()) return true;
return false;
}
static private boolean jj_3R_242()
{
if (jj_3R_250()) return true;
return false;
}
static private boolean jj_3R_104()
{
if (jj_3R_114()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_152()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3_31()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(25)) jj_scanpos = xsp;
if (jj_3R_62()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
static private boolean jj_3R_250()
{
if (jj_3R_132()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_251()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_232()
{
if (jj_3R_241()) return true;
return false;
}
static private boolean jj_3R_98()
{
if (jj_3R_104()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_144()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_249()
{
if (jj_3R_250()) return true;
return false;
}
static private boolean jj_3R_248()
{
if (jj_3R_105()) return true;
return false;
}
static private boolean jj_3R_241()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_248()) {
jj_scanpos = xsp;
if (jj_3R_249()) return true;
}
return false;
}
static private boolean jj_3R_94()
{
if (jj_3R_98()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_128()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_137()
{
if (jj_scan_token(FOR)) return true;
if (jj_scan_token(LPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_232()) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
xsp = jj_scanpos;
if (jj_3R_233()) jj_scanpos = xsp;
if (jj_scan_token(SEMICOLON)) return true;
xsp = jj_scanpos;
if (jj_3R_234()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_106()) return true;
return false;
}
static private boolean jj_3R_55()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(79)) {
jj_scanpos = xsp;
if (jj_scan_token(107)) {
jj_scanpos = xsp;
if (jj_scan_token(108)) {
jj_scanpos = xsp;
if (jj_scan_token(112)) {
jj_scanpos = xsp;
if (jj_scan_token(105)) {
jj_scanpos = xsp;
if (jj_scan_token(106)) {
jj_scanpos = xsp;
if (jj_scan_token(113)) {
jj_scanpos = xsp;
if (jj_scan_token(114)) {
jj_scanpos = xsp;
if (jj_scan_token(115)) {
jj_scanpos = xsp;
if (jj_scan_token(109)) {
jj_scanpos = xsp;
if (jj_scan_token(111)) {
jj_scanpos = xsp;
if (jj_scan_token(110)) return true;
}
}
}
}
}
}
}
}
}
}
}
return false;
}
static private boolean jj_3_15()
{
if (jj_3R_53()) return true;
if (jj_3R_55()) return true;
return false;
}
static private boolean jj_3R_136()
{
if (jj_scan_token(DO)) return true;
if (jj_3R_106()) return true;
if (jj_scan_token(WHILE)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3R_93()
{
if (jj_3R_53()) return true;
if (jj_3R_55()) return true;
if (jj_3R_60()) return true;
return false;
}
static private boolean jj_3R_135()
{
if (jj_scan_token(WHILE)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_106()) return true;
return false;
}
static private boolean jj_3R_79()
{
if (jj_3R_94()) return true;
return false;
}
static private boolean jj_3R_60()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_78()) {
jj_scanpos = xsp;
if (jj_3R_79()) return true;
}
return false;
}
static private boolean jj_3R_78()
{
if (jj_3R_93()) return true;
return false;
}
static private boolean jj_3R_240()
{
if (jj_3R_95()) return true;
return false;
}
static private boolean jj_3R_134()
{
if (jj_scan_token(IF)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_106()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_231()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_224()
{
if (jj_scan_token(COMMA)) return true;
if (jj_3R_188()) return true;
return false;
}
static private boolean jj_3R_207()
{
if (jj_scan_token(COMMA)) return true;
if (jj_3R_47()) return true;
return false;
}
static private boolean jj_3R_247()
{
if (jj_scan_token(_DEFAULT)) return true;
if (jj_scan_token(COLON)) return true;
return false;
}
static private boolean jj_3R_197()
{
if (jj_3R_47()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_207()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_246()
{
if (jj_scan_token(CASE)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(COLON)) return true;
return false;
}
static private boolean jj_3R_239()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_246()) {
jj_scanpos = xsp;
if (jj_3R_247()) return true;
}
return false;
}
static private boolean jj_3R_230()
{
if (jj_3R_239()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_240()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3_14()
{
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
static private boolean jj_3R_47()
{
if (jj_scan_token(IDENTIFIER)) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_14()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3_30()
{
if (jj_3R_53()) return true;
if (jj_3R_55()) return true;
return false;
}
static private boolean jj_3R_133()
{
if (jj_scan_token(SWITCH)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_scan_token(LBRACE)) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_230()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
static private boolean jj_3R_82()
{
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
static private boolean jj_3R_151()
{
if (jj_3R_157()) return true;
return false;
}
static private boolean jj_3R_84()
{
if (jj_3R_62()) return true;
return false;
}
static private boolean jj_3R_150()
{
if (jj_3R_93()) return true;
return false;
}
static private boolean jj_3R_65()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(56)) {
jj_scanpos = xsp;
if (jj_3R_84()) return true;
}
return false;
}
static private boolean jj_3R_149()
{
if (jj_3R_156()) return true;
return false;
}
static private boolean jj_3R_148()
{
if (jj_3R_155()) return true;
return false;
}
static private boolean jj_3R_132()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_148()) {
jj_scanpos = xsp;
if (jj_3R_149()) {
jj_scanpos = xsp;
if (jj_3R_150()) {
jj_scanpos = xsp;
if (jj_3R_151()) return true;
}
}
}
return false;
}
static private boolean jj_3R_81()
{
if (jj_3R_47()) return true;
return false;
}
static private boolean jj_3R_105()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(25)) jj_scanpos = xsp;
if (jj_3R_62()) return true;
if (jj_3R_188()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_224()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_57()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(10)) {
jj_scanpos = xsp;
if (jj_scan_token(15)) {
jj_scanpos = xsp;
if (jj_scan_token(12)) {
jj_scanpos = xsp;
if (jj_scan_token(45)) {
jj_scanpos = xsp;
if (jj_scan_token(34)) {
jj_scanpos = xsp;
if (jj_scan_token(36)) {
jj_scanpos = xsp;
if (jj_scan_token(27)) {
jj_scanpos = xsp;
if (jj_scan_token(21)) return true;
}
}
}
}
}
}
}
return false;
}
static private boolean jj_3R_180()
{
if (jj_scan_token(THROWS)) return true;
if (jj_3R_197()) return true;
return false;
}
static private boolean jj_3_29()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(25)) jj_scanpos = xsp;
if (jj_3R_62()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
static private boolean jj_3R_80()
{
if (jj_3R_57()) return true;
return false;
}
static private boolean jj_3R_102()
{
if (jj_3R_108()) return true;
return false;
}
static private boolean jj_3R_62()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_80()) {
jj_scanpos = xsp;
if (jj_3R_81()) return true;
}
while (true) {
xsp = jj_scanpos;
if (jj_3R_82()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_101()
{
if (jj_3R_107()) return true;
return false;
}
static private boolean jj_3R_100()
{
if (jj_3R_106()) return true;
return false;
}
static private boolean jj_3R_83()
{
if (jj_3R_95()) return true;
return false;
}
static private boolean jj_3R_95()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_99()) {
jj_scanpos = xsp;
if (jj_3R_100()) {
jj_scanpos = xsp;
if (jj_3R_101()) {
jj_scanpos = xsp;
if (jj_3R_102()) return true;
}
}
}
return false;
}
static private boolean jj_3R_99()
{
if (jj_3R_105()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3_13()
{
if (jj_scan_token(THIS)) return true;
if (jj_3R_54()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3R_43()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(46)) jj_scanpos = xsp;
if (jj_3R_63()) return true;
return false;
}
static private boolean jj_3R_63()
{
if (jj_scan_token(LBRACE)) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_83()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
static private boolean jj_3_11()
{
if (jj_3R_52()) return true;
return false;
}
static private boolean jj_3R_198()
{
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
static private boolean jj_3_12()
{
if (jj_3R_53()) return true;
if (jj_scan_token(DOT)) return true;
return false;
}
static private boolean jj_3R_206()
{
if (jj_scan_token(COMMA)) return true;
if (jj_3R_205()) return true;
return false;
}
static private boolean jj_3R_69()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3_12()) jj_scanpos = xsp;
if (jj_scan_token(SUPER)) return true;
if (jj_3R_54()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3R_61()
{
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_scan_token(COLON)) return true;
if (jj_3R_106()) return true;
return false;
}
static private boolean jj_3R_68()
{
if (jj_scan_token(THIS)) return true;
if (jj_3R_54()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3R_52()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_68()) {
jj_scanpos = xsp;
if (jj_3R_69()) return true;
}
return false;
}
static private boolean jj_3R_182()
{
if (jj_3R_95()) return true;
return false;
}
static private boolean jj_3_27()
{
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
static private boolean jj_3R_181()
{
if (jj_3R_52()) return true;
return false;
}
static private boolean jj_3R_127()
{
if (jj_3R_143()) return true;
return false;
}
static private boolean jj_3R_126()
{
if (jj_3R_142()) return true;
return false;
}
static private boolean jj_3R_125()
{
if (jj_3R_141()) return true;
return false;
}
static private boolean jj_3R_178()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) return true;
}
}
return false;
}
static private boolean jj_3R_124()
{
if (jj_3R_140()) return true;
return false;
}
static private boolean jj_3R_171()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_178()) jj_scanpos = xsp;
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_3R_179()) return true;
xsp = jj_scanpos;
if (jj_3R_180()) jj_scanpos = xsp;
if (jj_scan_token(LBRACE)) return true;
xsp = jj_scanpos;
if (jj_3R_181()) jj_scanpos = xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_182()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
static private boolean jj_3R_123()
{
if (jj_3R_139()) return true;
return false;
}
static private boolean jj_3R_122()
{
if (jj_3R_138()) return true;
return false;
}
static private boolean jj_3R_121()
{
if (jj_3R_137()) return true;
return false;
}
static private boolean jj_3R_205()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(25)) jj_scanpos = xsp;
if (jj_3R_62()) return true;
if (jj_3R_200()) return true;
return false;
}
static private boolean jj_3R_196()
{
if (jj_3R_205()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_206()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_120()
{
if (jj_3R_136()) return true;
return false;
}
static private boolean jj_3R_111()
{
if (jj_3R_85()) return true;
return false;
}
static private boolean jj_3R_119()
{
if (jj_3R_135()) return true;
return false;
}
static private boolean jj_3R_118()
{
if (jj_3R_134()) return true;
return false;
}
static private boolean jj_3R_185()
{
if (jj_scan_token(THROWS)) return true;
if (jj_3R_197()) return true;
return false;
}
static private boolean jj_3R_179()
{
if (jj_scan_token(LPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_196()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
static private boolean jj_3R_117()
{
if (jj_3R_133()) return true;
return false;
}
static private boolean jj_3R_116()
{
if (jj_3R_132()) return true;
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3R_184()
{
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_3R_179()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_198()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_115()
{
if (jj_3R_63()) return true;
return false;
}
static private boolean jj_3_28()
{
if (jj_3R_61()) return true;
return false;
}
static private boolean jj_3R_106()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3_28()) {
jj_scanpos = xsp;
if (jj_3R_115()) {
jj_scanpos = xsp;
if (jj_scan_token(76)) {
jj_scanpos = xsp;
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()) {
jj_scanpos = xsp;
if (jj_3R_124()) {
jj_scanpos = xsp;
if (jj_3R_125()) {
jj_scanpos = xsp;
if (jj_3R_126()) {
jj_scanpos = xsp;
if (jj_3R_127()) return true;
}
}
}
}
}
}
}
}
}
}
}
}
}
}
return false;
}
static private boolean jj_3R_129()
{
if (jj_3R_85()) return true;
return false;
}
static private boolean jj_3_10()
{
if (jj_scan_token(COMMA)) return true;
if (jj_3R_51()) return true;
return false;
}
static private boolean jj_3R_218()
{
if (jj_scan_token(FINALLY)) return true;
if (jj_3R_63()) return true;
return false;
}
static private boolean jj_3R_209()
{
if (jj_scan_token(FINALLY)) return true;
if (jj_3R_63()) return true;
return false;
}
static private boolean jj_3R_130()
{
if (jj_3R_146()) return true;
return false;
}
static private boolean jj_3R_217()
{
if (jj_scan_token(CATCH)) return true;
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_205()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_63()) return true;
return false;
}
static private boolean jj_3R_208()
{
Token xsp;
if (jj_3R_217()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_217()) { jj_scanpos = xsp; break; }
}
xsp = jj_scanpos;
if (jj_3R_218()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_186()
{
if (jj_3R_63()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_199()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3_26()
{
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
static private boolean jj_3R_110()
{
Token xsp;
if (jj_3_26()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3_26()) { jj_scanpos = xsp; break; }
}
while (true) {
xsp = jj_scanpos;
if (jj_3_27()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_199()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_208()) {
jj_scanpos = xsp;
if (jj_3R_209()) return true;
}
return false;
}
static private boolean jj_3R_113()
{
if (jj_3R_54()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_130()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_97()
{
if (jj_scan_token(COMMA)) return true;
if (jj_3R_60()) return true;
return false;
}
static private boolean jj_3R_112()
{
if (jj_3R_110()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_129()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_183()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(9)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(37)) {
jj_scanpos = xsp;
if (jj_scan_token(49)) return true;
}
}
}
}
}
}
}
return false;
}
static private boolean jj_3R_172()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_183()) { jj_scanpos = xsp; break; }
}
if (jj_3R_65()) return true;
if (jj_3R_184()) return true;
xsp = jj_scanpos;
if (jj_3R_185()) jj_scanpos = xsp;
xsp = jj_scanpos;
if (jj_3R_186()) {
jj_scanpos = xsp;
if (jj_scan_token(76)) return true;
}
return false;
}
static private boolean jj_3R_77()
{
if (jj_scan_token(NEW)) return true;
if (jj_3R_47()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_112()) {
jj_scanpos = xsp;
if (jj_3R_113()) return true;
}
return false;
}
static private boolean jj_3R_145()
{
if (jj_3R_51()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_10()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_201()
{
if (jj_scan_token(ASSIGN)) return true;
if (jj_3R_51()) return true;
return false;
}
static private boolean jj_3R_189()
{
if (jj_scan_token(COMMA)) return true;
if (jj_3R_188()) return true;
return false;
}
static private boolean jj_3R_59()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3_25()) {
jj_scanpos = xsp;
if (jj_3R_77()) return true;
}
return false;
}
static private boolean jj_3_25()
{
if (jj_scan_token(NEW)) return true;
if (jj_3R_57()) return true;
if (jj_3R_110()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_111()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_210()
{
if (jj_scan_token(LBRACKET)) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
static private boolean jj_3R_85()
{
if (jj_scan_token(LBRACE)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_145()) jj_scanpos = xsp;
xsp = jj_scanpos;
if (jj_scan_token(77)) jj_scanpos = xsp;
if (jj_scan_token(RBRACE)) return true;
return false;
}
static private boolean jj_3R_71()
{
if (jj_3R_91()) return true;
return false;
}
static private boolean jj_3R_91()
{
if (jj_3R_60()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_97()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_67()
{
if (jj_3R_60()) return true;
return false;
}
static private boolean jj_3R_66()
{
if (jj_3R_85()) return true;
return false;
}
static private boolean jj_3R_51()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_66()) {
jj_scanpos = xsp;
if (jj_3R_67()) return true;
}
return false;
}
static private boolean jj_3R_54()
{
if (jj_scan_token(LPAREN)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_71()) jj_scanpos = xsp;
if (jj_scan_token(RPAREN)) return true;
return false;
}
static private boolean jj_3R_200()
{
if (jj_scan_token(IDENTIFIER)) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_210()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3R_188()
{
if (jj_3R_200()) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_201()) jj_scanpos = xsp;
return false;
}
static private boolean jj_3R_194()
{
if (jj_scan_token(EXTENDS)) return true;
if (jj_3R_197()) return true;
return false;
}
static private boolean jj_3R_109()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(54)) {
jj_scanpos = xsp;
if (jj_scan_token(24)) return true;
}
return false;
}
static private boolean jj_3R_92()
{
if (jj_3R_96()) return true;
return false;
}
static private boolean jj_3R_187()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(53)) {
jj_scanpos = xsp;
if (jj_scan_token(57)) return true;
}
}
}
}
}
}
return false;
}
static private boolean jj_3_9()
{
if (jj_3R_48()) return true;
return false;
}
static private boolean jj_3R_50()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(9)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) return true;
}
}
}
}
}
return false;
}
static private boolean jj_3R_173()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_187()) { jj_scanpos = xsp; break; }
}
if (jj_3R_62()) return true;
if (jj_3R_188()) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_189()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(SEMICOLON)) return true;
return false;
}
static private boolean jj_3_8()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_50()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(INTERFACE)) return true;
return false;
}
static private boolean jj_3R_49()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(9)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) return true;
}
}
}
}
}
return false;
}
static private boolean jj_3R_103()
{
if (jj_3R_109()) return true;
return false;
}
static private boolean jj_3_7()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_49()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(CLASS)) return true;
return false;
}
static private boolean jj_3R_216()
{
if (jj_3R_173()) return true;
return false;
}
static private boolean jj_3R_215()
{
if (jj_3R_172()) return true;
return false;
}
static private boolean jj_3R_96()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(59)) {
jj_scanpos = xsp;
if (jj_scan_token(63)) {
jj_scanpos = xsp;
if (jj_scan_token(65)) {
jj_scanpos = xsp;
if (jj_scan_token(66)) {
jj_scanpos = xsp;
if (jj_3R_103()) {
jj_scanpos = xsp;
if (jj_scan_token(39)) return true;
}
}
}
}
}
return false;
}
static private boolean jj_3R_214()
{
if (jj_3R_170()) return true;
return false;
}
static private boolean jj_3R_213()
{
if (jj_3R_169()) return true;
return false;
}
static private boolean jj_3R_204()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_213()) {
jj_scanpos = xsp;
if (jj_3R_214()) {
jj_scanpos = xsp;
if (jj_3R_215()) {
jj_scanpos = xsp;
if (jj_3R_216()) return true;
}
}
}
return false;
}
static private boolean jj_3R_195()
{
if (jj_3R_204()) return true;
return false;
}
static private boolean jj_3R_76()
{
if (jj_3R_54()) return true;
return false;
}
static private boolean jj_3R_75()
{
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
static private boolean jj_3R_74()
{
if (jj_scan_token(LBRACKET)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RBRACKET)) return true;
return false;
}
static private boolean jj_3R_108()
{
if (jj_scan_token(INTERFACE)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
Token xsp;
xsp = jj_scanpos;
if (jj_3R_194()) jj_scanpos = xsp;
if (jj_scan_token(LBRACE)) return true;
while (true) {
xsp = jj_scanpos;
if (jj_3R_195()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(RBRACE)) return true;
return false;
}
static private boolean jj_3_24()
{
if (jj_scan_token(DOT)) return true;
if (jj_3R_59()) return true;
return false;
}
static private boolean jj_3R_177()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(9)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) return true;
}
}
}
}
}
return false;
}
static private boolean jj_3_23()
{
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(CLASS)) return true;
return false;
}
static private boolean jj_3R_170()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_177()) { jj_scanpos = xsp; break; }
}
if (jj_3R_108()) return true;
return false;
}
static private boolean jj_3R_58()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3_22()) {
jj_scanpos = xsp;
if (jj_3_23()) {
jj_scanpos = xsp;
if (jj_3_24()) {
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;
}
static private boolean jj_3_22()
{
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(THIS)) return true;
return false;
}
static private boolean jj_3_21()
{
if (jj_3R_58()) return true;
return false;
}
static private boolean jj_3R_90()
{
if (jj_3R_59()) return true;
return false;
}
static private boolean jj_3R_89()
{
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_60()) return true;
if (jj_scan_token(RPAREN)) return true;
return false;
}
static private boolean jj_3R_88()
{
if (jj_scan_token(SUPER)) return true;
if (jj_scan_token(DOT)) return true;
if (jj_scan_token(IDENTIFIER)) return true;
return false;
}
static private boolean jj_3R_193()
{
if (jj_scan_token(IMPLEMENTS)) return true;
if (jj_3R_197()) return true;
return false;
}
static private boolean jj_3R_64()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) {
jj_scanpos = xsp;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(9)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(37)) {
jj_scanpos = xsp;
if (jj_scan_token(49)) return true;
}
}
}
}
}
}
}
return false;
}
static private boolean jj_3_6()
{
if (jj_3R_48()) return true;
return false;
}
static private boolean jj_3R_48()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_64()) { jj_scanpos = xsp; break; }
}
if (jj_3R_65()) return true;
if (jj_scan_token(IDENTIFIER)) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
static private boolean jj_3R_46()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) return true;
}
}
return false;
}
static private boolean jj_3R_87()
{
if (jj_3R_47()) return true;
return false;
}
static private boolean jj_3_5()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_46()) jj_scanpos = xsp;
if (jj_3R_47()) return true;
if (jj_scan_token(LPAREN)) return true;
return false;
}
static private boolean jj_3R_245()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(92)) {
jj_scanpos = xsp;
if (jj_scan_token(93)) return true;
}
return false;
}
static private boolean jj_3R_45()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(9)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) return true;
}
}
}
}
}
return false;
}
static private boolean jj_3R_70()
{
Token xsp;
xsp = jj_scanpos;
if (jj_3R_86()) {
jj_scanpos = xsp;
if (jj_3R_87()) {
jj_scanpos = xsp;
if (jj_scan_token(50)) {
jj_scanpos = xsp;
if (jj_3R_88()) {
jj_scanpos = xsp;
if (jj_3R_89()) {
jj_scanpos = xsp;
if (jj_3R_90()) return true;
}
}
}
}
}
return false;
}
static private boolean jj_3R_86()
{
if (jj_3R_96()) return true;
return false;
}
static private boolean jj_3_4()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_45()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(INTERFACE)) return true;
return false;
}
static private boolean jj_3R_44()
{
Token xsp;
xsp = jj_scanpos;
if (jj_scan_token(46)) {
jj_scanpos = xsp;
if (jj_scan_token(9)) {
jj_scanpos = xsp;
if (jj_scan_token(25)) {
jj_scanpos = xsp;
if (jj_scan_token(43)) {
jj_scanpos = xsp;
if (jj_scan_token(42)) {
jj_scanpos = xsp;
if (jj_scan_token(41)) return true;
}
}
}
}
}
return false;
}
static private boolean jj_3_20()
{
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_47()) return true;
return false;
}
static private boolean jj_3R_166()
{
if (jj_3R_173()) return true;
return false;
}
static private boolean jj_3_3()
{
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3R_44()) { jj_scanpos = xsp; break; }
}
if (jj_scan_token(CLASS)) return true;
return false;
}
static private boolean jj_3R_53()
{
if (jj_3R_70()) return true;
Token xsp;
while (true) {
xsp = jj_scanpos;
if (jj_3_21()) { jj_scanpos = xsp; break; }
}
return false;
}
static private boolean jj_3_19()
{
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_57()) return true;
return false;
}
static private boolean jj_3R_165()
{
if (jj_3R_172()) return true;
return false;
}
static private boolean jj_3R_164()
{
if (jj_3R_171()) return true;
return false;
}
static private boolean jj_3R_244()
{
if (jj_scan_token(LPAREN)) return true;
if (jj_3R_62()) return true;
if (jj_scan_token(RPAREN)) return true;
if (jj_3R_225()) return true;
return false;
}
static private boolean jj_3R_163()
{
if (jj_3R_170()) return true;
return false;
}
static private boolean jj_initialized_once = false;
/** Generated Token Manager. */
static public ToyParserTokenManager token_source;
static JavaCharStream jj_input_stream;
/** Current token. */
static public Token token;
/** Next token. */
static public Token jj_nt;
static private int jj_ntk;
static private Token jj_scanpos, jj_lastpos;
static private int jj_la;
static private int jj_gen;
static final private int[] jj_la1 = new int[113];
static private int[] jj_la1_0;
static private int[] jj_la1_1;
static private int[] jj_la1_2;
static private int[] jj_la1_3;
static {
jj_la1_init_0();
jj_la1_init_1();
jj_la1_init_2();
jj_la1_init_3();
}
private static void jj_la1_init_0() {
jj_la1_0 = new int[] {0x0,0x0,0x2010200,0x0,0x200,0x2000200,0x2000200,0x800000,0x80000000,0xa219600,0x2000200,0x2000200,0xa209400,0x2000200,0x2000200,0x200,0x200,0x2000200,0x2000200,0x800000,0xa219600,0xa209400,0x2000000,0x2000000,0x0,0x0,0x0,0x1000000,0x1000000,0x0,0x2000200,0x2000200,0x0,0x4000,0x4000000,0x4004000,0x4004000,0x0,0x0,0x0,0xa209400,0x2000000,0x0,0x0,0x0,0x5b359c00,0x1000000,0x0,0x8209400,0x0,0x8209400,0x8209400,0x0,0x1000000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1000000,0x0,0x0,0x1000000,0x1000000,0x0,0x0,0x0,0x1000000,0x0,0x1000000,0x1000000,0x1000000,0x0,0x0,0x0,0x0,0x0,0x0,0x51140800,0x5b359c00,0x51150800,0x2000000,0x0,0x0,0x1000000,0x82000,0x5b359c00,0x82000,0x400000,0xb209400,0x1000000,0x1000000,0x1000000,0x0,0x0,0x0,0x1000000,0x4000,0x4000000,};
}
private static void jj_la1_init_1() {
jj_la1_1 = new int[] {0x100,0x1,0x808,0x0,0x808,0x800,0x800,0x0,0x0,0x3226e3c,0x4e00,0x4e00,0x2206e14,0x24e20,0x24e20,0x800,0x800,0x4e00,0x4e00,0x0,0x3226e3c,0x2206e14,0x2204e00,0x2204e00,0x0,0x0,0x0,0x884480c0,0x884480c0,0x0,0x24e20,0x24e20,0x100000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2014,0x0,0xe00,0xe00,0x100000,0x8ccfb0dc,0x884480c0,0x4000,0x2014,0x0,0x2014,0x1002014,0x0,0x884480c0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x884480c0,0x0,0x0,0x884480c0,0x884480c0,0x0,0x0,0x0,0x884480c0,0x0,0x88400080,0x400000,0x884480c0,0x0,0x0,0x0,0x0,0x0,0x40,0x8ccf90c0,0x8ccfb0dc,0x8ccf90c8,0x0,0x0,0x0,0x884480c0,0x0,0x8ccfb0dc,0x0,0x0,0x8844a0d4,0x884480c0,0x884480c0,0x884480c0,0x0,0x0,0x0,0x884480c0,0x0,0x0,};
}
private static void jj_la1_init_2() {
jj_la1_2 = new int[] {0x0,0x0,0x1000,0x4000,0x1000,0x0,0x0,0x0,0x0,0x108,0x0,0x0,0x8,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x8,0x8,0x0,0x0,0x2000,0x8000,0x400,0xf00c014e,0xf00c014e,0x2000,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x1100,0x400,0x2000,0x8,0x0,0x0,0x0,0x0,0x3000114e,0x4e,0x0,0x8,0x400,0x0,0x8,0x2000,0xf00c004e,0x8000,0x100000,0x4000000,0x8000000,0x0,0x0,0x0,0x2400000,0x2400000,0x0,0x1830000,0x1830000,0x0,0x0,0xc0000000,0xc0000000,0x0,0x0,0xc0000000,0xf00c004e,0xc0000,0xc0000,0x4e,0xc004e,0x40,0x30000000,0x30000000,0x4e,0x4440,0x6,0x0,0xf00c004e,0x2000,0x100,0x100,0x100,0x440,0x0,0x3000114e,0x3000114e,0x3000114e,0x0,0x2000,0x30000000,0x4e,0x0,0x3000114e,0x0,0x0,0x3000004e,0xf00c004e,0x3000004e,0x3000004e,0x2000,0x8,0x8,0xf00c004e,0x0,0x0,};
}
private static void jj_la1_init_3() {
jj_la1_3 = new int[] {0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xffe00,0x0,0x0,0x0,0x8,0x10,0x4,0x0,0x0,0x0,0x0,0x0,0x1c0,0x1c0,0x0,0x0,0x23,0x23,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,};
}
static final private JJCalls[] jj_2_rtns = new JJCalls[31];
static private boolean jj_rescan = false;
static private int jj_gc = 0;
/** Constructor with InputStream. */
public ToyParser(java.io.InputStream stream) {
this(stream, null);
}
/** Constructor with InputStream and supplied encoding */
public ToyParser(java.io.InputStream stream, String encoding) {
if (jj_initialized_once) {
System.out.println("ERROR: Second call to constructor of static parser. ");
System.out.println(" You must either use ReInit() or set the JavaCC option STATIC to false");
System.out.println(" during parser generation.");
throw new Error();
}
jj_initialized_once = true;
try { jj_input_stream = new JavaCharStream(stream, encoding, 1, 1); } catch(java.io.UnsupportedEncodingException e) { throw new RuntimeException(e); }
token_source = new ToyParserTokenManager(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 113; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
static public void ReInit(java.io.InputStream stream) {
ReInit(stream, null);
}
/** Reinitialise. */
static 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 < 113; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Constructor. */
public ToyParser(java.io.Reader stream) {
if (jj_initialized_once) {
System.out.println("ERROR: Second call to constructor of static parser. ");
System.out.println(" You must either use ReInit() or set the JavaCC option STATIC to false");
System.out.println(" during parser generation.");
throw new Error();
}
jj_initialized_once = true;
jj_input_stream = new JavaCharStream(stream, 1, 1);
token_source = new ToyParserTokenManager(jj_input_stream);
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 113; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
/** Reinitialise. */
static public void ReInit(java.io.Reader stream) {
if (jj_input_stream == null) {
jj_input_stream = new JavaCharStream(stream, 1, 1);
} else {
jj_input_stream.ReInit(stream, 1, 1);
}
if (token_source == null) {
token_source = new ToyParserTokenManager(jj_input_stream);
}
token_source.ReInit(jj_input_stream);
token = new Token();
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
for (int i = 0; i < 113; 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 ToyParser(ToyParserTokenManager tm) {
if (jj_initialized_once) {
System.out.println("ERROR: Second call to constructor of static parser. ");
System.out.println(" You must either use ReInit() or set the JavaCC option STATIC to false");
System.out.println(" during parser generation.");
throw new Error();
}
jj_initialized_once = true;
token_source = tm;
token = new Token();
jj_ntk = -1;
jj_gen = 0;
for (int i = 0; i < 113; 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(ToyParserTokenManager tm) {
token_source = tm;
token = new Token();
jj_ntk = -1;
jjtree.reset();
jj_gen = 0;
for (int i = 0; i < 113; i++) jj_la1[i] = -1;
for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls();
}
static 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();
}
@SuppressWarnings("serial")
static private final class LookaheadSuccess extends java.lang.Error { }
static final private LookaheadSuccess jj_ls = new LookaheadSuccess();
static 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. */
static 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. */
static 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;
}
static private int jj_ntk_f() {
if ((jj_nt=token.next) == null)
return (jj_ntk = (token.next=token_source.getNextToken()).kind);
else
return (jj_ntk = jj_nt.kind);
}
static private java.util.List jj_expentries = new java.util.ArrayList();
static private int[] jj_expentry;
static private int jj_kind = -1;
static private int[] jj_lasttokens = new int[100];
static private int jj_endpos;
static 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];
}
for (int[] oldentry : jj_expentries) {
if (oldentry.length == jj_expentry.length) {
boolean isMatched = true;
for (int i = 0; i < jj_expentry.length; i++) {
if (oldentry[i] != jj_expentry[i]) {
isMatched = false;
break;
}
}
if (isMatched) {
jj_expentries.add(jj_expentry);
break;
}
}
}
if (pos != 0) {
jj_lasttokens[(jj_endpos = pos) - 1] = kind;
}
}
}
/** Generate ParseException. */
static public ParseException generateParseException() {
jj_expentries.clear();
boolean[] la1tokens = new boolean[116];
if (jj_kind >= 0) {
la1tokens[jj_kind] = true;
jj_kind = -1;
}
for (int i = 0; i < 113; 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;
case 22: jj_3_23(); break;
case 23: jj_3_24(); break;
case 24: jj_3_25(); break;
case 25: jj_3_26(); break;
case 26: jj_3_27(); break;
case 27: jj_3_28(); break;
case 28: jj_3_29(); break;
case 29: jj_3_30(); break;
case 30: jj_3_31(); break;
}
}
p = p.next;
} while (p != null);
} catch(LookaheadSuccess ls) { }
}
jj_rescan = false;
}
static 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;
}
}