package application.pen; /* Generated By:JJTree&JavaCC: Do not edit this line. IntVParser.java */ import java.util.Hashtable; public class IntVParser/*@bgen(jjtree)*/implements IntVParserTreeConstants, IntVParserConstants {/*@bgen(jjtree)*/ protected JJTIntVParserState jjtree = new JJTIntVParserState();Hashtable symTable = new Hashtable(); public int nParseErrors = 0; final public void IntVUnit() throws ParseException { trace_call("IntVUnit"); try { /*@bgen(jjtree) IntVUnit */ ASTIntVUnit jjtn000 = new ASTIntVUnit(JJTINTVUNIT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { label_1: while (true) { ; try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VARINT: case VARFLOAT: case VARSTRING: VarDecl(); break; case PROCEDURAL: case FUNCTION: Function(); break; case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: Stat(); break; case 0: jj_consume_token(0); {if (true) return;} break; default: jj_la1[0] = jj_gen; ErrorOccur(); } } catch (ParseException e) { ++nParseErrors; new ConsoleAppend("### " + e.getMessage() + "\n"); {if (true) throw new ParseException();} do { t = getNextToken(); } while (t.kind != SM && t.kind != RC && t.kind != EOF); } } } 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); } } } finally { trace_return("IntVUnit"); } } void ErrorOccur() throws ParseException { trace_call("ErrorOccur"); try { /*@bgen(jjtree) ErrorOccur */ ASTErrorOccur jjtn000 = new ASTErrorOccur(JJTERROROCCUR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try {ParseException e = generateParseException(); throw e;/*@bgen(jjtree)*/ } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("ErrorOccur"); } } final public void Function() throws ParseException { trace_call("Function"); try { /*@bgen(jjtree) Function */ ASTFunction jjtn000 = new ASTFunction(JJTFUNCTION); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case FUNCTION: jj_consume_token(FUNCTION); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VARINT: jj_consume_token(VARINT); jjtn000.decl = 1; break; case VARFLOAT: jj_consume_token(VARFLOAT); jjtn000.decl = 2; break; case VARSTRING: jj_consume_token(VARSTRING); jjtn000.decl = 3; break; default: jj_la1[1] = jj_gen; jj_consume_token(-1); throw new ParseException(); } t = jj_consume_token(IDENT); jj_consume_token(LP); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VARINT: case VARFLOAT: case VARSTRING: FunctionVar(); break; default: jj_la1[2] = jj_gen; ; } jj_consume_token(RP); jjtn000.line_num1 = jj_consume_token(SM).beginLine; ASTBlock jjtn001 = new ASTBlock(JJTBLOCK); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { label_2: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case VARINT: case VARFLOAT: case VARSTRING: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[3] = jj_gen; break label_2; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VARINT: case VARFLOAT: case VARSTRING: VarDecl(); break; case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: Stat(); break; default: jj_la1[4] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } 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); } } jj_consume_token(ENDFUNCTION); break; case PROCEDURAL: jj_consume_token(PROCEDURAL); jjtn000.decl = 0; t = jj_consume_token(IDENT); jj_consume_token(LP); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VARINT: case VARFLOAT: case VARSTRING: FunctionVar(); break; default: jj_la1[5] = jj_gen; ; } jj_consume_token(RP); jjtn000.line_num1 = jj_consume_token(SM).beginLine; ASTBlock jjtn002 = new ASTBlock(JJTBLOCK); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); try { label_3: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case VARINT: case VARFLOAT: case VARSTRING: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[6] = jj_gen; break label_3; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VARINT: case VARFLOAT: case VARSTRING: VarDecl(); break; case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: Stat(); break; default: jj_la1[7] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } catch (Throwable jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte002;} } if (jjte002 instanceof ParseException) { {if (true) throw (ParseException)jjte002;} } {if (true) throw (Error)jjte002;} } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } jj_consume_token(ENDPROCEDURAL); break; default: jj_la1[8] = jj_gen; jj_consume_token(-1); throw new ParseException(); } jjtn000.line_num2 = jj_consume_token(SM).beginLine; jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; if (!symTable.containsKey(t.image)) { symTable.put(t.image, new Object()); jjtn000.varName = t.image; } else { new ConsoleAppend( "### " + t.beginLine + "\u884c\u76ee\u306e \"" + t.image + "\" \u306f\u65e2\u306b\u5909\u6570\u3068\u3057\u3066\u5ba3\u8a00\u3055\u308c\u3066\u3044\u307e\u3059\"\n" ); {if (true) throw new ParseException();} } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("Function"); } } final public void FunctionVar() throws ParseException { trace_call("FunctionVar"); try { /*@bgen(jjtree) FunctionVar */ ASTFunctionVar jjtn000 = new ASTFunctionVar(JJTFUNCTIONVAR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VARINT: jj_consume_token(VARINT); jjtn000.decl = 1; break; case VARFLOAT: jj_consume_token(VARFLOAT); jjtn000.decl = 2; break; case VARSTRING: jj_consume_token(VARSTRING); jjtn000.decl = 3; break; default: jj_la1[9] = jj_gen; jj_consume_token(-1); throw new ParseException(); } Decl(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CM: jj_consume_token(CM); FunctionVar(); break; default: jj_la1[10] = jj_gen; ; } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("FunctionVar"); } } final public void VarDecl() throws ParseException { trace_call("VarDecl"); try { /*@bgen(jjtree) VarDecl */ ASTVarDecl jjtn000 = new ASTVarDecl(JJTVARDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case VARINT: jj_consume_token(VARINT); jjtn000.decl = 1; break; case VARFLOAT: jj_consume_token(VARFLOAT); jjtn000.decl = 2; break; case VARSTRING: jj_consume_token(VARSTRING); jjtn000.decl = 3; break; default: jj_la1[11] = jj_gen; jj_consume_token(-1); throw new ParseException(); } Decl(); label_4: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CM: ; break; default: jj_la1[12] = jj_gen; break label_4; } jj_consume_token(CM); Decl(); } jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("VarDecl"); } } final public void Decl() throws ParseException { trace_call("Decl"); try { /*@bgen(jjtree) Decl */ ASTDecl jjtn000 = new ASTDecl(JJTDECL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { t = jj_consume_token(IDENT); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LD: jj_consume_token(LD); Array(); jj_consume_token(RD); break; default: jj_la1[13] = jj_gen; ; } jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; symTable.put(t.image, new Object()); jjtn000.varName = t.image; /* if (!symTable.containsKey(t.image)) { symTable.put(t.image, new Object()); jjtThis.varName = t.image; } else { new ConsoleAppend( "### " + t.beginLine + "行目の \"" + t.image + "\" は既に変数として宣言されています\"\n" ); throw new ParseException(); } */ } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("Decl"); } } final public void Array() throws ParseException { trace_call("Array"); try { /*@bgen(jjtree) Array */ ASTArray jjtn000 = new ASTArray(JJTARRAY); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { AddExpr(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CM: jj_consume_token(CM); Array(); break; default: jj_la1[14] = jj_gen; ; } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("Array"); } } final public void Stat() throws ParseException { trace_call("Stat"); try { if (jj_2_1(10)) { AssignStats(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case IF: IfStat(); break; default: jj_la1[15] = jj_gen; if (jj_2_2(10)) { WhileStat(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case DOWHILE: RepeatUntil(); break; default: jj_la1[16] = jj_gen; if (jj_2_3(10)) { ForStat(); } else if (jj_2_4(10)) { PutStat(); } else if (jj_2_5(10)) { Return(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case gWindowOpen: gWindowOpen(); break; case gWindowClose: gWindowClose(); break; case gColor: gColor(); break; case gDrawOval: gDrawOval(); break; case gDrawPoint: gDrawPoint(); break; case gFillOval: gFillOval(); break; case gFillPoint: gFillPoint(); break; case gDrawLine: gDrawLine(); break; case gDrawBox: gDrawBox(); break; case gFillBox: gFillBox(); break; case gDrawArc: gDrawArc(); break; case gFillArc: gFillArc(); break; case CLOSE: File_close(); break; case PUTSTR: File_putstr(); break; case PUTLINE: File_putline(); break; case FLUSH: File_flush(); break; case RENAME: File_rename(); break; case REMOVE: File_remove(); break; case IDENT: FunctionCall(); break; case SM: jj_consume_token(SM); break; default: jj_la1[17] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } } } } } finally { trace_return("Stat"); } } final public void AssignStats() throws ParseException { trace_call("AssignStats"); try { /*@bgen(jjtree) AssignStats */ ASTAssignStats jjtn000 = new ASTAssignStats(JJTASSIGNSTATS); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { AssignStat(); label_5: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CM: ; break; default: jj_la1[18] = jj_gen; break label_5; } jj_consume_token(CM); AssignStat(); } jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("AssignStats"); } } final public void AssignStat() throws ParseException { trace_call("AssignStat"); try { /*@bgen(jjtree) AssignStat */ ASTAssignStat jjtn000 = new ASTAssignStat(JJTASSIGNSTAT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { Ident(); jj_consume_token(ASGNOP); AddExpr(); } 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); } } } finally { trace_return("AssignStat"); } } final public void IfStat() throws ParseException { trace_call("IfStat"); try { /*@bgen(jjtree) IfStat */ ASTIfStat jjtn000 = new ASTIfStat(JJTIFSTAT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(IF); Cond(); jjtn000.line_num1 = jj_consume_token(THEN).beginLine; if (jj_2_7(10)) { AssignStats(); } else if (jj_2_8(10)) { PutStat(); } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SM: jj_consume_token(SM); ASTBlock jjtn001 = new ASTBlock(JJTBLOCK); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { label_6: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[19] = jj_gen; break label_6; } Stat(); } } 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); } } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ELSE: case ELSEIF: if (jj_2_6(2)) { jj_consume_token(ELSE); jjtn000.line_num2 = jj_consume_token(SM).beginLine; ASTBlock jjtn002 = new ASTBlock(JJTBLOCK); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); try { label_7: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[20] = jj_gen; break label_7; } Stat(); } } catch (Throwable jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte002;} } if (jjte002 instanceof ParseException) { {if (true) throw (ParseException)jjte002;} } {if (true) throw (Error)jjte002;} } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ELSEIF: ElseIfStat(); break; default: jj_la1[21] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } break; default: jj_la1[22] = jj_gen; ; } jj_consume_token(ENDIF); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num3 = jj_consume_token(SM).beginLine; break; default: jj_la1[23] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("IfStat"); } } final public void ElseIfStat() throws ParseException { trace_call("ElseIfStat"); try { /*@bgen(jjtree) IfStat */ ASTIfStat jjtn000 = new ASTIfStat(JJTIFSTAT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(ELSEIF); jj_consume_token(IF); Cond(); jjtn000.line_num1 = jj_consume_token(THEN).beginLine; jj_consume_token(SM); ASTBlock jjtn001 = new ASTBlock(JJTBLOCK); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { label_8: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[24] = jj_gen; break label_8; } Stat(); } } 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); } } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ELSE: case ELSEIF: if (jj_2_9(2)) { jj_consume_token(ELSE); jjtn000.line_num2 = jj_consume_token(SM).beginLine; ASTBlock jjtn002 = new ASTBlock(JJTBLOCK); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); try { label_9: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[25] = jj_gen; break label_9; } Stat(); } } catch (Throwable jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte002;} } if (jjte002 instanceof ParseException) { {if (true) throw (ParseException)jjte002;} } {if (true) throw (Error)jjte002;} } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, true); } } } else { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ELSEIF: ElseIfStat(); break; default: jj_la1[26] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } break; default: jj_la1[27] = jj_gen; ; } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("ElseIfStat"); } } final public void WhileStat() throws ParseException { trace_call("WhileStat"); try { /*@bgen(jjtree) WhileStat */ ASTWhileStat jjtn000 = new ASTWhileStat(JJTWHILESTAT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { Cond(); jj_consume_token(WHILE); jjtn000.line_num1 = jj_consume_token(SM).beginLine; ASTBlock jjtn001 = new ASTBlock(JJTBLOCK); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { label_10: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[28] = jj_gen; break label_10; } Stat(); } } 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); } } jj_consume_token(ENDLOOP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num2 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("WhileStat"); } } final public void RepeatUntil() throws ParseException { trace_call("RepeatUntil"); try { /*@bgen(jjtree) RepeatUntil */ ASTRepeatUntil jjtn000 = new ASTRepeatUntil(JJTREPEATUNTIL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(DOWHILE); jjtn000.line_num1 = jj_consume_token(SM).beginLine; ASTBlock jjtn001 = new ASTBlock(JJTBLOCK); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { label_11: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[29] = jj_gen; break label_11; } Stat(); } } 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); } } jj_consume_token(DOWHILE2); Cond(); jj_consume_token(DOWHILE3); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num2 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("RepeatUntil"); } } final public void ForStat() throws ParseException { trace_call("ForStat"); try { /*@bgen(jjtree) ForStat */ ASTForStat jjtn000 = new ASTForStat(JJTFORSTAT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { Ident(); jj_consume_token(FOR); AddExpr(); jj_consume_token(FOR2); AddExpr(); jj_consume_token(FOR3); ForStatAdd(); jjtn000.line_num1 = jj_consume_token(SM).beginLine; ASTBlock jjtn001 = new ASTBlock(JJTBLOCK); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { label_12: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[30] = jj_gen; break label_12; } Stat(); } } 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); } } jj_consume_token(ENDLOOP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num2 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("ForStat"); } } final public void ForStatAdd() throws ParseException { trace_call("ForStatAdd"); try { /*@bgen(jjtree) ForStatAdd */ ASTForStatAdd jjtn000 = new ASTForStatAdd(JJTFORSTATADD); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case EOF_STR: case NULL_STR: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case OPENR: case OPENW: case OPENA: case GETSTR: case GETLINE: case ISFILE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: AddExpr(); jj_consume_token(FOR4); break; default: jj_la1[31] = jj_gen; ; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case FORADD: jj_consume_token(FORADD); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.op = 1; break; case FORSUB: jj_consume_token(FORSUB); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.op = -1; break; default: jj_la1[32] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("ForStatAdd"); } } final public void GetStat() throws ParseException { trace_call("GetStat"); try { /*@bgen(jjtree) GetStat */ ASTGetStat jjtn000 = new ASTGetStat(JJTGETSTAT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(GET); jj_consume_token(LP); Ident(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("GetStat"); } } final public void PutStat() throws ParseException { trace_call("PutStat"); try { /*@bgen(jjtree) PutStat */ ASTPutStat jjtn000 = new ASTPutStat(JJTPUTSTAT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { PutParam(); label_13: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CM2: ; break; default: jj_la1[33] = jj_gen; break label_13; } jj_consume_token(CM2); PutParam(); } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case PUT: jj_consume_token(PUT); break; case PUTLN: jj_consume_token(PUTLN); jjtn000.n = "\n"; break; default: jj_la1[34] = jj_gen; jj_consume_token(-1); throw new ParseException(); } jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("PutStat"); } } final public void PutParam() throws ParseException { trace_call("PutParam"); try { AddExpr(); } finally { trace_return("PutParam"); } } final public void Block() throws ParseException { trace_call("Block"); try { /*@bgen(jjtree) Block */ ASTBlock jjtn000 = new ASTBlock(JJTBLOCK); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(LC); label_14: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case SM: case EOF_STR: case NULL_STR: case IF: case DOWHILE: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case gWindowOpen: case gWindowClose: case gColor: case gDrawOval: case gDrawPoint: case gFillOval: case gFillPoint: case gDrawLine: case gDrawBox: case gFillBox: case gDrawArc: case gFillArc: case OPENR: case OPENW: case OPENA: case CLOSE: case GETSTR: case GETLINE: case PUTSTR: case PUTLINE: case FLUSH: case ISFILE: case RENAME: case REMOVE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: ; break; default: jj_la1[35] = jj_gen; break label_14; } Stat(); } jj_consume_token(RC); } 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); } } } finally { trace_return("Block"); } } final public void Cond() throws ParseException { trace_call("Cond"); try { ORExpr(); } finally { trace_return("Cond"); } } final public void ORExpr() throws ParseException { trace_call("ORExpr"); try { AndExpr(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case OROP: jj_consume_token(OROP); ASTORNode jjtn001 = new ASTORNode(JJTORNODE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { Cond(); } catch (Throwable jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte001;} } if (jjte001 instanceof ParseException) { {if (true) throw (ParseException)jjte001;} } {if (true) throw (Error)jjte001;} } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } break; default: jj_la1[36] = jj_gen; ; } } finally { trace_return("ORExpr"); } } final public void AndExpr() throws ParseException { trace_call("AndExpr"); try { NotExpr(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ANDOP: jj_consume_token(ANDOP); ASTANDNode jjtn001 = new ASTANDNode(JJTANDNODE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { AndExpr(); } catch (Throwable jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte001;} } if (jjte001 instanceof ParseException) { {if (true) throw (ParseException)jjte001;} } {if (true) throw (Error)jjte001;} } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } break; default: jj_la1[37] = jj_gen; ; } } finally { trace_return("AndExpr"); } } final public void NotExpr() throws ParseException { trace_call("NotExpr"); try { EqualityExpr(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case NOTOP: ASTNOTNode jjtn001 = new ASTNOTNode(JJTNOTNODE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { jj_consume_token(NOTOP); } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 1); } } break; default: jj_la1[38] = jj_gen; ; } } finally { trace_return("NotExpr"); } } final public void EqualityExpr() throws ParseException { trace_call("EqualityExpr"); try { RelationalExpr(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EQOP: case NTOP: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EQOP: jj_consume_token(EQOP); ASTEQNode jjtn001 = new ASTEQNode(JJTEQNODE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { EqualityExpr(); } catch (Throwable jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte001;} } if (jjte001 instanceof ParseException) { {if (true) throw (ParseException)jjte001;} } {if (true) throw (Error)jjte001;} } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } break; case NTOP: jj_consume_token(NTOP); ASTNTNode jjtn002 = new ASTNTNode(JJTNTNODE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); try { EqualityExpr(); } catch (Throwable jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte002;} } if (jjte002 instanceof ParseException) { {if (true) throw (ParseException)jjte002;} } {if (true) throw (Error)jjte002;} } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, 2); } } break; default: jj_la1[39] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: jj_la1[40] = jj_gen; ; } } finally { trace_return("EqualityExpr"); } } final public void RelationalExpr() throws ParseException { trace_call("RelationalExpr"); try { AddExpr(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case GTOP: case GEOP: case LSOP: case LEOP: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LSOP: jj_consume_token(LSOP); ASTLSNode jjtn001 = new ASTLSNode(JJTLSNODE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { RelationalExpr(); } catch (Throwable jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte001;} } if (jjte001 instanceof ParseException) { {if (true) throw (ParseException)jjte001;} } {if (true) throw (Error)jjte001;} } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } break; case GTOP: jj_consume_token(GTOP); ASTGTNode jjtn002 = new ASTGTNode(JJTGTNODE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); try { RelationalExpr(); } catch (Throwable jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte002;} } if (jjte002 instanceof ParseException) { {if (true) throw (ParseException)jjte002;} } {if (true) throw (Error)jjte002;} } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, 2); } } break; case LEOP: jj_consume_token(LEOP); ASTLENode jjtn003 = new ASTLENode(JJTLENODE); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); try { RelationalExpr(); } catch (Throwable jjte003) { if (jjtc003) { jjtree.clearNodeScope(jjtn003); jjtc003 = false; } else { jjtree.popNode(); } if (jjte003 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte003;} } if (jjte003 instanceof ParseException) { {if (true) throw (ParseException)jjte003;} } {if (true) throw (Error)jjte003;} } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, 2); } } break; case GEOP: jj_consume_token(GEOP); ASTGENode jjtn004 = new ASTGENode(JJTGENODE); boolean jjtc004 = true; jjtree.openNodeScope(jjtn004); try { RelationalExpr(); } catch (Throwable jjte004) { if (jjtc004) { jjtree.clearNodeScope(jjtn004); jjtc004 = false; } else { jjtree.popNode(); } if (jjte004 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte004;} } if (jjte004 instanceof ParseException) { {if (true) throw (ParseException)jjte004;} } {if (true) throw (Error)jjte004;} } finally { if (jjtc004) { jjtree.closeNodeScope(jjtn004, 2); } } break; default: jj_la1[41] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: jj_la1[42] = jj_gen; ; } } finally { trace_return("RelationalExpr"); } } final public void AddExpr() throws ParseException { trace_call("AddExpr"); try { MulExpr(); label_15: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ADDOP: case SUBOP: ; break; default: jj_la1[43] = jj_gen; break label_15; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case ADDOP: jj_consume_token(ADDOP); ASTAddNode jjtn001 = new ASTAddNode(JJTADDNODE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { MulExpr(); } catch (Throwable jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte001;} } if (jjte001 instanceof ParseException) { {if (true) throw (ParseException)jjte001;} } {if (true) throw (Error)jjte001;} } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } break; case SUBOP: jj_consume_token(SUBOP); ASTSubNode jjtn002 = new ASTSubNode(JJTSUBNODE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); try { MulExpr(); } catch (Throwable jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte002;} } if (jjte002 instanceof ParseException) { {if (true) throw (ParseException)jjte002;} } {if (true) throw (Error)jjte002;} } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, 2); } } break; default: jj_la1[44] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("AddExpr"); } } final public void MulExpr() throws ParseException { trace_call("MulExpr"); try { UnExpr(); label_16: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case MULOP: case DIVOP: case SUROP: ; break; default: jj_la1[45] = jj_gen; break label_16; } switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case MULOP: jj_consume_token(MULOP); ASTMulNode jjtn001 = new ASTMulNode(JJTMULNODE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { UnExpr(); } catch (Throwable jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte001;} } if (jjte001 instanceof ParseException) { {if (true) throw (ParseException)jjte001;} } {if (true) throw (Error)jjte001;} } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 2); } } break; case DIVOP: jj_consume_token(DIVOP); ASTDivNode jjtn002 = new ASTDivNode(JJTDIVNODE); boolean jjtc002 = true; jjtree.openNodeScope(jjtn002); try { UnExpr(); } catch (Throwable jjte002) { if (jjtc002) { jjtree.clearNodeScope(jjtn002); jjtc002 = false; } else { jjtree.popNode(); } if (jjte002 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte002;} } if (jjte002 instanceof ParseException) { {if (true) throw (ParseException)jjte002;} } {if (true) throw (Error)jjte002;} } finally { if (jjtc002) { jjtree.closeNodeScope(jjtn002, 2); } } break; case SUROP: jj_consume_token(SUROP); ASTSurNode jjtn003 = new ASTSurNode(JJTSURNODE); boolean jjtc003 = true; jjtree.openNodeScope(jjtn003); try { UnExpr(); } catch (Throwable jjte003) { if (jjtc003) { jjtree.clearNodeScope(jjtn003); jjtc003 = false; } else { jjtree.popNode(); } if (jjte003 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte003;} } if (jjte003 instanceof ParseException) { {if (true) throw (ParseException)jjte003;} } {if (true) throw (Error)jjte003;} } finally { if (jjtc003) { jjtree.closeNodeScope(jjtn003, 2); } } break; default: jj_la1[46] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } } finally { trace_return("MulExpr"); } } final public void UnExpr() throws ParseException { trace_call("UnExpr"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LP: case EOF_STR: case NULL_STR: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case OPENR: case OPENW: case OPENA: case GETSTR: case GETLINE: case ISFILE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: PrimExpr(); break; case SUBOP: jj_consume_token(SUBOP); ASTMinNode jjtn001 = new ASTMinNode(JJTMINNODE); boolean jjtc001 = true; jjtree.openNodeScope(jjtn001); try { UnExpr(); } catch (Throwable jjte001) { if (jjtc001) { jjtree.clearNodeScope(jjtn001); jjtc001 = false; } else { jjtree.popNode(); } if (jjte001 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte001;} } if (jjte001 instanceof ParseException) { {if (true) throw (ParseException)jjte001;} } {if (true) throw (Error)jjte001;} } finally { if (jjtc001) { jjtree.closeNodeScope(jjtn001, 1); } } break; default: jj_la1[47] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("UnExpr"); } } final public void PrimExpr() throws ParseException { trace_call("PrimExpr"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LITERAL: Literal(); break; case FLOAT_LITERAL: FloatLiteral(); break; case STRLIT: Strlit(); break; case EOF_STR: case NULL_STR: EOF_STR(); break; case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case OPENR: case OPENW: case OPENA: case GETSTR: case GETLINE: case ISFILE: FunctionExpr(); break; case IDENT: Ident(); break; case LP: jj_consume_token(LP); Cond(); jj_consume_token(RP); break; default: jj_la1[48] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("PrimExpr"); } } final public void FunctionExpr() throws ParseException { trace_call("FunctionExpr"); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case GET: Get(); break; case RANDOM: Random(); break; case SIN: Sine(); break; case COS: Cosine(); break; case TAN: Tangent(); break; case SQRT: Sqrt(); break; case FLOOR: Floor(); break; case CEIL: Ceil(); break; case ROUND: Round(); break; case ABS: Abs(); break; case LOG: Log(); break; case INT: Int(); break; case LENGTH: Length(); break; case SUBSTRING: Substring(); break; case INSERT: Insert(); break; case REPLACE: Replace(); break; case EXTRACT: Extract(); break; case OPENR: File_openr(); break; case OPENW: File_openw(); break; case OPENA: File_opena(); break; case GETSTR: File_getstr(); break; case GETLINE: File_getline(); break; case ISFILE: File_isfile(); break; default: jj_la1[49] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } finally { trace_return("FunctionExpr"); } } final public void Get() throws ParseException { trace_call("Get"); try { /*@bgen(jjtree) Get */ ASTGet jjtn000 = new ASTGet(JJTGET); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(GET); jj_consume_token(RP); } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("Get"); } } final public void Random() throws ParseException { trace_call("Random"); try { /*@bgen(jjtree) Random */ ASTRandom jjtn000 = new ASTRandom(JJTRANDOM); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(RANDOM); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Random"); } } final public void Sine() throws ParseException { trace_call("Sine"); try { /*@bgen(jjtree) Sine */ ASTSine jjtn000 = new ASTSine(JJTSINE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(SIN); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Sine"); } } final public void Cosine() throws ParseException { trace_call("Cosine"); try { /*@bgen(jjtree) Cosine */ ASTCosine jjtn000 = new ASTCosine(JJTCOSINE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(COS); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Cosine"); } } final public void Tangent() throws ParseException { trace_call("Tangent"); try { /*@bgen(jjtree) Tangent */ ASTTangent jjtn000 = new ASTTangent(JJTTANGENT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(TAN); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Tangent"); } } final public void Sqrt() throws ParseException { trace_call("Sqrt"); try { /*@bgen(jjtree) Sqrt */ ASTSqrt jjtn000 = new ASTSqrt(JJTSQRT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(SQRT); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Sqrt"); } } final public void Floor() throws ParseException { trace_call("Floor"); try { /*@bgen(jjtree) Floor */ ASTFloor jjtn000 = new ASTFloor(JJTFLOOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(FLOOR); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Floor"); } } final public void Ceil() throws ParseException { trace_call("Ceil"); try { /*@bgen(jjtree) Ceil */ ASTCeil jjtn000 = new ASTCeil(JJTCEIL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(CEIL); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Ceil"); } } final public void Round() throws ParseException { trace_call("Round"); try { /*@bgen(jjtree) Round */ ASTRound jjtn000 = new ASTRound(JJTROUND); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(ROUND); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Round"); } } final public void Abs() throws ParseException { trace_call("Abs"); try { /*@bgen(jjtree) Abs */ ASTAbs jjtn000 = new ASTAbs(JJTABS); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(ABS); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Abs"); } } final public void Log() throws ParseException { trace_call("Log"); try { /*@bgen(jjtree) Log */ ASTLog jjtn000 = new ASTLog(JJTLOG); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(LOG); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Log"); } } final public void Int() throws ParseException { trace_call("Int"); try { /*@bgen(jjtree) Int */ ASTInt jjtn000 = new ASTInt(JJTINT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(INT); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Int"); } } final public void Length() throws ParseException { trace_call("Length"); try { /*@bgen(jjtree) Length */ ASTLength jjtn000 = new ASTLength(JJTLENGTH); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(LENGTH); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Length"); } } final public void Substring() throws ParseException { trace_call("Substring"); try { /*@bgen(jjtree) Substring */ ASTSubstring jjtn000 = new ASTSubstring(JJTSUBSTRING); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(SUBSTRING); AddExpr(); jj_consume_token(CM); AddExpr(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CM: jj_consume_token(CM); AddExpr(); break; default: jj_la1[50] = jj_gen; ; } jj_consume_token(RP); } 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); } } } finally { trace_return("Substring"); } } final public void Insert() throws ParseException { trace_call("Insert"); try { /*@bgen(jjtree) Insert */ ASTInsert jjtn000 = new ASTInsert(JJTINSERT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(INSERT); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Insert"); } } final public void Replace() throws ParseException { trace_call("Replace"); try { /*@bgen(jjtree) Replace */ ASTReplace jjtn000 = new ASTReplace(JJTREPLACE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(REPLACE); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Replace"); } } final public void Extract() throws ParseException { trace_call("Extract"); try { /*@bgen(jjtree) Extract */ ASTExtract jjtn000 = new ASTExtract(JJTEXTRACT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(EXTRACT); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("Extract"); } } final public void gWindowOpen() throws ParseException { trace_call("gWindowOpen"); try { /*@bgen(jjtree) gWindowOpen */ ASTgWindowOpen jjtn000 = new ASTgWindowOpen(JJTGWINDOWOPEN); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gWindowOpen); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gWindowOpen"); } } final public void gWindowClose() throws ParseException { trace_call("gWindowClose"); try { /*@bgen(jjtree) gWindowClose */ ASTgWindowClose jjtn000 = new ASTgWindowClose(JJTGWINDOWCLOSE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gWindowClose); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("gWindowClose"); } } final public void gColor() throws ParseException { trace_call("gColor"); try { /*@bgen(jjtree) gColor */ ASTgColor jjtn000 = new ASTgColor(JJTGCOLOR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gColor); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gColor"); } } final public void gDrawOval() throws ParseException { trace_call("gDrawOval"); try { /*@bgen(jjtree) gDrawOval */ ASTgDrawOval jjtn000 = new ASTgDrawOval(JJTGDRAWOVAL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gDrawOval); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gDrawOval"); } } final public void gDrawPoint() throws ParseException { trace_call("gDrawPoint"); try { /*@bgen(jjtree) gDrawPoint */ ASTgDrawPoint jjtn000 = new ASTgDrawPoint(JJTGDRAWPOINT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gDrawPoint); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gDrawPoint"); } } final public void gFillOval() throws ParseException { trace_call("gFillOval"); try { /*@bgen(jjtree) gFillOval */ ASTgFillOval jjtn000 = new ASTgFillOval(JJTGFILLOVAL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gFillOval); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gFillOval"); } } final public void gFillPoint() throws ParseException { trace_call("gFillPoint"); try { /*@bgen(jjtree) gFillPoint */ ASTgFillPoint jjtn000 = new ASTgFillPoint(JJTGFILLPOINT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gFillPoint); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gFillPoint"); } } final public void gDrawLine() throws ParseException { trace_call("gDrawLine"); try { /*@bgen(jjtree) gDrawLine */ ASTgDrawLine jjtn000 = new ASTgDrawLine(JJTGDRAWLINE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gDrawLine); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gDrawLine"); } } final public void gDrawBox() throws ParseException { trace_call("gDrawBox"); try { /*@bgen(jjtree) gDrawBox */ ASTgDrawBox jjtn000 = new ASTgDrawBox(JJTGDRAWBOX); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gDrawBox); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gDrawBox"); } } final public void gFillBox() throws ParseException { trace_call("gFillBox"); try { /*@bgen(jjtree) gFillBox */ ASTgFillBox jjtn000 = new ASTgFillBox(JJTGFILLBOX); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gFillBox); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gFillBox"); } } final public void gDrawArc() throws ParseException { trace_call("gDrawArc"); try { /*@bgen(jjtree) gDrawArc */ ASTgDrawArc jjtn000 = new ASTgDrawArc(JJTGDRAWARC); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gDrawArc); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gDrawArc"); } } final public void gFillArc() throws ParseException { trace_call("gFillArc"); try { /*@bgen(jjtree) gFillArc */ ASTgFillArc jjtn000 = new ASTgFillArc(JJTGFILLARC); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(gFillArc); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("gFillArc"); } } final public void File_openr() throws ParseException { trace_call("File_openr"); try { /*@bgen(jjtree) File_openr */ ASTFile_openr jjtn000 = new ASTFile_openr(JJTFILE_OPENR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(OPENR); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("File_openr"); } } final public void File_openw() throws ParseException { trace_call("File_openw"); try { /*@bgen(jjtree) File_openw */ ASTFile_openw jjtn000 = new ASTFile_openw(JJTFILE_OPENW); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(OPENW); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("File_openw"); } } final public void File_opena() throws ParseException { trace_call("File_opena"); try { /*@bgen(jjtree) File_opena */ ASTFile_opena jjtn000 = new ASTFile_opena(JJTFILE_OPENA); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(OPENA); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("File_opena"); } } final public void File_close() throws ParseException { trace_call("File_close"); try { /*@bgen(jjtree) File_close */ ASTFile_close jjtn000 = new ASTFile_close(JJTFILE_CLOSE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(CLOSE); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("File_close"); } } final public void File_getstr() throws ParseException { trace_call("File_getstr"); try { /*@bgen(jjtree) File_getstr */ ASTFile_getstr jjtn000 = new ASTFile_getstr(JJTFILE_GETSTR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(GETSTR); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("File_getstr"); } } final public void File_getline() throws ParseException { trace_call("File_getline"); try { /*@bgen(jjtree) File_getline */ ASTFile_getline jjtn000 = new ASTFile_getline(JJTFILE_GETLINE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(GETLINE); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("File_getline"); } } final public void File_putstr() throws ParseException { trace_call("File_putstr"); try { /*@bgen(jjtree) File_putstr */ ASTFile_putstr jjtn000 = new ASTFile_putstr(JJTFILE_PUTSTR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(PUTSTR); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("File_putstr"); } } final public void File_putline() throws ParseException { trace_call("File_putline"); try { /*@bgen(jjtree) File_putline */ ASTFile_putline jjtn000 = new ASTFile_putline(JJTFILE_PUTLINE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(PUTLINE); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("File_putline"); } } final public void File_flush() throws ParseException { trace_call("File_flush"); try { /*@bgen(jjtree) File_flush */ ASTFile_flush jjtn000 = new ASTFile_flush(JJTFILE_FLUSH); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(FLUSH); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("File_flush"); } } final public void File_isfile() throws ParseException { trace_call("File_isfile"); try { /*@bgen(jjtree) File_isfile */ ASTFile_isfile jjtn000 = new ASTFile_isfile(JJTFILE_ISFILE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(ISFILE); AddExpr(); jj_consume_token(RP); } 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); } } } finally { trace_return("File_isfile"); } } final public void File_rename() throws ParseException { trace_call("File_rename"); try { /*@bgen(jjtree) File_rename */ ASTFile_rename jjtn000 = new ASTFile_rename(JJTFILE_RENAME); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(RENAME); AddExpr(); jj_consume_token(CM); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("File_rename"); } } final public void File_remove() throws ParseException { trace_call("File_remove"); try { /*@bgen(jjtree) File_remove */ ASTFile_remove jjtn000 = new ASTFile_remove(JJTFILE_REMOVE); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { jj_consume_token(REMOVE); AddExpr(); jj_consume_token(RP); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("File_remove"); } } final public void Ident() throws ParseException { trace_call("Ident"); try { /*@bgen(jjtree) Ident */ ASTIdent jjtn000 = new ASTIdent(JJTIDENT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { t = jj_consume_token(IDENT); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LD: case LP: switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case LD: jj_consume_token(LD); ArrayNum(); jj_consume_token(RD); break; case LP: jj_consume_token(LP); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case EOF_STR: case NULL_STR: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case OPENR: case OPENW: case OPENA: case GETSTR: case GETLINE: case ISFILE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: AddExpr(); label_17: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CM: ; break; default: jj_la1[51] = jj_gen; break label_17; } jj_consume_token(CM); AddExpr(); } break; default: jj_la1[52] = jj_gen; ; } jj_consume_token(RP); jjtn000.flag = false; break; default: jj_la1[53] = jj_gen; jj_consume_token(-1); throw new ParseException(); } break; default: jj_la1[54] = jj_gen; ; } jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; // if (symTable.containsKey(t.image)){ jjtn000.varName = t.image; jjtn000.varName2= t.image; // } else { /* new ConsoleAppend( "### 宣言されていない変数名が" + t.beginLine + "行目で使用されました\n" ); throw new ParseException(); */ // } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("Ident"); } } final public void ArrayNum() throws ParseException { trace_call("ArrayNum"); try { /*@bgen(jjtree) ArrayNum */ ASTArrayNum jjtn000 = new ASTArrayNum(JJTARRAYNUM); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { AddExpr(); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CM: jj_consume_token(CM); ArrayNum(); break; default: jj_la1[55] = jj_gen; ; } } catch (Throwable jjte000) { if (jjtc000) { jjtree.clearNodeScope(jjtn000); jjtc000 = false; } else { jjtree.popNode(); } if (jjte000 instanceof RuntimeException) { {if (true) throw (RuntimeException)jjte000;} } if (jjte000 instanceof ParseException) { {if (true) throw (ParseException)jjte000;} } {if (true) throw (Error)jjte000;} } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("ArrayNum"); } } final public void FunctionCall() throws ParseException { trace_call("FunctionCall"); try { /*@bgen(jjtree) FunctionCall */ ASTFunctionCall jjtn000 = new ASTFunctionCall(JJTFUNCTIONCALL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { t = jj_consume_token(IDENT); jj_consume_token(LP); switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case SUBOP: case LP: case EOF_STR: case NULL_STR: case GET: case RANDOM: case SIN: case COS: case TAN: case SQRT: case FLOOR: case CEIL: case ROUND: case ABS: case INT: case LOG: case LENGTH: case SUBSTRING: case INSERT: case REPLACE: case EXTRACT: case OPENR: case OPENW: case OPENA: case GETSTR: case GETLINE: case ISFILE: case LITERAL: case FLOAT_LITERAL: case IDENT: case STRLIT: AddExpr(); label_18: while (true) { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case CM: ; break; default: jj_la1[56] = jj_gen; break label_18; } jj_consume_token(CM); AddExpr(); } break; default: jj_la1[57] = jj_gen; ; } jj_consume_token(RP); jjtn000.line_num1 = jj_consume_token(SM).beginLine; jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.varName = t.image; } 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); } } } finally { trace_return("FunctionCall"); } } final public void Return() throws ParseException { trace_call("Return"); try { /*@bgen(jjtree) Return */ ASTReturn jjtn000 = new ASTReturn(JJTRETURN); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { AddExpr(); jj_consume_token(RETURN); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.line_num1 = jj_consume_token(SM).beginLine; } 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); } } } finally { trace_return("Return"); } } final public void Literal() throws ParseException { trace_call("Literal"); try { /*@bgen(jjtree) Literal */ ASTLiteral jjtn000 = new ASTLiteral(JJTLITERAL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { t = jj_consume_token(LITERAL); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; try { jjtn000.litValue = Integer.parseInt(t.image); } catch (Exception e) { jjtn000.litValue = 0; new ConsoleAppend( "### " + t.beginLine + "\u884c\u76ee\u306f\u7121\u52b9\u306a\u5024\u3067\u3059 : " + t.image + "\n" ); {if (true) throw new ParseException();} } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("Literal"); } } final public void FloatLiteral() throws ParseException { trace_call("FloatLiteral"); try { /*@bgen(jjtree) FloatLiteral */ ASTFloatLiteral jjtn000 = new ASTFloatLiteral(JJTFLOATLITERAL); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { t = jj_consume_token(FLOAT_LITERAL); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; try { jjtn000.litValue = Double.parseDouble(t.image); } catch (Exception e) { jjtn000.litValue = 0; new ConsoleAppend( "### " + t.beginLine + "\u884c\u76ee\u306f\u7121\u52b9\u306a\u5024\u3067\u3059 : " + t.image + "\n" ); {if (true) throw new ParseException();} } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("FloatLiteral"); } } final public void Strlit() throws ParseException { trace_call("Strlit"); try { /*@bgen(jjtree) Strlit */ ASTStrlit jjtn000 = new ASTStrlit(JJTSTRLIT); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000);Token t; try { t = jj_consume_token(STRLIT); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.litString = t.image; } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("Strlit"); } } final public void EOF_STR() throws ParseException { trace_call("EOF_STR"); try { /*@bgen(jjtree) EOF_STR */ ASTEOF_STR jjtn000 = new ASTEOF_STR(JJTEOF_STR); boolean jjtc000 = true; jjtree.openNodeScope(jjtn000); try { switch ((jj_ntk==-1)?jj_ntk():jj_ntk) { case EOF_STR: jj_consume_token(EOF_STR); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.char_code = -1; break; case NULL_STR: jj_consume_token(NULL_STR); jjtree.closeNodeScope(jjtn000, true); jjtc000 = false; jjtn000.char_code = -2; break; default: jj_la1[58] = jj_gen; jj_consume_token(-1); throw new ParseException(); } } finally { if (jjtc000) { jjtree.closeNodeScope(jjtn000, true); } } } finally { trace_return("EOF_STR"); } } final private boolean jj_2_1(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_1(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(0, xla); } } final private boolean jj_2_2(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_2(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(1, xla); } } final private boolean jj_2_3(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_3(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(2, xla); } } final private boolean jj_2_4(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_4(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(3, xla); } } final private boolean jj_2_5(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_5(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(4, xla); } } final private boolean jj_2_6(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_6(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(5, xla); } } final private boolean jj_2_7(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_7(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(6, xla); } } final private boolean jj_2_8(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_8(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(7, xla); } } final private boolean jj_2_9(int xla) { jj_la = xla; jj_lastpos = jj_scanpos = token; try { return !jj_3_9(); } catch(LookaheadSuccess ls) { return true; } finally { jj_save(8, xla); } } final private boolean jj_3_5() { if (jj_3R_23()) return true; return false; } final private boolean jj_3_4() { if (jj_3R_22()) return true; return false; } final private boolean jj_3R_86() { if (jj_scan_token(gDrawArc)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3_3() { if (jj_3R_21()) return true; return false; } final private boolean jj_3R_46() { if (jj_3R_75()) return true; return false; } final private boolean jj_3_2() { if (jj_3R_20()) return true; return false; } final private boolean jj_3R_45() { if (jj_3R_74()) return true; return false; } final private boolean jj_3R_85() { if (jj_scan_token(gFillBox)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3R_84() { if (jj_scan_token(gDrawBox)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3_1() { if (jj_3R_19()) return true; return false; } final private boolean jj_3R_37() { Token xsp; xsp = jj_scanpos; if (jj_3_1()) { jj_scanpos = xsp; if (jj_3R_45()) { jj_scanpos = xsp; if (jj_3_2()) { jj_scanpos = xsp; if (jj_3R_46()) { jj_scanpos = xsp; if (jj_3_3()) { jj_scanpos = xsp; if (jj_3_4()) { jj_scanpos = xsp; if (jj_3_5()) { jj_scanpos = xsp; if (jj_3R_47()) { jj_scanpos = xsp; if (jj_3R_48()) { jj_scanpos = xsp; if (jj_3R_49()) { jj_scanpos = xsp; if (jj_3R_50()) { jj_scanpos = xsp; if (jj_3R_51()) { jj_scanpos = xsp; if (jj_3R_52()) { jj_scanpos = xsp; if (jj_3R_53()) { jj_scanpos = xsp; if (jj_3R_54()) { jj_scanpos = xsp; if (jj_3R_55()) { jj_scanpos = xsp; if (jj_3R_56()) { jj_scanpos = xsp; if (jj_3R_57()) { jj_scanpos = xsp; if (jj_3R_58()) { jj_scanpos = xsp; if (jj_3R_59()) { jj_scanpos = xsp; if (jj_3R_60()) { jj_scanpos = xsp; if (jj_3R_61()) { jj_scanpos = xsp; if (jj_3R_62()) { jj_scanpos = xsp; if (jj_3R_63()) { jj_scanpos = xsp; if (jj_3R_64()) { jj_scanpos = xsp; if (jj_3R_65()) { jj_scanpos = xsp; if (jj_scan_token(30)) return true; } } } } } } } } } } } } } } } } } } } } } } } } } } return false; } final private boolean jj_3R_83() { if (jj_scan_token(gDrawLine)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3R_82() { if (jj_scan_token(gFillPoint)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_81() { if (jj_scan_token(gFillOval)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3R_80() { if (jj_scan_token(gDrawPoint)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_79() { if (jj_scan_token(gDrawOval)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3R_189() { if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3R_78() { if (jj_scan_token(gColor)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_77() { if (jj_scan_token(gWindowClose)) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_76() { if (jj_scan_token(gWindowOpen)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_181() { if (jj_scan_token(EXTRACT)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_180() { if (jj_scan_token(REPLACE)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_179() { if (jj_scan_token(INSERT)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_178() { if (jj_scan_token(SUBSTRING)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_189()) jj_scanpos = xsp; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_177() { if (jj_scan_token(LENGTH)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_176() { if (jj_scan_token(INT)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_175() { if (jj_scan_token(LOG)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_174() { if (jj_scan_token(ABS)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_173() { if (jj_scan_token(ROUND)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_172() { if (jj_scan_token(CEIL)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_171() { if (jj_scan_token(FLOOR)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_170() { if (jj_scan_token(SQRT)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_169() { if (jj_scan_token(TAN)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_168() { if (jj_scan_token(COS)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_167() { if (jj_scan_token(SIN)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_166() { if (jj_scan_token(RANDOM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_162() { if (jj_3R_187()) return true; return false; } final private boolean jj_3R_161() { if (jj_3R_186()) return true; return false; } final private boolean jj_3R_165() { if (jj_scan_token(GET)) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_160() { if (jj_3R_185()) return true; return false; } final private boolean jj_3R_159() { if (jj_3R_184()) return true; return false; } final private boolean jj_3R_158() { if (jj_3R_183()) return true; return false; } final private boolean jj_3R_157() { if (jj_3R_182()) return true; return false; } final private boolean jj_3R_156() { if (jj_3R_181()) return true; return false; } final private boolean jj_3R_155() { if (jj_3R_180()) return true; return false; } final private boolean jj_3R_154() { if (jj_3R_179()) return true; return false; } final private boolean jj_3R_153() { if (jj_3R_178()) return true; return false; } final private boolean jj_3R_152() { if (jj_3R_177()) return true; return false; } final private boolean jj_3R_151() { if (jj_3R_176()) return true; return false; } final private boolean jj_3R_150() { if (jj_3R_175()) return true; return false; } final private boolean jj_3R_149() { if (jj_3R_174()) return true; return false; } final private boolean jj_3R_148() { if (jj_3R_173()) return true; return false; } final private boolean jj_3R_147() { if (jj_3R_172()) return true; return false; } final private boolean jj_3R_146() { if (jj_3R_171()) return true; return false; } final private boolean jj_3R_145() { if (jj_3R_170()) return true; return false; } final private boolean jj_3R_144() { if (jj_3R_169()) return true; return false; } final private boolean jj_3R_143() { if (jj_3R_168()) return true; return false; } final private boolean jj_3R_142() { if (jj_3R_167()) return true; return false; } final private boolean jj_3R_141() { if (jj_3R_166()) return true; return false; } final private boolean jj_3R_123() { if (jj_scan_token(LP)) return true; if (jj_3R_28()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_122() { if (jj_3R_30()) return true; return false; } final private boolean jj_3R_132() { Token xsp; xsp = jj_scanpos; if (jj_3R_140()) { jj_scanpos = xsp; if (jj_3R_141()) { jj_scanpos = xsp; if (jj_3R_142()) { jj_scanpos = xsp; if (jj_3R_143()) { jj_scanpos = xsp; if (jj_3R_144()) { jj_scanpos = xsp; if (jj_3R_145()) { jj_scanpos = xsp; if (jj_3R_146()) { jj_scanpos = xsp; if (jj_3R_147()) { jj_scanpos = xsp; 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()) { jj_scanpos = xsp; if (jj_3R_152()) { jj_scanpos = xsp; if (jj_3R_153()) { jj_scanpos = xsp; if (jj_3R_154()) { jj_scanpos = xsp; if (jj_3R_155()) { jj_scanpos = xsp; if (jj_3R_156()) { jj_scanpos = xsp; if (jj_3R_157()) { jj_scanpos = xsp; if (jj_3R_158()) { jj_scanpos = xsp; if (jj_3R_159()) { jj_scanpos = xsp; if (jj_3R_160()) { jj_scanpos = xsp; if (jj_3R_161()) { jj_scanpos = xsp; if (jj_3R_162()) return true; } } } } } } } } } } } } } } } } } } } } } } return false; } final private boolean jj_3R_140() { if (jj_3R_165()) return true; return false; } final private boolean jj_3R_121() { if (jj_3R_132()) return true; return false; } final private boolean jj_3R_120() { if (jj_3R_131()) return true; return false; } final private boolean jj_3R_119() { if (jj_3R_130()) return true; return false; } final private boolean jj_3R_118() { if (jj_3R_129()) return true; return false; } final private boolean jj_3R_100() { if (jj_scan_token(SUBOP)) return true; if (jj_3R_70()) return true; return false; } final private boolean jj_3R_103() { if (jj_scan_token(SUROP)) return true; if (jj_3R_70()) return true; return false; } final private boolean jj_3R_102() { if (jj_scan_token(DIVOP)) return true; if (jj_3R_70()) return true; return false; } final private boolean jj_3R_111() { Token xsp; xsp = jj_scanpos; if (jj_3R_117()) { jj_scanpos = xsp; if (jj_3R_118()) { jj_scanpos = xsp; if (jj_3R_119()) { jj_scanpos = xsp; if (jj_3R_120()) { jj_scanpos = xsp; if (jj_3R_121()) { jj_scanpos = xsp; if (jj_3R_122()) { jj_scanpos = xsp; if (jj_3R_123()) return true; } } } } } } return false; } final private boolean jj_3R_117() { if (jj_3R_128()) return true; return false; } final private boolean jj_3R_139() { if (jj_scan_token(NULL_STR)) return true; return false; } final private boolean jj_3R_70() { Token xsp; xsp = jj_scanpos; if (jj_3R_99()) { jj_scanpos = xsp; if (jj_3R_100()) return true; } return false; } final private boolean jj_3R_99() { if (jj_3R_111()) return true; return false; } final private boolean jj_3R_71() { Token xsp; xsp = jj_scanpos; if (jj_3R_101()) { jj_scanpos = xsp; if (jj_3R_102()) { jj_scanpos = xsp; if (jj_3R_103()) return true; } } return false; } final private boolean jj_3R_101() { if (jj_scan_token(MULOP)) return true; if (jj_3R_70()) return true; return false; } final private boolean jj_3R_131() { Token xsp; xsp = jj_scanpos; if (jj_3R_138()) { jj_scanpos = xsp; if (jj_3R_139()) return true; } return false; } final private boolean jj_3R_138() { if (jj_scan_token(EOF_STR)) return true; return false; } final private boolean jj_3R_73() { if (jj_scan_token(SUBOP)) return true; if (jj_3R_40()) return true; return false; } final private boolean jj_3R_130() { if (jj_scan_token(STRLIT)) return true; return false; } final private boolean jj_3R_72() { if (jj_scan_token(ADDOP)) return true; if (jj_3R_40()) return true; return false; } final private boolean jj_3R_40() { if (jj_3R_70()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_71()) { jj_scanpos = xsp; break; } } return false; } final private boolean jj_3R_41() { Token xsp; xsp = jj_scanpos; if (jj_3R_72()) { jj_scanpos = xsp; if (jj_3R_73()) return true; } return false; } final private boolean jj_3R_136() { if (jj_scan_token(GEOP)) return true; if (jj_3R_112()) return true; return false; } final private boolean jj_3R_135() { if (jj_scan_token(LEOP)) return true; if (jj_3R_112()) return true; return false; } final private boolean jj_3R_134() { if (jj_scan_token(GTOP)) return true; if (jj_3R_112()) return true; return false; } final private boolean jj_3R_127() { if (jj_3R_137()) return true; return false; } final private boolean jj_3R_31() { if (jj_3R_40()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_41()) { jj_scanpos = xsp; break; } } return false; } final private boolean jj_3R_124() { Token xsp; xsp = jj_scanpos; if (jj_3R_133()) { jj_scanpos = xsp; if (jj_3R_134()) { jj_scanpos = xsp; if (jj_3R_135()) { jj_scanpos = xsp; if (jj_3R_136()) return true; } } } return false; } final private boolean jj_3R_133() { if (jj_scan_token(LSOP)) return true; if (jj_3R_112()) return true; return false; } final private boolean jj_3R_126() { if (jj_scan_token(NTOP)) return true; if (jj_3R_104()) return true; return false; } final private boolean jj_3R_188() { if (jj_3R_137()) return true; return false; } final private boolean jj_3R_129() { if (jj_scan_token(FLOAT_LITERAL)) return true; return false; } final private boolean jj_3R_24() { if (jj_3R_37()) return true; return false; } final private boolean jj_3R_116() { if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3R_105() { if (jj_scan_token(NOTOP)) return true; return false; } final private boolean jj_3R_112() { if (jj_3R_31()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_124()) jj_scanpos = xsp; return false; } final private boolean jj_3R_113() { Token xsp; xsp = jj_scanpos; if (jj_3R_125()) { jj_scanpos = xsp; if (jj_3R_126()) return true; } return false; } final private boolean jj_3R_125() { if (jj_scan_token(EQOP)) return true; if (jj_3R_104()) return true; return false; } final private boolean jj_3R_25() { if (jj_3R_37()) return true; return false; } final private boolean jj_3R_163() { if (jj_3R_37()) return true; return false; } final private boolean jj_3R_108() { if (jj_3R_31()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_116()) { jj_scanpos = xsp; break; } } return false; } final private boolean jj_3R_36() { if (jj_scan_token(PUTLN)) return true; return false; } final private boolean jj_3R_96() { if (jj_scan_token(ANDOP)) return true; if (jj_3R_66()) return true; return false; } final private boolean jj_3R_104() { if (jj_3R_112()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_113()) jj_scanpos = xsp; return false; } final private boolean jj_3R_128() { if (jj_scan_token(LITERAL)) return true; return false; } final private boolean jj_3R_44() { if (jj_scan_token(FORSUB)) return true; return false; } final private boolean jj_3R_107() { if (jj_3R_37()) return true; return false; } final private boolean jj_3R_29() { if (jj_3R_37()) return true; return false; } final private boolean jj_3R_67() { if (jj_scan_token(OROP)) return true; if (jj_3R_28()) return true; return false; } final private boolean jj_3R_95() { if (jj_3R_104()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_105()) jj_scanpos = xsp; return false; } final private boolean jj_3R_23() { if (jj_3R_31()) return true; if (jj_scan_token(RETURN)) return true; return false; } final private boolean jj_3R_110() { if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3R_109() { if (jj_scan_token(CM)) return true; if (jj_3R_97()) return true; return false; } final private boolean jj_3R_66() { if (jj_3R_95()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_96()) jj_scanpos = xsp; return false; } final private boolean jj_3R_94() { if (jj_scan_token(IDENT)) return true; if (jj_scan_token(LP)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_108()) jj_scanpos = xsp; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_38() { if (jj_3R_66()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_67()) jj_scanpos = xsp; return false; } final private boolean jj_3R_98() { if (jj_3R_31()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_110()) { jj_scanpos = xsp; break; } } return false; } final private boolean jj_3R_97() { if (jj_3R_31()) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_109()) jj_scanpos = xsp; return false; } final private boolean jj_3R_28() { if (jj_3R_38()) return true; return false; } final private boolean jj_3R_69() { if (jj_scan_token(LP)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_98()) jj_scanpos = xsp; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_35() { if (jj_scan_token(CM2)) return true; if (jj_3R_34()) return true; return false; } final private boolean jj_3R_43() { if (jj_scan_token(FORADD)) return true; return false; } final private boolean jj_3R_34() { if (jj_3R_31()) return true; return false; } final private boolean jj_3R_68() { if (jj_scan_token(LD)) return true; if (jj_3R_97()) return true; if (jj_scan_token(RD)) return true; return false; } final private boolean jj_3R_39() { Token xsp; xsp = jj_scanpos; if (jj_3R_68()) { jj_scanpos = xsp; if (jj_3R_69()) return true; } return false; } final private boolean jj_3R_22() { if (jj_3R_34()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_35()) { jj_scanpos = xsp; break; } } xsp = jj_scanpos; if (jj_scan_token(61)) { jj_scanpos = xsp; if (jj_3R_36()) return true; } return false; } final private boolean jj_3R_30() { if (jj_scan_token(IDENT)) return true; Token xsp; xsp = jj_scanpos; if (jj_3R_39()) jj_scanpos = xsp; return false; } final private boolean jj_3R_42() { if (jj_3R_31()) return true; if (jj_scan_token(FOR4)) return true; return false; } final private boolean jj_3R_93() { if (jj_scan_token(REMOVE)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_32() { Token xsp; xsp = jj_scanpos; if (jj_3R_42()) jj_scanpos = xsp; xsp = jj_scanpos; if (jj_3R_43()) { jj_scanpos = xsp; if (jj_3R_44()) return true; } return false; } final private boolean jj_3R_92() { if (jj_scan_token(RENAME)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_33() { if (jj_3R_37()) return true; return false; } final private boolean jj_3R_21() { if (jj_3R_30()) return true; if (jj_scan_token(FOR)) return true; if (jj_3R_31()) return true; if (jj_scan_token(FOR2)) return true; if (jj_3R_31()) return true; if (jj_scan_token(FOR3)) return true; if (jj_3R_32()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_33()) { jj_scanpos = xsp; break; } } if (jj_scan_token(ENDLOOP)) return true; return false; } final private boolean jj_3R_187() { if (jj_scan_token(ISFILE)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3_6() { if (jj_scan_token(ELSE)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_24()) { jj_scanpos = xsp; break; } } return false; } final private boolean jj_3R_115() { Token xsp; xsp = jj_scanpos; if (jj_3_6()) { jj_scanpos = xsp; if (jj_3R_127()) return true; } return false; } final private boolean jj_3R_75() { if (jj_scan_token(DOWHILE)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_107()) { jj_scanpos = xsp; break; } } if (jj_scan_token(DOWHILE2)) return true; if (jj_3R_28()) return true; if (jj_scan_token(DOWHILE3)) return true; return false; } final private boolean jj_3R_91() { if (jj_scan_token(FLUSH)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_114() { if (jj_3R_37()) return true; return false; } final private boolean jj_3_9() { if (jj_scan_token(ELSE)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_25()) { jj_scanpos = xsp; break; } } return false; } final private boolean jj_3R_164() { Token xsp; xsp = jj_scanpos; if (jj_3_9()) { jj_scanpos = xsp; if (jj_3R_188()) return true; } return false; } final private boolean jj_3R_90() { if (jj_scan_token(PUTLINE)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_20() { if (jj_3R_28()) return true; if (jj_scan_token(WHILE)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_29()) { jj_scanpos = xsp; break; } } if (jj_scan_token(ENDLOOP)) return true; return false; } final private boolean jj_3R_106() { if (jj_scan_token(SM)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_114()) { jj_scanpos = xsp; break; } } xsp = jj_scanpos; if (jj_3R_115()) jj_scanpos = xsp; if (jj_scan_token(ENDIF)) return true; return false; } final private boolean jj_3_8() { if (jj_3R_22()) return true; return false; } final private boolean jj_3R_89() { if (jj_scan_token(PUTSTR)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_137() { if (jj_scan_token(ELSEIF)) return true; if (jj_scan_token(IF)) return true; if (jj_3R_28()) return true; if (jj_scan_token(SM)) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_163()) { jj_scanpos = xsp; break; } } xsp = jj_scanpos; if (jj_3R_164()) jj_scanpos = xsp; return false; } final private boolean jj_3R_186() { if (jj_scan_token(GETLINE)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3_7() { if (jj_3R_19()) return true; return false; } final private boolean jj_3R_185() { if (jj_scan_token(GETSTR)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_27() { if (jj_scan_token(CM)) return true; if (jj_3R_26()) return true; return false; } final private boolean jj_3R_74() { if (jj_scan_token(IF)) return true; if (jj_3R_28()) return true; Token xsp; xsp = jj_scanpos; if (jj_3_7()) { jj_scanpos = xsp; if (jj_3_8()) { jj_scanpos = xsp; if (jj_3R_106()) return true; } } return false; } final private boolean jj_3R_88() { if (jj_scan_token(CLOSE)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_26() { if (jj_3R_30()) return true; if (jj_scan_token(ASGNOP)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3R_184() { if (jj_scan_token(OPENA)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_65() { if (jj_3R_94()) return true; return false; } final private boolean jj_3R_64() { if (jj_3R_93()) return true; return false; } final private boolean jj_3R_19() { if (jj_3R_26()) return true; Token xsp; while (true) { xsp = jj_scanpos; if (jj_3R_27()) { jj_scanpos = xsp; break; } } return false; } final private boolean jj_3R_63() { if (jj_3R_92()) return true; return false; } final private boolean jj_3R_62() { if (jj_3R_91()) return true; return false; } final private boolean jj_3R_183() { if (jj_scan_token(OPENW)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_61() { if (jj_3R_90()) return true; return false; } final private boolean jj_3R_60() { if (jj_3R_89()) return true; return false; } final private boolean jj_3R_59() { if (jj_3R_88()) return true; return false; } final private boolean jj_3R_58() { if (jj_3R_87()) return true; return false; } final private boolean jj_3R_57() { if (jj_3R_86()) return true; return false; } final private boolean jj_3R_56() { if (jj_3R_85()) return true; return false; } final private boolean jj_3R_182() { if (jj_scan_token(OPENR)) return true; if (jj_3R_31()) return true; if (jj_scan_token(RP)) return true; return false; } final private boolean jj_3R_55() { if (jj_3R_84()) return true; return false; } final private boolean jj_3R_54() { if (jj_3R_83()) return true; return false; } final private boolean jj_3R_53() { if (jj_3R_82()) return true; return false; } final private boolean jj_3R_52() { if (jj_3R_81()) return true; return false; } final private boolean jj_3R_51() { if (jj_3R_80()) return true; return false; } final private boolean jj_3R_50() { if (jj_3R_79()) return true; return false; } final private boolean jj_3R_49() { if (jj_3R_78()) return true; return false; } final private boolean jj_3R_87() { if (jj_scan_token(gFillArc)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; if (jj_scan_token(CM)) return true; if (jj_3R_31()) return true; return false; } final private boolean jj_3R_48() { if (jj_3R_77()) return true; return false; } final private boolean jj_3R_47() { if (jj_3R_76()) return true; return false; } public IntVParserTokenManager token_source; SimpleCharStream jj_input_stream; public Token token, jj_nt; private int jj_ntk; private Token jj_scanpos, jj_lastpos; private int jj_la; public boolean lookingAhead = false; private boolean jj_semLA; private int jj_gen; final private int[] jj_la1 = new int[59]; 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_0(); jj_la1_1(); jj_la1_2(); jj_la1_3(); } private static void jj_la1_0() { jj_la1_0 = new int[] {0x50000201,0x0,0x0,0x50000200,0x50000200,0x0,0x50000200,0x50000200,0x0,0x0,0x80000000,0x0,0x80000000,0x4000000,0x80000000,0x0,0x0,0x40000000,0x80000000,0x50000200,0x50000200,0x0,0x0,0x40000000,0x50000200,0x50000200,0x0,0x0,0x50000200,0x50000200,0x50000200,0x10000200,0x0,0x0,0x0,0x50000200,0x400000,0x200000,0x800000,0x108000,0x108000,0xf0000,0xf0000,0x300,0x300,0x1c00,0x1c00,0x10000200,0x10000000,0x0,0x80000000,0x80000000,0x10000200,0x14000000,0x14000000,0x80000000,0x80000000,0x10000200,0x0,}; } private static void jj_la1_1() { jj_la1_1 = new int[] {0xc00412fc,0x70,0x70,0xc004107c,0xc004107c,0x70,0xc004107c,0xc004107c,0x280,0x70,0x0,0x70,0x0,0x0,0x0,0x1000,0x40000,0x0,0x0,0xc004100c,0xc004100c,0x10000,0x18000,0x0,0xc004100c,0xc004100c,0x10000,0x18000,0xc004100c,0xc004100c,0xc004100c,0xc000000c,0x6000000,0x1,0x30000000,0xc004100c,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xc000000c,0xc000000c,0xc0000000,0x0,0x0,0xc000000c,0x0,0x0,0x0,0x0,0xc000000c,0xc,}; } private static void jj_la1_2() { jj_la1_2 = new int[] {0xffffffff,0x0,0x0,0xffffffff,0xffffffff,0x0,0xffffffff,0xffffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x47ff8000,0x0,0xffffffff,0xffffffff,0x0,0x0,0x0,0xffffffff,0xffffffff,0x0,0x0,0xffffffff,0xffffffff,0xffffffff,0xb8007fff,0x0,0x0,0x0,0xffffffff,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0xb8007fff,0xb8007fff,0xb8007fff,0x0,0x0,0xb8007fff,0x0,0x0,0x0,0x0,0xb8007fff,0x0,}; } private static void jj_la1_3() { jj_la1_3 = new int[] {0x2e7f,0x0,0x0,0x2e7f,0x2e7f,0x0,0x2e7f,0x2e7f,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x86e,0x0,0x2e7f,0x2e7f,0x0,0x0,0x0,0x2e7f,0x2e7f,0x0,0x0,0x2e7f,0x2e7f,0x2e7f,0x2e11,0x0,0x0,0x0,0x2e7f,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x0,0x2e11,0x2e11,0x11,0x0,0x0,0x2e11,0x0,0x0,0x0,0x0,0x2e11,0x0,}; } final private JJCalls[] jj_2_rtns = new JJCalls[9]; private boolean jj_rescan = false; private int jj_gc = 0; public IntVParser(java.io.InputStream stream) { jj_input_stream = new SimpleCharStream(stream, 1, 1); token_source = new IntVParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 59; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } public void ReInit(java.io.InputStream stream) { jj_input_stream.ReInit(stream, 1, 1); token_source.ReInit(jj_input_stream); token = new Token(); jj_ntk = -1; jjtree.reset(); jj_gen = 0; for (int i = 0; i < 59; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } public IntVParser(java.io.Reader stream) { jj_input_stream = new SimpleCharStream(stream, 1, 1); token_source = new IntVParserTokenManager(jj_input_stream); token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 59; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } public void ReInit(java.io.Reader stream) { jj_input_stream.ReInit(stream, 1, 1); token_source.ReInit(jj_input_stream); token = new Token(); jj_ntk = -1; jjtree.reset(); jj_gen = 0; for (int i = 0; i < 59; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } public IntVParser(IntVParserTokenManager tm) { token_source = tm; token = new Token(); jj_ntk = -1; jj_gen = 0; for (int i = 0; i < 59; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } public void ReInit(IntVParserTokenManager tm) { token_source = tm; token = new Token(); jj_ntk = -1; jjtree.reset(); jj_gen = 0; for (int i = 0; i < 59; i++) jj_la1[i] = -1; for (int i = 0; i < jj_2_rtns.length; i++) jj_2_rtns[i] = new JJCalls(); } final private Token jj_consume_token(int kind) throws ParseException { Token oldToken; if ((oldToken = token).next != null) token = token.next; else token = token.next = token_source.getNextToken(); jj_ntk = -1; if (token.kind == kind) { jj_gen++; if (++jj_gc > 100) { jj_gc = 0; for (int i = 0; i < jj_2_rtns.length; i++) { JJCalls c = jj_2_rtns[i]; while (c != null) { if (c.gen < jj_gen) c.first = null; c = c.next; } } } trace_token(token, ""); return token; } token = oldToken; jj_kind = kind; throw generateParseException(); } static private final class LookaheadSuccess extends java.lang.Error { } final private LookaheadSuccess jj_ls = new LookaheadSuccess(); final private boolean jj_scan_token(int kind) { if (jj_scanpos == jj_lastpos) { jj_la--; if (jj_scanpos.next == null) { jj_lastpos = jj_scanpos = jj_scanpos.next = token_source.getNextToken(); } else { jj_lastpos = jj_scanpos = jj_scanpos.next; } } else { jj_scanpos = jj_scanpos.next; } if (jj_rescan) { int i = 0; Token tok = token; while (tok != null && tok != jj_scanpos) { i++; tok = tok.next; } if (tok != null) jj_add_error_token(kind, i); } if (jj_scanpos.kind != kind) return true; if (jj_la == 0 && jj_scanpos == jj_lastpos) throw jj_ls; return false; } final public Token getNextToken() { if (token.next != null) token = token.next; else token = token.next = token_source.getNextToken(); jj_ntk = -1; jj_gen++; trace_token(token, " (in getNextToken)"); return token; } final public Token getToken(int index) { Token t = lookingAhead ? jj_scanpos : token; for (int i = 0; i < index; i++) { if (t.next != null) t = t.next; else t = t.next = token_source.getNextToken(); } return t; } final private int jj_ntk() { if ((jj_nt=token.next) == null) return (jj_ntk = (token.next=token_source.getNextToken()).kind); else return (jj_ntk = jj_nt.kind); } private java.util.Vector jj_expentries = new java.util.Vector(); private int[] jj_expentry; private int jj_kind = -1; private int[] jj_lasttokens = new int[100]; private int jj_endpos; private void jj_add_error_token(int kind, int pos) { if (pos >= 100) return; if (pos == jj_endpos + 1) { jj_lasttokens[jj_endpos++] = kind; } else if (jj_endpos != 0) { jj_expentry = new int[jj_endpos]; for (int i = 0; i < jj_endpos; i++) { jj_expentry[i] = jj_lasttokens[i]; } boolean exists = false; for (java.util.Enumeration e = jj_expentries.elements(); e.hasMoreElements();) { int[] oldentry = (int[])(e.nextElement()); if (oldentry.length == jj_expentry.length) { exists = true; for (int i = 0; i < jj_expentry.length; i++) { if (oldentry[i] != jj_expentry[i]) { exists = false; break; } } if (exists) break; } } if (!exists) jj_expentries.addElement(jj_expentry); if (pos != 0) jj_lasttokens[(jj_endpos = pos) - 1] = kind; } } public ParseException generateParseException() { jj_expentries.removeAllElements(); boolean[] la1tokens = new boolean[117]; for (int i = 0; i < 117; i++) { la1tokens[i] = false; } if (jj_kind >= 0) { la1tokens[jj_kind] = true; jj_kind = -1; } for (int i = 0; i < 59; i++) { if (jj_la1[i] == jj_gen) { for (int j = 0; j < 32; j++) { if ((jj_la1_0[i] & (1<" + where); } } final private void trace_scan(Token t1, int t2) { if (trace_enabled) { for (int i = 0; i < trace_indent; i++) { System.out.print(" "); } System.out.print("Visited token: <" + tokenImage[t1.kind]); if (t1.kind != 0 && !tokenImage[t1.kind].equals("\"" + t1.image + "\"")) { System.out.print(": \"" + t1.image + "\""); } System.out.println(">; Expected token: <" + tokenImage[t2] + ">"); } } final private void jj_rescan_token() { jj_rescan = true; for (int i = 0; i < 9; i++) { JJCalls p = jj_2_rtns[i]; do { if (p.gen > 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; } } p = p.next; } while (p != null); } jj_rescan = false; } final private void jj_save(int index, int xla) { JJCalls p = jj_2_rtns[index]; while (p.gen > jj_gen) { if (p.next == null) { p = p.next = new JJCalls(); break; } p = p.next; } p.gen = jj_gen + xla - jj_la; p.first = token; p.arg = xla; } static final class JJCalls { int gen; Token first; int arg; JJCalls next; } }